1 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
5 2015-07-27 Mike Frysinger <vapier@gentoo.org>
7 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
8 directly in terms of __sync_fetch_and_add and delete (int) cast.
10 2015-07-27 Mike Frysinger <vapier@gentoo.org>
12 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
13 the -D_ASM_IA64_CURRENT_H flag.
15 2015-07-27 Mike Frysinger <vapier@gentoo.org>
18 * pwd/pwd.h (putpwent): Delete __nonnull markings.
20 2015-07-27 Andreas Schwab <schwab@suse.de>
22 * conform/conformtest.pl (checknamespace): Filter out string
23 literals while tokenizing.
25 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
27 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
29 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
31 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
33 * nptl/tst-join7mod.c: Add #include <string.h>.
35 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
37 * sysdeps/nios2/libm-test-ulps: Update.
39 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
41 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
42 Fix order of arguments to the rt_sigprocmask syscall.
43 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
46 2015-07-24 Roland McGrath <roland@hack.frob.com>
48 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
50 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
53 * nptl/Makefile (tests): New test case tst-join7.
54 (modules-names): New test case module tst-join7mod.
55 * nptl/tst-join7.c: New file.
56 * nptl/tst-join7mod.c: New file.
57 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
58 all translation units in libc.so, libpthread.so and rtld.
60 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
62 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
66 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
67 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
68 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
69 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
70 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
71 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
72 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
73 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
74 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
75 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
76 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
77 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
78 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
79 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
80 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
83 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
86 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
87 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
88 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
89 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
90 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
91 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
93 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
95 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
96 instead of just saying load lock in the comments.
98 2015-07-23 Roland McGrath <roland@hack.frob.com>
100 * sysdeps/unix/Subdirs: Moved ...
101 * sysdeps/posix/Subdirs: ... here.
102 * login/pty.h (struct termios, struct winsize): Add forward decls.
103 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
104 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
105 * sysdeps/arm/nacl/libc.abilist: Updated.
106 * sysdeps/nacl/libutil.abilist: New file.
108 * bits/signum.h: Update comments to mention 1003.1-2013 too.
109 (SIGWINCH): New macro.
111 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
112 * sysdeps/arm/nacl/libc.abilist: Add it.
114 2015-07-23 Mike Frysinger <vapier@gentoo.org>
116 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
118 2015-07-23 Mike Frysinger <vapier@gentoo.org>
120 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
121 Swap __glibc_reserved0 and sa_flags order.
123 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
126 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
127 are pending TLS destructor calls.
128 * include/link.h (struct link_map): Add concurrency note for
130 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
131 Don't touch the link map flag. Atomically increment
133 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
134 Avoid taking the load lock and don't touch the link map flag.
135 * stdlib/tst-tls-atexit-nodelete.c: New test case.
136 * stdlib/Makefile (tests): Use it.
137 * stdlib/tst-tls-atexit.c (do_test): dlopen
138 tst-tls-atexit-lib.so again before dlclose. Add conditionals
139 to allow tst-tls-atexit-nodelete test case to use it.
141 2015-07-22 Mike Frysinger <vapier@gentoo.org>
143 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
145 (msgqnum_t): New typedef.
146 (msglen_t): Likewise.
147 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
148 and msg_qbytes type to msglen_t.
150 2015-07-22 Mike Frysinger <vapier@gentoo.org>
152 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
153 pad0 to __glibc_reserved0.
154 (struct stat64): Likewise.
156 2015-07-22 Mike Frysinger <vapier@gentoo.org>
158 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
159 Change sa_flags from a long to an int and add __glibc_reserved0 before
162 2015-07-22 Mike Frysinger <vapier@gentoo.org>
164 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
165 anonymous by deleting "siginfo" name.
167 2015-07-21 Roland McGrath <roland@hack.frob.com>
169 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
170 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
171 rather than __nacl_irt_filename.
172 * sysdeps/nacl/xstat.c (__xstat): Likewise.
174 * NEWS: New item for arm-nacl port.
175 * sysdeps/arm/nacl/libc.abilist: New file.
176 * sysdeps/nacl/ld.abilist: New file.
177 * sysdeps/nacl/libBrokenLocale.abilist: New file.
178 * sysdeps/nacl/libanl.abilist: New file.
179 * sysdeps/nacl/libcrypt.abilist: New file.
180 * sysdeps/nacl/libdl.abilist: New file.
181 * sysdeps/nacl/libm.abilist: New file.
182 * sysdeps/nacl/libpthread.abilist: New file.
183 * sysdeps/nacl/libresolv.abilist: New file.
184 * sysdeps/nacl/librt.abilist: New file.
186 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
188 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
189 __startcontext to initialize the new context.
190 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
191 up CFI directive to forbid further backtracing.
193 2015-07-21 Marko Myllynen <myllynen@redhat.com>
195 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
197 * charmaps/ANSI_X3.4-1968: Likewise.
198 * charmaps/BS_4730: Likewise.
199 * charmaps/BS_VIEWDATA: Likewise.
200 * charmaps/CP1250: Likewise.
201 * charmaps/CP1251: Likewise.
202 * charmaps/CP1252: Likewise.
203 * charmaps/CP1253: Likewise.
204 * charmaps/CP1254: Likewise.
205 * charmaps/CP1255: Likewise.
206 * charmaps/CP1256: Likewise.
207 * charmaps/CSN_369103: Likewise.
208 * charmaps/EBCDIC-DK-NO: Likewise.
209 * charmaps/GB_1988-80: Likewise.
210 * charmaps/GREEK-CCITT: Likewise.
211 * charmaps/GREEK7: Likewise.
212 * charmaps/INIS-8: Likewise.
213 * charmaps/ISIRI-3342: Likewise.
214 * charmaps/ISO_2033-1983: Likewise.
215 * charmaps/ISO_5427-EXT: Likewise.
216 * locales/POSIX: Likewise.
217 * locales/ar_SA: Likewise.
218 * locales/be_BY: Likewise.
219 * locales/be_BY@latin: Likewise.
220 * locales/ca_ES: Likewise.
221 * locales/cs_CZ: Likewise.
222 * locales/da_DK: Likewise.
223 * locales/de_BE: Likewise.
224 * locales/de_CH: Likewise.
225 * locales/de_LU: Likewise.
226 * locales/en_AU: Likewise.
227 * locales/en_BW: Likewise.
228 * locales/en_CA: Likewise.
229 * locales/en_DK: Likewise.
230 * locales/en_GB: Likewise.
231 * locales/en_IE: Likewise.
232 * locales/en_NZ: Likewise.
233 * locales/en_ZA: Likewise.
234 * locales/en_ZW: Likewise.
235 * locales/es_AR: Likewise.
236 * locales/es_BO: Likewise.
237 * locales/es_CL: Likewise.
238 * locales/es_CO: Likewise.
239 * locales/es_DO: Likewise.
240 * locales/es_EC: Likewise.
241 * locales/es_ES: Likewise.
242 * locales/es_HN: Likewise.
243 * locales/es_MX: Likewise.
244 * locales/es_PA: Likewise.
245 * locales/es_PE: Likewise.
246 * locales/es_PY: Likewise.
247 * locales/es_SV: Likewise.
248 * locales/es_US: Likewise.
249 * locales/es_UY: Likewise.
250 * locales/es_VE: Likewise.
251 * locales/et_EE: Likewise.
252 * locales/fa_IR: Likewise.
253 * locales/fo_FO: Likewise.
254 * locales/fr_CA: Likewise.
255 * locales/fr_CH: Likewise.
256 * locales/gv_GB: Likewise.
257 * locales/he_IL: Likewise.
258 * locales/hr_HR: Likewise.
259 * locales/id_ID: Likewise.
260 * locales/is_IS: Likewise.
261 * locales/it_CH: Likewise.
262 * locales/iw_IL: Likewise.
263 * locales/kl_GL: Likewise.
264 * locales/ko_KR: Likewise.
265 * locales/kw_GB: Likewise.
266 * locales/lg_UG: Likewise.
267 * locales/lt_LT: Likewise.
268 * locales/lv_LV: Likewise.
269 * locales/mi_NZ: Likewise.
270 * locales/nhn_MX: Likewise.
271 * locales/nl_BE: Likewise.
272 * locales/pl_PL: Likewise.
273 * locales/sk_SK: Likewise.
274 * locales/sl_SI: Likewise.
275 * locales/sv_FI: Likewise.
276 * locales/tl_PH: Likewise.
277 * locales/tr_TR: Likewise.
278 * locales/vi_VN: Likewise.
280 2015-07-21 Khem Raj <raj.khem@gmail.com>
283 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
286 2015-07-21 Mike Frysinger <vapier@gentoo.org>
289 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
291 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
293 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
295 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
296 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
297 (spawn_thread): New function.
298 (load): Rename to reg_dtor_and_close. Move dlopen to...
299 (do_test): ... here. Use IS_LOADED to test for its
302 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
304 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
306 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
309 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
312 (si_upper): Likewise.
314 2015-07-16 David S. Miller <davem@davemloft.net>
316 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
318 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
320 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
322 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
323 fail output information.
325 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
330 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
331 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
332 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
333 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
335 2015-07-16 Mike Frysinger <vapier@gentoo.org>
337 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
338 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
339 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
340 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
342 2015-07-16 Mike Frysinger <vapier@gentoo.org>
344 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
345 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
347 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
349 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
351 * tst-nodelete-opened.c (do_test): Add comment to clarify how
354 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
357 * elf/tst-nodelete-opened.c: New test case.
358 * elf/tst-nodelete-opened-lib.c: New test case module.
359 * elf/Makefile (tests, modules-names): Use them.
360 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
363 2015-07-15 David S. Miller <davem@davemloft.net>
365 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
367 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
368 * sysdeps/sparc/sparc64/Makefile: Likewise.
369 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
370 Remove space from macro define.
371 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
373 2015-07-15 Pravin Satpute <psatpute@redhat.com>
376 * locale/iso-639.def: Update Bhili and Tulu language codes as
379 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
381 * elf/tst-leaks1.c (main): Converted to ...
383 (TEST_FUNCTION): New macro.
384 Include test-skeleton.c.
385 * localedata/tst-langinfo.c (main): Converted to ...
387 (TEST_FUNCTION): New macro.
388 Include test-skeleton.c.
389 * math/test-fpucw.c (main): Converted to ...
391 (TEST_FUNCTION): New macro.
392 Include test-skeleton.c.
393 * math/test-tgmath.c (main): Converted to ...
395 (TEST_FUNCTION): New macro.
396 Include test-skeleton.c.
397 * math/test-tgmath2.c (main): Converted to ...
399 (TEST_FUNCTION): New macro.
400 Include test-skeleton.c.
401 * setjmp/tst-setjmp.c (main): Converted to ...
403 (TEST_FUNCTION): New macro.
404 Include test-skeleton.c.
405 * stdio-common/tst-sscanf.c (main): Converted to ...
407 (TEST_FUNCTION): New macro.
408 Include test-skeleton.c.
409 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
411 (TEST_FUNCTION): New macro.
412 Include test-skeleton.c.
414 * elf/tst-audit9.c (main): Converted to ...
416 (TEST_FUNCTION): New macro.
417 Include test-skeleton.c.
419 2015-07-15 Mike Frysinger <vapier@gentoo.org>
421 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
423 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
425 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
428 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
430 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
432 2015-07-14 Roland McGrath <roland@hack.frob.com>
434 * sysdeps/generic/dl-fileid.h: New file.
435 * sysdeps/posix/dl-fileid.h: New file.
436 * sysdeps/nacl/dl-fileid.h: New file.
437 * include/link.h: Include <dl-fileid.h>.
438 (struct link_map): Replace l_dev and l_ino with l_file_id.
439 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
440 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
441 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
443 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
445 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
447 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
449 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
451 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
453 (tst-nodelete-zmodiff): Likewise.
454 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
456 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
458 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
460 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
462 * sysdeps/aarch64/fpu/math_private.h
463 (define math_opt_barrier): Add AArch64 version.
464 (math_force_eval): Likewise.
466 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
468 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
470 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
472 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
473 %ld with %jd and cast to intmax_t.
474 (do_test_length_zero): Likewise.
476 2015-07-10 Roland McGrath <roland@hack.frob.com>
478 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
480 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
482 * sysdeps/tile/libm-test-ulps: Regenerated.
484 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
485 Comment out the whole function, not just its body.
487 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
489 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
492 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
494 2015-07-10 Torvald Riegel <triegel@redhat.com>
496 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
497 (sem_assume_only_signals_cause_futex_EINTR): Remove.
499 2015-07-10 Torvald Riegel <triegel@redhat.com>
501 * sysdeps/nptl/futex-internal.h: New file.
502 * sysdeps/nacl/futex-internal.h: New file.
503 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
504 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
506 (setxid_unmark_thread): Likewise.
507 (__nptl_setxid): Likewise.
508 (__wait_lookup_done): Likewise.
509 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
510 * nptl/nptl-init.c (sighandler_setxid): Likewise.
511 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
512 * nptl/pthread_once.c (clear_once_control): Likewise.
513 (__pthread_once_slow): Likewise.
514 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
515 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
516 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
517 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
518 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
519 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
521 (__pthread_rwlock_rdlock): Likewise.
522 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
524 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
526 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
528 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
529 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
531 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
532 __ASSUME_PRIVATE_FUTEX check.
533 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
534 Check that shared futexes are supported.
535 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
536 wrappers with error checking.
537 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
538 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
539 * nptl/pthread_barrierattr_setpshared.c
540 (pthread_barrierattr_setpshared): Check that shared futexes are
542 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
544 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
546 * nptl/sem_init.c (futex_private_if_supported): Remove.
547 (__new_sem_init): Adapt and check that shared futexes are supported.
548 * nptl/sem_open.c (sem_open): Likewise.
549 * nptl/sem_post.c (futex_wake): Remove.
550 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
551 (do_futex_wait): Use futex wrappers with error checking.
552 * nptl/sem_wait.c: Include lowlevellock.h.
553 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
554 Use futex_supports_pshared.
555 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
556 Use futex wrappers with error checking.
557 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
559 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
560 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
561 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
562 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
563 (futex_wake): Likewise.
564 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
565 (do_futex_wait): Use futex wrappers with error checking.
566 (__new_sem_wait_slow): Update EINTR handling.
567 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
569 2015-07-09 Martin Sebor <msebor@redhat.com>
572 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
573 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
574 * nptl/Makefile (test-xfail-tst-once5): Define.
576 2015-07-09 Roland McGrath <roland@hack.frob.com>
578 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
579 * elf/dl-minimal.c: For readability, reorder some definitions and
580 introduce more page breaks. Include <stdio.h>.
581 (__libc_fatal): New function.
583 * include/unistd.h: Add rtld_hidden_proto for _exit.
584 * posix/_exit.c: Add rtld_hidden_def.
585 * sysdeps/mach/hurd/_exit.c: Likewise.
586 * sysdeps/nacl/_exit.c: Likewise.
587 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
588 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
590 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
592 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
593 bndmov encoding with zero displacement.
595 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
596 H.J. Lu <hongjiu.lu@intel.com>
599 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
600 * sysdeps/i386/configure: Regenerated.
601 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
602 (_dl_runtime_profile): Save and restore Intel MPX return bound
603 registers when calling _dl_call_pltexit. Add
604 PRESERVE_BND_REGS_PREFIX before return.
605 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
606 (LRV_BND1_OFFSET): Likewise.
607 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
610 typo in bndmov encoding.
611 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
612 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
613 branch instructions to preserve bounds.
615 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
618 [GLIBC_2.22]: Add fmemopen.
620 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
622 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
623 returns an error, also try to use host port from __mach_host_self for
625 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
627 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
631 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
632 Fix pr_uid and pr_gid members.
633 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
634 definition to elf_greg_t.
636 2015-07-08 Roland McGrath <roland@hack.frob.com>
639 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
640 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
641 * sysdeps/arm/configure: Regenerated.
642 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
643 (test-xfail-tst-tlsalign-static): Variable removed.
645 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
646 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
647 rather than explicit 'ln -s'.
649 * resolv/rpc/netdb.h: New file.
650 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
652 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
654 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
656 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
665 * include/stdio.h (fmemopen): Remove hidden prototype.
666 (__fmemopen): Add new hidden prototype.
667 * libio/Makefile: Add oldfmemopen object.
668 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
669 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
671 * libio/oldfmemopen.c: New file: old fmemopen implementation for
672 symbol compatibility.
673 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
674 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
676 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
677 on append and read mode.
678 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
680 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
681 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
682 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
683 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
685 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
686 [GLIBC_2.22]: Likewise.
687 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
689 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
691 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
692 [GLIBC_2.22]: Likewise.
693 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
694 [GLIBC_2.22]: Likewise.
695 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
696 [GLIBC_2.22]: Likewise.
697 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
698 [GLIBC_2.22]: Likewise.
699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
700 [GLIBC_2.22]: Likewise.
701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
702 [GLIBC_2.22]: Likewise.
703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
704 [GLIBC_2.22]: Likewise.
705 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
707 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
709 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
710 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
711 [GLIBC_2.22]: Likewise.
712 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
713 [GLIBC_2.22]: Likewise.
714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
715 [GLIBC_2.22]: Likewise.
716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
717 [GLIBC_2.22]: Likewise.
718 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
720 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
722 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
724 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
725 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
727 2015-07-08 Carlos O'Donell <carlos@redhat.com>
730 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
731 IPV6_PATHMTU, and IPV6_DONTFRAG.
733 2015-07-08 Feng Gao <gfree.wind@gmail.com>
735 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
737 * libio/oldfileops.c: Likewise.
738 * libio/wfileops.c: Likewise.
740 2015-07-08 Mike Frysinger <vapier@gentoo.org>
742 * nscd/selinux.c: Delete selinux/flask.h include.
744 2015-07-08 Mike Frysinger <vapier@gentoo.org>
747 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
748 (putpwent): Likewise.
749 (getpwnam): Likewise.
750 (getpwent_r): Likewise.
751 (getpwuid_r): Likewise.
752 (getpwnam_r): Likewise.
753 (fgetpwent_r): Likewise.
755 2015-07-08 Carlos O'Donell <carlos@redhat.com>
758 * inet/rcmd.c (__validuser2_sa): Check user first to
759 short-circuit host check.
761 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
762 Mikhail Ilin <m.ilin@samsung.com>
765 * elf/Makefile (tests): Add tst-nodelete.
766 (modules-names): Add tst-nodelete-uniquemod.
767 (tst-nodelete-uniquemod.so-no-z-defs): New.
768 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
769 (tst-nodelete-zmod.so-no-z-defs): Likewise.
770 ($(objpfx)tst-nodelete): Likewise.
771 ($(objpfx)tst-nodelete.out): Likewise.
772 (LDFLAGS-tst-nodelete): Likewise.
773 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
774 * elf/dl-close.c (_dl_close_worker): Add a parameter to
775 implement forced object deletion.
776 (_dl_close): Pass false to _dl_close_worker.
777 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
778 * elf/tst-nodelete.cc: New file.
779 * elf/tst-nodeletelib.cc: Likewise.
780 * elf/tst-znodeletelib.cc: Likewise.
781 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
783 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
786 * stdlib/Makefile ($(objpfx)tst-makecontext3):
788 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
789 is not called infinitely times.
790 (backtrace_helper): New function.
791 (trace_arg): New struct.
792 (st1): Enlarge stack size.
793 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
794 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
795 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
798 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
800 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
802 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
804 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
805 Include sys/types.h instead of bits/types.h.
806 Remove inclusion of bits/wordsize.h.
808 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
810 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
811 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
812 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
813 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
814 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
815 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
817 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
819 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
821 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
822 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
823 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
825 * sysdeps/i386/link-defines.sym: New file.
827 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
829 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
830 (modules-names): Add tst-auditmod3a tst-auditmod3b.
831 ($(objpfx)tst-audit3): New rule.
832 ($(objpfx)tst-audit3.out): Likewise.
833 * sysdeps/i386/tst-audit3.c: New file.
834 * sysdeps/i386/tst-audit3.h: Likewise.
835 * sysdeps/i386/tst-auditmod3a.c: Likewise.
836 * sysdeps/i386/tst-auditmod3b.c: Likewise.
838 2015-07-07 Torvald Riegel <triegel@redhat.com>
841 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
843 (__strcat_c): Likewise.
844 (__strcat_g): Likewise.
846 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
849 * misc/sbrk.c: Set errno to ENOMEM on overflow.
851 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
853 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
854 New function. (__ieee754_sqrtf): New function.
855 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
857 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
860 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
862 * sysdeps/ieee754/support.c: Remove unused file.
864 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
866 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
867 registers instead of d ones so the layout is kernel abi compatible.
868 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
869 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
872 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
874 * sysdeps/aarch64/libm-test-ulps: Regenerated.
876 2015-07-01 Joseph Myers <joseph@codesourcery.com>
879 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
880 and return argument in case of subnormal argument.
882 2015-07-01 Martin Sebor <msebor@redhat.com>
885 * nptl/Makefile: Add tst-once5.cc.
886 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
887 Remove macro redefinitions.
888 * nptl/tst-once5.cc: New test.
890 2015-07-01 Joseph Myers <joseph@codesourcery.com>
892 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
894 * sysdeps/arm/libm-test-ulps: Regenerated.
896 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
897 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
899 2015-06-30 Torvald Riegel <triegel@redhat.com>
901 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
902 lll_lock_wait_private and lll_futex_wake probes.
904 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
905 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
907 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
909 * sysdeps/x86_64/bits/atomic.h: Likewise.
910 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
911 to atomic_spin_nop and move ...
912 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
914 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
915 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
916 atomic_spin_nop instead of BUSY_WAIT_NOP.
917 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
919 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
920 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
921 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
922 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
923 instead of atomic_delay.
925 2015-06-29 Joseph Myers <joseph@codesourcery.com>
928 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
929 X_ADJ not X when adjusting exponent.
930 (__ieee754_gamma_r): Do intermediate computations in
931 round-to-nearest then adjust overflowing and underflowing results
933 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
934 of X_ADJ not X when adjusting exponent.
935 (__ieee754_gammaf_r): Do intermediate computations in
936 round-to-nearest then adjust overflowing and underflowing results
938 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
939 log of X_ADJ not X when adjusting exponent.
940 (__ieee754_gammal_r): Do intermediate computations in
941 round-to-nearest then adjust overflowing and underflowing results
942 as needed. Use 1.0L not 1.0f as numerator of division.
943 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
944 log of X_ADJ not X when adjusting exponent.
945 (__ieee754_gammal_r): Do intermediate computations in
946 round-to-nearest then adjust overflowing and underflowing results
947 as needed. Use 1.0L not 1.0f as numerator of division.
948 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
949 of X_ADJ not X when adjusting exponent.
950 (__ieee754_gammal_r): Do intermediate computations in
951 round-to-nearest then adjust overflowing and underflowing results
952 as needed. Use 1.0L not 1.0f as numerator of division.
953 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
954 to auto-libm-test-in.
955 (tgamma_test): Use ALL_RM_TEST.
956 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
957 tests of tgamma with spurious-overflow.
958 * math/auto-libm-test-out: Regenerated.
959 * math/gen-libm-have-vector-test.sh: Do not check for START.
960 * sysdeps/i386/fpu/libm-test-ulps: Update.
961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
964 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
965 arguments, just return 0.5 times the argument, with underflow
967 * math/auto-libm-test-in: Add more tests of j1.
968 * math/auto-libm-test-out: Regenerated.
971 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
972 (__ieee754_j1): Force underflow exception for small results.
973 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
974 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
975 (__ieee754_j1f): Force underflow exception for small results.
976 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
977 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
978 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
979 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
980 (__ieee754_j1l): Force underflow exception for small results.
981 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
982 * math/auto-libm-test-in: Add more tests of j1 and jn.
983 * math/auto-libm-test-out: Regenerated.
985 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
986 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
990 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
992 (MS_RMT_MASK): Include MS_LAZYTIME.
994 2015-06-26 Mel Gorman <mgorman@suse.de>
997 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
1000 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
1002 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
1003 (DT_MIPS_NUM): Update.
1004 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1005 DT_MIPS_RLD_MAP_REL.
1007 2015-06-25 Joseph Myers <joseph@codesourcery.com>
1011 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1012 round-to-nearest internally then recompute results that
1013 underflowed to zero in the original rounding mode.
1014 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1015 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1016 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1017 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1018 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1019 * sysdeps/i386/fpu/libm-test-ulps: Update.
1020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1022 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
1024 * NEWS: Fixed description of link with vector math library.
1026 2015-06-25 Andreas Schwab <schwab@suse.de>
1029 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1030 * libio/test-fmemopen.c (do_test): Add test for it.
1032 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
1035 * Makeconfig (no-pie-ldflag): New.
1036 (+link): Set to $(+link-pie) if default to PIE.
1037 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1038 * config.make.in (build-pie-default): New.
1039 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
1040 is default. AC_SUBST.
1041 * configure: Regenerated.
1042 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1044 2015-06-24 Roland McGrath <roland@hack.frob.com>
1046 * nptl/descr.h (struct pthread): Change type of field setxid_futex
1049 * resolv/gai_misc.h (struct waitlist): Change type of field
1050 counterp to 'volatile unsigned int *'.
1051 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1052 FUTEXADDR and OLDVAL.
1053 * resolv/getaddrinfo_a.c (getaddrinfo_a):
1054 Give local variable TOTAL type 'volatile unsigned int'.
1055 (struct async_waitlist): Change type of field counter to 'unsigned int'.
1056 * resolv/gai_suspend.c (gai_suspend):
1057 Give local variable CNTR type 'unsigned int'.
1059 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1060 counterp to 'volatile unsigned int *'.
1061 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1062 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1063 (aio_suspend): Give local variable CNTR type 'unsigned int'.
1064 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1065 Give local variable TOTAL type 'volatile unsigned int'.
1066 (struct async_waitlist): Change type of field counter to 'unsigned int'.
1068 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
1071 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1072 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
1073 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1074 comment for i386/x86-64.
1075 (test-xfail-tst-tlsalign-extern-static): Removed.
1077 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1079 * math/test-double.h: New file.
1080 * math/test-float.h: Likewise.
1081 * math/test-ldouble.h: Likewise.
1082 * math/test-math-inline.h: Likewise.
1083 * math/test-math-no-inline.h: Likewise.
1084 * math/test-math-scalar.h: Likewise.
1085 * math/test-math-vector.h: Likewise.
1086 * math/test-vec-loop.h: Remove file. Contents moved into
1088 * math/libm-test.inc (MATHCONST): Do not document macro.
1089 * math/test-double.c: Include test-double.h, test-math-no-inline.h
1090 and test-math-scalar.h.
1091 (FUNC): Remove macro.
1092 (FUNC_TEST): Likewise.
1094 (MATHCONST): Likewise.
1095 (PRINTF_EXPR): Likewise.
1096 (PRINTF_XEXPR): Likewise.
1097 (PRINTF_NEXPR): Likewise.
1098 (TEST_DOUBLE): Likewise.
1099 (TEST_MATHVEC): Likewise.
1100 (__NO_MATH_INLINES): Likewise.
1101 * math/test-float.c: Include test-float.h, test-math-no-inline.h
1102 and test-math-scalar.h.
1103 (FUNC): Remove macro.
1104 (FUNC_TEST): Likewise.
1106 (MATHCONST): Likewise.
1107 (PRINTF_EXPR): Likewise.
1108 (PRINTF_XEXPR): Likewise.
1109 (PRINTF_NEXPR): Likewise.
1110 (TEST_FLOAT): Likewise.
1111 (TEST_MATHVEC): Likewise.
1112 (__NO_MATH_INLINES): Likewise.
1113 * math/test-idouble.c: Include test-double.h, test-math-inline.h
1114 and test-math-scalar.h.
1115 (FUNC): Remove macro.
1116 (FUNC_TEST): Likewise.
1118 (MATHCONST): Likewise.
1119 (PRINTF_EXPR): Likewise.
1120 (PRINTF_XEXPR): Likewise.
1121 (PRINTF_NEXPR): Likewise.
1122 (TEST_DOUBLE): Likewise.
1123 (TEST_MATHVEC): Likewise.
1124 (TEST_INLINE): Likewise.
1125 (__NO_MATH_INLINES): Likewise.
1126 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1128 (FUNC): Remove macro.
1129 (FUNC_TEST): Likewise.
1131 (MATHCONST): Likewise.
1132 (PRINTF_EXPR): Likewise.
1133 (PRINTF_XEXPR): Likewise.
1134 (PRINTF_NEXPR): Likewise.
1135 (TEST_FLOAT): Likewise.
1136 (TEST_MATHVEC): Likewise.
1137 (TEST_INLINE): Likewise.
1138 (__NO_MATH_INLINES): Likewise.
1139 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1140 and test-math-scalar.h.
1141 (FUNC): Remove macro.
1142 (FUNC_TEST): Likewise.
1144 (MATHCONST): Likewise.
1145 (PRINTF_EXPR): Likewise.
1146 (PRINTF_XEXPR): Likewise.
1147 (PRINTF_NEXPR): Likewise.
1148 (TEST_LDOUBLE): Likewise.
1149 (TEST_MATHVEC): Likewise.
1150 (TEST_INLINE): Likewise.
1151 (__NO_MATH_INLINES): Likewise.
1152 * math/test-ldouble.c: Include test-ldouble.h,
1153 test-math-no-inline.h and test-math-scalar.h.
1154 (FUNC): Remove macro.
1155 (FUNC_TEST): Likewise.
1157 (MATHCONST): Likewise.
1158 (PRINTF_EXPR): Likewise.
1159 (PRINTF_XEXPR): Likewise.
1160 (PRINTF_NEXPR): Likewise.
1161 (TEST_LDOUBLE): Likewise.
1162 (TEST_MATHVEC): Likewise.
1163 (__NO_MATH_INLINES): Likewise.
1164 * math/test-double-vlen2.h: Include test-double.h,
1165 test-math-no-inline.h and test-math-vector.h.
1166 (FLOAT): Remove macro.
1168 (MATHCONST): Likewise.
1169 (PRINTF_EXPR): Likewise.
1170 (PRINTF_XEXPR): Likewise.
1171 (PRINTF_NEXPR): Likewise.
1172 (TEST_DOUBLE): Likewise.
1173 (TEST_MATHVEC): Likewise.
1174 (__NO_MATH_INLINES): Likewise.
1177 (WRAPPER_NAME): Likewise.
1178 (WRAPPER_DECL): Likewise.
1179 (WRAPPER_DECL_ff): Likewise.
1180 (WRAPPER_DECL_fFF): Likewise.
1181 (VECTOR_WRAPPER): Likewise.
1182 (VECTOR_WRAPPER_ff): Likewise.
1183 (VECTOR_WRAPPER_fFF): Likewise.
1184 (VEC_LEN): New macro.
1185 * math/test-double-vlen4.h: Include test-double.h,
1186 test-math-no-inline.h and test-math-vector.h.
1187 (FLOAT): Remove macro.
1189 (MATHCONST): Likewise.
1190 (PRINTF_EXPR): Likewise.
1191 (PRINTF_XEXPR): Likewise.
1192 (PRINTF_NEXPR): Likewise.
1193 (TEST_DOUBLE): Likewise.
1194 (TEST_MATHVEC): Likewise.
1195 (__NO_MATH_INLINES): Likewise.
1198 (WRAPPER_NAME): Likewise.
1199 (WRAPPER_DECL): Likewise.
1200 (WRAPPER_DECL_ff): Likewise.
1201 (WRAPPER_DECL_fFF): Likewise.
1202 (VECTOR_WRAPPER): Likewise.
1203 (VECTOR_WRAPPER_ff): Likewise.
1204 (VECTOR_WRAPPER_fFF): Likewise.
1205 (VEC_LEN): New macro.
1206 * math/test-double-vlen8.h: Include test-double.h,
1207 test-math-no-inline.h and test-math-vector.h.
1208 (FLOAT): Remove macro.
1210 (MATHCONST): Likewise.
1211 (PRINTF_EXPR): Likewise.
1212 (PRINTF_XEXPR): Likewise.
1213 (PRINTF_NEXPR): Likewise.
1214 (TEST_DOUBLE): Likewise.
1215 (TEST_MATHVEC): Likewise.
1216 (__NO_MATH_INLINES): Likewise.
1219 (WRAPPER_NAME): Likewise.
1220 (WRAPPER_DECL): Likewise.
1221 (WRAPPER_DECL_ff): Likewise.
1222 (WRAPPER_DECL_fFF): Likewise.
1223 (VECTOR_WRAPPER): Likewise.
1224 (VECTOR_WRAPPER_ff): Likewise.
1225 (VECTOR_WRAPPER_fFF): Likewise.
1226 (VEC_LEN): New macro.
1227 * math/test-float-vlen4.h: Include test-float.h,
1228 test-math-no-inline.h and test-math-vector.h.
1229 (FLOAT): Remove macro.
1231 (MATHCONST): Likewise.
1232 (PRINTF_EXPR): Likewise.
1233 (PRINTF_XEXPR): Likewise.
1234 (PRINTF_NEXPR): Likewise.
1235 (TEST_FLOAT): Likewise.
1236 (TEST_MATHVEC): Likewise.
1237 (__NO_MATH_INLINES): Likewise.
1240 (WRAPPER_NAME): Likewise.
1241 (WRAPPER_DECL): Likewise.
1242 (WRAPPER_DECL_ff): Likewise.
1243 (WRAPPER_DECL_fFF): Likewise.
1244 (VECTOR_WRAPPER): Likewise.
1245 (VECTOR_WRAPPER_ff): Likewise.
1246 (VECTOR_WRAPPER_fFF): Likewise.
1247 (VEC_LEN): New macro.
1248 * math/test-float-vlen8.h: Include test-float.h,
1249 test-math-no-inline.h and test-math-vector.h.
1250 (FLOAT): Remove macro.
1252 (MATHCONST): Likewise.
1253 (PRINTF_EXPR): Likewise.
1254 (PRINTF_XEXPR): Likewise.
1255 (PRINTF_NEXPR): Likewise.
1256 (TEST_FLOAT): Likewise.
1257 (TEST_MATHVEC): Likewise.
1258 (__NO_MATH_INLINES): Likewise.
1261 (WRAPPER_NAME): Likewise.
1262 (WRAPPER_DECL): Likewise.
1263 (WRAPPER_DECL_ff): Likewise.
1264 (WRAPPER_DECL_fFF): Likewise.
1265 (VECTOR_WRAPPER): Likewise.
1266 (VECTOR_WRAPPER_ff): Likewise.
1267 (VECTOR_WRAPPER_fFF): Likewise.
1268 (VEC_LEN): New macro.
1269 * math/test-float-vlen16.h: Include test-float.h,
1270 test-math-no-inline.h and test-math-vector.h.
1271 (FLOAT): Remove macro.
1273 (MATHCONST): Likewise.
1274 (PRINTF_EXPR): Likewise.
1275 (PRINTF_XEXPR): Likewise.
1276 (PRINTF_NEXPR): Likewise.
1277 (TEST_FLOAT): Likewise.
1278 (TEST_MATHVEC): Likewise.
1279 (__NO_MATH_INLINES): Likewise.
1282 (WRAPPER_NAME): Likewise.
1283 (WRAPPER_DECL): Likewise.
1284 (WRAPPER_DECL_ff): Likewise.
1285 (WRAPPER_DECL_fFF): Likewise.
1286 (VECTOR_WRAPPER): Likewise.
1287 (VECTOR_WRAPPER_ff): Likewise.
1288 (VECTOR_WRAPPER_fFF): Likewise.
1289 (VEC_LEN): New macro.
1290 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1292 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1293 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1294 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1295 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1296 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1297 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1298 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1300 2015-06-24 Roland McGrath <roland@hack.frob.com>
1302 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1303 (__getlogin_r): ... this.
1305 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1308 * math/s_ccosh.c (__ccosh): Compare with least normal value
1309 instead of comparing class with FP_SUBNORMAL.
1310 * math/s_ccoshf.c (__ccoshf): Likewise.
1311 * math/s_ccoshl.c (__ccoshl): Likewise.
1312 * math/s_cexp.c (__cexp): Likewise.
1313 * math/s_cexpf.c (__cexpf): Likewise.
1314 * math/s_cexpl.c (__cexpl): Likewise.
1315 * math/s_csin.c (__csin): Likewise.
1316 * math/s_csinf.c (__csinf): Likewise.
1317 * math/s_csinh.c (__csinh): Likewise.
1318 * math/s_csinhf.c (__csinhf): Likewise.
1319 * math/s_csinhl.c (__csinhl): Likewise.
1320 * math/s_csinl.c (__csinl): Likewise.
1321 * math/s_ctan.c (__ctan): Likewise.
1322 * math/s_ctanf.c (__ctanf): Likewise.
1323 * math/s_ctanh.c (__ctanh): Likewise.
1324 * math/s_ctanhf.c (__ctanhf): Likewise.
1325 * math/s_ctanhl.c (__ctanhl): Likewise.
1326 * math/s_ctanl.c (__ctanl): Likewise.
1327 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1328 csin, csinh, ctan and ctanh.
1329 * math/auto-libm-test-out: Regenerated.
1330 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1331 * sysdeps/i386/fpu/libm-test-ulps: Update.
1332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1334 2015-06-24 Roland McGrath <roland@hack.frob.com>
1336 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1337 return value is wrong, print the expected value too.
1339 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
1342 * elf/readlib.c (is_gdb_python_file): New.
1343 (process_file): Don't issue errors on filenames with -gdb.py
1346 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1348 * math/auto-libm-test-in: Add more tests of csin and csinh.
1349 * math/auto-libm-test-out: Regenerated.
1350 * math/libm-test.inc (csin_test_data): Remove tests moved to
1352 (csinh_test_data): Likewise.
1355 * math/s_csin.c (__csin): Negate before rather than after possibly
1356 overflowing multiplication.
1357 * math/s_csinf.c (__csinf): Likewise.
1358 * math/s_csinh.c (__csinh): Likewise.
1359 * math/s_csinhf.c (__csinhf): Likewise.
1360 * math/s_csinhl.c (__csinhl): Likewise.
1361 * math/s_csinl.c (__csinl): Likewise.
1362 * math/auto-libm-test-in: Add some tests of csin and csinh.
1363 * math/auto-libm-test-out: Regenerated.
1364 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1365 (csinh_test_data): Likewise.
1366 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1369 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1370 underflow exception for small results.
1372 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
1374 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1375 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1376 variable and included header.
1377 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1378 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1379 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1380 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1381 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1382 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1383 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1384 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1385 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1386 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1387 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1388 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1389 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1390 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1391 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1392 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1394 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1398 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1399 (__sin): Force underflow exception for arguments with small
1401 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1402 (__kernel_sinf): Force underflow exception for arguments with
1403 small absolute value.
1404 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1405 (__kernel_sincosl): Force underflow exception for arguments with
1406 small absolute value.
1407 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1408 (__kernel_sinl): Force underflow exception for arguments with
1409 small absolute value.
1410 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1411 (__kernel_sincosl): Force underflow exception for arguments with
1412 small absolute value.
1413 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1414 (__kernel_sinl): Force underflow exception for arguments with
1415 small absolute value.
1416 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1417 (__kernel_sinl): Force underflow exception for arguments with
1418 small absolute value.
1419 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1420 (__kernel_sinf): Force underflow exception for arguments with
1421 small absolute value.
1422 * math/auto-libm-test-in: Add more tests of sin and sincos.
1423 * math/auto-libm-test-out: Regenerated.
1427 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1428 (__kernel_standard_l): Use feholdexcept and fesetenv around
1429 conversion to double instead of special-casing overflow and
1431 * math/libm-test.inc (fmod_test_data): Add more tests.
1432 (remainder_test_data): Likewise.
1433 (sqrt_test_data): Likewise.
1435 2015-06-23 Torvald Riegel <triegel@redhat.com>
1438 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1439 atomic_read_barrier, atomic_write_barrier): Define.
1440 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1441 atomic_read_barrier, atomic_write_barrier): Define.
1443 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1445 * math/Makefile [$(PERL) != no]
1446 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1447 dependency on libm-test.stmp below the inclusion of Rules.
1449 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
1451 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1452 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1453 and included header.
1454 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1455 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1456 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1457 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1458 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1459 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1460 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1461 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1462 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1463 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1464 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1465 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1466 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1467 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1468 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1469 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1470 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1471 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1472 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1474 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1477 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1478 intermediate but not final result might underflow.
1479 * math/s_csqrtf.c (__csqrtf): Likewise.
1480 * math/s_csqrtl.c (__csqrtl): Likewise.
1481 * math/auto-libm-test-in: Add more tests of csqrt.
1482 * math/auto-libm-test-out: Regenerated.
1483 * sysdeps/i386/fpu/libm-test-ulps: Update.
1486 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1487 threshold on absolute value of exponent for which scaling is used.
1488 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1489 * math/auto-libm-test-in: Add more tests of exp2.
1490 * math/auto-libm-test-out: Regenerated.
1492 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
1495 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1496 when initializing interface list, based on the bug analysis
1497 and the patch proposed by Eric Newton.
1498 * resolv/tst-res_hconf_reorder.c: New test.
1499 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1500 tst-res_hconf_reorder.
1501 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1502 and $(shared-thread-library).
1503 (tst-res_hconf_reorder-ENV): New variable.
1505 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1508 2015-06-22 Joseph Myers <joseph@codesourcery.com>
1511 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1512 (__expm1): Force underflow exception for arguments with small
1514 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1515 (__expm1f): Force underflow exception for arguments with small
1517 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1518 (__expm1): Force underflow exception for arguments with small
1520 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1521 (__expm1f): Force underflow exception for arguments with small
1523 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1524 Check for small arguments before calling __expm1.
1525 * math/auto-libm-test-in: Do not mark underflow exceptions as
1526 possibly missing for bug 16353.
1527 * math/auto-libm-test-out: Regenerated.
1529 2015-06-22 Andreas Schwab <schwab@suse.de>
1532 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1535 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
1537 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1539 * string/strcoll_l.c: Remove unused struct element idxnow.
1541 2015-06-21 Joseph Myers <joseph@codesourcery.com>
1544 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1545 underflow and return argument in case of subnormal argument.
1546 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1548 * math/auto-libm-test-in: Add more tests of expm1.
1549 * math/auto-libm-test-out: Regenerated.
1552 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1553 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1555 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1556 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1558 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
1559 mark underflow exceptions as possibly missing for bug 16361.
1560 * math/auto-libm-test-out: Regenerated.
1562 2015-06-19 Joseph Myers <joseph@codesourcery.com>
1564 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1565 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1567 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1568 (test-xfail-XOPEN2K8/utmpx.h/conform).
1570 * conform/conformtest.pl ($xerrors): New variable.
1571 (note_error): New function.
1572 (compiletest): New argument $xfail. Use not_error.
1573 (runtest): Likewise.
1574 (top level): Handle xfail- lines. Update calls to compiletest and
1575 runtest. Handle xfail- and optional- in headers listed with
1577 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1579 (O_SEARCH): Likewise.
1580 * conform/data/stropts.h-data (ioctl): Likewise.
1581 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1582 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1583 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1584 (msghdr.msg_controllen): Likewise.
1585 (cmsghdr.cmsg_len): Likewise.
1586 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1587 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1589 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1590 (test-xfail-XPG4/stropts.h/conform): Likewise.
1591 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1592 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1593 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1594 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1595 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1596 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1597 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1598 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1599 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1600 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1601 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1602 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1603 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1604 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1605 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1606 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1607 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1608 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1609 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1611 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
1613 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1614 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1615 definitions for proper unfolding of __MATHDECL_VEC.
1617 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1619 * benchtests/bench-strcoll.c:
1621 (main): Remove unused variable res.
1623 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1625 * timezone/Makefile (%/UTC %/Universal):
1626 Generate test-result files for UTC and Universal.
1628 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1630 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1632 2015-06-18 Joseph Myers <joseph@codesourcery.com>
1635 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1636 for arguments with small absolute value.
1637 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1638 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1639 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1640 (__asinh): Force underflow exception for arguments with small
1642 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1643 (__asinhf): Force underflow exception for arguments with small
1645 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1646 (__asinhl): Force underflow exception for arguments with small
1648 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1649 (__asinhl): Force underflow exception for arguments with small
1651 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1652 (__asinhl): Force underflow exception for arguments with small
1654 * math/auto-libm-test-in: Do not mark underflow exceptions as
1655 possibly missing for bug 16350.
1656 * math/auto-libm-test-out: Regenerated.
1658 * include/bits/ipc.h: Remove file.
1659 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1661 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1662 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1663 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1664 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1665 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1666 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1667 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1668 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1669 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1671 * math/auto-libm-test-in: Remove spurious underflow allowance for
1673 * math/auto-libm-test-out: Regenerated.
1676 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1677 unconditional definition.
1678 (MCAST_BLOCK_SOURCE): Likewise.
1679 (MCAST_UNBLOCK_SOURCE): Likewise.
1680 (MCAST_LEAVE_GROUP): Likewise.
1681 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1682 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1683 (MCAST_MSFILTER): Likewise.
1684 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1686 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1687 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1688 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1689 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1690 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1692 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
1694 * NEWS: Mention addition of x86_64 vector sincosf.
1695 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1696 * math/test-float-vlen4.h: Likewise.
1697 * math/test-float-vlen8.h: Likewise.
1698 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1699 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1700 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1701 * sysdeps/x86_64/fpu/Versions: New versions added.
1702 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1703 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1704 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1705 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1706 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1707 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1708 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1709 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1710 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1711 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1712 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1713 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1714 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1715 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1716 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1717 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1718 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1719 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1720 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1721 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1722 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1723 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1724 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1725 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1727 * NEWS: Mention addition of x86_64 vector sincos.
1728 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1729 * math/math.h (__MATHDECL_VEC): New macro.
1730 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1731 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1732 declaration under condition.
1733 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1734 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1735 TEST_VEC_LOOP change.
1736 * math/test-double-vlen4.h: Likewise.
1737 * math/test-double-vlen8.h: Likewise.
1738 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1739 * math/test-float-vlen4.h: Likewise.
1740 * math/test-float-vlen8.h: Likewise.
1741 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1742 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1743 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1744 * sysdeps/x86_64/fpu/Versions: New versions added.
1745 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1746 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1747 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1748 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1749 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1750 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1751 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1752 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1753 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1754 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1755 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1756 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1757 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1758 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1759 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1760 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1761 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1762 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1763 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1764 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1765 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1766 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1767 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1768 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1770 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1771 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1772 redirections for powf.
1773 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1774 * sysdeps/x86_64/fpu/Versions: New versions added.
1775 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1776 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1777 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1778 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1779 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1780 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1781 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1782 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1783 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1784 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1785 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1786 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1787 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1788 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1789 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1790 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1791 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1792 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1793 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1794 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1795 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1796 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1797 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1798 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1799 * math/test-float-vlen16.h: Fixed 2 argument macro.
1800 * math/test-float-vlen4.h: Likewise.
1801 * math/test-float-vlen8.h: Likewise.
1802 * NEWS: Mention addition of x86_64 vector powf.
1804 2015-06-17 Joseph Myers <joseph@codesourcery.com>
1806 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1808 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1810 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1811 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1812 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1815 * resource/getpriority.c (getpriority): Rename to __getpriority
1816 and define as weak alias of __getpriority.
1817 * resource/setpriority.c (setpriority): Rename to __setpriority
1818 and define as weak alias of __setpriority.
1819 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1820 __getpriority and define as weak alias of __getpriority.
1821 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1822 __setpriority and define as weak alias of __setpriority.
1823 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1825 (setpriority): Use __setpriority as strong name.
1826 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1827 __getpriority and define as weak alias of __getpriority.
1828 * include/sys/resource.h (__getpriority): Declare. Use
1830 (__setpriority): Likewise.
1831 (getpriority): Don't use libc_hidden_proto.
1832 (setpriority): Likewise.
1833 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1834 getpriority. Call __setpriority instead of setpriority.
1835 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1839 * misc/getttyent.c (getttynam): Rename to __getttynam and define
1840 as weak alias of __getttynam. Use prototype function definition.
1841 Call __setttyent, __getttyent and __endttyent instead of
1842 setttyent, getttyent and endttyent.
1843 (getttyent): Rename to __getttyent and define as weak alias of
1844 __getttyent. Call __setttyent instead of setttyent. Call
1845 __fgets_unlocked instead of fgets_unlocked.
1846 (setttyent): Rename to __setttyent and define as weak alias of
1848 (endttyent): Rename to __endttyent and define as weak alias of
1850 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
1851 (__setttyent): Likewise.
1852 (__endttyent): Likewise.
1853 (getttyent): Don't use libc_hidden_proto.
1854 (setttyent): Likewise.
1855 (endttyent): Likewise.
1856 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1857 __endttyent instead of setttyent, getttyent and endttyent.
1858 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1862 * socket/recv.c (__recv): Use libc_hidden_def.
1863 * socket/socket.c (__socket): Likewise.
1864 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1865 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1866 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1867 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1868 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1870 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1872 * include/sys/socket.h (__socket): Do not use attribute_hidden.
1873 Use libc_hidden_proto.
1875 * socket/Versions (libc): Export __recv and __socket at version
1877 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1879 (init_mq_netlink): Call __socket instead of socket.
1880 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1884 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1885 __mq_timedreceive and define as alias of __mq_timedreceive. Use
1887 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1888 define as alias of __mq_timedsend. Use hidden_weak.
1889 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1890 __mq_timedsend as strong name.
1891 (mq_timedreceive): Use __mq_timedreceive as strong name.
1892 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
1893 (__mq_timedreceive): Likewise.
1894 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1895 __mq_timedreceive instead of mq_timedreceive.
1896 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1897 instead of mq_timedsend.
1898 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1901 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1902 hidden_def and hidden_weak instead of libc_hidden_def and
1904 (top level): Refer to hidden_def in comment.
1905 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1906 macro. Use it instead of libc_hidden_def.
1907 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1908 specify __GI_* name explicitly.
1909 (mq_timedreceive): Likewise.
1910 (mq_setattr): Likewise.
1913 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1914 __pthread_barrier_init and define as weak alias of
1915 __pthread_barrier_init.
1916 * sysdeps/sparc/nptl/pthread_barrier_init.c
1917 (pthread_barrier_init): Likewise.
1918 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1919 __pthread_barrier_wait and define as weak alias of
1920 __pthread_barrier_wait.
1921 * sysdeps/sparc/nptl/pthread_barrier_wait.c
1922 (pthread_barrier_wait): Likewise.
1923 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1924 (pthread_barrier_wait): Likewise.
1925 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1926 (pthread_barrier_wait): Likewise.
1927 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1928 (pthread_barrier_wait): Likewise.
1929 * nptl/Versions (libpthread): Export __pthread_barrier_init and
1930 __pthread_barrier_wait at version GLIBC_PRIVATE.
1931 * include/pthread.h (__pthread_barrier_init): Declare.
1932 (__pthread_barrier_wait): Likewise.
1933 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1934 Call __pthread_barrier_wait instead of pthread_barrier_wait.
1935 (helper_thread): Likewise.
1936 (init_mq_netlink): Call __pthread_barrier_init instead of
1937 pthread_barrier_init.
1940 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1941 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1942 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
1943 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1945 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1949 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1950 strong alias of _IO_fflush. Use libc_hidden_def.
1951 * libio/iofflush_u.c (fflush_unlocked): Rename to
1952 __fflush_unlocked and define as weak alias of __fflush_unlocked.
1953 Use libc_hidden_weak.
1954 * include/stdio.h (__fflush_unlocked): Declare. Use
1956 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1958 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1962 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1963 define as weak alias of __addseverity.
1964 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1966 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1967 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1968 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1971 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1972 (__tfind): Likewise.
1973 (__tdelete): Likewise.
1974 (__twalk): Likewise.
1975 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1976 __twalk to GLIBC_PRIVATE.
1977 * include/search.h (__tsearch): Use libc_hidden_proto.
1978 (__tfind): Likewise.
1979 (__tdelete): Likewise.
1980 (__twalk): Likewise.
1981 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1982 Call __tdelete instead of tdelete.
1983 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1984 tfind. Call __tsearch instead of tsearch.
1985 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1986 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1988 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1991 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1992 (dprintf): Define as a weak alias of __dprintf, not a strong
1994 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
1995 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1997 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1999 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2000 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2003 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2005 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2009 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2010 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
2011 (in6addr_loopback): Rename to __in6addr_loopback and define as
2012 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
2013 * include/netinet/in.h (__in6addr_loopback): Declare. Use
2015 (__in6addr_any): Likewise.
2016 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2018 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2020 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2022 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
2024 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2025 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2026 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2027 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2028 redirections for pow.
2029 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2030 * sysdeps/x86_64/fpu/Versions: New versions added.
2031 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2032 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2033 build of SSE, AVX2 and AVX512 IFUNC versions.
2034 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2035 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2036 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2037 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2038 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2039 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2040 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2041 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2042 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2043 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2044 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2045 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2046 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2047 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2048 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2049 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2050 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2051 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2052 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2053 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2054 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2055 * NEWS: Mention addition of x86_64 vector pow.
2057 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2058 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2059 redirections for expf.
2060 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2061 * sysdeps/x86_64/fpu/Versions: New versions added.
2062 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2063 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2064 build of SSE, AVX2 and AVX512 IFUNC versions.
2065 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2066 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2067 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2068 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2069 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2070 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2071 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2072 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2073 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2074 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2075 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2076 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2077 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2078 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2079 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2080 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2081 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2082 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2083 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2084 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2085 * NEWS: Mention addition of x86_64 vector expf.
2087 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2088 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2089 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2090 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2091 redirections for exp.
2092 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2093 * sysdeps/x86_64/fpu/Versions: New versions added.
2094 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2095 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2096 build of SSE, AVX2 and AVX512 IFUNC versions.
2097 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2098 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2099 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2100 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2101 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2102 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2103 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2104 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2105 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2106 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2107 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2108 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2109 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2110 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2111 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2112 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2113 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2114 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2115 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2116 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2117 * NEWS: Mention addition of x86_64 vector exp.
2119 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2120 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2121 redirections for logf.
2122 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2123 * sysdeps/x86_64/fpu/Versions: New versions added.
2124 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2125 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2126 build of SSE, AVX2 and AVX512 IFUNC versions.
2127 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2128 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2129 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2130 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2131 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2132 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2133 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2134 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2135 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2136 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2137 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2138 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2139 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2140 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2141 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2142 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2143 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2144 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2145 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2146 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2147 * NEWS: Mention addition of x86_64 vector logf.
2149 * bits/libm-simd-decl-stubs.h: Added stubs for log.
2150 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2151 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2152 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2153 redirections for log.
2154 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2155 * sysdeps/x86_64/fpu/Versions: New versions added.
2156 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2157 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2158 build of SSE, AVX2 and AVX512 IFUNC versions.
2159 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2160 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2161 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2162 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2163 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2164 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2165 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2166 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2167 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2168 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2169 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2170 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2171 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2173 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2174 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2175 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2176 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2177 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2178 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2179 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2180 * NEWS: Mention addition of x86_64 vector log.
2182 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
2184 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2185 cfi_adjust_cfa_offset argument.
2186 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2187 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2190 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2191 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2192 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2193 ordering using ldar.
2194 (_dl_tlsdesc_dynamic): Likewise.
2195 (_dl_tlsdesc_return_lazy): Likewise.
2196 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2197 relaxed atomics instead of volatile and synchronize with release store.
2198 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2200 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2202 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
2204 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2205 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2206 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2207 * sysdeps/x86_64/fpu/Versions: New versions added.
2208 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2209 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2210 build of SSE, AVX2 and AVX512 IFUNC versions.
2211 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2212 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2213 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2214 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2215 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2216 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2217 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2218 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2219 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2220 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2221 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2222 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2223 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2224 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2225 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2226 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2227 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2228 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2229 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2230 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2231 * NEWS: Mention addition of x86_64 vector sinf.
2233 2015-06-14 Joseph Myers <joseph@codesourcery.com>
2235 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2236 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2237 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2239 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2240 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2242 2015-06-12 Joseph Myers <joseph@codesourcery.com>
2245 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2246 strong alias of _IO_fputs. Use libc_hidden_def.
2247 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2248 and define as weak alias of __fputs_unlocked. Use
2250 * include/stdio.h (__fputs_unlocked): Declare. Use
2252 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2256 * resolv/netdb.h [__USE_POSIX]: Change condition to
2258 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2260 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2261 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2262 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2263 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2264 [XPG4 || UNIX98] (AI_ALL): Likewise.
2265 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2266 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2267 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2268 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2269 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2270 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2271 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2272 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2273 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2274 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2275 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2276 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2277 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2278 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2279 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2280 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2281 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2282 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2283 [XPG4 || UNIX98] (gai_strerror): Likewise.
2284 [XPG4 || UNIX98] (getaddrinfo): Likewise.
2285 [XPG4 || UNIX98] (getnameinfo): Likewise.
2288 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2289 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2291 (getgrent): Likewise.
2292 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2294 [XPG3 || POSIX2008] (endgrent): Likewise.
2295 [XPG3] (setgrent): Likewise.
2296 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2298 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2301 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2302 define as weak alias of __getlogin_r. Use libc_hidden_weak.
2303 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2304 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2305 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2306 * include/unistd.h (__getlogin_r): Declare. Use
2308 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2309 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2311 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2312 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2313 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2315 2015-06-12 Martin Sebor <msebor@redhat.com>
2318 * Makerules (check-install-supported): New target.
2319 (install): Add check-install-supported as a dependency.
2320 * manual/install.texi (Installing the C Library): Document
2321 that overriding prefix and exec_prefix is not supported.
2323 * INSTALL: Regenerate from the above.
2325 2015-06-12 Joseph Myers <joseph@codesourcery.com>
2328 * posix/Versions (libc): Export __libc_pread at version
2330 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2332 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2337 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2338 (cvt_symbol): Use weak_alias instead of strong_alias.
2339 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2340 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2342 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2343 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2346 * inet/herrno.c (h_errno): Rename to __h_errno.
2347 (__libc_h_errno): Define as alias of __h_errno not h_errno.
2348 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2349 to __h_errno instead of h_errno.
2350 * nptl/herrno.c (h_errno): Rename to __h_errno.
2351 (__h_errno_location): Refer to __h_errno not h_errno.
2352 * resolv/Versions (h_errno): Rename to __h_errno.
2353 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2355 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2357 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
2359 * configure.ac: More strict check for AVX512 assembler support.
2360 * configure: Regenerated.
2362 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2363 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2364 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2365 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2366 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2367 * sysdeps/x86_64/fpu/Versions: New versions added.
2368 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2369 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2370 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2371 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2372 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2373 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2374 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2375 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2376 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2377 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2378 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2379 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2380 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2381 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2382 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2383 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2385 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2386 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2387 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2388 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2389 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2390 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2391 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2392 * NEWS: Mention addition of x86_64 vector sin.
2394 2015-06-11 Florian Weimer <fweimer@redhat.com>
2396 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2399 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2402 * nptl/pt-interp.c: New file.
2403 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2405 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2406 $(common-objpfx)runtime-linker.h.
2408 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
2410 * Makeconfig (+interp): Remove unused variable.
2411 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2412 only. Depend on $(common-objpfx)runtime-linker.h instead of
2413 $(elf-objpfx)runtime-linker.h.
2414 ($(elf-objpfx)runtime-linker.h): Rename to
2415 $(common-objpfx)runtime-linker.h and move ...
2416 * Makerules [$(build-shared) = yes]: ... here.
2417 * elf/interp.c: Include <runtime-linker.h> instead of
2418 <elf/runtime-linker.h>.
2420 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2422 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2423 (__gettimeofday_syscall): Remove vsyscall fallback.
2424 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2425 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2426 Add syscall fallback function.
2427 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2428 if vDSO is not present.
2429 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2431 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2433 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2434 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2436 2015-06-09 Joseph Myers <joseph@codesourcery.com>
2439 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2441 (wcscmp): Define as weak alias of WCSCMP.
2442 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2444 (USE_HIDDEN_DEF): Define.
2445 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2446 __wcscoll. Don't use libc_hidden_weak.
2447 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2449 * sysdeps/i386/i686/multiarch/wcscmp-c.c
2450 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2452 (weak_alias): Undefine and redefine.
2453 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2454 __wcscmp and define as weak alias of __wcscmp.
2455 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2456 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
2457 (__wcscoll): Likewise.
2458 (wcscmp): Don't use libc_hidden_proto.
2459 (wcscoll): Likewise.
2460 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2462 * posix/regexec.c (check_node_accept_bytes): Likewise.
2463 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2465 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2466 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2469 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2470 __fstatvfs and define as weak alias of __fstatvfs. Use
2472 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2473 and define as weak alias of __statvfs. Use libc_hidden_weak.
2474 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2475 Define as alias of __fstatvfs, not fstatvfs.
2476 (fstatvfs64): Likewise.
2477 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2478 Define as alias of __statvfs, not statvfs.
2479 (statvfs64): Likewise.
2480 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2483 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2486 (HAVE_GETCPU_VSYSCALL): Define.
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2488 (HAVE_GETCPU_VSYSCALL): Likewise.
2489 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2490 * sysdeps/unix/sysv/linux/sched_getcpu.c
2491 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2492 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2493 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2495 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2496 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2497 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2500 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2501 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2502 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2503 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2505 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
2507 * sysdeps/x86_64/fpu/Makefile: New file.
2508 * sysdeps/x86_64/fpu/Versions: New file.
2509 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2510 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2511 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2512 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2513 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2514 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2515 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2516 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2517 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2518 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2519 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2520 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2521 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2522 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2523 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2524 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2525 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2526 * sysdeps/x86_64/configure.ac: Options for libmvec build.
2527 * sysdeps/x86_64/configure: Regenerated.
2528 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2529 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2530 * manual/install.texi (Configuring and compiling): Document
2532 * INSTALL: Regenerated.
2533 * NEWS: Mention addition of libmvec and x86_64 vector cos.
2535 * math/Makefile: Added rules for vector tests.
2536 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2537 declaration under condition.
2538 * math/test-double-vlen2.h: New file.
2539 * math/test-double-vlen4.h: New file.
2540 * math/test-double-vlen8.h: New file.
2541 * math/test-vec-loop.h: Added initialization macro.
2542 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2543 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2544 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2545 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2546 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2547 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2548 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2549 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2550 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2551 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2552 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2554 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2555 * sysdeps/x86_64/fpu/Versions: New versions added.
2556 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2557 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2558 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2559 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2560 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2561 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2562 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2563 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2564 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2565 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2566 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2567 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2568 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2569 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2570 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2571 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2572 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2573 * NEWS: Mention addition of x86_64 vector cosf.
2575 * math/Makefile: Added CFLAGS for new tests.
2576 * math/test-float-vlen16.h: New file.
2577 * math/test-float-vlen4.h: New file.
2578 * math/test-float-vlen8.h: New file.
2579 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2580 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2581 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2582 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2583 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2584 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2585 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2586 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2587 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2588 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2589 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2591 2015-06-09 Marko Myllynen <myllynen@redhat.com>
2593 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2594 * locale/programs/ld-ctype.c: Likewise.
2596 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
2598 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2599 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2600 bit_ZMM16_31_state): New macro.
2601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2602 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2604 2015-06-08 Joseph Myers <joseph@codesourcery.com>
2606 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2608 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
2610 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2612 2015-06-05 Joseph Myers <joseph@codesourcery.com>
2615 * libio/memstream.c (open_memstream): Rename to __open_memstream
2616 and define as weak alias of __open_memstream.
2617 * include/stdio.h (__open_memstream): Declare. Use
2619 (open_memstream): Don't use libc_hidden_proto.
2620 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2622 * posix/getopt.c (_getopt_internal_r): Likewise.
2623 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2625 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2626 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2627 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2630 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2634 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2635 [__USE_XOPEN2K8]. Remove redundant #endif.
2636 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2637 Remove redundant #if.
2638 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2640 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2641 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2644 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2645 (__iswlower): Likewise.
2646 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
2647 (__iswlower): Likewise.
2648 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2649 instead of towlower.
2650 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2651 instead of iswlower. Call __towupper instead of towupper.
2652 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2653 instead of iswalnum.
2655 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2657 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2660 2015-06-05 Florian Weimer <fweimer@redhat.com>
2664 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2665 Check for overflow properly. Check for O_APPEND. Ignore large
2666 file system block sizes. Add comments about problems.
2667 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2668 * manual/filesys.texi (Storage Allocation): New node.
2670 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2672 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2673 cancellable syscalls.
2674 (SYS_ify): Add guard to no redefine it.
2675 (INLINE_SYSCALL): Likewise.
2676 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2677 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2678 SYSCALL_CANCEL instead.
2679 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2680 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2681 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2682 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2683 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2684 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2685 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2686 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2687 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2688 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2689 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2690 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2691 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2692 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2693 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2694 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2696 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2697 (__libc_pread64): Likewise.
2698 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2699 (__libc_preadv): Likewise.
2700 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2701 (__libc_readv64): Likewise.
2702 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2703 (__libc_pwrite): Likewise.
2704 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2705 (__libc_pwrite64): Likewise.
2706 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2707 (__libc_pwritev): Likewise.
2708 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2709 (__libc_pwritev64): Likewise.
2710 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2711 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2712 (sync_file_range): Likewise.
2713 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2715 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2717 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2718 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2719 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2720 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2721 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2722 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2723 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2724 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2728 (__libc_read64): Likewise.
2729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2738 (__libc_pread64): Likewise.
2739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2742 (__libc_pwrite64): Likewise.
2743 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2744 (sync_file_range): Likewise.
2745 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2746 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2747 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2748 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2749 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2750 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2751 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2752 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2753 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2754 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2755 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2756 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2757 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2758 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2759 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2760 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2761 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2762 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2763 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2765 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2767 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2768 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2770 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2771 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2772 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2773 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2775 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2776 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2777 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2778 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2779 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2781 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
2783 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2785 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2786 Use VDSO routines for gettimeofday, clock_gettime if
2788 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2789 Declare VDSO symbols.
2790 * sysdeps/unix/sysv/linux/arm/sysdep.h:
2791 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2792 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2793 * sysdeps/unix/sysv/linux/arm/Versions: Add
2794 __vdso_clock_gettime.
2796 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2798 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2799 be an inline implementation regardless of library is built within.
2800 (open_not_cancel_2): Likewise.
2801 (__read_nocancel): Likewise.
2802 (__write_nocancel): Likewise.
2803 (openat_not_cancel): Likewise.
2804 (openat_not_cancel_3): Likewise.
2805 (openat64_not_cancel): Likewise.
2806 (openat64_not_cancel_3): Likewise.
2807 (__close_nocancel): Likewise.
2808 (pause_not_cancel): Likewise.
2809 (nanosleep_not_cancel): Likewise.
2810 (sigsuspend_not_cancel): Likewise.
2812 2015-06-04 Torvald Riegel <triegel@redhat.com>
2815 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2817 (__pthread_rwlock_rdlock_slow): Likewise.
2818 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2820 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2822 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2823 * nptl/tst-rwlock16.c: New file.
2824 * nptl/Makefile (tests): Add new test.
2826 2015-06-04 Torvald Riegel <triegel@redhat.com>
2829 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2830 missing wake-up of readers.
2831 * nptl/tst-rwlock15.c: New file.
2832 * nptl/Makefile (tests): Add new test.
2834 2015-06-03 Roland McGrath <roland@hack.frob.com>
2836 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2837 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2838 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2839 and __nacl_supply_interface_rtld.
2840 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2841 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2842 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2843 Add __nacl_supply_interface_rtld.
2844 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2846 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2848 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2850 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2851 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2853 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2855 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2856 __signbit* with standard C99 macros.
2857 * math/e_exp10l.c: Likewise.
2858 * math/e_exp2l.c: Likewise.
2859 * math/e_scalb.c: Likewise.
2860 * math/e_scalbf.c: Likewise.
2861 * math/e_scalbl.c: Likewise.
2862 * math/s_ldexp.c: Likewise.
2863 * math/s_ldexpf.c: Likewise.
2864 * math/s_ldexpl.c: Likewise.
2865 * math/w_atan2.c: Likewise.
2866 * math/w_atan2f.c: Likewise.
2867 * math/w_atan2l.c: Likewise.
2868 * math/w_cosh.c: Likewise.
2869 * math/w_coshf.c: Likewise.
2870 * math/w_coshl.c: Likewise.
2871 * math/w_exp10.c: Likewise.
2872 * math/w_exp10f.c: Likewise.
2873 * math/w_exp10l.c: Likewise.
2874 * math/w_exp2.c: Likewise.
2875 * math/w_exp2f.c: Likewise.
2876 * math/w_exp2l.c: Likewise.
2877 * math/w_fmod.c: Likewise.
2878 * math/w_fmodf.c: Likewise.
2879 * math/w_fmodl.c: Likewise.
2880 * math/w_hypot.c: Likewise.
2881 * math/w_hypotf.c: Likewise.
2882 * math/w_hypotl.c: Likewise.
2883 * math/w_jnl.c: Likewise.
2884 * math/w_lgamma.c: Likewise.
2885 * math/w_lgamma_r.c: Likewise.
2886 * math/w_lgammaf.c: Likewise.
2887 * math/w_lgammaf_r.c: Likewise.
2888 * math/w_lgammal.c: Likewise.
2889 * math/w_lgammal_r.c: Likewise.
2890 * math/w_pow.c: Likewise.
2891 * math/w_powf.c: Likewise.
2892 * math/w_powl.c: Likewise.
2893 * math/w_remainder.c: Likewise.
2894 * math/w_remainderf.c: Likewise.
2895 * math/w_remainderl.c: Likewise.
2896 * math/w_scalb.c: Likewise.
2897 * math/w_scalbf.c: Likewise.
2898 * math/w_scalbl.c: Likewise.
2899 * math/w_scalbln.c: Likewise.
2900 * math/w_scalblnf.c: Likewise.
2901 * math/w_scalblnl.c: Likewise.
2902 * math/w_sinh.c: Likewise.
2903 * math/w_sinhf.c: Likewise.
2904 * math/w_sinhl.c: Likewise.
2905 * math/w_tgamma.c: Likewise.
2906 * math/w_tgammaf.c: Likewise.
2907 * math/w_tgammal.c: Likewise.
2908 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2909 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2910 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2911 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2912 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2914 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2915 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2916 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2917 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2918 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2919 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2920 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2921 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2922 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2923 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2924 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2925 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2926 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2927 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2928 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2929 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2930 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2931 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2932 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2933 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2934 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2935 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2936 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2937 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2938 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2939 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2940 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2941 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2942 * stdio-common/printf_fp.c: Likewise.
2943 * stdio-common/printf_fphex.c: Likewise.
2944 * stdio-common/printf_size.c: Likewise.
2946 2015-06-03 Joseph Myers <joseph@codesourcery.com>
2949 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2951 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2953 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2954 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2955 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2956 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2957 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2958 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2959 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2960 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2961 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2962 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2965 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2966 weak alias of __wmemchr. Use libc_hidden_weak.
2967 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
2968 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2971 2015-06-02 Roland McGrath <roland@hack.frob.com>
2974 * elf/tst-tlsalign-extern.c: New file.
2975 * elf/tst-tlsalign-extern-static.c: New file.
2976 * elf/tst-tlsalign-vars.c: New file.
2977 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2978 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2979 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2980 ($(objpfx)tst-tlsalign-extern-static): Likewise.
2981 (test-xfail-tst-tlsalign-extern-static): New variable.
2983 2015-06-02 Joseph Myers <joseph@codesourcery.com>
2985 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2986 Use variable name _sc_err instead of err.
2987 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2989 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2990 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2991 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2992 (INLINE_SYSCALL): Likewise.
2994 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2995 * include/string.h (__strnlen): Use libc_hidden_proto.
2996 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2997 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2998 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2999 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
3000 (libc_hidden_def): Undefine and redefine.
3001 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
3002 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3004 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3006 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3009 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3010 weak alias of __towlower. Use libc_hidden_weak.
3011 (towupper): Rename to __towupper and define as weak alias of
3012 __towupper. Use libc_hidden_weak.
3013 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
3014 (__towupper): Likewise.
3015 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3016 __towlower instead of towlower.
3018 2015-06-02 Roland McGrath <roland@hack.frob.com>
3020 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3021 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3023 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3025 * sysdeps/aarch64/libm-test-ulps: Update.
3027 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3029 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3031 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3033 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3034 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3035 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3036 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3037 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3039 2015-06-01 Martin Sebor <msebor@redhat.com>
3042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3043 (__setcontext): Use extended four-operand version of mtsf whenever
3045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3046 (__novec_swapcontext): Likewise.
3048 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3050 * benchtests/scripts/compare_bench.py: New file.
3051 * benchtests/scripts/import_bench.py (mean): New function.
3052 (split_list): Likewise.
3053 (do_for_all_timings): Likewise.
3054 (compress_timings): Likewise.
3056 * benchtests/scripts/import_bench.py: New file.
3057 * benchtests/scripts/validate_benchout.py: Import import_bench
3058 instead of jsonschema.
3059 (validate_bench): Remove function.
3060 (main): Use import_bench.
3062 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
3064 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3065 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3067 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3071 2015-05-28 Roland McGrath <roland@hack.frob.com>
3073 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3074 set THREAD_SELF->tid to a magic value and futex-wake it.
3075 Pass its address to the thread_exit system call.
3076 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3078 * sysdeps/nacl/lowlevellock.h: New file.
3079 * sysdeps/nacl/lll_timedwait_tid.c: New file.
3081 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3082 Add TIMEOUT to current time, don't subtract it.
3084 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
3088 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3089 ($(objpfx)tst-audit2.out): Also depend on
3090 $(objpfx)tst-auditmod9b.so.
3091 * elf/tst-audit2.c: Include <dlfcn.h>.
3092 (calloc_called): New.
3093 (calloc): Allow to be called more than once.
3094 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3096 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
3098 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3099 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3101 2015-05-27 Marko Myllynen <myllynen@redhat.com>
3103 * stdlib/monetary.h: Fix comment.
3105 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
3107 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3108 Avoid using variables in #defines that might cause shadowing.
3109 (INTERNAL_VSYSCALL_CALL): Likewise.
3111 2015-05-26 Roland McGrath <roland@hack.frob.com>
3113 * sysdeps/nacl/lll_timedlock_wait.c: New file.
3115 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3116 * nptl/lll_timedlock_wait.c: ... to this new file.
3117 * nptl/Makefile (libpthread-routines): Add it.
3118 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3119 * nptl/lll_timedwait_tid.c: ... to this new file.
3120 * nptl/Makefile (libpthread-routines): Add it.
3121 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3122 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3123 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3124 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3125 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3126 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3127 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3128 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3129 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3130 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3132 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3134 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3135 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3136 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3137 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3138 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3139 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3140 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3141 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3142 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3143 * sysdeps/unix/sysv/linux/tile/sysdep.h
3144 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3145 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3146 using vDSO syscall macro.
3148 2015-05-26 Andriy Rysin <arysin@gmail.com>
3151 * uk_UA: Fix sorting order for Ukrainian locale
3153 2015-05-26 Marko Myllynen <myllynen@redhat.com>
3155 * stdlib/monetary.h: Fix comment.
3157 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
3160 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3161 st_mtim and st_ctim members.
3162 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3163 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3164 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3165 (struct stat64): Likewise.
3166 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3167 (struct stat64): Likewise.
3168 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3169 (struct stat64): Likewise.
3171 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3173 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3174 Define and include sysdep-vdso.h.
3175 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3177 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3179 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3180 Define with VDSO_SYMBOL and use PTR_MANGLE.
3181 (__vdso_clock_gettime): Likewise.
3182 (__vdso_clock_getres): Likewise.
3183 (_libc_vdso_platform_setup): Likewise.
3184 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3186 (_libc_vdso_platform_setup): Likewise.
3187 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3189 (__vdso_clock_gettime): Likewise.
3190 (__vdso_clock_getres): Likewise.
3191 (__vdso_get_tbfreq): Likewise.
3192 (__vdso_getcpu): Likewise.
3193 (__vdso_time): Likewise.
3194 (__vdso_sigtramp_rt64): Likewise.
3195 (__vdso_signtramp32): Likewise.
3196 (__vdso_sigtramp_rt32): Likewise.
3197 (_libc_vdso_platform_setup): Likewise.
3198 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3200 (__vdso_clock_gettime): Likewise.
3201 (__vdso_clock_getres): Likewise.
3202 (_libc_vdso_platform_setup): Likewise.
3203 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3205 (__vdso_clock_gettime): Likewise.
3206 (_libc_vdso_platform_setup): Likewise.
3207 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3209 (__vdso_getcpu): Likewise.
3210 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3211 Use VDSO_SYMBOL macro to define.
3212 (__vdso_clock_gettime): Likewise.
3213 (__vdso_clock_getres): Likewise.
3214 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3216 (__vdso_clock_gettime): Likewise.
3217 (__vdso_clock_getres): Likewise.
3218 (__vdso_get_tbfreq): Likewise.
3219 (__vdso_getcpu): Likewise.
3220 (__vdso_time): Likewise.
3221 (__vdso_sigtramp_rt64): Likewise.
3222 (__vdso_signtramp32): Likewise.
3223 (__vdso_sigtramp_rt32): Likewise.
3224 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3226 (__vdso_clock_gettime): Likewise.
3227 (__vdso_clock_getres): Likewise.
3228 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3230 (__vdso_clock_gettime): Likewise.
3231 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3233 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
3235 (INTERNAL_VSYSCALL): Likewise.
3236 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3238 (INTERNAL_VSYSCALL): Likewise.
3239 (INTERNAL_VSYSCALL_NCS): Likewise.
3240 (INTERNAL_VSYSCALL_CALL): New macro.
3241 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3242 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3244 (INTERNAL_VSYSCALL): Likewise.
3245 (INTERNAL_VSYSCALL_NCS): Likewise.
3246 (INTERNAL_VSYSCALL_CALL): New macro.
3247 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3249 (INLINE_VSYSCALL): Remove macro.
3250 (INTERNAL_VSYSCALL): Remove macro.
3251 (INTERNAL_VSYSCALL_NCS): Remove macro.
3252 (INTERNAL_VSYSCALL_CALL): New macro.
3253 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3254 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3255 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3256 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3257 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3259 (INLINE_VSYSCALL): Remove macro.
3260 (INTERNAL_VSYSCALL): Likewise.
3261 (INTERNAL_VSYSCALL_NCS): Likewise.
3262 (INTERNAL_VSYSCALL_CALL): New macro.
3263 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3264 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3265 PTR_DEMANGLE on vDSO pointer.
3266 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3267 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3269 (INTERNAL_SYSCALL): Likewise.
3270 (INTERNAL_VSYSCALL_NCS): Remove macro.
3271 (INTERNAL_VSYSCALL_CALL): New macro.
3272 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3274 (INTERNAL_VSYSCALL): Likewise.
3275 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3276 sysdep-vdso.h instead of libc-vdso.h.
3277 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3279 (INLINE_VSYSCALL): Likewise.
3280 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3281 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3283 (INLINE_VSYSCALL): Likewise.
3284 (INTERNAL_VSYSCALL): Likewise.
3285 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3286 * sysdeps/unix/sysv/linux/timespec_get.c
3287 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3288 (timespec_get): Use ANSI prototype.
3289 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3290 and definition for Linux.
3292 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
3294 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3295 * include/libc-symbols.h: libmvec_hidden_* macro series added.
3297 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
3301 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3302 for missing DT_PLTRELSZ.
3304 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
3306 Remove obsolete aliases that broke 'locale -a'
3308 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3309 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3310 breaking some applications that use 'locale -a' output.
3311 Change the encoding of this file from Latin-1 to ASCII to avoid
3312 other potential problems with people grepping this file.
3314 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3316 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3317 -fasynchronous-unwind-tables.
3318 (CFLAGS-sendto.c): Likewise.
3319 (CFLAGS-sendmsg.c): Likewise.
3320 (CFLAGS-connect.c): Likewise.
3321 (CFLAGS-recvmsg.c): Likewise.
3322 (CFLAGS-recvfrom.c): Likewise.
3323 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3324 (SOCKETCALL): New macro: non-cancellable socketcall.
3325 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3326 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3327 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3328 * sysdeps/unix/sysv/linux/accept.c: New file.
3329 * sysdeps/unix/sysv/linux/bind.c: Likewise.
3330 * sysdeps/unix/sysv/linux/connect.c: Likewise.
3331 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3332 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3333 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3334 * sysdeps/unix/sysv/linux/listen.c: Likewise.
3335 * sysdeps/unix/sysv/linux/recv.c: Likewise.
3336 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3337 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3338 * sysdeps/unix/sysv/linux/send.c: Likewise.
3339 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3340 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3341 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3342 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3343 * sysdeps/unix/sysv/linux/socket.c: Likewise.
3344 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3345 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3347 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3348 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3349 instead of __internal_xxx function.
3350 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3352 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3353 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3354 instead of __internal_xxx function.
3355 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3357 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3358 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3359 instead of __internal_xxx function.
3360 * sysdeps/unix/sysv/linux/accept.S: Remove file.
3361 * sysdeps/unix/sysv/linux/bind.S: Likewise.
3362 * sysdeps/unix/sysv/linux/connect.S: Likewise.
3363 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3364 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3365 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3366 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3367 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3368 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3369 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3370 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3371 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3372 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3373 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3374 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3375 * sysdeps/unix/sysv/linux/listen.S: Likewise.
3376 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3377 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3378 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3379 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3382 * sysdeps/unix/sysv/linux/recv.S: Likewise.
3383 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3384 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3385 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3386 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3387 * sysdeps/unix/sysv/linux/send.S: Likewise.
3388 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3389 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3390 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3391 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3392 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3393 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3394 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3395 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3396 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3397 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3398 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3399 socketcall is implemented in GLIBC.
3401 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3403 * soft-fp/fmadf4.c: Include <libc-internal.h>.
3404 (__fma): Ignore uninitialized warnings around packing.
3405 * soft-fp/fmasf4.c: Include <libc-internal.h>.
3406 (__fmaf): Ignore uninitialized warnings around packing.
3407 * soft-fp/fmatf4.c: Include <libc-internal.h>.
3408 (__fmal): Ignore uninitialized warnings around packing.
3410 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3411 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3412 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3413 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3415 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3416 switch statement into default case.
3417 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3419 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3420 a conditional in forcing "inexact".
3421 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3424 2015-05-22 Roland McGrath <roland@hack.frob.com>
3426 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3427 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3428 for each INTERNAL_SYSCALL use.
3430 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3433 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3434 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3438 * string/basename.c (basename): Rename to __basename and define as
3439 weak alias of __basename. Use libc_hidden_weak.
3440 * include/string.h (__basename): Declare. Use libc_hidden_proto.
3441 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3442 __basename instead of basename.
3443 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3445 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3447 2015-05-18 Florian Weimer <fweimer@redhat.com>
3449 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3450 (_IO_JUMPS_FILE_plus): New.
3451 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3452 _IO_CAST_FIELD_ACCESS.
3453 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3454 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3455 * libio/freopen.c (freopen): Likewise.
3456 * libio/freopen64.c (freopen64): Likewise.
3457 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3458 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3459 * libio/iofwide.c (_IO_fwide): Likewise.
3460 * libio/memstream.c (open_memstream): Likewise.
3461 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3462 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3463 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3465 2015-05-21 Joseph Myers <joseph@codesourcery.com>
3467 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3468 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3470 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3471 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3473 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3474 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3477 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3480 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3481 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3483 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3484 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3485 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3487 2015-05-21 Florian Weimer <fweimer@redhat.com>
3489 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3490 Adjust jump table label generation macros.
3492 2015-05-21 Florian Weimer <fweimer@redhat.com>
3494 * stdio-common/vfprintf.c (vfprintf): Move local variables
3495 args_malloced, specs, specs_malloced, and the code after
3496 do_positional to the printf_positional function.
3497 (printf_positional): New function.
3499 2015-05-21 Florian Weimer <fweimer@redhat.com>
3501 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3503 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3504 STEP4_TABLE, process_arg): Move macro definitions
3505 out of the vfprintf function. (Cosmetic change only.)
3507 2015-05-21 Carlos O'Donell <carlos@redhat.com>
3509 * benchtests/Makefile (stdio-common-bench): Define.
3510 (benchset): Add stdio-common-bench.
3511 * sprintf-inputs: New file.
3512 * sprintf-source.c: New file.
3514 2015-05-21 Andreas Schwab <schwab@suse.de>
3518 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3519 of struct __res_state.
3520 * resolv/res_send.c (__libc_res_nsend): Likewise.
3521 (get_nsaddr): New function.
3522 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3525 2015-05-20 Joseph Myers <joseph@codesourcery.com>
3527 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3528 -D_POSIX_C_SOURCE=199506L.
3530 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3532 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3533 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3534 Do not mention otherwise.
3535 [POSIX] (_XOPEN_VERSION): Do not expect.
3536 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3537 [POSIX] (_POSIX2_C_BIND): Likewise.
3538 [POSIX] (_POSIX2_VERSION): Likewise.
3539 [POSIX] (_XOPEN_XPG2): Likewise.
3540 [POSIX] (_XOPEN_XPG3): Likewise.
3541 [POSIX] (_XOPEN_XPG4): Likewise.
3542 [POSIX] (_XOPEN_UNIX): Likewise.
3543 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3544 [POSIX] (_POSIX_BARRIERS): Likewise.
3545 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3546 [POSIX] (_POSIX_CPUTIME): Likewise.
3547 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3548 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3549 [POSIX] (_POSIX_SHELL): Likewise.
3550 [POSIX] (_POSIX_SPAWN): Likewise.
3551 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3552 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3553 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3554 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3555 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3556 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3557 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3558 [POSIX] (_XBS5_LP64_OFF64): Likewise.
3559 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3560 [POSIX] (_POSIX_TIMEOUTS): Likewise.
3561 [POSIX] (_POSIX2_PBS): Likewise.
3562 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3563 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3564 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3565 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3566 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3567 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3568 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3569 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3570 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3571 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3572 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3573 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3574 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3575 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3576 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3577 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3578 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3579 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3580 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3581 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3582 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3583 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3584 [POSIX] (_SC_2_C_BIND): Likewise.
3585 [POSIX] (_SC_2_C_VERSION): Likewise.
3586 [POSIX] (_SC_2_PBS): Likewise.
3587 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3588 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3589 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3590 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3591 [POSIX] (_SC_2_PBS_TRACK): Likewise.
3592 [POSIX] (_SC_ATEXIT_MAX): Likewise.
3593 [POSIX] (_SC_BARRIERS): Likewise.
3594 [POSIX] (_SC_BASE): Likewise.
3595 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3596 [POSIX] (_SC_DEVICE_IO): Likewise.
3597 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3598 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3599 [POSIX] (_SC_FD_MGMT): Likewise.
3600 [POSIX] (_SC_FIFO): Likewise.
3601 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3602 [POSIX] (_SC_FILE_LOCKING): Likewise.
3603 [POSIX] (_SC_FILE_SYSTEM): Likewise.
3604 [POSIX] (_SC_IOV_MAX): Likewise.
3605 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3606 [POSIX] (_SC_NETWORKING): Likewise.
3607 [POSIX] (_SC_PAGE_SIZE): Likewise.
3608 [POSIX] (_SC_PASS_MAX): Likewise.
3609 [POSIX] (_SC_PIPE): Likewise.
3610 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3611 [POSIX] (_SC_REGEXP): Likewise.
3612 [POSIX] (_SC_SHELL): Likewise.
3613 [POSIX] (_SC_SIGNALS): Likewise.
3614 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3615 [POSIX] (_SC_SPIN_LOCKS): Likewise.
3616 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3617 [POSIX] (_SC_USER_GROUPS): Likewise.
3618 [POSIX] (_SC_USER_GROUPS_R): Likewise.
3619 [POSIX] (_SC_STREAMS): Likewise.
3620 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3621 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3622 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3623 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3624 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3625 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3626 [POSIX] (_PC_FILESIZEBITS): Likewise.
3627 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3628 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3629 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3630 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3631 [POSIX] (uid_t): Likewise.
3632 [POSIX] (gid_t): Likewise.
3633 [POSIX] (off_t): Likewise.
3634 [POSIX] (pid_t): Likewise.
3635 [POSIX] (cuserid): Allow.
3636 (_SC_2_CHAR_TERM): Require constant.
3637 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3638 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3641 2015-05-20 Roland McGrath <roland@hack.frob.com>
3643 * sysdeps/nacl/pthread-pids.h: New file.
3644 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3645 (create_thread): Use __nacl_get_tid to initialize PD->tid.
3647 * nptl/pthread-pids.h: New file.
3648 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3649 * nptl/nptl-init.c: Include <pthread-pids.h>.
3650 (__pthread_initialize_minimal_internal):
3651 Call __pthread_initialize_pids instead of set_tid_address syscall.
3653 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3654 * sysdeps/posix/usleep.c: ... here.
3656 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3658 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3659 call_pselect6 object.
3660 [$(subdir) = io]: Remove call_sync_file_range object.
3661 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3662 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3663 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3664 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3666 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
3668 * math/s_cproj.c: Add include "math_private.h".
3669 * math/s_cprojf.c: Likewise.
3670 * math/s_cprojl.c: Likewise.
3672 2015-05-19 Joseph Myers <joseph@codesourcery.com>
3675 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3676 high mantissa bit when testing whether P is a NaN.
3677 * math/libm-test.inc (remainder_test_data): Add more tests.
3678 (remquo_test_data): Likewise.
3681 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3682 below -32, return the argument, with underflow if subnormal.
3683 * math/auto-libm-test-in: Add more tests of atanh.
3684 * math/auto-libm-test-out: Regenerated.
3686 2015-05-19 Roland McGrath <roland@hack.frob.com>
3689 * nptl/tst-sem15.c: New file.
3690 * nptl/Makefile (tests): Add it.
3691 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3692 s/<</>>/ to fix typo in EOVERFLOW check.
3693 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3695 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3697 * manual/strings.texi (envz_remove): Fix typo in safety
3700 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
3701 Steve Ellcey <sellcey@imgtec.com>
3703 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3704 in order to avoid strict alias warnings.
3705 (iruserok_af): Ditto for ra.
3707 2015-05-19 James Lemke <jwlemke@codesourcery.com>
3711 (magicbyte): Convert to a function and avoid returning 0x01.
3712 (mem2mem_check): Avoid using a length byte equal to the magic byte.
3713 (mem2chunk_check): Fix unsigned comparisons to zero.
3714 Hoist defs of sz and magic.
3716 2015-05-19 Richard Henderson <rth@redhat.com>
3718 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3720 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3722 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3725 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3726 * malloc/arena.c (arena_lock): Check if arena is corrupt.
3727 (reused_arena): Find a non-corrupt arena.
3728 (heap_trim): Pass arena to unlink.
3729 * malloc/hooks.c (malloc_check_get_size): Pass arena to
3731 (top_check): Likewise.
3732 (free_check): Likewise.
3733 (realloc_check): Likewise.
3734 * malloc/malloc.c (malloc_printerr): Add arena argument.
3736 (munmap_chunk): Adjust.
3737 (ARENA_CORRUPTION_BIT): New macro.
3738 (arena_is_corrupt): Likewise.
3739 (set_arena_corrupt): Likewise.
3740 (sysmalloc): Use mmap if there are no usable arenas.
3741 (_int_malloc): Likewise.
3742 (__libc_malloc): Don't fail if arena_get returns NULL.
3743 (_mid_memalign): Likewise.
3744 (__libc_calloc): Likewise.
3745 (__libc_realloc): Adjust for additional argument to
3747 (_int_free): Likewise.
3748 (malloc_consolidate): Likewise.
3749 (_int_realloc): Likewise.
3750 (_int_memalign): Don't touch corrupt arenas.
3751 * malloc/tst-malloc-backtrace.c: New test case.
3753 * Makefile (summarize-tests): Fix return value on success.
3755 * manual/string.texi (Envz Functions): Add envz_remove.
3757 2015-05-18 Roland McGrath <roland@hack.frob.com>
3759 * sysdeps/posix/opendir.c: Include <stdbool.h>.
3760 (invalid_name): New function, broken out of ...
3761 (__opendirat): ... here. Call it.
3762 (need_isdir_precheck): New function, broken out of ...
3763 (__opendirat): ... here. Call it.
3764 Use __fxstatat64, not __xstatat64.
3765 (opendir_oflags): New function, broken out of ...
3766 (__opendirat): ... here. Call it.
3767 (opendir_tail): New function, broken out of ...
3768 (__opendirat): ... here. Call it.
3769 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3770 opendir_tail, rather than punting to __opendirat.
3771 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3773 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3775 * .gitignore: Ignore generated *.pyc.
3777 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
3779 * include/stdio.h: Define __need_wint_t.
3780 * test-skeleton.c: Avoid `for' loop initial declaration.
3781 * nptl/tst-initializers1.c: Use test-skeleton.c.
3783 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3786 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3788 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3791 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3792 (__ieee754_atanh): Force underflow exception for results with
3793 small absolute value.
3794 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3795 (__ieee754_atanhf): Force underflow exception for results with
3796 small absolute value.
3797 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3798 (__ieee754_atanh): Force underflow exception for results with
3799 small absolute value.
3800 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3801 (__ieee754_atanhf): Force underflow exception for results with
3802 small absolute value.
3803 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3804 (__ieee754_atanhl): Force underflow exception for results with
3805 small absolute value.
3806 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3807 (__ieee754_atanhl): Force underflow exception for results with
3808 small absolute value.
3809 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3810 (__ieee754_atanhl): Force underflow exception for results with
3811 small absolute value.
3812 * math/auto-libm-test-in: Do not allow missing underflow
3813 exceptions from atanh.
3814 * math/auto-libm-test-out: Regenerated.
3817 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3818 2**-28 as threshold for returning x or +/- 1/x.
3819 * math/auto-libm-test-in: Add more tests of tan.
3820 * math/auto-libm-test-out: Regenerated.
3823 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3824 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3825 * math/auto-libm-test-in: Add another test of lgamma.
3826 * math/auto-libm-test-out: Regenerated.
3828 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
3830 * stdio-common/printf_fp.c (___printf_fp): Use abs.
3831 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
3832 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3833 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3834 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
3835 (ADD2A): Use fabs. (SUB2A): Use fabs.
3836 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3837 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3838 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3839 (log1): Use fabs. (my_log2): Use fabs.
3840 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3841 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3842 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3843 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3844 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3845 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
3846 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
3847 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
3848 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
3849 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3850 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3852 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3855 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3856 as threshold for returning 1 - x.
3857 * math/auto-libm-test-in: Add more tests of erfc.
3858 * math/auto-libm-test-out: Regenerated.
3860 2015-05-14 Joseph Myers <joseph@codesourcery.com>
3863 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3864 threshold for large arguments.
3865 * math/auto-libm-test-in: Add another test of atan.
3866 * math/auto-libm-test-out: Regenerated.
3869 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3870 (__log1p): Force underflow exception for results with small
3872 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3873 (__log1pf): Force underflow exception for results with small
3875 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3876 (__log1p): Force underflow exception for results with small
3878 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3879 (__log1pf): Force underflow exception for results with small
3881 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3882 (__log1pl): Force underflow exception for results with small
3884 * math/auto-libm-test-in: Do not allow missing underflow
3885 exceptions from log1p.
3886 * math/auto-libm-test-out: Regenerated.
3888 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
3889 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3892 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3894 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
3896 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3897 (libmvec): New variable.
3898 * configure.ac: Added option for mathvec build.
3899 * configure: Regenerated.
3900 * mathvec/Depend: New file.
3901 * mathvec/Makefile: New file.
3902 * shlib-versions: Added libmvec.
3903 * math/Makefile: Added rule for libm.so installation.
3905 * bits/math-vector.h: New file.
3906 * bits/libm-simd-decl-stubs.h: New header.
3907 * math/Makefile (headers): Added new header
3908 libm-simd-decl-stubs.h.
3909 * math/math.h (__MATHCALL_VEC): New macro.
3911 * math/gen-libm-have-vector-test.sh: Script generates series of macros
3912 for conditions in testing functions.
3913 * math/Makefile: Added call of libm-have-vector-test.sh.
3914 * math/libm-test.inc (HAVE_VECTOR): New macros.
3916 * math/libm-test.inc: START refactored.
3917 * math/test-double.c (TEST_MATHVEC): Add define.
3918 * math/test-float.c: Likewise.
3919 * math/test-idouble.c: Likewise.
3920 * math/test-ifloat.c: Likewise.
3921 * math/test-ildoubl.c: Likewise.
3922 * math/test-ldouble.c: Likewise.
3923 * sysdeps/generic/math-tests-arch.h
3924 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3927 * math/test-double.c (FUNC_TEST): New macro.
3928 * math/test-float.c: Likewise.
3929 * math/test-idouble.c: Likewise.
3930 * math/test-ifloat.c: Likewise.
3931 * math/test-ildoubl.c: Likewise.
3932 * math/test-ldouble.c: Likewise.
3933 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3935 2015-05-13 Roland McGrath <roland@hack.frob.com>
3937 * sysdeps/nacl/fdopendir.c: New file.
3939 * dirent/scandir-tail.c: New file.
3940 * dirent/scandir64-tail.c: New file.
3941 * dirent/Makefile (routines): Add them.
3942 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3943 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3944 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3945 [!SCANDIR] (SCANDIR_TAIL): New macro.
3946 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3947 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3948 (SCANDIRAT): Macro removed.
3949 (SCANDIR_TAIL): New macro.
3950 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3951 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3952 (SCANDIRAT): Just call __opendirat and __scandir_tail.
3953 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3954 (READDIR): Macro removed.
3955 (SCANDIR_TAIL): New macro.
3956 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3957 (SCANDIR_TAIL): New macro.
3959 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3960 * dirent/scandir-cancel.c: ... to this new file.
3961 * dirent/Makefile (routines): Add it.
3962 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3963 * sysdeps/unix/sysv/linux/i386/scandir64.c
3964 (SKIP_SCANDIR_CANCEL): Macro removed.
3965 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3967 * dirent/tst-scandir.c: New file.
3968 * dirent/tst-scandir64.c: New file.
3969 * dirent/Makefile (tests): Add them.
3971 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
3974 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3976 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3978 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3981 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
3983 * benchtests/bench-strcoll.c: New benchmark.
3984 * benchtests/Makefile: Generate locales and run benchmark.
3985 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3986 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3987 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3988 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3989 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3990 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3991 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3992 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3993 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3994 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3995 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3996 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3997 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3998 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3999 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
4000 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
4001 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
4002 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
4003 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4004 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4005 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4006 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4007 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4008 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4010 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
4012 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4013 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4015 2015-05-12 Roland McGrath <roland@hack.frob.com>
4017 * posix/uname-values.h: New file.
4018 * posix/uname.c: Include that instead of <config-name.h>.
4019 * sysdeps/nacl/uname-values.h: New file.
4020 * sysdeps/arm/nacl/uname-values.h: New file.
4022 2015-05-12 Joseph Myers <joseph@codesourcery.com>
4024 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4025 splitting into fields.
4027 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
4029 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4030 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4031 * locale/localeinfo.h: Add enum collation_encoding_type.
4032 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4033 * programs/ld-collate.c (collate_output): Add encoding type info.
4034 * string/strcoll_l.c (STRDIFF): New function.
4035 * (STRCOLL): Use STRDIFF to skip over equal prefix.
4036 * wcsmbs/wcscoll_l.c: Define STRDIFF.
4038 2015-05-11 Joseph Myers <joseph@codesourcery.com>
4041 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4042 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
4043 <fpu_control.h> instead of <math/fpu_control.c>.
4044 * sysdeps/mips/mips32/fpu/Makefile: New file.
4046 2015-05-11 Andreas Schwab <schwab@suse.de>
4049 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4051 (_nss_compat_endgrent): Call nss_endgrent.
4052 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4054 (_nss_compat_endpwent): Call nss_endpwent.
4055 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4056 needent, call nss_setspent only if non-zero.
4057 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4058 (internal_endspent): Don't call nss_endspent.
4059 (_nss_compat_endspent): Call nss_endspent.
4060 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4061 Remove. All uses removed.
4062 (internal_setent): Remove parameter stayopen, add parameter
4063 stream. Use it instead of global variable.
4064 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4065 (internal_endent, internal_getent): Add parameter stream. Use it
4066 instead of global variable.
4067 (CONCAT(_nss_files_end,ENTNAME))
4068 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4069 (_nss_files_get##name##_r): Pass local stream. Remove locking.
4070 * nss/nss_files/files-alias.c (position, last_use): Remove. All
4072 (internal_setent, internal_endent): Add parameter stream. Use it
4073 instead of global variable.
4074 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4076 (get_next_alias): Add parameter stream.
4077 (_nss_files_getaliasent_r): Pass global stream.
4078 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
4079 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4080 (_nss_files_gethostbyname4_r): Pass local stream to
4081 internal_setent, internal_getent and internal_endent. Remove
4084 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4086 * tst-strfmon1.c (tests): Update expected currency symbol.
4088 2015-05-08 Roland McGrath <roland@hack.frob.com>
4090 * sysdeps/nacl/gethostname.c: New file.
4092 2015-05-08 Joseph Myers <joseph@codesourcery.com>
4094 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4096 * math/auto-libm-test-out: Regenerated.
4097 * sysdeps/i386/fpu/libm-test-ulps: Update.
4098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4100 2015-05-08 Carlos O'Donell <carlos@redhat.com>
4103 * stdlib/tst-setcontext3.c: New file.
4104 * stdlib/tst-setcontext3.sh: New file.
4105 * stdlib/Makefile (tests): Add tst-setcontext3.
4106 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4107 to verify test program created output file.
4108 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4109 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4110 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4111 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4113 2015-05-06 Roland McGrath <roland@hack.frob.com>
4116 * elf/tst-tlsalign.c: New file.
4117 * elf/tst-tlsalign-static.c: New file.
4118 * elf/tst-tlsalign-lib.c: New file.
4119 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4120 (tests-static): Add tst-tlsalign-static.
4121 (modules-names): Add tst-tlsalign-lib.
4122 (test-xfail-tst-tlsalign): New variable.
4123 (test-xfail-tst-tlsalign-static): New variable.
4125 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4126 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4128 2015-05-06 Joseph Myers <joseph@codesourcery.com>
4130 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4131 csqrt, erfc, sin and sincos.
4132 * math/auto-libm-test-out: Regenerated.
4133 * sysdeps/i386/fpu/libm-test-ulps: Update.
4134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4136 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4138 * sysdeps/aarch64/libm-test-ulps: Update.
4140 2015-05-05 Joseph Myers <joseph@codesourcery.com>
4142 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4143 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4144 * math/auto-libm-test-out: Regenerated.
4145 * sysdeps/i386/fpu/libm-test-ulps: Update.
4146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4148 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
4151 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4152 (wcsncpy): Likewise.
4154 2015-05-05 Florian Weimer <fweimer@redhat.com>
4156 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4157 Assume __ASSUME_FALLOCATE is always true.
4158 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4159 (__posix_fallocate64_l64): Likweise.
4160 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4161 (posix_fallocate): Likewise.
4162 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4163 (__posix_fallocate64_l64): Likewise.
4164 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4165 [!__ASSUME_FALLOCATE]: Add comment.
4167 2015-05-05 Florian Weimer <fweimer@redhat.com>
4169 * sysdeps/unix/sysv/linux/i386/Makefile
4170 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4171 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4172 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4173 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4174 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4175 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4176 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4178 2015-05-02 Joseph Myers <joseph@codesourcery.com>
4180 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4181 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4183 * math/auto-libm-test-out: Regenerated.
4184 * sysdeps/i386/fpu/libm-test-ulps: Update.
4185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4187 2015-05-01 Joseph Myers <joseph@codesourcery.com>
4189 * math/auto-libm-test-in: Add more tests of tgamma.
4190 * math/auto-libm-test-out: Regenerated.
4191 * sysdeps/i386/fpu/libm-test-ulps: Update.
4192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4194 * math/auto-libm-test-in: Add more tests of tanh.
4195 * math/auto-libm-test-out: Regenerated.
4196 * sysdeps/i386/fpu/libm-test-ulps: Update.
4197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4199 * math/auto-libm-test-in: Add more tests of tan.
4200 * math/auto-libm-test-out: Regenerated.
4201 * sysdeps/i386/fpu/libm-test-ulps: Update.
4202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4204 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4205 * math/auto-libm-test-out: Regenerated.
4206 * sysdeps/i386/fpu/libm-test-ulps: Update.
4207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4209 * math/auto-libm-test-in: Add another test of pow.
4210 * math/auto-libm-test-out: Regenerated.
4211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4213 * math/auto-libm-test-in: Add more tests of lgamma.
4214 * math/auto-libm-test-out: Regenerated.
4215 * sysdeps/i386/fpu/libm-test-ulps: Update.
4216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4218 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4220 * math/auto-libm-test-out: Regenerated.
4221 * sysdeps/i386/fpu/libm-test-ulps: Update.
4222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4224 2015-05-01 Mark Wielaard <mjw@redhat.com>
4226 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4227 Elf64_Chdr structs and ELFCOMPRESS constants.
4229 2015-05-01 Joseph Myers <joseph@codesourcery.com>
4231 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4233 * math/auto-libm-test-out: Regenerated.
4234 * sysdeps/i386/fpu/libm-test-ulps: Update.
4235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4237 * math/auto-libm-test-in: Add more tests of erf and erfc.
4238 * math/auto-libm-test-out: Regenerated.
4239 * sysdeps/i386/fpu/libm-test-ulps: Update.
4240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4242 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
4244 * config.h.in (HAVE_AARCH64_BE): Add.
4246 2015-04-30 Joseph Myers <joseph@codesourcery.com>
4248 * math/auto-libm-test-in: Add more tests of csqrt.
4249 * math/auto-libm-test-out: Regenerated.
4250 * sysdeps/i386/fpu/libm-test-ulps: Update.
4251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4253 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4254 * math/auto-libm-test-out: Regenerated.
4255 * sysdeps/i386/fpu/libm-test-ulps: Update.
4256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4258 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4260 2015-04-29 Roland McGrath <roland@hack.frob.com>
4262 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4263 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4265 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4266 (euidaccess, eaccess): Define as weak aliases.
4268 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4269 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
4270 but __suseconds_t is often 'long int' so some sources assume that
4271 type is being used (e.g. they use %ld to print tv_usec).
4273 2015-04-29 Florian Weimer <fweimer@redhat.com>
4276 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4278 * nss/tst-nss-getpwent.c: New file.
4279 * nss/Makefile (tests): Add new test.
4281 2015-04-28 Joseph Myers <joseph@codesourcery.com>
4284 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4285 exponents less than 48 as cases where high part of mantissa needs
4286 examining to determine whether argument is integral.
4287 * math/libm-test.inc (round_test_data): Add more tests.
4289 2015-04-28 Mark Wielaard <mjw@redhat.com>
4291 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4293 2015-04-27 David S. Miller <davem@davemloft.net>
4295 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4297 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4299 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
4302 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4304 2015-04-27 Florian Weimer <fweimer@redhat.com>
4307 * time/tzset.c (parse_tzname): Return error on memory allocation
4309 * test-skeleton.c (struct temp_name_list): Change type of name
4310 member to non-const.
4311 (add_temp_file): Create a copy of the file name.
4312 (delete_temp_files): Deallocate memory.
4313 (create_temp_file): Add comment.
4315 2015-04-24 Florian Weimer <fweimer@redhat.com>
4317 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4318 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4320 2015-04-24 Roland McGrath <roland@hack.frob.com>
4322 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4323 * sysdeps/arm/configure: Regenerated.
4325 2015-04-24 Florian Weimer <fweimer@redhat.com>
4328 * time/tzfile.c (__tzfile_read): Check for large values of
4329 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
4330 * time/tzset.c (__tzstring_len): New function, based on the old
4331 __tzstring function.
4332 (__tzstring): Call __tzstring_len.
4333 (parse_tzname): New helper function extracted from
4334 __tzset_parse_tz. Call __tzstring_len, without making a copy of
4336 (parse_offset): New helper function extracted from
4337 __tzset_parse_tz. Replace switch with fallthrough with
4338 initialization before sscanf.
4339 (parse_rule): Likewise.
4340 (__tzset_parse_tz): Rewrite using the new helper functions. Use
4341 new-style function definition.
4342 * timezone/Makefile (tests): Add tst-tzset.
4343 (tst-tzset.out): Dependencies on time zone files.
4344 (tst-tzset-ENV): Set TZDIR.
4345 (testdata/XT%): Copy crafted time zone files.
4346 * timezone/README: Mention crafted time zone files.
4347 * timezone/testdata/XT1, timezone/testdata/XT2,
4348 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4350 * timezone/tst-tzset.c: New test.
4352 2015-04-24 Florian Weimer <fweimer@redhat.com>
4354 * Makeconfig (+gccwarn): Remove -Winline.
4356 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4358 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4360 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4362 * NEWS: Mention sysconf() cache information support for s390.
4363 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4365 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
4367 * math/k_casinh.c (__kernel_casinh): Use __copysign.
4368 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4369 (__nearbyint): Likewise.
4370 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4371 (copysignl): Likewise.
4373 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
4376 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4377 based on padding. (CVE-2015-1781)
4379 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4381 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4383 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4384 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4385 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4386 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4387 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4388 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4389 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4390 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4391 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4392 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4393 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4394 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4395 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4396 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4397 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4398 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4399 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4400 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4401 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4402 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4403 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4404 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4405 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4407 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
4409 * stdlib/setenv.c (__add_to_environ):
4410 Dump core quickly if setenv (..., NULL, ...) is called.
4411 This time, do it the right way, and pacify GCC with a pragma.
4413 2015-04-17 Roland McGrath <roland@hack.frob.com>
4415 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4416 IMAP->l_prev cannot be null, and #if out the code for the contrary
4417 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4418 believe that NS (&_dl_ns[NSID]) could point outside the array.
4420 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4421 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4422 before using NSID as an index.
4424 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
4427 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4428 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4429 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4431 2015-04-17 Roland McGrath <roland@hack.frob.com>
4433 Add preliminary port to Google Native Client on ARM.
4434 * abi-tags (.*-.*-nacl.*): New entry.
4435 * sysdeps/arm/nacl: New directory.
4436 * sysdeps/nacl: New directory.
4438 2015-04-16 David S. Miller <davem@davemloft.net>
4440 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4441 lowlevellock-futex.h
4443 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
4445 * sysdeps/tile/configure.ac: New file.
4446 * sysdeps/tile/configure: Regenerated.
4448 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4450 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
4451 conditionals for weak_alias and libc_hidden_weak.
4452 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4453 libc_hidden_weak and weak_alias.
4454 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4455 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4456 and weak_alias for static one.
4458 2015-04-15 David S. Miller <davem@davemloft.net>
4460 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4462 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4465 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4466 Use signed comparision instead of substraction to avoid
4468 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4469 Take the sign of ret.
4470 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4471 Do not expect precise return values. Only the sign matters.
4472 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4473 * wcsmbs/test-wcsncmp.c: New File.
4474 * string/test-strncmp.c: Add wcsncmp support.
4476 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4479 * math/w_log1p.c: New file.
4480 * math/w_log1pf.c: Likewise.
4481 * math/w_log1pl.c: Likewise.
4482 * math/Makefile (libm-calls): Add w_log1p.
4483 * math/s_log1pl.c (log1pl): Remove weak_alias.
4484 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4485 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4486 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4487 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4488 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4489 [NO_LONG_DOUBLE] (log1pl): Likewise.
4490 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4491 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4492 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4493 (log1p): Remove long_double_symbol.
4494 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4495 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4496 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4497 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4498 remove weak_alias for corresponding log1p function.
4499 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4500 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4501 * sysdeps/ia64/fpu/w_log1p.c: New file.
4502 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4503 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4504 * math/libm-test.inc (log1p_test_data): Add errno expectations.
4506 2015-04-10 Joseph Myers <joseph@codesourcery.com>
4509 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4510 decimal exponent by 1.
4511 * stdlib/tst-strtod-round-data: Add more tests.
4512 * stdlib/tst-strtod-round.c (tests): Regenerated.
4514 2015-04-09 Joseph Myers <joseph@codesourcery.com>
4516 * math/auto-libm-test-in: Add more tests of clog and clog10.
4517 * math/auto-libm-test-out: Regenerated.
4518 * sysdeps/i386/fpu/libm-test-ulps: Update.
4519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4521 2015-04-09 Roland McGrath <roland@hack.frob.com>
4523 * Makeconfig (module-cppflags): Exclude all .v.i files.
4524 (skip-module-cppflags): Variable removed.
4526 * configure.ac (libc_config_ok): Initialize before reading
4527 preconfigure scripts, not after.
4528 * configure: Regenerated.
4530 * test-skeleton.c (TIMEOUT): Move #define to top level.
4531 (main): Grok environment variable TEST_DIRECT. If set, print
4532 test expectation details into that file and then behave as if
4535 2015-04-09 Florian Weimer <fweimer@redhat.com>
4537 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4540 2015-04-08 David S. Miller <davem@davemloft.net>
4542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4544 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4546 * math/auto-libm-test-in: Add more tests of atanh.
4547 * math/auto-libm-test-out: Regenerated.
4548 * sysdeps/i386/fpu/libm-test-ulps: Update.
4549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4551 * math/auto-libm-test-in: Add more tests of atan.
4552 * math/auto-libm-test-out: Regenerated.
4553 * sysdeps/i386/fpu/libm-test-ulps: Update.
4554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4556 2015-04-08 Florian Weimer <fweimer@redhat.com>
4558 * elf/pldd.c (main): Rewrite to use struct
4559 scratch_buffer instead of extend_alloca.
4560 * elf/pldd-xx.c (find_maps): Likewise.
4561 * grp/initgroups.c: Include <scratch_buffer.h> instead of
4563 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4564 scratch_buffer instead of extend_alloca.
4565 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4566 grp/compat-initgroups.c.
4567 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4568 Rewrite to use struct scratch_buffer instead of extend_alloca.
4569 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4570 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4572 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4574 * math/auto-libm-test-in: Add more tests of cbrt.
4575 * math/auto-libm-test-out: Regenerated.
4576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4578 * math/auto-libm-test-in: Add more tests of cabs.
4579 * math/auto-libm-test-out: Regenerated.
4580 * sysdeps/i386/fpu/libm-test-ulps: Update.
4581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4585 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4586 (__ieee754_atan2): Set FE_TONEAREST mode for internal
4588 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4590 * math/auto-libm-test-out: Regenerated.
4591 * sysdeps/i386/fpu/libm-test-ulps: Update.
4592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4595 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4596 (atan): Set FE_TONEAREST mode for internal computations.
4597 * math/auto-libm-test-in: Add more tests of atan.
4598 * math/auto-libm-test-out: Regenerated.
4600 2015-04-07 James Cowgill <james410@cowgill.org.uk>
4603 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4605 2015-04-07 Florian Weimer <fweimer@redhat.com>
4607 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4609 2015-04-07 Florian Weimer <fweimer@redhat.com>
4611 * include/scratch_buffer.h: New file.
4612 * malloc/scratch_buffer_grow.c: Likewise.
4613 * malloc/scratch_buffer_grow_preserve.c: Likewise.
4614 * malloc/scratch_buffer_set_array_size.c: Likewise.
4615 * malloc/tst-scratch_buffer.c: Likewise.
4616 * malloc/Makefile (routines): Add scratch_buffer_grow.
4617 (tests): Add test case.
4618 * malloc/Versions (GLIBC_PRIVATE): Export
4619 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4620 __libc_scratch_buffer_set_array_size.
4622 2015-04-06 Richard Henderson <rth@redhat.com>
4624 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4625 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4627 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4628 unsigned int before printing.
4630 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4633 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4634 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4636 2015-04-02 Florian Weimer <fweimer@redhat.com>
4638 * include/libc-internal.h (libc_max_align_t): Define.
4640 2015-04-02 Andreas Schwab <schwab@suse.de>
4643 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4645 2015-04-02 Mel Gorman <mgorman@suse.de>
4648 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4649 as well as the main arena.
4651 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4654 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4655 sharing L2 cache to 2 for Silvermont/Knights Landing.
4657 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4660 * config.make.in (have-protected-data): New.
4661 * configure.ac: Check linker support for protected data symbol.
4662 * configure: Regenerated.
4663 * elf/Makefile (modules-names): Add tst-protected1moda and
4664 tst-protected1modb if $(have-protected-data) is yes.
4665 (tests): Add tst-protected1a and tst-protected1b if
4666 $(have-protected-data) is yes.
4667 ($(objpfx)tst-protected1a): New.
4668 ($(objpfx)tst-protected1b): Likewise.
4669 (tst-protected1modb.so-no-z-defs): Likewise.
4670 * elf/tst-protected1a.c: New file.
4671 * elf/tst-protected1b.c: Likewise.
4672 * elf/tst-protected1mod.h: Likewise.
4673 * elf/tst-protected1moda.c: Likewise.
4674 * elf/tst-protected1modb.c: Likewise.
4676 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4679 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4680 indicates it is called from do_lookup_x on relocation against
4681 protected data, skip the data definion in the executable from
4683 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4684 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4685 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4686 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4687 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4689 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4690 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4691 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4692 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4693 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4694 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4696 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
4698 * sysdeps/nptl/pthread.h: Remove duplicate definition of
4699 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4701 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
4703 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4705 * sysdeps/x86_64/nptl/tls.h: Ditto.
4707 2015-03-27 Roland McGrath <roland@hack.frob.com>
4709 * dlfcn/tststatic.c (main): Converted to ...
4710 (do_test): ... this.
4711 (TEST_FUNCTION): New macro.
4712 Include test-skeleton.c.
4714 2015-03-26 Alan Modra <amodra@gmail.com>
4716 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4717 Don't segfault if ifunc resolver returns a NULL. Do set plt to
4718 zero for undefined weak.
4719 (elf_machine_plt_conflict): Similarly.
4721 2015-03-25 Joseph Myers <joseph@codesourcery.com>
4723 * math/auto-libm-test-in: Add more tests of acosh, asinh and
4725 * math/auto-libm-test-out: Regenerated.
4726 * sysdeps/i386/fpu/libm-test-ulps: Update.
4727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4729 * math/auto-libm-test-in: Add another test of asin.
4730 * math/auto-libm-test-out: Regenerated.
4731 * sysdeps/i386/fpu/libm-test-ulps: Update.
4732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4734 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4736 (LLL_EBX_REG): Likewise.
4737 (LLL_ENTER_KERNEL): Likewise.
4739 * math/auto-libm-test-in: Add more tests of asin.
4740 * math/auto-libm-test-out: Regenerated.
4741 * sysdeps/i386/fpu/libm-test-ulps: Update.
4742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4745 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4746 libc_do_syscall_args): New structure.
4747 (INTERNAL_SYSCALL_MAIN_0): New macro.
4748 (INTERNAL_SYSCALL_MAIN_1): Likewise.
4749 (INTERNAL_SYSCALL_MAIN_2): Likewise.
4750 (INTERNAL_SYSCALL_MAIN_3): Likewise.
4751 (INTERNAL_SYSCALL_MAIN_4): Likewise.
4752 (INTERNAL_SYSCALL_MAIN_5): Likewise.
4753 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
4754 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4755 Replace conditional definitions by conditional definitions of ....
4756 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
4757 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4758 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4759 (libpthread-sysdep_routines): Add libc-do-syscall.
4760 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4761 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4762 to __NR_futex not 240.
4764 2015-03-25 Alan Modra <amodra@gmail.com>
4766 * NEWS: Advertise TLS optimization.
4767 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4768 (DT_PPC_NUM): Increment.
4769 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4770 (CHECK_STATIC_TLS): Use here.
4771 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4773 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4774 * sysdeps/powerpc/dl-tls.c: New file.
4775 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4776 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4777 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4778 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4783 2015-03-25 Alan Modra <amodra@gmail.com>
4785 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4786 for overlapping .opd entries" to "support...".
4787 * sysdeps/powerpc/powerpc64/configure: Regenerate
4789 2015-03-25 Joseph Myers <joseph@codesourcery.com>
4791 * math/auto-libm-test-in: Add more tests of acos.
4792 * math/auto-libm-test-out: Regenerated.
4793 * sysdeps/i386/fpu/libm-test-ulps: Update.
4794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4796 * math/auto-libm-test-in: Add more tests of expm1.
4797 * math/auto-libm-test-out: Regenerated.
4798 * sysdeps/i386/fpu/libm-test-ulps: Update.
4799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4801 2015-03-24 Joseph Myers <joseph@codesourcery.com>
4803 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4804 * math/auto-libm-test-out: Regenerated.
4805 * sysdeps/i386/fpu/libm-test-ulps: Update.
4806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4808 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4811 * math/auto-libm-test-in: Add more tests of log2.
4812 * math/auto-libm-test-out: Regenerated.
4813 * sysdeps/i386/fpu/libm-test-ulps: Update.
4814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4816 2015-03-23 Roland McGrath <roland@hack.frob.com>
4818 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4819 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
4820 _IO_IS_APPENDING bit in READ_WRITE instead.
4822 2015-03-23 Florian Weimer <fweimer@redhat.com>
4824 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4825 (__determine_cpumask_size): Replace extend_alloca with a
4826 variable-length array. Do not treat res == 0 as an error.
4828 2015-03-23 Florian Weimer <fweimer@redhat.com>
4831 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4832 and integer overflow.
4833 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4834 (main): Add integer overflow tests.
4835 * manual/pattern.texi (Calling Wordexp): Document additional use
4838 2015-03-23 Alan Modra <amodra@gmail.com>
4840 * config.h.in: Remove HAVE_ASM_PPC_REL16.
4841 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4842 and false branch of conditional.
4843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4846 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
4848 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4850 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4851 unused declaration of _hurd_intr_rpc_msg_in_trap.
4852 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4853 defined instead of whether it is non-zero.
4854 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4855 input constraint instead of both input and output constraint. Use ecx
4856 clobber instead of %ecx.
4857 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4858 mutex_unlock): Use a statement expression instead of an expression list.
4859 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4860 type to vm_size_t instead of vm_address_t.
4861 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4862 defined instead of whether it is non-zero.
4863 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4864 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4865 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4866 comparisons with mapaddr.
4867 * nscd/nscd-client.h: Include <time.h>.
4868 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4869 9th parameter to __vm_region instead of int.
4870 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4871 * scripts/check-local-headers.sh (exclude): Add device/,
4872 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4875 2015-03-19 Roland McGrath <roland@hack.frob.com>
4877 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4878 to account for alignment padding.
4879 * sysdeps/arm/memmove.S: Likewise.
4881 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
4883 * sysdeps/unix/sysv/linux/generic/README: New file.
4885 2015-03-18 Joseph Myers <joseph@codesourcery.com>
4888 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4889 (futex_abstimed_wait)
4890 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4891 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4892 of lll_futex_timed_wait.
4894 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
4897 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4899 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
4906 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4907 entries with Static TLS too. Skip entries past the end of the
4908 allocated DTV, from Alan Modra.
4909 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
4910 Static TLS DTV entry set up from...
4911 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4912 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4913 * nptl/allocatestack.c (init_one_static_tls): ... and here...
4914 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4916 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
4917 that the slot we find is associated with the given map before
4918 using its generation count.
4919 * nptl_db/db_info.c: Include ldsodefs.h.
4920 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4921 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4922 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4923 (link_map::l_tls_offset): New struct field.
4924 (dtv_t::counter): Likewise.
4925 (rtld_global): New struct.
4926 (_rtld_global): New rtld variable.
4927 (dl_tls_dtv_slotinfo_list): New rtld global field.
4928 (dtv_slotinfo_list): New struct.
4929 (dtv_slotinfo): Likewise.
4930 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4931 (td_lookup): Rename to...
4932 (td_mod_lookup): ... this. Use new mod parameter instead of
4934 * nptl_db/td_thr_tlsbase.c: Include link.h.
4935 (dtv_slotinfo_list, dtv_slotinfo): New functions.
4936 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
4937 addresses even if the DTV is out of date or missing them.
4938 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4939 index zero-length arrays.
4940 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4941 (td_lookup): Make it a macro implemented in terms of...
4942 (td_mod_lookup): ... this declaration.
4943 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4944 (DB_MAIN_VARIABLE): Likewise.
4946 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
4949 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4951 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
4953 * stdlib/setenv.c (__add_to_environ): Revert previous change.
4955 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
4958 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4959 (atomic_add, atomic_increment_and_test)
4960 (atomic_decrement_and_test): Fix 64-bit arithmetic.
4962 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
4964 * stdlib/setenv.c (__add_to_environ):
4965 Dump core quickly if setenv (..., NULL, ...) is called.
4967 2015-03-13 Roland McGrath <roland@hack.frob.com>
4969 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4970 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4971 all the necessary asm magic in one place.
4972 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4975 2015-03-13 Carlos O'Donell <carlos@redhat.com>
4978 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4979 traced file mtime. Use consistent log message.
4980 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4981 (register_traced_file): Call install_watches. Always set mtime.
4982 (invalidate_cache): Iterate over all trace files. Call install_watches.
4983 (inotify_check_files): Don't inline. Handle watching parent
4984 directories and configuration file movement in and out.
4985 (handle_inotify_events): New function.
4986 (main_loop_poll): Call handle_inotify_events.
4987 (main_loop_epoll): Likewise.
4988 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4989 (struct traced_file): Use array of inotify fds. Add parent directory,
4991 (struct database_dyn): Remove unused file_mtime.
4992 (init_traced_file): New inline function.
4993 (define_traced_file): New macro.
4994 * nss/nss_db/db-init.c: Use define_traced_file.
4995 (_nss_db_init): Use init_traced_file.
4996 * nss/nss_files/files-init.c: Use define_traced_file.
4997 (_nss_files_init): Use init_traced_file.
4999 2015-03-12 Joseph Myers <joseph@codesourcery.com>
5001 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
5002 [_LIBC]: Do not include <stdlib.h>.
5003 [!_LIBC] (abort): Remove declaration.
5004 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5005 _FP_STATIC_ASSERT instead of conditionally calling abort.
5006 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5007 (_FP_EXTEND_CNAN): Likewise.
5008 (FP_TRUNC): Likewise.
5009 (__FP_CLZ): Likewise.
5010 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5012 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
5014 * manual/string.texi (XPG basename): Fix prototype.
5016 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5019 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5020 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5021 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5022 (__setcontext): Likewise.
5023 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5024 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5025 Call rt_sigprocmask syscall one time to set new signal mask
5026 and retrieve the current signal mask instead of two calls.
5027 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5028 (__swapcontext): Likewise.
5029 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5030 * stdlib/tst-setcontext2.c: New file.
5032 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5034 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5036 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
5039 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5042 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5045 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5047 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5049 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5050 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5052 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5053 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5054 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5055 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5056 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5057 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5059 * nptl_db/td_symbol_list.c (td_lookup): Remove
5060 HAVE_ASM_GLOBAL_DOT_NAME code.
5061 * sysdeps/powerpc/powerpc64/configure.ac: Remove
5062 HAVE_ASM_GLOBAL_DOT_NAME check.
5063 * sysdeps/powerpc/powerpc64/configure: Regenerate.
5064 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5065 (DOT_LABEL): Remove define.
5066 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5067 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5068 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5069 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5070 (__TLS_GET_ADDR): Likewise.
5071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5072 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5074 2015-03-11 Carlos O'Donell <carlos@redhat.com>
5077 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5078 (_FPU_SETCW): Initialize cw from fpsr before storing.
5079 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5080 (fesetexceptflag): Rewrite using fpu_control.h.
5081 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5083 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
5086 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5088 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5090 2015-03-11 Joseph Myers <joseph@codesourcery.com>
5092 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5093 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5095 (_FP_FMA): Likewise.
5096 (_FP_DIV): Likewise.
5098 2015-03-10 Roland McGrath <roland@hack.frob.com>
5100 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5101 with 0 in that case.
5102 * Makefile (summarize-tests): New canned sequence, factored out of
5103 commands for targets tests and xtests. Display summary lines that
5104 don't start with PASS: or XFAIL: rather than ones that do start with
5105 ERROR: or FAIL:. Make the commands fail if any summary lines fail
5106 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5107 do start with ERROR: or FAIL:.
5108 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5109 (except for [$(build-shared) = yes]).
5110 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5111 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5112 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5113 * nptl/Makefile: Revert 2015-03-04 changes.
5114 [$(CXX) empty] (tests-unsupported): New variable.
5115 * debug/Makefile: Likewise.
5117 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5118 gnulib file. Replace __attribute with __attribute__ throughout.
5120 2015-03-10 Carlos O'Donell <carlos@redhat.com>
5122 * sysdeps/hppa/fpu/libm-test-ulps: Update.
5124 2015-03-10 Joseph Myers <joseph@codesourcery.com>
5127 * math/auto-libm-test-in: Add another test of pow.
5128 * math/auto-libm-test-out: Regenerated.
5130 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5132 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5133 $(config-cflags-nofma).
5135 2015-03-10 Joseph Myers <joseph@codesourcery.com>
5137 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5138 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5139 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5140 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5141 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5142 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5143 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5144 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5145 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5146 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5147 Add comment on closing #endif.
5149 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5151 * posix/wordexp.c (CHAR_IN_SET): New macro.
5152 (parse_param): Use it.
5154 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5156 * sysdeps/powerpc/fpu/libm-test-ulps: update.
5158 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5161 * posix/wordexp.c (parse_param): Fix buffer overflow.
5162 * posix/wordexp-test.c (test_case): Add test case.
5164 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5167 * posix/wordexp.c (parse_backtick): Fix off-by-one.
5168 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5170 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5173 * posix/wordexp-test.c (test_case): Add test for BZ #18043
5174 (do_bz18043): Delete.
5176 (testit): Refactor to have words at the edge of unreadable page.
5178 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5181 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5182 Cleanup read-only streams as well.
5183 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5185 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5187 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5190 2015-03-07 Joseph Myers <joseph@codesourcery.com>
5192 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
5194 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5195 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5196 * soft-fp/op-common.h (_FP_DECL): Likewise.
5198 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
5200 * elf/ifuncdep2.c (global): Replace
5201 __attribute__((visibility("protected"))) with
5202 asm (".protected global").
5203 * elf/ifuncmod1.c (global): Likewise.
5204 * elf/ifuncmod5.c (global): Likewise.
5206 2015-03-06 Joseph Myers <joseph@codesourcery.com>
5208 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5209 <asm/sfp-machine.h> instead of <sfp-machine.h>.
5211 2015-03-06 Roland McGrath <roland@hack.frob.com>
5213 * manual/install.texi (Configuring and compiling):
5214 Document test-wrapper-env-only.
5215 * INSTALL: Regenerated.
5217 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5220 * posix/wordexp.c (parse_param): Fix buffer overflow.
5221 * posix/wordexp-test.c (do_bz18043): Add test case.
5223 2015-03-06 Vincent Bernat <vincent@bernat.im>
5225 * time/tst-strptime2.c (do_test): Ensure failing tests are
5227 * time/tst-strptime3.c (do_test): Likewise.
5229 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
5231 Fix aio_error thread-safety.
5232 * sysdeps/pthread/aio_error.c: New file
5233 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5236 2015-03-06 Florian Weimer <fweimer@redhat.com>
5238 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5239 (group_number, vfprintf): Use it.
5240 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5241 (JUMP, REF): Use it.
5242 (WORK_BUFFER_SIZE): New enum constant.
5243 (process_arg, vfprintf): Use it.
5245 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
5247 * manual/errno.texi (Error Messages): Complete example function
5248 by adding missing #define.
5249 (program_invocation_name): Add statement indicating GNU
5250 extension and reference which header file declares the variable.
5251 (program_invocation_short_name): Likewise.
5253 2015-03-06 Mike Frysinger <vapier@gentoo.org>
5255 * manual/errno.texi (Error Messages): Delete strerror ISO C89
5258 2015-03-05 Roland McGrath <roland@hack.frob.com>
5260 * Makeconfig (test-wrapper-env-only): New variable.
5261 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5262 then use that with $(test-wrapper-env-only) rather than using
5263 $(test-wrapper-env) $(run-program-env) $($*-ENV).
5265 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
5268 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5269 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5270 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5271 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5272 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5273 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5274 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5275 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5277 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5278 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5282 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5284 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5286 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5287 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5289 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5291 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5292 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5294 2015-03-04 Roland McGrath <roland@hack.frob.com>
5296 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5297 (ETH_ALEN): New macro.
5298 (struct ether_addr): Use it for length of ether_addr_octet.
5300 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5301 (setdb): Don't call __nss_configure_lookup for "rpc".
5302 (do_test): Don't call test_rpc.
5303 (output_rpcent, test_rpc): Functions moved ...
5304 * sunrpc/test-rpcent.c: ... to this new file.
5305 * sunrpc/Makefile (tests): Add it.
5307 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5309 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5310 * nptl/tst-signal6.c: Likewise.
5311 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5312 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5314 * configure.ac (libc_cv_cxx_link_ok): New check.
5315 Reset CXX to empty if it fails to link.
5316 * configure: Regenerated.
5317 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5318 bug-atexit3-lib only if $(CXX) is nonempty.
5319 * nptl/Makefile (tests): Likewise for tst-cancel24.
5320 (tests, tests-static): Likewise for tst-cancel24-static.
5321 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5322 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5323 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5324 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5326 2015-03-04 Andreas Schwab <schwab@suse.de>
5329 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5330 for non-GCC compilers.
5331 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5334 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5337 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5338 integer before bitwise and assembly operations.
5339 (feclearexcept): Likewise.
5340 * math/test-fenvinline.c: New file.
5341 * math/Makefile: Add test-fenvinline test.
5343 2015-03-03 Alan Modra <amodra@gmail.com>
5346 * scripts/localplt.awk: Strip off symbol version.
5347 * NEWS: Mention bug fix.
5349 2015-03-02 Roland McGrath <roland@hack.frob.com>
5351 * sysdeps/pthread/timer_routines.c
5352 (timer_free_list, thread_free_list, thread_active_list): Make static.
5354 2015-03-02 Joseph Myers <joseph@codesourcery.com>
5357 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5358 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5360 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5361 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5363 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5364 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5367 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5370 * posix/fnmatch_loop.c (END): Detect invalid pattern.
5371 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5373 2015-03-02 Andreas Schwab <schwab@suse.de>
5375 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5378 2015-03-02 Florian Weimer <fweimer@redhat.com>
5380 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5381 Return error status.
5383 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
5386 * locale/findlocale.c (_nl_find_locale): Introduce const
5387 version of loc_name and drop unsafe type casts.
5389 2015-02-27 Roland McGrath <roland@hack.frob.com>
5391 * dlfcn/tststatic2.c (main): Converted to ...
5392 (do_test): ... this.
5393 (TEST_FUNCTION): New macro.
5394 Include test-skeleton.c.
5396 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
5399 * elf/Makefile (tests): Add vismain only if PIE is enabled.
5400 (tests-pie): Add vismain.
5401 (CFLAGS-vismain.c): New.
5402 * elf/vismain.c: Add comments for PIE requirement.
5404 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5408 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5409 0x1p-56L as threshold for just returning the argument.
5410 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5411 0x1p-32L as threshold for just returning the argument.
5412 * math/auto-libm-test-in: Add more tests of atanh.
5413 * math/auto-libm-test-out: Regenerated.
5414 * sysdeps/i386/fpu/libm-test-ulps: Update.
5415 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5417 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5419 * string/bcopy.c (bcopy): Call memmove for performance.
5421 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5423 * string/bzero.c (__bzero): Call memset for performance.
5425 2015-02-27 John David Anglin <dave.anglin@bell.net>
5428 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5431 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5433 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5435 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5437 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5438 (__kernel_standard): Use CSTR macro when setting exc.name.
5439 * sysdeps/ieee754/Makefile [$(subdir) = math]
5440 (CFLAGS-k_standard.c): Remove variable.
5442 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5443 setting p and q from "else if" to "else".
5445 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5447 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5449 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5451 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5453 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5458 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5459 return pi/2 for arguments below 0x1p-113L.
5460 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5461 return pi/2 for arguments below 0x1p-106L.
5462 * math/auto-libm-test-in: Add more tests of acos.
5463 * math/auto-libm-test-out: Regenerated.
5466 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5468 (__ieee754_asin): Force underflow exception for results with small
5470 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5472 (__ieee754_asinf): Force underflow exception for results with
5473 small absolute value.
5474 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5475 (__ieee754_asin): Force underflow exception for results with small
5477 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5478 (__ieee754_asinf): Force underflow exception for results with
5479 small absolute value.
5480 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5481 (__ieee754_asinl): Force underflow exception for results with
5482 small absolute value.
5483 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5484 (__ieee754_asinl): Force underflow exception for results with
5485 small absolute value.
5486 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5487 (__ieee754_asinl): Force underflow exception for results with
5488 small absolute value.
5489 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5491 * math/auto-libm-test-in: Do not mark underflow exceptions as
5492 possibly missing for bug 16351.
5493 * math/auto-libm-test-out: Regenerated.
5496 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5497 of power of 2 down when low part has opposite sign.
5498 * math/libm-test.inc (logb_test_data): Add more tests.
5500 2015-02-26 Andreas Schwab <schwab@suse.de>
5503 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5504 over collating symbol inside a bracket expression. Minor cleanup.
5505 * posix/tst-fnmatch3.c (do_test): Add test case.
5507 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5510 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5511 Adjust exponent of power of 2 down when low part has opposite
5513 * math/libm-test.inc (ilogb_test_data): Add more tests.
5515 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
5518 * locale/findlocale.c (_nl_find_locale): Fix constness error in
5519 the previous change.
5522 * locale/findlocale.c (_nl_find_locale): Retry archive search
5523 after alias expansion.
5525 2015-02-25 Roland McGrath <roland@hack.frob.com>
5527 * iconv/tst-iconv3.c (main): Converted to ...
5528 (do_test): ... this.
5529 (TEST_FUNCTION): New macro.
5530 Include test-skeleton.c.
5532 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5533 (convert): Make function static.
5534 (test_unalign): Likewise. Add const to argument pointee types.
5535 (main): Replace with static function do_test.
5536 Print "Succeeded." only if RET is zero.
5537 (TEST_FUNCTION): New macro.
5538 Include test-skeleton.c.
5540 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5541 returns a null pointer.
5543 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5545 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5546 to __memcpy_ppc only for static builds.
5548 2015-02-25 Joseph Myers <joseph@codesourcery.com>
5551 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5552 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5553 * math/auto-libm-test-in: Add more tests of asinh.
5554 * math/auto-libm-test-out: Regenerated.
5555 * sysdeps/i386/fpu/libm-test-ulps: Update.
5556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5558 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
5561 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5562 and ip6_mtuinfo definitions here.
5563 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5564 in this define too. Update comment.
5566 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
5568 * elf/sprof.c (load_shobj): Tweak error message to match others.
5570 2015-02-24 Kevin Easton <kevin@guarana.org>
5572 [BZ #16145] (partial fix)
5573 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5574 to reduce lock contention.
5576 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
5578 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5579 (struct timex): Update time comment.
5580 (ADJ_SETOFFSET): Define.
5582 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5585 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5586 2**56 not 2**28 as threshold for log (2x) formula.
5587 * math/auto-libm-test-in: Add more tests of acosh.
5588 * math/auto-libm-test-out: Regenerated.
5589 * sysdeps/i386/fpu/libm-test-ulps: Update.
5590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5592 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5594 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5595 parenthesis around the buf assignment.
5596 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5598 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5601 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5602 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5603 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5604 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5605 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5606 * math/libm-test.inc (scalb_test_data): Add more tests.
5608 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5611 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5612 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5614 2015-02-24 Eric Rannaud <e@nanocritical.com>
5617 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5618 * io/bits/fcntl2.h (open): Use it.
5620 * io/open.c (__libc_open): Likewise.
5621 * io/open64.c (__libc_open64): Likewise.
5622 * io/open64_2.c (__open64_2): Likewise.
5623 * io/open_2.c (__open_2): Likewise.
5624 * io/openat.c (__openat): Likewise.
5625 * io/openat64.c (__openat64): Likewise.
5626 * io/openat64_2.c (__openat64_2): Likewise.
5627 * io/openat_2.c (__openat_2): Likewise.
5628 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5629 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5630 * sysdeps/posix/open64.c (__libc_open64): Likewise.
5631 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5632 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5633 (__open_nocancel): Likewise.
5634 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5635 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5636 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5638 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5641 * resolv/gethnamaddr.c (getanswer): Skip logging if
5642 RES_USE_DNSSEC is set.
5643 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5645 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5647 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5649 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
5651 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5652 201304L, for Unicode 7.
5654 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
5657 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5658 shared library. Add gmon-start.os otherwise.
5659 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5660 $(objpfx)gmon-start.os if builing shared library.
5661 ($(objpfx)g$(static-start-installed-name)): Likewise.
5663 2015-02-23 Andreas Schwab <schwab@suse.de>
5665 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5667 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5670 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5671 (enlarge_userbuf): Likewise.
5673 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
5675 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5676 * math/atest-exp.c (TIMEOUT): Adjust to 200.
5677 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5678 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5680 2015-02-20 Joseph Myers <joseph@codesourcery.com>
5682 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5683 expression inside statement expression.
5685 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5687 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5688 <sysdeps/nptl/lowlevellock.h> and remove macros and
5689 functions that are now defined there.
5690 (SYS_futex): Remove.
5691 (lll_compare_and_swap): Remove.
5692 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5694 2015-02-19 Joseph Myers <joseph@codesourcery.com>
5697 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5698 instead of scandirat.
5699 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5700 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5701 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5703 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5704 (__scandirat): Declare. Use libc_hidden_proto.
5705 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5707 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5709 2015-02-18 Joseph Myers <joseph@codesourcery.com>
5712 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5714 (__ieee754_atan2): For results with small absolute value, force
5715 underflow exception and remove excess range and precision from
5717 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5719 (__ieee754_atan2f): For results with small absolute value, force
5720 underflow exception and remove excess range and precision from
5722 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5724 (__atan): For results with small absolute value, force underflow
5725 exception and remove excess range and precision from return value.
5726 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5728 (__atanf): For results with small absolute value, force underflow
5729 exception and remove excess range and precision from return value.
5730 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5732 (__ieee754_atan2): Force underflow exception for results with
5733 small absolute value.
5734 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5736 (atan): Force underflow exception for results with small absolute
5738 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5739 (__atanf): Force underflow exception for results with small
5741 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5743 (__atanl): Force underflow exception for results with small
5745 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5746 (__atanl): Force underflow exception for results with small
5748 * sysdeps/x86/fpu/bits/mathinline.h
5749 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5750 (__ieee754_atan2): Only define inline for long double.
5751 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5752 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5753 * math/auto-libm-test-in: Do not mark underflow exceptions as
5754 possibly missing for bug 15319. Add more tests of atan2.
5755 * math/auto-libm-test-out: Regenerated.
5756 * math/libm-test.inc (casin_test_data): Do not mark underflow
5757 exceptions as possibly missing for bug 15319.
5758 (casinh_test_data): Likewise.
5759 * sysdeps/i386/fpu/libm-test-ulps: Update.
5761 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
5763 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5764 * sysdeps/mips/bits/endian.h: Fix comments.
5766 2015-02-18 Joseph Myers <joseph@codesourcery.com>
5769 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5770 (hdestroy_r): Likewise.
5771 (hsearch_r): Likewise.
5772 (__hcreate_r): Declare and use libc_hidden_proto.
5773 (__hdestroy_r): Likewise.
5774 (__hsearch_r): Likewise.
5775 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5776 (hcreate): Call __hcreate_r instead of hcreate_r.
5777 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5778 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5779 as weak alias of __hcreate_r.
5780 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5782 (hsearch_r): Rename to __hsearch_r and define as weak alias of
5784 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5786 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5787 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5788 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5789 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5791 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5793 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5794 arena_lock into a single arena_get.
5796 2015-02-17 Carlos O'Donell <carlos@redhat.com>
5798 * dl-reloc.c: Inlucde libc-internal.h.
5799 (_dl_try_allocate_static_tls): Call ALIGN_UP.
5800 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5801 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5802 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5803 (grow_heap): Likewise.
5804 * malloc/malloc.c: Include libc-internal.h.
5805 (do_check_malloc): Call powerof2.
5806 (sysmalloc): Use pagesize. Call ALIGN_UP.
5807 (systrim): Use pagesize.
5808 (mremap_chunk): Use pagesize. Call ALIGN_UP.
5809 (__libc_valloc): Use pagesize.
5810 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5812 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5815 * include/sys/resource.h (__getrlimit64): Declare. Use
5817 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5818 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
5819 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5821 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5823 [!getrlimit64] (getrlimit64): Define as weak alias of
5824 __getrlimit64. Use libc_hidden_weak.
5825 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5826 using __getrlimit64 not __new_getrlimit64.
5827 (__GI_getrlimit64): Likewise.
5828 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5830 (__GI_getrlimit64): Likewise.
5831 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5833 (getrlimit): Add __getrlimit64 alias.
5834 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5836 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5838 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5839 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5841 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5843 * libio/fileops.c: Add missing sys/mman.h
5844 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5846 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5848 * manual/math.texi (Errors in Math Functions): Clarify goals
5849 regarding inexact and underflow exceptions.
5851 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5853 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5854 * sysdeps/mips/memset.S: Ditto.
5856 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5858 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5860 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5862 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5863 (__v1longjmp): Remove versioned symbol.
5864 (__v1siglongjmp): Remove alias and versioned symbol.
5865 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5866 (__v2siglongjmp): Likewise.
5868 2015-02-16 Torvald Riegel <triegel@redhat.com>
5870 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5872 2015-02-16 Mike Frysinger <vapier@gentoo.org>
5874 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5876 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5879 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5880 zero result does not depend on the sign resulting from
5882 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5884 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5885 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5886 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5887 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5888 * math/libm-test.inc (remquo_test_data): Add more tests.
5890 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
5892 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5893 Problem reported by J William Piggott.
5895 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5898 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5899 products 4 * y and 2 * y where those would overflow.
5900 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5902 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5903 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5904 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5905 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5906 * math/libm-test.inc (remquo_test_data): Add more tests.
5908 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5910 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5911 [defined _COMPILING_NEWLIB].
5912 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5913 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5915 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5916 [!defined __mips_isa_rev || __mips_isa_rev < 6].
5918 2015-02-16 Torvald Riegel <triegel@redhat.com>
5920 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5923 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
5926 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5927 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5928 HOST_STACK_END_ADDR): Likewise.
5930 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
5932 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5933 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5934 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5936 2015-02-13 Roland McGrath <roland@hack.frob.com>
5938 * sysdeps/generic/c++-types.data: New file.
5939 * sysdeps/generic/ld.abilist: New file.
5940 * sysdeps/generic/libBrokenLocale.abilist: New file.
5941 * sysdeps/generic/libanl.abilist: New file.
5942 * sysdeps/generic/libc.abilist: New file.
5943 * sysdeps/generic/libcrypt.abilist: New file.
5944 * sysdeps/generic/libdl.abilist: New file.
5945 * sysdeps/generic/libm.abilist: New file.
5946 * sysdeps/generic/libpthread.abilist: New file.
5947 * sysdeps/generic/libresolv.abilist: New file.
5948 * sysdeps/generic/librt.abilist: New file.
5950 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5953 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5954 Compute absolute value of x as modified by fmod, not original
5956 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5957 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
5958 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
5959 RUN_TEST_ffI_f1_mod8.
5960 (remquo_test_data): Add more tests.
5962 2015-02-13 Roland McGrath <roland@hack.frob.com>
5964 * sysdeps/init_array/pt-crti.S: New file.
5966 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5969 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5970 __builtin_fmaf instead of relying on contraction of a * b + c.
5972 2015-02-12 J William Piggott <elseifthen@gmx.com>
5975 * manual/time.texi: correct the zoneinfo path in the TZ Variable
5978 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5981 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5982 __builtin_fma instead of relying on contraction of a * b + c.
5984 2015-02-12 Roland McGrath <roland@hack.frob.com>
5986 * Makeconfig (ASFLAGS): Add -Werror=undef.
5987 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5988 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5989 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5991 * Makeconfig (after-link): New variable.
5992 (+link-pie, +link-pie-tests): Use it.
5993 (+link-static, +link-static-tests): Likewise.
5994 (+link, +link-tests): Likewise.
5995 * Makerules (build-module, build-module-asneeded): Likewise.
5996 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5998 * elf/Makefile ($(objpfx)ld.so): Likewise.
6000 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
6003 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6004 both struct timeval and struct timespec.
6006 2015-02-12 Joseph Myers <joseph@codesourcery.com>
6009 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6011 (__ieee754_exp2l): Do not multiply small fractional parts by
6013 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6015 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6016 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6017 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6018 * math/auto-libm-test-in: Add more tests of exp2.
6019 * math/auto-libm-test-out: Regenerated.
6021 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6023 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6026 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6028 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6031 2015-02-12 Andreas Schwab <schwab@suse.de>
6034 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6035 Filter out elision flags from value returned in kind.
6036 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6037 * nptl/tst-pthread-mutexattr.c: New file.
6039 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
6041 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6042 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6043 into gnu-gnu, and update comment to refer to abi-tags.
6045 2015-02-11 Joseph Myers <joseph@codesourcery.com>
6048 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6049 (__sincos): Set errno to EDOM for infinite argument.
6050 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6051 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6052 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6053 (__sincosl): Set errno to EDOM for infinite argument.
6054 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6055 (__sincosl): Set errno to EDOM for infinite argument.
6056 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6057 (__sincosl): Set errno to EDOM for infinite argument.
6058 * math/libm-test.inc (sincos_test_data): Test errno setting.
6060 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
6062 * string/strxfrm_l.c: Remove #define STRCMP.
6063 * string/strcoll_l.c: Remove #define STRLEN.
6064 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6065 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6067 2015-02-10 Joseph Myers <joseph@codesourcery.com>
6069 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6070 * sysdeps/mips/mips32/sfp-machine.h: ... here.
6071 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6072 * sysdeps/mips/mips64/Makefile: ... here.
6073 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6074 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6075 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6076 * sysdeps/mips/mips64/sfp-machine.h: ... here.
6077 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6078 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6079 * sysdeps/mips/mips64/n64/Implies: Likewise.
6081 2015-02-10 Roland McGrath <roland@hack.frob.com>
6083 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6084 <sys/time.h>, <string.h>, and <errno.h>.
6085 (dest_offset, dest_address, value, zero): Remove unused variables.
6086 (ldouble): Remove typedef.
6087 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6088 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
6090 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6091 (check): Function removed.
6093 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
6094 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6095 Don't call set_sigaction_FP and remove_sigaction_FP here.
6096 (ldouble_test): Just use 'long double' as macro argument, no need for
6097 the 'ldouble' typedef.
6098 (do_test): Set up SIGFPE handler at start, using plain signal rather
6099 than sigaction. Fix code style.
6101 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
6104 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6107 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6109 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6110 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6112 * sysdeps/powerpc/configure.ac: Remove file.
6113 * sysdeps/powerpc/configure: Likewise.
6115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6116 [sysdep_routines]: Remove wordcopy-power6 object.
6117 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6118 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6119 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6120 (__memmove_ppc32): Likewise.
6121 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6123 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6124 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6125 Remove preprocessor.
6127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6128 [sysdep_routines]: Remove wide chars objects.
6129 [wcsmbs]: New rule for wide char objects.
6131 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6132 Remove wordcopy-power6 obejct.
6133 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6134 Use local call for wordcopy and memcpy symbols.
6135 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6136 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6137 implementation for loader.
6138 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6140 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6141 Remove wordcopy-power7 object.
6142 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6143 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6144 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6145 (_wordcopy_fwd_dest_aligned): Likewise.
6146 (_wordcopy_bwd_aligned): Likewise.
6147 (_wordcopy_bwd_dest_aligned): Likewise.
6149 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6150 Rewrite to call __memmove_ppc instead of include default
6153 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6154 Remove wide chars objects.
6155 [wcsmbs]: New rule for wide char objects.
6157 2015-02-09 Andreas Schwab <schwab@suse.de>
6160 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6161 in terms of __O_DIRECTORY.
6163 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6165 * time/getdate.c: Include <stdbool.h>.
6166 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6168 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6171 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
6173 Add ersatz _Static_assert on older C hosts
6174 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6175 pre-C11 C platform that is not known to support _Static_assert.
6177 2015-02-07 Richard Braun <rbraun@sceen.net>
6179 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6181 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6183 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6185 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6186 priority against unexistent AIO_PRIO_DELTA_MAX.
6187 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6189 * misc/fchflags.c (fchflags): Likewise.
6190 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6191 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6192 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6193 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6194 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6196 [__USE_MISC] (chflags, fchflags): Declare functions.
6197 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6198 EINVAL when nfds is greater than FD_SETSIZE.
6199 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6200 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6202 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6203 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6204 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6206 * hurd/hurd/signal.h (_hurd_self_sigstate,
6207 _hurd_critical_section_lock, _hurd_critical_section_unlock):
6208 Explicit casts from void *.
6209 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6210 * abi-tags: Rename gnu-gnu os into gnu.
6213 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6214 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6215 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6216 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6217 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6218 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6221 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6222 duplicates ADDR->sun_path with sockaddr LEN limitation.
6223 * sysdeps/mach/hurd/connect.c: Include <string.h>
6224 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6225 * sysdeps/mach/hurd/sendmsg.c: Likewise.
6226 * sysdeps/mach/hurd/sendto.c: Likewise.
6227 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6228 implementing it by hand.
6230 2015-02-06 Roland McGrath <roland@hack.frob.com>
6232 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6233 Use sfi_breg on ldr.
6234 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6237 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6239 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6240 Test SIGSETXID only if it's defined.
6242 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6244 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6245 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
6247 * nptl/tst-align2.c: Moved ...
6248 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6249 * nptl/Makefile (tests): Remove tst-align2.
6250 * sysdeps/unix/sysv/linux/Makefile
6251 [$(subdir) = nptl] (tests): Add tst-align-clone.
6252 * nptl/tst-getpid1.c: Moved ...
6253 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6254 * nptl/tst-getpid2.c: Moved ...
6255 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6256 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6257 * sysdeps/unix/sysv/linux/Makefile
6258 [$(subdir) = nptl] (tests): ... here.
6259 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6260 * sysdeps/unix/sysv/linux/Makefile
6261 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6263 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6264 Drop trailing \n from perror argument. Use return rather than exit.
6266 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6268 * nptl/tst-cancel21.c (do_test): Likewise.
6269 * debug/tst-backtrace6.c: Include <signal.h> first thing.
6270 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6271 [!SA_SIGINFO]: Make it a stub test.
6273 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6274 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6276 * posix/tst-getlogin.c: Move to ...
6277 * login/tst-getlogin.c: ... here.
6278 * posix/Makefile (tests): Move tst-getlogin to ...
6279 * login/Makefile (tests): ... here.
6281 * libio/tst-atime.c (do_test): Move local variables SV and E
6282 inside [ST_NOATIME] conditional.
6284 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6286 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6288 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6289 (wait_code): New function replaces macro.
6290 Call nanosleep rather than syscall.
6292 * nptl/pt-system.c: Rewritten. Put everything under
6293 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6294 Use IFUNC to redirect when possible.
6296 * nptl/pt-longjmp.c: Rewritten. Put everything under
6297 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6298 Use IFUNC to redirect when possible.
6300 * nptl/pt-fork.c: Rewritten. Put everything under
6301 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6302 Use IFUNC to redirect when possible.
6303 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6305 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6306 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6307 unconditionally nowadays. This included the only reference to
6308 __vdso_clock_gettime that appears outside libc proper.
6309 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6310 Remove version set (containing only __vdso_clock_gettime).
6311 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6312 Add attribute_hidden.
6313 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6314 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6315 libc_hidden_data_def.
6316 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6317 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6319 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6320 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6321 setrpcent, and getrpcport to ...
6322 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6323 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6324 getrpcbynumber_r, and getrpcent_r to ...
6325 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6326 * inet/getrpcbyname.c: Moved ...
6327 * sunrpc/getrpcbyname.c: ... here.
6328 * inet/getrpcbyname_r.c: Moved ...
6329 * sunrpc/getrpcbyname_r.c: ... here.
6330 * inet/getrpcbynumber.c: Moved ...
6331 * sunrpc/getrpcbynumber.c: ... here.
6332 * inet/getrpcbynumber_r.c: Moved ...
6333 * sunrpc/getrpcbynumber_r.c: ... here.
6334 * inet/getrpcent.c: Moved ...
6335 * sunrpc/getrpcent.c: ... here.
6336 * inet/getrpcent_r.c: Moved ...
6337 * sunrpc/getrpcent_r.c: ... here.
6338 * inet/Makefile (routines): Move those to ...
6339 * sunrpc/Makefile (routines): ... here.
6340 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6341 the $(subdirs) list.
6342 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
6343 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6344 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6345 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6347 * elf/Makefile (routines): Include $(all-dl-routines), not just
6349 (rtld-routines): Likewise. Use = rather than :=.
6350 * sysdeps/aarch64/Makefile [$(subdir) = elf]
6351 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6352 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6353 * sysdeps/arm/Makefile: Likewise.
6354 * sysdeps/i386/Makefile: Likewise.
6355 * sysdeps/x86_64/Makefile: Likewise.
6356 * sysdeps/hppa/Makefile [$(subdir) = elf]
6357 (sysdep_routines, sysdep-rtld-routines): Don't add
6358 $(sysdep-dl-routines) to these.
6359 * sysdeps/ia64/Makefile: Likewise.
6360 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6361 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6362 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6363 Don't add dl-static to these; sysdep-dl-routines alone is enough.
6364 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6365 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6366 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6367 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6368 * sysdeps/powerpc/Makefile [$(subdir) = elf]
6369 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6370 these; sysdep-dl-routines alone is enough.
6372 2015-02-06 Joseph Myers <joseph@codesourcery.com>
6375 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6376 where multiplication results in zero and third argument is finite
6378 * math/auto-libm-test-in: Add more tests of fma.
6379 * math/auto-libm-test-out: Regenerated.
6381 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6382 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6383 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6384 (_FP_CMP_EQ): Likewise.
6385 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6387 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6388 extra argument CHECK_NAN. Redefine as wrapper around
6391 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
6393 * version.h (RELEASE): Set to "stable".
6394 (VERSION): Set to "2.21"
6395 * include/features.h (__GLIBC_MINOR__): Set to 21.
6397 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6399 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6400 Paul Eggert <eggert@cs.ucla.edu>
6403 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6404 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6405 size in bytes. Store needed elements in wpmax. Use needed size
6406 in bytes for extend_alloca.
6408 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
6410 * manual/install.texi: Latest tested versions are GCC 4.9.2,
6411 binutls 2.25, and texinfo 5.2.
6412 * INSTALL: Regenerate.
6413 * sysdeps/nios2/configure: Regenerate.
6414 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6415 * manual/contrib.texi: Update.
6439 * po/pt_BR.po: Update.
6448 * po/zh_CN.po: Update.
6449 * po/zh_TW.po: Update.
6451 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6452 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6453 * sysdeps/hppa/dl-irel.h: Remove #warning.
6454 * sysdeps/hppa/entry.h: Provide prototype for
6455 __canonicalize_funcptr_for_compare and cast argument.
6456 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6457 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6458 * sysdeps/hppa/sotruss-lib.c: New file.
6459 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6460 (atomic_compare_and_exchange_val_acq): Use __typeof__.
6461 (atomic_compare_and_exchange_bool_acq): Likewise.
6462 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6463 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6465 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6466 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6467 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6469 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6471 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6472 called function in non-PIC case.
6474 2015-01-31 David S. Miller <davem@davemloft.net>
6476 * sysdeps/sparc/sparc32/bits/atomic.h
6477 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6478 unlock not after it.
6479 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6480 volatile register usage warnings from the compiler.
6482 * sysdeps/sparc/nptl/sem_init.c: Delete.
6483 * sysdeps/sparc/nptl/sem_post.c: Delete.
6484 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6485 * sysdeps/sparc/nptl/sem_wait.c: Delete.
6486 * sysdeps/sparc/sparc32/sem_init.c: New file.
6487 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6488 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6489 padding explicitly initialized.
6490 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6491 padding for in-semaphore spinlock.
6492 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6493 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6494 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6495 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6496 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6497 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6498 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6499 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6501 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6502 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6504 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
6507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6508 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6509 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6511 (index_AVX_Fast_Unaligned_Load): Likewise.
6512 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6513 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6514 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6515 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6516 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6517 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6518 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6519 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6520 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6522 2015-01-29 Andreas Schwab <schwab@suse.de>
6524 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6526 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6529 * nscd/nscd_stat.c (send_stats): Initialize DATA.
6531 2015-01-28 Martin Sebor <msebor@redhat.com>
6533 * math/README.libm-test: Clarify. Add "How to read the test output."
6535 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
6537 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6540 2015-01-28 Joseph Myers <joseph@codesourcery.com>
6542 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6543 (__HAVE_64B_ATOMICS): Define to 0.
6545 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6548 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6549 value to set as new flag.
6552 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6553 and use _ARCH_PPCSQ instead.
6554 (__ieee754_sqrt): Likewise.
6555 (__ieee754_sqrtf): Likewise.
6556 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6557 _ARCH_PPCSQ is defined.
6558 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6560 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6561 _ARCH_PPCSQ is defined.
6562 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6564 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6566 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6568 * iconv/loop.c: Suppress array out of bound warning caused by GCC
6569 bug (GCC BZ #64739).
6571 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
6573 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6574 Mark _retval as used.
6575 (lll_futex_wake_unlock): Likewise.
6576 (lll_futex_timed_wait_requeue_pi): Likewise.
6578 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6579 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6582 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6585 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6586 (__bswap_64): Mark as __always_inline.
6588 2015-01-25 Bram <bug_rh@spam.wizbit.be>
6591 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6592 when none of the search directories exist.
6594 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6597 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6598 power8 in .machine directive.
6601 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6602 set dependency from opd value.
6604 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6607 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6610 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6613 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6615 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6617 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6618 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6619 Replace 1UL with (uint64_t) 1.
6620 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6623 2015-01-23 Roland McGrath <roland@hack.frob.com>
6625 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6626 (if_freenameindex): Likewise.
6628 * resource/getrlimit64.c: Add missing libc_hidden_def.
6630 2015-01-22 Joseph Myers <joseph@codesourcery.com>
6632 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6634 (_FP_FMA): Likewise.
6635 (_FP_TO_INT_ROUND): Likewise.
6636 (_FP_FROM_INT): Likewise.
6638 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6641 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6642 Make code racy and cancel safe.
6644 2015-01-21 Carlos O'Donell <carlos@redhat.com>
6646 * sysdeps/arm/unwind-resume.h: Fix copyright year.
6647 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6650 * pwd/tst-getpw.c: Rewrite.
6653 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6654 (modules-names): Add moddummy1 and moddummy2.
6655 ($(objpfx)tst-rec-dlopen): Define.
6656 * dlfcn/moddummy1.c: New file.
6657 * dlfcn/moddummy2.c: New file.
6658 * dlfcn/tst-rec-dlopen.c: New file.
6659 * elf/dl-cache.c (_dl_load_cache_lookup):
6660 Return char*. Copy result with alloca/strcpy/strdup.
6661 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6662 returns char*. Free cached. If not saving realname
6664 * elf/dl-open.c (dl_open_worker): Do not assert that
6665 _r_debug->r_state is RT_CONSISTENT.
6666 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6669 2015-01-21 Torvald Riegel <triegel@redhat.com>
6670 Carlos O'Donell <carlos@redhat.com>
6673 * nptl/sem_waitcommon.c: New file.
6674 * nptl/sem_wait.c: Include sem_waitcommon.c.
6675 (__sem_wait_cleanup, do_futex_wait): Remove.
6676 (__new_sem_wait): Adapt.
6677 (__new_sem_trywait): New function.
6678 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6679 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6680 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6681 (sem_timedwait): Adapt.
6682 * nptl/sem_post.c (__new_sem_post): Adapt.
6683 (futex_wake): New function.
6684 (__old_sem_post): Add release MO fence.
6685 * nptl/sem_open.c (sem_open): Adapt.
6686 * nptl/sem_init.c (__new_sem_init): Adapt.
6687 (futex_private_if_supported): New function.
6688 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6689 (__old_sem_getvalue): Add using previous code.
6690 * sysdeps/nptl/internaltypes.h: Adapt.
6691 * nptl/tst-sem13.c (do_test): Adapt.
6692 * nptl/tst-sem11.c (main): Adapt.
6693 * nptl/sem_trywait.c: Remove.
6694 * nptl/DESIGN-sem.txt: Remove.
6695 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6696 (gen-as-const-headers): Remove structsem.sym.
6697 * nptl/structsem.sym: Remove.
6698 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6699 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6700 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6701 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6702 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6703 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6704 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6705 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6706 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6707 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6708 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6709 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6710 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6711 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6712 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6713 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6714 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6715 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6716 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6717 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6718 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6719 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6721 2015-01-20 Carlos O'Donell <carlos@redhat.com>
6723 * INSTALL: Regenerated.
6725 * po/libc.pot: Regenerated.
6727 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
6728 Sandra Loosemore <sandra@codesourcery.com>
6729 Andrew Jenner <andrew@codesourcery.com>
6730 Joseph Myers <joseph@codesourcery.com>
6731 Nathan Sidwell <nathan@codesourcery.com>
6733 * NEWS: Mention new Nios II port.
6734 * sysdeps/nios2/Implies: New file.
6735 * sysdeps/nios2/Makefile: New file.
6736 * sysdeps/nios2/Subdirs: New file.
6737 * sysdeps/nios2/Versions: New file.
6738 * sysdeps/nios2/__longjmp.S: New file.
6739 * sysdeps/nios2/abort-instr.h: New file.
6740 * sysdeps/nios2/backtrace.c: New file.
6741 * sysdeps/nios2/bits/endian.h: New file.
6742 * sysdeps/nios2/bits/fenv.h: New file.
6743 * sysdeps/nios2/bits/link.h: New file.
6744 * sysdeps/nios2/bits/setjmp.h: New file.
6745 * sysdeps/nios2/bsd-_setjmp.S: New file.
6746 * sysdeps/nios2/bsd-setjmp.S: New file.
6747 * sysdeps/nios2/configure: New generated file.
6748 * sysdeps/nios2/configure.ac: New file.
6749 * sysdeps/nios2/crti.S: New file.
6750 * sysdeps/nios2/crtn.S: New file.
6751 * sysdeps/nios2/dl-init.c: New file.
6752 * sysdeps/nios2/dl-machine.h: New file.
6753 * sysdeps/nios2/dl-sysdep.h: New file.
6754 * sysdeps/nios2/dl-tls.h: New file.
6755 * sysdeps/nios2/dl-trampoline.S: New file.
6756 * sysdeps/nios2/gccframe.h: New file.
6757 * sysdeps/nios2/gmp-mparam.h: New file.
6758 * sysdeps/nios2/jmpbuf-offsets.h: New file.
6759 * sysdeps/nios2/jmpbuf-unwind.h: New file.
6760 * sysdeps/nios2/ldsodefs.h: New file.
6761 * sysdeps/nios2/libc-tls.c: New file.
6762 * sysdeps/nios2/libm-test-ulps: New file.
6763 * sysdeps/nios2/machine-gmon.h: New file.
6764 * sysdeps/nios2/math-tests.h: New file.
6765 * sysdeps/nios2/math_private.h: New file.
6766 * sysdeps/nios2/memusage.h: New file.
6767 * sysdeps/nios2/nptl/Makefile: New file.
6768 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6769 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6770 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6771 * sysdeps/nios2/nptl/pthreaddef.h: New file.
6772 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6773 * sysdeps/nios2/nptl/tls.h: New file.
6774 * sysdeps/nios2/preconfigure: New file.
6775 * sysdeps/nios2/s_fma.c: New file.
6776 * sysdeps/nios2/s_fmaf.c: New file.
6777 * sysdeps/nios2/setjmp.S: New file.
6778 * sysdeps/nios2/sfp-machine.h: New file.
6779 * sysdeps/nios2/sotruss-lib.c: New file.
6780 * sysdeps/nios2/stackguard-macros.h: New file.
6781 * sysdeps/nios2/stackinfo.h: New file.
6782 * sysdeps/nios2/start.S: New file.
6783 * sysdeps/nios2/sysdep.h: New file.
6784 * sysdeps/nios2/tls-macros.h: New file.
6785 * sysdeps/nios2/tst-audit.h: New file.
6786 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6787 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6788 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6789 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6790 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6791 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6792 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6793 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6794 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6795 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6796 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6797 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6798 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6799 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6800 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6801 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6802 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6803 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6804 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6805 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6806 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6807 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6808 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6809 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6810 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6811 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6812 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6813 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6814 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6815 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6816 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6817 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6818 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6819 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6820 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6821 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6822 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6823 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6824 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6825 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6826 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6827 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6828 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6829 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6831 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6834 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6835 (getutent): Use weak_alias in non SHARED case
6836 and default_symbol_version in SHARED case.
6837 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6838 (getutent_r, pututline): Likewise.
6839 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6840 (getutid): Likewise.
6841 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6842 (getutid_r): Likewise.
6843 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6844 (getutline): Likewise.
6845 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6846 (getutline_r): Likewise.
6847 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6848 (updwtmp): Likewise.
6850 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6853 * sysdeps/s390/s390-32/memcmp.S
6854 (memcmp_g5): Rename to __memcmp_g5.
6855 * sysdeps/s390/s390-32/memcpy.S
6856 (memcpy_g5): Rename to __memcpy_g5.
6857 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6858 (memcpy_mvcle) Rename to __memcpy_mvcle.
6859 * sysdeps/s390/s390-32/memset.S
6860 (memset_g5): Rename to __memset_g5.
6861 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6862 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6863 and use prefixed functions.
6864 * sysdeps/s390/s390-32/multiarch/memcmp.S
6865 (memcmp_z196): Rename to __memcmp_z196.
6866 (memcmp_z10): Rename to __memcmp_z10.
6867 (memcmp): Set alias to __memcmp_g5.
6868 (bcmp): Set alias to __memcmp_g5.
6869 * sysdeps/s390/s390-32/multiarch/memcpy.S
6870 (memcpy_z196): Rename to __memcpy_z196.
6871 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6872 (memcpy_z10): Rename to __memcpy_z10.
6873 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6874 (memcpy): Set alias to __memcpy_g5.
6875 * sysdeps/s390/s390-32/multiarch/memset.S
6876 (memset_z196): Rename to __memset_z196.
6877 Jump to __memset_mvcle instead of memset_mvcle.
6878 (memset_z10): Rename to __memset_z10.
6879 Jump to __memset_mvcle instead of memset_mvcle.
6880 (memset_mvcle) Rename to __memset_mvcle.
6881 (memset): Set alias to __memset_g5.
6882 * sysdeps/s390/s390-64/memcmp.S
6883 (memcmp_z900): Rename to __memcmp_z900.
6884 * sysdeps/s390/s390-64/memcpy.S
6885 (memcpy_z900): Rename to __memcpy_z900.
6886 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6887 (memcpy_mvcle) Rename to __memcpy_mvcle.
6888 * sysdeps/s390/s390-64/memset.S
6889 (memset_z900): Rename to __memset_z900.
6890 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6891 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6892 and use prefixed functions.
6893 * sysdeps/s390/s390-64/multiarch/memcmp.S
6894 (memcmp_z196): Rename to __memcmp_z196.
6895 (memcmp_z10): Rename to __memcmp_z10.
6896 (memcmp): Set alias to __memcmp_z900.
6897 (bcmp): Set alias to __memcmp_z900.
6898 * sysdeps/s390/s390-64/multiarch/memcpy.S
6899 (memcpy_z196): Rename to __memcpy_z196.
6900 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6901 (memcpy_z10): Rename to __memcpy_z10.
6902 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6903 (memcpy): Set alias to __memcpy_z900.
6904 * sysdeps/s390/s390-64/multiarch/memset.S
6905 (memset_z196): Rename to __memset_z196.
6906 Jump to __memset_mvcle instead of memset_mvcle.
6907 (memset_z10): Rename to __memset_z10.
6908 Jump to __memset_mvcle instead of memset_mvcle.
6909 (memset_mvcle) Rename to __memset_mvcle.
6910 (memset): Set alias to __memset_z900.
6912 2015-01-14 Joseph Myers <joseph@codesourcery.com>
6915 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6916 __fesetenv instead of fesetenv.
6918 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6920 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6923 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6925 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6928 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6929 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6930 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6931 strncmp-power8 object.
6932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6933 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6934 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6937 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6938 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6940 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6941 trailing byte check.
6943 2015-01-13 David S. Miller <davem@davemloft.net>
6945 * include/signal.h (__sigreturn): Guard with __USE_MISC.
6947 2015-01-13 Roland McGrath <roland@hack.frob.com>
6949 * login/logout.c (logout): Use memset rather than bzero.
6950 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6951 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6952 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6953 (_gethtbyaddr): Likewise.
6954 * locale/programs/simple-hash.c (bcopy): Macro removed.
6956 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6958 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6959 Add strcmp-power8 object.
6960 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6961 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6962 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6963 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6964 __strcmp_power8 implementation.
6965 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6968 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6969 Add strncpy-power8 and stpncpy-power8 objects.
6970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6971 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6973 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6974 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6975 __stpncpy_power8 implementation.
6976 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6977 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6978 __strncpy_power8 implementation.
6979 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6980 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6983 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6984 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6985 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6987 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6988 strncat-power8 object.
6989 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6990 __strcat_power8 implementation.
6991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6992 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6993 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6994 optimized strcat for power8.
6996 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6997 strcpy-power8 and stpcpy-power8 objects.
6998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6999 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
7001 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
7002 multiarch stpcpy implementation for POWER8.
7003 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7004 multiarch strcpy implementation for POWER8.
7005 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7006 __strcpy_power8 function.
7007 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7009 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7013 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
7016 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7017 weights and rules. Use do_xfrm_cached if data fits in cache,
7018 do_xfrm otherwise. Moved former main loop to...
7019 * (do_xfrm_cached): New function.
7020 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7021 find_idx, find_position and stack_push.
7022 * (find_idx): New function.
7023 * (find_position): Likewise.
7024 * localedata/sort-test.sh: Added test run for do_xfrm.
7025 * localedata/xfrm-test.c (main): Added command line option
7026 -nocache to run the test with strings that are too large for
7029 2015-01-13 Torvald Riegel <triegel@redhat.com>
7031 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7032 variable to lll_futex_wake call, not the value itself.
7034 2015-01-12 Joseph Myers <joseph@codesourcery.com>
7037 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7038 twom64. Adjust value to 0x1p-64L.
7039 (__scalblnl): Only return standard underflowing result for K <=
7040 -64 not K <= -63; adjust exponent for underflowing result by 64
7042 * math/libm-test.inc (scalbn_test_data): Add more tests.
7043 (scalbln_test_data): Likewise.
7046 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7048 (__scalblnl): Get new exponent of adjusted subnormal value from ES
7050 * math/libm-test.inc (scalbn_test_data): Add more tests.
7051 (scalbln_test_data): Likewise.
7053 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7054 Stefani Seibold <stefani@seibold.net>
7056 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7057 (sysdep_routines): Add dl-vdso here, ...
7058 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7059 (sysdep_routines): ... not here.
7060 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7061 fallback when vDSO is not presented.
7062 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7063 Define with libc_hidden_proto/libc_hidden_data_def definitions.
7064 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7065 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7066 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7067 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7068 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7069 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7070 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7071 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7072 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
7073 fallback configurable symbol when vDSO is not available.
7074 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7075 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
7076 be able to redefine fallback symbol when vDSO is not available.
7077 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7078 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7080 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7082 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7083 (TLS_INIT_TP): Add tm_capable initialization.
7084 (TLS_DEFINE_INIT_TP): Likewise.
7085 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7087 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7088 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7090 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7091 transactoion is lock elision is built and TCB tm_capable is set.
7092 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7094 (INTERNAL_SYSCALL_NCS): Likewise.
7095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7096 (INTERNAL_SYSCALL_NCS): Likewise.
7097 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7099 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7101 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7102 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7103 and remove it for 32 bits case.
7104 [pthread_rwlock_t] (__rwelision): New field for lock elision.
7105 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7107 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7108 Disable lock elision with rdlocks if elision is not available.
7110 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7111 (sysdep_routines): Add lock elision objects.
7112 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7113 [pthread_mutex_t] (__spins): Rework to add lock elision field.
7114 [pthread_mutex_t] (__elision): Add field.
7115 [__PTHREAD_SPINS]: Adjust to init lock elision field.
7116 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7117 elision definitions for powerpc.
7118 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7119 implementation of lock elision for powerpc.
7120 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7121 implementation of timed lock elision for powerpc.
7122 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7123 implementation of trylock with lock elision for powerpc.
7124 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7125 implementaion of unlock for lock elision for powerpc.
7126 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7127 automatic enable lock elision for mutexes.
7128 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7129 transaction execution definitions for powerpc.
7130 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7132 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7133 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7134 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7135 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7138 2015-01-09 Roland McGrath <roland@hack.frob.com>
7140 * sysdeps/posix/shm-directory.c: Use <> rather than ""
7141 for #include of <shm-directory.h>.
7143 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
7145 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7146 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7148 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
7151 * NEWS: Mention bug fix.
7152 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7153 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7154 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7156 2015-01-09 Torvald Riegel <triegel@redhat.com>
7158 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7160 2015-01-09 Torvald Riegel <triegel@redhat.com>
7162 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7164 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7166 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7167 pointer and cast to uintptr_t.
7169 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7171 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7173 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7175 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7177 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7180 2015-01-08 Roland McGrath <roland@hack.frob.com>
7182 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7183 <nptl/pthreadP.h> instead.
7184 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7186 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7188 [__SIGRTMIN] (init): Function removed.
7189 [__SIGRTMIN] (initialized): Variable removed.
7190 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7191 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7192 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7193 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7194 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7195 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7196 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7197 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7198 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7199 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7200 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7201 * sysdeps/nptl/allocrtsig.c: New file.
7202 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7203 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7204 * sysdeps/generic/testrtsig.h: File removed.
7206 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7207 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7209 * nptl/nptl-init.c (pthread_functions): Conditionalize
7210 .ptr__nptl_setxid initialization on [SIGSETXID].
7212 * sysdeps/nptl/sys/procfs.h: New file.
7213 * nptl_db/Makefile (headers): Add it.
7214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7216 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7217 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7218 * nptl/pthread_attr_setaffinity.c: Include it.
7219 * nptl/pthread_setattr_default_np.c: Likewise.
7220 * nptl/check-cpuset.h: New file.
7222 2015-01-08 Richard Henderson <rth@redhat.com>
7224 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7225 (CFLAGS-tst-execstack-prog.c): Likewise.
7226 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7228 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
7229 Sandra Loosemore <sandra@codesourcery.com>
7230 Andrew Jenner <andrew@codesourcery.com>
7231 Joseph Myers <joseph@codesourcery.com>
7232 Nathan Sidwell <nathan@codesourcery.com>
7234 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7235 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7236 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7237 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7238 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7239 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7240 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7241 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7242 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7243 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7244 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7245 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7246 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7247 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7248 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7249 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7250 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7252 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7254 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7255 timespec struct member in syscall macro.
7256 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7257 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7258 first timeval struct member in syscall macro.
7259 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7261 2015-01-07 Joseph Myers <joseph@codesourcery.com>
7264 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7265 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7266 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7267 __feupdateenv and define as weak alias of __feupdateenv. Use
7269 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7271 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7272 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
7273 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7274 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7276 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7277 __feupdateenv and define as weak alias of __feupdateenv. Use
7279 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7281 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7282 __feupdateenv and define as weak alias of __feupdateenv. Use
7284 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7286 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7287 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7288 (__feupdateenv): Likewise.
7289 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7290 __feupdateenv and define as weak alias of __feupdateenv. Use
7292 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7293 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7295 * sysdeps/tile/math_private.h (__feupdateenv): New inline
7297 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7299 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7300 __feupdateenv instead of feupdateenv.
7301 (default_libc_feupdateenv_test): Likewise.
7302 (libc_feresetround_ctx): Likewise.
7304 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7306 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7309 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
7311 * posix/regcomp.c (parse_bracket_exp): Initialize type to
7312 COLL_SYM in a couple of places to avoid uninitialized variable
7313 wanings on tilegx gcc 4.8.2.
7315 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
7317 * sysdeps/aarch64/strcpy.S: New file.
7318 * sysdeps/aarch64/stpcpy.S: New file.
7321 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
7323 * sysdeps/aarch64/strrchr.S: New file.
7326 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
7329 * stdlib/setenv.c: Fix memory leak when setting large,
7332 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
7335 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7336 and tabs from buffer before parsing fstab entry.
7337 * misc/tst-mntent.c (main): Add test for mount entry with
7338 trailing spaces and tabs.
7340 2015-01-06 Joseph Myers <joseph@codesourcery.com>
7343 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
7344 * math/fesetround.c (fesetround): Rename to __fesetround and
7345 define as weak alias of __fesetround. Use libm_hidden_weak.
7346 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7347 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7348 * sysdeps/arm/fesetround.c (fesetround): Likewise.
7349 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7350 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7351 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7352 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7353 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7354 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7355 __fesetround_inline.
7356 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7357 __fesetround_inline instead of __fesetround.
7358 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7359 __fesetround and define as weak alias of __fesetround. Use
7360 libm_hidden_weak. Call __fesetround_inline instead of
7362 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7363 __fesetround and define as weak alias of __fesetround. Use
7365 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7367 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7368 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7369 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7370 * sysdeps/tile/math_private.h (__fesetround): New inline function.
7371 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7372 __fesetround and define as weak alias of __fesetround. Use
7374 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7375 __fesetround instead of fesetround.
7376 (default_libc_feholdexcept_setround): Likewise.
7377 (libc_feholdsetround_ctx): Likewise.
7378 (libc_feholdsetround_noex_ctx): Likewise.
7381 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7382 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7383 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7384 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7385 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7386 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7387 define as weak alias of __fesetenv. Use libm_hidden_weak.
7388 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7389 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7390 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7391 define as weak alias of __fesetenv. Use libm_hidden_weak.
7392 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7393 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7394 define as weak alias of __fesetenv. Use libm_hidden_weak.
7395 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7397 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7398 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7400 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7401 define as weak alias of __fesetenv. Use libm_hidden_weak.
7402 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7403 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7404 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7405 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7406 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7407 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7408 __fesetenv instead of fesetenv.
7409 (libc_feresetround_noex_ctx): Likewise.
7410 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7411 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7412 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7413 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7414 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7415 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7416 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7417 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7418 (__feupdateenv): Likewise.
7419 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7420 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7421 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7422 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7424 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7427 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7428 addresses have been freed.
7430 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7432 * resolv/res_init.c (__res_vinit): Improve comments about nserv
7435 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
7437 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7438 Clean up check_pf allocation pattern. addresses
7440 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7442 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7443 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7444 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7445 * nptl/pthread_exit.c (__pthread_exit): Likewise.
7446 * nptl/pthread_join.c (pthread_join): Likewise.
7447 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7448 * sysdeps/posix/waitid.c (__waitid): Likewise.
7449 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7450 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7451 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7452 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7453 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7455 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7456 (__libc_pread64): Likewise.
7457 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7458 (__libc_pwrite): Likewise.
7459 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7460 (__libc_pwrite64): Likewsie.
7461 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7462 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7463 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7464 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7465 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7466 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7467 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7471 (__libc_pread64): Likewise.
7472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7475 (__libc_pwrite64): Likewise.
7476 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7477 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7478 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7479 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7480 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7481 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7482 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7483 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7484 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7485 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7486 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7487 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7488 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7489 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7490 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7491 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7494 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7496 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7497 (CFLAGS-test-double.c): Likewise.
7498 (CFLAGS-test-ldouble.c): Likewise.
7499 (CPPFLAGS-test-ifloat.c): Likewise.
7500 (CPPFLAGS-test-idouble.c): Likewise.
7501 (CPPFLAGS-test-ildoubl.c): Likewise.
7502 (CFLAGS-test-test-fenv.c): Remove variable.
7503 (CFLAGS-test-misc.c): Likewise.
7505 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
7508 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7509 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7510 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7511 CLOCKS_PER_SEC == 1000000.
7512 * time/clocktest.c (main): Replace %ld with %jd and cast to
7515 2015-01-05 Roland McGrath <roland@hack.frob.com>
7517 * sysdeps/generic/unwind-resume.h: New file.
7518 * sysdeps/gnu/unwind-resume.c: Include it.
7519 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7520 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7522 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7523 global rather than static.
7524 (_Unwind_Resume): Update user.
7525 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7526 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
7527 rather than static. Add __attribute__ ((cold)).
7528 (_Unwind_Resume, __gcc_personality_v0): Update callers.
7529 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7530 * sysdeps/arm/arm-unwind-resume.S: New file.
7531 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7532 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7533 * sysdeps/arm/Makefile [$(subdir) = csu]
7534 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7535 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7536 Add rt-arm-unwind-resume.
7538 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7539 Add pt-arm-unwind-resume.
7540 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7541 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7543 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7546 * include/fenv.h (__feholdexcept): Declare. Use
7548 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7549 define as weak alias of __feholdexcept. Use libm_hidden_weak.
7550 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7551 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7552 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7553 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7554 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7555 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7556 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7557 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7558 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7559 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7560 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7561 (feholdexcept): Likewise.
7562 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7563 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7564 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7565 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7566 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7567 __feholdexcept instead of feholdexcept.
7568 (default_libc_feholdexcept_setround): Likewise.
7570 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7572 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7573 to avoid using stl/str to align destination.
7575 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7577 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7579 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7582 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7583 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7584 Define as weak alias not strong alias.
7586 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7588 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7589 bltzal with addiupc.
7590 (RTLD_START): Ditto.
7592 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
7594 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7595 for __vdso_* functions in declarations.
7596 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7598 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7599 INTERNAL_VSYSCALL): Use struct return types to check for error.
7601 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7602 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7603 function with cast from llround().
7604 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7605 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7608 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7611 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7612 Define as weak alias not strong alias.
7615 * ctype/ctype-c99.c: New file. isblank implementation moved from
7617 * ctype/ctype-extn.c: ... here.
7618 (__isblank_l): Move to ...
7619 * ctype/ctype-c99_l.c: ... here. New file.
7620 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7621 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7623 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7624 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7625 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7626 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7627 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7630 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7631 (posix_fadvise64): Define as weak alias not strong alias.
7632 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7633 (posix_fallocate64): Likewise.
7634 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7636 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7637 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7638 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7639 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7640 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7642 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
7645 * NEWS: Mention bug fix.
7646 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7647 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7648 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7649 (HOST_STACK_END_ADDR): Likewise.
7651 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7654 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
7655 * math/fegetround.c (fegetround): Rename to __fegetround and
7656 define as weak alias of __fegetround. Use libm_hidden_weak.
7657 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7658 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7659 * sysdeps/arm/fegetround.c (fegetround): Likewise.
7660 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7661 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7662 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7663 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7664 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7665 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7666 Undefine after rather than before function definition; use
7667 parentheses around function name in definition.
7668 (__fegetround): Also undefine macro after function definition.
7669 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7670 __fegetround and define as weak alias of __fegetround. Use
7671 libm_hidden_weak. Do not undefine as macro.
7672 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7674 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7675 __fegetround and define as weak alias of __fegetround. Use
7677 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7678 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7679 * sysdeps/tile/math_private.h (__fegetround): New inline function.
7680 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7681 __fegetround and define as weak alias of __fegetround. Use
7683 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7684 __fegetround instead of fegetround.
7687 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7688 Condition macro definition on [__USE_MISC].
7691 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7692 (struct sigaction): Change type of sa_flags field to int.
7695 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7696 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7699 * nptl/version.c (banner): Use single year in copyright notice.
7701 * NEWS: Update copyright dates.
7702 * catgets/gencat.c (print_version): Likewise.
7703 * csu/version.c (banner): Likewise.
7704 * debug/catchsegv.sh: Likewise.
7705 * debug/pcprofiledump.c (print_version): Likewise.
7706 * debug/xtrace.sh (do_version): Likewise.
7707 * elf/ldconfig.c (print_version): Likewise.
7708 * elf/ldd.bash.in: Likewise.
7709 * elf/pldd.c (print_version): Likewise.
7710 * elf/sotruss.sh: Likewise.
7711 * elf/sprof.c (print_version): Likewise.
7712 * iconv/iconv_prog.c (print_version): Likewise.
7713 * iconv/iconvconfig.c (print_version): Likewise.
7714 * locale/programs/locale.c (print_version): Likewise.
7715 * locale/programs/localedef.c (print_version): Likewise.
7716 * login/programs/pt_chown.c (print_version): Likewise.
7717 * malloc/memusage.sh (do_version): Likewise.
7718 * malloc/memusagestat.c (print_version): Likewise.
7719 * malloc/mtrace.pl: Likewise.
7720 * manual/libc.texinfo: Likewise.
7721 * nptl/version.c (banner): Likewise.
7722 * nscd/nscd.c (print_version): Likewise.
7723 * nss/getent.c (print_version): Likewise.
7724 * nss/makedb.c (print_version): Likewise.
7725 * posix/getconf.c (main): Likewise.
7726 * scripts/test-installation.pl: Likewise.
7727 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7729 2015-01-02 Will Newton <will.newton@linaro.org>
7731 * sysdeps/arm/armv7/configure: Removed.
7732 * sysdeps/arm/armv7/configure.ac: Likewise.
7734 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7736 * All files with FSF copyright notices: Update copyright dates
7737 using scripts/update-copyrights.
7738 * intl/plural.c: Regenerated.
7739 * locale/programs/charmap-kw.h: Likewise.
7740 * locale/programs/locfile-kw.h: Likewise.
7742 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7744 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7746 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7749 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7750 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7751 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7752 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7753 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7754 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7755 define as weak alias of __fegetenv. Use libm_hidden_weak.
7756 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7757 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7758 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7759 define as weak alias of __fegetenv. Use libm_hidden_weak.
7760 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7761 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7762 define as weak alias of __fegetenv. Use libm_hidden_weak.
7763 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7765 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7766 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7768 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7769 define as weak alias of __fegetenv. Use libm_hidden_weak.
7770 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7771 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7772 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7773 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7774 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7775 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7776 __fegetenv instead of fegetenv.
7777 (libc_feholdsetround_noex_ctx): Likewise.
7779 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
7781 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7782 (Elf_MIPS_ABIFlags_v0): New structure.
7783 (EF_MIPS_FP64): Define.
7784 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7785 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7786 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7787 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7788 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7789 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7790 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7791 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7792 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7793 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7794 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7795 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7796 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7797 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7798 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7799 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7800 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7801 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7802 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7803 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7804 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7805 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7807 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7809 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7810 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7811 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7812 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7813 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7814 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7815 * sysdeps/mips/tst-abi-interlink.c: Likewise.
7816 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7817 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7818 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7819 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7820 record the current FP ABI extension.
7821 (mips-mode-switch): Define to show if kernel headers support mode
7823 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7824 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7825 supported SYSV ABI version to 3.
7826 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7829 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7830 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7832 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7834 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7836 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7838 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7839 __fegetround and redefine to call __fegetround. Remove condition
7840 on [!__NO_MATH_INLINES].
7841 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7843 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7844 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7846 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7847 instead of <fenv_libc.h>.
7848 (__llrintl): Call fegetround instead of __fegetround.
7849 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7850 instead of <fenv_libc.h>.
7851 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7852 (__lrintl): Call fegetround instead of __fegetround.
7853 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7854 instead of <fenv_libc.h>.
7855 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7856 (__rintl): Call fegetround instead of __fegetround.
7858 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7860 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7863 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7866 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7867 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7868 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7870 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7872 * sysdeps/i386/tls-macros.h: Include <features.h>.
7873 (TLS_LE): Use non-PIC version for GCC >= 5.0.
7877 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7878 define for GCC >= 5.0.
7880 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
7882 * math/test-fenv.c (test_single_exception, set_single_exc,
7883 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7884 feexcp_mask_test, feenable_test, fe_single_test): Add
7885 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7886 case where they are not used.
7887 * math/libm-test.inc: Likewise.
7888 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7889 unused in the absence of FP rounding/exception support.
7890 * stdio-common/tst-printf-round.c: Likewise.
7891 * stdlib/tst-strtod-round.c: Likewise.
7892 * stdlib/tst-strtod-underflow.c: Likewise.
7894 2014-12-30 Joseph Myers <joseph@codesourcery.com>
7897 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7898 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7899 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7900 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7902 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7903 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7904 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7906 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7907 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7909 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7911 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7912 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7913 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7915 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7917 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7918 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7919 (__feraiseexcept): Likewise.
7920 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7921 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7923 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7924 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7926 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7927 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7928 Use libm_hidden_def.
7929 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7931 (feraiseexcept): Define as weak not strong alias. Use
7933 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7934 New inline function. Factored out of ...
7935 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
7936 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7937 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7939 * math/w_acos.c (__acos): Likewise.
7940 * math/w_asin.c (__asin): Likewise.
7941 * math/w_ilogb.c (__ilogb): Likewise.
7942 * math/w_j0.c (y0): Likewise.
7943 * math/w_j1.c (y1): Likewise.
7944 * math/w_jn.c (yn): Likewise.
7945 * math/w_log.c (__log): Likewise.
7946 * math/w_log10.c (__log10): Likewise.
7947 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7948 * sysdeps/aarch64/fpu/math_private.h
7949 (libc_feupdateenv_test_aarch64): Likewise.
7950 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7951 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7952 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7953 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7954 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7955 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7956 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7957 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7958 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7959 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7961 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7964 * io/test-utime.c (main): Replace %ld with %jd and cast to
7966 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7967 * nptl/tst-mutex5.c: Include <stdint.h>.
7968 (do_test): Replace %ld with %jd and cast to intmax_t.
7969 * posix/tst-regex.c (run_test): Likewise.
7970 (run_test_backwards): Likewise.
7971 * rt/tst-clock.c: Include <stdint.h>.
7972 (clock_test): Replace %ld with %jd and cast to intmax_t.
7973 * rt/tst-cpuclock1.c: Include <stdint.h>.
7974 (do_test): Replace %lu with %ju and cast to uintmax_t.
7975 * rt/tst-cpuclock2.c: Include <stdint.h>.
7976 (do_test): Replace %lu with %ju and cast to uintmax_t.
7977 * rt/tst-mqueue1.c: Include <stdint.h>.
7978 (check_attrs): Replace %ld with %jd and cast to intmax_t.
7979 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7981 * rt/tst-mqueue4.c (do_test): Likewise.
7982 * rt/tst-timer4.c: Include <stdint.h>.
7983 (check_ts): Replace %ld with %jd and cast to intmax_t.
7984 (do_test): Likewise.
7985 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7986 and cast to intmax_t.
7987 * sysdeps/pthread/tst-timer.c (main): Likewise.
7988 * time/clocktest.c (main): Likewise.
7989 * time/tst-posixtz.c (do_test): Likewise.
7990 * timezone/tst-timezone.c (main): Likewise.
7992 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7993 H.J. Lu <hongjiu.lu@intel.com>
7995 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7996 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7997 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7998 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7999 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
8000 version if bit_Fast_Unaligned_Load is set.
8001 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8002 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8003 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8004 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8005 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8006 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8008 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8009 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8010 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8012 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8013 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8014 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8015 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8017 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
8019 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8020 instead of #if to avoid a Wundef warning.
8021 * stdlib/tst-limits.c (do_test): Likewise.
8023 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8024 parallel other exception macros.
8025 (fegetenv): Convert from macro to extern inline so that it applies
8026 retroactively to inline functions already seen by the compiler.
8027 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8029 * posix/Makefile (before-compile): Use $(objpfx) for
8030 posix-conf-vars-def.h.
8032 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8034 * posix/getconf.c (main): Use size_t for type of I.
8035 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8038 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8039 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8040 * posix/posix-envs.def: Likewise.
8041 * sysdeps/posix/sysconf.c: Likewise.
8042 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8043 (specs): Remove array.
8044 * scripts/gen-posix-conf-vars.awk: Support generation of specs
8047 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8048 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8049 (__sysconf): Use CONF_IS_* macros.
8051 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8052 ($(objpfx)posix-conf-vars-def.h): New target.
8053 * posix/posix-conf-vars.list: New file.
8054 * posix/posix-conf-vars.h: New file.
8055 * posix/confstr.c: Include posix-conf-vars.h.
8056 (confstr): Use CONF_IS_* macros.
8057 * posix/posix-envs.def: Include posix-conf-vars.h. Use
8059 * scripts/gen-posix-conf-vars.awk: New file.
8061 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
8063 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8064 fegetround): Add no-op macros to avoid linknamespace issues.
8066 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8067 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8069 * sysdeps/unix/sysv/linux/tile/sysdep.h
8070 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8071 assembly-specific section to avoid a redefinition warning.
8073 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8074 long before casting to pointer to avoid a cast warning.
8076 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
8078 * sysdeps/tile/tilegx/Implies: New file.
8080 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
8082 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8084 2014-12-23 Florian Weimer <fweimer@redhat.com>
8086 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8088 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8090 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8092 * sysdeps/unix/sysv/linux/utimes.c: Do not include
8093 <kernel-features.h>.
8094 (__utimes) [__NR_utimes]: Make code unconditional.
8095 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8096 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8097 (__ASSUME_UTIMES): Do not undefine.
8098 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8099 (__ASSUME_UTIMES): Likewise.
8100 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8101 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8102 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8103 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8105 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
8107 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8109 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
8112 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8113 alias to weak alias for j0l, y0l.
8114 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8115 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8118 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8121 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
8123 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8124 to zero if not already defined.
8126 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8129 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8130 (__kernel_standard_f): Remove. Moved to k_standardf.c.
8131 (__kernel_standard_l): Remove. Moved to k_standardl.c with
8132 (char *) casts added.
8133 * sysdeps/ieee754/k_standardf.c: New file.
8134 * sysdeps/ieee754/k_standardl.c: Likewise.
8135 * math/Makefile (libm-support): Remove k_standard.
8136 (libm-calls): Add k_standard.
8138 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8140 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8141 Optimize to avoid an unnecessary FPCR read.
8143 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8145 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8146 Optimize to reduce FPCR/FPSR accesses.
8148 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8150 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8151 Call libc_fetestexcept_aarch64.
8153 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8155 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8156 Call libc_fesetround_aarch64.
8158 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8161 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8162 (__bind): Do not define as weak alias.
8163 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8165 (__getsockname): Do not define as weak alias.
8167 2014-12-22 Will Newton <will.newton@linaro.org>
8169 * manual/install.texi: Document that we require bison 2.7
8171 * INSTALL: Regenerate.
8172 * configure.ac: Use AC_CHECK_PROG_VER instead of
8173 AC_PATH_PROG when checking for bison and check for
8174 version 2.7 or above.
8175 * configure: Regenerate.
8177 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
8180 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8181 * sysdeps/tile/ffsll.c (ffsll): To here.
8183 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8185 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
8187 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8189 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8191 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8192 hidden ___tls_get_addr.
8193 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8194 hidden __tls_get_addr.
8195 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8196 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8199 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
8201 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8204 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
8206 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8207 from "call _dl_init@PLT".
8208 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8210 2014-12-21 Anders Kaseorg <andersk@mit.edu>
8212 * manual/search.texi: (Array Sort Function): Clarify stable sorting
8215 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
8217 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8219 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
8222 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8225 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
8227 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8229 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8230 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8231 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8232 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8233 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8235 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
8237 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8238 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8239 (PTR_SUBU): Use subu for mips32r6/mips64r6.
8240 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8241 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8243 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8245 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
8247 * string/strncat.c (STRNCAT): Simplify implementation.
8249 2014-12-19 David S. Miller <davem@davemloft.net>
8251 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8252 access the quad as both a long double and as a series of 4 words.
8254 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8255 link_map->l_info array access.
8257 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
8259 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8261 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8262 * math/atest-exp2.c (TIMEOUT): Likewise.
8263 * math/atest-sincos.c (TIMEOUT): Likewise.
8265 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8267 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8268 -Wno-error with -fno-builtin-lround.
8270 2014-12-19 Torvald Riegel <triegel@redhat.com>
8272 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8273 Contains futex constants and functions moved over from ...
8274 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
8275 <lowlevellock-futex.h>.
8276 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8277 (lll_timedwait_tid): Add comments and parentheses around macro
8280 2014-12-19 Torvald Riegel <triegel@redhat.com>
8282 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8283 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
8284 (__lll_private_flag): Remove.
8285 (lll_futex_wait): Likewise.
8286 (lll_futex_timed_wait): Likewise.
8287 (lll_futex_wake): Likewise.
8288 (lll_futex_requeue): Likewise.
8289 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8290 (__lll_timedwait_tid): Spell out argument names.
8291 (lll_timedwait_tid): Add comments and parentheses around macro
8293 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8294 LLL_SHARED and LLL_PRIVATE usable from assembly code.
8296 2014-12-19 Torvald Riegel <triegel@redhat.com>
8298 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8299 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8300 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8301 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8302 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8303 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8304 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8305 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8306 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8307 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8308 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8309 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8310 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8311 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8312 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8313 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8314 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8315 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8316 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8318 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8320 * sysdeps/x86_64/x32/Makefile: New file.
8322 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8324 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8325 1L with (mp_limb_t) 1.
8327 2014-12-17 Roland McGrath <roland@hack.frob.com>
8329 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8330 * nptl/libc_pthread_init.c: ... here.
8331 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8332 * nptl/register-atfork.c: ... here.
8334 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8335 Use pthread_sigmask rather than INTERNAL_SYSCALL.
8336 Use assert_perror to check its return value.
8337 (__gai_create_helper_thread): Likewise.
8339 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8341 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8343 2014-12-17 Joseph Myers <joseph@codesourcery.com>
8346 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8348 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8350 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8352 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8354 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8355 (profil_counter): Likewise.
8356 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8357 (profil_counter): Likewise.
8358 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8360 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8362 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8363 (profil_counter): Likewise.
8364 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8366 [!__profil_counter] (profil_counter): Define as weak alias of
8368 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8369 (profil_counter): Rename to __profil_counter.
8370 [!__profil_counter] (profil_counter): Define as weak alias of
8372 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8373 (profil_counter): Rename to __profil_counter.
8374 [!__profil_counter] (profil_counter): Define as weak alias of
8376 * sysdeps/posix/profil.c: Update comment referring to
8378 (__profil): Use __profil_counter instead of profil_counter.
8379 * sysdeps/posix/sprofil.c (profil_counter): Rename to
8380 __profil_counter. Use __profil_counter_ushort and
8381 __profil_counter_uint in definitions.
8382 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8383 instead of profil_counter_uint and profil_counter_ushort.
8386 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8387 define as weak alias of __inet_makeaddr.
8388 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8389 as weak alias of __inet_addr.
8390 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8391 as weak alias of __inet_pton. Use libc_hidden_weak.
8392 * include/arpa/inet.h (__inet_pton): Declare. Use
8394 (inet_makeaddr): Don't use libc_hidden_proto.
8395 (__inet_makeaddr): Declare. Use libc_hidden_proto.
8396 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8397 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
8398 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8400 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8401 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8403 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
8405 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8407 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8409 * stdio-common/bug-vfprintf-nargs.c (do_test):
8410 Cast value to intptr_t to avoid format warning
8411 for usage with PRIdPTR printing macro.
8413 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8415 * libio/tst-widetext.c (do_test):
8416 Use format type %td instead of %Zd for ptrdiff_t
8417 in order to avoid format warning.
8419 2014-12-17 Andreas Schwab <schwab@suse.de>
8421 * nscd/mem.c (gc): Add size_t cast to match printf format.
8423 2014-12-16 Roland McGrath <roland@hack.frob.com>
8425 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8426 (init): Apply PTR_MANGLE to pointers before storing them.
8427 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8430 2014-12-16 Joseph Myers <joseph@codesourcery.com>
8433 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8434 define as weak alias of __memrchr.
8435 (__memrchr): Do not define as strong alias of memrchr.
8436 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8438 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8439 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8440 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8443 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8444 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
8445 (if_indextoname): Rename to __if_indextoname and define as weak
8446 alias of __if_indextoname. Use libc_hidden_weak.
8447 (if_freenameindex): Rename to __if_freenameindex and define as
8448 weak alias of __if_freenameindex.
8449 (if_nameindex): Rename to __if_nameindex and define as weak alias
8451 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8452 __if_nametoindex and define as weak alias of __if_nametoindex.
8453 Use libc_hidden_weak.
8454 (if_freenameindex): Rename to __if_freenameindex and define as
8455 weak alias of __if_freenameindex.
8456 (if_nameindex): Rename to __if_nameindex and define as weak alias
8458 (if_indextoname): Rename to __if_indextoname and define as weak
8459 alias of __if_indextoname. Use libc_hidden_weak.
8460 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8461 __if_nametoindex and define as weak alias of __if_nametoindex.
8462 Use libc_hidden_weak.
8463 (if_freenameindex): Rename to __if_freenameindex and define as
8464 weak alias of __if_freenameindex. Use libc_hidden_weak.
8465 (if_nameindex_netlink): Use __if_freenameindex instead of
8467 (if_nameindex): Rename to __if_nameindex and define as weak alias
8468 of __if_nameindex. Use libc_hidden_weak.
8469 (if_indextoname): Rename to __if_indextoname and define as weak
8470 alias of __if_indextoname. Use libc_hidden_weak.
8471 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8473 [!_ISOMAC] (__if_freenameindex): Likewise.
8474 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8476 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8478 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8479 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8480 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8481 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8482 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8483 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8484 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8486 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8488 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8489 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8491 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8493 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8494 subscript above bounds'
8496 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8499 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
8501 * libio/tst-fopenloc.c: Use test-skeleton.c.
8503 * stdlib/tst-bsearch.c: Use test-skeleton.c.
8504 (entry): Rename to ITEM.
8505 (do_test, comp): Adjust.
8507 * stdio-common/tst-fseek.c: Use test-skeleton.c.
8509 2014-12-16 Torvald Riegel <triegel@redhat.com>
8511 * string/tester.c: Include <libc-internal.h>.
8512 (test_memset): Ignore -Wmemset-transposed-args.
8514 2014-12-16 Torvald Riegel <triegel@redhat.com>
8516 * misc/tst-mntent2.c (do_test): Fix warning.
8518 2014-12-16 Torvald Riegel <triegel@redhat.com>
8520 * elf/tst-unique4lib.cc(a): Mark as used.
8522 2014-12-16 Florian Weimer <fweimer@redhat.com>
8525 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8528 2014-12-16 Allan McRae <allan@archlinux.org>
8530 * stdio-common/Makefile (tests): Re-add bug26.
8532 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
8535 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8538 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
8540 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8541 (__lll_lock_wait): Likewise.
8542 (__lll_timedlock_wait): Likewise.
8543 (__lll_timedwait_tid): Likewise.
8544 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8545 (__lll_robust_timedlock_wait): Likewise.
8546 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8547 (lll_cond_trylock): Likewise.
8548 (__lll_lock): Likewise.
8549 (__lll_robust_lock): Likewise.
8550 (__lll_cond_lock): Likewise.
8551 (lll_robust_cond_lock): Likewise.
8552 (__lll_timedlock): Likewise.
8553 (__lll_robust_timedlock): Likewise.
8554 (__lll_unlock): Likewise.
8555 (__lll_robust_unlock): Likewise.
8556 (lll_wait_tid): Likewise.
8557 (lll_timedwait_tid): Likewise.
8559 2014-12-15 Torvald Riegel <triegel@redhat.com>
8561 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8563 2014-12-15 Torvald Riegel <triegel@redhat.com>
8565 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8567 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8569 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8570 * stdio-common/tst-sprintf.c: Likewise.
8572 2014-12-15 Torvald Riegel <triegel@redhat.com>
8574 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8576 2014-12-15 Jeff Law <law@redhat.com>
8579 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8580 on the heap. (CVE-2012-3406)
8581 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8582 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
8583 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8585 2014-12-15 Will Newton <will.newton@linaro.org>
8587 * manual/install.texi: Bump required version of texinfo
8589 * INSTALL: Regenerated.
8590 * configure.ac: Check for makeinfo version 4.7 and above.
8591 * configure: Regenerated.
8593 2014-12-12 Roland McGrath <roland@hack.frob.com>
8595 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8596 PREFIX, string constant to insert between directory and name.
8597 * sysdeps/posix/shm_open.c: Update caller.
8598 * sysdeps/posix/shm_unlink.c: Likewise.
8599 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8600 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8601 (SEM_SHM_PREFIX): New macro.
8602 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8603 [$(have-thread-library) = no].
8604 * nptl/Makefile (libpthread-routines): Add shm-directory.
8605 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8606 * sysdeps/nptl/shm-directory.h: New file.
8607 * sysdeps/posix/shm-directory.c
8608 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8609 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8610 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8612 (__where_is_shmfs): Function removed.
8613 (mountpoint, defaultmount, defaultdir, __namedsem_once):
8615 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8617 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
8619 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8620 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8621 unconditional for use inside libpthread.
8622 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8624 2014-12-12 Roland McGrath <roland@hack.frob.com>
8626 * nptl/pthread_getaffinity.c: New file.
8627 * nptl/pthread_setaffinity.c: New file.
8628 * nptl/pthread_getname.c: New file.
8629 * nptl/pthread_setname.c: New file.
8631 * nptl/pthread_create.c (START_THREAD_DEFN)
8632 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8634 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8635 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8637 * resolv/res_send.c (send_vc): Disable warning resplen may
8638 be used uninitialized.
8640 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8643 (ATTR_NULL): New define checks ATTR against NULL.
8644 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8645 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8647 2014-12-11 James Lemke <jwlemke@codesourcery.com>
8651 (mem2mem_check): Revert my previous change.
8652 (malloc_check_get_size): Revert my previous change.
8653 (mem2chunk_check): Revert my previous change.
8655 2014-12-11 Roland McGrath <roland@hack.frob.com>
8657 * sysdeps/posix/shm-directory.c: New file.
8658 * sysdeps/posix/shm-directory.h: New file.
8659 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8660 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8661 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
8662 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8663 Transmute EPERM to EACCES.
8664 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8666 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
8667 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8669 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8671 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8672 pointer and cast to uintptr_t.
8673 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8674 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8675 Add cast to avoid warning.
8676 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8678 2014-12-11 Joseph Myers <joseph@codesourcery.com>
8680 * nptl/semaphore.h: Move to ...
8681 * sysdeps/pthread/semaphore.h: ... here.
8682 * Makefile (installed-headers): Change nptl/semaphore.h to
8683 sysdeps/pthread/semaphore.h.
8685 2014-12-11 Roland McGrath <roland@hack.frob.com>
8687 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8688 generated error format strings.
8690 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8691 -Wformat-extra-args warnings for scanf formats.
8692 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8693 test of zero-length format (duh).
8694 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8695 corner-case scanf format test.
8696 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8697 generated fprintf format string.
8698 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8699 corner-case sprintf format tests.
8700 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8701 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8702 -Wformat-extra-args warnings throughout.
8703 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8704 (CFLAGS-scanf4.c): Likewise.
8705 (CFLAGS-scanf7.c): Likewise.
8706 (CFLAGS-tst-sprintf.c): Likewise.
8707 (CFLAGS-tst-printf.c): Likewise.
8708 (CFLAGS-tst-printfsz.c): Likewise.
8710 2014-12-11 Joseph Myers <joseph@codesourcery.com>
8712 * include/cpio.h: New file.
8713 * include/fmtmsg.h: Likewise.
8715 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
8716 corresponding format argument to size_t.
8717 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
8719 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
8720 corresponding format argument to size_t.
8721 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
8723 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
8724 corresponding format argument to size_t.
8725 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8726 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8727 (CFLAGS-tst-mbswcs2.c): Likewise.
8728 (CFLAGS-tst-mbswcs3.c): Likewise.
8729 (CFLAGS-tst-mbswcs4.c): Likewise.
8730 (CFLAGS-tst-mbswcs5.c): Likewise.
8731 (CFLAGS-tst-trans.c): Likewise
8733 2014-12-11 Roland McGrath <roland@hack.frob.com>
8735 * posix/regexbug1.c (main): Use "%s" format with regerror results,
8736 rather than assuming they won't contain any '%'s.
8738 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
8740 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8741 inhibit_loop_to_libcall to avoid recursive calls.
8742 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8743 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8745 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8747 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8750 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
8752 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8753 integer value instead of boolean.
8755 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
8757 * malloc/malloc.c: Fix powerof2 check.
8759 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8761 * locale/programs/locfile.h (maybe_swap_uint32):
8762 Remove inline and add unused attribute.
8764 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8766 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8767 Truncating assembler expression to a .long expression.
8769 2014-12-11 Andreas Schwab <schwab@suse.de>
8771 * elf/rtld.c (struct map_args): Constify str member.
8772 (do_preload): Constify fname argument.
8774 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8776 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8777 constants definition.
8779 2014-12-11 Andreas Schwab <schwab@suse.de>
8782 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8783 FORCE_ELISION instead of DO_ELISION.
8784 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8786 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8789 * iconvdata/gconv-modules: Remove duplicate entry.
8791 2014-12-11 Will Newton <will.newton@linaro.org>
8793 Merge gettext 0.19.3 into intl/.
8795 This involves a number of cosmetic changes to comments
8796 and ANSI function definitions and prototypes throughout
8797 all the files. The gettext copyright header is used but
8798 with the date ranges taken from the glibc copy.
8800 * NEWS: Add gettext merge to 2.21.
8801 * intl/bindtextdom.c: Switch to gettext copyright.
8802 Use ANSI definitions and prototypes.
8803 Use gl_* locking primitives rather than __libc_* ones.
8804 Use __builtin_expect rather than __glibc_likely/unlikely.
8805 * intl/dcgettext.c: Switch to gettext copyright.
8806 Use ANSI definitions and prototypes.
8807 * intl/dcigettext.c: Switch to gettext copyright.
8808 Use ANSI definitions and prototypes.
8809 (INTDIV0_RAISES_SIGFPE): New define.
8810 Use gl_* locking primitives rather than __libc_* ones.
8811 Include eval-plural.h instead of plural-eval.c.
8812 Use __builtin_expect rather than __glibc_likely/unlikely.
8813 * intl/dcngettext.c: Switch to gettext copyright.
8814 Use ANSI definitions and prototypes.
8815 * intl/dgettext.c: Likewise.
8816 * intl/dngettext.c: Likewise.
8817 * intl/plural-eval.c: Renamed to...
8818 * intl/eval-plural.h: ...this.
8819 * intl/explodename.c: Switch to gettext copyright.
8820 Use ANSI definitions and prototypes.
8821 (_nl_explode_name): Use strchr instead of __rawmemchr.
8822 * intl/finddomain.c: Switch to gettext copyright.
8823 Use ANSI definitions and prototypes.
8824 Use gl_* locking primitives rather than __libc_* ones.
8825 (_nl_find_domain): Use malloc rather than alloca for
8826 allocation of temporary locale name.
8827 * intl/gettext.c: Switch to gettext copyright.
8828 Use ANSI definitions and prototypes.
8829 * intl/gettextP.h: Switch to gettext copyright.
8830 Use ANSI definitions and prototypes.
8831 Use gl_* locking primitives rather than __libc_* ones.
8832 * intl/gmo.h: Switch to gettext copyright.
8833 (struct sysdep_string): Move struct segment_pair outside of
8835 * intl/hash-string.c: Use ANSI definitions and prototypes.
8836 * intl/hash-string.h: Switch to gettext copyright.
8837 Use ANSI definitions and prototypes.
8838 * intl/l10nflist.c: Switch to gettext copyright.
8839 Use ANSI definitions and prototypes.
8840 (_nl_normalize_codeset): Avoid integer overflow.
8841 * intl/loadinfo.h: Switch to gettext copyright.
8842 Use ANSI definitions and prototypes.
8843 (LIBINTL_DLL_EXPORTED): New define.
8844 (PATH_SEPARATOR): New define.
8845 * intl/loadmsgcat.c: Switch to gettext copyright.
8846 * intl/localealias.c: Switch to gettext copyright.
8847 Use ANSI definitions and prototypes.
8848 (_nl_expand_alias): Use PATH_SEPARATOR.
8849 * intl/ngettext.c: Switch to gettext copyright.
8850 Use ANSI definitions and prototypes.
8851 * intl/plural-exp.c: Likewise.
8852 * intl/plural-exp.h: Switch to gettext copyright.
8853 Use ANSI definitions and prototypes.
8854 (struct expression): Move definition of enum operator outside
8855 of struct definition.
8856 * intl/plural.c: Regenerate.
8857 * intl/plural.y: Switch to gettext copyright.
8858 Use ANSI definitions and prototypes.
8860 * intl/textdomain.c: Switch to gettext copyright.
8861 Use ANSI definitions and prototypes.
8862 Use gl_* locking primitives rather than __libc_* ones.
8864 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
8866 * debug/warning-nop.c: Add used atrribute.
8868 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8870 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8872 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8873 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8874 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8876 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8877 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8880 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8881 Undefine after defining function. Define as weak alias of
8882 __wcschr. Use libc_hidden_weak.
8883 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
8884 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8885 (libc_hidden_def): Also define __GI___wcschr alias.
8886 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8887 __wcschr and define as weak alias of __wcschr.
8888 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8890 [!WCSCHR] (DEFAULT_WCSCHR): Define.
8891 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8892 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
8893 libc_hidden_weak. Do not use libc_hidden_def.
8894 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8895 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8896 __GI___wcschr alias.
8897 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8898 [IS_IN (libc)] (wcschr): Define as macro expanding to
8900 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8901 [IS_IN (libc)] (__wcschr_power6): Likewise.
8902 [IS_IN (libc)] (__wcschr_power7): Likewise.
8903 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
8905 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8907 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8908 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8909 __wcschr and define as weak alias of __wcschr. Use
8910 libc_hidden_builtin_def.
8911 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8912 as weak alias of __wcschr. Use libc_hidden_weak.
8913 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8915 * time/era.c (_nl_init_era_entries): Likewise.
8916 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8918 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8919 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8921 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8923 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8924 format for long int variable.
8926 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
8929 * manual/search.texi: (Array Sort Function): Remove claim how to make
8932 2014-12-10 Andreas Schwab <schwab@suse.de>
8935 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8936 user-controlled locks.
8938 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
8940 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8943 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8945 * configure.ac (--disable-werror): New configure option.
8946 (enable_werror): New AC_SUBST.
8947 * configure: Regenerated.
8948 * config.make.in (enable-werror): New variable.
8949 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8951 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8952 * manual/install.texi (Configuring and compiling): Document
8954 * INSTALL: Regenerated.
8955 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8956 (CFLAGS-tst-chk2.c): Likewise.
8957 (CFLAGS-tst-chk3.c): Likewise.
8958 (CFLAGS-tst-chk4.cc): Likewise.
8959 (CFLAGS-tst-chk5.cc): Likewise.
8960 (CFLAGS-tst-chk6.cc): Likewise.
8961 (CFLAGS-tst-lfschk1.c): Likewise.
8962 (CFLAGS-tst-lfschk2.c): Likewise.
8963 (CFLAGS-tst-lfschk3.c): Likewise.
8964 (CFLAGS-tst-lfschk4.cc): Likewise.
8965 (CFLAGS-tst-lfschk5.cc): Likewise.
8966 (CFLAGS-tst-lfschk6.cc): Likewise.
8968 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8969 (main): Disable -Wdeprecated-declarations around calls to
8970 register_printf_function.
8972 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8973 (do_test): Disable -Wdiv-by-zero around some calls to
8974 fwrite_unlocked and fread_unlocked.
8976 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8977 (DIAG_POP_NEEDS_COMMENT): Likewise.
8978 (_DIAG_STR1): Likewise.
8979 (_DIAG_STR): Likewise.
8980 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8981 * stdio-common/bug21.c: Include <libc-internal.h>.
8982 (do_test): Disable -Wformat around call to sscanf.
8983 * stdio-common/scanf14.c: Include <libc-internal.h>.
8984 (main): Disable -Wformat around some calls to scanf functions.
8986 2014-12-09 Torvald Riegel <triegel@redhat.com>
8988 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8990 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8992 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8993 stack variable alignment.
8995 2014-12-06 Joseph Myers <joseph@codesourcery.com>
8998 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8999 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
9000 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
9001 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
9002 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
9003 __getrlimit instead of getrlimit.
9004 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9005 __gettimeofday instead of gettimeofday.
9006 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9008 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9010 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9011 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9013 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9014 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9016 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9018 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9019 for wide-character tests.
9021 2014-12-04 Roland McGrath <roland@hack.frob.com>
9023 * io/openat64.c: #include <libc-internal.h>
9024 (__openat64): Prototypify. Use ignore_value on MODE.
9025 * io/openat.c: Likewise.
9026 * misc/reboot.c: #include <libc-internal.h>
9027 (reboot): Prototypify. Use ignore_value on HOWTO.
9028 * misc/ptrace.c: #include <libc-internal.h>
9029 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
9031 2014-12-04 Joseph Myers <joseph@codesourcery.com>
9033 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9034 XPG4, UNIX98 and XOPEN2K.
9035 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9037 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9039 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9041 * libio/fileops.c: Use ISO C style for function definitions.
9042 * libio/iofopen.c: Likewise.
9043 * libio/wfileops.c: Likewise.
9046 * libio/fileops.c (_IO_new_file_underflow): Unset cached
9048 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9049 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9050 (fgets_func): Function pointer to fgets and fgetws.
9051 (do_ftell_test): Add test to verify ftell value after read
9053 (do_test): Set fgets_func.
9055 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9056 O_TRUNC flag for w and w+ modes.
9057 (do_rewind_test): Likewise.
9058 (do_ftell_test): Likewise.
9059 (do_write_test): Likewise.
9062 * libio/fileops.c (do_ftell): Seek only when there are
9064 * libio/wfileops.c (do_ftell_wide): Likewise.
9065 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9067 (do_one_test): Call it.
9069 2014-12-03 Joseph Myers <joseph@codesourcery.com>
9071 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9072 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9073 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9075 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9076 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9077 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9079 2014-12-02 Joseph Myers <joseph@codesourcery.com>
9081 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9083 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9086 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9087 as weak alias of __getifaddrs. Use libc_hidden_weak.
9088 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9089 __freeifaddrs. Use libc_hidden_weak.
9090 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9091 define as weak alias of __getifaddrs. Use libc_hidden_weak.
9092 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9093 __freeifaddrs. Use libc_hidden_weak.
9094 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9095 __getifaddrs and define as weak alias of __getifaddrs. Use
9097 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9098 __freeifaddrs. Use libc_hidden_weak.
9099 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9101 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9102 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9104 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
9107 * sysdeps/mips/start.S (__start): Use indirect jump to call
9110 2014-12-02 Joseph Myers <joseph@codesourcery.com>
9112 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9114 * nptl/tst-mutex1.c: Include <stdbool.h>.
9115 [!ATTR] (ATTR_NULL): New macro.
9116 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9117 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9118 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9120 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9124 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9125 Change conditional to [__USE_MISC].
9128 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9130 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9132 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9134 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9136 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9137 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9138 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9139 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9140 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9141 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9142 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9143 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9144 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9146 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9148 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9150 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9151 Remove strpbrk objects.
9152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9153 (__libc_ifunc_impl_list): Remove strpbrk implementation.
9154 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9155 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9156 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9157 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9159 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9160 Remove strcspn objects.
9161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9162 (__libc_ifunc_impl_list): Remove strcspn implementation.
9163 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9164 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9165 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9166 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9168 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9169 Remove strspn objetcs.
9170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9171 (__libc_ifunc_impl_list): Remove strspn implementation.
9172 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9173 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9174 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9175 * sysdeps/powerpc/powerpc64/strspn.S: New file.
9177 2014-12-01 James Lemke <jwlemke@codesourcery.com>
9181 (mem2mem_check): Add a terminator to the chain of checking blocks.
9182 (malloc_check_get_size): Use it here.
9183 (mem2chunk_check): Ditto.
9185 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9187 * sysdeps/powerpc/powerpc64/strtok.S: New file.
9188 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9190 2014-11-29 Carlos O'Donell <carlos@redhat.com>
9192 * bits/ioctl-types.h: Indent preprocessor directives correctly.
9194 * nptl/nptl-init.c: Include libc-internal.h.
9195 (__pthread_initialize_minimal_internal): Use ROUND_UP.
9197 * elf/ldconfig.c (search_dir): Expand comment.
9199 2014-11-29 Joseph Myers <joseph@codesourcery.com>
9201 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9203 (linknamespace-symlist-stdlibs-tests): Likewise.
9204 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9205 instead of $(objpfx)symlist-stdlibs.
9206 (linknamespace-libs-isoc): New variable.
9207 (linknamespace-libs): Use $(linknamespace-libs-isoc).
9208 (linknamespace-libs-ISO): New variable.
9209 (linknamespace-libs-ISO99): Likewise.
9210 (linknamespace-libs-ISO11): Likewise.
9211 (linknamespace-libs-XPG3): Likewise.
9212 (linknamespace-libs-XPG4): Likewise.
9213 (linknamespace-libs-POSIX): Likewise.
9214 (linknamespace-libs-UNIX98): Likewise.
9215 (linknamespace-libs-XOPEN2K): Likewise.
9216 (linknamespace-libs-POSIX2008): Likewise.
9217 (linknamespace-libs-XOPEN2K8): Likewise.
9218 ($(objpfx)symlist-stdlibs): Replace by
9219 $(linknamespace-symlist-stdlibs-tests). Use
9220 $(linknamespace-libs-$*) as set of libraries.
9221 ($(linknamespace-header-tests)): Update dependencies. Use
9222 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9223 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9224 * conform/linknamespace.pl: Remove comment about considering
9225 definitions of symbols from irrelevant libraries.
9227 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
9230 * elf/dl-tls.c: Include <atomic.h>.
9231 (oom): Remove #ifdef SHARED/#endif.
9232 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9233 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
9234 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9236 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9237 * nptl/Makefile (tests): Add tst-stack4.
9238 (modules-names): Add tst-stack4mod.
9239 ($(objpfx)tst-stack4): New.
9240 (tst-stack4mod.sos): Likewise.
9241 ($(objpfx)tst-stack4.out): Likewise.
9242 ($(tst-stack4mod.sos)): Likewise.
9244 * nptl/tst-stack4.c: New file.
9245 * nptl/tst-stack4mod.c: Likewise.
9247 2014-11-27 J. Brown <jb999@gmx.de>
9249 * sysdeps/x86/bits/string.h: Add recent CPUs.
9251 2014-11-27 Joseph Myers <joseph@codesourcery.com>
9253 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9256 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9259 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9262 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
9264 * nscd/connections.c: Include libc-internal.h because of macro
9267 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9269 * string/bits/string3.h (__warn_memset_zero_len): Don't
9270 declare for gcc newer than 5.0.
9271 (memset): Don't test for zero-length __LEN for gcc newer than
9274 2014-11-27 Joseph Myers <joseph@codesourcery.com>
9276 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9277 size_t for %zu format.
9279 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9280 difference, not %ju.
9282 2014-11-26 Joseph Myers <joseph@codesourcery.com>
9284 * include/libc-internal.h (ignore_value): New macro.
9285 * nscd/connections.c (restart): Wrap calls to setuid and setgid
9288 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9291 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9292 pthread_cleanup_push to void *.
9294 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9299 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9300 instead of 1L << 52.
9302 * libio/bug-rewind.c (do_test): Check fwscanf return values.
9303 * libio/bug-rewind2.c (do_test): Likewise.
9305 * debug/test-stpcpy_chk-ifunc.c: Remove file.
9306 * debug/test-strcpy_chk-ifunc.c: Likewise.
9307 * wcsmbs/test-wcschr-ifunc.c: Likewise.
9308 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9309 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9310 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9311 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9312 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9313 * Rules [$(multi-arch) = no] (tests): Do not filter out
9315 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9316 * debug/Makefile (tests-ifunc): Remove variable.
9317 (tests): Do not add $(tests-ifunc).
9318 * wcsmbs/Makefile (tests-ifunc): Remove variable.
9319 (tests): Do not add $(tests-ifunc).
9320 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9321 [TEST_IFUNC]: Remove conditionals.
9322 * string/test-string.h (TEST_IFUNC): Remove macro.
9323 [TEST_IFUNC]: Remove conditionals.
9325 * string/test-strchr.c [!WIDE] (L): New macro.
9326 [WIDE] (L): Likewise.
9327 (check1): Use CHAR instead of char. Use L on string and character
9330 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
9332 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9334 * sysdeps/powerpc/bits/atomic.h
9335 (__arch_atomic_exchange_and_add_32_acq): Add definition.
9336 (__arch_atomic_exchange_and_add_32_rel): Likewise.
9337 (atomic_exchange_and_add_acq): Likewise.
9338 (atomic_exchange_and_add_rel): Likewise.
9339 * sysdeps/powerpc/powerpc32/bits/atomic.h
9340 (__arch_atomic_exchange_and_add_64_acq): Add definition.
9341 (__arch_atomic_exchange_and_add_64_rel): Likewise.
9342 * sysdeps/powerpc/powerpc64/bits/atomic.h
9343 (__arch_atomic_exchange_and_add_64_acq): Add definition.
9344 (__arch_atomic_exchange_and_add_64_rel): Likewise.
9346 2014-11-26 Torvald Riegel <triegel@redhat.com>
9348 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9349 Change synchronization of __sched_fifo_min_prio and
9350 __sched_fifo_max_prio.
9351 * nptl/pthread_mutexattr_getprioceiling.c
9352 (pthread_mutexattr_getprioceiling): Likewise.
9353 * nptl/pthread_mutexattr_setprioceiling.c
9354 (pthread_mutexattr_setprioceiling): Likewise.
9355 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9356 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9359 2014-11-26 Joseph Myers <joseph@codesourcery.com>
9361 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9364 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9366 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9367 third argument const.
9369 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
9371 fnmatch: work around GCC compiler warning bug with uninit var
9372 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9373 This works around a bug with x86-64 GCC 4.9.2 and earlier
9374 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9375 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9376 used uninitialized in this function [-Wmaybe-uninitialized]".
9378 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9380 * posix/bug-regex31.c (main): Return RES not 0.
9382 2014-11-25 Anton Blanchard <anton@samba.org>
9384 * sysdeps/powerpc/bits/atomic.h
9385 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9387 2014-11-24 Sterling Augustine <saugustine@google.com>
9389 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9391 2014-11-24 Ryan Cumming <etaoins@gmail.com>
9394 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9396 2014-11-24 Joseph Myers <joseph@codesourcery.com>
9399 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9400 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9402 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9403 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9405 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9407 * string/strncpy.c (strncpy): Improve performance by using memset.
9409 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9411 * string/strcpy.c (strcpy):
9412 Improve performance by using strlen and memcpy.
9414 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
9416 * string/strcoll_l.c (get_next_seq): __always_inline.
9417 * string/strcoll_l.c (do_compare): __always_inline.
9419 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9421 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9423 * include/mqueue.h: Likewise.
9424 * include/stdlib.h: Likewise.
9426 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9427 (get_null_defines): Adjust.
9428 * sunrpc/Makefile: Adjust comment.
9429 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9430 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9431 (CFLAGS-interp.c): Likewise.
9432 (CFLAGS-ldconfig.c): Likewise.
9433 (CPPFLAGS-.os): Likewise.
9434 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9435 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9436 * extra-modules.mk (extra-modules.mk): Likewise.
9437 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9438 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9439 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9440 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9441 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9442 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9443 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9444 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9445 * iconvdata/Makefile (CPPFLAGS): Likewise.
9446 (cpp-srcs-left): Add libof for all iconvdata routines.
9447 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9448 * include/assert.h: Likewise.
9449 * include/ctype.h: Likewise.
9450 * include/errno.h: Likewise.
9451 * include/libc-symbols.h: Likewise.
9452 * include/math.h: Likewise.
9453 * include/netdb.h: Likewise.
9454 * include/resolv.h: Likewise.
9455 * include/stdio.h: Likewise.
9456 * include/stdlib.h: Likewise.
9457 * include/string.h: Likewise.
9458 * include/sys/stat.h: Likewise.
9459 * include/wctype.h: Likewise.
9460 * intl/l10nflist.c: Likewise.
9461 * libidn/idn-stub.c: Likewise.
9462 * libio/libioP.h: Likewise.
9463 * nptl/libc_multiple_threads.c: Likewise.
9464 * nptl/pthreadP.h: Likewise.
9465 * posix/regex_internal.h: Likewise.
9466 * resolv/res_hconf.c: Likewise.
9467 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9468 * sysdeps/arm/memmove.S: Likewise.
9469 * sysdeps/arm/sysdep.h: Likewise.
9470 * sysdeps/generic/_itoa.h: Likewise.
9471 * sysdeps/generic/symbol-hacks.h: Likewise.
9472 * sysdeps/gnu/errlist.awk: Likewise.
9473 * sysdeps/gnu/errlist.c: Likewise.
9474 * sysdeps/i386/i586/memcpy.S: Likewise.
9475 * sysdeps/i386/i586/memset.S: Likewise.
9476 * sysdeps/i386/i686/memcpy.S: Likewise.
9477 * sysdeps/i386/i686/memmove.S: Likewise.
9478 * sysdeps/i386/i686/mempcpy.S: Likewise.
9479 * sysdeps/i386/i686/memset.S: Likewise.
9480 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9481 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9482 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9483 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9484 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9485 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9486 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9487 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9488 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9490 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9491 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9492 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9493 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9494 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9495 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9496 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9497 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9498 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9499 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9500 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9501 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9502 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9503 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9504 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9505 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9506 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9507 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9508 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9509 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9510 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9511 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9512 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9513 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9514 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9515 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9516 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9517 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9518 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9519 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9520 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9521 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9522 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9523 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9524 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9525 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9526 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9527 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9528 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9529 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9530 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9531 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9532 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9533 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9534 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9535 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9536 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9537 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9538 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9539 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9540 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9541 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9542 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9543 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9544 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9545 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9546 * sysdeps/posix/closedir.c: Likewise.
9547 * sysdeps/posix/opendir.c: Likewise.
9548 * sysdeps/posix/readdir.c: Likewise.
9549 * sysdeps/posix/rewinddir.c: Likewise.
9550 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9551 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9552 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9553 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9554 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9555 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9556 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9557 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9558 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9559 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9560 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9561 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9562 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9563 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9564 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9565 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9566 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9567 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9568 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9569 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9570 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9571 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9572 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9573 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9574 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9575 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9576 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9577 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9578 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9580 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9581 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9582 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9583 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9584 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9585 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9586 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9587 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9588 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9589 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9590 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9591 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9592 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9593 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9594 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9595 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9596 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9597 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9598 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9599 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9600 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9601 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9602 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9603 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9604 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9605 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9606 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9607 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9608 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9609 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9610 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9611 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9612 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9613 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9614 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9615 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9616 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9617 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9618 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9619 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9620 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9621 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9622 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9623 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9624 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9625 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9626 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9627 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9628 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9629 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9630 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9631 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9632 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9633 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9634 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9635 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9636 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9637 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9638 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9639 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9640 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9641 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9642 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9643 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9644 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9645 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9646 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9647 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9648 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9649 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9650 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9651 * sysdeps/unix/alpha/sysdep.S: Likewise.
9652 * sysdeps/unix/alpha/sysdep.h: Likewise.
9653 * sysdeps/unix/make-syscalls.sh: Likewise.
9654 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9655 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9656 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9657 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9658 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9659 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9660 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9661 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9662 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9663 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9664 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9665 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9666 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9667 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9668 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9669 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9670 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9671 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9672 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9673 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9674 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9675 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9676 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9677 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9678 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9679 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9680 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9683 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9684 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9685 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9686 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9687 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9688 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9689 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9690 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9691 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9692 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9693 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9694 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9695 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9696 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9697 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9698 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9699 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9700 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9701 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9702 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9703 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9704 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9705 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9706 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9707 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9708 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9709 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9710 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9712 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9713 * sysdeps/x86_64/memcpy.S: Likewise.
9714 * sysdeps/x86_64/memmove.c: Likewise.
9715 * sysdeps/x86_64/memset.S: Likewise.
9716 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9717 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9718 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9719 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9720 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9721 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9722 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9723 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9724 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9725 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9726 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9727 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9728 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9729 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9730 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9731 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9732 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9733 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9734 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9735 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9736 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9737 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9738 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9739 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9740 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9741 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9742 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9743 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9744 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9745 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9746 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9747 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9748 * sysdeps/x86_64/strcmp.S: Likewise.
9750 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9752 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9753 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9754 * elf/rtld-Rules: Likewise.
9755 * elf/setup-vdso.h: Likewise.
9756 * include/assert.h: Likewise.
9757 * include/bits/stdlib-float.h: Likewise.
9758 * include/errno.h: Likewise.
9759 * include/sys/stat.h: Likewise.
9760 * include/unistd.h: Likewise.
9761 * sysdeps/aarch64/setjmp.S: Likewise.
9762 * sysdeps/alpha/setjmp.S: Likewise.
9763 * sysdeps/arm/__longjmp.S: Likewise.
9764 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9765 * sysdeps/arm/setjmp.S: Likewise.
9766 * sysdeps/arm/sysdep.h: Likewise.
9767 * sysdeps/generic/_itoa.h: Likewise.
9768 * sysdeps/generic/dl-sysdep.h: Likewise.
9769 * sysdeps/generic/ldsodefs.h: Likewise.
9770 * sysdeps/i386/dl-tls.h: Likewise.
9771 * sysdeps/i386/setjmp.S: Likewise.
9772 * sysdeps/m68k/setjmp.c: Likewise.
9773 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9774 * sysdeps/mach/hurd/opendir.c: Likewise.
9775 * sysdeps/posix/getcwd.c: Likewise.
9776 * sysdeps/posix/opendir.c: Likewise.
9777 * sysdeps/posix/profil.c: Likewise.
9778 * sysdeps/powerpc/dl-procinfo.h: Likewise.
9779 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9780 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9781 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9782 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9783 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9784 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9785 * sysdeps/s390/dl-tls.h: Likewise.
9786 * sysdeps/s390/s390-32/setjmp.S: Likewise.
9787 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9788 * sysdeps/sh/sh3/setjmp.S: Likewise.
9789 * sysdeps/sh/sh4/setjmp.S: Likewise.
9790 * sysdeps/unix/alpha/sysdep.h: Likewise.
9791 * sysdeps/unix/arm/sysdep.S: Likewise.
9792 * sysdeps/unix/i386/sysdep.S: Likewise.
9793 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9794 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9795 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9796 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9797 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9798 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9799 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9800 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9801 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9802 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9803 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9804 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9805 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9808 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9809 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9810 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9811 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9812 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9813 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9814 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9815 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9816 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9817 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9818 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9819 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9820 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9821 * sysdeps/x86_64/setjmp.S: Likewise.
9823 * include/math.h: Use IS_IN instead of IS_IN_libm.
9824 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9825 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9826 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9827 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9828 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9829 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9830 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9831 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9832 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9833 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9834 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9835 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9836 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9837 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9838 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9839 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9840 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9841 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9842 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9843 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9844 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9845 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9846 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9847 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9848 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9849 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9850 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9851 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9852 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9853 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9854 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9855 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9856 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9867 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9868 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9869 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9870 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9871 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9872 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9878 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9879 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9880 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9881 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9882 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9883 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9884 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9885 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9886 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9887 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9888 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9889 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9890 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9891 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9893 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9895 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9896 * nptl/pthreadP.h: Likewise.
9897 * nptl_db/structs.def: Likewise.
9898 * sysdeps/arm/sysdep.h: Likewise.
9899 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9900 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9901 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9902 * sysdeps/unix/alpha/sysdep.h: Likewise.
9903 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9904 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9905 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9906 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9907 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9908 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9909 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9910 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9911 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9912 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9913 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9914 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9915 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9916 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9919 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9920 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9921 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9922 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9923 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9924 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9925 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9926 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9927 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9928 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9930 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9931 * nptl/pthreadP.h: Likewise.
9932 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9933 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9934 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9935 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9936 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9937 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9938 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9939 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9940 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9941 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9942 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9943 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9948 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9949 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9950 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9951 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9952 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9953 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9954 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9955 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9957 * dlfcn/dladdr.c: Use IS_IN.
9958 * dlfcn/dladdr1.c: Likewise.
9959 * dlfcn/dlclose.c: Likewise.
9960 * dlfcn/dlerror.c: Likewise.
9961 * dlfcn/dlinfo.c: Likewise.
9962 * dlfcn/dlmopen.c: Likewise.
9963 * dlfcn/dlopen.c: Likewise.
9964 * dlfcn/dlsym.c: Likewise.
9965 * dlfcn/dlvsym.c: Likewise.
9967 * include/ifaddrs.h: Use IS_IN.
9968 * inet/check_pf.c: Likewise.
9969 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9970 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9972 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9974 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9975 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9977 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9978 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9981 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9983 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9984 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9985 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9986 * include/libc-symbols.h (IS_IN_LIB): New macro.
9987 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9988 * include/netdb.h: Likewise.
9989 * include/stap-probe.h: Remove all uses of IN_LIB.
9991 * Makeconfig (module-cppflags-real): Define MODULE_NAME
9992 instead of IN_MODULE.
9993 * include/libc-symbols.h (IN_MODULE): Define using
9995 (PASTE_NAME, PASTE_NAME1): New macros.
9996 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9998 (STAP_PROBE_ASM): Likewise.
10000 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
10002 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
10003 __mach_init in dlopened libc.
10005 2014-11-22 Mike Frysinger <vapier@gentoo.org>
10007 * sysdeps/arm/preconfigure.ac: Delete EABI check.
10008 * sysdeps/arm/preconfigure: Regenerate.
10010 2014-11-21 Roland McGrath <roland@hack.frob.com>
10012 * nptl/pthread_create.c (__pthread_create_2_1): Set
10013 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10014 when copying values from IATTR into PD.
10016 2014-11-21 Will Newton <will.newton@linaro.org>
10017 Andrew Pinski <andrew.pinski@caviumnetworks.com>
10019 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10020 Refactor inline-asm. Also add comment.
10022 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10023 ElfW macro instead of hardcoded Elf64 types.
10024 (la_aarch64_gnu_pltenter): Likewise.
10025 * sysdeps/aarch64/dl-machine.h
10026 (elf_machine_runtime_setup): Use ElfW(Addr).
10028 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10029 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10030 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10031 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10032 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10033 (R_AARCH64_TLS_DTPMOD64): Rename to ..
10034 (R_AARCH64_TLS_DTPMOD): This.
10035 (R_AARCH64_TLS_DTPREL64): Rename to ...
10036 (R_AARCH64_TLS_DTPREL): This.
10037 (R_AARCH64_TLS_TPREL64): Rename to ...
10038 (R_AARCH64_TLS_TPREL): This.
10039 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10040 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10041 R_AARCH64_TLS_TPREL64.
10042 (elf_machine_rela): Likewise.
10044 2014-11-21 Torvald Riegel <triegel@redhat.com>
10046 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10047 by setting it to 0. 64b atomics are not supported currently.
10049 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10052 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10053 search domain names.
10055 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10059 * resolv/res_query.c (__libc_res_nquerydomain): Retain
10061 * posix/tst-getaddrinfo5.c: New.
10062 * posix/Makefile (tests): Add it.
10064 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10068 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10069 after parsing line but before break_if_match.
10070 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10071 if there is a protocol mismatch.
10073 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10075 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10076 because the potential race is on the user-supplied stream.
10078 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10080 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10081 string literal if not passed a buffer.
10082 * manual/job.texi (ctermid): Update reasoning, note deviation
10083 from posix, suggest mtasurace when not passed a buffer, for
10084 future non-preliminary safety notes.
10086 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10088 * manual/users.texi (cuserid): Fix MT-Safety note for the case
10089 of not passing it a buffer.
10090 Reported by Peng Haitao.
10092 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10094 * manual/Makefile ($(objpfx)stamp-summary): Require
10095 check-safety.sh to pass.
10096 * manual/check-safety.sh: Wish for verification that every
10097 @deftypefn and @deftypefun is followed by a @safety remark.
10099 2014-11-20 Roland McGrath <roland@hack.frob.com>
10101 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10103 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10104 PTHREAD_CANCEL_ASYNCHRONOUS.
10105 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10108 * nptl/default-sched.h: New file.
10109 * sysdeps/unix/sysv/linux/default-sched.h: New file.
10110 * nptl/pthread_create.c: Include it.
10111 (__pthread_create_2_1): Use collect_default_sched instead of making
10112 Linux syscalls here directly.
10114 2014-11-20 Torvald Riegel <triegel@redhat.com>
10116 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10117 __pthread_once): Use C11 atomics.
10119 2014-11-20 Torvald Riegel <triegel@redhat.com>
10121 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10123 2014-11-20 Torvald Riegel <triegel@redhat.com>
10125 * include/atomic.h (__atomic_link_error, __atomic_check_size,
10126 atomic_thread_fence_acquire, atomic_thread_fence_release,
10127 atomic_thread_fence_seq_cst, atomic_load_relaxed,
10128 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10129 atomic_compare_exchange_weak_relaxed,
10130 atomic_compare_exchange_weak_acquire,
10131 atomic_compare_exchange_weak_release,
10132 atomic_exchange_acquire, atomic_exchange_release,
10133 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10134 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10135 atomic_fetch_and_acquire,
10136 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10138 2014-11-20 Torvald Riegel <triegel@redhat.com>
10140 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10141 USE_ATOMIC_COMPILER_BUILTINS): Define.
10142 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10143 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10144 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10145 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10146 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10147 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10148 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10149 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10150 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10151 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10152 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10153 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10154 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10155 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10156 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10157 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10158 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10159 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10160 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10161 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10162 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10163 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10164 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10165 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10166 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10167 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10168 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10169 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10170 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10171 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10172 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10173 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10174 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10175 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10176 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10177 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10178 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10179 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10180 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10181 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10183 2014-11-19 Roland McGrath <roland@hack.frob.com>
10185 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10186 the sched_priority value here. It was already checked when the user
10187 called pthread_attr_setschedparam.
10189 * nptl/tst-bad-schedattr.c: New file.
10190 * nptl/Makefile (tests): Add it.
10192 2014-11-19 Carlos O'Donell <carlos@redhat.com>
10193 Florian Weimer <fweimer@redhat.com>
10194 Joseph Myers <joseph@codesourcery.com>
10195 Adam Conrad <adconrad@0c3.net>
10196 Andreas Schwab <schwab@suse.de>
10197 Brooks <bmoses@google.com>
10200 * wordexp-test.c (__dso_handle): Add prototype.
10201 (__register_atfork): Likewise.
10202 (__app_register_atfork): New function.
10203 (registered_forks): New global.
10204 (register_fork): New function.
10205 (test_case): Add 3 new tests for WRDE_CMDSUB.
10206 (main): Call __app_register_atfork.
10207 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10208 fork count is non-zero fail the test.
10209 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10211 (parse_dollars): Remove check for WRDE_NOCMD.
10212 (parse_dquote): Likewise.
10214 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10216 * Makeconfig (built-modules): List non-library modules to be
10218 (module-cppflags): Include libc-modules.h for
10219 everything except shlib-versions.v.i.
10220 (CPPFLAGS): Use it.
10221 (before-compile): Add libc-modules.h.
10222 ($(common-objpfx)libc-modules.h,
10223 $(common-objpfx)libc-modules.stmp): New targets.
10224 (common-generated): Add libc-modules.h and libc-modules.stmp.
10225 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10226 * include/libc-symbols.h: Don't include libc-modules.h.
10227 * include/libc-modules.h: Remove file.
10228 * scripts/gen-libc-modules.awk: New script to generate
10230 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10231 Depend on libc-modules.stmp.
10233 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10235 * Makeconfig (in-module): Get value of libof set for the
10237 (CPPFLAGS): Use $(in-module).
10238 * Makerules: Don't suffix routine names for nonlib.
10239 * include/libc-modules.h: New file.
10240 * include/libc-symbols.h: Include libc-modules.h
10241 (IS_IN): New macro to replace IS_IN_* macros.
10242 * elf/Makefile: Set libof-* for each routine.
10243 * elf/rtld-Rules: Likewise.
10244 * extra-modules.mk: Likewise.
10245 * iconv/Makefile: Likewise.
10246 * iconvdata/Makefile: Likewise.
10247 * locale/Makefile: Likewise.
10248 * malloc/Makefile: Likewise.
10249 * nss/Makefile: Likewise.
10250 * sysdeps/gnu/Makefile: Likewise.
10251 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10252 * sysdeps/unix/sysv/linux/Makefile: Likewise.
10253 * sysdeps/s390/s390-64/Makefile: Likewise.
10254 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
10255 CPPFLAGS for nscd instead of nonlib.
10257 2014-11-18 Roland McGrath <roland@hack.frob.com>
10259 * nptl/createthread.c: New file.
10261 * nptl/createthread.c: Moved ...
10262 * sysdeps/unix/sysv/linux/createthread.c: ... here.
10264 * nptl/createthread.c: Add proper top-line comment.
10265 (do_clone): Folded into ...
10266 (create_thread): ... here. Take new arguments STOPPED_START and
10267 THREAD_RAN. Always set PD->stopped_start to something here. Don't
10268 increment __nptl_threads, do event-reporting logic, do
10269 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10270 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
10271 resource cleanup if sched_setaffinity or sched_setscheduler fails,
10272 just send SIGCANCEL.
10273 * nptl/pthread_create.c: Forward-declare create_thread before
10274 including createthread.c.
10275 (start_thread): Use new macro START_THREAD_DEFN to replace defining
10276 declaration, and new macro START_THREAD_SELF to replace argument.
10277 Remove return statement.
10278 (report_thread_creation): New function.
10279 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
10280 synchronization logic, and __nptl_nthreads increment here, around
10281 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
10282 PD->parent_cancelhandling here, before create_thread. When
10283 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10284 __deallocate_stack, and ENOMEM translation here.
10286 2014-11-18 Joseph Myers <joseph@codesourcery.com>
10289 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10290 (mptwo): Rename to __mptwo.
10291 (__inv): Use __mptwo instead of mptwo.
10292 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10293 (mptwo): Rename to __mptwo.
10294 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10295 of mpone and __mptwo instead of mptwo.
10296 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10298 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10299 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10300 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10301 of mpone and __mptwo instead of mptwo.
10302 (__mpranred): Use __mpone instead of mpone.
10303 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10305 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10306 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10307 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10308 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10309 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10310 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10311 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10312 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10313 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10314 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10315 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10316 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10317 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10318 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10319 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10320 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10321 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10322 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10323 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10325 2014-11-18 Tom de Vries <tom@codesoucery.com>
10327 * manual/signal.texi (Primitives Interrupted by Signals): In section,
10328 replace BSD Handler xref with BSD Signal Handling.
10330 2014-11-17 Richard Henderson <rth@redhat.com>
10332 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10333 (_FP_PACK_RAW_2): Remove.
10334 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10335 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10336 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10337 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10338 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10339 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10340 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10341 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10342 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10343 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10344 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10345 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10346 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10347 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10348 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10349 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10351 2014-11-14 Roland McGrath <roland@hack.frob.com>
10353 * signal/signal.h [__USE_MISC]
10354 (struct sigvec): Remove type.
10355 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10356 (sigvec): Remove declaration.
10357 * sysdeps/posix/sigvec.c: Moved ...
10358 * signal/sigvec.c: ... here, replacing old file.
10359 (struct sigvec): New type, copied from old signal.h definition.
10360 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10361 (__sigvec): Convert definition to prototype.
10362 (sigvec): Replace weak_alias with compat_symbol.
10363 * signal/Versions (libc: GLIBC_2.21): New version set.
10364 * include/signal.h: Remove __sigvec declaration.
10365 * sysdeps/unix/bsd/sigvec.c: Remove file.
10366 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10367 * manual/signal.texi (BSD Handler): Remove subsection.
10368 Move siginterrupt up to ...
10369 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
10370 (Blocking in BSD): Fold subsection into its parent.
10371 * NEWS: Mention sigvec removal.
10373 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10375 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10376 (DLA_FMS): Make definition conditional only on [__FMA4__].
10377 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10380 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10381 Make definition conditional only on [PROF].
10382 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10384 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10385 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10387 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10389 * include/signal.h (__sigpause): Move declaration above call to
10391 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10393 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10394 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10396 2014-11-14 David S. Miller <davem@davemloft.net>
10398 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10399 Define before including <string/memcpy.c> and <string/mempcpy.c>.
10401 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10403 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10404 * configure: Regenerated.
10405 * manual/install.texi (Tools for Compilation): Document a
10406 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10407 compiler verified to work.
10408 * INSTALL: Regenerated.
10410 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10411 redeclare with asm name.
10412 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10413 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10414 including <string.h>.
10415 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10416 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10417 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10418 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10419 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10420 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10421 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10423 2014-11-13 Joseph Myers <joseph@codesourcery.com>
10425 * stdlib/strtol.c (__strtol): Use prototype definition.
10428 * stdlib/strtol.c (SYM__): New macro.
10429 (SYM__1): Likewise.
10430 (__strtol): Likewise.
10431 (strtol): Rename to __strtol and define as weak alias of
10432 __strtol. Use libc_hidden_weak.
10434 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10436 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10437 Use numbered labels in inline assembly.
10439 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10441 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10442 Add setjmp LIBC_PROBE.
10443 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10445 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10446 Add longjmp, longjmp_target LIBC_PROBE.
10447 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10450 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10452 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10453 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10454 to get rid of unused variable warning.
10456 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10458 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10459 Check for unwind_backtrace == NULL only in SHARED case.
10460 (__backchain_backtrace): Compile only in SHARED case.
10461 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10463 (__backchain_backtrace): Declare as static.
10465 2014-11-12 Roland McGrath <roland@hack.frob.com>
10467 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10468 (__libc_multiple_threads_ptr): Variable moved ...
10469 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10471 2014-11-12 Joseph Myers <joseph@codesourcery.com>
10473 * conform/GlibcConform.pm: New file.
10474 * conform/conformtest.pl: Use GlibcConform module.
10475 * conform/linknamespace.pl: New file.
10476 * conform/list-header-symbols.pl: Likewise.
10477 * conform/Makefile (linknamespace-symlists-base): New variable.
10478 (linknamespace-symlists-tests): Likewise.
10479 (linknamespace-header-base): Likewise.
10480 (linknamespace-header-tests): Likewise.
10481 (tests-special): Add new tests.
10482 ($(linknamespace-symlists-tests)): New rule.
10483 (linknamespace-libs): New variable.
10484 ($(objpfx)symlist-stdlibs): New rule.
10485 ($(linknamespace-header-tests)): Likewise.
10486 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10487 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10488 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10489 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10490 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10491 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10492 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10493 (test-xfail-ISO/math.h/linknamespace): Likewise.
10494 (test-xfail-ISO/signal.h/linknamespace): Likewise.
10495 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10496 (test-xfail-ISO/time.h/linknamespace): Likewise.
10497 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10498 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10499 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10500 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10501 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10502 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10503 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10504 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10505 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10506 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10507 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10508 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10509 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10510 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10511 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10512 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10513 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10514 (test-xfail-XPG3/search.h/linknamespace): Likewise.
10515 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10516 (test-xfail-XPG3/time.h/linknamespace): Likewise.
10517 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10518 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10519 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10520 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10521 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10522 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10523 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10524 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10525 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10526 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10527 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10528 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10529 (test-xfail-XPG4/search.h/linknamespace): Likewise.
10530 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10531 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10532 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10533 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10534 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10535 (test-xfail-XPG4/time.h/linknamespace): Likewise.
10536 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10537 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10538 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10539 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10540 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10541 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10542 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10543 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10544 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10545 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10546 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10547 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10548 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10549 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10550 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10551 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10552 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10553 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10554 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10555 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10556 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10557 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10558 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10559 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10560 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10561 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10562 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10563 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10564 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10565 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10566 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10567 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10568 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10569 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10570 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10571 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10572 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10573 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10574 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10575 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10576 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10577 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10578 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10579 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10580 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10581 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10582 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10583 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10584 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10585 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10586 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10587 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10588 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10589 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10590 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10591 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10592 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10593 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10594 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10595 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10596 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10597 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10598 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10599 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10600 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10601 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10602 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10603 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10604 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10605 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10606 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10607 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10608 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10609 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10610 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10611 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10612 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10613 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10614 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10615 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10616 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10617 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10618 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10619 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10620 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10621 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10622 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10623 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10624 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10625 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10626 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10627 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10628 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10629 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10630 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10631 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10632 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10633 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10634 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10635 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10636 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10637 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10638 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10639 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10640 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10641 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10642 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10643 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10644 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10645 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10646 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10649 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10653 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10654 (memmem): Rename to __memmem and define as weak alias of
10655 __memmem. Use libc_hidden_weak.
10656 (__memmem): Use libc_hidden_def.
10657 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
10658 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10662 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10663 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
10664 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10665 and define as weak alias of __fgets_unlocked. Use
10667 (__fgets_unlocked): Use libc_hidden_def.
10668 * include/stdio.h (__fgets_unlocked): Declare. Use
10670 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10671 __fgets_unlocked instead of fgets_unlocked.
10672 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10673 (GET_NPROCS_CONF_PARSER): Likewise.
10674 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10675 (GET_NPROCS_CONF_PARSER): Likewise.
10678 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10679 weak alias of __wmemset. Use libc_hidden_weak.
10680 (__wmemset): Use libc_hidden_def.
10681 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
10682 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10686 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10687 with asm name __mempcpy.
10688 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10691 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10692 and define as weak alias of __rawmemchr.
10693 (__rawmemchr): Do not define as strong alias of rawmemchr.
10696 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10697 alias of __qsort_r.
10698 (qsort): Call __qsort_r instead of qsort_r.
10699 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10700 (__qsort_r): Declare. Call libc_hidden_proto.
10701 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10702 instead of qsort_r.
10703 * nscd/gai.c (__qsort_r): Define to qsort_r.
10704 * posix/tst-rfc3484.c (__qsort_r): Likewise.
10705 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10706 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10709 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10710 define as weak alias of __malloc_info.
10713 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10714 as weak alias of __rewinddir. Don't use libc_hidden_def.
10715 (__rewinddir): Use libc_hidden_def.
10716 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10717 as weak alias of __rewinddir. Don't use libc_hidden_def.
10718 (__rewinddir): Use libc_hidden_def.
10719 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10720 weak alias of __rewinddir. Don't use libc_hidden_def.
10721 (__rewinddir): Use libc_hidden_def.
10722 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10723 (__rewinddir): Use libc_hidden_proto.
10724 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10726 (__getcwd): Use __rewinddir instead of rewinddir.
10729 * libio/fileno.c (fileno): Rename to __fileno and define as weak
10730 alias of __fileno. Use libc_hidden_weak.
10731 (__fileno): Use libc_hidden_def.
10732 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10733 * libio/ftello.c (ftello): Rename to __ftello and define as weak
10735 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10737 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10738 (__fread_unlocked): Define as strong alias of _IO_fread. Use
10740 (fread_unlocked): Don't use libc_hidden_ver.
10741 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10742 and define as weak alias of __fread_unlocked. Don't use
10744 (__fread_unlocked): Use libc_hidden_def.
10745 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
10746 (ftello): Don't use libc_hidden_proto.
10747 (__ftello): Declare. Use libc_hidden_proto.
10748 (fread_unlocked): Don't use libc_hidden_proto.
10749 (__fread_unlocked): Declare. Use libc_hidden_proto.
10750 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10751 and __ftello instead of fileno, fread_unlocked and ftello.
10753 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10755 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10757 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10759 (_dl_start_user): Likewise.
10760 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10762 2014-11-12 Carlos O'Donell <carlos@redhat.com>
10763 Siddhesh Poyarekar <siddhesh@redhat.com>
10765 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10766 Move argv and envp down instead of moving argc up.
10767 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10769 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
10772 * test-skeleton.c (main): Return successful if one of
10773 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10774 * string/tst-strcoll-overflow.c: Define expected status.
10776 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
10779 * locale/iso-639.def: Define Bhili and Tulu language codes.
10781 2014-11-11 Alan Hayward <alan.hayward@arm.com>
10783 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10785 2014-11-10 Renlin Li <Renlin.Li@arm.com>
10788 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10790 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10792 * configure.ac: Updated check of minimal required version to
10794 * manual/install.texi (Tools for Compilation): Updated version
10796 * configure: Regenerated.
10797 * INSTALL: Likewise.
10799 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
10801 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10804 2014-11-07 Joseph Myers <joseph@codesourcery.com>
10806 * include/sys/wait.h (__libc_waitpid): Remove declaration.
10807 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10808 (__waitpid): Don't define as alias. Use libc_hidden_def not
10810 (waitpid): Define as alias of __waitpid.
10811 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10813 (__waitpid): Don't define as alias. Use libc_hidden_def not
10815 (waitpid): Define as alias of __waitpid.
10816 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10817 __libc_waitpid alias.
10818 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10819 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10821 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10822 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10823 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10825 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10827 (__waitpid): Don't define as alias. Use libc_hidden_def not
10829 (waitpid): Define as alias of __waitpid.
10831 2014-11-06 Carlos O'Donell <carlos@redhat.com>
10833 * manual/llio.texi: Add comment that write safety has been
10836 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10837 (localplt-build-dso): Add elf/ld.so.
10838 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10839 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10840 and free for ld.so.
10841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10842 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10847 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10848 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10849 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10850 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10851 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10852 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10853 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10854 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10855 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10856 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10857 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10859 2014-11-05 Joseph Myers <joseph@codesourcery.com>
10862 * include/libc-symbols.h (INTUSE): Remove macro.
10863 (INTDEF): Likewise.
10864 (INTVARDEF): Likewise.
10865 (_INTVARDEF): Likewise.
10866 (INTDEF2): Likewise.
10867 (INTVARDEF2): Likewise.
10868 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10869 rtld_hidden_def instead of INTVARDEF.
10870 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10871 (_dl_starting_up_internal): Remove declaration.
10872 (_dl_starting_up): Use rtld_hidden_proto.
10873 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10875 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10876 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10878 * elf/dl-writev.h (_dl_writev): Likewise.
10879 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10880 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10881 _dl_starting_up_internal.
10883 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10885 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10888 2014-11-05 Will Newton <will.newton@linaro.org>
10890 * benchtests/Makefile: (bench-malloc): Add malloc thread
10891 scalability benchmark.
10892 * benchtests/bench-malloc-threads.c: New file.
10894 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
10896 * sysdeps/aarch64/strchrnul.S: New file.
10898 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10900 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10902 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10904 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10906 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10908 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10910 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10913 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
10915 * catgets/test-gencat.c: Use test-skeleton.c.
10916 * catgets/tst-catgets.c: Likewise.
10917 * csu/tst-empty.c: Likewise.
10918 * elf/tst-audit2.c: Likewise.
10919 * elf/tst-global1.c: Likewise.
10920 * elf/tst-pathopt.c: Likewise.
10921 * elf/tst-piemod1.c: Likewise.
10922 * elf/tst-tls10.c: Likewise.
10923 * elf/tst-tls11.c: Likewise.
10924 * elf/tst-tls12.c: Likewise.
10925 * gnulib/tst-gcc.c: Likewise.
10926 * iconvdata/tst-e2big.c: Likewise.
10927 * iconvdata/tst-loading.c: Likewise.
10928 * iconv/tst-iconv1.c: Likewise.
10929 * iconv/tst-iconv2.c: Likewise.
10930 * inet/test-inet6_opt.c: Likewise.
10931 * inet/tst-gethnm.c: Likewise.
10932 * inet/tst-network.c: Likewise.
10933 * inet/tst-ntoa.c: Likewise.
10934 * intl/tst-codeset.c: Likewise.
10935 * intl/tst-gettext2.c: Likewise.
10936 * intl/tst-gettext3.c: Likewise.
10937 * intl/tst-ngettext.c: Likewise.
10938 * intl/tst-translit.c: Likewise.
10939 * io/test-stat.c: Likewise.
10940 * libio/test-fmemopen.c: Likewise.
10941 * libio/tst-freopen.c: Likewise.
10942 * libio/tst-sscanf.c: Likewise.
10943 * libio/tst-ungetwc1.c: Likewise.
10944 * libio/tst-ungetwc2.c: Likewise.
10945 * libio/tst-widetext.c: Likewise.
10946 * localedata/tst-ctype.c: Likewise.
10947 * localedata/tst-digits.c: Likewise.
10948 * localedata/tst-leaks.c: Likewise.
10949 * localedata/tst-mbswcs1.c: Likewise.
10950 * localedata/tst-mbswcs2.c: Likewise.
10951 * localedata/tst-mbswcs3.c: Likewise.
10952 * localedata/tst-mbswcs4.c: Likewise.
10953 * localedata/tst-mbswcs5.c: Likewise.
10954 * localedata/tst-setlocale.c: Likewise.
10955 * localedata/tst-trans.c: Likewise.
10956 * localedata/tst-wctype.c: Likewise.
10957 * localedata/tst-xlocale1.c: Likewise.
10958 * login/tst-grantpt.c: Likewise.
10959 * malloc/tst-calloc.c: Likewise.
10960 * malloc/tst-malloc.c: Likewise.
10961 * malloc/tst-mallocstate.c: Likewise.
10962 * malloc/tst-mcheck.c: Likewise.
10963 * malloc/tst-mtrace.c: Likewise.
10964 * malloc/tst-obstack.c: Likewise.
10965 * math/atest-exp2.c: Likewise.
10966 * math/atest-exp.c: Likewise.
10967 * math/atest-sincos.c: Likewise.
10968 * math/test-matherr.c: Likewise.
10969 * math/test-misc.c: Likewise.
10970 * math/test-powl.c: Likewise.
10971 * math/tst-definitions.c: Likewise.
10972 * misc/tst-dirname.c: Likewise.
10973 * misc/tst-efgcvt.c: Likewise.
10974 * misc/tst-fdset.c: Likewise.
10975 * misc/tst-hsearch.c: Likewise.
10976 * misc/tst-mntent2.c: Likewise.
10977 * nptl/tst-sem7.c: Likewise.
10978 * nptl/tst-sem8.c: Likewise.
10979 * nptl/tst-sem9.c: Likewise.
10980 * nss/test-netdb.c: Likewise.
10981 * posix/tst-fnmatch.c: Likewise.
10982 * posix/tst-getlogin.c: Likewise.
10983 * posix/tst-gnuglob.c: Likewise.
10984 * posix/tst-mmap.c: Likewise.
10985 * pwd/tst-getpw.c: Likewise.
10986 * resolv/tst-inet_ntop.c: Likewise.
10987 * rt/tst-timer.c: Likewise.
10988 * stdio-common/test-fseek.c: Likewise.
10989 * stdio-common/test-popen.c: Likewise.
10990 * stdio-common/test-vfprintf.c: Likewise.
10991 * stdio-common/tst-cookie.c: Likewise.
10992 * stdio-common/tst-fileno.c: Likewise.
10993 * stdio-common/tst-gets.c: Likewise.
10994 * stdio-common/tst-obprintf.c: Likewise.
10995 * stdio-common/tst-perror.c: Likewise.
10996 * stdio-common/tst-sprintf2.c: Likewise.
10997 * stdio-common/tst-sprintf3.c: Likewise.
10998 * stdio-common/tst-sprintf.c: Likewise.
10999 * stdio-common/tst-swprintf.c: Likewise.
11000 * stdio-common/tst-tmpnam.c: Likewise.
11001 * stdio-common/tst-unbputc.c: Likewise.
11002 * stdio-common/tst-wc-printf.c: Likewise.
11003 * stdlib/tst-environ.c: Likewise.
11004 * stdlib/tst-fmtmsg.c: Likewise.
11005 * stdlib/tst-limits.c: Likewise.
11006 * stdlib/tst-rand48-2.c: Likewise.
11007 * stdlib/tst-rand48.c: Likewise.
11008 * stdlib/tst-random2.c: Likewise.
11009 * stdlib/tst-random.c: Likewise.
11010 * stdlib/tst-strtol.c: Likewise.
11011 * stdlib/tst-strtoll.c: Likewise.
11012 * stdlib/tst-tls-atexit.c: Likewise.
11013 * stdlib/tst-xpg-basename.c: Likewise.
11014 * string/test-ffs.c: Likewise.
11015 * string/tst-bswap.c: Likewise.
11016 * string/tst-inlcall.c: Likewise.
11017 * string/tst-strtok.c: Likewise.
11018 * string/tst-strxfrm.c: Likewise.
11019 * sysdeps/x86_64/tst-audit10.c: Likewise.
11020 * sysdeps/x86_64/tst-audit3.c: Likewise.
11021 * sysdeps/x86_64/tst-audit4.c: Likewise.
11022 * sysdeps/x86_64/tst-audit5.c: Likewise.
11023 * time/tst-ftime_l.c: Likewise.
11024 * time/tst-getdate.c: Likewise.
11025 * time/tst-mktime3.c: Likewise.
11026 * time/tst-mktime.c: Likewise.
11027 * time/tst-posixtz.c: Likewise.
11028 * time/tst-strptime2.c: Likewise.
11029 * time/tst-strptime3.c: Likewise.
11030 * wcsmbs/tst-btowc.c: Likewise.
11031 * wcsmbs/tst-mbrtowc.c: Likewise.
11032 * wcsmbs/tst-mbsrtowcs.c: Likewise.
11033 * wcsmbs/tst-wchar-h.c: Likewise.
11034 * wcsmbs/tst-wcpncpy.c: Likewise.
11035 * wcsmbs/tst-wcrtomb.c: Likewise.
11036 * wcsmbs/tst-wcsnlen.c: Likewise.
11037 * wcsmbs/tst-wcstof.c: Likewise.
11039 2014-11-04 Joseph Myers <joseph@codesourcery.com>
11042 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11044 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11046 (_dl_mcount): Use rtld_hidden_proto.
11047 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11049 * elf/rtld.c (_rtld_global_ro): Likewise.
11052 * elf/dl-init.c (_dl_init): Don't use INTDEF.
11053 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11054 of _dl_init_internal.
11055 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11056 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11057 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11058 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11059 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11060 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11061 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11062 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11063 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11064 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11065 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11066 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11067 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11068 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11069 * sysdeps/tile/dl-start.S (_start): Likewise.
11070 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11071 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11074 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11075 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11076 (rtld_progname): Make macro definition unconditional.
11077 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11079 (dlmopen_doit): Do not use INTUSE with _dl_argv.
11080 (dl_main): Likewise.
11081 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11082 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11083 instead of _dl_argv_internal.
11084 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11085 __GI__dl_argv instead of INTUSE(_dl_argv).
11086 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11087 __GI__dl_argv instead of _dl_argv_internal.
11089 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11090 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11092 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11093 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11095 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11096 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11098 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11099 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11101 2014-11-04 Andreas Schwab <schwab@suse.de>
11103 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11105 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11107 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11108 mtvsrd instruction in binary form.
11110 2014-11-03 Andreas Schwab <schwab@suse.de>
11113 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11114 for less than MB_LEN_MAX use a local buffer of that size.
11115 * libio/tst-fputws.c: New file.
11116 * libio/Makefile (tests): Add tst-fputws.
11118 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
11120 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11121 the size of the fpu_fr.fpu_dregs[] array.
11123 2014-11-01 Joseph Myers <joseph@codesourcery.com>
11125 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11126 (__nanosleep): Do not define as alias.
11127 (nanosleep): Define as alias of __nanosleep.
11128 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11129 __libc_nanosleep name.
11131 2014-10-31 Joseph Myers <joseph@codesourcery.com>
11133 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11134 install.texi in comment.
11136 2014-10-31 Torvald Riegel <triegel@redhat.com>
11138 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11139 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11140 ... add here and use lwsync or sync ...
11141 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11142 ... and add here using lwsync.
11144 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
11146 * elf/dl-machine-reject-phdr.h: New file.
11147 * elf/dl-load.c: #include that.
11148 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11149 if that returned true.
11151 2014-10-31 Roland McGrath <roland@hack.frob.com>
11154 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11155 gen-as-const-headers chunk. Add a big scare comment after the last
11156 safe place to touch before-compile.
11158 2014-10-31 Joseph Myers <joseph@codesourcery.com>
11160 * manual/install.texi (Tools for Compilation): Update autoconf
11161 version requirements.
11162 * INSTALL: Regenerated.
11164 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11165 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11166 (__libc_pselect): Likewise.
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11174 2014-10-31 Torvald Riegel <triegel@redhat.com>
11176 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11177 correct barrier instruction.
11178 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11180 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11183 2014-10-30 Roland McGrath <roland@hack.frob.com>
11185 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11186 after defining inlines. Instead, just use parens to defeat macro
11187 expansion of __isctype in its declaration.
11189 2014-10-30 Joseph Myers <joseph@codesourcery.com>
11191 * include/sys/uio.h (__libc_readv): Remove declaration.
11192 (__libc_writev): Likewise.
11193 * misc/readv.c (__libc_readv): Rename to __readv.
11194 (__readv): Do not define as alias.
11195 (readv): Define as alias of __readv.
11196 * misc/writev.c (__libc_writev): Rename to __writev.
11197 (__writev): Do not define as alias.
11198 (writev): Define as alias of __writev.
11199 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11200 (__readv): Do not define as alias.
11201 (readv): Define unconditionally as alias of __readv.
11202 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11203 (__writev): Do not define as alias.
11204 (writev): Define unconditionally as alias of __writev.
11205 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11207 (writev): Do not define __libc_writev name.
11209 2014-10-30 Roland McGrath <roland@hack.frob.com>
11211 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11212 (convert_charseq): New function, broken out of ...
11213 (use_from_charmap): ... here. Call it.
11214 (use_to_charmap): Use convert_charseq and free instead of duplicating
11215 its code with a variable-length stack struct.
11217 2014-10-30 Joseph Myers <joseph@codesourcery.com>
11219 * include/fcntl.h (__libc_creat): Remove declaration.
11220 * io/creat.c (__libc_creat): Rename to creat.
11221 (creat): Do not define as alias.
11222 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11223 of creat instead of __libc_creat.
11224 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11226 (creat): Do not define as alias.
11227 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11229 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11231 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11234 2014-10-29 Carlos O'Donell <carlos@redhat.com>
11236 * manual/llio.texi: Add comments discussing why write() may be
11237 considered MT-unsafe on Linux.
11239 2014-10-28 Carlos O'Donell <carlos@redhat.com>
11241 * dl-load.c (local_strdup): Remove.
11242 (expand_dynamic_string_token): Use __strdup.
11243 (decompose_rpath): Likewise.
11244 (_dl_map_object): Likewise.
11246 2014-10-28 Joseph Myers <joseph@codesourcery.com>
11249 * sysdeps/generic/unwind-dw2-fde.c
11250 (__register_frame_info_bases_internal): Do not declare.
11251 (__register_frame_info_table_bases_internal): Likewise.
11252 (__deregister_frame_info_bases_internal): Likewise.
11253 (__register_frame_info_bases): Declare and use hidden_proto before
11254 definition. Use hidden_def instead of INTDEF.
11255 (__register_frame_info_table_bases): Likewise.
11256 (__deregister_frame_info_bases): Likewise.
11257 (__register_frame_info): Do not use INTUSE.
11258 (__register_frame): Likewise.
11259 (__register_frame_info_table): Likewise.
11260 (__register_frame_table): Likewise.
11261 (__deregister_frame_info): Likewise.
11262 (__deregister_frame): Likewise.
11264 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
11266 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11267 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11269 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11271 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11274 2014-10-27 Joseph Myers <joseph@codesourcery.com>
11277 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11278 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11279 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11280 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11281 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11282 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11283 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11284 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11285 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11286 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11287 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11288 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11289 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11291 (setfsuid): Likewise.
11292 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11293 (setfsuid): Likewise.
11294 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11295 (setfsuid): Likewise.
11296 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11298 (setfsuid): Likewise.
11299 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11300 (setfsuid): Likewise.
11301 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11303 (setfsuid): Likewise.
11305 2014-10-27 Andreas Schwab <schwab@suse.de>
11308 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11309 check for Slow_SSE4_2 feature bit.
11310 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11311 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11312 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11313 Likewise. Fix check for Fast_Unaligned_Load feature bit.
11315 2014-10-24 Roland McGrath <roland@hack.frob.com>
11317 * configure.ac: Validate compiler version with a empirical test of
11318 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11320 * configure: Regenerated.
11322 * inet/htons.c (htons): Prototypify.
11323 * inet/htonl.c (htonl): Likewise.
11325 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11327 * string/strncat.c (strncat): Improve performance by using strlen.
11329 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11331 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11333 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11335 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11336 Call libc_fetestexcept_aarch64.
11338 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11340 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11341 Call libc_feholdexcept_aarch64.
11343 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11345 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11346 Call get_rounding_mode.
11348 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11350 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11353 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11355 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11358 2014-10-24 Joseph Myers <joseph@codesourcery.com>
11361 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11362 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11363 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11364 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11365 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11366 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11367 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11368 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11369 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11370 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11371 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11372 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11373 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11374 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11375 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11376 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11377 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11378 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11379 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11380 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11381 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11382 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11383 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11384 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11385 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11386 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11387 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11388 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11389 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11390 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11391 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11392 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11393 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11394 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11395 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11396 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11397 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11398 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11399 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11400 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11401 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11403 (geteuid): Likewise.
11404 (getgid): Likewise.
11405 (getuid): Likewise.
11406 (getresgid): Likewise.
11407 (getresuid): Likewise.
11408 (getgroups): Likewise.
11409 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11410 (geteuid): Likewise.
11411 (getgid): Likewise.
11412 (getuid): Likewise.
11413 (getresgid): Likewise.
11414 (getresuid): Likewise.
11415 (getgroups): Likewise.
11416 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11417 (geteuid): Likewise.
11418 (getgid): Likewise.
11419 (getuid): Likewise.
11420 (getresgid): Likewise.
11421 (getresuid): Likewise.
11422 (getgroups): Likewise.
11423 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11425 (geteuid): Likewise.
11426 (getgid): Likewise.
11427 (getuid): Likewise.
11428 (getresgid): Likewise.
11429 (getresuid): Likewise.
11430 (getgroups): Likewise.
11431 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11432 (geteuid): Likewise.
11433 (getgid): Likewise.
11434 (getuid): Likewise.
11435 (getresgid): Likewise.
11436 (getresuid): Likewise.
11437 (getgroups): Likewise.
11438 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11440 (geteuid): Likewise.
11441 (getgid): Likewise.
11442 (getuid): Likewise.
11443 (getgroups): Likewise.
11446 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11447 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11448 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11449 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11450 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11451 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11452 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11453 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11454 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11455 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11456 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11457 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11458 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11460 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11461 (lchown): Likewise.
11462 (fchown): Likewise.
11463 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11465 (lchown): Likewise.
11466 (fchown): Likewise.
11467 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11468 (lchown): Likewise.
11469 (fchown): Likewise.
11470 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11472 (lchown): Likewise.
11473 (fchown): Likewise.
11475 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11477 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11480 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11482 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11485 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11487 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11488 Remove unused include.
11490 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11492 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11493 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11494 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11495 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11497 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
11498 Helge Deller <deller@gmx.de>
11501 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11502 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11503 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11505 2014-10-23 Joseph Myers <joseph@codesourcery.com>
11508 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11509 Remove macro definition.
11510 (__ashrdi3_v_glibc20): Likewise.
11511 (__lshrdi3_v_glibc20): Likewise.
11512 (__cmpdi2_v_glibc20): Likewise.
11513 (__ucmpdi2_v_glibc20): Likewise.
11514 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11515 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11516 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11517 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11518 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11519 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11521 2014-10-22 Roland McGrath <roland@hack.frob.com>
11523 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11524 old GNU extension [0] syntax.
11525 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11526 alloca rather than an array member with variable length.
11527 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11528 * nscd/nscd.c (invalidate_db): New function, broken out of ...
11529 (parse_opt): ... here. Likewise use alloca there.
11530 Validate the -i argument before checking for rootness.
11531 (send_shutdown): New function, broken out of ...
11532 (parse_opt): ... here.
11534 2014-10-22 Roland McGrath <roland@hack.frob.com>
11536 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11537 macro to get at the _rt_local_ro field.
11538 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11539 ([PIC] case) or _dl_hwcap ([!PIC] case).
11540 * sysdeps/arm/setjmp.S: Likewise.
11542 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11543 * sysdeps/arm/configure.ac: New check to define it.
11544 * sysdeps/arm/configure: Regenerated.
11545 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11546 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11547 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11548 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11549 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11550 Use move/movt pair instead of a load.
11551 (LDST_GLOBAL): Macro removed.
11552 (LDR_GLOBAL): New macro replaces it.
11553 (LDR_HIDDEN): New macro.
11554 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11555 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11557 * setjmp/tst-setjmp-static.c: New file.
11558 * setjmp/Makefile (tests): Add it.
11559 (tests-static): New variable.
11561 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
11564 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11566 2014-10-21 Joseph Myers <joseph@codesourcery.com>
11569 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11571 2014-10-21 Roland McGrath <roland@hack.frob.com>
11573 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11575 2014-10-20 Roland McGrath <roland@hack.frob.com>
11577 * io/fts.c (dirent_not_directory): New function.
11578 (fts_build): Call it.
11580 2014-10-20 Roland McGrath <roland@hack.frob.com>
11582 * nptl/version.c (__nptl_main): Use normal __write rather than
11584 (banner): Update copyright years.
11586 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11588 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11589 * nptl/pthread_cond_timedwait.c: Likewise.
11590 * nptl/pthread_mutex_timedlock.c: Likewise.
11591 * nptl/sem_timedwait.c: Likewise.
11593 * sysdeps/nptl/bits/libc-lock.h
11594 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11595 (__libc_lock_init_recursive): Return void, not 0.
11596 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11597 (__libc_rwlock_init): Likewise.
11598 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11600 2014-10-20 Torvald Riegel <triegel@redhat.com>
11603 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11604 (__pthread_once_slow): ... here.
11605 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11606 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11608 2014-10-20 Torvald Riegel <triegel@redhat.com>
11611 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11612 __PTHREAD_ONCE_FORK_GEN_INCR): New.
11613 * sysdeps/nptl/fork.c (__libc_fork): Use them.
11614 * nptl/pthread_once.c (__pthread_once): Likewise.
11617 2014-10-20 Joseph Myers <joseph@codesourcery.com>
11620 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11622 (writev): Use __libc_writev as strong name.
11623 * sysdeps/unix/sysv/linux/readv.c: Remove file.
11624 * sysdeps/unix/sysv/linux/writev.c: Likewise.
11626 2014-10-17 Roland McGrath <roland@hack.frob.com>
11628 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11630 * sysdeps/i386/nptl/tls.h
11631 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11632 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11634 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11635 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11636 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11637 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11638 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11639 Call CHECK_THREAD_SYSINFO instead of doing an assert.
11641 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11642 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11644 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11646 (__pthread_mutex_init): ... here. Call it.
11647 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11648 Conditionalize PI cases on [__NR_futex].
11649 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11650 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11651 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11653 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11654 conditional on [SIGSETXID].
11655 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11656 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11657 is defined. Likewise for SIGSETXID.
11658 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11659 Conditionalize definitions on [SIGSETXID].
11660 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11661 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11662 unblocking on [SIGCANCEL].
11664 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11665 [__NR_set_robust_list].
11667 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11669 * string/strcoll_l.c (get_next_seq): Fix up formatting.
11670 (do_compare): Likewise.
11672 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
11675 * string/strcoll_l.c: Don't include stdio.h.
11676 (coll_seq): Remove members idxarr and rulearr.
11677 (get_next_seq_cached): Remove function.
11678 (get_next_seq): Likewise.
11679 (get_next_seq_nocache): Rename to get_next_seq.
11680 (do_compare): Remove function.
11681 (do_compare_nocache): Rename to do_compare.
11682 (STRCOLL): Remove weight and rules cache.
11684 2014-10-16 Roland McGrath <roland@hack.frob.com>
11686 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11687 * sysdeps/arm/sfp-machine.h: ... to here.
11688 * sysdeps/arm/Implies: Remove arm/soft-fp.
11690 2014-10-14 Joseph Myers <joseph@codesourcery.com>
11692 * conform/data/sys/utsname.h-data (*_t): Allow.
11693 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11694 [POSIX] (WEXITED): Do not expect constant.
11695 [POSIX] (WSTOPPED): Likewise.
11696 [POSIX] (WNOHANG): Likewise.
11697 [POSIX] (WNOWAIT): Likewise.
11698 [POSIX] (siginfo_t): Do not expect type or elements.
11699 [POSIX] (pid_t): Do not expect type.
11700 [POSIX] (signal.h): Do not allow header.
11701 [POSIX] (sys/resource.h): Likewise.
11702 [POSIX] (si_*): Do not allow pattern.
11703 [POSIX] (W*): Likewise.
11704 [POSIX] (P_*): Likewise.
11705 [POSIX] (BUS_*): Likewise.
11706 [POSIX] (CLD_*): Likewise.
11707 [POSIX] (FPE_*): Likewise.
11708 [POSIX] (ILL_*): Likewise.
11709 [POSIX] (POLL_*): Likewise.
11710 [POSIX] (SEGV_*): Likewise.
11711 [POSIX] (SI_*): Likewise.
11712 [POSIX] (TRAP_*): Likewise.
11713 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11716 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
11719 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11720 infinite loop when __recvmsg returns 0.
11722 2014-10-10 Joseph Myers <joseph@codesourcery.com>
11724 * CANCEL-FCT-WAIVE: Remove file.
11725 * CANCEL-FILE-WAIVE: Likewise.
11728 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11729 instead of INTVARDEF.
11730 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11731 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11732 rtld_hidden_data_def instead of INTVARDEF.
11733 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11734 * elf/dl-deps.c (expand_dst): Likewise.
11735 * elf/dl-load.c (_dl_dst_count): Likewise.
11736 (_dl_dst_substitute): Likewise.
11737 (decompose_rpath): Likewise.
11738 (_dl_init_paths): Likewise.
11739 (open_path): Likewise.
11740 (_dl_map_object): Likewise.
11741 * elf/rtld.c (dl_main): Likewise.
11742 (process_dl_audit): Likewise.
11743 (process_envvars): Likewise.
11744 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11745 Remove declaration.
11746 (__libc_enable_secure): Use rtld_hidden_proto.
11748 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11751 (add_path): New function broken out of _dl_rtld_di_serinfo.
11752 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
11754 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11756 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11757 parentheses around macro arguments.
11758 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11759 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11760 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11761 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11762 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11763 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11764 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11765 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11766 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11767 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11768 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11769 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11770 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11771 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11772 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11773 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11774 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11775 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11776 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11777 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11778 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11779 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11780 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11781 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11782 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11783 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11784 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11785 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11786 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11787 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11788 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11789 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11790 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11791 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11792 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11793 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11795 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11796 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11797 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11798 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11799 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11800 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11801 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11802 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11803 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11804 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11805 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11806 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11807 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11808 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11809 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11810 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11811 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11812 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11813 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11814 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11815 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11816 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11817 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11818 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11819 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11820 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11821 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11822 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11823 (_FP_FRAC_SRS_1): Likewise.
11824 (_FP_FRAC_CLZ_1): Likewise.
11825 (_FP_MUL_MEAT_1_imm): Likewise.
11826 (_FP_MUL_MEAT_1_wide): Likewise.
11827 (_FP_MUL_MEAT_1_hard): Likewise.
11828 (_FP_SQRT_MEAT_1): Likewise.
11829 (_FP_FRAC_ASSEMBLE_1): Likewise.
11830 (_FP_FRAC_DISASSEMBLE_1): Likewise.
11831 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11832 (__FP_CLZ_2): Likewise.
11833 (_FP_MUL_MEAT_2_wide): Likewise.
11834 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11835 (_FP_MUL_MEAT_2_gmp): Likewise.
11836 (_FP_MUL_MEAT_2_120_240_double): Likewise.
11837 (_FP_SQRT_MEAT_2): Likewise.
11838 (_FP_FRAC_ASSEMBLE_2): Likewise.
11839 (_FP_FRAC_DISASSEMBLE_2): Likewise.
11840 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11841 (_FP_FRAC_CLZ_4): Likewise.
11842 (_FP_MUL_MEAT_4_wide): Likewise.
11843 (_FP_MUL_MEAT_4_gmp): Likewise.
11844 (_FP_SQRT_MEAT_4): Likewise.
11845 (_FP_FRAC_ASSEMBLE_4): Likewise.
11846 (_FP_FRAC_DISASSEMBLE_4): Likewise.
11847 * soft-fp/op-common.h (_FP_CMP): Likewise.
11848 (_FP_CMP_EQ): Likewise.
11849 (_FP_CMP_UNORD): Likewise.
11850 (_FP_TO_INT): Likewise.
11851 (_FP_FROM_INT): Likewise.
11852 [!__FP_CLZ] (__FP_CLZ): Likewise.
11853 (_FP_DIV_HELP_imm): Likewise.
11854 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11856 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11857 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11858 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11859 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11860 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11861 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11862 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11863 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11864 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11865 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11866 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11867 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11868 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11869 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11870 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11871 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11872 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11873 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11874 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11875 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11876 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11877 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11878 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11879 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11880 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11881 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11882 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11883 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11884 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11885 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11886 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11887 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11888 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11889 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11890 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11891 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11892 (FP_UNPACK_RAW_SP): Likewise.
11893 (FP_PACK_RAW_S): Likewise.
11894 (FP_PACK_RAW_SP): Likewise.
11895 (FP_UNPACK_S): Likewise.
11896 (FP_UNPACK_SP): Likewise.
11897 (FP_UNPACK_SEMIRAW_S): Likewise.
11898 (FP_UNPACK_SEMIRAW_SP): Likewise.
11899 (FP_PACK_S): Likewise.
11900 (FP_PACK_SP): Likewise.
11901 (FP_PACK_SEMIRAW_S): Likewise.
11902 (FP_PACK_SEMIRAW_SP): Likewise.
11903 (_FP_SQRT_MEAT_S): Likewise.
11904 (FP_CMP_S): Likewise.
11905 (FP_CMP_EQ_S): Likewise.
11906 (FP_CMP_UNORD_S): Likewise.
11907 (FP_TO_INT_S): Likewise.
11908 (FP_FROM_INT_S): Likewise.
11910 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11912 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11913 (FP_EX_INVALID_IMZ): Likewise.
11914 (FP_EX_INVALID_IMZ_FMA): Likewise.
11915 (FP_EX_INVALID_ISI): Likewise.
11916 (FP_EX_INVALID_ZDZ): Likewise.
11917 (FP_EX_INVALID_IDI): Likewise.
11918 (FP_EX_INVALID_SQRT): Likewise.
11919 (FP_EX_INVALID_CVI): Likewise.
11920 (FP_EX_INVALID_VC): Likewise.
11921 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11922 "invalid" exceptions.
11923 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11924 (_FP_ADD_INTERNAL): Likewise.
11925 (_FP_MUL): Likewise.
11926 (_FP_FMA): Likewise.
11927 (_FP_DIV): Likewise.
11928 (_FP_CMP_CHECK_NAN): Likewise.
11929 (_FP_SQRT): Likewise.
11930 (_FP_TO_INT): Likewise.
11931 (FP_EXTEND): Likewise.
11933 2014-10-09 Allan McRae <allan@archlinux.org>
11935 * po/fr.po: Update French translation from translation project.
11937 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11940 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11942 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11943 (__cxa_atexit): Use libc_hidden_proto.
11944 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11947 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11949 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11950 [!_ISOMAC] (__iswspace_l_internal): Likewise.
11951 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11952 [!_ISOMAC] (__iswctype_internal): Likewise.
11953 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11954 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11956 (fcntl): Remove __fcntl_internal alias.
11957 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11958 __connect_internal alias.
11959 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11962 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11963 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11965 (_FP_CHECK_FLUSH_ZERO): New macro.
11966 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11967 (_FP_CMP): Likewise.
11968 (_FP_CMP_EQ): Likewise.
11969 (_FP_TO_INT): Do not set inexact for subnormal arguments if
11971 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11972 (FP_TRUNC): Likewise.
11974 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11975 treated as invalid conversion, not as normal exponent.
11977 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11978 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
11979 (_FP_CMP_EQ): Likewise.
11980 (_FP_CMP_UNORD): Likewise.
11981 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11982 (FP_CMP_EQ_D): Likewise.
11983 (FP_CMP_UNORD_D): Likewise.
11984 * soft-fp/extended.h (FP_CMP_E): Likewise.
11985 (FP_CMP_EQ_E): Likewise.
11986 (FP_CMP_UNORD_E): Likewise.
11987 * soft-fp/quad.h (FP_CMP_Q): Likewise.
11988 (FP_CMP_EQ_Q): Likewise.
11989 (FP_CMP_UNORD_Q): Likewise.
11990 * soft-fp/single.h (FP_CMP_S): Likewise.
11991 (FP_CMP_EQ_S): Likewise.
11992 (FP_CMP_UNORD_S): Likewise.
11993 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11994 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11995 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11996 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11997 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11998 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11999 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
12000 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
12001 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
12002 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
12003 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12004 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12005 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12007 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12009 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12010 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12012 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12014 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12015 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12016 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12017 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12019 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12021 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12022 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12024 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12026 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12027 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12028 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12029 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12032 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12033 a subnormal result, set the underflow exception if trapping on
12034 underflow is enabled.
12035 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12036 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12037 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12039 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12040 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12041 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12042 * soft-fp/extendxftf2.c (__extendxftf2): Use
12043 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12045 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12046 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12047 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12048 FP_HANDLE_EXCEPTIONS.
12049 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12050 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12051 FP_HANDLE_EXCEPTIONS.
12052 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12053 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12054 FP_HANDLE_EXCEPTIONS.
12055 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12056 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12057 FP_HANDLE_EXCEPTIONS.
12059 2014-10-08 Joseph Myers <joseph@codesourcery.com>
12062 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12063 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12065 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12066 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12068 (__adjtimex): Define using libc_hidden_ver.
12069 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12070 Remove declaration.
12071 (ntp_gettime): Call __adjtimex directly.
12072 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12073 Remove declaration.
12074 (ntp_gettimex): Call __adjtimex directly.
12075 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12076 __adjtimex_internal alias.
12078 2014-10-08 Roland McGrath <roland@hack.frob.com>
12081 * nscd/nscd.c (more_help): Rewrite list of tables collection
12082 using xstrdup and asprintf.
12084 * nscd/nscd_conf.c: Remove local xstrdup declaration.
12086 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12087 Roland McGrath <roland@hack.frob.com>
12089 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12090 (do_lookup_unique): ... local function 'enter' here; update callers.
12092 2014-10-06 Joseph Myers <joseph@codesourcery.com>
12094 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12095 compat_symbol calls on [SHARED].
12096 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12097 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12099 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12100 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12101 (oldsetrlimit): Remove.
12102 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12104 (lchown): New syscall entry.
12105 (oldsetrlimit): Remove.
12106 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12107 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12108 (oldsetrlimit): Remove.
12109 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12112 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12113 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12114 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12115 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12116 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12117 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12118 (fchown): Likewise.
12119 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12120 (fchown): Likewise.
12121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12124 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12126 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12127 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12128 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12129 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12130 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12132 (__old_sem_post): Likewise.
12134 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
12136 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12137 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12138 HAVE_CLOCK_GETTIME_VSYSCALL macros.
12139 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12140 Use INLINE_VSYSCALL macro.
12141 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12142 __vdso_clock_gettime.
12143 * sysdeps/unix/sysv/linux/tile/init-first.c
12144 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12145 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12146 __vdso_clock_gettime.
12148 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12149 to set up frame more cleanly.
12151 * sysdeps/tile/memcmp.c: New file.
12153 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12155 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12156 * sysdeps/tile/tilegx/strcasestr.c: New file.
12157 * sysdeps/tile/tilegx/strnlen.c: New file.
12158 * sysdeps/tile/tilegx/strstr.c: New file.
12160 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12162 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
12164 * nptl/tst-setuid3.c: Write errors to stdout.
12166 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12169 (preload): New functions broken out of _dl_map_object_deps.
12170 (_dl_map_object_deps): Remove a nested function. Update call sites.
12172 2014-10-01 Joseph Myers <joseph@codesourcery.com>
12175 * sysdeps/unix/sysv/linux/execve.c: Remove file.
12176 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12178 2014-10-01 Steve Ellcey <sellcey@mips.com>
12180 * sysdeps/mips/strcmp.S: New.
12182 2014-09-30 Joseph Myers <joseph@codesourcery.com>
12185 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12186 (linkat): Likewise.
12187 (mkdirat): Likewise.
12188 (readlinkat): Likewise.
12189 (renameat): Likewise.
12190 (symlinkat): Likewise.
12191 (unlinkat): Likewise.
12192 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12193 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12194 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12195 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12196 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12197 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12198 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12200 2014-09-30 Will Newton <will.newton@linaro.org>
12202 * math/math.h: Define long double math functions if
12203 _LIBC_TEST is defined.
12204 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12206 * localedata/Makefile: Move assignment to tests-special
12207 into an ifdef testing run-built-tests.
12208 * timezone/Makefile: Likewise.
12210 2014-09-29 Joseph Myers <joseph@codesourcery.com>
12212 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12213 with $(BASH) not $(SHELL).
12215 2014-09-29 Carlos O'Donell <carlos@redhat.com>
12216 Matthew LeGendre <legendre1@llnl.gov>
12219 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12222 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12224 * stdio-common/printf_fp.c
12225 (hack_digit): New function, broken out of ...
12226 (__printf_fp): ... local function here. Update call sites.
12227 hack_digit now takes an additional parameter that is a pointer
12228 to a struct of the referenced locals. Those locals moved inside
12229 the struct and references updated.
12231 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
12233 * aclocal.m4: Require autoconf 2.69.
12234 * configure: Regenerated.
12235 * sysdeps/aarch64/configure: Likewise.
12236 * sysdeps/alpha/configure: Likewise.
12237 * sysdeps/arm/armv7/configure: Likewise.
12238 * sysdeps/arm/configure: Likewise.
12239 * sysdeps/ia64/configure: Likewise.
12240 * sysdeps/mach/configure: Likewise.
12241 * sysdeps/mips/configure: Likewise.
12242 * sysdeps/s390/configure: Likewise.
12243 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12246 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12248 * sysdeps/ia64/configure.ac: Likewise.
12250 2014-09-26 Joseph Myers <joseph@codesourcery.com>
12252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12253 specify symbol version for ld.so. Do not include entry for
12255 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12256 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12257 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12260 * Makeconfig [$(build-shared) = yes]
12261 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12263 [$(build-shared) = yes && $(soversions.mk-done) = t]
12264 ($(common-objpfx)gnu/lib-names.h): Remove rule.
12265 [$(build-shared) = yes && $(soversions.mk-done) = t]
12266 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
12268 [$(build-shared) = yes && $(soversions.mk-done) = t]
12269 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12271 [$(build-shared) = yes && $(soversions.mk-done) = t]
12272 (common-generated): Don't append gnu/lib-names.h and
12273 gnu/lib-names.stmp here.
12274 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12275 (lib-names-h-abi): New variable.
12276 [$(build-shared) = yes && $(soversions.mk-done) = t]
12277 (lib-names-stmp-abi): Likewise.
12278 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12279 abi-variants] (before-compile): Append
12280 $(common-objpfx)$(lib-names-h-abi).
12281 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12282 abi-variants] (common-generated): Append gnu/lib-names.h.
12283 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12284 abi-variants] (install-others-nosubdir): Depend on
12285 $(inst_includedir)/$(lib-names-h-abi).
12286 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12287 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12288 [$(build-shared) = yes && $(soversions.mk-done) = t]
12289 ($(common-objpfx)$(lib-names-h-abi)): New rule.
12290 [$(build-shared) = yes && $(soversions.mk-done) = t]
12291 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12292 [$(build-shared) = yes && $(soversions.mk-done) = t]
12293 (common-generated): Append $(lib-names-h-abi) and
12294 $(lib-names-stmp-abi).
12295 * scripts/lib-names.awk: Do not handle multi being set.
12296 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12298 (abi-lp64_be-ld-soname): Likewise.
12299 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12301 (abi-hard-ld-soname): Likewise.
12302 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12303 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12305 (abi-o32_hard-ld-soname): Likewise.
12306 (abi-o32_soft_2008-ld-soname): Likewise.
12307 (abi-o32_hard_2008-ld-soname): Likewise.
12308 (abi-n32_soft-ld-soname): Likewise.
12309 (abi-n32_hard-ld-soname): Likewise.
12310 (abi-n32_soft_2008-ld-soname): Likewise.
12311 (abi-n32_hard_2008-ld-soname): Likewise.
12312 (abi-n64_soft-ld-soname): Likewise.
12313 (abi-n64_hard-ld-soname): Likewise.
12314 (abi-n64_soft_2008-ld-soname): Likewise.
12315 (abi-n64_hard_2008-ld-soname): Likewise.
12316 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12318 (abi-64-v2-ld-soname): Likewise.
12319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12321 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12323 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12325 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12327 (abi-64-ld-soname): Likewise.
12328 (abi-x32-ld-soname): Likewise.
12329 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12331 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12333 2014-09-23 Joseph Myers <joseph@codesourcery.com>
12336 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12337 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12338 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12339 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12340 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12341 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12342 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12343 syscall entry for GLIBC_2.2 symbol version.
12344 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12347 (setrlimit): Likewise.
12348 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12351 2014-09-23 Will Newton <will.newton@linaro.org>
12353 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12354 _LINUX_ARM_SYSDEP_H include guard too.
12355 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12358 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12360 * sysdeps/unix/sysv/linux/eventfd.c:
12361 Make first argument unsigned.
12362 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12363 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12365 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
12367 * socket/recvmmsg.c (recvmmsg): Drop const argument.
12368 * socket/sys/socket.h: Likewise
12369 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12371 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12373 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12375 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
12377 * time/tst-ftime.c: New test.
12378 * time/Makefile (tests): Add tst-ftime.
12380 2014-09-17 Joseph Myers <joseph@codesourcery.com>
12382 * soft-fp/extended.h: Fix comment formatting.
12383 * soft-fp/op-1.h: Likewise.
12384 * soft-fp/op-2.h: Likewise.
12385 * soft-fp/op-4.h: Likewise.
12386 * soft-fp/op-8.h: Likewise.
12387 * soft-fp/op-common.h: Likewise.
12388 * soft-fp/soft-fp.h: Likewise.
12390 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12392 2014-09-16 Joseph Myers <joseph@codesourcery.com>
12395 * Makeconfig (soversions-default-setname): Remove variable.
12396 ($(common-objpfx)soversions.i): Don't pass default_setname to
12398 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12399 oldest_abi to abi-versions.awk.
12400 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12401 * config.make.in (oldest-abi): Remove variable.
12402 * configure.ac (--enable-oldest-abi): Remove configure option.
12403 * configure: Regenerated.
12404 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12406 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12407 * scripts/soversions.awk: Do not handle default_setname variable.
12408 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12410 * sysdeps/mach/hurd/configure: Regenerated.
12411 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12413 * sysdeps/unix/sysv/linux/configure: Regenerated.
12415 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12417 * elf/Makefile (CFLAGS-interp.c): Remove.
12418 ($(elf-objpfx)runtime-linker.h): Generate header with linker
12420 * elf/interp.c: Include generated runtime-linker.h
12422 * Makerules (lib%.so): Don't include $(+interp) in
12424 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12425 * dlfcn/eval.c: Remove file.
12427 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12431 * misc/sys/cdefs.h: Define __extern_always_inline for clang
12435 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12437 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12438 Jakub Jelinek <jakub@redhat.com>
12441 * libio/stdio.h: Check definition of __fortify_function
12442 instead of __extern_always_inline to include bits/stdio2.h.
12443 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12444 check if __extern_always_inline is defined.
12445 [__USE_MISC || __USE_XOPEN]: Likewise.
12446 [__USE_ISOC99] Likewise.
12447 * misc/sys/cdefs.h (__fortify_function): Define only if
12448 __extern_always_inline is defined.
12449 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12450 __extern_always_inline and __extern_inline only for g++-4.3
12451 and newer or a compatible gcc.
12453 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
12456 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12457 last change to handle zero prefix length.
12459 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12461 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12464 * posix/getconf.c (vars): Add _POSIX_IPV6 and
12465 _POSIX_RAW_SOCKETS.
12467 2014-09-13 Allan McRae <allan@archlinux.org>
12469 * po/ru.po: Update Russian translation from translation project.
12471 2014-09-12 Roland McGrath <roland@hack.frob.com>
12473 * locale/programs/locale.c (show_locale_vars): Inline local function
12474 into its sole call site. Clean up some style nits.
12475 (print_item): New function, broken out of ...
12476 (show_info): ... local function here. Clean up style nits.
12478 * locale/programs/ld-ctype.c (set_one_default): New function, broken
12480 (set_class_defaults): ... local function set_default here.
12481 Define set_default as a macro locally to pass constant parameters.
12482 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12483 rather than a shared local.
12485 * stdlib/rpmatch.c (try): New function, broken out of ...
12486 (rpmatch): ... local function here. Also, prototypify definition.
12488 2014-09-12 Joseph Myers <joseph@codesourcery.com>
12490 * scripts/soversions.awk: Do not handle configuration names.
12491 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12492 vendor and os variables to soversions.awk.
12493 * configure.ac: Do not modify gnu-* host_os.
12494 * configure: Regenerated
12495 * shlib-versions: Remove first column with configuration names.
12496 * nptl/shlib-versions: Likewise.
12497 * nptl_db/shlib-versions: Likewise.
12498 * sysdeps/hppa/shlib-versions: Likewise.
12499 * sysdeps/m68k/shlib-versions: Likewise.
12500 * sysdeps/mach/hurd/shlib-versions: Likewise.
12501 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12502 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12503 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12504 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12505 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12506 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12507 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12508 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12511 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12512 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12513 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12514 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12515 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12516 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12517 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12518 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12521 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12524 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12526 Condition symbol version definitions on [HAVE_ELFV2_ABI].
12528 * shlib-versions: Remove OS-specific entries. Moved to files in
12530 * sysdeps/mach/hurd/shlib-versions: New file.
12531 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12533 * nptl/shlib-versions: Remove architecture-specific entries.
12534 Moved to files in sysdeps.
12535 * shlib-versions: Likewise.
12536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12538 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12539 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12540 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12541 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12543 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12544 (UDP_NO_CHECK6_RX): Likewise.
12546 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12548 * sysdeps/posix/sysconf.c (__sysconf): Spell
12549 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12551 2014-08-12 Florian Weimer <fweimer@redhat.com>
12553 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12555 * iconv/Versions (__gconv_transliterate): Export for use from
12557 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12558 (struct __gconv_trans_data, __gconv_trans_fct,
12559 __gconv_trans_context_fct, __gconv_trans_query_fct,
12560 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12562 (struct __gconv_step_data): Remove __trans member.
12563 (__gconv_transliterate): Declaration moved from gconv_int.h. No
12564 longer hidden. Remove unused trans_data argument.
12565 * iconv/gconv_int.h (struct trans_struct): Remove definition.
12566 (__gconv_translit_find): Remove declaration.
12567 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
12569 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12570 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12571 trans_data argument. Add hidden definition.
12572 (__gconv_translit_find): Remove.
12573 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12574 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12575 * iconv/skeleton.c: Remove transliteration initialization.
12576 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12577 __gconv_step_data initialization.
12578 * libio/iofwide.c (__libio_translit_): Remove.
12579 (_IO_fwide): Adjust struct __gconv_step_data initialization.
12580 * wcsmbs/btowc.c (__btowc): Likewise.
12581 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12582 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12583 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12584 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12585 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12586 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12587 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12588 * wcsmbs/wctob.c (wctob): Likewise.
12590 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12593 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12594 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
12596 * sysdeps/x86/Makefile: Adjust.
12598 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12599 Roland McGrath <roland@hack.frob.com>
12601 * locale/weight.h: Add include guard.
12602 (findidx): Make static rather than auto; take new parameters
12603 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12604 * locale/weightwc.h: Likewise.
12605 * posix/fnmatch_loop.c
12606 (FCT): Change type of EXTRA from int32_t to wint_t.
12607 Don't include either header inside the function.
12608 Call FINDIDX rather than findidx, and pass new arguments.
12609 #undef FINDIDX at the end of the file.
12610 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12611 FINDIDX before including fnmatch_loop.c for the non-wide version.
12612 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12613 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12614 for the wide version.
12615 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12616 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12617 Pass new arguments to findidx.
12618 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12619 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12620 Don't #include it inside the function. Pass new arguments to findidx.
12621 * posix/regex_internal.h
12622 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12623 (re_string_elem_size_at): Don't #include it inside the function.
12624 Pass new arguments to findidx.
12625 * string/strcoll_l.c: #include WEIGHT_H at top level.
12626 (get_next_seq): Don't #include it inside the function.
12627 Pass new arguments to findidx.
12628 (get_next_seq_nocache): Likewise.
12629 * string/strxfrm_l.c: #include WEIGHT_H at top level.
12630 (STRXFRM): Don't #include it inside the function.
12631 Pass new arguments to findidx.
12633 2014-09-11 Florian Weimer <fweimer@redhat.com>
12636 * malloc/malloc.c (unlink): Turn asserts into a call to
12639 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
12642 * libio/wfileops (do_ftell_wide): Free OUT.
12644 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
12646 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12648 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12651 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12652 group if the current group is empty.
12654 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12656 * benchtests/bench-memset.c (test_main): Add more test from size
12657 from 32 to 512 bytes.
12658 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12659 Add POWER8 memset object.
12660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12661 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12662 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12664 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12666 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12667 multiarch POWER8 memset optimization.
12668 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12669 POWER8 memset optimization.
12671 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12672 Remove bzero multiarch objects.
12673 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12674 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12675 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12676 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12678 [__bzero]: Redefine to specific name.
12679 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12680 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12681 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12683 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12684 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12686 2014-09-10 Florian Weimer <fweimer@redhat.com>
12688 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12689 warnings into errors.
12691 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12692 __cxa_thread_atexit_impl prototype.
12694 2014-09-09 Steve Ellcey <sellcey@mips.com>
12696 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12697 Fix capitalization of error message.
12699 2014-09-09 Steve Ellcey <sellcey@mips.com>
12701 * sysdeps/mips/preconfigure: Modify ABI tests.
12703 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
12705 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12707 2014-09-07 Roland McGrath <roland@hack.frob.com>
12708 Carlos O'Donell <carlos@systemhalted.org>
12710 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12711 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12712 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12713 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12714 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12715 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12716 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12717 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12718 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12719 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12720 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12721 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12722 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12723 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12724 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12725 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12726 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12727 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12728 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12729 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12730 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12731 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12732 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12733 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12734 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12735 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12736 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12737 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12738 Deconditionalize the code that was previously under [RESET_PID].
12739 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12740 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12741 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12742 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12745 2014-09-08 Allan McRae <allan@archlinux.org>
12747 * version.h (RELEASE): Set to "development".
12748 (VERSION): Set to "2.20.90"
12750 2014-09-07 Allan McRae <allan@archlinux.org
12752 * version.h (RELEASE): Set to "stable".
12753 (VERSION): Set to "2.20"
12754 * include/features.h (__GLIBC_MINOR__): Set to 20.
12756 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12759 * po/ko.po: Update Korean translation from translation project.
12761 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
12764 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12765 macro for handling signed relocations.
12767 2014-09-03 Florian Weimer <fweimer@redhat.com>
12770 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12771 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12773 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12774 * iconvdata/ibm935.c (BODY): Likewise.
12775 * iconvdata/ibm937.c (BODY): Likewise.
12776 * iconvdata/ibm939.c (BODY): Likewise.
12777 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12779 * iconvdata/Makefile (iconv-test.out): Pass module list to test
12781 * iconvdata/run-iconv-test.sh: New test loop for checking for
12784 2014-09-02 Khem Raj <raj.khem@gmail.com>
12786 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12789 2014-09-01 Allan McRae <allan@archlinux.org>
12791 * po/eo.po: Update Esperanto translation from translation project.
12793 * po/ca.po: Update Catalan translation from translation project.
12795 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12797 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12798 __proc_dostop call.
12800 2014-08-27 Mark Wielaard <mjw@redhat.com>
12803 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12804 to call set_thread_area instead of hand written asm.
12805 (__NR_set_thread_area): Removed define.
12806 (TLS_FLAG_WRITABLE): Likewise.
12807 (__ASSUME_SET_THREAD_AREA): Remove check.
12808 (TLS_EBX_ARG): Remove define.
12809 (TLS_LOAD_EBX): Likewise.
12811 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12813 Simplify atomicity of socket creation in bind.
12815 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12816 looking up the name after linking the file.
12818 2014-08-27 Allan McRae <allan@archlinux.org>
12820 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12822 2014-08-26 Florian Weimer <fweimer@redhat.com>
12825 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12826 trans_compare, open_translit, __gconv_translit_find):
12827 Remove module loading code.
12829 2014-08-26 Allan McRae <allan@archlinux.org>
12831 * po/vi.po: Update Vietnamese translation from translation project.
12833 * po/uk.po: Update Ukrainian translation from translation project.
12835 * po/fr.po: Update French translation from translation project.
12837 * po/ru.po: Update Russian translation from translation project.
12839 * po/pl.po: Update Polish translation from translation project.
12841 * po/cs.po: Update Czech translation from translation project.
12843 * po/de.po: Update German translation from translation project.
12845 * po/bg.po: Update Bulgarian translation from translation project.
12847 * po/sv.po: Update Sweedish translation from translation project.
12849 * po/nl.po: Update Dutch translation from translation project.
12851 * po/es.po: Update Spanish translation from translation project.
12853 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12855 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12857 * catgets/Makefile (CPPFLAGS-gencat): Remove.
12858 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12859 (CPPFLAGS-iconvconfig): Likewise.
12860 * timezone/Makefile (CPPFLAGS-zic): Likewise.
12862 * include/libc-symbols.h: Remove unnecessary check for
12864 * nptl/pthreadP.h: Likewise.
12865 * sysdeps/aarch64/setjmp.S: Likewise.
12866 * sysdeps/alpha/setjmp.S: Likewise.
12867 * sysdeps/arm/sysdep.h: Likewise.
12868 * sysdeps/i386/setjmp.S: Likewise.
12869 * sysdeps/m68k/setjmp.c: Likewise.
12870 * sysdeps/posix/getcwd.c: Likewise.
12871 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12872 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12873 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12874 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12875 * sysdeps/sh/sh3/setjmp.S: Likewise.
12876 * sysdeps/sh/sh4/setjmp.S: Likewise.
12877 * sysdeps/unix/alpha/sysdep.h: Likewise.
12878 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12879 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12880 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12881 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12885 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12886 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12887 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12888 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12889 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12891 * sysdeps/x86_64/setjmp.S: Likewise.
12893 2014-08-13 Joseph Myers <joseph@codesourcery.com>
12896 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12898 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12899 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12901 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12903 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12906 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12907 and __x86_64__ when disabling x87 inline functions.
12909 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
12912 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12913 asm statement with __cpuid_count.
12915 2014-08-12 Mike Frysinger <vapier@gentoo.org>
12917 * configure.ac: Change __ehdr_start code to dereference the struct.
12918 Run readelf on the output to look for relocations.
12919 * configure: Regenerated.
12921 2014-08-12 Joseph Myers <joseph@codesourcery.com>
12924 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12926 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12928 2014-08-12 Roland McGrath <roland@hack.frob.com>
12930 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12932 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
12935 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12936 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12938 2014-08-12 Sean Anderson <seanga2@gmail.com>
12940 * malloc/malloc.c: Fix typo in comment.
12942 2014-08-09 Allan McRae <allan@archlinux.org>
12944 * Regenerate libc.po.
12946 2014-08-08 Mike Frysinger <vapier@gentoo.org>
12948 * intl/tst-gettext2.sh: Check every lang file for creation.
12950 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12952 * sysdeps/aarch64/fpu/math_private.h
12953 (libc_feholdsetround_noex_aarch64_ctx): New function.
12955 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12957 * sysdeps/arm/armv6/strcpy.S (strcpy):
12958 Fix performance issue in misaligned cases.
12960 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12962 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12963 Move definition from termios.h.
12964 (struct termio): Likewise.
12965 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12966 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12967 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12968 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12970 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12971 Move definition to ioctl-types.h
12972 (struct termio): Likewise.
12973 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12974 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12975 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12976 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12979 2014-08-05 Richard Henderson <rth@redhat.com>
12981 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12983 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12985 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12986 Use __feraiseexcept.
12987 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12988 Protect libm symbols with IS_IN_libm.
12990 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12992 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
12994 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12996 2014-08-04 Will Newton <will.newton@linaro.org>
12998 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
13001 2014-08-04 Mike Frysinger <vapier@gentoo.org>
13003 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13004 variants for each function.
13006 2014-08-04 Roland McGrath <roland@hack.frob.com>
13008 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13010 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13011 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13013 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13014 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13015 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13016 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13017 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13018 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13019 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13020 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13021 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13022 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13023 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13024 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13025 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13026 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13027 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13028 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13029 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13030 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13031 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13032 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13033 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13034 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13035 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13036 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13037 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13038 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13039 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13040 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13041 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13042 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13043 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13044 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13045 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13046 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13047 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13048 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13049 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13050 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13051 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13052 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13053 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13054 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13055 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13056 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13057 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13058 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13059 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13060 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13061 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13062 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13063 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13064 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13065 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13067 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13068 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13070 2014-08-04 Roland McGrath <roland@hack.frob.com>
13072 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13073 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13074 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13075 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13076 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13077 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13079 2014-08-04 Roland McGrath <roland@hack.frob.com>
13081 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13082 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13083 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13084 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13086 2014-08-04 Roland McGrath <roland@hack.frob.com>
13088 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13089 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13090 (__libc_vfork): Define function under this name.
13091 (__vfork): Define as an alias.
13092 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13093 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13095 2014-08-04 Roland McGrath <roland@hack.frob.com>
13097 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13098 that was previously under [RESET_PID].
13099 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13101 2014-08-04 Andreas Schwab <schwab@suse.de>
13103 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13105 2014-08-03 Mike Frysinger <vapier@gentoo.org>
13107 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13110 2014-08-01 Roland McGrath <roland@hack.frob.com>
13112 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13114 2014-08-01 Richard Henderon <rth@redhat.com>
13116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13117 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13118 typo in exact zero test.
13119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13120 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13121 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13123 2014-08-01 Roland McGrath <roland@hack.frob.com>
13125 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13126 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13127 * sysdeps/arm/sysdep.h: ... here.
13128 [!__ASSEMBLER__]: Include <stdint.h>.
13130 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13132 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13133 (HAVE_WCTYPE_H): Likewise.
13134 (HAVE_ISWCTYPE): Likewise.
13135 (ENABLE_NLS): Likewise.
13136 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13137 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13139 * posix/regex_internal.c: Check if DEBUG is defined and is
13142 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13143 (HAVE_MBSRTOWCS): Likewise.
13144 * posix/fnmatch.c: Include string.h unconditionally.
13146 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13148 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13151 2014-07-31 Roland McGrath <roland@hack.frob.com>
13153 * sysdeps/generic/safe-fatal.h: New file.
13154 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13155 * nptl/forward.c: Include it.
13156 (__pthread_unwind): Use __safe_fatal as default action, rather
13157 than a bogus use of INTERNAL_SYSCALL that could never work.
13159 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13160 * configure.ac (libc_cv_builtin_trap): New test.
13161 * configure: Regenerated.
13162 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13163 (ABORT_INSTRUCTION): Define using __builtin_trap.
13165 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13166 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13167 * sysdeps/nptl/nptl-signals.h: New file.
13168 * nptl/pthreadP.h: Include <nptl-signals.h>.
13170 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13172 * sysdeps/s390/s390-64/utf16-utf32-z9.c
13173 (ONE_DIRECTION): Define.
13174 * sysdeps/s390/s390-64/utf8-utf16-z9.c
13175 (ONE_DIRECTION): Define.
13176 * sysdeps/s390/s390-64/utf8-utf32-z9.c
13177 (ONE_DIRECTION): Define.
13179 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13181 * sysdeps/s390/Makefile: Delete file.
13182 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13183 * sysdeps/s390/__longjmp.c: Delete file.
13184 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13185 Remove fields __flags and __reserved.
13186 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13187 and add versioning.
13188 * sysdeps/s390/rtld-__longjmp.c: Delete file.
13189 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13190 * sysdeps/s390/rtld-setjmp.S: Likewise.
13191 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13192 * sysdeps/s390/s390-32/__longjmp.c: ... here.
13193 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13194 * sysdeps/s390/s390-32/setjmp.S: ... here.
13196 (__sigsetjmp): Remove setting __flags field.
13197 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13198 * sysdeps/s390/s390-64/__longjmp.c: ... here.
13199 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13200 * sysdeps/s390/s390-64/setjmp.S: ... here.
13202 (__sigsetjmp): Remove setting __flags field.
13203 * sysdeps/s390/setjmp.S: Delete file.
13204 * sysdeps/s390/sigjmp.c: Likewise.
13205 * sysdeps/s390/v1-longjmp.c: Likewise.
13206 * sysdeps/s390/v1-setjmp.h: Likewise.
13207 * sysdeps/s390/v1-sigjmp.c: Likewise.
13208 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13209 Remove v1-longjmp_chk.
13210 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13211 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13212 Include debug/longjmp_chk.c and add versioning.
13213 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13214 Include nptl/pt-longjmp.c and add versioning.
13215 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13216 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13217 Include __longjmp.c.
13218 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13220 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13221 (__getcontext): Remove setting __flags field.
13223 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13224 Don't restore upper high grps.
13225 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13227 (__swapcontext): Remove setting uc_flags field.
13228 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13230 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13231 Include __longjmp.c.
13232 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13234 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13235 (__getcontext): Remove setting __flags field.
13237 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13238 (__swapcontext): Remove setting uc_flags field.
13239 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13240 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13241 Remove fields uc_high_gprs and __reserved.
13242 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13243 New file with reverted content.
13244 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13245 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13247 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13250 2014-07-31 Andreas Schwab <schwab@suse.de>
13252 * config.h.in (HAVE_IFUNC): Define to 0.
13253 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13256 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
13258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13259 memmove-avx-unaligned, memcpy-avx-unaligned and
13260 mempcpy-avx-unaligned.
13261 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13262 Add tests for AVX memcpy functions.
13263 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13264 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13266 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13267 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13269 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13270 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13272 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13273 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13274 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13276 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13279 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13282 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
13285 * manual/llio.texi: Add section about open file description locks.
13286 * manual/examples/ofdlocks.c: Example of open file description
13288 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13289 F_OFD_SETLK, and F_OFD_SETLKW.
13291 2014-07-23 Allan McRae <allan@archlinux.org>
13293 * po/es.po: Update Spanish translation from translation project.
13295 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
13297 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13299 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
13302 * sysdeps/arm/dl-machine.h (elf_machine_rela)
13303 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13304 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13306 2014-07-17 Joseph Myers <joseph@codesourcery.com>
13309 * math/fesetenv.c (__fesetenv)
13310 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13311 * math/feupdateenv.c (__feupdateenv)
13312 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13314 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13315 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13316 (__ASSUME_SOCKETCALL): Do not define.
13318 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13319 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13320 (__ASSUME_SOCKETCALL): Do not define.
13321 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13322 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13323 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13324 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13325 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13326 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13327 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13328 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13330 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13331 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13332 (__ASSUME_SOCKETCALL): Do not define.
13333 (__ASSUME_IPC64): Define unconditionally.
13334 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13335 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13336 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13337 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13338 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13339 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13340 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13343 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13344 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13345 (__ASSUME_SOCKETCALL): Do not define.
13346 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13347 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13348 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13349 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13350 (__ASSUME_REQUEUE_PI): Define unconditionally.
13351 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13352 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13353 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13354 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13355 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13356 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13358 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13359 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13360 (__ASSUME_SOCKETCALL): Do not define.
13361 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13362 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13363 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13364 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13365 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13366 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13368 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13369 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13370 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13371 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13372 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13373 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13374 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13375 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13376 (__ASSUME_GETCPU_SYSCALL): Likewise.
13378 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13379 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
13380 cases for individual architectures.
13381 * sysdeps/gnu/configure: Regenerated.
13382 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13383 LIBC_SLIBDIR_RTLDDIR.
13384 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13385 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13386 LIBC_SLIBDIR_RTLDDIR.
13387 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13389 LIBC_SLIBDIR_RTLDDIR.
13390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13392 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13393 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13395 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13396 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13398 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13399 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13400 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13401 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13403 * sysdeps/aarch64/shlib-versions: Move to ...
13404 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13405 * sysdeps/alpha/shlib-versions: Move to ...
13406 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13407 * sysdeps/arm/shlib-versions: Move to ...
13408 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13409 * sysdeps/hppa/shlib-versions: Move all contents except for
13410 libgcc_s entry to ...
13411 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
13413 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
13414 * sysdeps/ia64/shlib-versions: Move to ...
13415 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
13417 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
13418 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13419 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13420 * sysdeps/microblaze/shlib-versions: Move to ...
13421 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13422 * sysdeps/mips/shlib-versions: Move to ...
13423 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
13425 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
13426 * sysdeps/tile/shlib-versions: Move to ...
13427 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13428 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13430 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
13431 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13433 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
13435 2014-07-17 Will Newton <will.newton@linaro.org>
13437 * sysdeps/arm/bits/atomic.h
13438 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13439 (__arch_compare_and_exchange_bool_16_int): Likewise.
13440 (__arch_compare_and_exchange_bool_64_int): Likewise.
13442 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13443 into an #else block.
13445 2014-07-16 Roland McGrath <roland@hack.frob.com>
13447 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13448 just Linux configurations. Test empirically that the compiler sets
13449 __ARM_EABI__, rather than using the tuple to decide.
13450 * sysdeps/arm/preconfigure: Regenerated.
13451 * sysdeps/unix/sysv/linux/arm/configure: File removed.
13452 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13453 contents appended ...
13454 * sysdeps/arm/configure.ac: ... here.
13455 * sysdeps/arm/configure: Regenerated.
13457 2014-07-15 Roland McGrath <roland@hack.frob.com>
13459 * nptl/pthread_kill.c: New file.
13460 * nptl/pthread_sigmask.c: New file.
13461 * nptl/pthread_sigqueue.c: New file.
13463 * sysdeps/nptl/lowlevellock.h: New file.
13464 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13465 * sysdeps/nptl/lowlevellock-futex.h: New file.
13467 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13468 Remove dead declarations.
13470 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
13472 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13473 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13474 config-cflags-avx2.
13475 * sysdeps/x86_64/configure.ac: Likewise.
13476 * sysdeps/i386/configure: Regenerated.
13477 * sysdeps/x86_64/configure: Likewise.
13478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13479 memset-avx2 only if config-cflags-avx2 is yes.
13480 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13481 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13483 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13484 only if HAVE_AVX2_SUPPORT is defined.
13485 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13487 2014-07-14 Alan Modra <amodra@gmail.com>
13490 * elf/elf.h (DT_PPC64_NUM): Correct value.
13491 * NEWS: Add to fixed bug list.
13493 2014-07-13 Jim Meyering <meyering@fb.com>
13496 regex: don't deref NULL upon heap allocation failure
13497 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13498 failure in one more place.
13499 To trigger the segfault, configure grep -with-included-regex,
13500 build it, and run these commands:
13501 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13503 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
13505 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13507 2014-07-11 Richard Henderson <rth@redhat.com>
13509 * sysdeps/aarch64/libm-test-ulps: Update.
13511 2014-07-10 Florian Weimer <fweimer@redhat.com>
13514 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13515 * nptl/allocatestack.c (__nptl_setxid_error): New function.
13516 (__nptl_setxid): Initialize error member. Call
13517 __nptl_setxid_error.
13518 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13519 * nptl/descr.h (struct xid_command): Add error member.
13520 * nptl/tst-setuid3.c: New file.
13521 * nptl/Makefile (tests): Add it.
13523 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13525 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13527 (__lll_trylock): Use __lll_base_trylock.
13528 (__lll_cond_trylock): Likewise.
13530 2014-07-10 Roland McGrath <roland@hack.frob.com>
13532 * nptl/pthread_create.c (start_thread): Use atomic_or and
13533 lll_futex_wake directly rather than lll_robust_dead.
13534 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13535 (lll_robust_dead): Macro removed.
13536 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13537 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13538 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13539 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13540 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13541 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13542 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13543 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13544 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13545 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13546 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13547 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13548 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13549 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13550 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13552 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13553 Use atomic_compare_and_exchange_val_acq directly rather than
13554 lll_robust_trylock.
13555 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13556 (__lll_robust_trylock, lll_robust_trylock): Removed.
13557 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13558 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13559 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13560 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13561 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13562 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13563 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13564 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13565 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13566 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13567 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13568 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13569 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13570 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13572 2014-07-02 Florian Weimer <fweimer@redhat.com>
13574 * manual/locale.texi (Locale Names): New section documenting
13575 locale name syntax. Adjust menu and node chaining accordingly.
13576 (Choosing Locale): Reference Locale Names, Locale Categories.
13577 Mention setting LC_ALL=C. Reflect that name syntax is now
13579 (Locale Categories): New section title. Reference Locale Names.
13580 LC_ALL is an environment variable, but not a category.
13581 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13582 description, now in Locale Name. Reference that section. Locale
13583 name syntax is now documented.
13585 2014-07-02 Florian Weimer <fweimer@redhat.com>
13588 * locale/findlocale.c (name_present, valid_locale_name): New
13590 (_nl_find_locale): Use the loc_name variable to store name
13591 candidates. Call name_present and valid_locale_name to check and
13592 validate locale names. Return an error if the locale is invalid.
13594 2014-07-02 Florian Weimer <fweimer@redhat.com>
13596 * locale/setlocale.c (setlocale): Use strdup for allocating
13597 composite name copy.
13599 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13601 Sync up with gnulib.
13602 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13603 [!_LIBC && ENABLE_NLS]: Include gettext.h.
13604 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13605 and _GL_ARG_NONNULL.
13606 [USE_UNLOCKED_IO]: Include unlocked-io.h.
13607 [!_LIBC]: Include code for Windows and Cygwin.
13608 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13609 Include prototype for int strerror_r.
13610 [!_LIBC] (is_open): New function.
13611 (flush_stdout): New function.
13612 (print_errno_message): Use it.
13614 (error_at_line): Likewise.
13615 (error_tail) Add function attribute macros. Use
13618 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13620 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13622 * io/ftw.c: Include sys/param.h unconditionally.
13624 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13627 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13629 (freecache): New function to free CACHE on exit.
13631 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13634 2014-07-09 David S. Miller <davem@davemloft.net>
13636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13638 * sysdeps/sparc/nptl/internaltypes.h: Delete.
13639 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13640 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13641 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13642 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13643 * sysdeps/sparc/nptl/sem_init.c: Likewise.
13644 * sysdeps/sparc/nptl/sem_post.c: Likewise.
13645 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13646 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13647 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13648 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13649 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13650 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13652 2014-07-09 Andreas Schwab <schwab@suse.de>
13654 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13656 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13657 (do_test): Likewise.
13659 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13661 2014-07-09 Will Newton <will.newton@linaro.org>
13663 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13664 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13665 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13666 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13667 * sysdeps/hppa/start.S (_start): Likewise.
13669 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13671 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13673 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13676 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13678 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13679 after checking that it is non-NULL.
13681 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13683 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13685 * sysdeps/powerpc/memmove.c: Remove file.
13686 * sysdeps/powerpc/powerpc32/power4/memcopy.h
13687 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13688 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13689 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13690 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13691 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13692 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13693 string memmove instead of removed powerpc one.
13695 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13696 [weak_alias]: Fix compiler warning due trailing data.
13697 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13698 [weak_alias]: Likewise.
13699 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13700 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13702 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13703 (__libc_ifunc_impl_list): Add memmove functions.
13705 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13707 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13709 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13711 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13713 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13715 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13717 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13719 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13721 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13723 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13725 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13727 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13729 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13731 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13733 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13735 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13737 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13739 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13742 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13744 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13745 to avoid alignment traps in non-cacheable memory.
13746 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13748 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13750 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13751 file: multiarch power7 memmove.
13752 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13753 multiarch default memmove.
13754 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13755 multiarch memove for powerpc32/power4.
13757 * string/bcopy.c: Use full path to include memmove.c.
13758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13760 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13761 bcopy for powerpc64.
13762 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13763 bcopy for powerpc64.
13764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13765 and memmove implementations.
13766 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13767 optimized multiarch memmove for POWER7/powerpc64.
13768 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13769 default multiarch memmove for powerpc64.
13770 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13771 multiarch for powerpc64.
13772 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13773 for POWER7/powerpc64.
13774 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13775 memmove for POWER7/powerpc64.
13777 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13780 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13781 __ELF_NATIVE_CLASS equal to 64.
13783 2014-07-07 Roland McGrath <roland@hack.frob.com>
13785 * sysdeps/nptl/lowlevellock.h: File removed.
13787 * NEWS: NPTL is no longer an add-on!
13788 * nptl/internaltypes.h: Moved ...
13789 * sysdeps/nptl/internaltypes.h: ... here.
13790 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13791 * sysdeps/nptl/fork.c: Likewise.
13792 * sysdeps/nptl/gai_misc.h: Likewise.
13793 * sysdeps/nptl/librt-cancellation.c: Likewise.
13794 * sysdeps/nptl/jmp-unwind.c: Likewise.
13795 * sysdeps/nptl/setxid.h: Likewise.
13796 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13797 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13798 * sysdeps/unix/sysv/linux/arm/Implies: New file.
13799 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13800 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13801 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13802 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13803 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13804 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13805 * sysdeps/unix/sysv/linux/mips/Implies: New file.
13806 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13807 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13808 * sysdeps/unix/sysv/linux/sh/Implies: New file.
13809 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13810 * sysdeps/unix/sysv/linux/tile/Implies: New file.
13811 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13812 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13813 * nptl/Makeconfig: Moved ...
13814 * sysdeps/nptl/Makeconfig: ... here.
13815 * nptl/configure: File removed.
13816 * nptl/ANNOUNCE: File removed.
13817 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13818 * sysdeps/unix/sysv/linux/configure: Regenerated.
13820 * nptl/Makefile (routines): Add libc_pthread_init,
13821 libc_multiple_threads, register-atfork and unregister-atfork.
13822 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13823 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13824 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13825 pthread-pi-defines.sym, structsem.sym.
13826 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13827 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13828 [$(subdir) = nptl] (tests): Add tst-setgetname.
13829 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13830 * sysdeps/unix/sysv/linux/sigaction.c: Just include
13831 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13832 [!LIBC_SIGACTION]: Remove aliases.
13833 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13834 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13835 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13836 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13837 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13838 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13839 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13840 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13841 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13842 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13843 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13844 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13845 __libc_allocate_rtsig_private.
13846 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13847 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13848 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13849 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13850 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13851 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13852 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13853 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13854 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13855 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13856 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13857 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13858 * nptl/internaltypes.h: ... here.
13859 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13860 * sysdeps/nptl/jmp-unwind.c: ... here.
13861 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13862 * nptl/libc-lowlevellock.c: ... here.
13863 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13864 * nptl/libc_multiple_threads.c: ... here.
13865 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13866 * nptl/libc_pthread_init.c: ... here.
13867 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13868 * nptl/lowlevelbarrier.sym: ... here.
13869 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13870 * nptl/lowlevelcond.sym: ... here.
13871 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13872 * nptl/lowlevellock.c: ... here.
13873 * nptl/lowlevellock.h: Moved ...
13874 * sysdeps/nptl/lowlevellock.h: ... here.
13875 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13876 * nptl/lowlevelrobustlock.c: ... here.
13877 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13878 * nptl/lowlevelrobustlock.sym: ... here.
13879 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13880 * nptl/lowlevelrwlock.sym: ... here.
13881 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13882 * nptl/pt-fork.c: ... here.
13883 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13884 * nptl/pthread-pi-defines.sym: ... here.
13885 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13886 * nptl/pthread_attr_getaffinity.c: ... here.
13887 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13888 * nptl/pthread_attr_setaffinity.c: ... here.
13889 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13890 * nptl/pthread_mutex_cond_lock.c: ... here.
13891 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13893 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13894 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13895 * nptl/pthread_once.c: ... here, replacing old file.
13896 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13897 * nptl/pthread_yield.c: ... here.
13898 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13899 * nptl/register-atfork.c: ... here.
13900 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13901 * nptl/sem_post.c: ... here.
13902 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13903 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13904 * nptl/sem_timedwait.c: ... here.
13905 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13906 * nptl/sem_trywait.c: ... here.
13907 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13908 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13909 * nptl/sem_wait.c: ... here.
13910 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13911 * nptl/structsem.sym: ... here.
13912 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13913 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13914 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13915 * nptl/unregister-atfork.c: ... here.
13916 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13917 * nptl/unwindbuf.sym: ... here.
13918 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13919 * sysdeps/nptl/fork.c: ... here.
13920 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13921 * sysdeps/nptl/fork.h: ... here.
13922 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13923 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13924 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13925 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13926 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13927 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13928 * sysdeps/unix/sysv/linux/getpid.c: ... here.
13929 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13930 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13931 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13932 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13933 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13934 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13935 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13936 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13937 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13938 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13939 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13940 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13941 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13942 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13943 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13944 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13945 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13946 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13947 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13948 * sysdeps/unix/sysv/linux/raise.c: ... here.
13949 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13950 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13951 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13952 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13953 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13954 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13955 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13956 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13957 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13958 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13959 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13960 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13961 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13962 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13963 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13965 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13967 * sysdeps/generic/memcopy.h: Add comment for
13968 MEMCPY_OK_FOR_FWD_MEMMOVE.
13970 2014-07-04 Will Newton <will.newton@linaro.org>
13972 * string/memchr.c: Merge from gnulib.
13973 [_LIBC]: Remove conditionals.
13974 (__ptr_t): Remove define.
13975 (LONG_MAX_32_BITS): Likewise.
13976 (LONG_MAX): Likewise.
13977 (MEMCHR): Use ANSI prototype and optimize algorithm.
13979 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13981 2014-07-03 Roland McGrath <roland@hack.frob.com>
13983 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13984 (lll_futex_timed_wait_bitset): Fix syscall argument count.
13986 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13987 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13988 in a bare environment with no <stdlib.h> installed.
13989 * sysdeps/nptl/configure: Regenerated.
13991 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13993 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13994 AC_EGREP_CPP for kernel header checks, so they only succeed if
13995 including <linux/version.h> actually works right.
13996 * sysdeps/unix/sysv/linux/configure: Regenerated.
13998 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13999 value so it's not diagnosed as unused.
14001 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
14002 thing) with "ifeq ($(subdir),rt)".
14004 2014-07-03 Richard Henderson <rth@redhat.com>
14006 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14007 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14008 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14010 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14011 (math_force_eval): New.
14013 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14014 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14016 * sysdeps/alpha/fpu/s_round.c: Remove file.
14017 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14019 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14020 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14021 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14022 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14023 (_dl_start, print_statistics): Likewise.
14024 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14025 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14027 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14028 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14029 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14030 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14031 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14032 (HP_SMALL_TIMING_AVAIL): Define.
14033 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14034 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14035 (HP_SMALL_TIMING_AVAIL): Define.
14036 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14037 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14039 * sysdeps/aarch64/hp-timing.h: New file.
14041 * sysdeps/generic/hp-timing.h: Remove dead comment.
14042 * sysdeps/generic/hp-timing-common.h: New file.
14043 * sysdeps/alpha/hp-timing.h: Include it.
14044 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14045 * sysdeps/i386/i686/hp-timing.h: Likewise.
14046 * sysdeps/ia64/hp-timing.h: Likewise.
14047 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14048 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14049 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14050 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14051 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14052 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14053 (hp_timing_t): New.
14055 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14056 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14057 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14058 * elf/rtld.c (_dl_start_final): Likewise.
14059 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14060 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14061 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14062 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14063 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14064 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14065 (HP_TIMING_DIFF_INIT): Remove.
14066 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14067 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14068 (HP_TIMING_DIFF_INIT): Remove.
14069 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14070 * sysdeps/i386/i686/hp-timing.c: Remove file.
14071 * sysdeps/x86_64/hp-timing.c: Remove file.
14072 * sysdeps/ia64/hp-timing.c: Remove file.
14073 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14074 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14075 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14076 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14078 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14079 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14080 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14081 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14082 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14083 (HP_TIMING_ACCUM): Remove.
14084 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14085 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14086 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14088 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14089 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14090 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14091 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14092 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14093 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14094 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14095 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14097 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14099 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
14101 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14103 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14105 Sync up with gettext.
14106 * intl/loadmsgcat.c: Define O_BINARY if not defined.
14107 [_MSC_VER]: Include malloc.h
14108 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14109 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14110 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
14111 TEMP_FAILURE_RETRY. Cast return of alloca.
14112 [!_LIBC] Call gl_rwlock_init.
14113 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14115 2014-07-02 Roland McGrath <roland@hack.frob.com>
14117 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14118 before checking its value.
14120 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14122 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14124 * debug/memcpy_chk.c: Don't include pagecopy.h.
14125 * debug/mempcpy_chk.c: Likewise.
14126 * string/memcpy.c: Likewise.
14127 * string/memmove.c: Likewise.
14128 * sysdeps/powerpc/memmove.c: Likewise.
14129 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
14130 definition of PAGE_COPY_FWD_MAYBE here...
14131 * sysdeps/generic/pagecopy.h: ... from here.
14132 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14134 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14135 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14137 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14138 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14141 (__libc_ifunc_impl_list): Likewise.
14142 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14143 multiarch strcat for PPC64.
14144 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14145 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14147 2014-07-02 Roland McGrath <roland@hack.frob.com>
14149 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14151 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14153 * intl/loadmsgcat.c: Remove declaration of
14154 get_sysdep_segment_value.
14155 (get_sysdep_segment_value): Use ISO C style.
14156 (_nl_load_domain): Use ISO C style. Get rid of redundant
14157 semicolon. Fix typo and formatting in comment.
14158 (_nl_unload_domain): Use ISO C style.
14160 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14162 2014-07-02 Will Newton <will.newton@linaro.org>
14164 * malloc/obstack.c: Merge from gnulib master.
14165 [HAVE_CONFIG_H]: Remove conditional code.
14166 [!_LIBC]: Include config.h.
14167 [!ELIDE_CODE]: Don't include inttypes.h, include
14168 stdint.h unconditionally.
14169 (print_and_abort): Mark as _Noreturn.
14170 (_obstack_allocated_p): Mark as __attribute_pure__.
14171 (obstack_free): Rename to __obstack_free.
14172 [!__attribute__]: Remove conditional code.
14173 * malloc/obstack.h: Merge from gnulib master.
14174 [__cplusplus]: Move conditional down.
14175 [!__attribute_pure__]: Define __attribute_pure__ here
14176 if it is not already defined.
14177 (_obstack_memory_used): Mark as __attribute_pure__.
14178 [!__obstack_free]: Define as obstack_free.
14179 [__GNUC__]: Remove check for ancient NeXT gcc.
14181 2014-07-02 Will Newton <will.newton@linaro.org>
14182 Paul Eggert <eggert@cs.ucla.edu>
14184 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14186 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14188 * resolv/gethnamaddr.c: Add comment warning that the file is
14191 2014-07-01 Carlos O'Donell <carlos@redhat.com>
14193 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14196 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14197 entry for aio_cancel and aio_cancel64.
14198 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14199 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14200 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14201 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14202 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14203 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14204 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14205 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14206 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14207 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14208 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14209 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14210 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14212 2014-07-01 Roland McGrath <roland@hack.frob.com>
14214 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14215 * nptl/pthread_mutex_lock.c: Likewise.
14216 * nptl/pthread_mutex_timedlock.c: Likewise.
14217 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14219 2014-07-01 Richard henderson <rth@redhat.com>
14221 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14222 (__isnan, __isnanl): Remove.
14223 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14225 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14227 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
14229 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14231 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14233 * resolv/nss_dns/dns-host.c (getanswer_r)
14234 [MULTI_PTRS_ARE_ALIASES]: Remove code.
14236 2014-07-01 Joseph Myers <joseph@codesourcery.com>
14238 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14239 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14241 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14242 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14244 2014-07-01 Roland McGrath <roland@hack.frob.com>
14246 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14247 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14249 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14250 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14252 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14253 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14255 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14256 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14258 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14259 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14260 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14261 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14263 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14264 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14265 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14266 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14267 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14269 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14271 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14272 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14273 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14274 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14275 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14276 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14277 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14278 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14279 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14280 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14281 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14282 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14283 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14284 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14285 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14286 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14287 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14288 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14289 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14290 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14292 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14293 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14294 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14295 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14296 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14297 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14298 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14299 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14301 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
14303 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14304 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14305 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14308 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14312 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14314 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14315 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14317 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14319 * sysdeps/arm/libm-test-ulps: Regenerated.
14321 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14322 Roland McGrath <roland@hack.frob.com>
14324 * test-skeleton.c (signal_handler): Kill the whole process group
14325 before killing the child individually.
14326 (main): Report any failure on `setpgid'.
14328 2014-06-30 Roland McGrath <roland@hack.frob.com>
14330 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14331 from _TLS_H to _ARM_NPTL_TLS_H.
14332 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14333 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14335 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14338 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14339 (__expm1l): Return argument unchanged when small but not
14342 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14343 include macro name.
14344 (_FP_UNPACK_RAW_1_P): Likewise.
14345 (_FP_PACK_RAW_1): Likewise.
14346 (_FP_PACK_RAW_1_P): Likewise.
14347 (_FP_MUL_MEAT_1_wide): Likewise.
14348 (_FP_MUL_MEAT_DW_1_hard): Likewise.
14349 (_FP_MUL_MEAT_1_hard): Likewise.
14350 (_FP_DIV_MEAT_1_imm): Likewise.
14351 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14352 (_FP_DIV_MEAT_1_udiv): Likewise.
14353 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14354 (_FP_UNPACK_RAW_2): Likewise.
14355 (_FP_UNPACK_RAW_2_P): Likewise.
14356 (_FP_PACK_RAW_2): Likewise.
14357 (_FP_PACK_RAW_2_P): Likewise.
14358 (_FP_MUL_MEAT_DW_2_wide): Likewise.
14359 (_FP_MUL_MEAT_2_wide): Likewise.
14360 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14361 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14362 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14363 (_FP_MUL_MEAT_2_gmp): Likewise.
14364 (_FP_DIV_MEAT_2_udiv): Likewise.
14365 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14366 (_FP_FRAC_SRL_4): Likewise.
14367 (_FP_FRAC_SRST_4): Likewise.
14368 (_FP_FRAC_SRS_4): Likewise.
14369 (_FP_UNPACK_RAW_4): Likewise.
14370 (_FP_UNPACK_RAW_4_P): Likewise.
14371 (_FP_PACK_RAW_4): Likewise.
14372 (_FP_PACK_RAW_4_P): Likewise.
14373 (_FP_MUL_MEAT_DW_4_wide): Likewise.
14374 (_FP_MUL_MEAT_4_wide): Likewise.
14375 (_FP_MUL_MEAT_4_gmp): Likewise.
14376 (umul_ppppmnnn): Likewise.
14377 (_FP_DIV_MEAT_4_udiv): Likewise.
14378 (__FP_FRAC_ADD_4): Likewise.
14379 (__FP_FRAC_SUB_3): Likewise.
14380 (__FP_FRAC_SUB_4): Likewise.
14381 (__FP_FRAC_DEC_3): Likewise.
14382 (__FP_FRAC_DEC_4): Likewise.
14383 (__FP_FRAC_ADDI_4): Likewise.
14384 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14385 (_FP_FRAC_SRL_8): Likewise.
14386 (_FP_FRAC_SRS_8): Likewise.
14388 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14389 include macro name.
14390 (FP_UNPACK_RAW_EP): Likewise.
14391 (FP_PACK_RAW_E): Likewise.
14392 (FP_PACK_RAW_EP): Likewise.
14393 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14394 (_FP_ISSIGNAN): Likewise.
14395 (_FP_ADD_INTERNAL): Likewise.
14396 (_FP_FMA): Likewise.
14397 (_FP_CMP): Likewise.
14398 (_FP_SQRT): Likewise.
14399 (_FP_TO_INT): Likewise.
14400 (_FP_FROM_INT): Likewise.
14401 (FP_EXTEND): Likewise.
14402 (_FP_DIV_MEAT_N_loop): Likewise.
14404 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14406 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14409 2014-06-29 Joseph Myers <joseph@codesourcery.com>
14412 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14413 result with correct sign in case of exponents that produce
14414 overflow except for X very close to 1.
14416 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
14418 mktime: merge #if/#ifdef usage from glibc
14419 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14420 as that works with both Glibc's and Gnulib's style.
14421 See thread starting at Siddhesh Poyarekar's bug report at:
14422 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14424 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14426 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14427 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14428 * sysdeps/tile/tilegx/memmove.c: Remove file.
14430 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14432 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14433 abi-name definition.
14434 * scripts/soversions.awk: Do not handle or generate ABI lines.
14435 * shlib-versions: Remove ABI entries.
14436 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14437 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14439 2014-06-27 Roland McGrath <roland@hack.frob.com>
14441 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14442 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14443 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14444 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14445 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14446 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14447 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14449 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14451 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14452 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14453 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14454 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14455 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14456 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14457 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14458 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14459 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14460 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14461 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14462 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14463 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14465 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14466 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14467 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14469 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14470 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14472 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14475 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14476 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14477 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14480 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14481 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14482 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14483 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14484 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14485 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14486 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14487 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14489 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14491 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14492 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14494 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14495 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14497 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14498 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14499 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14500 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14502 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14504 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14505 Identical file removed.
14506 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14508 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14509 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14510 Identical file removed.
14511 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14512 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14513 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14515 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14516 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14517 Identical file removed.
14518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14519 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14520 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14521 Identical file removed.
14522 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14523 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14524 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14525 Identical file removed.
14526 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14527 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14528 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14529 Identical file removed.
14530 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14532 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14533 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14534 Identical file removed.
14535 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14537 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14538 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14539 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14540 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14541 Identical file removed.
14542 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14544 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14546 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14547 Identical file removed.
14548 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14550 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14551 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14552 Identical file removed.
14553 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14555 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14556 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14557 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14558 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14559 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14560 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14562 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14563 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14564 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14566 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14567 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14568 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14569 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14570 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14572 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
14575 * nscd/nscd.c (monitor_child): Return exit status of child
14576 instead of return value from wait syscall.
14578 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14580 * configure.ac (libc_commonpagesize): Remove variable.
14581 (libc_relro_required): Likewise.
14582 (libc_cv_z_relro): Remove configure test.
14583 * configure: Regenerated.
14584 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14586 (libc_relro_required): Likewise.
14587 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14588 (libc_relro_required): Likewise.
14589 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14590 (libc_relro_required): Likewise.
14591 * sysdeps/arm/preconfigure: Regenerated.
14592 * sysdeps/ia64/preconfigure: Remove file.
14593 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14595 (libc_relro_required): Likewise.
14599 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14600 (__ieee754_yn): Set FE_TONEAREST mode internally and then
14601 recompute overflowing results in original rounding mode.
14602 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14603 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14604 recompute overflowing results in original rounding mode.
14605 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14606 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14607 recompute overflowing results in original rounding mode.
14608 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14609 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14610 recompute overflowing results in original rounding mode.
14611 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14612 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14613 recompute overflowing results in original rounding mode.
14614 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14615 (libc_feholdsetround_ctx): New macro.
14616 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14617 * sysdeps/i386/fpu/libm-test-ulps: Update.
14618 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14620 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14622 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14623 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14624 corresponding .cpsetup call.
14626 2014-06-26 Roland McGrath <roland@hack.frob.com>
14628 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14629 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14630 * sysdeps/arm/Makefile [$(subdir) = csu]
14631 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14632 (static-only-routines): Add aeabi_read_tp here.
14633 (shared-only-routines): Add libc-aeabi_read_tp here.
14634 (CFLAGS-libc-start.c): Add -fexceptions here.
14635 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14636 (sysdep_routines, static-only-routines, shared-only-routines):
14637 Don't add to these here.
14638 (CFLAGS-libc-start.c): Likewise.
14640 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14641 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14642 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14643 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14644 * sysdeps/arm/Makefile [$(subdir) = rt]
14645 (librt-sysdep_routines, librt-shared-only-routines):
14646 Append rt-aeabi_unwind_cpp_pr1 here.
14647 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14648 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14649 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14650 (libpthread-sysdep_routines, libpthread-shared-only-routines):
14651 Append nptl-aeabi_unwind_cpp_pr1 here.
14652 (tests): Filter out tst-cleanupx4 here.
14653 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14654 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14655 Don't do those here.
14657 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14659 * scripts/list-sources.sh: Do not handle ports specially.
14661 2014-06-26 Roland McGrath <roland@hack.frob.com>
14663 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14664 * sysdeps/arm/feupdateenv.c: Likewise.
14666 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14668 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14670 * manual/texinfo.tex: Update to version 2014-05-05.10 with
14671 trailing whitespace removed.
14672 * scripts/config.guess: Update to version 2014-03-23.
14673 * scripts/config.sub: Update to version 2014-05-01
14674 * scripts/install-sh: Update to version 2013-12-25.23.
14675 * scripts/move-if-change: Update from gnulib.
14677 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14679 * debug/memmove_chk.c: Remove pagecopy.h include.
14681 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
14683 * time/mktime.c (leapyear): Remove inline keyword. The code is now
14684 identical to gnulib mktime.
14686 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14688 * configure.ac: Do not test for machine being rs6000. Do not test
14689 for powerpc*-*soft.
14690 * configure: Regenerated.
14693 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14695 * configure: Regenerated.
14696 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14697 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14698 Remove configure test.
14699 * sysdeps/arm/configure: Regenerated.
14700 * sysdeps/nptl/configure.ac: Do not check
14701 libc_cv_asm_cfi_directives.
14702 * sysdeps/nptl/configure: Regenerated.
14703 * sysdeps/x86_64/nptl/configure.ac: Remove file.
14704 * sysdeps/x86_64/nptl/configure: Remove generated file.
14705 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14707 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14709 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14711 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14712 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14713 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14716 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14717 instead of whether it is defined.
14718 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14719 * sysdeps/hppa/dl-machine.h: Likewise.
14720 * sysdeps/ia64/dl-machine.h: Likewise.
14721 * sysdeps/m68k/dl-machine.h: Likewise.
14722 * sysdeps/microblaze/dl-machine.h: Likewise.
14723 * sysdeps/mips/dl-machine.: Likewise.
14724 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14725 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14726 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14727 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14728 * sysdeps/sh/dl-machine.h: Likewise.
14729 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14730 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14731 * sysdeps/tile/dl-machine.h: Likewise.
14732 * sysdeps/x86_64/dl-machine.h: Likewise.
14734 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14736 (verify_persistent_db): Likewise.
14738 2014-06-26 Roland McGrath <roland@hack.frob.com>
14740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14741 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14743 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14746 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14749 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14751 Identical file removed.
14752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14753 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14755 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14757 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14759 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14761 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14764 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14766 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14768 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14771 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14773 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14775 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14777 Identical file removed.
14778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14779 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14781 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14784 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14787 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14789 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14791 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14793 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14795 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14798 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14801 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14803 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14806 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14808 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14810 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14812 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14813 * sysdeps/unix/sysv/linux/s390/Versions
14814 (libpthread: GLIBC_2.19): New version set.
14815 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14816 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14817 (librt: GLIBC_2.3.3): New version set.
14818 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14819 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14820 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14821 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14822 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14823 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14824 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14825 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14826 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14827 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14828 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14829 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14830 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14831 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14832 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14833 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14834 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14835 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14836 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14837 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14838 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14839 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14840 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14841 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14842 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14843 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14844 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14845 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14846 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14847 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14848 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14849 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14850 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14851 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14852 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14853 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14854 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14855 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14856 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14857 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14858 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14859 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14860 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14861 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14862 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14864 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14865 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14866 (__libc_vfork): Define the function under this name.
14867 [!NOT_IN_libc] (__vfork): Make this an alias.
14868 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14869 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14870 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14871 (__libc_vfork): Define the function under this name.
14872 [!NOT_IN_libc] (__vfork): Make this an alias.
14873 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14874 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14875 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14876 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14877 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14878 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14880 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14881 code that was previously under [RESET_PID].
14882 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14883 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14884 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14886 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14887 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14888 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14889 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14890 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14891 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14892 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14893 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14894 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14895 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14896 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14898 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14899 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14900 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14901 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14902 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14903 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14904 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14905 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14906 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14907 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14908 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14909 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14910 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14911 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14912 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14913 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14914 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14915 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14916 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14917 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14918 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14919 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14920 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14921 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14922 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14923 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14924 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14925 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14926 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14928 2014-06-25 Roland McGrath <roland@hack.frob.com>
14930 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14931 that was previously under [RESET_PID].
14932 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14934 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14936 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14937 not undefine and redefine.
14938 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14939 [O_CLOEXEC]: Make code unconditional.
14940 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14941 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14942 <kernel-features.h>.
14943 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14944 conditional variable definition.
14945 (shm_open) [O_CLOEXEC]: Make code unconditional.
14946 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14949 * configure.ac (USE_REGPARMS): Don't define here.
14950 * configure: Regenerated.
14951 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14952 * sysdeps/i386/configure: Regenerated.
14954 * nptl/createthread.c: Don't include kernel-features.h.
14955 * nptl/pthread_cancel.c: Likewise.
14956 * nptl/pthread_condattr_setclock.c: Likewise.
14957 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14958 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14959 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14960 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14961 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14962 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14963 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14964 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14965 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14966 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14967 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14968 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14969 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14970 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14971 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14972 * nscd/gai.c: Likewise.
14973 * nss/nss_db/db-open.c: Likewise.
14974 * sysdeps/generic/ldsodefs.h: Likewise.
14975 * sysdeps/sh/nptl/tls.h: Likewise.
14976 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14977 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14978 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14979 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14980 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14981 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14982 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14983 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14984 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14985 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14986 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14987 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14988 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14989 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14990 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14991 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14992 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14993 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14994 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14995 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14996 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14997 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14998 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14999 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15000 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15001 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15002 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
15003 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15004 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15005 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15006 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15007 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15008 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15009 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15010 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15011 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15012 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15013 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15014 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15015 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15016 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15017 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15018 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15019 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15020 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15021 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15022 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15023 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15024 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15025 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15026 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15027 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15028 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15029 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15030 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15031 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15032 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15033 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15056 * sysdeps/unix/sysv/linux/pread.c: Likewise.
15057 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15058 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15059 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15060 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15061 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15062 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15063 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15064 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15065 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15066 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15067 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15068 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15069 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15070 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15071 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15072 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15073 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15074 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15075 * sysdeps/unix/sysv/linux/system.c: Likewise.
15076 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15077 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15078 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15079 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15080 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15081 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15082 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15084 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15085 * configure: Regenerated.
15086 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15088 * configure.ac (base_machine): Do not set specially for particular
15090 * configure: Regenerated.
15091 * sysdeps/powerpc/preconfigure: Move machine and base_machine
15092 settings from configure.ac.
15093 * sysdeps/i386/preconfigure: New file.
15094 * sysdeps/s390/preconfigure: Likewise.
15095 * sysdeps/sh/preconfigure: Likewise.
15096 * sysdeps/sparc/preconfigure: Likewise.
15098 2014-06-25 Roland McGrath <roland@hack.frob.com>
15100 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15101 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15102 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15103 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15104 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15105 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15106 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15107 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15108 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15109 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15110 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15111 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15112 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15113 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15114 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15115 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15116 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15117 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15118 * sysdeps/sparc/sparc64/Makefile: ... appended here.
15120 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15121 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15122 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15123 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15124 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15125 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15126 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15127 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15128 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15129 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15130 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15131 * sysdeps/sparc/sparc32/sem_post.c: ... here.
15132 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15133 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15134 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15135 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15136 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15137 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15138 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15139 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15140 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15141 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15142 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15143 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15144 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15145 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15146 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15147 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15148 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15149 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15150 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15151 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15152 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15153 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15154 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15155 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15156 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15157 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15160 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15162 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15165 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15168 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15170 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15173 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15175 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15177 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15179 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15182 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15185 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15187 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15190 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15192 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15194 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15196 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15198 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15201 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15204 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15206 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15209 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15211 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15213 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15215 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15218 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15221 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15223 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15226 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15228 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15230 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15232 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15234 * timezone/checktab.awk: Update from tzcode 2014e.
15235 * timezone/private.h: Likewise.
15236 * timezone/tzfile.h: Likewise.
15237 * timezone/zdump.c: Likewise.
15238 * timezone/zic.c: Likewise.
15240 * sysdeps/unix/sysv/linux/kernel-features.h
15241 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15242 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15243 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15244 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15245 Remove conditional code.
15247 2014-06-25 Will Newton <will.newton@linaro.org>
15249 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15250 (_dl_arm_cap_flags): Add HWCAP2 values.
15251 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15252 (_DL_HWCAP_COUNT): Increase to 37.
15253 (_DL_HWCAP_LAST): New define.
15254 (_DL_HWCAP2_LAST): New define.
15255 (_dl_procinfo): Add support for printing
15257 (_dl_string_hwcap): Use _dl_hwcap_string.
15259 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15263 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15265 * README: Do not mention ports directory.
15267 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15269 * sysdeps/unix/sysv/linux/futimes.c: Do not include
15270 <kernel-features.h>.
15271 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15272 conditional variable definition.
15273 (__futimes): Update comment.
15274 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15275 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15278 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15279 arguments close to 0.
15280 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15282 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15284 * math/auto-libm-test-in: Add more tests of exp10.
15285 * math/auto-libm-test-out: Regenerated.
15286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15288 * sysdeps/unix/sysv/linux/kernel-features.h
15289 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15290 * sysdeps/unix/sysv/linux/readv.c: Do not include
15291 <kernel-features.h>.
15292 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15293 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15294 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15296 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15298 * sysdeps/unix/sysv/linux/writev.c: Do not include
15299 <kernel-features.h>.
15300 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15301 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15302 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15304 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15307 2014-06-25 Will Newton <will.newton@linaro.org>
15309 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15310 comment changes throughout the file. Remove checks
15311 for HAVE_*_H definitions that are not required.
15312 (__gen_tempname): Call abort if an unknown kind value is
15315 2014-06-25 Andreas Schwab <schwab@suse.de>
15318 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15319 scalbln, scalblnf, scalblnl in libc.
15321 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15324 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15325 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15326 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15328 2014-06-24 Roland McGrath <roland@hack.frob.com>
15330 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15331 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15332 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15333 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15335 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15336 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15338 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15339 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15340 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15341 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15342 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15343 * sysdeps/x86/bits/pthreadtypes.h: ... here.
15344 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15345 * sysdeps/x86/bits/semaphore.h: ... here.
15346 * sysdeps/x86/nptl/elide.h: Moved ...
15347 * sysdeps/x86/elide.h: ... here.
15348 * sysdeps/x86_64/nptl/Implies: File removed.
15349 * sysdeps/i386/nptl/Implies: File removed.
15351 2014-06-24 Joseph Myers <joseph@codesourcery.com>
15354 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15355 return the argument for normal arguments with exponent below -64.
15356 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15358 * math/auto-libm-test-in: Add another test of expm1.
15359 * math/auto-libm-test-out: Regenerated.
15362 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15363 calling __erfcl for arguments at least 16.
15364 * math/auto-libm-test-in: Add more tests of erf.
15365 * math/auto-libm-test-out: Regenerated.
15367 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15368 individual architectures.
15369 * sysdeps/unix/sysv/linux/configure: Regenerated.
15370 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15371 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15372 * sysdeps/unix/sysv/linux/powerpc/configure.ac
15373 (ldd_rewrite_script): Define variable.
15374 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15379 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15380 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15381 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15382 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15383 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15384 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15385 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15386 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15388 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15391 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15392 Rename member __data.d to __data.__elision_data.
15394 2014-06-24 Wilco <wdijkstr@arm.com>
15396 * NEWS: Add 16918 to fixed bug list.
15398 2014-06-24 Wilco <wdijkstr@arm.com>
15400 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15402 2014-06-24 Wilco <wdijkstr@arm.com>
15404 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15405 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15406 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15407 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15408 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15409 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15410 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15413 2014-06-24 Wilco <wdijkstr@arm.com>
15415 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15417 2014-06-24 Wilco <wdijkstr@arm.com>
15419 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15420 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15421 * sysdeps/arm/fesetround.c (fesetround): Remove space.
15422 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15424 2014-06-24 Wilco <wdijkstr@arm.com>
15427 * sysdeps/arm/feupdateenv.c (feupdateenv):
15428 Rewrite to reduce FPSCR accesses and fix return value.
15430 2014-06-24 Wilco <wdijkstr@arm.com>
15432 * sysdeps/arm/fclrexcpt.c (feclearexcept):
15433 Optimize to avoid unnecessary FPSCR writes.
15434 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15435 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15436 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15437 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15439 2014-06-24 Wilco <wdijkstr@arm.com>
15441 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15442 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15443 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15444 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15445 Call libc_fetestexcept_vfp.
15446 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15447 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15448 __SOFTFP__ ifdef so that they can be built for softfp.
15450 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15452 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15453 argument type signed char.
15455 * Makerules (check-abi): Dump diff of symlist if the test
15458 2014-06-23 Roland McGrath <roland@hack.frob.com>
15460 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15463 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15464 Remove unused variable ST.
15466 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15470 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15471 small arguments before calling __expm1.
15472 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15473 small arguments before calling __expm1f.
15474 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15475 small arguments before calling __expm1l.
15476 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15478 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15479 * math/auto-libm-test-in: Add more cosh tests. Do not allow
15480 spurious underflow for some cosh tests.
15481 * math/auto-libm-test-out: Regenerated.
15482 * sysdeps/i386/fpu/libm-test-ulps: Update.
15485 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15486 (__ieee754_y1): Set errno if return value overflows.
15487 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15488 (__ieee754_y1f): Set errno if return value overflows.
15489 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15490 (__ieee754_y1l): Set errno if return value overflows.
15491 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15492 (__ieee754_y1l): Set errno if return value overflows.
15493 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15494 * math/auto-libm-test-out: Regenerated.
15496 * math/gen-auto-libm-tests.c: Document use of
15497 ignore-zero-inf-sign.
15498 (input_flag_type): Add value flag_ignore_zero_inf_sign.
15499 (input_flags): Add ignore-zero-inf-sign.
15500 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15501 * math/gen-libm-test.pl (generate_testfile): Handle
15502 ignore-zero-inf-sign.
15503 * math/auto-libm-test-in: Mark some cpow tests with
15504 ignore-zero-inf-sign and some with xfail-rounding.
15505 * math/auto-libm-test-out: Regenerated.
15506 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15507 * sysdeps/i386/fpu/libm-test-ulps: Update.
15508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15511 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15512 overflowing or underflowing operations take place with sign of
15514 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15515 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15516 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15517 (__ieee754_pow): Recompute overflowing and underflowing results in
15518 original rounding mode.
15519 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15520 (__powl_helper): Allow negative argument X and scale negated value
15521 as needed. Avoid passing value outside [-1, 1] to f2xm1.
15522 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15523 overflowing or underflowing operations take place with sign of
15525 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15527 * math/auto-libm-test-in: Add more tests of pow.
15528 * math/auto-libm-test-out: Regenerated.
15529 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15530 (pow_tonearest_test_data): Remove.
15531 (pow_test_tonearest): Likewise.
15532 (pow_towardzero_test_data): Likewise.
15533 (pow_test_towardzero): Likewise.
15534 (pow_downward_test_data): Likewise.
15535 (pow_test_downward): Likewise.
15536 (pow_upward_test_data): Likewise.
15537 (pow_test_upward): Likewise.
15538 (main): Don't call removed functions.
15539 * sysdeps/i386/fpu/libm-test-ulps: Update.
15540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15542 2014-06-23 Roland McGrath <roland@hack.frob.com>
15544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15718 2014-06-23 Will Newton <will.newton@linaro.org>
15719 Wilco <wdijkstr@arm.com>
15721 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15722 implementation. Include get-rounding-mode.h.
15723 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15724 [!libc_feholdsetround_noex_ctx]: Define
15725 libc_feholdsetround_noex_ctx.
15726 [!libc_feholdsetround_noexf_ctx]: Define
15727 libc_feholdsetround_noexf_ctx.
15728 [!libc_feholdsetround_noexl_ctx]: Define
15729 libc_feholdsetround_noexl_ctx.
15730 (libc_feholdsetround_ctx): New function.
15731 (libc_feresetround_ctx): New function.
15732 (libc_feholdsetround_noex_ctx): New function.
15733 (libc_feresetround_noex_ctx): New function.
15735 2014-06-23 Roland McGrath <roland@hack.frob.com>
15737 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15738 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15739 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15740 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15741 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15742 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15744 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15745 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15746 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15747 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15748 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15749 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15750 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15751 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15752 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15753 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15754 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15756 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15758 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15759 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15760 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15761 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15762 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15764 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15765 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15766 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15767 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15768 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15769 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15770 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15771 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15773 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15774 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15776 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15777 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15778 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15779 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15781 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15782 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15783 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15784 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15785 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15786 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15787 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15788 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15789 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15790 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15792 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15794 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15795 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15796 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15797 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15798 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15799 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15800 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15801 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15802 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15803 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15804 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15805 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15806 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15808 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15809 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15810 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15811 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15812 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15813 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15815 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15816 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15817 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15818 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15819 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15821 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15822 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15823 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15824 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15825 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15826 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15827 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15828 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15829 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15830 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15831 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15832 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15833 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15834 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15835 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15836 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15837 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15838 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15839 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15840 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15841 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15842 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15843 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15844 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15845 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15846 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15847 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15848 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15850 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15852 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15853 (FALLOC_FL_COLLAPSE_RANGE): New macro.
15854 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15855 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15856 (IPV6_PMTUDISC_INTERFACE): Likewise.
15857 (IPV6_PMTUDISC_OMIT): Likewise.
15859 2014-06-23 Andreas Schwab <schwab@suse.de>
15861 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15862 Remove unused errout label.
15864 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15866 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15867 macro: hardware supports Vector Crypto instructions.
15869 2014-06-23 Will Newton <will.newton@linaro.org>
15871 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15872 rather than __builtin_expect.
15874 * elf/dl-lookup.c (undefined_msg): Remove variable.
15875 (_dl_lookup_symbol_x): Replace undefined_msg with string
15878 * elf/dl-lookup.c (do_lookup_unique): New function.
15879 (do_lookup_x): Move STB_GNU_UNIQUE handling code
15880 to a separate function.
15882 2014-06-23 Andreas Schwab <schwab@suse.de>
15885 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15886 before reading the next line.
15888 2014-06-23 Will Newton <will.newton@linaro.org>
15890 * test-skeleton.c (signal_handler): Use printf and %m
15891 rather than perror. Use printf rather than fprintf to
15892 stderr. Use puts rather than fputs to stderr.
15895 2014-06-22 Ludovic Courtès <ludo@gnu.org>
15897 * nscd/nscd.c (thread_info_t): Remove typedef.
15898 (thread_info): Remove variable.
15900 2014-06-21 Allan McRae <allan@archlinux.org>
15902 * NEWS: Mention CVE-2014-4043.
15904 2014-06-20 Roland McGrath <roland@hack.frob.com>
15906 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15907 * nptl/smp.h: ... here.
15909 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15911 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15912 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15913 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15914 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15916 * nptl/allocatestack.c: Include <stack-aliasing.h>.
15917 * nptl/stack-aliasing.h: New file.
15918 * sysdeps/i386/i686/stack-aliasing.h: New file.
15919 * sysdeps/i386/i686/nptl/Makefile: File removed.
15920 * sysdeps/x86_64/stack-aliasing.h: New file.
15921 * sysdeps/x86_64/nptl/Makefile
15922 (CFLAGS-pthread_create.c): Variable removed.
15924 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15925 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15927 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15928 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15931 2014-06-21 Joseph Myers <joseph@codesourcery.com>
15933 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15934 (__ASSUME_SIGFRAME_V2): Remove macro.
15935 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15936 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15937 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15938 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15939 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15940 Declare as function. Remove conditional macro definitions.
15941 (__default_rt_sa_restorer): Likewise.
15942 (__default_sa_restorer_v1): Remove declaration.
15943 (__default_sa_restorer_v2): Likewise.
15944 (__default_rt_sa_restorer_v1): Likewise.
15945 (__default_rt_sa_restorer_v2): Likewise.
15946 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15947 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15948 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15950 2014-06-20 Roland McGrath <roland@hack.frob.com>
15952 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15953 (libpthread-routines): Add sysdep.
15954 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15955 * sysdeps/unix/sysv/linux/sparc/Versions
15956 (libpthread: GLIBC_2.3.3): New version set.
15957 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15958 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15959 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15960 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15961 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
15962 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15964 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15965 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15966 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15967 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15968 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15969 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15970 * sysdeps/sparc/nptl/sem_init.c: ... here.
15971 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15972 * sysdeps/sparc/nptl/sem_post.c: ... here.
15973 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15974 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15975 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15976 * sysdeps/sparc/nptl/sem_wait.c: ... here.
15977 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15978 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15979 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15980 (libpthread-routines): Add cpu_relax.
15981 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15983 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15984 (librt: GLIBC_2.3.3): New version set.
15985 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15986 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15987 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15988 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15991 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15994 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15996 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15998 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
16000 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
16001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
16002 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
16003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16005 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16009 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16013 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16017 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16021 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16025 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16028 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16030 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16034 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16036 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16039 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16041 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16043 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16045 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16047 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16048 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16049 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16050 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16051 * nscd/nscd.c: Likewise.
16052 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16053 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16054 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16055 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16057 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16058 <kernel-features.h>.
16059 (init_mq_netlink): Remove conditional have_sock_cloexec
16060 definitions. Remove code conditional on have_sock_cloexec < 0.
16061 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16062 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16063 * sysdeps/unix/sysv/linux/opensock.c: Do not include
16064 <kernel-features.h>.
16065 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16066 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16068 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
16070 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16071 Add tests for memset_chk and memset.
16073 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16076 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
16079 * elf/tst-dl-iter-static.c: New file.
16080 * elf/Makefile (tests-static): Add tst-dl-iter-static.
16082 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16085 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16087 * sysdeps/unix/sysv/linux/kernel-features.h
16088 (__ASSUME_F_GETOWN_EX): Remove macro.
16089 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16090 <kernel-features.h>.
16091 (miss_F_GETOWN_EX): Remove variable or macro.
16092 (do_fcntl): Do not check miss_F_GETOWN_EX.
16093 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16095 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16097 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16098 [!__ASSUME_AT_RANDOM]: Remove conditional code.
16099 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16101 * sysdeps/unix/sysv/linux/kernel-features.h
16102 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16103 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16104 [ADJ_OFFSET_SS_READ]: Make code unconditional.
16105 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16107 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
16110 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16111 Fix calculation of the symbol's value.
16112 * sysdeps/arm/tst-armtlsdescloc.c: New file.
16113 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16114 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16115 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16116 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16117 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16118 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16119 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16120 (modules-names): Add `tst-armtlsdescmod',
16121 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16122 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16123 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16124 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16125 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16126 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16127 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16128 ($(objpfx)tst-armtlsdescloc): New dependency.
16129 ($(objpfx)tst-armtlsdescextnow): Likewise.
16130 ($(objpfx)tst-armtlsdescextlazy): Likewise.
16131 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16132 TLS scheme support.
16133 * sysdeps/arm/configure: Regenerate.
16135 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16137 * include/fcntl.h (__atfct_seterrno): Remove prototype.
16138 (__atfct_seterrno_2): Likewise.
16139 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16140 <kernel-features.h>.
16141 (__ASSUME_ATFCTS): Do not undefine and redefine.
16142 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16143 (__have_atfcts): Remove conditional definition.
16144 (__fxstatat([__NR_fstatat64]: Make code unconditional.
16145 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16146 unreachable if [__ASSUME_ATFCTS].
16147 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16148 not undefine and redefine.
16149 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16150 <kernel-features.h>.
16151 (faccessat) [__NR_faccessat]: Make code unconditional.
16152 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16153 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16154 <kernel-features.h>.
16155 (fchmodat) [__NR_fchmodat]: Make code unconditional.
16156 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16157 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16158 <kernel-features.h>.
16159 (fchownat) [__NR_fchownat]: Make code unconditional.
16160 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16161 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16162 <kernel-features.h>.
16163 (futimesat) [__NR_futimesat]: Make code unconditional.
16164 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16165 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16166 <kernel-features.h>.
16167 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16168 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16169 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16170 <kernel-features.h>.
16171 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16172 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16173 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16174 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16175 <kernel-features.h>.
16176 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16177 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16178 * sysdeps/unix/sysv/linux/linkat.c: Do not include
16179 <kernel-features.h>.
16180 (linkat) [__NR_linkat]: Make code unconditional.
16181 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16182 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16183 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16184 <kernel-features.h>.
16185 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16186 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16187 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16188 <kernel-features.h>.
16189 (mkdirat) [__NR_mkdirat]: Make code unconditional.
16190 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16191 * sysdeps/unix/sysv/linux/openat.c: Do not include
16192 <kernel-features.h>.
16193 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16194 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16195 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16196 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16197 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16198 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16199 <kernel-features.h>.
16200 (readlinkat) [__NR_readlinkat]: Make code unconditional.
16201 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
16202 result of INLINE_SYSCALL directly, not via int variable.
16203 * sysdeps/unix/sysv/linux/renameat.c: Do not include
16204 <kernel-features.h>.
16205 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16206 (renameat) [__NR_renameat]: Make code unconditional.
16207 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16208 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16209 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16210 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16211 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16212 (__ASSUME_ATFCTS): Do not undefine and redefine.
16213 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16214 <kernel-features.h>.
16215 (symlinkat) [__NR_symlinkat]: Make code unconditional.
16216 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16217 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16218 <kernel-features.h>.
16219 (unlinkat) [__NR_unlinkat]: Make code unconditional.
16220 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16221 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16222 (__ASSUME_ATFCTS): Do not undefine and redefine.
16223 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16224 <kernel-features.h>.
16225 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16226 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16227 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16228 <kernel-features.h>.
16229 (__xmknodat) [__NR_mknodat]: Make code unconditional.
16230 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16232 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
16234 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16236 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
16239 * posix/regcomp.c (parse_reg_exp): Deallocate partially
16240 constructed tree before returning error.
16241 * posix/bug-regexp36.c: Expand test case.
16243 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
16246 * math/libm-test.inc (scalbln_test_date):
16247 Add errno expectations.
16248 * math/w_scalblnf.c: New File.
16249 Add wrapper which checks for setting errno to ERANGE.
16250 Add weak_alias for corresponding scalbln function.
16251 * math/w_scalbln.c: Likewise.
16252 * math/w_scalblnl.c: Likewise.
16253 * math/Makefile (libm-calls): Add w_scalbln.
16254 * sysdeps/ieee754/flt-32/s_scalblnf.c:
16255 Remove weak_alias for corresponding scalbln function.
16256 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16257 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16258 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16259 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16260 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16261 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16262 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16263 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16264 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16265 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16266 Remove long_double_symbol for scalblnl function in libm, libc.
16267 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16268 Add wrapper which checks for setting errno to ERANGE.
16269 Add long_double_symbol for scalblnl function in libm, libc.
16270 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16271 Remove long_double_symbol for scalblnl in libm.
16272 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16273 Add wrapper which checks for setting errno to ERANGE.
16274 Add long_double_symbol for scalblnl function in libm.
16275 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16276 Do not use wrapper because of own implementation.
16278 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
16280 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16281 3 bytes for __pad1 for x32.
16282 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16284 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
16285 H.J. Lu <hongjiu.lu@intel.com>
16287 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16288 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16289 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16290 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16291 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16293 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
16296 * posix/regcomp.c (parse_expression): Deallocate partially
16297 constructed tree before returning error.
16298 * posix/Makefile.c (tests): Add bug-regex36.
16299 (generated): Add bug-regex36.mtrace.
16300 (tests-special): Add $(objpfx)bug-regex36-mem.out
16301 (bug-regex36-ENV): New variable.
16302 ($(objpfx)bug-regex36-mem.out): New rule.
16303 * posix/bug-regex36.c: New file.
16305 2014-06-19 Will Newton <will.newton@linaro.org>
16307 * malloc/malloc.c (systrim): If extra is zero then return
16310 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16312 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16314 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
16316 * sysdeps/aarch64/strchr.S: New file.
16318 2014-06-18 Joseph Myers <joseph@codesourcery.com>
16321 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16322 from arguments -2 or below.
16323 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16324 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16326 2014-06-18 Andreas Schwab <schwab@suse.de>
16329 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16330 of a bracket expr not to run off the end of the string.
16331 * posix/Makefile (tests): Add tst-fnmatch3.
16332 * posix/tst-fnmatch3.c: New file.
16334 2014-06-18 Joseph Myers <joseph@codesourcery.com>
16336 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16337 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16338 [$(cross-compiling) = no]: Likewise.
16339 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16340 [$(cross-compiling) = no]: Likewise.
16342 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16345 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16346 double, adjusted for any remainder from the high double.
16347 * math/libm-test.inc (nearbyint): Add tests.
16350 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16352 * nptl/sysdeps/powerpc/Makefile: Moved ...
16353 * sysdeps/powerpc/nptl/Makefile: ... here.
16354 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16355 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16356 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16357 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16358 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16359 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16360 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16361 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16362 * nptl/sysdeps/powerpc/tls.h: Moved ...
16363 * sysdeps/powerpc/nptl/tls.h: ... here.
16365 2014-06-16 Joseph Myers <joseph@codesourcery.com>
16368 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16369 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16370 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16371 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16372 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16373 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16374 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16375 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16376 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16378 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
16380 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16382 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
16384 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16387 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16390 2014-06-16 Florian Weimer <fweimer@redhat.com>
16393 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16394 non-executed part of the test.
16396 2014-06-16 Andreas Schwab <schwab@suse.de>
16398 * string/bits/string2.h (strdup, strndup): Update feature guard.
16400 2014-06-14 David S. Miller <davem@davemloft.net>
16402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16404 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
16406 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16407 that was previously under [RESET_PID].
16408 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16410 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16411 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16412 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16413 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16414 (__libc_vfork): New strong alias.
16415 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16417 2014-06-14 Andi Kleen <ak@linux.intel.com>
16419 * sysdeps/generic/elide.h: New file.
16421 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
16423 * Makefile (installed-headers): Adjust path of pthread.h header.
16425 2014-06-13 Roland McGrath <roland@hack.frob.com>
16427 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16428 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16429 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16430 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16432 * nptl/sysdeps/s390/Makefile: Moved ...
16433 * sysdeps/s390/nptl/Makefile: ... here.
16434 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16435 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16436 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16437 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16438 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16439 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16440 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16441 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16442 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16443 * sysdeps/s390/nptl/pthreaddef.h: ... here.
16444 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16445 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16446 * nptl/sysdeps/s390/tls.h: Moved ...
16447 * sysdeps/s390/nptl/tls.h: ... here.
16449 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16450 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16452 2014-06-13 David S. Miller <davem@davemloft.net>
16454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16457 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16459 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16460 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16461 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16462 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16463 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16464 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16465 Remove RESET_PID cpp guards.
16466 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16467 Remove RESET_PID cpp guards.
16468 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16470 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
16472 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16475 2014-06-13 Andi Kleen <ak@linux.intel.com>
16477 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16478 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16479 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16480 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16481 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16482 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16483 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16484 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16485 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16486 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16487 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16488 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16489 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16490 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16491 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16492 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16493 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16494 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16495 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16496 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16498 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16499 (pthread_rwlock_rdlock): Add elision.
16500 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16501 (pthread_rwlock_wrlock): Add elision.
16502 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16503 (pthread_rwlock_trywrlock): Add elision.
16504 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16505 (pthread_rwlock_tryrdlock): Add elision.
16506 * nptl/pthread_rwlock_unlock.c: Include elide.h.
16507 (pthread_rwlock_tryrdlock): Add elision unlock.
16508 * nptl/sysdeps/pthread/pthread.h:
16509 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16510 (PTHREAD_RWLOCK_INITIALIZER,
16511 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16512 Handle new elision field.
16513 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16514 * sysdeps/arm/nptl/bits/pthreadtypes.h
16515 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16516 * sysdeps/sh/nptl/bits/pthreadtypes.h
16517 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16518 * sysdeps/tile/nptl/bits/pthreadtypes.h
16519 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16520 * sysdeps/a/nptl/bits/pthreadtypes.h
16521 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16522 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16523 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16524 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16525 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16526 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16527 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16528 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16529 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16530 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16531 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16532 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16533 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16534 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16535 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16536 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16537 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16538 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16539 (elision_init): Set try_xbegin to zero when no RTM.
16540 * sysdeps/x86/nptl/bits/pthreadtypes.h
16541 (pthread_rwlock_t): Change __pad1 to __rwelision.
16542 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16544 2014-06-13 Andi Kleen <ak@linux.intel.com>
16546 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16547 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16548 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16549 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16551 2014-06-13 Meador Inge <meadori@codesourcery.com>
16554 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16555 that the cached result has been set before returning it.
16557 2014-06-12 Roland McGrath <roland@hack.frob.com>
16559 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16560 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16561 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16562 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16563 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16564 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16566 * nptl/sysdeps/sparc/Makefile: Moved ...
16567 * sysdeps/sparc/nptl/Makefile: ... here.
16568 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16569 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16570 * nptl/sysdeps/sparc/tls.h: Moved ...
16571 * sysdeps/sparc/nptl/tls.h: ... here.
16572 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16573 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16574 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16575 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16576 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16577 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16578 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16579 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16580 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16581 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16582 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16583 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16584 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16585 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16586 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16587 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16588 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16589 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16591 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16592 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16594 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16595 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16597 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16598 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16601 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16603 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16604 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16606 * sysdeps/pthread/posix-timer.h: Include <list.h>.
16607 (struct list_links): Type removed.
16608 (struct thread_node, struct timer_node): Replace struct list_links
16609 with struct list_head.
16610 (list_unlink_ip): Likewise.
16611 * sysdeps/pthread/timer_routines.c
16612 (timer_free_list, thread_free_list, thread_active_list): Likewise.
16613 (list_append, list_insbefore): Likewise.
16614 (list_init): Function removed.
16615 (thread_init, init_module): Use INIT_LIST_HEAD instead.
16616 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16617 * sysdeps/pthread/Makefile: ... here, new file.
16619 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16620 * sysdeps/nptl/Implies: ... here.
16621 * sysdeps/unix/sysv/linux/Implies: Add nptl.
16622 * nptl/sysdeps/pthread/list.h: Moved ...
16623 * include/list.h: ... here.
16624 * nptl/sysdeps/pthread/createthread.c: Moved ...
16625 * nptl/createthread.c: ... here.
16626 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16627 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16628 * nptl/pt-longjmp.c: ... here.
16629 * nptl/sysdeps/pthread/Makefile: Moved ...
16630 * sysdeps/nptl/Makefile: ... here.
16631 * nptl/sysdeps/pthread/Subdirs: Moved ...
16632 * sysdeps/nptl/Subdirs: ... here.
16633 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16634 * sysdeps/nptl/aio_misc.h: ... here.
16635 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16636 * sysdeps/nptl/bits/libc-lock.h: ... here.
16637 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16638 * sysdeps/nptl/bits/libc-lockP.h: ... here.
16639 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16640 * sysdeps/nptl/bits/stdio-lock.h: ... here.
16641 * nptl/sysdeps/pthread/configure: Moved ...
16642 * sysdeps/nptl/configure: ... here.
16643 * nptl/sysdeps/pthread/configure.ac: Moved ...
16644 * sysdeps/nptl/configure.ac: ... here.
16645 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16646 * sysdeps/nptl/gai_misc.h: ... here.
16647 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16648 * sysdeps/nptl/librt-cancellation.c: ... here.
16649 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16650 * sysdeps/nptl/malloc-machine.h: ... here.
16651 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16652 * sysdeps/nptl/pthread-functions.h: ... here.
16653 * nptl/sysdeps/pthread/pthread.h: Moved ...
16654 * sysdeps/nptl/pthread.h: ... here.
16655 * nptl/sysdeps/pthread/setxid.h: Moved ...
16656 * sysdeps/nptl/setxid.h: ... here.
16657 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16658 * sysdeps/nptl/sigfillset.c: ... here.
16659 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16660 * sysdeps/nptl/tcb-offsets.h: ... here.
16661 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16662 * sysdeps/nptl/tst-mqueue8x.c: ... here.
16663 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16664 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16665 * nptl/sysdeps/pthread/allocalim.h: Moved ...
16666 * sysdeps/pthread/allocalim.h: ... here.
16667 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16668 * sysdeps/pthread/bits/sigthread.h: ... here.
16669 * nptl/sysdeps/pthread/flockfile.c: Moved ...
16670 * sysdeps/pthread/flockfile.c: ... here.
16671 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16672 * sysdeps/pthread/ftrylockfile.c: ... here.
16673 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16674 * sysdeps/pthread/funlockfile.c: ... here.
16675 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16676 * sysdeps/pthread/posix-timer.h: ... here.
16677 * nptl/sysdeps/pthread/timer_create.c: Moved ...
16678 * sysdeps/pthread/timer_create.c: ... here.
16679 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16680 * sysdeps/pthread/timer_delete.c: ... here.
16681 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16682 * sysdeps/pthread/timer_getoverr.c: ... here.
16683 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16684 * sysdeps/pthread/timer_gettime.c: ... here.
16685 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16686 * sysdeps/pthread/timer_routines.c: ... here.
16687 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16688 * sysdeps/pthread/timer_settime.c: ... here.
16689 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16690 * sysdeps/pthread/tst-timer.c: ... here.
16691 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16692 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16694 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16695 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16697 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16698 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16699 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16700 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16701 Update #include target.
16702 * nptl/sysdeps/i386/i686/Makefile: Moved ...
16703 * sysdeps/i386/i686/nptl/Makefile: ... here.
16704 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16705 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16706 Update #include target.
16707 * nptl/sysdeps/i386/i686/tls.h: Moved ...
16708 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
16709 * nptl/sysdeps/i386/Makefile: Moved ...
16710 * sysdeps/i386/nptl/Makefile: ... here.
16711 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16712 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16713 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16714 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16715 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16716 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16717 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16718 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16719 * sysdeps/i386/nptl/pthreaddef.h: ... here.
16720 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16721 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16722 * nptl/sysdeps/i386/tls.h: Moved ...
16723 * sysdeps/i386/nptl/tls.h: ... here.
16725 * sysdeps/sh/Makefile [$(subdir) = csu]
16726 (gen-as-const-headers): Add tcb-offsets.sym.
16727 * nptl/sysdeps/sh/Makefile: File removed.
16728 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16729 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16730 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16731 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16732 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16733 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16734 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16735 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16736 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16737 * sysdeps/sh/nptl/pthreaddef.h: ... here.
16738 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16739 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16740 * nptl/sysdeps/sh/tls.h: Moved ...
16741 * sysdeps/sh/nptl/tls.h: ... here.
16742 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16743 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16744 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16745 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16746 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16747 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16748 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16749 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16750 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16751 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16752 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16753 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16754 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16755 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16756 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16757 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16758 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16759 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16760 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16761 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16762 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16763 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16764 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16765 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16766 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16768 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16769 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16771 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16772 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16773 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16774 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16775 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16776 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16777 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16778 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16779 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16780 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16781 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16782 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16783 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16784 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16785 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16786 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16787 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16788 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16789 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16791 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16793 * posix/spawn_faction_addopen.c: Include string.h.
16795 2014-06-11 Roland McGrath <roland@hack.frob.com>
16797 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16798 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16799 * nptl/sysdeps/x86_64/Makefile: Moved ...
16800 * sysdeps/x86_64/nptl/Makefile: ... here.
16801 * nptl/sysdeps/x86_64/configure: Moved ...
16802 * sysdeps/x86_64/nptl/configure: ... here.
16803 * nptl/sysdeps/x86_64/configure.ac: Moved ...
16804 * sysdeps/x86_64/nptl/configure.ac: ... here.
16805 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16806 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16807 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16808 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16809 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16810 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16811 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16812 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16813 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16814 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16815 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16816 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16817 * nptl/sysdeps/x86_64/tls.h: Moved ...
16818 * sysdeps/x86_64/nptl/tls.h: ... here.
16819 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16820 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16821 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16822 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16824 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16826 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16830 2014-06-11 Joseph Myers <joseph@codesourcery.com>
16832 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16834 [POSIX] (off_t): Likewise.
16835 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16836 [POSIX] (S_ISBLK): Require macro.
16837 [POSIX] (S_ISCHR): Likewise.
16838 [POSIX] (S_ISDIR): Likewise.
16839 [POSIX] (S_ISFIFO): Likewise.
16840 [POSIX] (S_ISREG): Likewise.
16841 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16843 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16845 [POSIX] (time_t): Likewise.
16846 [POSIX] (timer_t): Likewise.
16848 2014-06-11 Florian Weimer <fweimer@redhat.com>
16851 * posix/spawn_int.h (struct __spawn_action): Make the path string
16852 non-const to support deallocation.
16853 * posix/spawn_faction_addopen.c
16854 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16855 * posix/spawn_faction_destroy.c
16856 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
16857 path in all spawn_do_open actions.
16858 * posix/tst-spawn.c (do_test): Exercise the copy operation in
16859 posix_spawn_file_actions_addopen.
16861 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
16863 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16864 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16865 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16866 conditional code always true.
16867 (__libc_vfork): New alias.
16869 2014-06-11 Roland McGrath <roland@hack.frob.com>
16871 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16872 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16874 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16876 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16877 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16879 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16880 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16882 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16883 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16885 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16887 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16888 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16889 multiarch strcmp for PPC64.
16890 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16891 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16893 multiarch optimizations.
16894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16895 (__libc_ifunc_impl_list): Likewise.
16897 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16899 * benchtests/scripts/validate_benchout.py: New script.
16900 * benchtests/Makefile (bench-func): Call it.
16901 * benchtests/scripts/benchout.schema.json: New file.
16903 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
16905 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16906 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16907 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16908 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16909 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16910 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16911 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16912 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16913 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16914 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16915 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16916 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16917 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16918 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16919 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16920 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
17000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
17001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
17003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17024 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17025 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17026 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17027 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17028 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17030 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17032 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17033 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17034 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17035 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17036 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17037 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17038 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17039 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17040 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17041 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17042 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17043 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17044 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17046 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17047 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17049 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17050 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17051 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17052 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17054 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17055 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17056 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17057 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17058 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17059 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17060 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17062 2014-06-10 Wilco <wdijkstr@arm.com>
17064 * math/test-fenv-return.c: New file.
17065 * math/Makefile: Add new test test-fenv-return.
17067 2014-06-10 Joseph Myers <joseph@codesourcery.com>
17070 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17071 when x - 1 is zero.
17072 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17073 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17074 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17075 0.0L for an argument of 1.0L.
17076 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17078 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17079 value when x - 1 is zero.
17080 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17081 * sysdeps/i386/fpu/libm-test-ulps: Update.
17082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17084 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
17087 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17089 2014-06-09 Roland McGrath <roland@hack.frob.com>
17091 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17092 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17094 2014-06-09 Roland McGrath <roland@hack.frob.com>
17096 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17097 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17099 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17100 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17102 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17103 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17105 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17106 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17108 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17109 if not already defined.
17110 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17111 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17112 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17113 (TLS_INIT_TP): Use it.
17114 (TLS_DEFINE_INIT_TP): New macro.
17115 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17117 2014-06-09 Joseph Myers <joseph@codesourcery.com>
17119 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17121 [POSIX] (IXANY): Likewise.
17122 [POSIX] (OLCUC): Likewise.
17123 [POSIX || POSIX2008] (CBAUD): Do not allow.
17124 [POSIX || POSIX2008] (DEFECHO): Likewise.
17125 [POSIX || POSIX2008] (ECHOCTL): Likewise.
17126 [POSIX || POSIX2008] (ECHOKE): Likewise.
17127 [POSIX || POSIX2008] (ECHOPRT): Likewise.
17128 [POSIX || POSIX2008] (EXTA): Likewise.
17129 [POSIX || POSIX2008] (EXTB): Likewise.
17130 [POSIX || POSIX2008] (FLUSHO): Likewise.
17131 [POSIX || POSIX2008] (LOBLK): Likewise.
17132 [POSIX || POSIX2008] (PENDIN): Likewise.
17133 [POSIX || POSIX2008] (SWTCH): Likewise.
17134 [POSIX || POSIX2008] (VDISCARD): Likewise.
17135 [POSIX || POSIX2008] (VDSUSP): Likewise.
17136 [POSIX || POSIX2008] (VLNEXT): Likewise.
17137 [POSIX || POSIX2008] (VREPRINT): Likewise.
17138 [POSIX || POSIX2008] (VSTATUS): Likewise.
17139 [POSIX || POSIX2008] (VWERASE): Likewise.
17140 (B*): Change to B[0123456789]*.
17141 * conform/data/time.h-data [POSIX || UNIX98]
17142 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17143 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17144 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17145 [POSIX] (tm_*): Do not allow.
17147 2014-06-07 Joseph Myers <joseph@codesourcery.com>
17149 * Makefile (install): Don't set LANGUAGE.
17150 * Makefile.in (install): Likewise.
17151 * assert/Makefile (test-assert-ENV): Remove variable.
17152 (test-assert-perr-ENV): Likewise.
17153 * elf/Makefile (neededtest4-ENV): Likewise.
17154 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17155 [$(cross-compiling) = no]: Don't set LANGUAGE.
17156 * io/ftwtest-sh (LANG): Remove variable.
17157 * libio/Makefile (tst-widetext-ENV): Likewise.
17158 * manual/install.texi (Running make install): Don't refer to
17159 environment settings for make install.
17160 * INSTALL: Regenerated.
17161 * nptl/tst-tls6.sh: Don't set LANG.
17162 * posix/globtest.sh (LANG): Remove variable.
17163 * string/Makefile (tester-ENV): Likewise.
17164 (inl-tester-ENV): Likewise.
17165 (noinl-tester-ENV): Likewise.
17166 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17167 [$(cross-compiling) = no]: Don't set LANGUAGE.
17168 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17169 without explicit environment settings.
17171 2014-06-06 Roland McGrath <roland@hack.frob.com>
17173 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17174 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17175 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17176 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17178 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
17180 * crypt/crypt-private.h [DOS]: Add some includes taken from the
17181 other files in the crypt directory.
17182 * crypt/crypt.c: Remove duplicate includes.
17183 * crypt/crypt-entry.c: Likewise.
17184 * crypt/crypt_util.c: Likewise.
17186 2014-06-06 Joseph Myers <joseph@codesourcery.com>
17188 * Makeconfig (run-program-env): New variable.
17189 (run-program-prefix-before-env): Likewise.
17190 (run-program-prefix-after-env): Likewise.
17191 (run-program-prefix): Define in terms of new variables.
17192 (built-program-cmd-before-env): New variable.
17193 (built-program-cmd-after-env): Likewise.
17194 (built-program-cmd): Define in terms of new variables.
17195 (test-program-prefix-before-env): New variable.
17196 (test-program-prefix-after-env): Likewise.
17197 (test-program-prefix): Define in terms of new variables.
17198 (test-program-cmd-before-env): New variable.
17199 (test-program-cmd-after-env): Likewise.
17200 (test-program-cmd): Define in terms of new variables.
17201 * Rules (make-test-out): Use $(run-program-env).
17202 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17203 (help): Do not mention environment variables. Mention
17204 --timeoutfactor option.
17205 (timeoutfactor): New variable.
17206 (blacklist_exports): Remove function.
17207 (exports): Remove variable.
17208 (command): Do not include ${exports}.
17209 * manual/install.texi (Configuring and compiling): Do not mention
17210 test wrappers preserving environment variables. Mention that last
17211 assignment to a variable must take precedence.
17212 * INSTALL: Regenerated.
17213 * benchtests/Makefile (run-bench): Use $(run-program-env).
17214 * catgets/Makefile ($(objpfx)test1.cat): Use
17215 $(built-program-cmd-before-env), $(run-program-env) and
17216 $(built-program-cmd-after-env).
17217 ($(objpfx)test2.cat): Do not specify environment variables
17219 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17220 $(run-program-env) and $(built-program-cmd-after-env).
17221 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17222 $(run-program-env) and $(test-program-cmd-after-env).
17223 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17225 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17226 run_program_env and test_program_cmd_after_env arguments.
17227 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17228 * elf/tst-pathopt.sh: Use run_program_env argument.
17229 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17230 $(test-wrapper-env) and $(run-program-env).
17231 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17232 run_program_env arguments.
17233 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17234 * intl/Makefile ($(objpfx)tst-gettext.out): Use
17235 $(test-program-prefix-before-env), $(run-program-env) and
17236 $(test-program-prefix-after-env).
17237 ($(objpfx)tst-gettext2.out): Likewise.
17238 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17239 run_program_env and test_program_prefix_after_env arguments.
17240 * intl/tst-gettext2.sh: Likewise.
17241 * intl/tst-gettext4.sh: Do not set environment variables
17243 * intl/tst-gettext6.sh: Likewise.
17244 * intl/tst-translit.sh: Likewise.
17245 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17246 $(test-program-prefix-before-env), $(run-program-env) and
17247 $(test-program-prefix-after-env).
17248 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17249 run_program_env and test_program_prefix_after_env arguments.
17250 * math/Makefile (run-regen-ulps): Use $(run-program-env).
17251 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17252 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
17253 explicitly with each use of ${test_wrapper_env}.
17254 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17255 $(test-program-prefix-before-env), $(run-program-env) and
17256 $(test-program-prefix-after-env).
17257 * posix/tst-getconf.sh: Do not set environment variables
17259 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17260 run_program_env and test_program_prefix_after_env arguments.
17261 * stdio-common/tst-printf.sh: Do not set environment variables
17263 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17264 $(test-program-prefix-before-env), $(run-program-env) and
17265 $(test-program-prefix-after-env).
17266 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17267 run_program_env and test_program_prefix_after_env arguments.
17268 Split $test calls into $test_pre and $test.
17269 * timezone/Makefile (build-testdata): Use
17270 $(built-program-cmd-before-env), $(run-program-env) and
17271 $(built-program-cmd-after-env).
17273 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17275 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17276 strlen for non SHARED builds.
17278 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17280 * nptl/allocatestack.c (check_list): Inlined function...
17281 (__reclaim_stacks): ... here.
17283 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
17286 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17289 2014-06-05 Joseph Myers <joseph@codesourcery.com>
17291 * Rules (make-test-out): Include
17292 LOCPATH=$(common-objpfx)localedata in default environment.
17293 * debug/Makefile (tst-chk1-ENV): Remove variable.
17294 (tst-chk2-ENV): Likewise.
17295 (tst-chk3-ENV): Likewise.
17296 (tst-chk4-ENV): Likewise.
17297 (tst-chk5-ENV): Likewise.
17298 (tst-chk6-ENV): Likewise.
17299 (tst-lfschk1-ENV): Likewise.
17300 (tst-lfschk2-ENV): Likewise.
17301 (tst-lfschk3-ENV): Likewise.
17302 (tst-lfschk4-ENV): Likewise.
17303 (tst-lfschk5-ENV): Likewise.
17304 (tst-lfschk6-ENV): Likewise.
17305 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17306 (tst-iconv7-ENV): Likewise.
17307 * intl/Makefile (LOCPATH-ENV): Likewise.
17308 (tst-codeset-ENV): Likewise.
17309 (tst-gettext3-ENV): Likewise.
17310 (tst-gettext5-ENV): Likewise.
17311 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17312 (tst-fopenloc-ENV): Likewise.
17313 (tst-fgetws-ENV): Remove variable.
17314 (tst-ungetwc1-ENV): Likewise.
17315 (tst-ungetwc2-ENV): Likewise.
17316 (bug-ungetwc2-ENV): Likewise.
17317 (tst-swscanf-ENV): Likewise.
17318 (bug-ftell-ENV): Likewise.
17319 (tst-fgetwc-ENV): Likewise.
17320 (tst-fseek-ENV): Likewise.
17321 (tst-ftell-partial-wide-ENV): Likewise.
17322 (tst-ftell-active-handler-ENV): Likewise.
17323 (tst-ftell-append-ENV): Likewise.
17324 * posix/Makefile (tst-fnmatch-ENV): Likewise.
17325 (tst-regexloc-ENV): Likewise.
17326 (bug-regex1-ENV): Likewise.
17327 (tst-regex-ENV): Likewise.
17328 (tst-regex2-ENV): Likewise.
17329 (bug-regex5-ENV): Likewise.
17330 (bug-regex6-ENV): Likewise.
17331 (bug-regex17-ENV): Likewise.
17332 (bug-regex18-ENV): Likewise.
17333 (bug-regex19-ENV): Likewise.
17334 (bug-regex20-ENV): Likewise.
17335 (bug-regex22-ENV): Likewise.
17336 (bug-regex23-ENV): Likewise.
17337 (bug-regex25-ENV): Likewise.
17338 (bug-regex26-ENV): Likewise.
17339 (bug-regex30-ENV): Likewise.
17340 (bug-regex32-ENV): Likewise.
17341 (bug-regex33-ENV): Likewise.
17342 (bug-regex34-ENV): Likewise.
17343 (bug-regex35-ENV): Likewise.
17344 (tst-rxspencer-ENV): Likewise.
17345 (tst-rxspencer-no-utf8-ENV): Likewise.
17346 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17347 (tst-sscanf-ENV): Likewise.
17348 (tst-swprintf-ENV): Likewise.
17349 (tst-swscanf-ENV): Likewise.
17350 (test-vfprintf-ENV): Likewise.
17351 (scanf13-ENV): Likewise.
17352 (bug14-ENV): Likewise.
17353 (tst-grouping-ENV): Likewise.
17354 * stdlib/Makefile (tst-strtod-ENV): Likewise.
17355 (tst-strtod3-ENV): Likewise.
17356 (tst-strtod4-ENV): Likewise.
17357 (tst-strtod5-ENV): Likewise.
17358 (testmb2-ENV): Likewise./
17359 * string/Makefile (tst-strxfrm-ENV): Likewise.
17360 (tst-strxfrm2-ENV): Likewise.
17361 (bug-strcoll1-ENV): Likewise.
17362 (test-strcasecmp-ENV): Likewise.
17363 (test-strncasecmp-ENV): Likewise.
17364 * time/Makefile (tst-strptime-ENV): Likewise.
17365 (tst-ftime_l-ENV): Likewise.
17366 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17367 (tst-mbrtowc-ENV): Likewise.
17368 (tst-wcrtomb-ENV): Likewise.
17369 (tst-mbrtowc2-ENV): Likewise.
17370 (tst-c16c32-1-ENV): Likewise.
17371 (tst-mbsnrtowcs-ENV): Likewise.
17373 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
17375 * manual/resource.texi (How to get information about the memory
17376 subsystem?): Fix typo.
17377 Reported by Peon de la Parra Ivan <peon@keba.com>
17379 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
17382 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17383 (pthread_spin_lock): Branch out of spin loop to proper location.
17384 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17385 (pthread_spin_lock): Likewise.
17387 * nptl/tst-spin4.c: New test.
17388 * nptl/Makefile (tests): Add tst-spin4.
17390 2014-06-03 Andreas Schwab <schwab@suse.de>
17393 * resolv/res_send.c (send_dg): Reload file descriptor after
17396 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
17398 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17400 2014-06-03 Richard Henderson <rth@redhat.com>
17402 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17403 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17404 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17405 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
17406 in the SAVE_PID block.
17407 (__libc_vfork): New alias.
17408 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17410 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17411 child in registers, not on the stack. Remove RESET_PID conditionals.
17412 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17414 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
17416 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17418 2014-06-03 Wilco <wdijkstr@arm.com>
17420 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17421 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17422 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17423 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17424 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17427 2014-06-03 Wilco <wdijkstr@arm.com>
17429 * sysdeps/aarch64/fpu/math_private.h
17430 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17431 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17432 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17433 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17436 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17438 * crypt/crypt-private.h: Include ufc-crypt.h.
17439 (__b64_from_24bit): Declare extern.
17440 * crypt/crypt_util.c(__b64_from_24bit): New function.
17441 (b64t): New static const variable.
17442 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17443 (b64t): Remove variable.
17444 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17445 * crypt/sha256-crypt.c: Include crypt-private.h.
17446 (b64t): Remove variable.
17447 (__sha256_crypt_r): Remove b64_from_24bit and replace
17448 with __b64_from_24bit.
17449 * crypt/sha512-crypt.c: Likewise.
17451 2014-06-02 Roland McGrath <roland@hack.frob.com>
17453 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17454 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17455 Label the code __libc_vfork rather than __vfork.
17456 [!NOT_IN_libc] (vfork): Define as weak alias.
17457 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17458 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17459 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17461 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17463 * malloc/malloc.c (malloc_info): Fix format specifier for
17466 2014-06-02 Wilco <wdijkstr@arm.com>
17468 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17471 2014-06-02 Wilco <wdijkstr@arm.com>
17474 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17475 Rewrite to reduce FPCR/FPSR accesses.
17477 2014-06-01 David S. Miller <davem@davemloft.net>
17479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17481 2014-05-31 David S. Miller <davem@davemloft.net>
17483 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17484 to occur in round to nearest mode when |x| >= 2.0
17486 2014-05-30 Richard Henderson <rth@twiddle.net>
17488 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17489 (PSEUDO_RET_NOERRNO): Remove.
17490 (ret): Don't redefine.
17491 (ret_NOERRNO): Define in terms of ret.
17492 (ret_ERRVAL): Likewise.
17494 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17495 use of PSEUDO_RET; perform the error check directly.
17497 2014-05-30 Marko Myllynen <myllynen@redhat.com>
17499 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17502 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17504 * malloc/malloc (malloc_info): Fix formatting.
17506 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17507 Roland McGrath <roland@hack.frob.com>
17509 * malloc/malloc (malloc_info): Also print mmapped statistics.
17511 2014-05-30 Roland McGrath <roland@hack.frob.com>
17513 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17514 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17516 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
17518 * malloc/malloc.c (malloc_info): Inline mi_arena.
17520 2014-05-29 Richard Henderson <rth@twiddle.net>
17522 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17523 Remove comma before expanding ASM_ARGS_##nr.
17524 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17525 Make _x0 a strict output; make _x8 a strict input; adjust expansion
17527 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17528 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17529 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17530 (ASM_ARGS_1): Add leading comma.
17532 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17533 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17534 to __errno_location.
17535 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17536 Remove the expected plt for __errno_location.
17538 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17539 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17542 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17543 Always allocate 64 bytes of stack frame. Use ldp/stp to create
17544 it and break it down.
17545 (DOCARGS_0, DOCARGS_1): Do nothing.
17546 (DOCARGS_2): Update to store into the new stack frame.
17547 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17548 (UNDOCARGS_1): Update to restore from the new stack frame.
17549 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17550 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17552 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17553 (SINGLE_THREAD_P): New parameter for result regno.
17554 (PSEUDO): Update to match; use cbz instead of beq.
17556 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17557 Use ENTRY to define the _nocancel entry point. Share the syscall
17558 and syscall error check paths with the cancel path.
17561 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17562 whitespace; tabs before and after asm mnemonics.
17564 2014-05-29 Eric Wong <normalperson@yhbt.net>
17567 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17568 Call fstat64 or stat64 internally, depending on arguments passed.
17569 Replace stat buffer argument with file descriptor argument.
17570 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17571 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17572 Pass fd to __internal_statvfs instead of calling fstat64.
17573 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17574 Pass fd to __internal_statvfs64 instead of calling fstat64.
17575 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17576 Pass -1 to __internal_statvfs instead of calling stat64.
17577 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17578 Pass -1 to __internal_statvfs64 instead of calling stat64.
17580 2014-05-28 Roland McGrath <roland@hack.frob.com>
17582 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17583 that was previously under [RESET_PID].
17584 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17586 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17587 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17589 2014-05-27 Roland McGrath <roland@hack.frob.com>
17591 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17593 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17594 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17596 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
17598 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17600 2014-05-27 Andreas Schwab <schwab@suse.de>
17602 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17604 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17605 * elf/rtld.c (init_tls, dl_main): Likewise.
17606 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17607 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17608 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17609 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17610 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17611 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17612 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17613 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17614 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17615 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17616 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17617 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17618 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17619 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17620 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17621 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17622 * sysdeps/generic/tls.h: Update description.
17624 2014-05-27 Will Newton <will.newton@linaro.org>
17627 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17628 and restore r2 rather than just restoring.
17630 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17633 * libio/tst-ftell-append.c: New test case.
17634 * libio/Makefile (tests): Add test case.
17635 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17637 * libio/wfileops.c (do_ftell_wide): Likewise.
17639 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17643 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17647 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17648 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17649 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17650 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17651 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17652 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17653 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17656 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17659 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17660 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17661 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17662 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17663 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17665 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17666 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17668 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17670 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17672 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17673 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17674 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17676 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17677 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17678 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17679 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17681 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17684 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17687 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17690 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17694 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17697 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17702 conditional [RESET_PID].
17703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17704 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17706 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17711 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17712 (__libc_vfork): New strong alias.
17713 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17720 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17721 (__libc_vfork): New strong alias.
17722 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17724 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17727 2014-05-26 Carlos O'Donell <carlos@redhat.com>
17729 * malloc/malloc.c (mi_arena): New function.
17730 (malloc_info): Remove nested function mi_arena. Call non-nosted
17733 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17735 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17737 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17738 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17739 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17740 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17741 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17742 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17743 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17745 2014-05-26 Andreas Schwab <schwab@suse.de>
17748 * locale/programs/repertoire.c (repertoire_read): Add slash
17749 between I18NPATH element and file name.
17750 * locale/programs/locfile.c (locfile_read): Likewise.
17752 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17754 * nptl/pthread_mutexattr_settype.c
17755 (__pthread_mutexattr_settype):
17756 Disable lock elision for PTHREAD_MUTEX_NORMAL.
17758 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17760 * nptl/tst-mutex5 (do_test):
17761 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17763 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17765 * benchtests/README: Document 'init' directive.
17766 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17768 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17769 (parse_file): Recognize 'init' directive.
17771 2014-05-26 Kyle McMartin <kyle@redhat.com>
17774 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17775 alignment of struct pthread.
17777 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17780 * nscd/netgroupcache.c (addgetnetgrentX): Look for
17781 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17782 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17783 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17785 2014-05-25 Richard Henderson <rth@twiddle.net>
17787 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17788 (SINGLE_THREAD_P_PIC): Remove.
17789 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17790 (SINGLE_THREAD_P_PIC): Remove.
17792 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17793 branch to syscall error ...
17794 (PSEUDO): ... here.
17795 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17796 from __local_syscall_error to .Lsyscall_error.
17797 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17798 (SYSCALL_ERROR): Update label name.
17800 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17801 Do not use DOARGS/UNDOARGS.
17802 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17803 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17804 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17805 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17806 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17808 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17811 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17812 define if !NOT_IN_libc.
17813 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17814 define with non-default symbol versions.
17816 2014-05-23 Richard Henderson <rth@twiddle.net>
17818 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17819 (vfork, __vfork): Define via compat_symbol.
17821 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17822 [!HAVE_IFUNC] (vfork_compat): Remove.
17823 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17825 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17828 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17829 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17832 2014-05-23 Richard Henderson <rth@twiddle.net>
17834 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17835 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17836 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17837 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17839 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17840 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17841 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17842 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17843 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17844 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17845 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17846 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17847 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17848 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17849 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17850 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17851 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17852 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17853 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17854 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17855 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17856 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17857 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17858 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17859 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17860 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17861 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17862 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17863 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17864 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17865 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17866 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17867 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17868 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17869 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17870 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17871 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17872 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17873 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17874 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17875 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17876 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17877 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17878 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17879 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17880 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17881 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17882 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17883 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17884 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17885 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17886 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17887 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17888 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17889 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17890 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17891 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17892 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17893 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17894 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17896 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17897 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17898 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
17899 before exiting on error.
17900 (__libc_vfork): New strong alias.
17901 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17902 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17904 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17905 that was previously under [RESET_PID].
17906 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17908 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17910 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17913 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17914 value when x - 1 is zero.
17915 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17916 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17917 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17918 0.0L for an argument of 1.0L.
17919 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17921 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17922 value when x - 1 is zero.
17923 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17924 * sysdeps/i386/fpu/libm-test-ulps: Update.
17925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17927 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
17929 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17930 alphasort and versionsort.
17932 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17934 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17936 [copysignf]: Likewise.
17938 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17940 * crypt/md5-crypt.c: Fix formatting.
17942 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17944 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17945 (b64_from_24bit): New function.
17947 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17949 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17950 libc_hidden_builtin_def to ifunc.
17951 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17952 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17954 2014-05-21 Roland McGrath <roland@hack.frob.com>
17956 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17957 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17959 2014-05-21 Joseph Myers <joseph@codesourcery.com>
17961 * nscd/Depend (linuxthreads): Remove.
17963 * resolv/Depend (linuxthreads): Remove.
17964 * rt/Depend (linuxthreads): Remove.
17966 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17967 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17968 $(common-objpfx)elf/.
17969 (link-libc-before-gnulib): Likewise.
17970 (elfobjdir): Remove variable.
17971 * Makefile (install): Use $(elf-objpfx) instead of
17972 $(common-objpfx)elf/.
17973 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17975 (link-libc-deps): Likewise.
17976 ($(common-objpfx)libc.so): Likewise.
17977 ($(common-objpfx)linkobj/libc.so): Likewise.
17978 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17979 instead of $(common-objpfx)elf/.
17980 (symbolic-link-list): Likewise.
17981 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17982 [$(cross-compiling) = no]: Likewise.
17983 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17985 (static-gnulib-arch): Likewise.
17986 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17987 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17988 $(common-objpfx)elf/.
17990 2014-05-21 Richard Henderson <rth@redhat.com>
17992 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17993 (SINGLE_THREAD_P): Use the correct width load. Fold
17994 into the ldr offset.
17996 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17997 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17999 2014-05-20 Joseph Myers <joseph@codesourcery.com>
18001 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
18002 (libgcc_s_resume): Use __attribute_used__.
18003 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18006 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18008 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18009 optimization when used with float constants.
18011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18013 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
18016 * locale/nl_langinfo_l.c: Make direct reference to every
18017 _nl_current_CATEGORY symbol.
18018 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18019 (tests-static): Add tst-langinfo-static.
18020 (tests-special): Add tst-langinfo-static.out.
18021 ($(objpfx)tst-langinfo.out): Redirect output.
18022 ($(objpfx)tst-langinfo-static.out): New.
18023 * localedata/tst-langinfo.sh: Send output to stdout.
18024 * localedata/tst-langinfo-static.c: New file.
18027 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18028 when the shift amount is modulo the limb size.
18030 2014-05-20 Richard Henderson <rth@redhat.com>
18033 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18034 Change type of sa_flags from unsigned int to int.
18037 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18039 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18041 2014-05-20 Will Newton <will.newton@linaro.org>
18043 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18044 Test the return value of the system call in the nocancel case.
18046 2014-05-20 Will Newton <will.newton@linaro.org>
18047 Yvan Roux <yvan.roux@linaro.org>
18049 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18050 #include of asm/ptrace.h.
18051 (PTRACE_GET_THREAD_AREA): Remove #undef.
18052 (PTRACE_GETHBPREGS): Likewise.
18053 (PTRACE_SETHBPREGS): Likewise.
18054 (struct user_regs_struct): New structure.
18055 (struct user_fpsimd_struct): New structure.
18056 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18057 #include of asm/ptrace.h and second #include of sys/user.h.
18058 (PTRACE_GET_THREAD_AREA): Remove #undef.
18059 (PTRACE_GETHBPREGS): Likewise.
18060 (PTRACE_SETHBPREGS): Likewise.
18061 (ELF_NGREG): Use new struct user_regs_struct.
18062 (elf_fpregset_t): Use new struct user_fpsimd_struct.
18064 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18066 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18067 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18069 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18072 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18073 membar to avoid block loads/stores to overlap previous stores.
18075 2014-05-17 Richard Henderson <rth@redhat.com>
18077 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18078 Create the __##syscall_name##_nocancel entry point.
18079 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18080 Remove; let the sysdep-cancel.h code create it.
18082 2014-05-17 David S. Miller <davem@davemloft.net>
18084 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18085 Protect with __USE_GNU.
18086 (TIOCSET_TEMPT): Likewise.
18087 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18088 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18089 these are already provided in bits/ioctl-types.h
18091 2014-05-16 Roland McGrath <roland@hack.frob.com>
18093 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18094 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18096 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18097 Use wait4 regardless of [__NR_waitpid].
18099 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18102 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18103 (_FP_NANSIGN_Q): Set the quiet bit.
18105 2014-05-16 Joseph Myers <joseph@codesourcery.com>
18107 * benchtests/Makefile
18108 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18109 not $(common-objpfx)math/libm.so.
18110 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18111 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18112 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18113 $(common-objpfx)dlfcn/libdl.so.
18114 ($(objpfx)tst-audit8): Depend on $(libm), not
18115 $(common-objpfx)math/libm.so.
18116 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18117 not $(common-objpfx)dlfcn/libdl.so.
18119 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18120 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
18121 [$(build-shared) = yes].
18122 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18123 $(common-objpfx)nptl/libpthread.so.
18124 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18125 $(common-objpfx)math/libm.so$(libm.so-version) or
18126 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18127 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18128 $(common-objpfx)dlfcn/libdl.so.
18129 * setjmp/Makefile (link-libm): Remove variable.
18130 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18131 * stdio-common/Makefile (link-libm): Remove variable.
18132 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18133 * stdlib/Makefile (link-libm): Remove variable.
18134 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18135 ($(objpfx)tst-strtod-round): Likewise.
18136 ($(objpfx)tst-tininess): Likewise.
18137 ($(objpfx)tst-strtod-underflow): Likewise.
18138 ($(objpfx)tst-strtod6): Likewise.
18139 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18140 $(libdl), not $(common-objpfx)nptl/libpthread.so and
18141 $(common-objpfx)dlfcn/libdl.so.
18143 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18145 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18146 BSD terminal modes definitions.
18148 2014-05-16 Roland McGrath <roland@hack.frob.com>
18150 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18151 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18153 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18154 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18155 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18156 Don't do #include_next.
18157 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18158 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18159 Don't do #include_next.
18160 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18161 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18162 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18163 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18165 2014-05-16 Allan McRae <allan@archlinux.org>
18167 * po/sv.po: Update Swedish translation from translation project.
18169 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18172 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
18175 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18176 errno if the TIOCGPTN ioctl fails with an error different than
18178 * login/tst-ptsname.c: New file.
18179 * login/Makefile (tests): Add tst-ptsname.
18182 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18185 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18189 herrno to return EAI_AGAIN.
18191 2014-05-14 Roland McGrath <roland@hack.frob.com>
18193 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18194 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18195 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18196 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18197 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18198 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18199 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18200 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18201 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18202 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18203 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18204 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18205 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18206 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18207 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18208 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18209 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18210 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18211 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18212 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18213 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18214 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18215 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18216 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18217 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18218 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18219 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18220 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18221 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18222 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18224 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18226 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18229 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18231 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18233 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18235 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18237 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18239 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18241 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18243 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18245 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18247 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18249 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18251 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18253 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18255 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18258 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18260 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18262 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18264 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18266 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18268 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18270 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18272 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18274 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18276 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18279 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18281 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18283 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18284 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18285 (libpthread-sysdep_routines): Add elision-related stuff here instead.
18286 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18287 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18288 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18289 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18290 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18291 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18292 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18293 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18294 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18295 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18296 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18297 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18298 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18299 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18300 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18301 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18302 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18303 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18304 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18305 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18306 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18307 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18308 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18309 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18310 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18311 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18312 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18313 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18315 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18316 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18318 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18319 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18320 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18321 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18322 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18323 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18325 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18326 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18328 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18329 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18331 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18332 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18334 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18335 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18336 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18337 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18339 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18340 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18341 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18342 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18343 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18344 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18345 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18346 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18348 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18349 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18351 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18353 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18354 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18355 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18356 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18357 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18359 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18361 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18363 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18364 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18365 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18366 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18367 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18368 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18370 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18371 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18373 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18374 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18376 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18377 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18379 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18380 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18381 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18382 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18384 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18385 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18386 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18387 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18388 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18389 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18390 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18391 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18393 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18394 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18396 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18398 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18399 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18400 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18401 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18402 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18404 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18406 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18408 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18409 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18410 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18411 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18412 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18413 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18414 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18415 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18416 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18417 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18419 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18420 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18422 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18423 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18425 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18426 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18428 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18429 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18430 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18431 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18432 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18433 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18435 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18436 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18437 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18438 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18439 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18440 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18441 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18442 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18444 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18445 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18447 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18449 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18450 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18451 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18452 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18453 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18455 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18457 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18459 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18460 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18461 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18462 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18463 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18464 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18465 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18466 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18467 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18468 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18469 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18471 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18472 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18474 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18475 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18477 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18478 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18479 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18480 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18481 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18482 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18483 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18484 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18485 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18486 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18487 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18488 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18489 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18490 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18491 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18492 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18493 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18494 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18496 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18497 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18498 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18499 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18501 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18502 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18503 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18504 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18505 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18506 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18507 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18508 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18510 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18511 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18513 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18514 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18515 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18516 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18517 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18518 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18519 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18520 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18521 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18522 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18523 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18524 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18525 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18526 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18527 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18528 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18529 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18531 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18532 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18533 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18534 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18535 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18537 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18538 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18539 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18540 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18541 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18542 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18543 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18544 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18545 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18546 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18548 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18549 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18551 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18552 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18553 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18554 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18555 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18556 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18557 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18558 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18559 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18560 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18561 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18562 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18563 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18564 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18565 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18567 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18569 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18571 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18573 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18581 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18583 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18585 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18586 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18587 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18588 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18589 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18590 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18591 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18592 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18593 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18594 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18595 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18596 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18597 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18598 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
18599 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
18601 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18602 that was previously under [RESET_PID].
18603 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18604 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18605 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18607 * sysdeps/i386/nptl/Implies: New file.
18608 * sysdeps/x86_64/nptl/Implies: New file.
18609 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18610 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18611 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18612 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18614 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18615 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18616 (__libc_vfork): New strong alias.
18617 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18618 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18620 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18621 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18622 (__libc_vfork): New strong alias.
18623 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18624 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18626 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18627 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18628 (__libc_vfork): New strong alias.
18629 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18630 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18631 * nptl/pt-vfork.c: New file.
18632 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18633 (libpthread: GLIBC_2.20): New version set (empty).
18635 2014-05-14 Will Newton <will.newton@linaro.org>
18637 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18640 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18643 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18644 arguments with exponent 65 or above.
18645 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18646 arguments 0x1p113L or above.
18647 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18648 to arguments 0x1p107L or above.
18649 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18650 positive arguments with exponent 65 or above.
18651 * math/auto-libm-test-in: Add more tests of log1p.
18652 * math/auto-libm-test-out: Regenerated.
18655 * math/s_cacos.c (__cacos): Ensure zero real part of result from
18656 non-finite arguments is +0.
18657 * math/s_cacosf.c (__cacosf): Likewise.
18658 * math/s_cacosl.c (__cacosl): Likewise.
18659 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18660 * sysdeps/i386/fpu/libm-test-ulps: Update.
18661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18664 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18666 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18667 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18668 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18669 for explicit high bit of mantissa when testing for argument equal
18671 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18672 * sysdeps/i386/fpu/libm-test-ulps: Update.
18673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18676 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18677 (__erf): Scale by 16 instead of 8 in potentially underflowing
18678 case. Ensure exception if result actually underflows.
18679 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18680 (__erff): Scale by 16 instead of 8 in potentially underflowing
18681 case. Ensure exception if result actually underflows.
18682 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18683 (efx8): Remove variable.
18684 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18685 case. Ensure exception if result actually underflows.
18686 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18687 (efx8): Remove variable.
18688 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18689 case. Ensure exception if result actually underflows.
18690 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18691 (efx8): Remove variable.
18692 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18693 case. Ensure exception if result actually underflows.
18694 * math/auto-libm-test-in: Add more tests of erf.
18695 * math/auto-libm-test-out: Regenerated.
18697 2014-05-14 Andreas Schwab <schwab@suse.de>
18699 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18700 Remove code conditionalized on USE___THREAD.
18702 * config.h.in (HAVE_PT_CHOWN): Define as 0.
18703 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18706 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18708 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18709 Define unconditionally.
18710 (__ASSUME_O_CLOEXEC): Likewise.
18711 (__ASSUME_SOCK_CLOEXEC): Likewise.
18712 (__ASSUME_IN_NONBLOCK): Likewise.
18713 (__ASSUME_PIPE2): Likewise.
18714 (__ASSUME_EVENTFD2): Likewise.
18715 (__ASSUME_SIGNALFD4): Likewise.
18716 (__ASSUME_DUP3): Likewise.
18717 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18718 (__ASSUME_DUP3): Do not define.
18719 (__ASSUME_EVENTFD2): Likewise.
18720 (__ASSUME_IN_NONBLOCK): Likewise.
18721 (__ASSUME_O_CLOEXEC): Likewise.
18722 (__ASSUME_PIPE2): Likewise.
18723 (__ASSUME_SIGNALFD4): Likewise.
18724 (__ASSUME_SOCK_CLOEXEC): Likewise.
18725 (__ASSUME_UTIMES): Undefine.
18726 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18727 (__ASSUME_UTIMES): Do not define.
18728 (__ASSUME_O_CLOEXEC): Likewise.
18729 (__ASSUME_SOCK_CLOEXEC): Likewise.
18730 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18731 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18733 (__ASSUME_PIPE2): Likewise.
18734 (__ASSUME_EVENTFD2): Likewise.
18735 (__ASSUME_SIGNALFD4): Likewise.
18736 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18737 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18739 (__ASSUME_EVENTFD2): Likewise.
18740 (__ASSUME_SIGNALFD4): Likewise.
18741 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18742 (__ASSUME_32BITUIDS): Likewise.
18743 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18744 (__ASSUME_IPC64): Likewise.
18745 (__ASSUME_ST_INO_64_BIT): Likewise.
18746 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18747 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18748 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18749 (__ASSUME_UTIMES): Do not define.
18750 (__ASSUME_PSELECT): Likewise.
18751 (__ASSUME_PPOLL): Likewise.
18752 (__ASSUME_O_CLOEXEC): Likewise.
18753 (__ASSUME_SOCK_CLOEXEC): Likewise.
18754 (__ASSUME_IN_NONBLOCK): Likewise.
18755 (__ASSUME_PIPE2): Likewise.
18756 (__ASSUME_EVENTFD2): Likewise.
18757 (__ASSUME_SIGNALFD4): Likewise.
18758 (__ASSUME_DUP3): Likewise.
18759 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18760 (__ASSUME_UTIMES): Likewise.
18761 (__ASSUME_O_CLOEXEC): Likewise.
18762 (__ASSUME_SOCK_CLOEXEC): Likewise.
18763 (__ASSUME_IN_NONBLOCK): Likewise.
18764 (__ASSUME_PIPE2): Likewise.
18765 (__ASSUME_EVENTFD2): Likewise.
18766 (__ASSUME_SIGNALFD4): Likewise.
18767 (__ASSUME_DUP3): Likewise.
18768 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18769 (__ASSUME_UTIMES): Likewise.
18770 (__ASSUME_O_CLOEXEC): Likewise.
18771 (__ASSUME_SOCK_CLOEXEC): Likewise.
18772 (__ASSUME_IN_NONBLOCK): Likewise.
18773 (__ASSUME_PIPE2): Likewise.
18774 (__ASSUME_EVENTFD2): Likewise.
18775 (__ASSUME_SIGNALFD4): Likewise.
18776 (__ASSUME_DUP3): Likewise.
18777 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18779 (__ASSUME_UTIMES): Likewise.
18780 (__ASSUME_EVENTFD2): Likewise.
18781 (__ASSUME_SIGNALFD4): Likewise.
18782 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18783 (__ASSUME_O_CLOEXEC): Likewise.
18784 (__ASSUME_SOCK_CLOEXEC): Likewise.
18785 (__ASSUME_IN_NONBLOCK): Likewise.
18786 (__ASSUME_PIPE2): Likewise.
18787 (__ASSUME_EVENTFD2): Likewise.
18788 (__ASSUME_SIGNALFD4): Likewise.
18789 (__ASSUME_DUP3): Likewise.
18790 (__ASSUME_UTIMES): Undefine.
18792 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18793 feclearexcept. Remove symbol versioning code.
18794 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
18795 symbol versioning code.
18796 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
18797 symbol versioning code.
18798 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18799 feupdateenv. Remove symbol versioning code.
18800 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18801 fegetexceptflag. Remove symbol versioning code.
18802 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18803 fesetexceptflag. Remove symbol versioning code.
18804 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18805 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
18806 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18807 (__posix_fadvise64_l32): Remove prototype.
18808 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18811 2014-05-13 Roland McGrath <roland@hack.frob.com>
18813 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18814 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18815 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18816 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18818 2014-05-13 Sami Kerola <kerolasa@iki.fi>
18820 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18821 current working directory
18823 2014-05-13 Roland McGrath <roland@hack.frob.com>
18825 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18826 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18827 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18828 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18829 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18830 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18831 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18832 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18833 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18834 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18835 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18836 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18837 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18838 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18839 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18840 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18841 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18842 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18843 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18844 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18845 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18846 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18847 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18848 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18849 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18850 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18851 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18852 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18853 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18854 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18855 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18856 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18857 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18858 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18859 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18860 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18861 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18862 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18863 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18864 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18865 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18866 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18868 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18869 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18871 * sysdeps/unix/sysv/linux/arm/Makefile
18872 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18873 Add rt-aeabi_unwind_cpp_pr1.
18874 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18875 Add nptl-aeabi_unwind_cpp_pr1.
18876 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18877 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18878 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18879 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18880 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18881 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18883 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18884 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18885 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18886 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18888 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18889 Deconditionalize the code that was previously under [RESET_PID].
18890 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18892 * sysdeps/generic/exit-thread.h: New file.
18893 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18894 * include/unistd.h (__exit_thread): Remove declaration.
18895 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18896 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18897 * csu/libc-start.c: Include <exit-thread.h>.
18898 (LIBC_START_MAIN): Pass no argument to __exit_thread.
18899 * nptl/pthread_create.c: Include <exit-thread.h>.
18900 (start_thread): Call __exit_thread in place of __exit_thread_inline.
18901 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18902 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18903 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18904 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18905 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18906 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18907 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18908 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18909 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18910 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18911 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18912 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18913 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18914 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18915 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18916 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18918 2014-05-13 Andreas Schwab <schwab@suse.de>
18920 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18922 2014-05-12 Joseph Myers <joseph@codesourcery.com>
18924 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18925 (__ASSUME_UTIMES): Do not condition on kernel version.
18926 (__ASSUME_PSELECT): Define unconditionally.
18927 (__ASSUME_PPOLL): Likewise.
18928 (__ASSUME_ATFCTS): Likewise.
18929 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18930 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18931 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18932 (__ASSUME_UTIMENSAT): Define unconditionally.
18933 (__ASSUME_PRIVATE_FUTEX): Likewise.
18934 (__ASSUME_FALLOCATE): Likewise.
18935 (__ASSUME_O_CLOEXEC): Likewise.
18936 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18937 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18938 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18939 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18940 (__ASSUME_IN_NONBLOCK): Likewise.
18941 (__ASSUME_PIPE2): Likewise.
18942 (__ASSUME_EVENTFD2): Likewise.
18943 (__ASSUME_SIGNALFD4): Likewise.
18944 (__ASSUME_DUP3): Likewise.
18945 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18946 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18947 (__ASSUME_AT_RANDOM): Likewise.
18948 (__ASSUME_PREADV): Likewise.
18949 (__ASSUME_PWRITEV): Likewise.
18950 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18951 (__ASSUME_F_GETOWN_EX): Define unconditionally.
18952 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18953 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18954 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18955 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18956 (__ASSUME_O_CLOEXEC): Define unconditionally.
18957 (__ASSUME_PSELECT): Do not undefine conditionally.
18958 (__ASSUME_PPOLL): Likewise.
18959 (__ASSUME_ATFCTS): Likewise.
18960 (__ASSUME_SET_ROBUST_LIST): Likewise.
18961 (__ASSUME_UTIMENSAT): Likewise.
18962 (__ASSUME_FDATASYNC): Define unconditionally.
18963 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18964 (__ASSUME_SIGFRAME_V2): Likewise.
18965 )__ASSUME_EVENTFD2): Likewise.
18966 (__ASSUME_SIGNALFD4): Likewise.
18967 (__ASSUME_PSELECT): Do not undefine conditionally.
18968 (__ASSUME_PPOLL): Likewise.
18969 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18970 (__ASSUME_PSELECT): Define unconditionally.
18971 (__ASSUME_PPOLL): Likewise.
18972 (__ASSUME_O_CLOEXEC): Likewise.
18973 (__ASSUME_SOCK_CLOEXEC): Likewise.
18974 (__ASSUME_IN_NONBLOCK): Likewise.
18975 (__ASSUME_PIPE2): Likewise.
18976 (__ASSUME_EVENTFD2): Likewise.
18977 (__ASSUME_SIGNALFD4): Likewise.
18978 (__ASSUME_DUP3): Likewise.
18979 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18980 (__ASSUME_O_CLOEXEC): Likewise.
18981 (__ASSUME_SOCK_CLOEXEC): Likewise.
18982 (__ASSUME_IN_NONBLOCK): Likewise.
18983 (__ASSUME_PIPE2): Likewise.
18984 (__ASSUME_EVENTFD2): Likewise.
18985 (__ASSUME_SIGNALFD4): Likewise.
18986 (__ASSUME_DUP3): Likewise.
18987 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18988 (__ASSUME_EVENTFD2): Likewise.
18989 (__ASSUME_SIGNALFD4): Likewise.
18990 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18992 2014-05-12 Andreas Schwab <schwab@suse.de>
18995 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18996 (_nss_nis_gethostbyname4_r): Return error if item length is larger
18997 than maximum RPC packet size.
18998 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18999 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
19000 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
19001 (_nss_nis_getservbyport_r): Likewise.
19003 2014-05-12 Will Newton <will.newton@linaro.org>
19005 * malloc/Makefile (tests): Add tst-mallopt.
19006 * malloc/tst-mallopt.c: New file.
19008 2014-05-09 Roland McGrath <roland@hack.frob.com>
19010 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19011 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19013 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19015 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19016 (tst-tlsmod6.so): Likewise.
19018 2014-05-09 Roland McGrath <roland@hack.frob.com>
19020 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19022 2014-05-09 Joseph Myers <joseph@codesourcery.com>
19025 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19026 and <dl-procinfo.h>.
19027 (__fegetenv): Save SSE state in envp->__eip if supported.
19028 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19029 envp->__eip if supported.
19030 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19031 and <dl-procinfo.h>.
19032 (__fesetenv): Always set __eip, __cs_selector, __opcode,
19033 __data_offset and __data_selector in environment to 0. Set SSE
19034 state if supported.
19035 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19037 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19039 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19041 2014-05-09 Will Newton <will.newton@linaro.org>
19043 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19044 and libc_relro_required for ARM.
19045 * sysdeps/arm/preconfigure: Regenerate.
19047 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
19048 Stefan Liebler <stli@linux.vnet.ibm.com>
19050 * config.make.in (enable-lock-elision): New Makefile variable.
19051 * configure.ac: Likewise.
19052 * configure: Regenerate.
19053 * sysdeps/s390/configure.ac:
19054 Add check for gcc transactions support.
19055 * sysdeps/s390/configure: Regenerate.
19056 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19057 Build elision files if enabled.
19058 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19059 Add lock elision support for s390.
19060 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19061 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19062 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19063 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19064 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19065 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19066 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19068 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19070 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19072 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19074 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19075 (__lll_timedlock_elision, __lll_lock_elision)
19076 (__lll_unlock_elision, __lll_trylock_elision)
19077 (lll_timedlock_elision, lll_lock_elision)
19078 (lll_unlock_elision, lll_trylock_elision): Add.
19079 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19080 (pthread_mutex_t): Add lock elision support for s390.
19082 2014-05-14 Wilco <wdijkstr@arm.com>
19084 * sysdeps/arm/fclrexcpt.c: Cleanup.
19085 * sysdeps/arm/fedisblxcpt.c: Cleanup.
19086 * sysdeps/arm/feenablxcpt.c: Cleanup.
19087 * sysdeps/arm/fegetenv.c: Cleanup.
19088 * sysdeps/arm/fegetexcept.c: Cleanup.
19089 * sysdeps/arm/fegetround.c: Cleanup.
19090 * sysdeps/arm/feholdexcpt.c: Cleanup.
19091 * sysdeps/arm/fesetenv.c: Cleanup.
19092 * sysdeps/arm/fesetround.c: Cleanup.
19093 * sysdeps/arm/feupdateenv.c: Cleanup.
19094 * sysdeps/arm/fgetexcptflg.c: Cleanup.
19095 * sysdeps/arm/fraiseexcpt.c: Cleanup.
19096 * sysdeps/arm/fsetexcptflg.c: Cleanup.
19097 * sysdeps/arm/ftestexcept.c: Cleanup.
19098 * sysdeps/arm/get-rounding-mode.h: Cleanup.
19099 * sysdeps/arm/setfpucw.c: Cleanup.
19101 2014-05-09 Will Newton <will.newton@linaro.org>
19103 * sysdeps/arm/armv7/strcmp.S: New file.
19104 * NEWS: Mention addition of ARMv7 optimized strcmp.
19106 2014-05-08 Roland McGrath <roland@hack.frob.com>
19108 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19109 look for %.ac rather than %.in.
19111 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19112 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19113 * sysdeps/mach/hurd/configure: Regenerated.
19114 * sysdeps/unix/sysv/linux/configure: Regenerated.
19116 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19118 2014-05-07 Steve Ellcey <sellcey@mips.com>
19121 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19125 2014-05-07 Andreas Schwab <schwab@suse.de>
19127 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19128 when skipping over non-matching result from nscd.
19130 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
19133 * nptl/sockperf.c (client): Check socket return value.
19136 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19137 nscd security class.
19139 2014-05-06 Roland McGrath <roland@hack.frob.com>
19141 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19142 * sysdeps/arm/unwind.h: ... here.
19144 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
19147 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19150 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19152 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19153 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19154 multiarch strncpy for PPC64.
19155 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19156 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19157 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19158 multiarch optimizations.
19159 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19160 (__libc_ifunc_impl_list): Likewise.
19161 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19162 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19163 multiarch stpncpy for PPC64.
19164 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19165 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19167 2014-05-06 Andreas Schwab <schwab@suse.de>
19170 * gmon/mcount.c (_MCOUNT_DECL): Use
19171 atomic_compare_and_exchange_bool_acq instead of
19172 catomic_compare_and_exchange_bool_acq.
19174 2014-05-05 Roland McGrath <roland@hack.frob.com>
19176 * elf/Makefile (others, install-bin): Remove pldd.
19177 (pldd-modules): Variable removed.
19178 ($(objpfx)pldd): Target removed.
19179 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19180 (others, install-bin): Append pldd here.
19181 ($(objpfx)pldd): New target.
19183 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19184 to 0, so the first #if test emitted later doesn't see it undefined.
19185 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19186 * sysdeps/gnu/errlist.c: Regenerated.
19188 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19190 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19191 [libc_hidden_builtin_def]: Define to empty value.
19192 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19193 [libc_hidden_builtin_def]: Likewise.
19194 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19195 [libc_hidden_builtin_def]: Likewise.
19196 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19197 [libc_hidden_builtin_def]: Likewise.
19198 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19199 __redirect_memcpy and define ifunc as default hidden symbol.
19200 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19201 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19203 2014-05-04 Adam Conrad <adconrad@0c3.net>
19205 * locale/iso-4217.def: Reintroduce XDR currency.
19207 2014-05-04 Allan McRae <allan@archlinux.org>
19209 * po/eo.po: Update Esperanto translation from translation project.
19211 2014-05-02 Carlos O'Donell <carlos@redhat.com>
19213 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19214 and FEATURE_INDEX_MAX to 1.
19215 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19217 2014-05-01 Steve Ellcey <sellcey@mips.com>
19219 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19220 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19221 * iconvdata/big5.c (ONE_DIRECTION): Define.
19222 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19223 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19224 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19225 * iconvdata/cp932.c (ONE_DIRECTION): Define.
19226 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19227 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19228 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19229 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19230 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19231 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19232 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19233 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19234 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19235 * iconvdata/gbk.c (ONE_DIRECTION): Define.
19236 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19237 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19238 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19239 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19240 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19241 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19242 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19243 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19244 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19245 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19246 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19247 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19248 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19249 * iconvdata/iso646.c (ONE_DIRECTION): Define.
19250 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19251 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19252 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19253 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19254 * iconvdata/johab.c (ONE_DIRECTION): Define.
19255 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19256 * iconvdata/sjis.c (ONE_DIRECTION): Define.
19257 * iconvdata/t.61.c (ONE_DIRECTION): Define.
19258 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19259 * iconvdata/tscii.c (ONE_DIRECTION): Define.
19260 * iconvdata/uhc.c (ONE_DIRECTION): Define.
19261 * iconvdata/unicode.c (ONE_DIRECTION): Define.
19262 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19263 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19264 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19266 2014-05-01 Roland McGrath <roland@hack.frob.com>
19268 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19269 (_IO_JUMPS_OFFSET): Define to 0.
19271 * nptl/sysdeps/pthread/bits/libc-lock.h
19272 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19273 (__libc_lock_define_initialized_recursive): Always define using
19274 initializer. Modern compilers treat uninitialized (implicit zero) and
19275 explicit zero initializers the same (i.e. put the datum in bss).
19277 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
19279 * nscd/nscd-client.h: Include <string.h>.
19281 2014-05-01 David S. Miller <davem@davemloft.net>
19284 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19285 multiple zero bytes exist at the end of a string.
19286 Reported by Aurelien Jarno <aurelien@aurel32.net>
19288 * string/test-strcmp.c (check): Add explicit test for situations where
19289 there are multiple zero bytes after the first.
19291 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
19294 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19295 when compiling wprintf.
19296 * stdio-common/tstdiomisc.c (t3): New function.
19299 2014-05-01 Steve Ellcey <sellcey@mips.com>
19301 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19302 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19303 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19304 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19306 2014-05-01 Steve Ellcey <sellcey@mips.com>
19308 * stdlib/longlong.h: Updated from GCC.
19310 2014-05-01 Will Newton <will.newton@linaro.org>
19311 Bernard Ogden <bernie.ogden@linaro.org>
19313 * NEWS: Update fixed bug list.
19316 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19318 2014-04-30 David S. Miller <davem@davemloft.net>
19320 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19321 (libc_feholdexcept_setround_sparc_ctx): New function.
19322 (libc_fesetenv_sparc_ctx): Likewise.
19323 (libc_feupdateenv_sparc_ctx): Likewise.
19324 (libc_feholdsetround_sparc_ctx): Likewise.
19325 (libc_feholdexcept_setround_ctx): Define.
19326 (libc_feholdexcept_setroundf_ctx): Likewise.
19327 (libc_feholdexcept_setroundl_ctx): Likewise.
19328 (libc_fesetenv_ctx): Likewise.
19329 (libc_fesetenvf_ctx): Likewise.
19330 (libc_fesetenvl_ctx): Likewise.
19331 (libc_feupdateenv_ctx): Likewise.
19332 (libc_feupdateenvf_ctx): Likewise.
19333 (libc_feupdateenvl_ctx): Likewise.
19334 (libc_feresetround_ctx): Likewise.
19335 (libc_feresetroundf_ctx): Likewise.
19336 (libc_feresetroundl_ctx): Likewise.
19337 (libc_feholdsetround_ctx): Likewise.
19338 (libc_feholdsetroundf_ctx): Likewise.
19339 (libc_feholdsetroundl_ctx): Likewise.
19341 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19342 with __USE_GNU instead of XOPEN cpp guards.
19344 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19347 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19348 with XOPEN cpp guards.
19350 2014-04-30 Julian Brown <julian@codesourcery.com>
19353 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19356 2014-04-30 Joseph Myers <joseph@codesourcery.com>
19359 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19361 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19362 * sysdeps/unix/sysv/linux/configure: Regenerated.
19363 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19364 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19365 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19366 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19367 * README: Update reference to required Linux kernel version.
19368 * manual/install.texi (Linux): Update reference to required Linux
19369 kernel headers version.
19370 * INSTALL: Regenerated.
19372 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19374 [POSIX] (limits.h): Likewise.
19375 [POSIX] (math.h): Likewise.
19376 [POSIX] (sys/wait.h): Likewise.
19377 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19379 [POSIX] (stddef.h): Do not allow header inclusion.
19381 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19383 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19385 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
19387 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19388 Return immediately after lll_futex_wake.
19390 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19393 * nscd/nscd-client.h (datahead_init_common): Initialize entire
19395 (datahead_init_pos): Call datahead_init_common early.
19396 (datahead_init_neg): Likewise.
19398 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19399 datahead_init_neg): New functions.
19400 * nscd/aicache.c (addhstaiX): Use them.
19401 * nscd/grpcache.c (cache_addgr): Likewise.
19402 * nscd/hstcache.c (cache_addhst): Likewise.
19403 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19404 * nscd/netgroupcache.c (do_notfound): Likewise.
19405 (addgetnetgrentX): Likewise.
19406 (addinnetgrX): Likewise.
19407 * nscd/pwdcache.c (cache_addpw): Likewise.
19408 * nscd/servicescache.c (cache_addserv): Likewise.
19410 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19411 Atsushi Onoe <atsushi@onoe.org>
19416 * resolv/res_query.c (__libc_res_nsearch): Return if at least
19417 one response is valid.
19418 * resolv/res_send.c (send_dg): Check for validity of other
19419 response if the current response is a referral.
19421 2014-04-29 Steve Ellcey <sellcey@mips.com>
19423 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19425 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
19428 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19429 Always divide by positive zero when computing -Inf result.
19430 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19431 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19433 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19435 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19436 FPSCR if value do not change.
19437 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19438 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19439 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19440 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19441 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19442 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19445 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
19447 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19448 * sysdeps/unix/sysv/linux/hppa: Move directory from
19449 ports/systeps/unix/sysv/linux/hppa.
19450 * README: Update listing for hppa-*-linux-gnu.
19452 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
19455 * manual/stdio.texi (Hook functions): Fix types of stream hook
19458 * socket/sys/socket.h: Fix typo in comment.
19460 2014-04-28 Wilco <wdijkstr@arm.com>
19462 * sysdeps/arm/fenv_private.h: New file.
19463 * sysdeps/arm/math_private.h: New file.
19464 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19466 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
19468 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19470 (La_x86_64_retval): Likewise.
19472 2014-04-24 Ian Bolton <ian.bolton@arm.com>
19474 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19475 fpsr if value didn't change.
19476 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19477 to fpcr if value didn't change.
19478 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19479 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19480 fpsr or fpcr if value didn't change.
19481 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19482 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19483 fpcr if value didn't change.
19484 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19485 to fpsr if value didn't change.
19487 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19489 * nptl/tst-sem3.c: Use test-skeleton.c
19490 (main): Rename to do_test. Use return instead of
19492 * nptl/tst-sem4.c: Use test-skeleton.c
19493 (main): Rename to do_test.
19495 2014-04-22 David S. Miller <davem@davemloft.net>
19497 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19498 (struct sigaction): New struct member __glibc_reserved0, change
19499 type of sa_flags to int.
19501 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
19503 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19504 (COUNT_LEADING_ZEROS_0): Define for AArch64.
19506 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19508 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19509 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19511 2014-04-22 Will Newton <will.newton@linaro.org>
19512 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
19514 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19515 (__longjmp): Add longjmp and longjmp_target SystemTap
19517 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19518 (__sigsetjmp): Add setjmp SystemTap probe.
19520 2014-04-17 Carlos O'Donell <carlos@redhat.com>
19522 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19523 match manual order.
19525 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19527 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19529 * sysdeps/powerpc/fpu/fenv_private.h
19530 (libc_feholdexcept_setroundl_ctx): Define to
19531 libc_feholdexcept_setround_ppc_ctx.
19532 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19533 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19534 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19535 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19537 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19539 * sysdeps/aarch64/math-tests.h: New file.
19541 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
19543 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19546 Check and set bit_AVX2_Usable.
19547 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19549 (bit_AVX2): Likewise.
19550 (index_AVX2_Usable): Likewise.
19551 (CPUID_AVX2): Likewise.
19552 (HAS_AVX2): Likewise.
19554 2014-04-17 Will Newton <will.newton@linaro.org>
19556 * manual/setjmp.texi (System V contexts): Add note that
19557 calling setcontext on a context created by a call to a
19558 signal handler is undefined. Update text to note that
19559 setcontext from a signal handler is possible but not
19563 * stdlib/tst-setcontext.c: Include signal.h.
19564 (main): Check that the signal stack before and
19565 after swapcontext is the same.
19567 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19568 Re-implement to restore registers in user code and avoid
19569 rt_sigreturn system call.
19571 2014-04-17 Wilco <wdijkstr@arm.com>
19573 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19574 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19575 * math/test-fenv.c: Skip exception trap tests on targets which only
19576 support non-stop mode.
19578 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19579 Wilco Dijkstra <wilco.dijkstra@arm.com>
19581 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19582 (libc_feholdsetround_aarch64_ctx)
19583 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19584 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19585 (libc_feresetround_ctx, libc_feresetroundf_ctx)
19586 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19587 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19588 (libc_feresetround_noexl_ctx): Define.
19590 2014-04-16 Richard Henderson <rth@redhat.com>
19592 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19594 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19597 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19598 const from the non-libc, non-ldso copy.
19600 * sysdeps/alpha/libm-test-ulps: Regenerate.
19602 2014-04-16 Ian Bolton <ian.bolton@arm.com>
19603 Wilco Dijkstra <wilco.dijkstra@arm.com>
19605 * sysdeps/aarch64/fpu/math_private.h: New file.
19607 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
19609 * sysdeps/aarch64/libm-test-ulps: Regenerate.
19611 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
19614 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19615 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19617 Intel MPX bound registers before _dl_profile_fixup.
19618 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19619 registers after _dl_profile_fixup. Save and restore bound
19620 registers bnd0/bnd1 when calling _dl_call_pltexit.
19621 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19622 (LR_BND_OFFSET): Likewise.
19623 (LRV_BND0_OFFSET): Likewise.
19624 (LRV_BND1_OFFSET): Likewise.
19626 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19628 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19630 * sysdeps/mach/hurd/i386/tls.h: ... here.
19631 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19632 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19635 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19637 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19639 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19641 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19643 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19646 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19647 * sysdeps/s390/configure: Regenerate.
19650 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19651 Set round-to-nearest internally to reduce error accumulation.
19653 2014-04-16 Alan Modra <amodra@gmail.com>
19657 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19658 * math/libm-test.inc (frexp_test_data): Add tests.
19659 * NEWS: Update fixed bug list.
19661 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19663 * benchtests/Makefile: Depend on libraries in build directory.
19664 (bench-math): Separate out math tests.
19665 (bench-pthread): Separate out pthread tests.
19666 (bench): Include math and pthread tests.
19668 2014-04-14 Carlos O'Donell <carlos@redhat.com>
19671 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19672 _dl_debug_initialize.
19674 * configure.ac: Remove SELinux header check.
19675 * configure: Regenerate.
19676 * nscd/selinux.c (perms): Array of const char* to permission names.
19677 (nscd_request_avc_has_perm): Call security_deny_unknown to find
19678 default policy. Call string_to_security_class and string_to_av_perm to
19679 translate strings. Enforce default policy and call avs_has_perm with
19680 results of translated strings.
19682 2014-04-13 David S. Miller <davem@davemloft.net>
19684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19686 2014-04-12 Allan McRae <allan@archlinux.org>
19689 * manual/string.texi (Collation Functions): Fix qsort argument
19691 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19693 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
19695 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19696 Make the test a no-op if there are no exceptions defined.
19698 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19700 * elf/Makefile (tests): make tst-dlopen-aout conditional on
19701 enable-hardcoded-path-in-tests
19703 2014-04-11 Will Newton <will.newton@linaro.org>
19705 * benchtests/Makefile (extra-objs): Add json-lib.o.
19706 (bench-func): Tidy up JSON output.
19707 * benchtests/bench-skeleton.c: Include json-lib.h.
19708 (main): Use JSON library functions to do output of
19710 * benchtests/bench-timing-type.c (main): Output the
19711 timing type simply, leaving formatting to the user.
19712 * benchtests/json-lib.c: New file.
19713 * benchtests/json-lib.h: Likewise.
19715 2014-04-11 Torvald Riegel <triegel@redhat.com>
19718 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19719 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
19720 memory barriers. Add comments.
19721 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19722 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19723 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19724 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19725 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19726 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19728 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19730 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19731 * sysdeps/s390/s390-64/configure.ac: ... this ...
19732 * sysdeps/s390/configure.ac: ... to here.
19733 * sysdeps/s390/s390-32/configure: Delete file.
19734 * sysdeps/s390/s390-64/configure: Delete file.
19735 * sysdeps/s390/configure: Regenerate.
19737 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
19739 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19741 2014-04-11 Will Newton <will.newton@linaro.org>
19743 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19744 to zero if it is not defined elsewhere. (mtrim): Test
19745 the value of MALLOC_DEBUG with #if rather than #ifdef.
19747 2014-04-10 Torvald Riegel <triegel@redhat.com>
19749 * benchtests/pthread_once-inputs: New file.
19750 * benchtests/pthread_once-source.c: New file.
19751 * benchtests/README: Update documentation.
19753 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
19754 H.J. Lu <hongjiu.lu@intel.com>
19757 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19758 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19759 * sysdeps/x86_64/configure: Regenerated.
19760 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19762 (REGISTER_SAVE_RAX): Likewise.
19763 (REGISTER_SAVE_RCX): Likewise.
19764 (REGISTER_SAVE_RDX): Likewise.
19765 (REGISTER_SAVE_RSI): Likewise.
19766 (REGISTER_SAVE_RDI): Likewise.
19767 (REGISTER_SAVE_R8): Likewise.
19768 (REGISTER_SAVE_R9): Likewise.
19769 (REGISTER_SAVE_BND0): Likewise.
19770 (REGISTER_SAVE_BND1): Likewise.
19771 (REGISTER_SAVE_BND2): Likewise.
19772 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
19773 bound registers when calling _dl_fixup.
19775 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19777 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19778 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19780 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19781 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19782 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19783 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19784 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19785 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19786 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19788 2014-04-09 Peter Brett <peter@peter-b.co.uk>
19791 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19792 pathconf(_PC_NAME_MAX).
19794 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19796 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19797 Remove macro usage.
19798 (__PTHREAD_SPINS): Move definition to ...
19799 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19800 (__PTHREAD_SPINS): ... here.
19801 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19802 (__PTHREAD_SPIN): Likewise.
19803 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19804 (__PTHREAD_SPIN): Likewise.
19805 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19806 (__PTHREAD_SPIN): Likewise.
19807 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19808 (__PTHREAD_SPIN): Likewise.
19809 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19810 (__PTHREAD_SPIN): Likewise.
19811 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19812 (__PTHREAD_SPIN): Likewise.
19813 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19814 (__PTHREAD_SPIN): Likewise.
19815 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19816 (__PTHREAD_SPIN): Likewise.
19817 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19818 (__PTHREAD_SPIN): Likewise.
19819 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19820 (__PTHREAD_SPIN): Likewise.
19821 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19822 (__PTHREAD_SPIN): Likewise.
19823 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19824 (__PTHREAD_SPIN): Likewise.
19826 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19827 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19828 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19829 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19831 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19832 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19833 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19834 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19835 correct imply path.
19836 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19837 strlen symbol for non multi-arch builds.
19838 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19839 missing hidden_def and weak_alias.
19841 2014-04-08 Carlos O'Donell <carlos@redhat.com>
19843 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19845 2014-04-07 Will Newton <will.newton@linaro.org>
19847 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19848 and contents. [!_LIBC] Remove #ifndef and contents.
19849 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
19850 * string/memccpy.c (__memccpy): Use ANSI prototype.
19851 * string/memfrob.c (memfrob): Likewise.
19852 * string/strcoll.c (STRCOLL): Likewise.
19853 * string/strlen.c (strlen): Likewise.
19854 * string/strtok.c (STRTOK): Likewise.
19855 * string/strcat.c: Remove unused #include of memcopy.h.
19856 (strcat): Use ANSI prototype.
19857 * string/strchr.c: Remove unused #include of memcopy.h.
19858 (strchr): Use ANSI prototype.
19859 * string/strcmp.c: Remove unused #include of memcopy.h.
19860 (strcmp): Use ANSI prototype.
19861 * string/strcpy.c: Remove unused #include of memcopy.h.
19862 (strcpy): Use ANSI prototype.
19864 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19866 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19867 * config.make.in (config-extra-cppflags): Set it from
19868 libc_extra_cppflags.
19869 * configure.ac (libc_extra_cflags): Make it accumulate over
19870 configure fragments.
19871 (libc_extra_cppflags): New flag.
19872 * configure. Regenerate.
19873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19874 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19875 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19879 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19880 result for FE_DOWNWARD rounding mode.
19881 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19885 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
19887 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19888 in function argument name.
19890 2014-04-03 David Svoboda <svoboda@cert.org>
19893 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19896 2014-04-03 Roland McGrath <roland@hack.frob.com>
19898 * elf/dl-unmap-segments.h: New file.
19899 * sysdeps/generic/ldsodefs.h
19900 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19901 * elf/dl-close.c: Include <dl-unmap-segments.h>.
19902 * elf/dl-fptr.c: Likewise.
19903 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19904 * sysdeps/aarch64/tlsdesc.c: Likewise.
19905 * sysdeps/arm/tlsdesc.c: Likewise.
19906 * sysdeps/i386/tlsdesc.c: Likewise.
19907 * sysdeps/tile/dl-runtime.c: Likewise.
19908 * sysdeps/x86_64/tlsdesc.c: Likewise.
19909 * elf/dl-load.h: New file.
19910 * elf/dl-load.c: Include it.
19911 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19912 Macros moved to dl-load.h.
19913 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19914 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19915 Use _dl_unmap_segments in place of __munmap.
19916 Break out segment-mapping loop into ...
19917 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19919 2014-04-03 Will Newton <will.newton@linaro.org>
19921 * elf/dl-lookup.c (do_lookup_x): Remove comment
19922 referring to nested function and move variable
19923 declarations down to before first use.
19925 2014-04-02 Joseph Myers <joseph@codesourcery.com>
19929 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19931 * math/s_catanf.c (__catanf): Likewise.
19932 * math/s_catanh.c (__catanh): Likewise.
19933 * math/s_catanhf.c (__catanhf): Likewise.
19934 * math/s_catanhl.c (__catanhl): Likewise.
19935 * math/s_catanl.c (__catanl): Likewise.
19936 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19937 by positive zero when computing -Inf result.
19938 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19939 (catanh_test): Likewise.
19940 * sysdeps/i386/fpu/libm-test-ulps: Update.
19941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19944 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19945 instead of using underflowing value in computing result.
19946 * math/s_clog10.c (__clog10): Likewise.
19947 * math/s_clog10f.c (__clog10f): Likewise.
19948 * math/s_clog10l.c (__clog10l): Likewise.
19949 * math/s_clogf.c (__clogf): Likewise.
19950 * math/s_clogl.c (__clogl): Likewise.
19951 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19952 (clog10_test): Likewise.
19953 * sysdeps/i386/fpu/libm-test-ulps: Update.
19954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19956 2014-04-02 Alan Modra <amodra@gmail.com>
19959 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19960 output when value is near a power of two. Use int64_t for lx and
19961 remove casts. Use decimal rather than hex exponent constants.
19962 Don't use long double multiplication when double will suffice.
19963 * math/libm-test.inc (nextafter_test_data): Add tests.
19964 * NEWS: Add 16739 and 16786 to bug list.
19966 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19968 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19970 2014-04-01 Will Newton <will.newton@linaro.org>
19972 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19973 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
19975 2014-04-01 Florian Weimer <fweimer@redhat.com>
19978 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19979 * nptl/tst-setuid2.c: New file.
19980 * nptl/Makefile (xtests): Add tst-setuid2.
19982 2014-04-01 Alan Modra <amodra@gmail.com>
19985 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19987 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19991 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19992 set errno as appropriate.
19993 * math/w_scalbf.c (__scalbf): Likewise.
19994 * math/w_scalbl.c (__scalbl): Likewise.
19995 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19996 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19997 * math/libm-test.inc (scalb_test_data): Add errno expectations.
19998 Add more NaN tests.
20001 * math/w_atan2.c: Include <errno.h>.
20002 (__atan2): Set errno for result underflowing to zero.
20003 * math/w_atan2f.c: Include <errno.h>.
20004 (__atan2f): Set errno for result underflowing to zero.
20005 * math/w_atan2l.c: Include <errno.h>.
20006 (__atan2l): Set errno for result underflowing to zero.
20007 * math/auto-libm-test-in: Don't allow missing errno for some atan2
20009 * math/auto-libm-test-out: Regenerated.
20011 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20013 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20014 Encode instruction correctly in little endian.
20015 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20017 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20019 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20021 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20024 2014-03-31 Joseph Myers <joseph@codesourcery.com>
20027 * sysdeps/unix/sysv/linux/kernel-features.h
20028 [__sparc__ && !__arch64__ && !__sparc_v9__]
20029 (__ASSUME_SET_ROBUST_LIST): Do not define.
20030 [__sparc__ && !__arch64__ && !__sparc_v9__]
20031 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20032 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20034 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20035 (__ASSUME_FUTEX_LOCK_PI): Undefine.
20036 (__ASSUME_REQUEUE_PI): Likewise.
20037 (__ASSUME_SET_ROBUST_LIST): Likewise.
20038 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20039 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20041 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20042 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20044 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20046 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20048 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20049 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20051 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20052 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20056 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20057 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20058 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20060 2014-03-31 Will Newton <will.newton@linaro.org>
20062 * benchtests/Makefile (bench): Add ffs and ffsll to list
20064 * benchtests/ffs-inputs: New file.
20065 * benchtests/ffsll-inputs: Likewise.
20067 2014-03-29 Joseph Myers <joseph@codesourcery.com>
20070 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20071 too large before casting to int.
20072 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20073 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20074 * math/libm-test.inc (scalb_test_data): Add more tests.
20076 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20078 * benchtests/Makefile (DETAILED_OPT): New make option.
20079 (bench-func): Run benchmark program with -d if DETAILED_OPT is
20081 * benchtests/bench-skeleton.c: Include stdbool.h.
20082 (main): Store and print timings per input.
20083 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20084 member to each argument value.
20085 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20086 (_print_arg_data): Initialize per-input timing to 0.
20088 * benchtests/Makefile (timing-type): New binary.
20089 (bench-clean): Also remove bench-timing-type.
20090 (bench): New target for timing-type.
20091 (bench-func): Print output in JSON format.
20092 * benchtests/bench-skeleton.c (main): Print output in JSON
20094 * benchtests/bench-timing-type.c: New file.
20095 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20096 (TIMING_PRINT_STATS): Remove.
20097 * benchtests/scripts/bench.py (_print_arg_data): Store variant
20100 * benchtests/bench-modf.c: Remove.
20101 * benchtests/modf-inputs: New inputs file.
20103 2014-03-28 Joseph Myers <joseph@codesourcery.com>
20106 * math/s_clog10.c (M_PI_LOG10E): New macro.
20107 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20108 imaginary parts are 0.
20109 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20110 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20111 imaginary parts are 0.
20112 * math/s_clog10l.c (M_PI_LOG10El): New macro.
20113 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20114 imaginary parts are 0.
20115 * math/libm-test.inc (clog10_test_data): Update expected results
20116 for when real and imaginary parts are 0.
20118 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
20120 * elf/dl-load.c: Finish conversion of __builtin_expect into
20121 __glibc_{un}likely.
20123 2014-03-27 Joseph Myers <joseph@codesourcery.com>
20126 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20127 1+x for argument with exponent below -67.
20128 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20130 * math/auto-libm-test-in: Add more tests of exp.
20131 * math/auto-libm-test-out: Regenerated.
20133 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20136 * inet/getnetgrent_r.c (get_nonempty_val): New function.
20137 (nscd_getnetgrent): Use it.
20140 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20143 2014-03-27 Andi Kleen <ak@linux.intel.com>
20145 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20146 (lll_robust_lock, lll_cond_lock, lll_timedlock)
20147 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20148 (lll_robust_unlock): Remove out of line section. Use cfi
20150 (LLL_STUB_UNWIND_INFO*): Remove.
20151 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20152 (lll_robust_lock, lll_cond_lock, lll_timedlock)
20153 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20154 (lll_robust_unlock): Remove out of line section. Use cfi
20156 (LLL_STUB_UNWIND_INFO*): Remove.
20158 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20161 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20164 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
20166 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20168 2014-03-26 Joseph Myers <joseph@codesourcery.com>
20171 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20173 * math/test-fenv-preserve.c: New file.
20174 * math/Makefile (tests): Add test-fenv-preserve.
20176 2014-03-26 Will Newton <will.newton@linaro.org>
20178 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20180 2014-03-25 Roland McGrath <roland@hack.frob.com>
20182 * scripts/versionlist.awk: Partition the version sets and emit all
20183 GLIBC_* (sorted) before all others (sorted).
20185 2014-03-25 Joseph Myers <joseph@codesourcery.com>
20187 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20188 GLIBC_2.2.5 version.
20190 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20192 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20195 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20200 2014-03-25 Andreas Schwab <schwab@suse.de>
20202 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20203 label to be used after in6ailist is initialized.
20205 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20207 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20208 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20210 2014-03-25 Joseph Myers <joseph@codesourcery.com>
20214 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20216 (fp_formats): Update initializers.
20217 (init_fp_formats): Initialize new field.
20218 (output_for_one_input_case): Allow underflow for results up to
20220 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20221 * math/auto-libm-test-in: Don't mark some underflows from asin and
20223 * math/auto-libm-test-out: Regenerated.
20224 * sysdeps/i386/fpu/libm-test-ulps: Update.
20225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20227 2014-03-25 Andreas Schwab <schwab@suse.de>
20229 * libio/Makefile (tst-ftell-partial-wide-ENV)
20230 (tst-ftell-active-handler-ENV): Define.
20232 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20234 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20236 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20238 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20240 2014-03-24 Joseph Myers <joseph@codesourcery.com>
20242 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20243 * sysdeps/x86_64/fpu/multiarch/e_exp.c
20244 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20246 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20249 * elf/dl-load.c (open_verify): Add mode parameter.
20250 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20251 (open_path): Change from boolean 'secure' to complete flag 'mode'
20252 (_dl_map_object): Adjust.
20253 * elf/Makefile (tests): Add tst-dlopen-aout.
20254 * elf/tst-dlopen-aout.c: New test.
20256 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20259 * sysdeps/unix/sysv/linux/s390/bits/stat.h
20260 (struct stat): Rename member pad0 to __glibc_reserved0.
20263 * sysdeps/s390/s390-32/bits/wordsize.h
20264 (__WORDSIZE32_SIZE_ULONG): New define.
20265 * sysdeps/s390/s390-64/bits/wordsize.h
20266 (__WORDSIZE32_SIZE_ULONG): Likewise.
20267 * sysdeps/generic/stdint.h (SIZE_MAX):
20268 Define as UL if __WORDSIZE32_SIZE_ULONG.
20271 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20272 (__glibc_reserved0): New variable.
20273 (sa_flags): Change type to int.
20275 * posix/Makefile (before-compile): Use += before-compile instead
20278 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20279 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20281 2014-03-20 Andreas Schwab <schwab@suse.de>
20284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20285 non-matching result from nscd.
20287 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20289 * scripts/bench.py: Moved to ...
20290 * benchtests/scripts/bench.py: ... here.
20291 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20293 2014-03-24 Andreas Schwab <schwab@suse.de>
20296 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20297 alloca_account and account alloca use for struct in6ailist.
20299 2014-03-24 Joseph Myers <joseph@codesourcery.com>
20302 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20303 rounding mode to recompute results that overflow to infinity or
20305 * math/auto-libm-test-in: Don't mark tests as expected to fail for
20307 * math/auto-libm-test-out: Regenerated.
20308 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20309 (ccosh_test): Likewise.
20310 (csin_test_data): Use plus_oflow.
20311 (csin_test): Use ALL_RM_TEST.
20312 (csinh_test_data): Use plus_oflow.
20313 (csinh_test): Use ALL_RM_TEST.
20314 * sysdeps/i386/fpu/libm-test-ulps: Update.
20315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20317 2014-03-21 Joseph Myers <joseph@codesourcery.com>
20319 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20320 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20321 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20324 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20325 when x - 1 is zero.
20326 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20327 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20328 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20329 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20331 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20332 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20334 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20335 * sysdeps/i386/fpu/libm-test-ulps: Update.
20336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20338 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20340 * scripts/bench.pl: Remove file.
20341 * scripts/bench.py: New benchmark script.
20342 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20343 * benchtests/README: Mention python dependency.
20344 * scripts/pylintrc: New file.
20345 * scripts/pylint: New file.
20347 * bits/mathdef.h: Use #ifdef instead of #if.
20348 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20349 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20350 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20351 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20352 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20353 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20355 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20356 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20358 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20360 and strpbrk-ppc64 objects.
20361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20362 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20363 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20364 multiarch strpbrk for POWER7.
20365 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20366 multiarch strpbrk for PPC64.
20367 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20369 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20370 strpbrk for POWER7.
20372 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20374 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20375 (atan_test): Likewise.
20376 (atanh_test_data): Use NO_TEST_INLINE for two tests.
20377 (atanh_test): Use ALL_RM_TEST.
20378 (atan2_test_data): Likewise.
20379 (cabs_test): Likewise.
20380 (cacosh_test): Likewise.
20381 (carg_test): Likewise.
20382 (casin_test): Likewise.
20383 (casinh_test): Likewise.
20384 (cbrt_test): Likewise.
20385 (csqrt_test): Likewise.
20386 (erf_test): Likewise.
20387 (erfc_test): Likewise.
20388 (pow10_test): Likewise.
20389 (exp2_test): Likewise.
20390 (hypot_test): Likewise.
20391 (j0_test): Likewise.
20392 (j1_test): Likewise.
20393 (lgamma_test): Likewise.
20394 (gamma_test): Likewise.
20395 (sincos_test): Likewise.
20396 (tanh_test): Likewise.
20397 (y0_test): Likewise.
20398 (y1_test): Likewise.
20399 * sysdeps/i386/fpu/libm-test-ulps: Update.
20400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20402 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20404 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20406 and strcspn-ppc64 objects.
20407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20408 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20409 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20410 multiarch strcspn for POWER7.
20411 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20412 multiarch strcspn for PPC64.
20413 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20415 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20416 strcspn for POWER7.
20418 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20420 * math/gen-libm-test.pl (generate_testfile): Expect only function
20421 name as argument to AUTO_TESTS_* and pass results for all rounding
20422 modes to parse_args.
20423 (parse_auto_input): Separate inputs of automatic tests from
20424 outputs before storing in %auto_tests.
20425 * math/libm-test.inc (acos_test_data): Update call to
20427 (acos_test): Use ALL_RM_TEST.
20428 (acos_tonearest_test_data): Remove.
20429 (acos_test_tonearest): Likewise.
20430 (acos_towardzero_test_data): Likewise.
20431 (acos_test_towardzero): Likewise.
20432 (acos_downward_test_data): Likewise.
20433 (acos_test_downward): Likewise.
20434 (acos_upward_test_data): Likewise.
20435 (acos_test_upward): Likewise.
20436 (acosh_test_data): Update call to AUTO_TESTS_f_f.
20437 (asin_test_data): Likewise.
20438 (asin_test): Use ALL_RM_TEST.
20439 (asin_tonearest_test_data): Remove.
20440 (asin_test_tonearest): Likewise.
20441 (asin_towardzero_test_data): Likewise.
20442 (asin_test_towardzero): Likewise.
20443 (asin_downward_test_data): Likewise.
20444 (asin_test_downward): Likewise.
20445 (asin_upward_test_data): Likewise.
20446 (asin_test_upward): Likewise.
20447 (asinh_test_data): Update call to AUTO_TESTS_f_f.
20448 (atan_test_data): Likewise.
20449 (atanh_test_data): Likewise.
20450 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20451 (cabs_test_data): Update call to AUTO_TESTS_c_f.
20452 (carg_test_data): Likewise.
20453 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20454 (ccos_test_data): Update call to AUTO_TESTS_c_c.
20455 (ccosh_test_data): Likewise.
20456 (cexp_test_data): Likewise.
20457 (clog_test_data): Likewise.
20458 (clog10_test_data): Likewise.
20459 (cos_test_data): Update call to AUTO_TESTS_f_f.
20460 (cos_test): Use ALL_RM_TEST.
20461 (cos_tonearest_test_data): Remove.
20462 (cos_test_tonearest): Likewise.
20463 (cos_towardzero_test_data): Likewise.
20464 (cos_test_towardzero): Likewise.
20465 (cos_downward_test_data): Likewise.
20466 (cos_test_downward): Likewise.
20467 (cos_upward_test_data): Likewise.
20468 (cos_test_upward): Likewise.
20469 (cosh_test_data): Update call to AUTO_TESTS_f_f.
20470 (cosh_test): Use ALL_RM_TEST.
20471 (cosh_tonearest_test_data): Remove.
20472 (cosh_test_tonearest): Likewise.
20473 (cosh_towardzero_test_data): Likewise.
20474 (cosh_test_towardzero): Likewise.
20475 (cosh_downward_test_data): Likewise.
20476 (cosh_test_downward): Likewise.
20477 (cosh_upward_test_data): Likewise.
20478 (cosh_test_upward): Likewise.
20479 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20480 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20481 (ctan_test_data): Likewise.
20482 (ctan_test): Use ALL_RM_TEST.
20483 (ctan_tonearest_test_data): Remove.
20484 (ctan_test_tonearest): Likewise.
20485 (ctan_towardzero_test_data): Likewise.
20486 (ctan_test_towardzero): Likewise.
20487 (ctan_downward_test_data): Likewise.
20488 (ctan_test_downward): Likewise.
20489 (ctan_upward_test_data): Likewise.
20490 (ctan_test_upward): Likewise.
20491 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20492 (ctanh_test): Use ALL_RM_TEST.
20493 (ctanh_tonearest_test_data): Remove.
20494 (ctanh_test_tonearest): Likewise.
20495 (ctanh_towardzero_test_data): Likewise.
20496 (ctanh_test_towardzero): Likewise.
20497 (ctanh_downward_test_data): Likewise.
20498 (ctanh_test_downward): Likewise.
20499 (ctanh_upward_test_data): Likewise.
20500 (ctanh_test_upward): Likewise.
20501 (erf_test_data): Update call to AUTO_TESTS_f_f.
20502 (erfc_test_data): Likewise.
20503 (exp_test_data): Likewise.
20504 (exp_test): Use ALL_RM_TEST.
20505 (exp_tonearest_test_data): Remove.
20506 (exp_test_tonearest): Likewise.
20507 (exp_towardzero_test_data): Likewise.
20508 (exp_test_towardzero): Likewise.
20509 (exp_downward_test_data): Likewise.
20510 (exp_test_downward): Likewise.
20511 (exp_upward_test_data): Likewise.
20512 (exp_test_upward): Likewise.
20513 (exp10_test_data): Update call to AUTO_TESTS_f_f.
20514 (exp10_test): Use ALL_RM_TEST.
20515 (exp10_tonearest_test_data): Remove.
20516 (exp10_test_tonearest): Likewise.
20517 (exp10_towardzero_test_data): Likewise.
20518 (exp10_test_towardzero): Likewise.
20519 (exp10_downward_test_data): Likewise.
20520 (exp10_test_downward): Likewise.
20521 (exp10_upward_test_data): Likewise.
20522 (exp10_test_upward): Likewise.
20523 (exp2_test_data): Update call to AUTO_TESTS_f_f.
20524 (expm1_test_data): Likewise.
20525 (expm1_test): Use ALL_RM_TEST.
20526 (expm1_tonearest_test_data): Remove.
20527 (expm1_test_tonearest): Likewise.
20528 (expm1_towardzero_test_data): Likewise.
20529 (expm1_test_towardzero): Likewise.
20530 (expm1_downward_test_data): Likewise.
20531 (expm1_test_downward): Likewise.
20532 (expm1_upward_test_data): Likewise.
20533 (expm1_test_upward): Likewise.
20534 (fma_test_data): Update call to AUTO_TESTS_fff_f.
20535 (fma_test): Use ALL_RM_TEST.
20536 (fma_towardzero_test_data): Remove.
20537 (fma_test_towardzero): Likewise.
20538 (fma_downward_test_data): Likewise.
20539 (fma_test_downward): Likewise.
20540 (fma_upward_test_data): Likewise.
20541 (fma_test_upward): Likewise.
20542 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20543 (j0_test_data): Update call to AUTO_TESTS_f_f.
20544 (j1_test_data): Likewise.
20545 (jn_test_data): Update call to AUTO_TESTS_if_f.
20546 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20547 (log_test_data): Update call to AUTO_TESTS_f_f.
20548 (log10_test_data): Likewise.
20549 (log1p_test_data): Likewise.
20550 (log2_test_data): Likewise.
20551 (pow_test_data): Update call to AUTO_TESTS_ff_f.
20552 (pow_tonearest_test_data): Likewise.
20553 (sin_test_data): Update call to AUTO_TESTS_f_f.
20554 (sin_test): Use ALL_RM_TEST.
20555 (sin_tonearest_test_data): Remove.
20556 (sin_test_tonearest): Likewise.
20557 (sin_towardzero_test_data): Likewise.
20558 (sin_test_towardzero): Likewise.
20559 (sin_downward_test_data): Likewise.
20560 (sin_test_downward): Likewise.
20561 (sin_upward_test_data): Likewise.
20562 (sin_test_upward): Likewise.
20563 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20564 (sinh_test_data): Update call to AUTO_TESTS_f_f.
20565 (sinh_test): Use ALL_RM_TEST.
20566 (sinh_tonearest_test_data): Remove.
20567 (sinh_test_tonearest): Likewise.
20568 (sinh_towardzero_test_data): Likewise.
20569 (sinh_test_towardzero): Likewise.
20570 (sinh_downward_test_data): Likewise.
20571 (sinh_test_downward): Likewise.
20572 (sinh_upward_test_data): Likewise.
20573 (sinh_test_upward): Likewise.
20574 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20575 (sqrt_test): Use ALL_RM_TEST.
20576 (sqrt_tonearest_test_data): Remove.
20577 (sqrt_test_tonearest): Likewise.
20578 (sqrt_towardzero_test_data): Likewise.
20579 (sqrt_test_towardzero): Likewise.
20580 (sqrt_downward_test_data): Likewise.
20581 (sqrt_test_downward): Likewise.
20582 (sqrt_upward_test_data): Likewise.
20583 (sqrt_test_upward): Likewise.
20584 (tan_test_data): Update call to AUTO_TESTS_f_f.
20585 (tan_test): Use ALL_RM_TEST.
20586 (tan_tonearest_test_data): Remove.
20587 (tan_test_tonearest): Likewise.
20588 (tan_towardzero_test_data): Likewise.
20589 (tan_test_towardzero): Likewise.
20590 (tan_downward_test_data): Likewise.
20591 (tan_test_downward): Likewise.
20592 (tan_upward_test_data): Likewise.
20593 (tan_test_upward): Likewise.
20594 (tanh_test_data): Update call to AUTO_TESTS_f_f.
20595 (tgamma_test_data): Likewise.
20596 (y0_test_data): Likewise.
20597 (y1_test_data): Likewise.
20598 (yn_test_data): Update call to AUTO_TESTS_if_f.
20599 (main): Do not call removed functions.
20601 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20603 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20604 (ldexp_test_data): Remove.
20605 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
20607 (scalb_test): Use ALL_RM_TEST.
20609 2014-03-19 Andreas Schwab <schwab@suse.de>
20611 * nscd/nscd.service: Also invalidate netgroup cache on reload.
20613 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20616 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20617 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20618 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20619 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20620 (__ASSUME_PREADV): Undefine.
20621 (__ASSUME_PWRITEV): Likewise.
20623 2014-03-18 Roland McGrath <roland@hack.frob.com>
20625 * bits/mman-linux.h: Add comment about non-Linux use.
20626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20627 bits/mman-linux.h resting place.
20629 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20630 * bits/mman-linux.h: ... here.
20632 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20634 * conform/conformtest.pl: Add standard definition when calling C
20635 preprocessor on data files.
20636 (checknamespace): Remove unused variable.
20638 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20640 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20641 minus_oflow, plus_uflow and minus_uflow in expected results.
20642 * math/libm-test.inc (scalbn_test_data): Add more tests of
20643 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
20645 (scalbn_test): Use ALL_RM_TEST.
20646 (scalbln_test_data): Add more tests of negative arguments. Use
20647 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20648 (scalbln_test): Use ALL_RM_TEST.
20650 2014-03-18 Roland McGrath <roland@hack.frob.com>
20652 * scripts/abilist.awk: Ignore symbols marked with .hidden.
20654 2014-03-18 Will Newton <will.newton@linaro.org>
20656 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20657 inaccurate comment.
20659 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20661 * Makerules [!subdir] (check-abi): Exit with error status if a
20664 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20666 * math/libm-test.inc (nearbyint_test_data): Include all tests used
20667 for rint. Include results for all rounding modes.
20668 (nearbyint_test): Use ALL_RM_TEST.
20669 (rint_test_data): Include all tests used for nearbyint.
20671 2014-03-17 Will Newton <will.newton@linaro.org>
20673 * nptl/sysdeps/pthread/pthread.h: Revert previous
20676 * sysdeps/generic/ldsodefs.h: Revert previous
20679 * libio/genops.c: Revert previous change.
20680 * libio/libioP.h: Likewise.
20681 * stdio-common/vfprintf.c: Likewise.
20683 * sysdeps/generic/math_private.h: Revert previous
20686 * sysdeps/generic/math_private.h: Check whether
20687 HAVE_RM_CTX is defined with #ifdef rather
20690 * argp/argp-fmtstream.h: Check whether
20691 __STRICT_ANSI__ is defined with #ifdef rather
20693 * argp/argp.h: Likewise.
20695 * libio/genops.c: Check whether
20696 _IO_JUMPS_OFFSET is defined with #ifdef rather
20698 * libio/libioP.h: Likewise.
20699 * stdio-common/vfprintf.c: Likewise.
20701 * sysdeps/generic/ldsodefs.h: Check whether
20702 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20705 * nptl/sysdeps/pthread/pthread.h: Check
20706 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20709 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20711 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20713 * libio/tst-ftell-active-handler.c (do_append_test): Add a
20717 * libio/fileops.c (_IO_file_open): Seek to end of file but
20718 don't cache the offset.
20719 (get_file_offset): Remove function.
20720 (do_ftell): Use cached offset when available.
20721 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20722 don't cache the offset.
20723 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20725 (do_one_test): Call it.
20726 (do_ftell_test): Fix up expected old offset for a+ mode.
20727 * libio/wfileops.c (do_ftell_wide): Used cached offset when
20730 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20731 up test status with function return status.
20732 (do_write_test): Likewise.
20733 (do_append_test): Likewise.
20735 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20736 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20739 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20741 * math/gen-libm-test.pl (parse_args): Handle results specified for
20742 each rounding mode separately.
20743 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20744 tests and results from lrint_tonearest_test_data,
20745 lrint_towardzero_test_data, lrint_downward_test_data and
20746 lrint_upward_test_data.
20747 (lrint_test): Use ALL_RM_TEST.
20748 (lrint_tonearest_test_data): Remove.
20749 (lrint_test_tonearest): Likewise.
20750 (lrint_towardzero_test_data): Likewise.
20751 (lrint_test_towardzero): Likewise.
20752 (lrint_downward_test_data): Likewise.
20753 (lrint_test_downward): Likewise.
20754 (lrint_upward_test_data): Likewise.
20755 (lrint_test_upward): Likewise.
20756 (llrint_test_data): Merge in per-rounding-mode tests and results
20757 from llrint_tonearest_test_data, llrint_towardzero_test_data,
20758 llrint_downward_test_data and llrint_upward_test_data.
20759 (llrint_test): Use ALL_RM_TEST.
20760 (llrint_tonearest_test_data): Remove.
20761 (llrint_test_tonearest): Likewise.
20762 (llrint_towardzero_test_data): Likewise.
20763 (llrint_test_towardzero): Likewise.
20764 (llrint_downward_test_data): Likewise.
20765 (llrint_test_downward): Likewise.
20766 (llrint_upward_test_data): Likewise.
20767 (llrint_test_upward): Likewise.
20768 (rint_test_data): Merge in per-rounding-mode tests and results
20769 from rint_tonearest_test_data, rint_towardzero_test_data,
20770 rint_downward_test_data and rint_upward_test_data. Add
20771 per-rounding-mode results for tests not in those arrays.
20772 (rint_test): Use ALL_RM_TEST.
20773 (rint_tonearest_test_data): Remove.
20774 (rint_test_tonearest): Likewise.
20775 (rint_towardzero_test_data): Likewise.
20776 (rint_test_towardzero): Likewise.
20777 (rint_downward_test_data): Likewise.
20778 (rint_test_downward): Likewise.
20779 (rint_upward_test_data): Likewise.
20780 (rint_test_upward): Likewise.
20781 (main): Don't call removed functions.
20783 2014-03-14 Roland McGrath <roland@hack.frob.com>
20785 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20786 "Compiled on ..." crapola. It is anti-useful.
20788 2014-03-14 Joseph Myers <joseph@codesourcery.com>
20790 * scripts/evaluate-test.sh: Handle fourth argument to determine
20791 whether test run should stop on failure.
20792 * Makeconfig (stop-on-test-failure): New variable.
20793 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20794 $(stop-on-test-failure).
20795 * Makefile (tests): Give a summary of results from testing and
20796 exit with failure status if they include an ERROR or FAIL.
20797 (xtests): Likewise.
20798 * manual/install.texi (Configuring and compiling): Mention
20799 stop-on-test-failure=y.
20800 * INSTALL: Regenerated.
20802 2014-03-14 Roland McGrath <roland@hack.frob.com>
20804 * scripts/versionlist.awk: New file.
20805 * Makerules [$(build-shared) = yes]
20806 (postclean-generated): Add Versions.def, not Versions.def.v and
20808 ($(common-objpfx)Versions.def.v.i): Target removed.
20809 ($(common-objpfx)Versions.def): New target.
20810 ($(common-objpfx)Versions.all): Depend on that rather that
20811 $(common-objpfx)Versions.def.v.
20812 * Versions.def: File removed.
20814 * Makeconfig (+gccwarn): Add -Wundef.
20815 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20816 a dl-sysdep.h breaking its contract.
20817 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20818 * include/stackinfo.h: New file.
20819 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20820 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20821 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20822 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20823 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20824 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20825 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20826 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20827 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20828 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20829 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20830 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20831 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20832 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20833 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20835 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20838 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20840 * math/libm-test.inc (round_test_data): Add more tests.
20843 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20845 * math/libm-test.inc (nearbyint_test_data): Add more tests.
20848 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20850 * math/libm-test.inc (ceil_test_data): Add more tests.
20852 * math/libm-test.inc (trunc_test_data): Add more tests related to
20855 2014-03-14 Roland McGrath <roland@hack.frob.com>
20857 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20858 with #if rather than #ifdef.
20859 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20861 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
20863 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20864 first. Disable AVX-512 GCC support if assembler doesn't support
20866 * sysdeps/x86_64/configure: Regenerated.
20868 2014-03-13 Carlos O'Donell <carlos@redhat.com>
20870 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20871 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20872 (__old_pthread_attr_setstack): Likewise.
20873 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20874 [!_STACK_GROWS_DOWN]: Likewise.
20876 2014-03-13 Mike Frysinger <vapier@gentoo.org>
20878 * config.make.in (have-bash2): Delete.
20879 * configure.ac (libc_cv_have_bash2): Delete.
20880 * configure: Regenerate.
20881 * elf/Makefile (common-ldd-rewrite): Rename to ...
20882 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
20883 (sh-ldd-rewrite): Delete.
20884 (bash-ldd-rewrite): Delete.
20885 (have-bash2): Delete checks.
20886 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20889 * config.make.in (have-ksh): Delete.
20891 * configure.ac (libc_cv_have_ksh): Delete.
20892 * configure: Regenerate.
20894 * elf/Makefile: Delete $(have-ksh) check.
20895 ($(objpfx)sotruss): Change KSH to BASH.
20896 * elf/sotruss.ksh: Rename to ...
20897 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
20898 function style to match POSIX. Drop ksh vim mode setting.
20900 * manual/time.texi (Specifying the Time Zone with TZ): Change
20901 Tuesday to Thursday.
20903 * debug/tst-longjmp_chk2.c: Update header comment.
20904 (stackoverflow_handler): Add comment. Call assert on pass value.
20906 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
20909 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20910 (HAVE_AVX512_ASM_SUPPORT): Likewise.
20911 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20912 (La_x86_64_vector): Add zmm.
20913 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20914 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20915 ($(objpfx)tst-audit10): New target.
20916 ($(objpfx)tst-audit10.out): Likewise.
20917 (tst-audit10-ENV): New.
20918 (AVX512-CFLAGS): Likewise.
20919 (CFLAGS-tst-audit10.c): Likewise.
20920 (CFLAGS-tst-auditmod10a.c): Likewise.
20921 (CFLAGS-tst-auditmod10b.c): Likewise.
20922 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20923 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20924 * sysdeps/x86_64/configure: Regenerated.
20925 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20926 AVX-512 zmm register support.
20927 (_dl_x86_64_save_sse): Likewise.
20928 (_dl_x86_64_restore_sse): Likewise.
20929 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20930 size vector registers.
20931 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20932 (ZMM_SIZE): Likewise.
20933 * sysdeps/x86_64/tst-audit10.c: New file.
20934 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20935 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20937 2014-03-13 Roland McGrath <roland@hack.frob.com>
20939 * configure.ac (HAVE_EHDR_START): New check.
20940 * configure: Regenerated.
20941 * config.h.in (HAVE_EHDR_START): New #undef.
20942 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20943 assuming the lowest-addressed segment maps the start of the file.
20945 2014-03-13 Joseph Myers <joseph@codesourcery.com>
20947 * INSTALL: Regenerated.
20949 2014-03-13 Will Newton <will.newton@linaro.org>
20951 * manual/setjmp.texi (System V contexts): Improve
20952 clarity and grammar of documentation.
20954 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
20957 * elf/Makefile (tests): Add tst-pie2.
20958 (tests-pie): Add tst-pie2.
20959 * elf/tst-pie2.c: New file.
20960 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20962 * elf/rtld.c (map_doit): Load executable as lt_executable.
20963 (dl_main): Likewise.
20965 2014-03-12 Joseph Myers <joseph@codesourcery.com>
20968 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20969 (__ASSUME_PSELECT): Undefine.
20971 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20974 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20975 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20977 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20978 selector for static builds.
20980 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20983 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20986 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20988 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20989 IFUNC selector for static builds.
20991 2014-03-11 Joseph Myers <joseph@codesourcery.com>
20993 * sysdeps/mips/math_private.h [__mips_hard_float]
20994 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20995 libc_feresetround_mips_ctx.
20996 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20997 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20998 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
21001 * math/s_nextafter.c (__nextafter): Do not return value from
21002 overflowing computation.
21003 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21004 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21005 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21007 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21009 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21010 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21012 2014-03-11 Roland McGrath <roland@hack.frob.com>
21014 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21015 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21016 Move sfi_sp use from the load-multiple (that no longer sets sp) to
21017 the new mov targetting sp.
21019 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21022 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21023 Define it for static builds as well.
21024 (NO_BZERO_IMPL): Likewise.
21026 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21028 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21029 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21030 multiarch strspn for PPC64.
21031 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21032 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21033 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21034 (__libc_ifunc_impl_list): Likewise.
21035 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21036 multiarch optimizations
21037 * string/strspn.c (strspn): Using macro to redefine symbol name.
21039 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21040 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21042 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21043 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21044 multiarch strncat for PPC64.
21045 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21046 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21048 (__libc_ifunc_impl_list): Likewise.
21049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21050 multiarch optimizations
21052 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21055 * nscd/nscd.service: Make service type forking.
21057 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21059 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21060 sign in non default rounding modes.
21061 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21063 2014-03-08 Joseph Myers <joseph@codesourcery.com>
21065 * math/libm-test.inc (ALL_RM_TEST): New macro.
21066 (ceil_test): Use ALL_RM_TEST.
21067 (cimag_test): Likewise.
21068 (conj_test): Likewise.
21069 (copysign_test): Likewise.
21070 (cproj_test): Likewise.
21071 (creal_test): Likewise.
21072 (fabs_test): Likewise.
21073 (floor_test): Likewise.
21074 (fmax_test): Likewise.
21075 (fmin_test): Likewise.
21076 (fmod_test): Likewise.
21077 (fpclassify_test): Likewise.
21078 (frexp_test): Likewise.
21079 (ilogb_test): Likewise.
21080 (isfinite_test): Likewise.
21081 (finite_test): Likewise.
21082 (isgreater_test): Likewise.
21083 (isgreaterequal_test): Likewise.
21084 (isinf_test): Likewise.
21085 (isless_test): Likewise.
21086 (islessequal_test): Likewise.
21087 (islessgreater_test): Likewise.
21088 (isnan_test): Likewise.
21089 (isnormal_test): Likewise.
21090 (issignaling_test): Likewise.
21091 (isunordered_test): Likewise.
21092 (logb_test): Likewise.
21093 (logb_downward_test_data): Remove.
21094 (logb_test_downward): Likewise.
21095 (lround_test): Use ALL_RM_TEST.
21096 (llround_test): Likewise.
21097 (modf_test): Likewise.
21098 (nexttoward_test): Likewise.
21099 (remainder_test): Likewise.
21100 (drem_test): Likewise.
21101 (remainder_tonearest_test_data): Likewise.
21102 (remainder_test_tonearest): Likewise.
21103 (drem_test_tonearest): Likewise.
21104 (remainder_towardzero_test_data): Likewise.
21105 (remainder_test_towardzero): Likewise.
21106 (drem_test_towardzero): Likewise.
21107 (remainder_downward_test_data): Likewise.
21108 (remainder_test_downward): Likewise.
21109 (drem_test_downward): Likewise.
21110 (remainder_upward_test_data): Likewise.
21111 (remainder_test_upward): Likewise.
21112 (drem_test_upward): Likewise.
21113 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
21114 (round_test): Use ALL_RM_TEST.
21115 (signbit_test): Likewise.
21116 (trunc_test): Likewise.
21117 (significand_test): Likewise.
21118 (main): Don't call removed functions.
21120 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21123 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21124 || __USE_XOPEN2K8].
21125 (ILL_ILLOPN): Likewise.
21126 (ILL_ILLADR): Likewise.
21127 (ILL_ILLTRP): Likewise.
21128 (ILL_PRVOPC): Likewise.
21129 (ILL_PRVREG): Likewise.
21130 (ILL_COPROC): Likewise.
21131 (ILL_BADSTK): Likewise.
21132 (FPE_INTDIV): Likewise.
21133 (FPE_INTOVF): Likewise.
21134 (FPE_FLTDIV): Likewise.
21135 (FPE_FLTOVF): Likewise.
21136 (FPE_FLTUND): Likewise.
21137 (FPE_FLTRES): Likewise.
21138 (FPE_FLTINV): Likewise.
21139 (FPE_FLTSUB): Likewise.
21140 (SEGV_MAPERR): Likewise.
21141 (SEGV_ACCERR): Likewise.
21142 (BUS_ADRALN): Likewise.
21143 (BUS_ADRERR): Likewise.
21144 (BUS_OBJERR): Likewise.
21145 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21146 (TRAP_TRACE): Likewise.
21147 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21149 (CLD_KILLED): Likewise.
21150 (CLD_DUMPED): Likewise.
21151 (CLD_TRAPPED): Likewise.
21152 (CLD_STOPPED): Likewise.
21153 (CLD_CONTINUED): Likewise.
21154 (POLL_IN): Likewise.
21155 (POLL_OUT): Likewise.
21156 (POLL_MSG): Likewise.
21157 (POLL_ERR): Likewise.
21158 (POLL_PRI): Likewise.
21159 (POLL_HUP): Likewise.
21160 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21162 (ILL_ILLOPN): Likewise.
21163 (ILL_ILLADR): Likewise.
21164 (ILL_ILLTRP): Likewise.
21165 (ILL_PRVOPC): Likewise.
21166 (ILL_PRVREG): Likewise.
21167 (ILL_COPROC): Likewise.
21168 (ILL_BADSTK): Likewise.
21169 (FPE_INTDIV): Likewise.
21170 (FPE_INTOVF): Likewise.
21171 (FPE_FLTDIV): Likewise.
21172 (FPE_FLTOVF): Likewise.
21173 (FPE_FLTUND): Likewise.
21174 (FPE_FLTRES): Likewise.
21175 (FPE_FLTINV): Likewise.
21176 (FPE_FLTSUB): Likewise.
21177 (SEGV_MAPERR): Likewise.
21178 (SEGV_ACCERR): Likewise.
21179 (BUS_ADRALN): Likewise.
21180 (BUS_ADRERR): Likewise.
21181 (BUS_OBJERR): Likewise.
21182 (BUS_MCEERR_AR): Likewise.
21183 (BUS_MCEERR_AO): Likewise.
21184 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21185 (TRAP_TRACE): Likewise.
21186 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21188 (CLD_KILLED): Likewise.
21189 (CLD_DUMPED): Likewise.
21190 (CLD_TRAPPED): Likewise.
21191 (CLD_STOPPED): Likewise.
21192 (CLD_CONTINUED): Likewise.
21193 (POLL_IN): Likewise.
21194 (POLL_OUT): Likewise.
21195 (POLL_MSG): Likewise.
21196 (POLL_ERR): Likewise.
21197 (POLL_PRI): Likewise.
21198 (POLL_HUP): Likewise.
21199 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21200 (ILL_ILLOPN): Likewise.
21201 (ILL_ILLADR): Likewise.
21202 (ILL_ILLTRP): Likewise.
21203 (ILL_PRVOPC): Likewise.
21204 (ILL_PRVREG): Likewise.
21205 (ILL_COPROC): Likewise.
21206 (ILL_BADSTK): Likewise.
21207 (FPE_INTDIV): Likewise.
21208 (FPE_INTOVF): Likewise.
21209 (FPE_FLTDIV): Likewise.
21210 (FPE_FLTOVF): Likewise.
21211 (FPE_FLTUND): Likewise.
21212 (FPE_FLTRES): Likewise.
21213 (FPE_FLTINV): Likewise.
21214 (FPE_FLTSUB): Likewise.
21215 (SEGV_MAPERR): Likewise.
21216 (SEGV_ACCERR): Likewise.
21217 (BUS_ADRALN): Likewise.
21218 (BUS_ADRERR): Likewise.
21219 (BUS_OBJERR): Likewise.
21220 (BUS_MCEERR_AR): Likewise.
21221 (BUS_MCEERR_AO): Likewise.
21222 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21223 (TRAP_TRACE): Likewise.
21224 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21226 (CLD_KILLED): Likewise.
21227 (CLD_DUMPED): Likewise.
21228 (CLD_TRAPPED): Likewise.
21229 (CLD_STOPPED): Likewise.
21230 (CLD_CONTINUED): Likewise.
21231 (POLL_IN): Likewise.
21232 (POLL_OUT): Likewise.
21233 (POLL_MSG): Likewise.
21234 (POLL_ERR): Likewise.
21235 (POLL_PRI): Likewise.
21236 (POLL_HUP): Likewise.
21237 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21239 (ILL_ILLOPN): Likewise.
21240 (ILL_ILLADR): Likewise.
21241 (ILL_ILLTRP): Likewise.
21242 (ILL_PRVOPC): Likewise.
21243 (ILL_PRVREG): Likewise.
21244 (ILL_COPROC): Likewise.
21245 (ILL_BADSTK): Likewise.
21246 (ILL_BADIADDR): Likewise.
21247 (ILL_BREAK): Likewise.
21248 (FPE_INTDIV): Likewise.
21249 (FPE_INTOVF): Likewise.
21250 (FPE_FLTDIV): Likewise.
21251 (FPE_FLTOVF): Likewise.
21252 (FPE_FLTUND): Likewise.
21253 (FPE_FLTRES): Likewise.
21254 (FPE_FLTINV): Likewise.
21255 (FPE_FLTSUB): Likewise.
21256 (FPE_DECOVF): Likewise.
21257 (FPE_DECDIV): Likewise.
21258 (FPE_DECERR): Likewise.
21259 (FPE_INVASC): Likewise.
21260 (FPE_INVDEC): Likewise.
21261 (SEGV_MAPERR): Likewise.
21262 (SEGV_ACCERR): Likewise.
21263 (SEGV_PSTKOVF): Likewise.
21264 (BUS_ADRALN): Likewise.
21265 (BUS_ADRERR): Likewise.
21266 (BUS_OBJERR): Likewise.
21267 (BUS_MCEERR_AR): Likewise.
21268 (BUS_MCEERR_AO): Likewise.
21269 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21270 (TRAP_TRACE): Likewise.
21271 (TRAP_BRANCH): Likewise.
21272 (TRAP_HWBKPT): Likewise.
21273 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21275 (CLD_KILLED): Likewise.
21276 (CLD_DUMPED): Likewise.
21277 (CLD_TRAPPED): Likewise.
21278 (CLD_STOPPED): Likewise.
21279 (CLD_CONTINUED): Likewise.
21280 (POLL_IN): Likewise.
21281 (POLL_OUT): Likewise.
21282 (POLL_MSG): Likewise.
21283 (POLL_ERR): Likewise.
21284 (POLL_PRI): Likewise.
21285 (POLL_HUP): Likewise.
21286 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21287 (ILL_ILLOPN): Likewise.
21288 (ILL_ILLADR): Likewise.
21289 (ILL_ILLTRP): Likewise.
21290 (ILL_PRVOPC): Likewise.
21291 (ILL_PRVREG): Likewise.
21292 (ILL_COPROC): Likewise.
21293 (ILL_BADSTK): Likewise.
21294 (FPE_INTDIV): Likewise.
21295 (FPE_INTOVF): Likewise.
21296 (FPE_FLTDIV): Likewise.
21297 (FPE_FLTOVF): Likewise.
21298 (FPE_FLTUND): Likewise.
21299 (FPE_FLTRES): Likewise.
21300 (FPE_FLTINV): Likewise.
21301 (FPE_FLTSUB): Likewise.
21302 (SEGV_MAPERR): Likewise.
21303 (SEGV_ACCERR): Likewise.
21304 (BUS_ADRALN): Likewise.
21305 (BUS_ADRERR): Likewise.
21306 (BUS_OBJERR): Likewise.
21307 (BUS_MCEERR_AR): Likewise.
21308 (BUS_MCEERR_AO): Likewise.
21309 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21310 (TRAP_TRACE): Likewise.
21311 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21313 (CLD_KILLED): Likewise.
21314 (CLD_DUMPED): Likewise.
21315 (CLD_TRAPPED): Likewise.
21316 (CLD_STOPPED): Likewise.
21317 (CLD_CONTINUED): Likewise.
21318 (POLL_IN): Likewise.
21319 (POLL_OUT): Likewise.
21320 (POLL_MSG): Likewise.
21321 (POLL_ERR): Likewise.
21322 (POLL_PRI): Likewise.
21323 (POLL_HUP): Likewise.
21324 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21325 (ILL_ILLOPN): Likewise.
21326 (ILL_ILLADR): Likewise.
21327 (ILL_ILLTRP): Likewise.
21328 (ILL_PRVOPC): Likewise.
21329 (ILL_PRVREG): Likewise.
21330 (ILL_COPROC): Likewise.
21331 (ILL_BADSTK): Likewise.
21332 (FPE_INTDIV): Likewise.
21333 (FPE_INTOVF): Likewise.
21334 (FPE_FLTDIV): Likewise.
21335 (FPE_FLTOVF): Likewise.
21336 (FPE_FLTUND): Likewise.
21337 (FPE_FLTRES): Likewise.
21338 (FPE_FLTINV): Likewise.
21339 (FPE_FLTSUB): Likewise.
21340 (SEGV_MAPERR): Likewise.
21341 (SEGV_ACCERR): Likewise.
21342 (BUS_ADRALN): Likewise.
21343 (BUS_ADRERR): Likewise.
21344 (BUS_OBJERR): Likewise.
21345 (BUS_MCEERR_AR): Likewise.
21346 (BUS_MCEERR_AO): Likewise.
21347 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21348 (TRAP_TRACE): Likewise.
21349 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21351 (CLD_KILLED): Likewise.
21352 (CLD_DUMPED): Likewise.
21353 (CLD_TRAPPED): Likewise.
21354 (CLD_STOPPED): Likewise.
21355 (CLD_CONTINUED): Likewise.
21356 (POLL_IN): Likewise.
21357 (POLL_OUT): Likewise.
21358 (POLL_MSG): Likewise.
21359 (POLL_ERR): Likewise.
21360 (POLL_PRI): Likewise.
21361 (POLL_HUP): Likewise.
21362 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21363 (ILL_ILLOPN): Likewise.
21364 (ILL_ILLADR): Likewise.
21365 (ILL_ILLTRP): Likewise.
21366 (ILL_PRVOPC): Likewise.
21367 (ILL_PRVREG): Likewise.
21368 (ILL_COPROC): Likewise.
21369 (ILL_BADSTK): Likewise.
21370 (FPE_INTDIV): Likewise.
21371 (FPE_INTOVF): Likewise.
21372 (FPE_FLTDIV): Likewise.
21373 (FPE_FLTOVF): Likewise.
21374 (FPE_FLTUND): Likewise.
21375 (FPE_FLTRES): Likewise.
21376 (FPE_FLTINV): Likewise.
21377 (FPE_FLTSUB): Likewise.
21378 (SEGV_MAPERR): Likewise.
21379 (SEGV_ACCERR): Likewise.
21380 (BUS_ADRALN): Likewise.
21381 (BUS_ADRERR): Likewise.
21382 (BUS_OBJERR): Likewise.
21383 (BUS_MCEERR_AR): Likewise.
21384 (BUS_MCEERR_AO): Likewise.
21385 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21386 (TRAP_TRACE): Likewise.
21387 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21389 (CLD_KILLED): Likewise.
21390 (CLD_DUMPED): Likewise.
21391 (CLD_TRAPPED): Likewise.
21392 (CLD_STOPPED): Likewise.
21393 (CLD_CONTINUED): Likewise.
21394 (POLL_IN): Likewise.
21395 (POLL_OUT): Likewise.
21396 (POLL_MSG): Likewise.
21397 (POLL_ERR): Likewise.
21398 (POLL_PRI): Likewise.
21399 (POLL_HUP): Likewise.
21400 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21401 (ILL_ILLOPN): Likewise.
21402 (ILL_ILLADR): Likewise.
21403 (ILL_ILLTRP): Likewise.
21404 (ILL_PRVOPC): Likewise.
21405 (ILL_PRVREG): Likewise.
21406 (ILL_COPROC): Likewise.
21407 (ILL_BADSTK): Likewise.
21408 (ILL_DBLFLT): Likewise.
21409 (ILL_HARDWALL): Likewise.
21410 (FPE_INTDIV): Likewise.
21411 (FPE_INTOVF): Likewise.
21412 (FPE_FLTDIV): Likewise.
21413 (FPE_FLTOVF): Likewise.
21414 (FPE_FLTUND): Likewise.
21415 (FPE_FLTRES): Likewise.
21416 (FPE_FLTINV): Likewise.
21417 (FPE_FLTSUB): Likewise.
21418 (SEGV_MAPERR): Likewise.
21419 (SEGV_ACCERR): Likewise.
21420 (BUS_ADRALN): Likewise.
21421 (BUS_ADRERR): Likewise.
21422 (BUS_OBJERR): Likewise.
21423 (BUS_MCEERR_AR): Likewise.
21424 (BUS_MCEERR_AO): Likewise.
21425 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21426 (TRAP_TRACE): Likewise.
21427 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21429 (CLD_KILLED): Likewise.
21430 (CLD_DUMPED): Likewise.
21431 (CLD_TRAPPED): Likewise.
21432 (CLD_STOPPED): Likewise.
21433 (CLD_CONTINUED): Likewise.
21434 (POLL_IN): Likewise.
21435 (POLL_OUT): Likewise.
21436 (POLL_MSG): Likewise.
21437 (POLL_ERR): Likewise.
21438 (POLL_PRI): Likewise.
21439 (POLL_HUP): Likewise.
21440 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21441 (ILL_ILLOPN): Likewise.
21442 (ILL_ILLADR): Likewise.
21443 (ILL_ILLTRP): Likewise.
21444 (ILL_PRVOPC): Likewise.
21445 (ILL_PRVREG): Likewise.
21446 (ILL_COPROC): Likewise.
21447 (ILL_BADSTK): Likewise.
21448 (FPE_INTDIV): Likewise.
21449 (FPE_INTOVF): Likewise.
21450 (FPE_FLTDIV): Likewise.
21451 (FPE_FLTOVF): Likewise.
21452 (FPE_FLTUND): Likewise.
21453 (FPE_FLTRES): Likewise.
21454 (FPE_FLTINV): Likewise.
21455 (FPE_FLTSUB): Likewise.
21456 (SEGV_MAPERR): Likewise.
21457 (SEGV_ACCERR): Likewise.
21458 (BUS_ADRALN): Likewise.
21459 (BUS_ADRERR): Likewise.
21460 (BUS_OBJERR): Likewise.
21461 (BUS_MCEERR_AR): Likewise.
21462 (BUS_MCEERR_AO): Likewise.
21463 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21464 (TRAP_TRACE): Likewise.
21465 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21467 (CLD_KILLED): Likewise.
21468 (CLD_DUMPED): Likewise.
21469 (CLD_TRAPPED): Likewise.
21470 (CLD_STOPPED): Likewise.
21471 (CLD_CONTINUED): Likewise.
21472 (POLL_IN): Likewise.
21473 (POLL_OUT): Likewise.
21474 (POLL_MSG): Likewise.
21475 (POLL_ERR): Likewise.
21476 (POLL_PRI): Likewise.
21477 (POLL_HUP): Likewise.
21478 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21479 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21482 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21483 before #include of <time.h>.
21484 [!__USE_XOPEN2K] (__need_timespec): Likewise.
21485 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21486 (test-xfail-UNIX98/sched.h/conform): Likewise.
21488 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
21490 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21491 error absence of trapping exception support.
21492 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21494 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21496 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21497 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21498 * timezone/Makefile (testdata): Move definition above include of
21500 (test-zones): New variable.
21501 (tests-special): Add zone files.
21502 (build-testdata): Use $(evaluate-test).
21504 * elf/Makefile (tests-special): Rename tests to end with .out.
21505 ($(objpfx)noload-mem): Likewise.
21506 ($(objpfx)tst-leaks1-mem): Likewise.
21507 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21508 * iconv/Makefile (xtests-special): Change test-iconvconfig to
21509 $(objpfx)test-iconvconfig.out.
21510 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
21511 set -e inside subshell and redirect output to file.
21512 * iconvdata/Makefile (generated): Rename tests to end with .out.
21514 (tests-special): Rename tests to end with .out.
21515 ($(objpfx)mtrace-tst-loading): Likewise.
21516 * intl/Makefile (generated): Likewise.
21517 (tests-special): Likewise.
21518 ($(objpfx)mtrace-tst-gettext): Likewise.
21519 * misc/Makefile (generated): Likewise.
21520 (tests-special): Likewise.
21521 ($(objpfx)tst-error1-mem): Likewise.
21522 * nptl/Makefile (tests-special): Likewise.
21523 ($(objpfx)tst-stack3-mem): Likewise.
21524 (generated): Likewise.
21525 * posix/Makefile (generated): Likewise.
21526 (tests-special): Likewise.
21527 (xtests-special): Likewise.
21528 ($(objpfx)tst-fnmatch-mem): Likewise.
21529 ($(objpfx)bug-regex2-mem): Likewise.
21530 ($(objpfx)bug-regex14-mem): Likewise.
21531 ($(objpfx)bug-regex21-mem): Likewise.
21532 ($(objpfx)bug-regex31-mem): Likewise.
21533 ($(objpfx)tst-vfork3-mem): Likewise.
21534 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21535 ($(objpfx)tst-pcre-mem): Likewise.
21536 ($(objpfx)tst-boost-mem): Likewise.
21537 ($(objpfx)bug-ga2-mem): Likewise.
21538 ($(objpfx)bug-glob2-mem): Likewise.
21539 * resolv/Makefile (generate): Likewise.
21540 (tests-special): Likewise.
21541 (xtests-special): Likewise.
21542 (generated): Likewise.
21543 ($(objpfx)mtrace-tst-leaks): Likewise.
21544 ($(objpfx)mtrace-tst-leaks2): Likewise.
21546 * scripts/merge-test-results.sh: New file.
21547 * Makefile (tests-special-notdir): New variable.
21548 (tests): Run merge-test-results.sh.
21549 (xtests): Likewise.
21550 * Rules (tests-special-notdir): New variable.
21551 (xtests-special-notdir): Likewise.
21552 (tests): Run merge-test-results.sh
21553 (xtests): Likewise.
21555 * Makeconfig (test-xfail-name): New variable.
21556 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21557 compute variable name for expected failures.
21558 * conform/Makefile (conformtest-headers-data): New variable.
21559 (conformtest-standards): Likewise.
21560 (conformtest-headers-ISO): Likewise.
21561 (conformtest-headers-ISO99): Likewise.
21562 (conformtest-headers-ISO11): Likewise.
21563 (conformtest-headers-POSIX): Likewise.
21564 (conformtest-headers-XPG3): Likewise.
21565 (conformtest-headers-XPG4): Likewise.
21566 (conformtest-headers-UNIX98): Likewise.
21567 (conformtest-headers-XOPEN2K): Likewise.
21568 (conformtest-headers-POSIX2008): Likewise.
21569 (conformtest-headers-XOPEN2K8): Likewise.
21570 (conformtest-header-list-base): Likewise.
21571 (conformtest-header-list-tests): Likewise.
21572 (conformtest-header-base): Likewise.
21573 (conformtest-header-tests): Likewise.
21574 (tests-special): Add $(conformtest-header-list-tests). If
21575 [$(fast-check) && !$(cross-compiling)], add
21576 $(conformtest-header-tests) instead of
21577 $(objpfx)run-conformtest.out.
21578 (generated): Add $(conformtest-header-list-base). If
21579 [$(fast-check) && !$(cross-compiling)], add
21580 $(conformtest-header-base). Remove previous setting.
21581 ($(conformtest-header-list-tests)): New target.
21582 (test-xfail-run-conformtest): Remove variable.
21583 ($(objpfx)run-conformtest.out): Remove target.
21584 (test-xfail-ISO11/complex.h/conform): New variable.
21585 (test-xfail-ISO11/stdalign.h/conform): Likewise.
21586 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21587 (test-xfail-XPG3/varargs.h/conform): Likewise.
21588 (test-xfail-XPG4/varargs.h/conform): Likewise.
21589 (test-xfail-UNIX98/varargs.h/conform): Likewise.
21590 (test-xfail-XPG4/ndbm.h/conform): Likewise.
21591 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21592 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21593 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21594 (test-xfail-XPG3/fcntl.h/conform): Likewise.
21595 (test-xfail-XPG3/ftw.h/conform): Likewise.
21596 (test-xfail-XPG3/grp.h/conform): Likewise.
21597 (test-xfail-XPG3/langinfo.h/conform): Likewise.
21598 (test-xfail-XPG3/limits.h/conform): Likewise.
21599 (test-xfail-XPG3/pwd.h/conform): Likewise.
21600 (test-xfail-XPG3/search.h/conform): Likewise.
21601 (test-xfail-XPG3/signal.h/conform): Likewise.
21602 (test-xfail-XPG3/stdio.h/conform): Likewise.
21603 (test-xfail-XPG3/stdlib.h/conform): Likewise.
21604 (test-xfail-XPG3/string.h/conform): Likewise.
21605 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21606 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21607 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21608 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21609 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21610 (test-xfail-XPG3/sys/types.h/conform): Likewise.
21611 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21612 (test-xfail-XPG3/termios.h/conform): Likewise.
21613 (test-xfail-XPG3/time.h/conform): Likewise.
21614 (test-xfail-XPG3/unistd.h/conform): Likewise.
21615 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21616 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21617 (test-xfail-XPG4/langinfo.h/conform): Likewise.
21618 (test-xfail-XPG4/netdb.h/conform): Likewise.
21619 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21620 (test-xfail-XPG4/signal.h/conform): Likewise.
21621 (test-xfail-XPG4/stdio.h/conform): Likewise.
21622 (test-xfail-XPG4/stdlib.h/conform): Likewise.
21623 (test-xfail-XPG4/stropts.h/conform): Likewise.
21624 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21625 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21626 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21627 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21628 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21629 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21630 (test-xfail-XPG4/sys/time.h/conform): Likewise.
21631 (test-xfail-XPG4/sys/types.h/conform): Likewise.
21632 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21633 (test-xfail-XPG4/termios.h/conform): Likewise.
21634 (test-xfail-XPG4/ucontext.h/conform): Likewise.
21635 (test-xfail-XPG4/unistd.h/conform): Likewise.
21636 (test-xfail-XPG4/utmpx.h/conform): Likewise.
21637 (test-xfail-POSIX/sched.h/conform): Likewise.
21638 (test-xfail-POSIX/signal.h/conform): Likewise.
21639 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21640 (test-xfail-POSIX/tar.h/conform): Likewise.
21641 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21642 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21643 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21644 (test-xfail-UNIX98/netdb.h/conform): Likewise.
21645 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21646 (test-xfail-UNIX98/sched.h/conform): Likewise.
21647 (test-xfail-UNIX98/signal.h/conform): Likewise.
21648 (test-xfail-UNIX98/stdio.h/conform): Likewise.
21649 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21650 (test-xfail-UNIX98/stropts.h/conform): Likewise.
21651 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21652 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21653 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21654 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21655 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21656 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21657 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21658 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21659 (test-xfail-UNIX98/unistd.h/conform): Likewise.
21660 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21661 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21662 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21663 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21664 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21665 (test-xfail-XOPEN2K/math.h/conform): Likewise.
21666 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21667 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21668 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21669 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21670 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21671 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21672 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21673 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21674 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21675 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21676 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21677 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21678 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21679 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21680 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21681 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21682 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21683 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21684 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21685 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21686 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21687 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21688 (test-xfail-POSIX2008/signal.h/conform): Likewise.
21689 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21690 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21691 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21692 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21693 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21694 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21695 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21696 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21697 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21698 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21699 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21700 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21701 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21702 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21703 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21704 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21705 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21706 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21707 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21708 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21709 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21710 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21711 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21712 (conformtest-cc-flags): Likewise.
21713 ($(conformtest-header-tests): New target.
21714 * conform/check-header-lists.sh: New file.
21715 * conform/run-conformtest.sh: Remove.
21717 * conform/conformtest.pl: Allow ' and \ in values given for
21719 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21721 [POSIX] (sys/types.h): Likewise.
21722 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21724 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21726 * conform/data/signal.h-data (SIGIO): Remove expectation.
21727 [XPG3] (SIGBUS): Do not expect.
21728 [POSIX || XPG3] (SIGPOLL): Likewise.
21729 [POSIX || XPG3] (SIGPROF): Likewise.
21730 [POSIX || XPG3] (SIGSYS): Likewise.
21731 [XPG3] (SIGTRAP): Likewise.
21732 [POSIX || XPG3] (SIGURG): Likewise.
21733 [POSIX || XPG3] (SIGVTALRM): Likewise.
21734 [POSIX || XPG3] (SIGXCPU): Likewise.
21735 [POSIX || XPG3] (SIGXFSZ): Likewise.
21736 [POSIX] (SA_SIGINFO): Expect.
21737 [XPG3] (siginfo_t): Do not expect type or contents.
21738 [POSIX] (si_pid): Do not expect element.
21739 [POSIX] (si_uid): Likewise.
21740 [POSIX] (si_addr): Likewise.
21741 [POSIX] (si_status): Likewise.
21742 [POSIX] (si_band): Likewise.
21743 [XPG4] (si_value): Likewise.
21744 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21745 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21746 [POSIX || XPG3] (ILL_ILLADR): Likewise.
21747 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21748 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21749 [POSIX || XPG3] (ILL_PRVREG): Likewise.
21750 [POSIX || XPG3] (ILL_COPROC): Likewise.
21751 [POSIX || XPG3] (ILL_BADSTK): Likewise.
21752 [POSIX || XPG3] (FPE_INTDIV): Likewise.
21753 [POSIX || XPG3] (FPE_INTOVF): Likewise.
21754 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21755 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21756 [POSIX || XPG3] (FPE_FLTUND): Likewise.
21757 [POSIX || XPG3] (FPE_FLTRES): Likewise.
21758 [POSIX || XPG3] (FPE_FLTINV): Likewise.
21759 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21760 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21761 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21762 [POSIX || XPG3] (BUS_ADRALN): Likewise.
21763 [POSIX || XPG3] (BUS_ADRERR): Likewise.
21764 [POSIX || XPG3] (BUS_OBJERR): Likewise.
21765 [POSIX || XPG3] (CLD_EXITED): Likewise.
21766 [POSIX || XPG3] (CLD_KILLED): Likewise.
21767 [POSIX || XPG3] (CLD_DUMPED): Likewise.
21768 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21769 [POSIX || XPG3] (CLD_STOPPED): Likewise.
21770 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21771 [POSIX || XPG3] (POLL_IN): Likewise.
21772 [POSIX || XPG3] (POLL_OUT): Likewise.
21773 [POSIX || XPG3] (POLL_MSG): Likewise.
21774 [POSIX || XPG3] (POLL_ERR): Likewise.
21775 [POSIX || XPG3] (POLL_PRI): Likewise.
21776 [POSIX || XPG3] (POLL_HUP): Likewise.
21777 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21778 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21779 (SIG*): Do not allow.
21780 [XPG3] (si_*): Likewise.
21781 [XPG3] (SI_*): Likewise.
21782 [XPG3 || XPG4] (sigev_*): Likewise.
21783 [XPG3 || XPG4] (SIGEV_*): Likewise.
21784 [XPG3 || XPG4] (sival_*): Likewise.
21785 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21786 [POSIX || XPG3] (BUS_*): Likewise.
21787 [POSIX || XPG3] (CLD_*): Likewise.
21788 [POSIX || XPG3] (FPE_*): Likewise.
21789 [POSIX || XPG3] (ILL_*): Likewise.
21790 [POSIX || XPG3] (POLL_*): Likewise.
21791 [POSIX || XPG3] (SEGV_*): Likewise.
21792 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21793 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21794 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21795 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21796 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21797 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21798 Specify type and value.
21799 (TVERSLEN): Likewise.
21800 (REGTYPE): Likewise.
21801 (AREGTYPE): Likewise.
21802 (LNKTYPE): Likewise.
21803 (SYMTYPE): Likewise.
21804 (CHRTYPE): Likewise.
21805 (BLKTYPE): Likewise.
21806 (DIRTYPE): Likewise.
21807 (FIFOTYPE): Likewise.
21808 (CONTTYPE): Likewise.
21812 (TUREAD): Likewise.
21813 (TUWRITE): Likewise.
21814 (TUEXEC): Likewise.
21815 (TGREAD): Likewise.
21816 (TGWRITE): Likewise.
21817 (TGEXEC): Likewise.
21818 (TOREAD): Likewise.
21819 (TOWRITE): Likewise.
21820 (TOEXEC): Likewise.
21821 [POSIX] (TSVTX): Expect constant.
21823 2014-03-06 Joseph Myers <joseph@codesourcery.com>
21825 * Makefile (tests): Change dependencies to ....
21826 (tests-special): ... additions to this variable.
21827 (tests): Depend on $(tests-special).
21828 * Makerules (check-abi-list): New variable.
21829 (check-abi): Depend on $(check-abi-list).
21830 [$(subdir) = elf] (tests-special): Add
21831 $(objpfx)check-abi-libc.out.
21832 [$(build-shared) = yes && subdir] (tests-special): Add
21834 [$(build-shared) = yes && subdir] (tests): Do not depend on
21836 * Rules (tests): Depend on $(tests-special).
21837 (xtests): Depend on $(xtests-special).
21838 * catgets/Makefile (tests): Change dependencies to ....
21839 (tests-special): ... additions to this variable.
21840 * conform/Makefile (tests): Change dependencies to ....
21841 (tests-special): ... additions to this variable.
21842 * elf/Makefile (tests): Change dependencies to ....
21843 (tests-special): ... additions to this variable.
21844 * grp/Makefile (tests): Change dependencies to ....
21845 (tests-special): ... additions to this variable.
21846 * iconv/Makefile (xtests): Change dependencies to ....
21847 (xtests-special): ... additions to this variable.
21848 * iconvdata/Makefile (tests): Change dependencies to ....
21849 (tests-special): ... additions to this variable.
21850 * intl/Makefile (tests): Change dependencies to ....
21851 (tests-special): ... additions to this variable. Also add
21852 $(objpfx)tst-gettext.out.
21853 * io/Makefile (tests): Change dependencies to ....
21854 (tests-special): ... additions to this variable.
21855 * libio/Makefile (tests): Change dependencies to ....
21856 (tests-special): ... additions to this variable.
21857 * malloc/Makefile (tests): Change dependencies to ....
21858 (tests-special): ... additions to this variable.
21859 * misc/Makefile (tests): Change dependencies to ....
21860 (tests-special): ... additions to this variable.
21861 * nptl/Makefile (tests): Change dependencies to ....
21862 (tests-special): ... additions to this variable.
21863 * nptl_db/Makefile (tests): Change dependencies to ....
21864 (tests-special): ... additions to this variable.
21865 * posix/Makefile (tests): Change dependencies to ....
21866 (tests-special): ... additions to this variable.
21867 (xtests): Change dependencies to ....
21868 (xtests-special): ... additions to this variable.
21869 * resolv/Makefile (tests): Change dependencies to ....
21870 (tests-special): ... additions to this variable.
21871 (xtests): Change dependencies to ....
21872 (xtests-special): ... additions to this variable.
21873 * stdio-common/Makefile (tests): Change dependencies to ....
21874 (tests-special): ... additions to this variable.
21875 (do-tst-unbputc): Remove target.
21876 (do-tst-printf): Likewise.
21877 * stdlib/Makefile (tests): Change dependencies to ....
21878 (tests-special): ... additions to this variable.
21879 * string/Makefile (tests): Change dependencies to ....
21880 (tests-special): ... additions to this variable.
21881 * sysdeps/x86/Makefile (tests): Change dependencies to ....
21882 (tests-special): ... additions to this variable.
21884 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21886 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21888 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21889 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21891 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21892 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21893 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21894 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21895 * conform/data/libgen.h-data [XPG3]: Likewise.
21896 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21897 * conform/data/ndbm.h-data [XPG3]: Likewise.
21898 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21899 * conform/data/netdb.h-data [XPG3]: Likewise.
21900 * conform/data/netinet/in.h-data [XPG3]: Likewise.
21901 * conform/data/poll.h-data [XPG3]: Likewise.
21902 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21903 * conform/data/strings.h-data [XPG3]: Likewise.
21904 * conform/data/stropts.h-data [XPG3]: Likewise.
21905 * conform/data/sys/mman.h-data [XPG3]: Likewise.
21906 * conform/data/sys/resource.h-data [XPG3]: Likewise.
21907 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21909 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21910 * conform/data/sys/time.h-data [XPG3]: Likewise.
21911 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21912 * conform/data/sys/uio.h-data [XPG3]: Likewise.
21913 * conform/data/sys/un.h-data [XPG3]: Likewise.
21914 * conform/data/syslog.h-data [XPG3]: Likewise.
21915 * conform/data/ucontext.h-data [XPG3]: Likewise.
21916 * conform/data/utmpx.h-data [XPG3]: Likewise.
21917 * conform/data/varargs.h-data [UNIX98]: Enable file.
21919 * manual/Makefile (INSTALL_INFO): Remove variable setting.
21921 * math/libm-test.inc (struct test_f_f_data): Move expected results
21922 into structure for each rounding mode.
21923 (struct test_ff_f_data): Likewise.
21924 (struct test_ff_f_data_nexttoward): Likewise.
21925 (struct test_fi_f_data): Likewise.
21926 (struct test_fl_f_data): Likewise.
21927 (struct test_if_f_data): Likewise.
21928 (struct test_fff_f_data): Likewise.
21929 (struct test_c_f_data): Likewise.
21930 (struct test_f_f1_data): Likewise.
21931 (struct test_fF_f1_data): Likewise.
21932 (struct test_ffI_f1_data): Likewise.
21933 (struct test_c_c_data): Likewise.
21934 (struct test_cc_c_data): Likewise.
21935 (struct test_f_i_data): Likewise.
21936 (struct test_ff_i_data): Likewise.
21937 (struct test_f_l_data): Likewise.
21938 (struct test_f_L_data): Likewise.
21939 (struct test_fFF_11_data): Likewise.
21941 (RM_FE_DOWNWARD): Likewise.
21942 (RM_FE_TONEAREST): Likewise.
21943 (RM_FE_TOWARDZERO): Likewise.
21944 (RM_FE_UPWARD): Likewise.
21945 (RUN_TEST_LOOP_f_f): Update references to expected results.
21946 (RUN_TEST_LOOP_2_f): Likewise.
21947 (RUN_TEST_LOOP_fff_f): Likewise.
21948 (RUN_TEST_LOOP_c_f): Likewise.
21949 (RUN_TEST_LOOP_f_f1): Likewise.
21950 (RUN_TEST_LOOP_fF_f1): Likewise.
21951 (RUN_TEST_LOOP_fI_f1): Likewise.
21952 (RUN_TEST_LOOP_ffI_f1): Likewise.
21953 (RUN_TEST_LOOP_c_c): Likewise.
21954 (RUN_TEST_LOOP_cc_c): Likewise.
21955 (RUN_TEST_LOOP_f_i): Likewise.
21956 (RUN_TEST_LOOP_f_i_tg): Likewise.
21957 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21958 (RUN_TEST_LOOP_f_b): Likewise.
21959 (RUN_TEST_LOOP_f_b_tg): Likewise.
21960 (RUN_TEST_LOOP_f_l): Likewise.
21961 (RUN_TEST_LOOP_f_L): Likewise.
21962 (RUN_TEST_LOOP_fFF_11): Likewise.
21963 * math/gen-libm-test.pl (parse_args): Output four copies of
21964 expected results for each test.
21966 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21967 (__ASSUME_UTIMES): Remove.
21968 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21969 (__ASSUME_UTIMES): Likewise.
21971 * math/gen-auto-libm-tests.c: Update comment on output format.
21972 (output_for_one_input_case): Generate before-rounding and
21973 after-rounding information as conditions on output flags not
21974 floating-point format.
21975 * math/auto-libm-test-out: Regenerated.
21976 * math/gen-libm-test.pl (cond_value): New function.
21977 (or_cond_value): Use cond_value.
21978 (generate_testfile): Handle conditional exceptions.
21980 2014-03-05 Joseph Myers <joseph@codesourcery.com>
21982 * math/libm-test.inc (max_valid_error): New variable.
21983 (init_max_error): Take new argument specifying whether function
21984 results are exactly determined. Set max_valid_error and bound
21985 other variables for errors based on this argument.
21986 (set_max_error): Do not record results above max_valid_error.
21987 (check_float_internal): Only accept errors of up to 0.5ulps if
21988 also at most max_valid_error.
21989 (START): Take new argument EXACT and pass it to init_max_error.
21990 (acos_test): Update call to START.
21991 (acos_test_tonearest): Likewise.
21992 (acos_test_towardzero): Likewise.
21993 (acos_test_downward): Likewise.
21994 (acos_test_upward): Likewise.
21995 (acosh_test): Likewise.
21996 (asin_test): Likewise.
21997 (asin_test_tonearest): Likewise.
21998 (asin_test_towardzero): Likewise.
21999 (asin_test_downward): Likewise.
22000 (asin_test_upward): Likewise.
22001 (asinh_test): Likewise.
22002 (atan_test): Likewise.
22003 (atanh_test): Likewise.
22004 (atan2_test): Likewise.
22005 (cabs_test): Likewise.
22006 (cacos_test): Likewise.
22007 (cacosh_test): Likewise.
22008 (carg_test): Likewise.
22009 (casin_test): Likewise.
22010 (casinh_test): Likewise.
22011 (catan_test): Likewise.
22012 (catanh_test): Likewise.
22013 (cbrt_test): Likewise.
22014 (ccos_test): Likewise.
22015 (ccosh_test): Likewise.
22016 (ceil_test): Likewise.
22017 (cexp_test): Likewise.
22018 (cimag_test): Likewise.
22019 (clog_test): Likewise.
22020 (clog10_test): Likewise.
22021 (conj_test): Likewise.
22022 (copysign_test): Likewise.
22023 (cos_test): Likewise.
22024 (cos_test_tonearest): Likewise.
22025 (cos_test_towardzero): Likewise.
22026 (cos_test_downward): Likewise.
22027 (cos_test_upward): Likewise.
22028 (cosh_test): Likewise.
22029 (cosh_test_tonearest): Likewise.
22030 (cosh_test_towardzero): Likewise.
22031 (cosh_test_downward): Likewise.
22032 (cosh_test_upward): Likewise.
22033 (cpow_test): Likewise.
22034 (cproj_test): Likewise.
22035 (creal_test): Likewise.
22036 (csin_test): Likewise.
22037 (csinh_test): Likewise.
22038 (csqrt_test): Likewise.
22039 (ctan_test): Likewise.
22040 (ctan_test_tonearest): Likewise.
22041 (ctan_test_towardzero): Likewise.
22042 (ctan_test_downward): Likewise.
22043 (ctan_test_upward): Likewise.
22044 (ctanh_test): Likewise.
22045 (ctanh_test_tonearest): Likewise.
22046 (ctanh_test_towardzero): Likewise.
22047 (ctanh_test_downward): Likewise.
22048 (ctanh_test_upward): Likewise.
22049 (erf_test): Likewise.
22050 (erfc_test): Likewise.
22051 (exp_test): Likewise.
22052 (exp_test_tonearest): Likewise.
22053 (exp_test_towardzero): Likewise.
22054 (exp_test_downward): Likewise.
22055 (exp_test_upward): Likewise.
22056 (exp10_test): Likewise.
22057 (exp10_test_tonearest): Likewise.
22058 (exp10_test_towardzero): Likewise.
22059 (exp10_test_downward): Likewise.
22060 (exp10_test_upward): Likewise.
22061 (pow10_test): Likewise.
22062 (exp2_test): Likewise.
22063 (expm1_test): Likewise.
22064 (expm1_test_tonearest): Likewise.
22065 (expm1_test_towardzero): Likewise.
22066 (expm1_test_downward): Likewise.
22067 (expm1_test_upward): Likewise.
22068 (fabs_test): Likewise.
22069 (fdim_test): Likewise.
22070 (floor_test): Likewise.
22071 (fma_test): Likewise.
22072 (fma_test_towardzero): Likewise.
22073 (fma_test_downward): Likewise.
22074 (fma_test_upward): Likewise.
22075 (fmax_test): Likewise.
22076 (fmin_test): Likewise.
22077 (fmod_test): Likewise.
22078 (fpclassify_test): Likewise.
22079 (frexp_test): Likewise.
22080 (hypot_test): Likewise.
22081 (ilogb_test): Likewise.
22082 (isfinite_test): Likewise.
22083 (finite_test): Likewise.
22084 (isgreater_test): Likewise.
22085 (isgreaterequal_test): Likewise.
22086 (isinf_test): Likewise.
22087 (isless_test): Likewise.
22088 (islessequal_test): Likewise.
22089 (islessgreater_test): Likewise.
22090 (isnan_test): Likewise.
22091 (isnormal_test): Likewise.
22092 (issignaling_test): Likewise.
22093 (isunordered_test): Likewise.
22094 (j0_test): Likewise.
22095 (j1_test): Likewise.
22096 (jn_test): Likewise.
22097 (ldexp_test): Likewise.
22098 (lgamma_test): Likewise.
22099 (gamma_test): Likewise.
22100 (lrint_test): Likewise.
22101 (lrint_test_tonearest): Likewise.
22102 (lrint_test_towardzero): Likewise.
22103 (lrint_test_downward): Likewise.
22104 (lrint_test_upward): Likewise.
22105 (llrint_test): Likewise.
22106 (llrint_test_tonearest): Likewise.
22107 (llrint_test_towardzero): Likewise.
22108 (llrint_test_downward): Likewise.
22109 (llrint_test_upward): Likewise.
22110 (log_test): Likewise.
22111 (log10_test): Likewise.
22112 (log1p_test): Likewise.
22113 (log2_test): Likewise.
22114 (logb_test): Likewise.
22115 (logb_test_downward): Likewise.
22116 (lround_test): Likewise.
22117 (llround_test): Likewise.
22118 (modf_test): Likewise.
22119 (nearbyint_test): Likewise.
22120 (nextafter_test): Likewise.
22121 (nexttoward_test): Likewise.
22122 (pow_test): Likewise.
22123 (pow_test_tonearest): Likewise.
22124 (pow_test_towardzero): Likewise.
22125 (pow_test_downward): Likewise.
22126 (pow_test_upward): Likewise.
22127 (remainder_test): Likewise.
22128 (drem_test): Likewise.
22129 (remainder_test_tonearest): Likewise.
22130 (drem_test_tonearest): Likewise.
22131 (remainder_test_towardzero): Likewise.
22132 (drem_test_towardzero): Likewise.
22133 (remainder_test_downward): Likewise.
22134 (drem_test_downward): Likewise.
22135 (remainder_test_upward): Likewise.
22136 (drem_test_upward): Likewise.
22137 (remquo_test): Likewise.
22138 (rint_test): Likewise.
22139 (rint_test_tonearest): Likewise.
22140 (rint_test_towardzero): Likewise.
22141 (rint_test_downward): Likewise.
22142 (rint_test_upward): Likewise.
22143 (round_test): Likewise.
22144 (scalb_test): Likewise.
22145 (scalbn_test): Likewise.
22146 (scalbln_test): Likewise.
22147 (signbit_test): Likewise.
22148 (sin_test): Likewise.
22149 (sin_test_tonearest): Likewise.
22150 (sin_test_towardzero): Likewise.
22151 (sin_test_downward): Likewise.
22152 (sin_test_upward): Likewise.
22153 (sincos_test): Likewise.
22154 (sinh_test): Likewise.
22155 (sinh_test_tonearest): Likewise.
22156 (sinh_test_towardzero): Likewise.
22157 (sinh_test_downward): Likewise.
22158 (sinh_test_upward): Likewise.
22159 (sqrt_test): Likewise.
22160 (sqrt_test_tonearest): Likewise.
22161 (sqrt_test_towardzero): Likewise.
22162 (sqrt_test_downward): Likewise.
22163 (sqrt_test_upward): Likewise.
22164 (tan_test): Likewise.
22165 (tan_test_tonearest): Likewise.
22166 (tan_test_towardzero): Likewise.
22167 (tan_test_downward): Likewise.
22168 (tan_test_upward): Likewise.
22169 (tanh_test): Likewise.
22170 (tgamma_test): Likewise.
22171 (trunc_test): Likewise.
22172 (y0_test): Likewise.
22173 (y1_test): Likewise.
22174 (yn_test): Likewise.
22175 (significand_test): Likewise.
22177 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22178 individual tests in comment.
22179 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22180 (prev_max_error): New variable.
22181 (prev_real_max_error): Likewise.
22182 (prev_imag_max_error): Likewise.
22183 (compare_ulp_data): Don't refer to test names in comment.
22184 (find_test_ulps): Remove function.
22185 (find_function_ulps): Likewise.
22186 (find_complex_function_ulps): Likewise.
22187 (init_max_error): Take function name as argument. Look up ulps
22189 (print_ulps): Remove function.
22190 (print_max_error): Use prev_max_error instead of calling
22191 find_function_ulps.
22192 (print_complex_max_error): Use prev_real_max_error and
22193 prev_imag_max_error instead of calling find_complex_function_ulps.
22194 (check_float_internal): Take max_ulp parameter instead of calling
22195 find_test_ulps. Don't call print_ulps.
22196 (check_float): Update call to check_float_internal.
22197 (check_complex): Update calls to check_float_internal.
22198 (START): Pass argument to init_max_error.
22199 * math/gen-libm-test.pl (%results): Don't include "kind"
22201 (parse_ulps): Don't handle ulps of individual tests.
22202 (print_ulps_file): Likewise.
22203 (output_ulps): Likewise.
22204 * math/README.libm-test: Update.
22205 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22207 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22208 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22209 * sysdeps/arm/libm-test-ulps: Likewise.
22210 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22211 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22212 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22213 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22214 * sysdeps/microblaze/libm-test-ulps: Likewise.
22215 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22216 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22217 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22218 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22219 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22220 * sysdeps/sh/libm-test-ulps: Likewise.
22221 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22222 * sysdeps/tile/libm-test-ulps: Likewise.
22223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22225 2014-03-04 Joseph Myers <joseph@codesourcery.com>
22227 * math/libm-test.inc (print_complex_max_error): Check separately
22228 whether real and imaginary errors are within allowed range and
22229 pass 0 to print_complex_function_ulps instead of value within
22232 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22234 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22236 (get_handles_fopen): Likewise.
22237 (do_write_test): Likewise.
22239 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22241 * libio/fileops.c (do_ftell): Use cached offset when
22243 * libio/iofwide.c (do_ftell_wide): Likewise.
22244 * libio/iofdopen.c (_IO_new_fdopen): Don't use
22246 * libio/wfileops.c (_IO_fwide): Don't cache offset.
22249 * libio/libioP.h (get_file_offset): New function.
22250 * libio/fileops.c (get_file_offset): Likewise.
22251 (do_ftell): Likewise.
22252 (_IO_new_file_seekoff): Split out ftell logic.
22253 * libio/wfileops.c (do_ftell_wide): Likewise.
22254 (_IO_wfile_seekoff): Split out ftell logic.
22255 * libio/tst-ftell-active-handler.c: New test case.
22256 * libio/Makefile (tests): Add it.
22258 2014-03-03 Roland McGrath <roland@hack.frob.com>
22260 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22261 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22263 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22266 * nscd/connections.c (nscd_init): Call do_exit.
22267 (start_threads): Call do_exit and notify_parent.
22268 (begin_drop_privileges): Call do_exit.
22269 (finish_drop_privileges): Likewise.
22270 * nscd/selinux.c (preserve_capabilities): Likewise.
22271 (install_real_capabilities): Likewise.
22272 (nscd_selinux_enabled): Likewise.
22273 (avc_create_thread): Likewise.
22274 (avc_alloc_lock): Likewise.
22275 (nscd_avc_init): Likewise.
22276 * nscd/nscd.c (parent_fd): New static variable.
22277 (main): Create a pipe between parent and child processes.
22278 Skip closing parent_fd.
22279 (monitor_child): New function.
22280 (do_exit): Likewise.
22281 (notify_parent): Likewise.
22282 * nscd/nscd.h (notify_parent): Likewise.
22283 (do_exit): Likewise.
22285 2014-03-03 Carlos O'Donell <carlos@redhat.com>
22287 * malloc/malloc.c (__libc_calloc): Revert last change.
22289 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22293 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22295 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22299 (__libc_ifunc_impl_list): Likewise.
22300 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22301 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22302 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22303 * string/strrchr.c: Define STRRCHR.
22305 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
22307 * benchtest/bench-strtok.c (simple_strtok): Delete.
22308 (strtok_string): Use as benchmark.
22309 * string/strtok (STRTOK): New macro.
22311 2014-02-28 Carlos O'Donell <carlos@redhat.com>
22313 * manual/threads.texi: Add header and standard comments to all
22316 * elf/dl-lookup.c (check_match): New function.
22317 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22318 (do_lookup_x): Remove nested function check_match. Use non-nested
22319 function check_match.
22321 2014-02-28 Roland McGrath <roland@hack.frob.com>
22323 * csu/Makefile (generated, before-compile): Use += rather than =.
22324 * catgets/Makefile (generated, generated-dirs): Likewise.
22325 * debug/Makefile (generated): Likewise.
22326 * dlfcn/Makefile (generated): Likewise.
22327 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22328 * iconvdata/Makefile (before-compile, generated): Likewise.
22329 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22330 * libio/Makefile (generated): Likewise.
22331 * malloc/Makefile (generated): Likewise.
22332 * manual/Makefile (generated, generated-dirs): Likewise.
22333 * misc/Makefile (generated): Likewise.
22334 * posix/Makefile (generated): Likewise.
22335 * resolv/Makefile (generated): Likewise.
22336 * sunrpc/Makefile (generated, generated-dirs): Likewise.
22337 * timezone/Makefile (generated, generated-dirs): Likewise.
22339 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22341 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22344 power8 implementation.
22345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22346 file: POWER8 llround ifunc implementation.
22347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22348 (__lllround): Add POWER8 implementation.
22349 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22350 POWER8 llround implementation.
22352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22353 power8 implementation.
22354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22355 file: POWER8 llrint ifunc implementation.
22356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22357 Add POWER8 implementation.
22358 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22359 POWER8 llrint implementation.
22361 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22362 power8 implementation.
22363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22364 file: POWER8 finite ifunc implementation.
22365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22366 Add POWER8 implementation.
22367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22369 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22370 POWER8 finite implementation.
22371 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22373 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22374 power8 implementation.
22375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22376 file: POWER8 isinf ifunc implementation.
22377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22378 POWER8 implementation.
22379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22381 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22382 isinf implementation.
22383 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22385 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22386 (INIT_ARCH): Add hwcap2 initialization.
22387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22388 power8 implementation.
22389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22390 file: POWER8 isnan ifunc implementation.
22391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22392 POWER8 implementation.
22393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22395 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22396 isnan implementation.
22397 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22399 2014-02-27 Joey Ye <joey.ye@arm.com>
22401 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22402 (_FP_NANFRAC_Q): Set to zero.
22404 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22407 * math/auto-libm-test-in: New test inputs.
22408 * math/auto-libm-test-out: Regenerate.
22409 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22412 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22414 2014-02-27 Joseph Myers <joseph@codesourcery.com>
22416 * scripts/evaluate-test.sh: Take new argument indicating whether
22417 failure is expected.
22418 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22419 indicating whether failure is expected.
22420 * conform/Makefile (test-xfail-run-conformtest): New variable.
22421 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22423 * posix/Makefile (test-xfail-annexc): New variable.
22424 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22426 2014-02-26 Joseph Myers <joseph@codesourcery.com>
22428 * argp/Makefile: Include Makeconfig immediately after defining
22430 * assert/Makefile: Likewise.
22431 * benchtests/Makefile: Likewise.
22432 * catgets/Makefile: Likewise.
22433 * conform/Makefile: Likewise.
22434 * crypt/Makefile: Likewise.
22435 * csu/Makefile: Likewise.
22436 (all): Remove target.
22437 * ctype/Makefile: Include Makeconfig immediately after defining
22439 * debug/Makefile: Likewise.
22440 * dirent/Makefile: Likewise.
22441 * dlfcn/Makefile: Likewise.
22442 * gmon/Makefile: Likewise.
22443 * gnulib/Makefile: Likewise.
22444 * grp/Makefile: Likewise.
22445 * gshadow/Makefile: Likewise.
22446 * hesiod/Makefile: Likewise.
22447 * hurd/Makefile: Likewise.
22448 (all): Remove target.
22449 * iconvdata/Makefile: Include Makeconfig immediately after
22451 * inet/Makefile: Likewise.
22452 * intl/Makefile: Likewise.
22453 * io/Makefile: Likewise.
22454 * libio/Makefile: Likewise.
22455 (all): Remove target.
22456 * locale/Makefile: Include Makeconfig immediately after defining
22458 * login/Makefile: Likewise.
22459 * mach/Makefile: Likewise.
22460 (all): Remove target.
22461 * malloc/Makefile: Include Makeconfig immediately after defining
22463 (all): Remove target.
22464 * manual/Makefile: Include Makeconfig immediately after defining
22466 * math/Makefile: Likewise.
22467 * misc/Makefile: Likewise.
22468 * nis/Makefile: Likewise.
22469 * nss/Makefile: Likewise.
22470 * po/Makefile: Likewise.
22471 (all): Remove target.
22472 * posix/Makefile: Include Makeconfig immediately after defining
22474 * pwd/Makefile: Likewise.
22475 * resolv/Makefile: Likewise.
22476 * resource/Makefile: Likewise.
22477 * rt/Makefile: Likewise.
22478 * setjmp/Makefile: Likewise.
22479 * shadow/Makefile: Likewise.
22480 * signal/Makefile: Likewise.
22481 * socket/Makefile: Likewise.
22482 * soft-fp/Makefile: Likewise.
22483 * stdio-common/Makefile: Likewise.
22484 * stdlib/Makefile: Likewise.
22485 * streams/Makefile: Likewise.
22486 * string/Makefile: Likewise.
22487 * sunrpc/Makefile: Likewise.
22488 (all): Remove target.
22489 * sysvipc/Makefile: Include Makeconfig immediately after defining
22491 * termios/Makefile: Likewise.
22492 * time/Makefile: Likewise.
22493 * timezone/Makefile: Likewise.
22494 (all): Remove target.
22495 * wcsmbs/Makefile: Include Makeconfig immediately after defining
22497 * wctype/Makefile: Likewise.
22499 2014-02-26 Steve Ellcey <sellcey@mips.com>
22501 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22502 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22503 (libc_feholdexcept_setround_mips): Ditto.
22504 (libc_feholdsetround): New.
22505 (libc_feholdsetroundf): New.
22506 (libc_feholdsetroundl): New.
22507 (libc_feupdateenv_test_mips): New.
22508 (libc_feupdateenv_test): New.
22509 (libc_feupdateenv_testf): New.
22510 (libc_feupdateenv_testl): New.
22511 (libc_feresetround): New.
22512 (libc_feresetroundf): New.
22513 (libc_feresetroundl): New.
22514 (libc_fetestexcept_mips): New.
22515 (libc_fetestexcept): New.
22516 (libc_fetestexceptf): New.
22517 (libc_fetestexceptl): New.
22518 (HAVE_RM_CTX): New.
22519 (libc_feholdexcept_setround_mips_ctx): New.
22520 (libc_feholdexcept_setround_ctx): New.
22521 (libc_feholdexcept_setroundf_ctx): New.
22522 (libc_feholdexcept_setroundl_ctx): New.
22523 (libc_fesetenv_mips_ctx): New.
22524 (libc_fesetenv_ctx): New.
22525 (libc_fesetenv_ctxf): New.
22526 (libc_fesetenv_ctxl): New.
22527 (libc_feupdateenv_mips_ctx): New.
22528 (libc_feupdateenv_ctx): New.
22529 (libc_feupdateenvf_ctx): New.
22530 (libc_feupdateenvl_ctx): New.
22531 (libc_feholdsetround_mips_ctx): New.
22532 (libc_feholdsetround_ctx): New.
22533 (libc_feholdsetroundf_ctx): New.
22534 (libc_feholdsetroundl_ctx): New.
22535 (libc_feresetround_mips_ctx): New.
22536 (libc_feresetround_ctx): New.
22537 (libc_feresetroundf_ctx): New.
22538 (libc_feresetroundl_ctx): New.
22540 2014-02-26 Carlos O'Donell <carlos@redhat.com>
22542 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22544 * manual/ipc.texi: New file.
22545 * manual/Makefile (chapters): Add ipc.
22546 * manual/job.texi: Add "Inter-Process Communication" to next.
22547 * manual/process.texi: Add "Inter-Process Communication" to prev.
22549 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22553 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
22555 * malloc/malloc.c (__libc_calloc): Simplify implementation.
22557 * manual/arith.texi: Fix spaces after sentences.
22558 * manual/charset.texi: Likewise.
22559 * manual/errno.texi: Likewise.
22560 * manual/install.texi: Likewise.
22561 * manual/llio.texi: Likewise.
22562 * manual/locale.texi: Likewise.
22563 * manual/maint.texi: Likewise.
22564 * manual/math.texi: Likewise.
22565 * manual/memory.texi: Likewise.
22566 * manual/message.texi: Likewise.
22567 * manual/probes.texi: Likewise.
22568 * manual/resource.texi: Likewise.
22569 * manual/signal.texi: Likewise.
22570 * manual/socket.texi: Likewise.
22571 * manual/stdio.texi: Likewise.
22572 * manual/string.texi: Likewise.
22573 * manual/time.texi: Likewise.
22574 * manual/users.texi: Likewise.
22576 2014-02-25 Carlos O'Donell <carlos@redhat.com>
22579 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22580 _DEFAULT_SOURCE is defined.
22582 2014-02-25 Ulrich Drepper <drepper@gmail.com>
22583 Carlos O'Donell <carlos@redhat.com>
22586 * elf/dl-tls.c (_dl_count_modids): New function.
22587 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22588 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22589 audit library and increment generation counter.
22590 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22591 * elf/tst-audit9.c: New file.
22592 * elf/tst-auditmod9a.c: New file.
22593 * elf/tst-auditmod9b.c: New file.
22594 * elf/Makefile: Add rules to build and run tst-audit9.
22596 2014-02-25 Florian Weimer <fweimer@redhat.com>
22599 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22601 2014-02-25 Will Newton <will.newton@linaro.org>
22603 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22604 (__longjmp): Restore sp and lr before restoring callee
22605 saved registers. Add longjmp and longjmp_target
22606 SystemTap probe point.
22607 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22608 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22609 Define to zero to match jmpbuf layout.
22610 * sysdeps/arm/setjmp.S: Include stap-probe.h.
22611 (__sigsetjmp): Save sp and lr before saving callee
22612 saved registers. Add setjmp SystemTap probe point.
22614 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22616 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22618 2014-02-24 Andreas Schwab <schwab@suse.de>
22621 * elf/pldd.c (wait_for_ptrace_stop): New function.
22622 (main): Call it after attaching.
22624 2014-02-22 Roland McGrath <roland@hack.frob.com>
22626 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22627 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22628 Versions files is now verboten.
22629 * hurd/Versions (libc: GLIBC_2.0):
22630 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22631 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22632 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22633 * mach/Versions: Likewise.
22635 * csu/Versions: Remove unused %include.
22636 * resolv/Versions: Likewise.
22638 2014-02-21 Joseph Myers <joseph@codesourcery.com>
22640 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22641 ($(objpfx)check-local-headers.out): Likewise.
22642 ($(objpfx)begin-end-check.out): Likewise.
22643 * Makerules (check-abi-%.out): Likewise.
22644 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22645 ($(objpfx)test2.cat): Likewise.
22646 ($(objpfx)de/libc.cat): Likewise.
22647 ($(objpfx)test-gencat.out): Likewise.
22648 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22649 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22650 ($(objpfx)noload-mem): Likewise.
22651 ($(objpfx)tst-pathopt.out): Likewise.
22652 ($(objpfx)tst-rtld-load-self.out): Likewise.
22653 ($(objpfx)tst-array1-cmp.out): Likewise.
22654 ($(objpfx)tst-array1-static-cmp.out): Likewise.
22655 ($(objpfx)tst-array2-cmp.out): Likewise.
22656 ($(objpfx)tst-array3-cmp.out): Likewise.
22657 ($(objpfx)tst-array4-cmp.out): Likewise.
22658 ($(objpfx)tst-array5-cmp.out): Likewise.
22659 ($(objpfx)tst-array5-static-cmp.out): Likewise.
22660 ($(objpfx)check-textrel.out): Likewise.
22661 ($(objpfx)check-execstack.out): Likewise.
22662 ($(objpfx)check-localplt.out): Likewise.
22663 ($(objpfx)order2-cmp.out): Likewise.
22664 ($(objpfx)tst-leaks1-mem): Likewise.
22665 ($(objpfx)tst-leaks1-static-mem): Likewise.
22666 ($(objpfx)tst-initorder-cmp.out): Likewise.
22667 ($(objpfx)tst-initorder2-cmp.out): Likewise.
22668 ($(objpfx)tst-unused-dep.out): Likewise.
22669 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22670 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22671 * iconv/Makefile (test-iconvconfig): Likewise.
22672 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22673 ($(objpfx)iconv-test.out): Likewise.
22674 ($(objpfx)tst-tables.out): Likewise.
22675 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22676 ($(objpfx)tst-gettext.out): Likewise.
22677 ($(objpfx)tst-translit.out): Likewise.
22678 ($(objpfx)tst-gettext2.out): Likewise.
22679 ($(objpfx)tst-gettext4.out): Likewise.
22680 ($(objpfx)tst-gettext6.out): Likewise.
22681 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22682 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22683 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22684 ($(objpfx)tst-fopenloc-mem.out): Likewise.
22685 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22686 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22687 * posix/Makefile ($(objpfx)globtest.out): Likewise.
22688 ($(objpfx)wordexp-tst.out): Likewise.
22689 ($(objpfx)annexc.out): Likewise.
22690 ($(objpfx)tst-fnmatch-mem): Likewise.
22691 ($(objpfx)bug-regex2-mem): Likewise.
22692 ($(objpfx)bug-regex14-mem): Likewise.
22693 ($(objpfx)bug-regex21-mem): Likewise.
22694 ($(objpfx)bug-regex31-mem): Likewise.
22695 ($(objpfx)tst-vfork3-mem): Likewise.
22696 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22697 ($(objpfx)tst-pcre-mem): Likewise.
22698 ($(objpfx)tst-boost-mem): Likewise.
22699 ($(objpfx)tst-getconf.out): Likewise.
22700 ($(objpfx)bug-ga2-mem): Likewise.
22701 ($(objpfx)bug-glob2-mem): Likewise.
22702 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22703 ($(objpfx)mtrace-tst-leaks2): Likewise.
22704 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22705 ($(objpfx)tst-printf.out): Likewise.
22706 ($(objpfx)tst-setvbuf1.out): Likewise.
22707 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22708 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22709 ($(objpfx)tst-fmtmsg.out): Likewise.
22710 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22711 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22713 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22714 * bits/sigaction.h [__USE_MISC]: Likewise.
22715 * bits/waitstatus.h: Update #endif comments.
22716 * ctype/ctype.h: Likewise.
22717 * dirent/dirent.h: Likewise.
22718 [__USE_MISC]: Remove redundant conditionals.
22719 * grp/grp.h: Update #endif comments.
22720 [__USE_GNU]: Remove redundant conditionals.
22721 [__USE_MISC]: Likewise.
22722 * inet/netinet/in.h [__USE_GNU]: Likewise.
22723 * io/sys/stat.h [__USE_MISC]: Likewise.
22724 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22725 * libio/bits/stdio.h: Update #endif comments.
22726 [__USE_MISC]: Remove redundant conditionals.
22727 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22728 * libio/stdio.h: Update #endif comments.
22729 [__USE_MISC]: Remove redundant conditionals.
22730 * math/bits/math-finite.h [__USE_MISC]: Likewise.
22731 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22732 * math/math.h: Update #else and #endif comments.
22733 [__USE_MISC]: Remove redundant conditionals.
22734 * misc/sys/uio.h: Update #endif comments.
22735 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22736 * posix/glob.h [__USE_MISC]: Likewise.
22737 * posix/sys/types.h: Update #endif comments.
22738 [__USE_MISC]: Remove redundant conditionals.
22739 * posix/sys/wait.h: Update #endif comments.
22740 [__USE_MISC]: Remove redundant conditionals.
22741 * posix/unistd.h: Update #endif comments.
22742 [__USE_MISC]: Remove redundant conditionals.
22743 * pwd/pwd.h [__USE_GNU]: Likewise.
22744 [__USE_MISC]: Likewise.
22745 * resolv/netdb.h [__USE_GNU]: Likewise.
22746 * signal/signal.h: Update #endif comments.
22747 [__USE_MISC]: Remove redundant conditionals.
22748 * stdlib/stdlib.h: Update #else and #endif comments.
22749 [__USE_MISC]: Remove redundant conditionals.
22750 [__USE_GNU]: Likewise.
22751 * string/bits/string2.h [__USE_MISC]: Likewise.
22752 * string/string.h: Update #endif comments.
22753 [__USE_MISC]: Remove redundant conditionals.
22754 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22756 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22757 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22758 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22760 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22762 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22764 [__USE_MISC]: Remove redundant conditionals.
22765 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22766 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22767 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22768 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22769 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22771 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22772 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22774 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22775 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22777 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22779 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22780 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22782 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22784 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22785 * sysdeps/x86/bits/string.h: Update #endif comments.
22786 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22788 * time/sys/time.h: Update #endif comments.
22789 * time/time.h: Likewise.
22790 [__USE_MISC]: Remove redundant conditionals.
22792 2014-02-21 Yury Gribov <y.gribov@samsung.com>
22795 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22797 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
22799 * Versions.def (librt): Add GLIBC_2.17.
22801 2014-02-21 Adam Conrad <adconrad@0c3.net>
22803 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22804 synonym for _SYS_AUXV_H to allow direct inclusion.
22805 * sysdeps/sparc/bits/hwcap.h: Likewise.
22806 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22807 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22808 * sysdeps/sparc/sysdep.h: Likewise.
22810 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22812 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22814 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22816 * benchtests/bench-strrchr.c: Print length instead of position.
22818 2014-02-20 Joseph Myers <joseph@codesourcery.com>
22821 * sysdeps/unix/sysv/linux/kernel-features.h
22822 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22823 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22824 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22825 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22827 [__i386__ || __powerpc__ || __sh__ || __sparc__]
22828 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22829 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22830 (__ASSUME_SENDMMSG): Define instead of using previous
22831 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22832 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22833 (__ASSUME_SENDMMSG_SYSCALL): Define.
22834 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22835 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22837 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22838 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22840 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22841 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22843 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22844 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22845 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22846 [__ASSUME_SENDMMSG]: Change conditionals to
22847 [__ASSUME_SENDMMSG_SOCKETCALL].
22848 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22849 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22851 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22852 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22854 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22855 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22856 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22857 [!__ASSUME_SENDMMSG]: Change conditional to
22858 [!__ASSUME_SENDMMSG_SOCKETCALL].
22859 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22860 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22864 * sysdeps/unix/sysv/linux/kernel-features.h
22865 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22866 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22867 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22868 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22869 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22870 [__i386__ || __sparc__]
22871 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22872 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22873 (__ASSUME_RECVMMSG): Define instead of using previous
22874 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22875 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22876 (__ASSUME_RECVMMSG_SYSCALL): Define.
22877 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22878 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22880 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22881 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22883 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22884 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22886 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22887 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22888 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22889 [__ASSUME_RECVMMSG]: Change condition to
22890 [__ASSUME_RECVMMSG_SOCKETCALL].
22891 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22892 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22894 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22895 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22896 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22898 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22899 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22900 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22901 [!__ASSUME_RECVMMSG]: Change condition to
22902 [!__ASSUME_RECVMMSG_SOCKETCALL].
22903 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22904 (__ASSUME_RECVMMSG_SYSCALL): Define.
22907 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22908 __powerpc__ || __s390__ || __sh__ || __sparc__]
22909 (__ASSUME_SOCKETCALL): Define.
22910 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22911 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22912 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22913 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22914 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22915 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22916 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22917 (__ASSUME_ACCEPT4): Define instead of using previous
22918 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22919 __powerpc__ || __sparc__ || __s390__)] condition.
22920 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22921 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22922 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22923 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22924 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22925 [!__ASSUME_ACCEPT4]: Change condition to
22926 [!__ASSUME_ACCEPT4_SOCKETCALL].
22927 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22928 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
22929 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22930 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22931 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22932 __ASSUME_ACCEPT4_SYSCALL.
22933 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22934 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22935 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22936 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22937 __ASSUME_ACCEPT4_SYSCALL.
22938 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22939 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22940 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22941 [__ASSUME_ACCEPT4]: Change condition to
22942 [__ASSUME_ACCEPT4_SOCKETCALL].
22943 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22944 (__ASSUME_SOCKETCALL): Define.
22945 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22946 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22947 (__ASSUME_SOCKETCALL): Define.
22948 (__ASSUME_ACCEPT4): Remove.
22949 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22951 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22952 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22954 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22955 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22957 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22959 (HWCAP_ARM_LPAE): Likewise.
22960 (HWCAP_ARM_EVTSTRM): Likewise.
22961 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22962 Add vpfd32, lpae and evtstrm.
22963 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22966 2014-02-19 Joseph Myers <joseph@codesourcery.com>
22968 * math/auto-libm-test-in: Add tests of clog10.
22969 * math/auto-libm-test-out: Regenerated.
22970 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22971 * sysdeps/i386/fpu/libm-test-ulps: Update.
22972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22974 2014-02-18 Andreas Schwab <schwab@suse.de>
22977 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22978 Store non-zero if the second buffer was newly allocated.
22979 (send_dg): Likewise.
22980 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22981 to send_vc and send_dg.
22982 (res_nsend): Pass NULL for ansp2_malloced.
22983 * resolv/res_query.c (__libc_res_nquery): Add parameter
22984 answerp2_malloced and pass it down to __libc_res_nsend.
22985 (res_nquery): Pass additional NULL to __libc_res_nquery.
22986 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22987 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
22988 second answer buffer if answerp2_malloced was set.
22989 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22990 (__libc_res_nquerydomain): Add parameter
22991 answerp2_malloced and pass it down to __libc_res_nquery.
22992 (res_nquerydomain): Pass additional NULL to
22993 __libc_res_nquerydomain.
22994 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22995 additional NULL to __libc_res_nsend and __libc_res_nquery.
22996 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22997 additional NULL to __libc_res_nsearch.
22998 (_nss_dns_gethostbyname4_r): Revert last change. Use new
22999 parameter of __libc_res_nsearch to check for separately allocated
23001 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
23003 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23004 additional NULL to __libc_res_nquery.
23005 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23006 __libc_res_nsearch.
23007 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23008 * include/resolv.h: Update prototypes of __libc_res_nquery,
23009 __libc_res_nsearch, __libc_res_nsend.
23011 2014-02-18 Joseph Myers <joseph@codesourcery.com>
23013 * math/auto-libm-test-in: Add tests of fma.
23014 * math/auto-libm-test-out: Regenerated.
23015 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23016 (fma_towardzero_test_data): Likewise.
23017 (fma_downward_test_data): Likewise.
23018 (fma_upward_test_data): Likewise.
23019 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23021 (rounding_modes): Add values for new field.
23022 (func_calc_method): Add value mpfr_fff_f.
23023 (func_calc_desc): Add mpfr_fff_f union field.
23024 (test_function): Add field exact_args.
23025 (FUNC): Add macro argument EXACT_ARGS.
23026 (FUNC_mpfr_f_f): Update call to FUNC.
23027 (FUNC_mpfr_f_f): Likewise.
23028 (FUNC_mpfr_ff_f): Likewise.
23029 (FUNC_mpfr_if_f): Likewise.
23030 (FUNC_mpc_c_f): Likewise.
23031 (FUNC_mpc_c_c): Likewise.
23032 (test_functions): Add fma. Update calls to FUNC.
23033 (handle_input_arg): Add argument exact_args.
23034 (add_test): Update call to handle_input_arg.
23035 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
23036 (output_for_one_input_case): Update call to calc_generic_results.
23037 Recalculate exact zero results in each rounding mode.
23039 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23040 non-negative before setting low bit.
23041 * math/auto-libm-test-in: Mark one asin test possibly having
23042 spurious underflow.
23043 * math/auto-libm-test-out: Regenerated.
23044 * sysdeps/i386/fpu/libm-test-ulps: Update.
23045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23047 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
23049 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23050 * sysdeps/unix/sysv/linux/microblaze: Move directory from
23051 ports/sysdeps/unix/sysv/linux/microblaze.
23052 * README: Add missing listing for microblaze*-*-linux-gnu.
23054 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
23056 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23059 2014-02-16 Mike Frysinger <vapier@gentoo.org>
23061 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23062 * sysdeps/unix/sysv/linux/ia64: Move directory from
23063 ports/sysdeps/unix/sysv/linux/ia64.
23064 * README: Update listing for ia64-*-linux-gnu.
23066 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
23067 Joseph Myers <joseph@codesourcery.com>
23069 * Makeconfig (test-name): New variable.
23070 (evaluate-test): Likewise.
23071 * Makerules (do-test-clean): Remove .test-result files.
23072 (common-mostlyclean): Likewise.
23073 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23074 * scripts/evaluate-test.sh: New file.
23076 2014-02-14 Joseph Myers <joseph@codesourcery.com>
23078 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23079 separate $(objpfx)tst-fopenloc-cmp.out and
23080 $(objpfx)tst-fopenloc-mem.out targets.
23081 (tests): Update dependencies.
23082 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23083 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23084 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23085 (tst-rxspencer-no-utf8-ARGS): New variable.
23086 (tst-rxspencer-no-utf8-ENV): Likewise.
23087 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23088 instead of $(objpfx)tst-rxspencer-mem.
23089 ($(objpfx)tst-rxspencer-mem): Change target to
23090 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
23091 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23092 * posix/tst-rxspencer-no-utf8.c: New file.
23094 * elf/Makefile ($(objpfx)order.out): Remove rule.
23095 [$(run-built-tests) = yes] (tests): Depend on
23096 $(objpfx)order-cmp.out.
23097 ($(objpfx)order-cmp.out): New rule.
23098 [$(run-built-tests) = yes] (tests): Depend on
23099 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23100 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23101 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23102 $(objpfx)tst-array5-static-cmp.out.
23103 ($(objpfx)tst-array1.out): Remove rule.
23104 ($(objpfx)tst-array1-cmp.out): New rule.
23105 ($(objpfx)tst-array1-static.out): Remove rule.
23106 ($(objpfx)tst-array1-static-cmp.out): New rule.
23107 ($(objpfx)tst-array2.out): Remove rule.
23108 ($(objpfx)tst-array2-cmp.out): New rule.
23109 ($(objpfx)tst-array3.out): Remove rule.
23110 ($(objpfx)tst-array3-cmp.out): New rule.
23111 ($(objpfx)tst-array4.out): Remove rule.
23112 ($(objpfx)tst-array4-cmp.out): New rule.
23113 ($(objpfx)tst-array5.out): Remove rule.
23114 ($(objpfx)tst-array5-cmp.out): New rule.
23115 ($(objpfx)tst-array5-static.out): Remove rule.
23116 ($(objpfx)tst-array5-static-cmp.out): New rule.
23117 [$(run-built-tests) = yes] (tests): Depend on
23118 $(objpfx)order2-cmp.out.
23119 ($(objpfx)order2.out): Remove rule.
23120 ($(objpfx)order2-cmp.out): New rule.
23121 ($(objpfx)tst-initorder.out): Remove rule.
23122 [$(run-built-tests) = yes] (tests): Depend on
23123 $(objpfx)tst-initorder-cmp.out.
23124 ($(objpfx)tst-initorder-cmp.out): New rule.
23125 ($(objpfx)tst-initorder2.out): Remove rule.
23126 [$(run-built-tests) = yes] (tests): Depend on
23127 $(objpfx)tst-initorder2-cmp.out.
23128 ($(objpfx)tst-initorder2-cmp.out): New rule.
23129 [$(run-built-tests) = yes] (tests): Depend on
23130 $(objpfx)tst-unused-dep-cmp.out.
23131 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23132 ($(objpfx)tst-unused-dep-cmp.out): New rule.
23133 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23134 on $(objpfx)tst-setvbuf1-cmp.out.
23135 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23136 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23137 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23138 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23139 ($(objpfx)tst-svc.out): Remove rule.
23140 ($(objpfx)tst-svc-cmp.out): New rule.
23142 2014-02-13 Joseph Myers <joseph@codesourcery.com>
23144 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23145 * ctype/ctype.h [__USE_MISC]: Likewise.
23146 * dirent/dirent.h [__USE_MISC]: Likewise.
23147 * grp/grp.h [__USE_MISC]: Likewise.
23148 * io/fcntl.h [__USE_MISC]: Likewise.
23149 * io/sys/stat.h [__USE_MISC]: Likewise.
23150 * libio/stdio.h [__USE_MISC]: Likewise.
23151 * posix/unistd.h [__USE_MISC]: Likewise.
23152 * pwd/pwd.h [__USE_MISC]: Likewise.
23153 * stdlib.h [__USE_MISC]: Likewise.
23154 * string/bits/string2.h [__USE_MISC]: Likewise.
23155 * string/string.h [__USE_MISC]: Likewise.
23156 * time/time.h [__USE_MISC]: Likewise.
23158 2014-02-13 Andreas Schwab <schwab@suse.de>
23161 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23162 second answer buffer if it was separately allocated.
23164 2014-02-12 Joseph Myers <joseph@codesourcery.com>
23166 * sysdeps/mips/math-tests.h: Include <features.h>.
23167 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23168 (ROUNDING_TESTS_long_double): Do not define.
23169 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23170 (EXCEPTION_TESTS_long_double): Likewise.
23171 * sysdeps/mips/mips64/libm-test-ulps: Update.
23173 * include/features.h (__USE_BSD): Remove macro definitions.
23174 (__USE_SVID): Likewise.
23175 (_BSD_SOURCE): Likewise.
23176 (_SVID_SOURCE): Likewise.
23177 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23178 from definition of _DEFAULT_SOURCE.
23179 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23181 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23182 * bits/mman.h [__USE_BSD]: Likewise.
23183 * bits/termios.h [__USE_BSD]: Likewise.
23184 * bits/waitstatus.h [__USE_BSD]: Likewise.
23185 * ctype/ctype.h [__USE_SVID]: Likewise.
23186 * dirent/dirent.h [__USE_BSD]: Likewise.
23187 * grp/grp.h [__USE_SVID]: Likewise.
23188 [__USE_BSD]: Likewise.
23189 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23190 * io/fcntl.h [__USE_BSD]: Likewise.
23191 * io/ftw.h [__USE_BSD]: Likewise.
23192 * io/sys/stat.h [__USE_BSD]: Likewise.
23193 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23194 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23195 * libio/stdio.h [__USE_SVID]: Likewise.
23196 [__USE_BSD]: Likewise.
23197 * math/math.h [__USE_SVID]: Likewise.
23198 [__USE_BSD]: Likewise.
23199 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23200 * misc/bits/syslog.h [__USE_BSD]: Likewise.
23201 * misc/search.h [__USE_SVID]: Likewise.
23202 * misc/sys/mman.h [__USE_BSD]: Likewise.
23203 * misc/sys/syslog.h [__USE_BSD]: Likewise.
23204 * misc/sys/uio.h [__USE_BSD]: Likewise.
23205 * posix/bits/unistd.h [__USE_BSD]: Likewise.
23206 * posix/glob.h [__USE_BSD]: Likewise.
23207 * posix/regex.h [__USE_BSD]: Likewise.
23208 * posix/sys/types.h [__USE_BSD]: Likewise.
23209 [__USE_SVID]: Likewise.
23210 * posix/sys/utsname.h [__USE_SVID]: Likewise.
23211 * posix/sys/wait.h [__USE_BSD]: Likewise.
23212 [__USE_SVID]: Likewise.
23213 * posix/unistd.h [__USE_BSD]: Likewise.
23214 [__USE_SVID]: Likewise.
23215 * pwd/pwd.h [__USE_SVID]: Likewise.
23216 * resolv/netdb.h [__USE_BSD]: Likewise.
23217 * setjmp/setjmp.h [__USE_BSD]: Likewise.
23218 * signal/signal.h [__USE_BSD]: Likewise.
23219 [__USE_SVID]: Likewise.
23220 * socket/sys/socket.h [__USE_BSD]: Likewise.
23221 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23222 * stdlib/stdlib.h [__USE_BSD]: Likewise.
23223 [__USE_SVID]: Likewise.
23224 * string/bits/string2.h [__USE_BSD]: Likewise.
23225 [__USE_SVID]: Likewise.
23226 * string/bits/string3.h [__USE_BSD]: Likewise.
23227 * string/endian.h [__USE_BSD]: Likewise.
23228 * string/string.h [__USE_SVID]: Likewise.
23229 [__USE_BSD]: Likewise.
23230 * string/strings.h [__USE_BSD]: Likewise.
23231 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23232 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23233 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23234 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23235 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23236 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23238 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23240 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23241 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23243 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23244 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23246 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23248 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23249 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23250 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23252 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23254 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23255 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23256 * termios/termios.h [__USE_BSD]: Likewise.
23257 * time/sys/time.h [__USE_BSD]: Likewise.
23258 * time/time.h [__USE_BSD]: Likewise.
23259 [__USE_SVID]: Likewise.
23261 * Makefile (subdir_targets): Remove subdir_lint.out.
23263 * stdio-common/Makefile (do-tst-unbputc): Remove target.
23264 (do-tst-printf): Likewise.
23265 (tests): Depend directly on $(objpfx)tst-unbputc.out and
23266 $(objpfx)tst-printf.out.
23268 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23270 * Makerules (check-abi-%): Change target to
23271 $(objpfx)check-abi-%.out.
23272 (check-abi target): Update dependencies.
23273 (check-abi-pattern variable): Redirect output of diff to $@.
23274 (check-abi variable): Likewise.
23275 * elf/Makefile (check-abi): Update dependencies.
23277 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23279 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23280 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23282 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23283 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23284 value has largest subnormal exponent.
23285 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23286 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23287 * sysdeps/aarch64/soft-fp/sfp-machine.h
23288 (_FP_TININESS_AFTER_ROUNDING): New macro.
23289 * sysdeps/alpha/soft-fp/sfp-machine.h
23290 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23291 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23293 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23294 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23295 * sysdeps/mips/soft-fp/sfp-machine.h
23296 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23297 * sysdeps/powerpc/soft-fp/sfp-machine.h
23298 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23299 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23301 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23302 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23303 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23304 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23305 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23308 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
23311 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23314 2014-02-12 Richard Henderson <rth@redhat.com>
23316 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23317 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23318 * sysdeps/unix/sysv/linux/alpha: Move directory from
23319 ports/sysdeps/unix/sysv/linux/alpha.
23320 * README: Update listing for alpha-*-linux-gnu.
23322 2014-02-11 Joseph Myers <joseph@codesourcery.com>
23324 * include/features.h: Update comment documenting feature test
23326 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
23328 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23329 (_SVID_SOURCE): Likewise.
23330 (_DEFAULT_SOURCE): Update description of default features.
23331 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23333 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23334 (S_ISVTX): Likewise.
23335 * manual/math.texi (Mathematical Constants): Likewise.
23336 * manual/signal.texi (Interrupted Primitives): Likewise.
23337 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23338 * math/test-matherr.c (_SVID_SOURCE): Do not define.
23339 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23340 Don't refer to _SVID_SOURCE in warning text.
23342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23344 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23346 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23347 * sysdeps/mips/dl-lookup.c: Remove.
23348 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23350 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23353 * math/auto-libm-test-in: Add testcase for expl.
23354 * math/auto-libm-test-out: Regenerate.
23355 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23356 calculation of unsafe.
23357 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23359 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
23361 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23362 * sysdeps/unix/sysv/linux/aarch64: Move directory from
23363 ports/sysdeps/unix/sysv/linux/aarch64.
23364 * README: Update listing for aarch64*-*-linux-gnu.
23366 2014-02-11 Will Newton <will.newton@linaro.org>
23368 * manual/probes.texi (Mathematical Function Probes): Use
23369 "triggered" instead of "hit".
23371 * manual/probes.texi (Internal Probes): Add documentation
23372 of setjmp, longjmp and longjmp_target probes.
23374 * include/stap-probe.h: Add comment about probe argument
23377 * malloc/mtrace.c (attribute_hidden): Remove unused macro
23378 definition. (tr_where, tr_freehook, tr_mallochook,
23379 tr_reallochook, tr_memalignhook): Use ANSI protoype.
23381 2014-02-11 David S. Miller <davem@davemloft.net>
23383 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23384 processing int_tests.
23386 2014-02-10 Joseph Myers <joseph@codesourcery.com>
23388 * sysdeps/mips: Move directory from ports/sysdeps/mips.
23389 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23390 * sysdeps/unix/sysv/linux/mips: Move directory from
23391 ports/sysdeps/unix/sysv/linux/mips.
23392 * README: Update listing for mips-*-linux-gnu and
23393 mips64-*-linux-gnu.
23395 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
23397 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23398 * sysdeps/unix/sysv/linux/m68k: Move directory from
23399 ports/sysdeps/unix/sysv/linux/m68k.
23400 * README: Update listing for m68k-*-linux-gnu.
23402 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
23404 * sysdeps/tile: Move directory from ports/sysdeps/tile.
23405 * sysdeps/unix/sysv/linux/generic: Move directory from
23406 ports/sysdeps/unix/sysv/linux/generic.
23407 * sysdeps/unix/sysv/linux/tile: Move directory from
23408 ports/sysdeps/unix/sysv/linux/tile.
23409 * README: Update listing for tile*-*-linux-gnu.
23411 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
23413 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23415 * benchtests/bench-memmem.c (simple_memmem): Likewise.
23416 * catgets/open_catalog.c (__open_catalog): Likewise.
23417 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23418 * debug/confstr_chk.c: Likewise.
23419 * debug/fread_chk.c (__fread_chk): Likewise.
23420 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23421 * debug/getgroups_chk.c: Likewise.
23422 * debug/mbsnrtowcs_chk.c: Likewise.
23423 * debug/mbsrtowcs_chk.c: Likewise.
23424 * debug/mbstowcs_chk.c: Likewise.
23425 * debug/memcpy_chk.c: Likewise.
23426 * debug/memmove_chk.c: Likewise.
23427 * debug/mempcpy_chk.c: Likewise.
23428 * debug/memset_chk.c: Likewise.
23429 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23430 * debug/strcat_chk.c (__strcat_chk): Likewise.
23431 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23432 * debug/strncat_chk.c (__strncat_chk): Likewise.
23433 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23434 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23435 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23436 * debug/wcpncpy_chk.c: Likewise.
23437 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23438 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23439 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23440 * debug/wcsncpy_chk.c: Likewise.
23441 * debug/wcsnrtombs_chk.c: Likewise.
23442 * debug/wcsrtombs_chk.c: Likewise.
23443 * debug/wcstombs_chk.c: Likewise.
23444 * debug/wmemcpy_chk.c: Likewise.
23445 * debug/wmemmove_chk.c: Likewise.
23446 * debug/wmempcpy_chk.c: Likewise.
23447 * debug/wmemset_chk.c: Likewise.
23448 * dirent/scandirat.c (SCANDIRAT): Likewise.
23449 * dlfcn/dladdr1.c (dladdr1): Likewise.
23450 * dlfcn/dladdr.c (dladdr): Likewise.
23451 * dlfcn/dlclose.c (dlclose_doit): Likewise.
23452 * dlfcn/dlerror.c (__dlerror): Likewise.
23453 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23454 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23455 * dlfcn/dlopen.c (dlopen_doit): Likewise.
23456 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23457 * dlfcn/dlsym.c (dlsym_doit): Likewise.
23458 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23459 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23460 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23462 * elf/dl-conflict.c: Likewise.
23463 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23464 * elf/dl-dst.h: Likewise.
23465 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23466 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23467 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23468 * elf/dl-init.c (call_init, _dl_init): Likewise.
23469 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23470 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23471 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23473 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23475 * elf/dl-minimal.c (__libc_memalign): Likewise.
23476 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23477 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23478 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23479 * elf/dl-sym.c (do_sym): Likewise.
23480 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23481 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23482 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23483 * elf/dl-writev.h (_dl_writev): Likewise.
23484 * elf/ldconfig.c (search_dir): Likewise.
23485 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23486 (dl_main): Likewise.
23487 * elf/setup-vdso.h (setup_vdso): Likewise.
23488 * grp/compat-initgroups.c (compat_call): Likewise.
23489 * grp/fgetgrent.c (fgetgrent): Likewise.
23490 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23491 * grp/putgrent.c (putgrent): Likewise.
23492 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23494 * hurd/hurdinit.c: Likewise.
23495 * iconvdata/8bit-gap.c (struct): Likewise.
23496 * iconvdata/ansi_x3.110.c : Likewise.
23497 * iconvdata/big5.c : Likewise.
23498 * iconvdata/big5hkscs.c : Likewise.
23499 * iconvdata/cp1255.c: Likewise.
23500 * iconvdata/cp1258.c : Likewise.
23501 * iconvdata/cp932.c : Likewise.
23502 * iconvdata/euc-cn.c: Likewise.
23503 * iconvdata/euc-jisx0213.c : Likewise.
23504 * iconvdata/euc-jp.c: Likewise.
23505 * iconvdata/euc-jp-ms.c : Likewise.
23506 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23507 * iconvdata/gb18030.c : Likewise.
23508 * iconvdata/gbbig5.c (const): Likewise.
23509 * iconvdata/gbgbk.c: Likewise.
23510 * iconvdata/gbk.c : Likewise.
23511 * iconvdata/ibm1364.c : Likewise.
23512 * iconvdata/ibm930.c : Likewise.
23513 * iconvdata/ibm932.c: Likewise.
23514 * iconvdata/ibm933.c : Likewise.
23515 * iconvdata/ibm935.c : Likewise.
23516 * iconvdata/ibm937.c : Likewise.
23517 * iconvdata/ibm939.c : Likewise.
23518 * iconvdata/ibm943.c: Likewise.
23519 * iconvdata/iso_11548-1.c: Likewise.
23520 * iconvdata/iso-2022-cn.c : Likewise.
23521 * iconvdata/iso-2022-cn-ext.c : Likewise.
23522 * iconvdata/iso-2022-jp-3.c: Likewise.
23523 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23524 * iconvdata/iso-2022-kr.c : Likewise.
23525 * iconvdata/iso646.c (gconv_end): Likewise.
23526 * iconvdata/iso_6937-2.c : Likewise.
23527 * iconvdata/iso_6937.c : Likewise.
23528 * iconvdata/iso8859-1.c: Likewise.
23529 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23530 * iconvdata/shift_jisx0213.c : Likewise.
23531 * iconvdata/sjis.c : Likewise.
23532 * iconvdata/t.61.c : Likewise.
23533 * iconvdata/tcvn5712-1.c : Likewise.
23534 * iconvdata/tscii.c: Likewise.
23535 * iconvdata/uhc.c : Likewise.
23536 * iconvdata/unicode.c (gconv_end): Likewise.
23537 * iconvdata/utf-16.c (gconv_end): Likewise.
23538 * iconvdata/utf-32.c (gconv_end): Likewise.
23539 * iconvdata/utf-7.c (base64): Likewise.
23540 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23541 * iconv/gconv_close.c (__gconv_close): Likewise.
23542 * iconv/gconv_open.c (__gconv_open): Likewise.
23543 * iconv/gconv_simple.c (internal_ucs4_loop_single)
23544 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23545 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23546 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23547 (ucs4le_internal_loop_single): Likewise.
23548 * iconv/iconv.c (iconv): Likewise.
23549 * iconv/iconv_close.c: Likewise.
23550 * iconv/loop.c (SINGLE): Likewise.
23551 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23552 * include/atomic.h: Likewise.
23553 * inet/inet6_option.c (option_alloc): Likewise.
23554 * intl/bindtextdom.c (set_binding_values): Likewise.
23555 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23556 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23557 * intl/localealias.c (read_alias_file): Likewise.
23558 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23559 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23560 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23561 * libio/fmemopen.c (fmemopen): Likewise.
23562 * libio/iofgets.c (_IO_fgets): Likewise.
23563 * libio/iofgets_u.c (fgets_unlocked): Likewise.
23564 * libio/iofgetws.c (fgetws): Likewise.
23565 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23566 * libio/iogetdelim.c (_IO_getdelim): Likewise.
23567 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23568 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23569 * locale/findlocale.c (_nl_find_locale): Likewise.
23570 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23571 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23573 * locale/setlocale.c (setlocale): Likewise.
23574 * login/programs/pt_chown.c (main): Likewise.
23575 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23576 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23577 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23578 (mmap, mmap64, mremap, munmap): Likewise.
23579 * math/e_exp2l.c: Likewise.
23580 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23581 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23582 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23583 * math/s_catan.c (__catan): Likewise.
23584 * math/s_catanf.c (__catanf): Likewise.
23585 * math/s_catanh.c (__catanh): Likewise.
23586 * math/s_catanhf.c (__catanhf): Likewise.
23587 * math/s_catanhl.c (__catanhl): Likewise.
23588 * math/s_catanl.c (__catanl): Likewise.
23589 * math/s_ccosh.c (__ccosh): Likewise.
23590 * math/s_ccoshf.c (__ccoshf): Likewise.
23591 * math/s_ccoshl.c (__ccoshl): Likewise.
23592 * math/s_cexp.c (__cexp): Likewise.
23593 * math/s_cexpf.c (__cexpf): Likewise.
23594 * math/s_cexpl.c (__cexpl): Likewise.
23595 * math/s_clog10.c (__clog10): Likewise.
23596 * math/s_clog10f.c (__clog10f): Likewise.
23597 * math/s_clog10l.c (__clog10l): Likewise.
23598 * math/s_clog.c (__clog): Likewise.
23599 * math/s_clogf.c (__clogf): Likewise.
23600 * math/s_clogl.c (__clogl): Likewise.
23601 * math/s_csin.c (__csin): Likewise.
23602 * math/s_csinf.c (__csinf): Likewise.
23603 * math/s_csinh.c (__csinh): Likewise.
23604 * math/s_csinhf.c (__csinhf): Likewise.
23605 * math/s_csinhl.c (__csinhl): Likewise.
23606 * math/s_csinl.c (__csinl): Likewise.
23607 * math/s_csqrt.c (__csqrt): Likewise.
23608 * math/s_csqrtf.c (__csqrtf): Likewise.
23609 * math/s_csqrtl.c (__csqrtl): Likewise.
23610 * math/s_ctan.c (__ctan): Likewise.
23611 * math/s_ctanf.c (__ctanf): Likewise.
23612 * math/s_ctanh.c (__ctanh): Likewise.
23613 * math/s_ctanhf.c (__ctanhf): Likewise.
23614 * math/s_ctanhl.c (__ctanhl): Likewise.
23615 * math/s_ctanl.c (__ctanl): Likewise.
23616 * math/w_pow.c: Likewise.
23617 * math/w_powf.c: Likewise.
23618 * math/w_powl.c: Likewise.
23619 * math/w_scalb.c (sysv_scalb): Likewise.
23620 * math/w_scalbf.c (sysv_scalbf): Likewise.
23621 * math/w_scalbl.c (sysv_scalbl): Likewise.
23622 * misc/error.c (error_tail): Likewise.
23623 * misc/pselect.c (__pselect): Likewise.
23624 * nis/nis_callback.c (__nis_create_callback): Likewise.
23625 * nis/nis_call.c (__nisfind_server): Likewise.
23626 * nis/nis_creategroup.c (nis_creategroup): Likewise.
23627 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23628 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23629 * nis/nis_getservlist.c (nis_getservlist): Likewise.
23630 * nis/nis_lookup.c (nis_lookup): Likewise.
23631 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23632 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23633 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23634 * nis/nis_xdr.c (xdr_endpoint): Likewise.
23635 * nis/nss_compat/compat-grp.c (getgrent_next_file)
23636 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23637 * nis/nss_compat/compat-initgroups.c (add_group)
23638 (internal_getgrent_r): Likewise.
23639 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23640 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23641 * nis/nss_compat/compat-spwd.c (getspent_next_file)
23642 (internal_getspnam_r): Likewise.
23643 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23644 (_nss_nis_getaliasbyname_r): Likewise.
23645 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23646 (_nss_nis_getntohost_r): Likewise.
23647 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23648 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23649 (_nss_nis_getgrgid_r): Likewise.
23650 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23651 (internal_nis_gethostent_r, internal_gethostbyname2_r)
23652 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23653 (_nss_nis_gethostbyname4_r): Likewise.
23654 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23655 (initgroups_netid): Likewise.
23656 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23657 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23658 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23659 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23660 (_nss_nis_getprotobynumber_r): Likewise.
23661 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23662 (_nss_nis_getsecretkey): Likewise.
23663 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23664 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23665 (_nss_nis_getpwuid_r): Likewise.
23666 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23667 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23668 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23669 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23670 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23671 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23672 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23674 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23675 (_nss_nisplus_getntohost_r): Likewise.
23676 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23677 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23678 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23679 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23681 * nis/nss_nisplus/nisplus-initgroups.c
23682 (_nss_nisplus_initgroups_dyn): Likewise.
23683 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23684 (_nss_nisplus_getnetbyaddr_r): Likewise.
23685 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23686 (_nss_nisplus_getprotobynumber_r): Likewise.
23687 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23688 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23689 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23691 * nis/nss_nisplus/nisplus-service.c
23692 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23693 (_nss_nisplus_getservbyport_r): Likewise.
23694 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23695 (_nss_nisplus_getspnam_r): Likewise.
23696 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23698 * nscd/aicache.c (addhstaiX): Likewise.
23699 * nscd/cache.c (cache_search, prune_cache): Likewise.
23700 * nscd/connections.c (register_traced_file, send_ro_fd)
23701 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23702 (main_loop_epoll): Likewise.
23703 * nscd/grpcache.c (addgrbyX): Likewise.
23704 * nscd/hstcache.c (addhstbyX): Likewise.
23705 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23706 * nscd/mem.c (gc, mempool_alloc): Likewise.
23707 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23708 (addinnetgrX): Likewise.
23709 * nscd/nscd-client.h (__nscd_acquire_maplock)
23710 (__nscd_drop_map_ref): Likewise.
23711 * nscd/nscd_getai.c (__nscd_getai): Likewise.
23712 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23713 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23715 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23716 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23717 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23718 (__nscd_get_map_ref): Likewise.
23719 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23720 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23722 * nscd/pwdcache.c (addpwbyX): Likewise.
23723 * nscd/selinux.c (preserve_capabilities): Likewise.
23724 * nscd/servicescache.c (addservbyX): Likewise.
23725 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23726 * posix/fnmatch.c (fnmatch): Likewise.
23727 * posix/getopt.c (_getopt_internal_r): Likewise.
23728 * posix/glob.c (glob, glob_in_dir): Likewise.
23729 * posix/wordexp.c (exec_comm_child): Likewise.
23730 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23731 (getanswer_r, gaih_getanswer_slice): Likewise.
23732 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23733 * resolv/res_init.c: Likewise.
23734 * resolv/res_mkquery.c (res_nmkquery): Likewise.
23735 * resolv/res_query.c (__libc_res_nquery): Likewise.
23736 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23738 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23739 * stdio-common/perror.c (perror): Likewise.
23740 * stdio-common/printf_fp.c (___printf_fp): Likewise.
23741 * stdio-common/tmpnam.c (tmpnam): Likewise.
23742 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23743 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23744 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23746 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23747 * stdlib/putenv.c (putenv): Likewise.
23748 * stdlib/setenv.c (__add_to_environ): Likewise.
23749 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23750 * stdlib/strtol_l.c (INTERNAL): Likewise.
23751 * string/memmem.c (memmem): Likewise.
23752 * string/strerror.c (strerror): Likewise.
23753 * string/strnlen.c (__strnlen): Likewise.
23754 * string/test-memmem.c (simple_memmem): Likewise.
23755 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23756 * sunrpc/pm_getport.c (__get_socket): Likewise.
23757 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23758 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23759 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23760 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23762 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23763 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23764 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23765 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23766 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23767 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23769 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23771 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23772 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23773 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23774 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23775 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23777 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23778 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23779 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23780 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23781 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23782 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23784 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23786 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23788 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23789 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23790 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23791 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23792 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23793 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23794 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23795 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23796 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23797 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23798 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23799 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23800 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23801 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23802 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23803 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23805 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23807 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23809 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23811 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23812 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23813 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23815 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23816 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23817 * sysdeps/posix/opendir.c (__opendirat): Likewise.
23818 * sysdeps/posix/sleep.c: Likewise.
23819 * sysdeps/posix/tempname.c: Likewise.
23820 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23821 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23823 * sysdeps/powerpc/powerpc32/dl-machine.h
23824 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23825 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23826 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23827 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23828 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23830 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23831 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23832 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23833 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23834 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23835 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23836 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23837 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23838 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23839 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23840 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23841 (elf_machine_lazy_rel): Likewise.
23842 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23843 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23844 (elf_machine_lazy_rel): Likewise.
23845 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23846 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23847 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23848 * sysdeps/unix/grantpt.c (grantpt): Likewise.
23849 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23850 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23851 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23852 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23854 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23855 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23856 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23857 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23858 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23859 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23860 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23861 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23862 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23863 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23864 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23866 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23867 (__posix_fallocate64_l64): Likewise.
23868 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23869 (posix_fallocate): Likewise.
23870 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23872 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23873 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23874 (getifaddrs_internal): Likewise.
23875 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23876 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23877 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23878 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23879 * sysdeps/unix/sysv/linux/posix_fallocate64.c
23880 (__posix_fallocate64_l64): Likewise.
23881 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23883 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23884 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23885 (__get_clockfreq): Likewise.
23886 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23887 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23888 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23889 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23890 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23891 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23892 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23893 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23895 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23896 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23897 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23898 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23899 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23900 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23901 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23903 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23904 (posix_fallocate): Likewise.
23905 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23906 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23907 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23908 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23909 (elf_machine_rela, elf_machine_rela_relative)
23910 (elf_machine_lazy_rel): Likewise.
23911 * time/asctime.c (asctime_internal): Likewise.
23912 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23913 * time/tzset.c (__tzset_parse_tz): Likewise.
23914 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23915 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23916 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23917 * wcsmbs/wcsmbsload.h: Likewise.
23920 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23922 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23923 (arena_get2): Remove THREAD_STATS conditionals.
23924 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23925 (__malloc_stats, int): Likewise.
23927 2014-02-08 Mike Frysinger <vapier@gentoo.org>
23929 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23930 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
23932 * manual/setjmp.texi: Fix typos/grammar errors.
23934 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23935 Only return early when n is <= 0. Delete unused return statement.
23937 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23938 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23939 * debug/tst-longjmp_chk3.c: New file.
23941 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23942 (test_main): Replace code with set_fortify_handler call.
23943 * debug/test-strcpy_chk.c: Likewise.
23944 * debug/tst-chk1.c: Likewise.
23945 * debug/tst-longjmp_chk.c: Likewise.
23946 * test-skeleton.c: Include fcntl.h & paths.h
23947 (set_fortify_handler): Define.
23949 * debug/tst-longjmp_chk.c: Add header comment and include
23950 ../test-skeleton.c.
23951 (do_test): Mark static.
23952 (TEST_FUNCTION): Define.
23954 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23955 (IP_PMTUDISC_INTERFACE): Likewise.
23956 (IP_MULTICAST_IF): Likewise.
23957 (IP_MULTICAST_TTL): Likewise.
23958 (IP_MULTICAST_LOOP): Likewise.
23959 (IP_ADD_MEMBERSHIP): Likewise.
23960 (IP_DROP_MEMBERSHIP): Likewise.
23961 (IP_UNBLOCK_SOURCE): Likewise.
23962 (IP_BLOCK_SOURCE): Likewise.
23963 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23964 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23965 (IP_MSFILTER): Likewise.
23966 (MCAST_JOIN_GROUP): Likewise.
23967 (MCAST_BLOCK_SOURCE): Likewise.
23968 (MCAST_UNBLOCK_SOURCE): Likewise.
23969 (MCAST_LEAVE_GROUP): Likewise.
23970 (MCAST_JOIN_SOURCE_GROUP): Likewise.
23971 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23972 (MCAST_MSFILTER): Likewise.
23973 (IP_MULTICAST_ALL): Likewise.
23974 (IP_UNICAST_IF): Likewise.
23976 * timezone/Makefile: Delete $(have-ksh) check.
23977 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23978 * timezone/tzselect.ksh: Add +x mode bits.
23980 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23981 (ANON_INODE_FS_MAGIC): Likewise.
23982 (BDEVFS_MAGIC): Likewise.
23983 (BINFMTFS_MAGIC): Likewise.
23984 (BTRFS_TEST_MAGIC): Likewise.
23985 (CRAMFS_MAGIC_WEND): Likewise.
23986 (DEBUGFS_MAGIC): Likewise.
23987 (ECRYPTFS_SUPER_MAGIC): Likewise.
23988 (EXT3_SUPER_MAGIC): Likewise.
23989 (EXT4_SUPER_MAGIC): Likewise.
23990 (FUTEXFS_SUPER_MAGIC): Likewise.
23991 (HOSTFS_SUPER_MAGIC): Likewise.
23992 (HUGETLBFS_MAGIC): Likewise.
23993 (MINIX3_SUPER_MAGIC): Likewise.
23994 (MTD_INODE_FS_MAGIC): Likewise.
23995 (NILFS_SUPER_MAGIC): Likewise.
23996 (OPENPROM_SUPER_MAGIC): Likewise.
23997 (PIPEFS_MAGIC): Likewise.
23998 (PSTOREFS_MAGIC): Likewise.
23999 (QNX6_SUPER_MAGIC): Likewise.
24000 (RAMFS_MAGIC): Likewise.
24001 (REISERFS_SUPER_MAGIC_STRING): Likewise.
24002 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
24003 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24004 (SECURITYFS_MAGIC): Likewise.
24005 (SELINUX_MAGIC): Likewise.
24006 (SMACK_MAGIC): Likewise.
24007 (SOCKFS_MAGIC): Likewise.
24008 (SQUASHFS_MAGIC): Likewise.
24009 (STACK_END_MAGIC): Likewise.
24010 (TMPFS_MAGIC): Likewise.
24011 (USBDEVICE_SUPER_MAGIC): Likewise.
24012 (V9FS_MAGIC): Likewise.
24013 (XENFS_SUPER_MAGIC): Likewise.
24014 (CRAMFS_MAGIC): Fix typo in comment.
24015 (EXT2_SUPER_MAGIC): Update comment.
24016 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24018 2014-02-08 Joseph Myers <joseph@codesourcery.com>
24020 * sysdeps/arm: Move directory from ports/sysdeps/arm.
24021 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24022 * sysdeps/unix/sysv/linux/arm: Move directory from
24023 ports/sysdeps/unix/sysv/linux/arm.
24024 * README: Update listing for arm-*-linux-gnueabi.
24026 * README: Remove mention of am33.
24028 2014-02-07 Roland McGrath <roland@hack.frob.com>
24030 * bits/sigset.h (__sigemptyset): Use a statement expression rather
24031 than the comma operator, to avoid "rhs of comma has no effect"
24033 (__sigfillset, __sigandset, __sigorset): Likewise.
24034 * include/signal.h (__sigemptyset): Likewise.
24035 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24037 2014-02-07 Allan McRae <allan@archlinux.org>
24039 * version.h (RELEASE): Set to "development".
24040 (VERSION): Set to "2.19.90"
24041 * NEWS: Add 2.20 section.
24043 2014-02-06 Carlos O'Donell <carlos@redhat.com>
24046 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24048 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24050 * manual/contrib.texi: Update entry for Carlos O'Donell,
24051 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24053 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
24055 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24057 * sysdeps/unix/sysv/linux/kernel-features.h
24058 [__LINUX_KERNEL_VERSION >= 0x020621]
24059 (__ASSUME_PROC_PID_TASK_COMM): Define.
24061 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24064 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24065 conversion when destination buffer does not have enough space.
24066 * libio/tst-ftell-partial-wide.c: New test case.
24067 * libio/Makefile (tests): Add tst-ftell-partial-wide.
24069 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24070 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
24071 Leonard and Allan McRae.
24073 2014-02-04 David S. Miller <davem@davemloft.net>
24075 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24078 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24107 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24109 * nptl/shlib-versions: Change powerpc*le start to 2.17.
24110 * shlib-versions: Likewise.
24112 2014-02-04 Roland McGrath <roland@hack.frob.com>
24113 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24115 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24116 (abilist-pattern): New variable, set to %-le.abilist.
24118 * Makerules (abilist-pattern): New variable.
24119 (vpath): Use $(abilist-pattern) in place of %.abilist.
24120 (check-abi-% pattern rule): Likewise.
24121 (check-abi, update-abi): Likewise.
24123 2014-02-04 Eric Wong <normalperson@yhbt.net>
24125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24127 2014-02-03 Carlos O'Donell <carlos@redhat.com>
24129 * manual/startup.texi: Add next, previous, and top entries for
24130 the `Program Arguments' and `Environment Variables' nodes.
24132 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
24134 * manual/macros.texi: Add comments before MTASC-safety macros.
24136 * manual/users.texi: Document MTASC-safety properties.
24138 * manual/threads.texi (pthread_key_create, pthread_key_delete)
24139 (pthread_getspecific, pthread_setspecific): Format with
24140 @deftypefun, and add @safety note.
24141 * manual/signal.texi: Move comments that analyze the above
24142 functions to their home place.
24144 2014-02-03 Allan McRae <allan@archlinux.org>
24146 * po/sl.po: Update Slovenian translation from translation project.
24148 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
24150 * manual/time.texi (timegm): Add missing blank after @c.
24151 Reported by Joseph Myers <joseph@codesourcery.com>.
24153 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
24155 * manual/check-safety.sh: New.
24156 * manual/Makefile ($(objpfx)stamp-summary): Run it.
24158 * manual/terminal.texi: Document MTASC-safety properties.
24160 * manual/filesys.texi: Document MTASC-safety properties.
24162 * manual/errno.texi: Document MTASC-safety properties.
24164 * manual/intro.texi: Document safety identifiers and
24167 * manual/string.texi (wcstok): Fix prototype.
24168 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24170 * manual/time.texi: Document MTASC-safety properties.
24172 * manual/string.texi: Document MTASC-safety properties.
24174 * manual/threads.texi: Document MTASC-safety properties.
24176 * manual/stdio.texi: Document MTASC-safety properties.
24178 * manual/syslog.texi: Document MTASC-safety properties.
24180 * manual/sysinfo.texi: Document MTASC-safety properties.
24182 * manual/startup.texi: Document MTASC-safety properties.
24184 * manual/socket.texi: Document MTASC-safety properties.
24186 * manual/signal.texi: Document MTASC-safety properties.
24188 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
24190 * manual/setjmp.texi: Document MTASC-safety properties.
24192 * manual/search.texi: Document MTASC-safety properties.
24194 * manual/resource.texi: Document MTASC-safety properties.
24196 * manual/process.texi: Document MTASC-safety properties.
24198 * manual/platform.texi: Document MTASC-safety properties.
24200 * manual/pipe.texi: Document MTASC-safety properties.
24202 * manual/pattern.texi: Document MTASC-safety properties.
24204 * manual/message.texi: Document MTASC-safety properties.
24207 * manual/memory.texi: Document MTASC-safety properties.
24209 * manual/math.texi: Document MTASC-safety properties.
24211 * manual/locale.texi: Document MTASC-safety properties.
24213 * manual/llio.texi: Document MTASC-safety properties.
24215 * manual/libdl.texi: New.
24217 * manual/lang.texi: Document MTASC-safety properties.
24219 * manual/job.texi: Document MTASC-safety properties.
24221 * manual/getopt.texi: Document MTASC-safety properties.
24223 * manual/ctype.texi: Document MTASC-safety properties.
24225 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
24228 * csu/libc-tls.c (static_map): Remove variable.
24229 (__libc_setup_tls): Use main executable's link map for TLS data.
24230 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24231 casing for LM_ID_BASE and GL(dl_nns).
24232 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24233 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
24234 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24235 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24236 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24238 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24241 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
24243 * manual/debug.texi: Document MTASC-safety properties.
24245 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
24248 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24249 of __x86_64__ when disabling x87 inline functions.
24251 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
24253 * manual/charset.texi: Document MTASC-safety properties.
24255 * manual/crypt.texi: Document MTASC-safety properties.
24257 * manual/conf.texi: Document MTASC-safety properties.
24259 * manual/arith.texi: Document MTASC-safety properties.
24261 * manual/argp.texi: Document MTASC-safety properties.
24263 * manual/macros.texi: Introduce macros to document multi
24264 thread, asynchronous signal and asynchronous cancellation
24266 * manual/intro.texi: Introduce the properties themselves.
24268 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24270 * sysdeps/sh/sh4/Makefile: New file.
24272 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
24274 * math/gen-libm-test.pl ($srcdir): New variable.
24275 ($auto_input): Use it.
24277 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24280 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24281 access beyond array bounds when parsing netgroups file.
24283 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24284 the old buffer before realloc.
24286 2014-01-27 Allan McRae <allan@archlinux.org>
24288 * po/fr.po: Update French translation from translation project.
24290 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24292 * sysdeps/sh/libm-test-ulps: Regenerate.
24294 2014-01-24 David S. Miller <davem@davemloft.net>
24296 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24298 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24300 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24301 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24303 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24306 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24307 string pointers after reallocation.
24309 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24311 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24312 __SH4A__ instead of __SH_FPU_ANY__.
24314 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24316 * sysdeps/sh/fpu_control.h: New file.
24317 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24318 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24319 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24320 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24321 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24322 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24323 * sysdeps/sh/sys/ucontext.h: Remove.
24324 * sysdeps/sh/sys: Remove directory.
24326 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24328 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24329 s390/sys/ucontext.h.
24330 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24331 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24333 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
24336 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24338 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24341 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24342 Adjust the vDSO correctly for internal calls.
24343 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24345 2014-01-20 Allan McRae <allan@archlinux.org>
24347 * po/ca.po: Update Catalan translation from translation project.
24349 2014-01-16 Mike Frysinger <vapier@gentoo.org>
24351 * sysdeps/s390/sotruss-lib.c: New file.
24353 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24356 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24357 (__GI___gettimeofday): Alias for a different internal symbol to avoid
24358 local calls issues by not having a PLT stub required for IFUNC calls.
24359 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24361 2014-01-16 Joseph Myers <joseph@codesourcery.com>
24363 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24364 * math/test-fpucw-static.c: Likewise.
24366 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24369 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24371 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24373 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24374 implementation for powerpc.
24376 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
24379 * sysdeps/posix/system.c (__libc_system): Do not enable
24380 asynchronous cancellation.
24382 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24385 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24386 handling only for numbers special also in the IEEE case.
24388 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24390 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24392 2014-01-11 Allan McRae <allan@archlinux.org>
24394 * po/bg.po: Update Bulgarian translation from translation project.
24396 * po/de.po: Update German translation from translation project.
24398 2014-01-10 Roland McGrath <roland@hack.frob.com>
24400 * sysdeps/generic/gcc-compat.h: New file.
24402 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24404 * benchtests/asin-inputs: Correct slow inputs.
24405 * benchtests/acos-inputs: Likewise.
24407 2014-01-10 Allan McRae <allan@archlinux.org>
24409 * po:sv.po: Update Swedish translation from translation project.
24411 * po/vi.po: Update Vietnamese translation from translation project.
24413 * po/eo.po: Update Esperanto translation from translation project.
24415 * po/cs.po: Update Czech translation from translation project.
24417 * po/nl.po: Update Dutch translation from translation project.
24419 * po/pl.po: Update Polish translation from translation project.
24421 * po/ru.po: Update Russian translation from translation project.
24423 * po/uk.po: Update Ukrainian translation from translation project.
24425 2014-01-08 Brooks Moses <bmoses@google.com>
24427 * elf/dl-load.c: Fix comment typo.
24429 2014-01-08 Carlos O'Donell <carlos@redhat.com>
24431 * po/header.pot: Rename to...
24432 * po/pot.header: ... this.
24433 * po/Makefile: Use pot.header.
24435 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
24436 Maxim Kuvyrkov <maxim@kugelworks.com>
24439 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24440 SRC and DEST against LEN.
24442 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24445 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24447 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24449 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24453 2014-01-08 Joseph Myers <joseph@codesourcery.com>
24456 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24457 for large positive arguments.
24459 2014-01-07 Joseph Myers <joseph@codesourcery.com>
24461 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24463 * math/auto-libm-test-in: Mark various tests with
24464 xfail-rounding:ldbl-128ibm.
24465 * math/auto-libm-test-out: Regenerated.
24468 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24469 Increase overflow threshold.
24471 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
24474 * stdio-common/vfprintf.c: Check for integer overflow.
24476 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24478 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24479 the first argument and return value of __tls_get_addr_internal.
24481 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24483 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24484 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24486 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24488 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24489 * sysdeps/s390/rtld-global-offsets.sym: New file.
24490 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24492 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24493 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24494 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24496 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24497 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24503 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24504 halfs of GPRs for high_gprs contexts.
24505 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24506 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
24508 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24510 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24512 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24513 for high GPRs (uc_high_gprs) and for future extensions
24515 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24516 for future extensions (__reserved).
24517 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24519 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24520 SC_HIGHGPRS offset definition.
24521 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24522 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24524 * Versions.def: Add GLIBC_2.19 for libpthread.
24525 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24526 siglongjmp for libpthread with GLIBC_2.19 symver.
24527 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24528 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24529 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24530 * sysdeps/s390/__longjmp.c: New file.
24531 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24532 * sysdeps/s390/longjmp.c: New file.
24533 * sysdeps/s390/setjmp.S: New file.
24534 * sysdeps/s390/sigjmp.S: New file.
24535 * sysdeps/s390/v1-longjmp.c: New file.
24536 * sysdeps/s390/v1-setjmp.h: New file.
24537 * sysdeps/s390/v1-sigjmp.c: New file.
24538 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24539 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24540 GLIBC_2.19 version.
24541 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24542 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24543 versioned symbols for ____longjmp_chk.
24544 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24554 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24555 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24556 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24557 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24558 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24559 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24560 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24561 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24562 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24563 * sysdeps/s390/rtld-__longjmp.c: New file.
24564 * sysdeps/s390/rtld-setjmp.S: New file.
24566 2014-01-06 Joseph Myers <joseph@codesourcery.com>
24569 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24570 Return -__logl (x) for small positive arguments without evaluating
24573 2014-01-06 Mike Frysinger <vapier@gentoo.org>
24575 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24577 (__ptrace_peeksiginfo_args): ... this.
24578 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24579 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24580 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24582 2014-01-06 Allan McRae <allan@archlinux.org>
24584 * inet/netinet/in.h: Fix typo in comment.
24586 2014-01-05 Andreas Jaeger <aj@suse.de>
24588 * sysdeps/i386/fpu/libm-test-ulps: Update.
24590 2014-01-05 Allan McRae <allan@archlinux.org>
24592 * po/libc.pot: Regenerated.
24594 * malloc/memusagestat.c: Fix gettext call formatting.
24596 2014-01-04 Sami Kerola <kerolasa@iki.fi>
24598 * nscd/nscd.c: Improve usage() output.
24600 2014-01-04 Mike Frysinger <vapier@gentoo.org>
24602 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24603 * sysdeps/unix/sysv/linux/configure: Regenerated.
24604 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24605 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24607 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24610 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24611 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24613 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24615 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24616 extra tokens at end of #undef directive.
24617 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24618 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24619 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24621 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24623 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24625 * math/auto-libm-test-in: Mark various tests with
24626 xfail-rounding:ldbl-128ibm.
24627 * math/auto-libm-test-out: Regenerated.
24629 2014-01-02 Joseph Myers <joseph@codesourcery.com>
24632 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24633 numbers with subnormal high part when calculating exponent.
24636 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24640 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24642 (__ieee754_acoshl): Use __log1pl not __log1p.
24644 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
24646 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24647 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24648 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24649 (grow_heap, heap_trim, _int_new_arena, get_free_list)
24650 (reused_arena, arena_get2): Convert to GNU style.
24651 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24652 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24653 (memalign_check, __malloc_set_state): Likewise.
24654 * malloc/mallocbug.c (main): Likewise.
24655 * malloc/malloc.c (__malloc_assert, malloc_init_state)
24656 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24657 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24658 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24659 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24660 (__posix_memalign, malloc_info): Likewise.
24661 * malloc/malloc.h: Likewise.
24662 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24663 (mallochook, memalignhook, reallochook, mabort): Likewise.
24664 * malloc/mcheck.h: Likewise.
24665 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24666 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24667 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24668 * malloc/morecore.c (__default_morecore): Likewise.
24669 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24670 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24671 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24672 (print_and_abort): Likewise.
24673 * malloc/obstack.h: Likewise.
24674 * malloc/set-freeres.c (__libc_freeres): Likewise.
24675 * malloc/tst-mallocstate.c (main): Likewise.
24676 * malloc/tst-mtrace.c (main): Likewise.
24677 * malloc/tst-realloc.c (do_test): Likewise.
24679 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24682 * nscd/netgroupcache.c (do_notfound): New function.
24683 (addgetnetgrentX): Use it.
24686 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24687 NSS_STATUS_NOTFOUND.
24689 2014-01-01 Joseph Myers <joseph@codesourcery.com>
24691 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24694 2014-01-01 Allan McRae <allan@archlinux.org>
24696 * scripts/update-copyrights: Update configure input file suffix.
24698 * NEWS: Update copyright year.
24699 * catgets/gencat.c: Likewise.
24700 * csu/version.c: Likewise.
24701 * debug/catchsegv.sh: Likewise.
24702 * debug/pcprofiledump.c: Likewise.
24703 * debug/xtrace.sh: Likewise.
24704 * elf/ldconfig.c: Likewise.
24705 * elf/ldd.bash.in: Likewise.
24706 * elf/pldd.c: Likewise.
24707 * elf/sotruss.ksh: Likewise.
24708 * elf/sprof.c: Likewise.
24709 * iconv/iconv_prog.c: Likewise.
24710 * iconv/iconvconfig.c: Likewise.
24711 * locale/programs/locale.c: Likewise.
24712 * locale/programs/localedef.c: Likewise.
24713 * login/programs/pt_chown.c: Likewise.
24714 * malloc/memusage.sh: Likewise.
24715 * malloc/memusagestat.c: Likewise.
24716 * malloc/mtrace.pl: Likewise.
24717 * manual/libc.texinfo: Likewise.
24718 * nscd/nscd.c: Likewise.
24719 * nss/getent.c: Likewise.
24720 * nss/makedb.c: Likewise.
24721 * posix/getconf.c: Likewise.
24722 * scripts/test-installation.pl: Likewise.
24724 * All files with FSF copyright notices: Update copyright dates
24725 using scripts/update-copyrights.
24726 * intl/plural.c: Regenerated.
24727 * locale/programs/charmap-kw.h: Likewise.
24728 * locale/programs/locfile-kw.h: Likewise.
24730 2013-12-31 Mike Frysinger <vapier@gentoo.org>
24732 * sysdeps/unix/sysv/linux/configure: Regenerated.
24733 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24734 the linux/fanotify.h header.
24735 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24736 HAVE_LINUX_FANOTIFY_H is defined.
24738 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24740 * benchtests/cos-inputs: New inputs.
24741 * benchtests/sin-inputs: Likewise.
24743 * benchtests/atan-inputs: New inputs. Fix name of multiple
24744 precision fallback inputs.
24746 * benchtests/atanh-inputs: New inputs.
24747 * benchtests/tanh-inputs: Likewise.
24749 * benchtests/acosh-inputs: New inputs.
24750 * benchtests/asinh-inputs: Likewise.
24752 * benchtests/cosh-inputs: New inputs.
24753 * benchtests/sinh-inputs: Likewise.
24755 * benchtests/acos-inputs: Add more inputs.
24756 * benchtests/asin-inputs: Likewise.
24758 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
24761 * manual/arith.texi: Fix spelling.
24762 * manual/charset.texi: Likewise.
24763 * manual/errno.texi: Likewise.
24764 * manual/filesys.texi: Likewise.
24765 * manual/lang.texi: Likewise.
24766 * manual/llio.texi: Likewise.
24767 * manual/locale.texi: Likewise.
24768 * manual/message.texi: Likewise.
24769 * manual/resource.texi: Likewise.
24770 * manual/search.texi: Likewise.
24771 * manual/setjmp.texi: Likewise.
24772 * manual/stdio.texi: Likewise.
24773 * manual/string.texi: Likewise.
24774 * manual/sysinfo.texi: Likewise.
24775 * manual/time.texi: Likewise.
24777 2013-12-27 Carlos O'Donell <carlos@redhat.com>
24779 * po/sl.po: New file.
24781 2013-12-27 Mike Frysinger <vapier@gentoo.org>
24783 * .gitignore: Add core/.gdbinit/.gdb_history.
24785 2013-12-27 Allan McRae <allan@archlinux.org>
24788 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24789 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24791 2013-12-24 Brooks Moses <bmoses@google.com>
24793 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24794 all compilers that claim C++98 compliance, not just GCC.
24795 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24798 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24800 * NEWS: Restore accidentally deleted bug-fix entries.
24802 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24803 Ondřej Bílka <neleai@seznam.cz>
24806 * malloc/malloc.c (_int_free): Perform sanity check only if we
24809 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
24812 * manual/stdio.texi (String Input Conversions): Clarify that character
24813 classes are not supported.
24815 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24819 2013-12-22 Joseph Myers <joseph@codesourcery.com>
24822 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24823 Calculate results for small negative arguments directly rather
24824 than using reflection formula with special underflow handling.
24826 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24827 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24828 sysdeps/unix/bsd/bsd4.4/syscalls.list.
24829 (fchflags): Likewise.
24830 (revoke): Likewise.
24831 (setlogin): Likewise.
24832 (sigaltstack): Likewise.
24834 (sigblock): Remove.
24835 (sigsetmask): Likewise.
24837 (waitpid): Likewise.
24838 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24839 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24841 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24842 * sysdeps/unix/bsd/Makefile: ... here.
24843 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24844 * sysdeps/unix/bsd/Versions: ... here.
24845 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24846 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24847 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24848 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24849 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24850 * sysdeps/unix/bsd/sigblock.c: ... here.
24851 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24852 * sysdeps/unix/bsd/sigsetmask.c: ... here.
24853 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24854 * sysdeps/unix/bsd/sigvec.c: ... here.
24855 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24856 * sysdeps/unix/bsd/tcdrain.c: ... here.
24857 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24858 * sysdeps/unix/bsd/tcgetattr.c: ... here.
24859 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24860 * sysdeps/unix/bsd/tcsetattr.c: ... here.
24861 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24862 * sysdeps/unix/bsd/wait.c: ... here.
24863 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24864 * sysdeps/unix/bsd/wait3.c: ... here.
24865 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24866 * sysdeps/unix/bsd/waitpid.c: ... here.
24868 2013-12-21 Joseph Myers <joseph@codesourcery.com>
24871 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24872 round-to-nearest for [!USE_AS_EXPM1L].
24873 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24874 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
24875 more tests of exp and exp10. Expect some exp10 tests to miss
24876 exceptions or fail in directed rounding modes.
24877 * math/auto-libm-test-out: Regenerated.
24878 * math/libm-test.inc (exp10_tonearest_test_data): New array.
24879 (exp10_test_tonearest): New function.
24880 (exp10_towardzero_test_data): New array.
24881 (exp10_test_towardzero): New function.
24882 (exp10_downward_test_data): New array.
24883 (exp10_test_downward): New function.
24884 (exp10_upward_test_data): New array.
24885 (exp10_test_upward): New function.
24886 (main): Call the new functions.
24887 * sysdeps/i386/fpu/libm-test-ulps: Update.
24888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24890 2013-12-20 Joseph Myers <joseph@codesourcery.com>
24892 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24893 asinh, atan, atan2, atanh, cbrt, cos and cosh.
24894 * math/auto-libm-test-out: Regenerated.
24895 * math/libm-test.inc (acosh_test_data): Add more tests.
24896 (atanh_test_data): Likewise.
24897 (ceil_test_data): Likewise.
24898 (copysign_test_data): Likewise.
24899 * sysdeps/i386/fpu/libm-test-ulps: Update.
24900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24902 * timezone/checktab.awk: Update from tzcode 2013i.
24903 * timezone/private.h: Likewise.
24904 * timezone/scheck.c: Likewise.
24905 * timezone/tzfile.h: Likewise.
24906 * timezone/tzselect.ksh: Likewise.
24907 * timezone/zdump.c: Likewise.
24908 * timezone/zic.c: Likewise.
24910 * math/auto-libm-test-in: Add tests of cpow.
24911 * math/auto-libm-test-out: Regenerated.
24912 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24913 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24915 (func_calc_desc): Add mpc_cc_c union field.
24916 (test_functions): Add cpow.
24917 (special_fill_2pi): New function.
24918 (special_real_inputs): Add 2pi.
24919 (calc_generic_results): Handle mpc_cc_c.
24920 * sysdeps/i386/fpu/libm-test-ulps: Update.
24921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24923 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24924 csqrt, ctan and ctanh.
24925 * math/auto-libm-test-out: Regenerated.
24926 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24927 (TEST_COND_x86): Likewise.
24928 (ccos_test_data): Use AUTO_TESTS_c_c.
24929 (ccosh_test_data): Likewise.
24930 (cexp_test_data): Likewise.
24931 (clog_test_data): Likewise.
24932 (csqrt_test_data): Likewise.
24933 (ctan_test_data): Likewise.
24934 (ctan_tonearest_test_data): Likewise.
24935 (ctan_towardzero_test_data): Likewise.
24936 (ctan_downward_test_data): Likewise.
24937 (ctan_upward_test_data): Likewise.
24938 (ctanh_test_data): Likewise.
24939 (ctanh_tonearest_test_data): Likewise.
24940 (ctanh_towardzero_test_data): Likewise.
24941 (ctanh_downward_test_data): Likewise.
24942 (ctanh_upward_test_data): Likewise.
24943 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24945 (func_calc_desc): Add mpc_c_c union field.
24946 (FUNC_mpc_c_c): New macro.
24947 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24948 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24950 (special_fill_min_subnorm_p120): New function.
24951 (special_real_inputs): Add min_subnorm_p120.
24952 (calc_generic_results): Handle mpc_c_c.
24953 * sysdeps/i386/fpu/libm-test-ulps: Update.
24954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24956 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24958 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24959 (do_sin_slow): New functions.
24960 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24961 (cslow2, csloww1, csloww2): Use the new functions.
24963 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24964 Use M to change sign of result instead of X. Assume X is
24966 (csloww1): Likewise.
24970 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24971 arguments A and DA.
24975 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24977 (sloww1): Don't adjust sign of DX.
24978 (csloww1): Likewise.
24979 (sloww2): Use X directly and don't adjust sign of DX.
24980 (csloww2): Likewise.
24982 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24984 * math/auto-libm-test-in: Add tests of cabs and carg.
24985 * math/auto-libm-test-out: Regenerated.
24986 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24987 (carg_test_data): Likewise.
24988 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24990 (func_calc_desc): Add mpc_c_f union field.
24991 (test_functions): Add cabs and carg.
24992 (calc_generic_results): Handle mpc_c_f.
24994 * sysdeps/powerpc/powerpc32/libgcc-compat.S
24995 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24996 as a macro and a compat symbol.
24997 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24998 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24999 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25000 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25001 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
25002 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25004 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25006 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25008 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25010 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25012 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25014 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25015 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25018 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25022 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25024 * manual/texinfo.tex: Update to version 2013-11-26.10 with
25025 trailing whitespace removed.
25026 * scripts/config.guess: Update to version 2013-11-29.
25027 * scripts/config.sub: Update to version 2013-10-01.
25029 * math/auto-libm-test-in: Add tests of sincos.
25030 * math/auto-libm-test-out: Regenerated.
25031 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25032 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25034 (func_calc_desc): Add mpfr_f_11 union field.
25035 (test_functions): Add sincos.
25036 (calc_generic_results): Handle mpfr_f_11.
25037 * sysdeps/i386/fpu/libm-test-ulps: Update.
25038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25040 2013-12-19 Andreas Schwab <schwab@suse.de>
25042 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25044 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25045 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25046 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25048 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25050 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25051 * sysdeps/i386/fpu/libm-test-ulps: Update.
25052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25055 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25056 round-to-nearest mode when using frndint.
25057 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25058 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25059 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25061 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
25063 * math/auto-libm-test-out: Regenerated.
25064 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25065 (TEST_COND_x86): Likewise.
25066 (expm1_tonearest_test_data): New array.
25067 (expm1_test_tonearest): New function.
25068 (expm1_towardzero_test_data): New array.
25069 (expm1_test_towardzero): New function.
25070 (expm1_downward_test_data): New array.
25071 (expm1_test_downward): New function.
25072 (expm1_upward_test_data): New array.
25073 (expm1_test_upward): New function.
25074 (main): Run the new test functions.
25075 * sysdeps/i386/fpu/libm-test-ulps: Update.
25076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25078 * include/features.h: Update comment documenting feature test
25079 macros. Mention _DEFAULT_SOURCE in comment.
25080 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25081 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25082 _BSD_SOURCE and _SVID_SOURCE.
25083 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25084 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25085 !_SVID_SOURCE]: Likewise.
25086 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25087 (__USE_POSIX_IMPLICITLY): Define.
25088 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25089 (_POSIX_SOURCE): Undefine and redefine.
25090 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25091 (_POSIX_C_SOURCE): Likewise.
25092 * manual/creature.texi (_DEFAULT_SOURCE): Document.
25093 (Feature Test Macros): Update documentation of default features.
25095 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25097 * benchtests/Makefile: Add bench-strtok.
25098 * benchtests/bench-strtok.c: New file: strtok benchtest.
25100 2013-12-19 Allan McRae <allan@archlinux.org>
25102 * manual/install.texi: Suppress menu for plain text output.
25103 * INSTALL: Regenerated.
25105 2013-12-18 Brooks Moses <bmoses@google.com>
25108 * misc/getauxval.c: Include errno.h.
25109 (__getauxval): Set errno to ENOENT if the requested type is not
25111 * misc/sys/auxv.h (getauxval): Document that it may set errno;
25112 don't declare with __attribute_const__.
25113 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25114 * manual/startup.texi: Document that getauxval sets errno.
25116 2013-12-18 Joseph Myers <joseph@codesourcery.com>
25118 * math/auto-libm-test-in: Add tests of jn and yn.
25119 * math/auto-libm-test-out: Regenerated.
25120 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25121 (yn_test_data): Likewise.
25122 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25124 (func_calc_desc): Add mpfr_if_f union field.
25125 (FUNC_mpfr_if_f): New macro.
25126 (test_functions): Add jn and yn.
25127 (calc_generic_results): Assert type of second input for
25128 mpfr_ff_f. Handle mpfr_if_f.
25129 (output_for_one_input_case): Disable all checking for arguments
25130 fitting floating-point types in case of an integer argument.
25131 * sysdeps/i386/fpu/libm-test-ulps: Update.
25132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25135 Don't expect fegetround reference in libm.so.
25137 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25139 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25140 $(config-cflags-nofma).
25142 2013-12-18 Joseph Myers <joseph@codesourcery.com>
25144 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25145 * math/auto-libm-test-out: Regenerated.
25148 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25149 to determine exponent and adjust argument to have exponent of -1.
25150 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25152 * math/auto-libm-test-out: Regenerated.
25153 * sysdeps/i386/fpu/libm-test-ulps: Update.
25154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25156 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
25158 * manual/probes.texi: Remove cases when per-thread arenas are
25161 2013-12-18 Andreas Schwab <schwab@suse.de>
25163 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25164 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25165 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25166 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25167 * sysdeps/i386/i686/multiarch/Makefile: Update.
25168 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25170 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25172 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25173 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25175 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
25178 Support TZ transition times < 00:00:00.
25179 This is needed for version-3 tz-format files; it supports time
25180 stamps past 2037 for America/Godthab (the only entry in the tz
25181 database for which this change is relevant).
25182 * manual/time.texi (TZ Variable): Document transition times
25183 from -167:59:59 through -00:00:01.
25184 * time/tzset.c (tz_rule): Time of day is now signed.
25185 (__tzset_parse_tz): Parse negative time of day.
25187 Document TZ transition times >= 25:00:00.
25188 * manual/time.texi (TZ Variable): Document transition times from
25189 25:00:00 through 167:59:59. These are already supported, and this
25190 support will help with version-3 tz-format files.
25192 * manual/time.texi (TZ Variable): Modernize North America example
25193 to reflect current (i.e., 2007-and-later) daylight saving rules.
25195 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25197 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25199 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25200 * sysdeps/unix/bsd/bits/stat.h: Likewise.
25201 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25202 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25203 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25204 * sysdeps/unix/bsd/bsdstat.h: Likewise.
25205 * sysdeps/unix/bsd/clock.c: Likewise.
25206 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25207 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25208 * sysdeps/unix/bsd/init-posix.c: Likewise.
25209 * sysdeps/unix/bsd/poll.c: Likewise.
25210 * sysdeps/unix/bsd/ptsname.c: Likewise.
25211 * sysdeps/unix/bsd/seekdir.c: Likewise.
25212 * sysdeps/unix/bsd/setegid.c: Likewise.
25213 * sysdeps/unix/bsd/seteuid.c: Likewise.
25214 * sysdeps/unix/bsd/setgid.c: Likewise.
25215 * sysdeps/unix/bsd/setrgid.c: Likewise.
25216 * sysdeps/unix/bsd/setruid.c: Likewise.
25217 * sysdeps/unix/bsd/setsid.c: Likewise.
25218 * sysdeps/unix/bsd/setuid.c: Likewise.
25219 * sysdeps/unix/bsd/sigaction.c: Likewise.
25220 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25221 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25222 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25223 * sysdeps/unix/bsd/telldir.c: Likewise.
25224 * sysdeps/unix/bsd/times.c: Likewise.
25225 * sysdeps/unix/bsd/usleep.c: Likewise.
25227 * misc/Makefile (install-lib): Remove libbsd-compat.a.
25228 ($(objpfx)libbsd-compat.a): Remove rule.
25230 * include/features.h (__FAVOR_BSD): Do not define.
25231 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25232 features conflicting with POSIX.
25233 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25234 (_BSD_SOURCE): Remove description of not being a subset of other
25235 feature test macros.
25236 * manual/job.texi (getpgrp): Do not document BSD version.
25237 (getpgid): Do not document by reference to BSD getpgrp.
25238 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25239 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25240 * signal/signal.h [__FAVOR_BSD]: Likewise.
25241 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25242 instead of making contents conditional on [__FAVOR_BSD].
25243 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25245 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25249 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25252 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25253 values below 2**-450, not 2**-500.
25254 * math/auto-libm-test-in: Don't allow spurious underflow from
25256 * math/auto-libm-test-out: Regenerated.
25260 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25261 values of ha and hb and sort them after adjusting subnormal
25263 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25265 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25266 values of ea and eb and sort them after adjusting subnormal
25268 * math/auto-libm-test-in: Do not expect some hypot tests of
25269 subnormals to fail. Add more hypot tests.
25270 * math/auto-libm-test-out: Regenerated.
25272 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25275 * sysdeps/sh/s_fma.c: New file.
25276 * sysdeps/sh/s_fmaf.c: New file.
25277 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
25279 * sysdeps/sh/Implies: Add sh/soft-fp.
25281 2013-12-16 Roland McGrath <roland@hack.frob.com>
25283 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
25284 level of indirection to members `objname', `errstring', `malloced'.
25285 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25286 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
25287 it as the __longjmp argument (just pass 1 instead).
25288 (_dl_catch_error): Initialize C with argument pointers and address of
25289 volatile local ERRCODE rather than copying values out of C at return.
25291 2013-12-16 Joseph Myers <joseph@codesourcery.com>
25293 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25294 * math/auto-libm-test-out: Regenerated.
25295 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25296 (hypot_test_data): Likewise.
25297 (pow_test_data): Likewise.
25298 (pow_tonearest_test_data): Likewise.
25299 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25301 (func_calc_desc): Add mpfr_ff_f union field.
25302 (FUNC_mpfr_ff_f): New macro.
25303 (test_functions): Add atan2, hypot and pow.
25304 (special_fill_min): New function.
25305 (special_fill_minus_min): Likewise.
25306 (special_fill_min_subnorm): Likewise.
25307 (special_fill_minus_min_subnorm): Likewise.
25308 (special_real_inputs): Add min, -min, min_subnorm and
25310 (calc_generic_results): Handle mpfr_ff_f.
25311 * sysdeps/i386/fpu/libm-test-ulps: Update.
25312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25314 2013-12-16 Will Newton <will.newton@linaro.org>
25316 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25317 (Aligned Memory Blocks): Add documentation for aligned_alloc
25318 and suggest it as an alternative to posix_memalign.
25319 (Hooks for Malloc): Document __memalign_hook is also called
25320 for aligned_alloc. (Summary of Malloc): Add summary for
25321 aligned alloc. Document __memalign_hook is also called
25324 2013-12-16 Will Newton <will.newton@linaro.org>
25326 * manual/memory.texi (Malloc Examples): Clarify default
25327 alignment documentation. Suggest posix_memalign rather
25328 than memalign or valloc.
25329 (Aligned Memory Blocks): Remove suggestion to use memalign
25330 or valloc. Remove obsolete comment about BSD.
25331 Document memalign errno values and mark the function obsolete.
25332 Document posix_memalign returned error codes. Mark valloc
25333 as obsolete. (Hooks for Malloc): __memalign_hook is also
25334 called for posix_memalign and valloc.
25335 (Summary of Malloc): Add posix_memalign to function summary.
25336 __memalign_hook is also called for posix_memalign and valloc.
25338 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25340 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25344 (sloww): Use mynumber union. Expand ternary operator into
25345 if-else statements.
25346 (cslow): use mynumber union.
25348 2013-12-16 Allan McRae <allan@archlinux.org>
25350 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25351 * configure: Regenerated.
25353 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25356 * configure.ac: Added --enable-maintainer-mode. Check for
25357 autoconf when enabled.
25358 * configure: Regenerated.
25360 * nscd/nscd.service: New file.
25361 * nscd/nscd.tmpfiles: New file.
25363 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
25366 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25367 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25368 * sysdeps/x86_64/multiarch/strstr.c: ... here.
25369 (strstr): Add __strstr_sse2_unaligned ifunc.
25370 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25371 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25372 (strcasestr): Remove __strcasestr_sse42 ifunc.
25373 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25374 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25377 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25379 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25380 * sysdeps/sh/bits/fenv.h: ... here.
25381 * sysdeps/sh/sh4/fpu/bits: Remove directory.
25383 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25385 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25388 hypotf multiarch implementations.
25389 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25390 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25391 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25392 multiarch hypot for PPC64.
25393 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25394 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25395 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25396 multiarch hypotf for PPC64.
25398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25399 modff multiarch implementations.
25400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25403 multiarch modf for PPC64.
25404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25407 multiarch modff for PPC64.
25409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25410 and logl multiarch implementations.
25411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25414 multiarch logb for PPC64.
25415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25418 multiarch logb for PPC64.
25419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25422 multiarch logb for PPC64.
25424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25425 isinff multiarch implementation.
25426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25430 multiarch isinf for PPC64.
25431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25434 multiarch isinff for PPC64.
25436 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25437 finitef multiarch implementation.
25438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25442 multiarch finite for PPC64.
25443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25446 multiarch finitef for PPC64.
25448 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25449 lrint multiarch implementation.
25450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25454 multiarch llrint for PPC64.
25455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25456 multiarch lrint for PPC64.
25458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25459 copysignf multiarch implementation.
25460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25465 multiarch copysign for PPC64.
25466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25467 multiarch copysignf for PPC64.
25469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25470 multiarch implementation.
25471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25479 multiarch llround for PPC64.
25480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25481 multiarch trunc for PPC64.
25482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25483 multiarch truncf for PPC64.
25485 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25486 multiarch implementation.
25487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25495 multiarch llround for PPC64.
25496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25497 multiarch round for PPC64.
25498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25499 multiarch roundf for PPC64.
25501 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25502 multiarch implementation.
25503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25511 multiarch llround for PPC64.
25512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25513 multiarch floor for PPC64.
25514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25515 multiarch floorf for PPC64.
25517 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25518 multiarch implementation.
25519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25527 multiarch llround for PPC64.
25528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25529 multiarch ceil for PPC64.
25530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25531 multiarch ceilf for PPC64.
25533 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25534 multiarch implementation.
25535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25542 multiarch llround for PPC64.
25543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25544 multiarch lround for PPC64.
25546 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25547 multiarch implementation.
25548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25555 multiarch isnan for PPC64.
25556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25557 multiarch isnanf for PPC64.
25559 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25560 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25561 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25562 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25563 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25566 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25567 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25568 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25569 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25572 multiarch implementations.
25573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25574 (__libc_ifunc_impl_list): Likewise.
25575 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25576 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25577 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25578 multiarch stpcpy for PPC64.
25580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25581 multiarch implementations.
25582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25583 (__libc_ifunc_impl_list): Likewise.
25584 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25585 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25586 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25587 multiarch strcpy for PPC64.
25589 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25590 redefine function name.
25591 (_wordcopy_fwd_dest_aligned): Likewise.
25592 (_wordcopy_bwd_aligned): Likewise.
25593 (_wordcopy_bwd_dest_aligned): Likewise.
25594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25595 multiarch implementations.
25596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25597 (__libc_ifunc_impl_list): Likewise.
25598 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25599 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25600 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25601 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25602 multiarch wcscpy for PPC64.
25604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25605 multiarch implementations.
25606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25607 (__libc_ifunc_impl_list): Likewise.
25608 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25609 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25610 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25611 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25612 multiarch wcscpy for PPC64.
25614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25615 multiarch implementations.
25616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25617 (__libc_ifunc_impl_list): Likewise.
25618 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25619 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25620 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25621 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25622 multiarch wcsrchr for PPC64.
25624 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25625 multiarch implementations.
25626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25627 (__libc_ifunc_impl_list): Likewise.
25628 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25629 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25630 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25631 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25632 multiarch wcschr for PPC64.
25634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25635 multiarch implementations.
25636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25637 (__libc_ifunc_impl_list): Likewise.
25638 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25639 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25640 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25641 multiarch strchrnul for PPC64.
25643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25646 (__libc_ifunc_impl_list): Likewise.
25647 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25648 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25649 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25650 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25656 (__libc_ifunc_impl_list): Likewise.
25657 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25658 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25659 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25660 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25663 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25664 multiarch implementations.
25665 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25666 (__libc_ifunc_impl_list): Likewise.
25667 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25668 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25669 strncasecmp for PPC64.
25670 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25671 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25672 multiarch strncasecmp_l for PPC64.
25674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25675 multiarch implementations.
25676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25677 (__libc_ifunc_impl_list): Likewise.
25678 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25679 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25680 multiarch strcasecmp for PPC64.
25681 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25683 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25684 multiarch strcasecmp_l for PPC64.
25686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25689 (__libc_ifunc_impl_list): Likewise.
25690 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25691 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25692 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25698 (__libc_ifunc_impl_list): Likewise.
25699 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25700 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25701 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25707 (__libc_ifunc_impl_list): Likewise.
25708 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25709 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25710 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25711 rawmemrchr for PPC64.
25713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25716 (__libc_ifunc_impl_list): Likewise.
25717 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25718 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25719 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25725 (__libc_ifunc_impl_list): Likewise.
25726 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25727 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25728 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25734 (__libc_ifunc_impl_list): Likewise.
25735 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25736 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25737 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25740 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25741 avoid cretion of __bzero symbol.
25742 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25744 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25746 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25749 multiarch implementations.
25750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25751 (__libc_ifunc_impl_list): Likewise.
25752 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25753 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25754 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25755 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25757 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25758 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25759 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25760 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25761 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25763 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25765 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25766 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25769 (__libc_ifunc_impl_list): Likewise.
25770 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25771 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25772 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25773 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25777 multiarch for POWER/PPC64.
25778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25779 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25780 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25781 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25782 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25783 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25784 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25785 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25786 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25789 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25790 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25791 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25792 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25793 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25794 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25795 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25796 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25797 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25798 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25799 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25800 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25801 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25802 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25803 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25812 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25814 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25816 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25818 * benchtests/Makefile (bench): Add exp2 and log2.
25819 (LDLIBS-bench-exp2): Add -lm.
25820 (LDLIBS-bench-log2): Likewise.
25821 * benchtests/exp2-inputs: New inputs file.
25822 * benchtests/log2-inputs: New inputs file.
25823 * benchtests/log-inputs: Add new inputs.
25824 * benchtests/tan-inputs: Likewise.
25826 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25828 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25830 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25831 (csloww2): ... from here.
25833 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25834 instead of structures.
25835 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25836 (POLYNOMIAL): Likewise.
25837 (TAYLOR_SLOW): Likewise.
25843 (sloww1); Likewise.
25844 (sloww2): Likewise.
25845 (bsloww1): Likewise.
25846 (bsloww2): Likewise.
25847 (cslow2): Likewise.
25848 (csloww): Likewise.
25849 (csloww1): Likewise.
25850 (csloww2): Likewise.
25852 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
25854 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25855 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25856 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25857 * malloc/hooks.c (realloc_check): Likewise.
25859 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25860 * malloc/arena.c: Remove PER_THREAD conditional.
25861 [!PER_THREAD]: Remove code.
25862 (ptmalloc_unlock_all2): Likewise.
25863 (ptmalloc_init): Likewise.
25864 (_int_new_arena): Likewise.
25865 (arena_get2): Likewise.
25866 * malloc/hooks.c (__malloc_get_state): Likewise.
25867 (__malloc_set_state): Likewise.
25868 * malloc/malloc.c: Likewise.
25869 (struct malloc_state): Likewise.
25870 (struct malloc_par): Likewise.
25871 (__libc_realloc): Likewise.
25872 (__libc_mallopt): Likewise.
25874 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25876 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25878 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
25880 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25881 macro to a function. Check for zero perturb_byte.
25882 (_int_malloc, _int_free): Remove zero perturb_byte checks.
25884 * malloc/malloc.c: (force_reg): Remove.
25885 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25886 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25887 force_reg by atomic_forced_read.
25888 * malloc/arena.c (ptmalloc_init): Likewise.
25889 * malloc/hooks.c (top_check): Likewise.
25891 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25895 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
25897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25899 2013-12-08 Joseph Myers <joseph@codesourcery.com>
25901 * math/auto-libm-test-in: Add tests of lgamma.
25902 * math/auto-libm-test-out: Regenerated.
25903 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25904 (M_LOG_2_SQRT_PIl): Likewise.
25905 (lgamma_test_data): Use AUTO_TESTS_f_f1.
25906 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25908 (func_calc_desc): Add mpfr_f_f1 union field.
25909 (ARGS1): New macro.
25917 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25918 (test_functions): Add lgamma.
25919 (calc_generic_results): Handle mpfr_f_f1.
25920 * sysdeps/i386/fpu/libm-test-ulps: Update.
25921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25923 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25925 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25926 __mpn_add_n for PowerPC64/POWER7.
25927 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25928 __mpn_sub_n for PowerPC64/POWER7.
25930 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25931 __mpn_addmul_1 for PowerPC64.
25932 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25933 __mpn_submul_1 for PowerPC64.
25934 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25936 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25939 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
25942 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25944 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25946 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25948 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25949 add multiarch folders.
25950 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25951 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25952 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25953 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25954 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25955 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25956 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25957 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25958 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25959 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25960 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25969 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25975 multiarch __ieee754_hypot for PowerPC32.
25976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25981 multiarch __ieee754_hypotf for PowerPC32.
25983 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25984 long_double_symbol only if __logbl is defined.
25985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25986 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25987 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25988 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25989 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25990 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25991 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25992 path for implementation.
25993 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25994 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25996 logb, and logbl multiarch implementations for PowerPC32.
25997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
26001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
26002 multiarch logb for PowerPC32.
26003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26008 multiarch logbf for PowerPC32.
26009 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26013 multiarch logbl implementation for PowerPC32.
26015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26016 and modff multiarch implementations.
26017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26022 multiarch modf for PowerPC32.
26023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26028 multiarch modff for PowerPC32.
26030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26031 and lrintf multiarch implementations.
26032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26037 multiarch lrint for PowerPC32.
26038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26039 file: multiarch lrintf for PowerPC32.
26041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26042 and lroundf multiarch implementations.
26043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26050 multiarch lround for PowerPC32.
26051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26052 file: multiarch lroundf for PowerPC32.
26054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26055 copysign and copysignf multiarch implementations.
26056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26061 file: multiarch copysign for PowerPC32.
26062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26063 file: multiarch copysignf for PowerPC32.
26065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26066 and truncf multiarch implementations.
26067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26072 multiarch trunc for PowerPC32.
26073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26078 multiarch truncf for PowerPC32.
26080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26081 and roundf multiarch implementations.
26082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26087 multiarch round for PowerPC32.
26088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26093 multiarch roundf for PowerPC32.
26095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26096 and floorf multiarch implementations.
26097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26102 multiarch floor for PowerPC32.
26103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26108 multiarch floorf for PowerPC32.
26110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26111 and ceilf multiarch implementations.
26112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26117 multiarch ceil for PowerPC32.
26118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26123 multiarch ceilf for PowerPC32.
26125 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26127 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26128 FINITEF is defined.
26129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26130 and finitef multiarch implementations.
26131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26136 multiarch finite for PowerPC32.
26137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26140 file: multiarch finitef for PowerPC32.
26142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26143 and isinff multiarch implementations.
26144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26149 multiarch isinf for PowerPC32.
26150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26153 multiarch isinff for PowerPC32.
26155 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26156 alias when __isnan is defined.
26157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26158 and isnanf multiarch implementations.
26159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26168 multiarch isnan for PowerPC32.
26169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26174 multiarch isnanf for PowerPC32.
26176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26177 and sqrtf multiarch implementations.
26178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26183 multiarch sqrt for PowerPC32.
26184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26189 multiarch sqrtf for PowerPC32.
26191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26192 and llroundf multiarch implementations.
26193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26200 file: multiarch llround for PowerPC32.
26201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26202 file: multiarch llroundf for PowerPC32.
26204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26205 multiarch PowerPC32 fpu implementations.
26206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26211 multiarch llrint for PowerPC32.
26212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26221 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26223 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26225 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26227 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26228 multiarch wordcopy for PPC32.
26229 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26231 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26232 (__libc_ifunc_impl_list): Likewise.
26233 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26234 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26235 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26236 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26237 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26238 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26240 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26243 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26245 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26248 multiarch wcscpy for PPC32.
26249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26252 (__libc_ifunc_impl_list): Likewise.
26253 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26254 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26255 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26256 sysdeps/powerpc/power6/wcscpy.c.
26258 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26259 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26261 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26265 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26266 multiarch wcsrchr for PPC32.
26267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26270 (__libc_ifunc_impl_list): Likewise.
26271 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26272 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26273 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26274 sysdeps/powerpc/power6/wcsrchr.c.
26276 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26278 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26280 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26282 multiarch wcschr for PPc32.
26283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26286 (__libc_ifunc_impl_list): Likewise.
26287 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26288 * sysdeps/powerpc/power6/wcschr.c: ... to here.
26289 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26290 sysdeps/powerpc/power6/wcschr.c.
26292 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26293 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26295 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26296 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26297 file: multiarch strchr for PPC32.
26298 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26300 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26301 (__libc_ifunc_impl_list): Likewise.
26303 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26305 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26307 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26309 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26310 multiarch strchrnul for PPC32.
26311 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26313 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26314 (__libc_ifunc_impl_list): Likewise.
26316 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26318 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26319 multiarch strncasecmp for PPC32.
26320 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26322 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26323 multiarch strncasecmp_l for PPC32.
26324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26325 strncasecmp multiarch objects.
26326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26327 (__libc_ifunc_impl_list): Likewise.
26329 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26331 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26332 multiarch strncasecmp for PPC32.
26333 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26335 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26336 multiarch strcasecmp_l for PPC32.
26337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26340 (__libc_ifunc_impl_list): Likewise.
26342 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26344 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26346 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26347 multiarch strncmp for PPC32.
26348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26350 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26351 (__libc_ifunc_impl_list): Likewise.
26353 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26354 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26356 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26357 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26361 (__libc_ifunc_impl_list): Likewise.
26363 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26365 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26367 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26368 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26370 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26371 (__libc_ifunc_impl_list): Likewise.
26373 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26375 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26377 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26378 multiarch rawmemchr for PPC32.
26379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26382 (__libc_ifunc_impl_list): Likewise.
26384 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26386 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26388 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26389 file: memrchr multiarch for PPC32.
26390 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26392 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26393 (__libc_ifunc_impl_list): Likewise.
26395 * string/memchr.c (__memchr): Using macro to redefine symbol name.
26396 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26398 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26399 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26400 multiarch memchr for PPC32.
26401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26404 (__libc_ifunc_impl_list): Likewise.
26406 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26407 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26409 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26411 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26412 file: multiarch mempcpy for PPC32.
26413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26416 (__libc_ifunc_impl_list): Likewise.
26418 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26419 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26420 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26421 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26422 multiarch bzero for PPC32.
26423 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26425 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26427 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26428 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26429 file: multiarch memset for PPC32.
26430 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26431 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26432 memset multiarch objects.
26433 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26434 (__libc_ifunc_impl_list): Likewise.
26436 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26438 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26439 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26441 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26445 (__libc_ifunc_impl_list): Likewise.
26447 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26448 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26449 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26451 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26453 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26455 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26456 multiarch memcpy for PPC32.
26457 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26459 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26460 (__libc_ifunc_impl_list): Likewise.
26462 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26463 support multiarch for POWER/PPC32.
26464 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26466 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26468 Implies file to make multiarch folder appers before the fpu and
26469 default folder for power4 configuration.
26471 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26473 * scripts/bench.pl: Append volatile keyword to type.
26475 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26477 * sysdeps/sh/sotruss-lib.c: New file.
26478 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26480 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26484 2013-12-05 Joseph Myers <joseph@codesourcery.com>
26487 * math/w_tgamma.c: Include <errno.h>.
26488 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
26489 * math/w_tgammaf.c: Include <errno.h>.
26490 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
26491 * math/w_tgammal.c: Include <errno.h>.
26492 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
26493 * math/auto-libm-test-in: Do not allow missing errno on tgamma
26494 underflow. Add more tgamma tests.
26495 * math/auto-libm-test-out: Regenerated.
26496 * sysdeps/i386/fpu/libm-test-ulps: Update.
26497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26499 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26500 sin, sinh, tan, tanh, tgamma, y0 and y1.
26501 * math/auto-libm-test-out: Regenerated.
26502 * math/libm-test.inc (TEST_COND_x86_64): New macro.
26503 (TEST_COND_x86): Likewise.
26504 (M_E2l): Remove macro.
26506 (M_2_SQRT_PIl): Likewise.
26507 (M_SQRT_PIl): Likewise.
26508 (M_1_DIV_El): Likewise.
26509 (log_test_data): Use AUTO_TESTS_f_f.
26510 (log10_test_data): Likewise.
26511 (log1p_test_data): Likewise.
26512 (log2_test_data): Likewise.
26513 (sin_test_data): Likewise.
26514 (sin_tonearest_test_data): Likewise.
26515 (sin_towardzero_test_data): Likewise.
26516 (sin_downward_test_data): Likewise.
26517 (sin_upward_test_data): Likewise.
26518 (sinh_test_data): Likewise.
26519 (sinh_tonearest_test_data): Likewise.
26520 (sinh_towardzero_test_data): Likewise.
26521 (sinh_downward_test_data): Likewise.
26522 (sinh_upward_test_data): Likewise.
26523 (tan_test_data): Likewise.
26524 (tan_tonearest_test_data): Likewise.
26525 (tan_towardzero_test_data): Likewise.
26526 (tan_downward_test_data): Likewise.
26527 (tan_upward_test_data): Likewise.
26528 (tanh_test_data): Likewise.
26529 (tgamma_test_data): Likewise.
26530 (y0_test_data): Likewise.
26531 (y1_test_data): Likewise.
26532 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26533 (special_real_inputs): Add pi/4.
26534 * sysdeps/i386/fpu/libm-test-ulps: Update.
26535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26537 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26539 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26540 "longjmp_target" static probes.
26541 (__longjmp): Rename to __longjmp_symbol.
26542 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26543 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26544 on which longjmp to generate.
26545 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26546 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26548 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26549 (__sigjmp_save): Rename to __sigjmp_save_symbol.
26550 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26551 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26552 and __sigjmp_save_symbol based on which sigsetjmp to generated.
26553 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26555 __longjmp_symbol based on which __longjmp to generate.
26556 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26558 (setjmp): Rename to setjmp_symbol.
26559 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26560 (_setjmp): Rename to _setjmp_symbol.
26561 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26562 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26563 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26564 which setjmp to generate.
26565 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26566 "longjmp_target" static probes.
26568 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26570 * benchtests/README: Add note about output arguments.
26571 * benchtests/bench-sincos.c: Remove file.
26572 * benchtests/sincos-inputs: New file.
26573 * scripts/bench.pl: Identify output arguments and define
26574 static variables for them.
26576 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26579 * Makefile (INSTALL): Add install-plain.texi as the primary
26581 * manual/install-plain.texi: New file.
26582 * manual/install.texi: Include node directive only for
26583 non-plaintext output.
26585 2013-12-04 Joseph Myers <joseph@codesourcery.com>
26587 * stdlib/longlong.h: Update from GCC.
26591 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26592 * math/w_j0f.c (y0f): Likewise.
26593 * math/w_j0l.c (__y0l): Likewise.
26594 * math/w_j1.c (y1): Likewise.
26595 * math/w_j1f.c (y1f): Likewise.
26596 * math/w_j1l.c (__y1l): Likewise
26597 * math/w_jn.c (yn): Likewise.
26598 * math/w_jnf.c (ynf): Likewise.
26599 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26600 Bessel function pole errors in _POSIX_ mode. Use NAN as return
26601 value for Bessel function domain errors outside _SVID_ mode.
26602 Adjust sign of return value for yn (negative integer, 0).
26603 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26604 by zero in return for negative x and set sign appropriately for
26606 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26607 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26608 * math/libm-test.inc (y0_test_data): Add more tests and adjust
26609 expectations in error cases.
26610 (y1_test_data): Likewise.
26611 (yn_test_data): Likewise.
26612 * sysdeps/i386/fpu/libm-test-ulps: Update.
26613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26615 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26617 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26618 "64" to "64-v1". Add "64-v2".
26619 (abi-64-options): Rename to ...
26620 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
26621 (abi-64-condition): Rename to ...
26622 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
26623 (abi-64-ld-soname): Rename to ...
26624 (abi-64-v1-ld-soname): ... this.
26625 (abi-64-v2-options): Define.
26626 (abi-64-v2-condition): Likewise.
26627 (abi-64-v2-ld-soname): Likewise.
26628 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26629 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26634 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26635 Alan Modra <amodra@gmail.com>
26637 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26638 New versions for use with the ELFv2 ABI.
26639 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26640 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26642 (struct La_ppc64v2_retval): Likewise.
26643 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26644 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26645 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26646 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26647 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26648 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26649 Do not save or restore CR.
26650 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26651 (_dl_profile_resolve): Do no save or restore CR. Support extended
26652 return values for ELFv2 ABI. Fix location of FPR return registers.
26653 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26654 updated values for _CALL_ELF == 2.
26655 (La_regs, La_retval, int_retval): Likewise.
26657 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26659 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26660 (FRAME_MIN_SIZE_PARM): Likewise.
26661 (FRAME_BACKCHAIN): Likewise.
26662 (FRAME_CR_SAVE): Likewise.
26663 (FRAME_LR_SAVE): Likewise.
26664 (FRAME_TOC_SAVE): Likewise.
26665 (FRAME_PARM_SAVE): Likewise.
26666 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26667 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26668 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26669 (call_mcount_parm_offset): New macro.
26670 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26671 (PROF): Use symbolic stack frame offsets.
26672 (TAIL_CALL_SYSCALL_ERROR): Likewise.
26673 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26674 Redefine in terms of FRAME_MIN_SIZE.
26675 (_dl_runtime_resolve): Use symbolic stack frame offsets.
26676 (_dl_profile_resolve): Likewise. Update comment.
26677 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26678 symbols stack frame offsets.
26679 (__sigsetjmp): Likewise.
26680 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26681 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26682 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26683 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26686 (FRAME_BACKCHAIN): Remove.
26687 (FRAME_CR_SAVE): Likewise.
26688 (FRAME_LR_SAVE): Likewise.
26689 (FRAME_COMPILER_DW): Likewise.
26690 (FRAME_LINKER_DW): Likewise.
26691 (FRAME_TOC_SAVE): Likewise.
26692 (FRAME_PARM_SAVE): Likewise.
26693 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26694 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26695 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26697 (CHECK_SP): Use symbolic stack frame offsets.
26698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26699 zone" instead of caller's parameter save area for temp storage.
26700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26701 Likewise. Also, use symbolic stack frame offsets.
26702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26703 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26704 our own stack frame instead of the caller's.
26705 (__socket): Use symbolic stack frame offsets.
26707 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26708 Alan Modra <amodra@gmail.com>
26710 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26712 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26713 (PPC64_LOCAL_ENTRY_OFFSET): Define.
26714 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26716 (elf_machine_fixup_plt): Call it.
26717 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
26719 (elf_machine_rela): Update call to elf_machine_plt_conflict.
26720 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26721 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26722 r2 before calling target.
26724 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26725 Alan Modra <amodra@gmail.com>
26727 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26728 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26729 versions of macros to support ELFv2 ABI.
26730 (LOCALENTRY): New macro.
26731 (ENTRY, EALIGN): Use it.
26732 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26733 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26734 fall through into ENTRY entry point.
26735 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26736 Only define if _CALL_ELF != 2.
26738 (elf_machine_matches_host): Verify ABI version matches.
26739 (RTLD_START): Use LOCALENTRY.
26740 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26741 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26742 (PLT_ENTRY_WORDS): New macro.
26743 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26744 (elf_machine_runtime_setup): Support ELFv2 ABI.
26745 (elf_machine_fixup_plt): Likewise.
26746 (elf_machine_plt_conflict): Likewise.
26747 (resolve_ifunc): Likewise.
26748 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26749 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26752 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26754 (makecontext): Support ELFv2 ABI.
26755 * elf/elf.h (EF_PPC64_ABI): Define.
26757 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26759 * sysdeps/powerpc/powerpc64/sysdep.h
26760 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26761 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26762 (ENTRY) [ASSEMBLER]: ... but instead here ...
26763 (EALIGN) [ASSEMBLER]: ... and here.
26764 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26765 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26766 (ENTRY_2) [!ASSEMBLER]: Use it.
26767 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26768 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
26769 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26770 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26771 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26773 Use PPC64_LOAD_FUNCPTR.
26775 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26777 2013-12-04 Alan Modra <amodra@gmail.com>
26779 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26780 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26781 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26782 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26784 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26785 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26786 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26787 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26788 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26789 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26791 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26794 (__makecontext): Fix incorrect CFI when backtracing out of
26795 context created via makecontext.
26796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26797 (__setcontext): Fix incorrect CFI during switch to new context.
26798 (__novec_setcontext): Likewise.
26800 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26803 * time/strptime_l.c (__strptime_internal): Allow modifiers
26805 * time/tst-strptime.c (day_tests): Add testcase.
26807 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26809 * scripts/bench.pl: Skip over blank lines.
26811 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
26814 * manual/time.texi (Calendar Time): Clarify what timezone functions
26817 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26821 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26823 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26825 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26826 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26827 * debug/memset_chk.c (__memset_chk): Likewise.
26828 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26829 * debug/strncpy_chk.c: Likewise.
26831 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26835 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26836 (__ieee754_exp): For possibly underflowing results, check size of
26837 result and force underflow exception if required.
26838 * math/auto-libm-test-in: Add more tests of exp.
26839 * math/auto-libm-test-out: Regenerated.
26840 * sysdeps/i386/fpu/libm-test-ulps: Update.
26841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26844 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26845 * math/w_exp2f.c (__exp2f): Likewise.
26846 * math/w_exp2l.c (__exp2l): Likewise.
26847 * math/auto-libm-test-in: Do not allow missing errno on exp2
26849 * math/auto-libm-test-out: Regenerated.
26851 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
26854 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26855 handle filename validation.
26856 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26859 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26862 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26863 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26864 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26866 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26867 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26868 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26869 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26870 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26871 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26872 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26873 * math/auto-libm-test-in: Don't allow missing errno from erfc.
26874 Add more erfc tests.
26875 * math/auto-libm-test-out: Regenerated.
26876 * sysdeps/i386/fpu/libm-test-ulps: Update.
26877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26879 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26880 exp2, expm1, j0 and j1.
26881 * math/auto-libm-test-out: Regenerated.
26882 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26883 (erfc_test_data): Likewise.
26884 (exp_test_data): Likewise.
26885 (exp_tonearest_test_data): Likewise.
26886 (exp_towardzero_test_data): Likewise.
26887 (exp_downward_test_data): Likewise.
26888 (exp_upward_test_data): Likewise.
26889 (exp10_test_data): Likewise.
26890 (exp2_test_data): Likewise.
26891 (expm1_test_data): Likewise.
26892 (j0_test_data): Likewise.
26893 (j1_test_data): Likewise.
26894 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26895 (input_flag_type): Add flag_xfail_rounding.
26896 (input_flags): Add xfail-rounding.
26897 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26898 (output_for_one_input_case): Handle flag_xfail_rounding.
26899 * sysdeps/i386/fpu/libm-test-ulps: Update.
26900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26902 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
26905 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26908 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26911 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26912 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26913 (STAP_PROBE0): New macro.
26914 (STAP_PROBE1): Likewise.
26915 (STAP_PROBE2): Likewise.
26916 (STAP_PROBE3): Likewise.
26917 (STAP_PROBE4): Likewise.
26919 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
26921 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26923 2013-12-02 Steve Ellcey <sellcey@mips.com>
26925 * benchtests/Makefile (bench): Add sqrt.
26926 (LDLIBS-bench-sqrt): New.
26927 * benchtests/sqrt-input: New.
26929 2013-12-02 Pavel Simerda <psimerda@redhat.com>
26931 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26932 (GAIH_EAI): Likewise.
26933 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26934 (gaih_inet): Likewise.
26935 (getaddrinfo): Don't use GAIH_EAI.
26937 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26938 (struct gaih): Remove definition.
26940 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26942 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26943 Use HERRNOP directly.
26945 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26949 2013-11-30 Joseph Myers <joseph@codesourcery.com>
26951 * math/gen-auto-libm-tests.c (test_functions): Add more
26952 single-argument functions.
26953 (special_fill_pi_2): New function.
26954 (special_fill_minus_pi_2): Likewise.
26955 (special_fill_pi_6): Likewise.
26956 (special_fill_minus_pi_6): Likewise.
26957 (special_fill_pi_3): Likewise.
26958 (special_fill_2pi_3): Likewise.
26959 (special_fill_e): Likewise.
26960 (special_fill_1_e): Likewise.
26961 (special_fill_e_minus_1): Likewise.
26962 (special_real_inputs): Add more special inputs.
26963 (output_for_one_input_case): Do not require ERANGE on underflow to
26964 zero if round-to-nearest result does not underflow to zero, unless
26965 exact results required.
26966 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26967 atan, atanh, cbrt, cos and cosh.
26968 * math/auto-libm-test-out: Regenerated.
26969 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26970 (acos_tonearest_test_data): Likewise.
26971 (acos_towardzero_test_data): Likewise.
26972 (acos_downward_test_data): Likewise.
26973 (acos_upward_test_data): Likewise.
26974 (acosh_test_data): Likewise.
26975 (asin_test_data): Likewise.
26976 (asin_tonearest_test_data): Likewise.
26977 (asin_towardzero_test_data): Likewise.
26978 (asin_upward_test_data): Likewise.
26979 (asinh_test_data): Likewise.
26980 (atan_test_data): Likewise.
26981 (atanh_test_data): Likewise.
26982 (cbrt_test_data): Likewise.
26983 (cos_test_data): Likewise.
26984 (cos_tonearest_test_data): Likewise.
26985 (cos_towardzero_test_data): Likewise.
26986 (cos_downward_test_data): Likewise.
26987 (cos_upward_test_data): Likewise.
26988 (cosh_test_data): Likewise.
26989 (cosh_tonearest_test_data): Likewise.
26990 (cosh_towardzero_test_data): Likewise.
26991 (cosh_downward_test_data): Likewise.
26992 (cosh_upward_test_data): Likewise.
26993 * sysdeps/i386/fpu/libm-test-ulps: Update.
26994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26996 2013-11-29 Joseph Myers <joseph@codesourcery.com>
26999 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
27000 * math/w_exp10f.c (__exp10f): Likewise.
27001 * math/w_exp10l.c (__exp10l): Likewise.
27002 * math/libm-test.inc (exp10_test_data): Add more tests and expect
27003 errno settings in existing tests.
27006 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27007 precision control set to double precision.
27008 * sysdeps/i386/fpu/w_sqrt.c: New file.
27009 * math/auto-libm-test-in: Add more tests.
27010 * math/auto-libm-test-out: Update.
27012 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27013 (sqrt_test_tonearest): New function.
27014 (sqrt_towardzero_test_data): New variable.
27015 (sqrt_test_towardzero): New function.
27016 (sqrt_downward_test_data): New variable.
27017 (sqrt_test_downward): New function.
27018 (sqrt_upward_test_data): New variable.
27019 (sqrt_test_upward): New function.
27020 (main): Call the new functions.
27022 * math/gen-auto-libm-tests.c: New file.
27023 * math/auto-libm-test-in: Likewise.
27024 * math/auto-libm-test-out: New generated file.
27025 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27027 (%beautify): Add generated representations of zero.
27028 (top level): Set $auto_input and call parse_auto_input.
27029 (beautify): Remove trailing "f" from hex float constants.
27030 (parse_args): Handle XFAIL_TEST.
27031 (convert_condition): New function.
27032 (or_value): Likewise.
27033 (or_cond_value): Likewise.
27034 (generate_testfile): Handle AUTO_TESTS_* lines.
27035 (parse_auto_input): New function.
27036 * math/libm-test.inc (XFAIL_TEST): New macro.
27037 (ERRNO_UNCHANGED): Update value.
27038 (ERRNO_EDOM): Likewise.
27039 (ERRNO_ERANGE): Likewise.
27040 (IGNORE_RESULT): Likewise.
27041 (TEST_COND_flt_32): New macro.
27042 (TEST_COND_dbl_64): Likewise.
27043 (TEST_COND_ldbl_96_intel): Likewise.
27044 (TEST_COND_ldbl_96_m68k): Likewise.
27045 (TEST_COND_ldbl_128): Likewise.
27046 (TEST_COND_ldbl_128ibm): Likewise.
27047 (TEST_COND_long32): Likewise.
27048 (TEST_COND_long64): Likewise.
27049 (TEST_COND_before_rounding): Likewise.
27050 (TEST_COND_after_rounding): Likewise.
27051 (enable_test): Handle XFAIL_TEST flag.
27052 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27053 with finite results.
27054 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27055 auto-libm-test-out.
27057 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27058 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27061 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27062 __tls_get_addr_internal instead of __tls_get_offset in order to
27063 avoid GOT pointer dependency. Make rtld export
27064 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27065 __tls_get_addr since we are a __tls_get_offset platform.
27066 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27067 GOT pointer being set up before.
27068 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27070 2013-11-28 Joseph Myers <joseph@codesourcery.com>
27072 * manual/math.texi (Errors in Math Functions): Document accuracy
27076 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27077 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27078 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27079 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27080 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27081 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27082 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27083 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27084 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27085 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27086 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27087 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27088 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27089 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27090 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27091 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27093 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27094 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27095 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27096 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27097 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27099 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27101 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27103 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27104 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27105 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27106 atomic-feupdateenv and flt-rounds.
27107 * sysdeps/powerpc/nofpu/Versions (libc): Add
27108 __atomic_feholdexcept, __atomic_feclearexcept,
27109 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27110 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27111 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27112 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27113 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27118 * manual/arith.texi (FP Exceptions): Document that exceptions may
27119 not be raised when matherr is used.
27120 (Math Error Reporting): Document overflow in directed rounding
27121 modes. Document that errno may not be set when finite values are
27122 returned on overflow. Document intent to set errno on underflow
27123 only for underflow to zero.
27126 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27127 round-to-nearest then adjust result for other rounding modes.
27128 * include/fenv.h (fegetround): Use libm_hidden_proto.
27129 * math/fegetround.c (fegetround): Use libm_hidden_def.
27130 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27131 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27132 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27133 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27135 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27136 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27137 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27138 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27140 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27143 * nss/Versions (libnss_files): Add
27144 _nss_files_gethostbyname3_r.
27145 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27147 (HOST_DB_LOOKUP): Remove macro.
27148 (_nss_files_gethostbyname_r): Implement function without the
27149 HOST_DB_LOOKUP macro.
27150 (_nss_files_gethostbyname2_r): Likewise.
27152 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
27154 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27156 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
27158 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27159 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27162 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27164 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27165 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27166 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27167 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27168 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27169 __fe_nomask_env_priv and attribute_hidden.
27170 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27171 (libc_feupdateenv_test_ppc): Likewise.
27172 (libc_feresetround_ppc): Likewise.
27173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27174 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27175 compat_symbol macro.
27176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27177 (__fe_nomask_env): Likewise.
27178 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27180 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27182 * string/Makefile: Remove ifunc tests.
27183 * string/test-string.h: Define TEST_IFUNC.
27184 * string/test-bcopy-ifunc.c: Remove.
27185 * string/test-bzero-ifunc.c: Likewise.
27186 * string/test-memccpy-ifunc.c: Likewise.
27187 * string/test-memchr-ifunc.c: Likewise.
27188 * string/test-memcmp-ifunc.c: Likewise.
27189 * string/test-memcpy-ifunc.c: Likewise.
27190 * string/test-memmem-ifunc.c: Likewise.
27191 * string/test-memmove-ifunc.c: Likewise.
27192 * string/test-mempcpy-ifunc.c: Likewise.
27193 * string/test-memrchr-ifunc.c: Likewise.
27194 * string/test-memset-ifunc.c: Likewise.
27195 * string/test-rawmemchr-ifunc.c: Likewise.
27196 * string/test-stpcpy-ifunc.c: Likewise.
27197 * string/test-stpncpy-ifunc.c: Likewise.
27198 * string/test-strcasecmp-ifunc.c: Likewise.
27199 * string/test-strcasestr-ifunc.c: Likewise.
27200 * string/test-strcat-ifunc.c: Likewise.
27201 * string/test-strchr-ifunc.c: Likewise.
27202 * string/test-strchrnul-ifunc.c: Likewise.
27203 * string/test-strcmp-ifunc.c: Likewise.
27204 * string/test-strcpy-ifunc.c: Likewise.
27205 * string/test-strcspn-ifunc.c: Likewise.
27206 * string/test-strlen-ifunc.c: Likewise.
27207 * string/test-strncasecmp-ifunc.c: Likewise.
27208 * string/test-strncat-ifunc.c: Likewise.
27209 * string/test-strncmp-ifunc.c: Likewise.
27210 * string/test-strncpy-ifunc.c: Likewise.
27211 * string/test-strnlen-ifunc.c: Likewise.
27212 * string/test-strpbrk-ifunc.c: Likewise.
27213 * string/test-strrchr-ifunc.c: Likewise.
27214 * string/test-strspn-ifunc.c: Likewise.
27215 * string/test-strstr-ifunc.c: Likewise.
27217 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27219 * benchtests/Makefile: Remove ifunc tests.
27220 * benchtests/bench-string.h: Define TEST_IFUNC.
27221 * benchtests/bench-bcopy-ifunc.c: Remove.
27222 * benchtests/bench-bzero-ifunc.c: Likewise.
27223 * benchtests/bench-memccpy-ifunc.c: Likewise.
27224 * benchtests/bench-memchr-ifunc.c: Likewise.
27225 * benchtests/bench-memcmp-ifunc.c: Likewise.
27226 * benchtests/bench-memcpy-ifunc.c: Likewise.
27227 * benchtests/bench-memmem-ifunc.c: Likewise.
27228 * benchtests/bench-memmove-ifunc.c: Likewise.
27229 * benchtests/bench-mempcpy-ifunc.c: Likewise.
27230 * benchtests/bench-memrchr-ifunc.c: Likewise.
27231 * benchtests/bench-memset-ifunc.c: Likewise.
27232 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27233 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27234 * benchtests/bench-stpcpy-ifunc.c: Likewise.
27235 * benchtests/bench-stpncpy-ifunc.c: Likewise.
27236 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27237 * benchtests/bench-strcasestr-ifunc.c: Likewise.
27238 * benchtests/bench-strcat-ifunc.c: Likewise.
27239 * benchtests/bench-strchr-ifunc.c: Likewise.
27240 * benchtests/bench-strchrnul-ifunc.c: Likewise.
27241 * benchtests/bench-strcmp-ifunc.c: Likewise.
27242 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27243 * benchtests/bench-strcpy-ifunc.c: Likewise.
27244 * benchtests/bench-strcspn-ifunc.c: Likewise.
27245 * benchtests/bench-strlen-ifunc.c: Likewise.
27246 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27247 * benchtests/bench-strncat-ifunc.c: Likewise.
27248 * benchtests/bench-strncmp-ifunc.c: Likewise.
27249 * benchtests/bench-strncpy-ifunc.c: Likewise.
27250 * benchtests/bench-strnlen-ifunc.c: Likewise.
27251 * benchtests/bench-strpbrk-ifunc.c: Likewise.
27252 * benchtests/bench-strrchr-ifunc.c: Likewise.
27253 * benchtests/bench-strsep-ifunc.c: Likewise.
27254 * benchtests/bench-strspn-ifunc.c: Likewise.
27255 * benchtests/bench-strstr-ifunc.c: Likewise.
27257 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27259 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27261 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27263 * resolv/netdb.h: Use __glibc_reserved instead __unused.
27264 * rt/aio.h: Likewise.
27265 * sysdeps/gnu/bits/utmp.h: Likewise.
27266 * sysdeps/gnu/bits/utmpx.h: Likewise.
27267 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27268 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27269 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27270 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27271 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27272 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27273 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27274 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27275 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27276 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27277 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27278 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27279 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27281 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27282 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27283 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27284 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27285 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27286 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27287 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27288 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27289 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27290 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27291 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27292 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27293 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27294 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27295 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27296 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27297 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27298 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27299 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27300 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27301 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27302 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27303 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27304 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27305 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27306 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27307 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27308 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27310 2013-11-25 Carlos O'Donell <carlos@redhat.com>
27313 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27314 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27316 2013-11-25 Joseph Myers <joseph@codesourcery.com>
27318 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27319 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27322 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27324 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27325 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27326 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27327 (__fesetround): Remove define.
27328 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27329 rounding and exceptions handling.
27330 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27331 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27332 (__fe_nomask_env): Likewise.
27333 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27334 __fegetround instead of fegetround.
27335 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27336 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27338 2013-11-21 Roland McGrath <roland@hack.frob.com>
27340 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27343 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27345 2013-11-21 Meador Inge <meadori@codesourcery.com>
27348 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27349 (encrypt_r): Likewise.
27350 * malloc/obstack.h (obstack_free): Likewise.
27351 * posix/unistd.h (encrypt): Likewise.
27353 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
27355 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27356 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27357 DL_CALL_DT_FINI() that call the functions directly.
27358 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27359 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27360 * elf/dl-fini.c: Likewise.
27362 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
27364 * malloc/hooks.c (memalign_check): Add alignment rounding.
27365 * malloc/malloc.c (_mid_memalign): New function.
27366 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27367 Implement by calling _mid_memalign.
27368 * manual/probes.texi (Memory Allocation Probes): Remove
27369 memory_valloc_retry and memory_pvalloc_retry.
27371 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27373 * locale/programs/locarchive.c (open_archive): Add const
27374 qualifier to ARCHIVEFNAME and copy default fname to
27378 * libio/tst-widetext.input: Rename Oriya to Odia.
27379 * locale/iso-639.def: Likewise.
27381 * manual/probes.texi (Mathematical Function Probes): Add
27382 documentation for sin, cos, asin and acos probes.
27383 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27384 (__sin32): Add slowasin probe.
27385 (__cos32): Add slowacos probe.
27386 (__mpsin): Add slowsin probe.
27387 (__mpcos): Add slowcos probe.
27389 2013-11-19 Joseph Myers <joseph@codesourcery.com>
27392 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27393 thread-local __sim_exceptions_thread and global
27394 __sim_exceptions_global.
27395 (__sim_disabled_exceptions): Change to thread-local
27396 __sim_disabled_exceptions_thread and global
27397 __sim_disabled_exceptions_global.
27398 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27399 and global __sim_round_mode_global.
27400 (__simulate_exceptions): Use thread-local floating-point state and
27401 set global state from it as needed.
27402 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27403 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27404 __sim_round_mode_thread.
27405 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27406 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27407 and global __sim_exceptions_global.
27408 (__sim_disabled_exceptions): Change to thread-local
27409 __sim_disabled_exceptions_thread and global
27410 __sim_disabled_exceptions_global.
27411 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27412 and global __sim_round_mode_global.
27413 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27414 (SIM_SET_GLOBAL): Likewise.
27415 * sysdeps/powerpc/soft-fp/sfp-machine.h
27416 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27417 __sim_round_mode_thread.
27418 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27419 __sim_disabled_exceptions_thread.
27420 (__sim_exceptions): Change to __sim_exceptions_thread.
27421 (__sim_disabled_exceptions): Change to
27422 __sim_disabled_exceptions_thread.
27423 (__sim_round_mode): Change to __sim_round_mode_thread.
27424 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27425 thread-local floating-point state and set global state from it as
27427 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27428 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27429 (__sim_disabled_exceptions): Remove extern declaration.
27430 (feenableexcept): Use thread-local floating-point state and set
27431 global state from it as needed.
27432 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27433 extern declaration.
27434 (__sim_disabled_exceptions): Likewise.
27435 (__sim_round_mode): Likewise.
27436 (__fegetenv): Use thread-local floating-point state.
27437 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27438 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27439 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27440 floating-point state and set global state from it as needed.
27441 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27442 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27443 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27445 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27446 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27448 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27449 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27450 Use __sim_round_mode_thread.
27451 * math/test-fenv-tls.c: New file.
27452 * math/Makefile (tests): Add test-fenv-tls.
27453 ($(objpfx)test-fenv-tls): Depend on
27454 $(common-objpfx)nptl/libpthread.so.
27456 2013-11-19 Andreas Schwab <schwab@suse.de>
27458 * locale/programs/locale.c (show_info): Decode wordarray elements.
27459 * locale/categories.def (LC_MONETARY): Add element for
27460 _NL_MONETARY_CRNCYSTR.
27461 * locale/C-monetary.c (conversion_rate): New variable.
27462 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27465 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
27467 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27468 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27470 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27472 * elf/Makefile (tst-auxv): New test.
27473 * elf/tst-auxv.c: New
27474 * elf/rtld.c (dl_main): Adjust AT_EXECFN
27476 2013-11-18 Joseph Myers <joseph@codesourcery.com>
27478 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27479 (hidden_proto): Caller changed.
27480 (hidden_tls_proto): New macro.
27481 (libc_hidden_tls_proto): Likewise.
27482 (rtld_hidden_tls_proto): Likewise.
27483 (libm_hidden_tls_proto): Likewise.
27484 (libresolv_hidden_tls_proto): Likewise.
27485 (librt_hidden_tls_proto): Likewise.
27486 (libdl_hidden_tls_proto): Likewise.
27487 (libnss_files_hidden_tls_proto): Likewise.
27488 (libnsl_hidden_tls_proto): Likewise.
27489 (libnss_nisplus_hidden_tls_proto): Likewise.
27490 (libutil_hidden_tls_proto): Likewise.
27492 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
27495 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27496 (decompose_rpath): Defer expansion to fillin_rpath.
27497 (_dl_init_paths): Pass linkmap to fillin_rpath.
27499 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27501 * benchtests/Makefile: Add strsep.
27502 * benchtests/bench-strsep.c: New file: strsep benchtest.
27503 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27505 2013-11-18 Andreas Schwab <schwab@suse.de>
27507 * locale/programs/locale.c (show_info) [case byte]: Check for
27508 '\377' instead of '\177'.
27509 * locale/C-monetary.c (not_available): Always use "\377".
27510 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27511 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
27512 detect unavailable sign_posn locale elements.
27513 * locale/localeconv.c (__localeconv): For grouping and
27514 mon_grouping handle "\177" and "\377" like no grouping.
27515 (INT_ELEM): New macro. Use it to set all numeric members.
27516 * locale/programs/ld-monetary.c (monetary_read)
27517 <tok_mon_grouping>: Normalize single -1 to the empty string.
27518 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27521 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27524 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27525 when we match (nil).
27526 * stdio-common/tst-sscanf.c (struct test): Add testcase.
27528 2013-11-16 Joseph Myers <joseph@codesourcery.com>
27530 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27531 (NO_TEST_INLINE): Update value.
27532 (ERRNO_UNCHANGED): Likewise.
27533 (ERRNO_EDOM): Likewise.
27534 (ERRNO_ERANGE): Likewise.
27535 (IGNORE_RESULT): Likewise.
27536 (check_float_internal): Check signs of NaN results if
27537 TEST_NAN_SIGN used.
27538 (check_complex): Pass TEST_NAN_SIGN flag through to second
27539 check_float_internal call.
27540 (copysign_test_data): Add tests with quiet NaNs as second
27541 argument. Use TEST_NAN_SIGN.
27542 (fabs_test_data): Add test of negative quiet NaN argument. Use
27544 (signbit_test_data): Add tests of quiet NaN argument.
27545 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27547 * math/gen-libm-test.pl (show_exceptions): Take extra argument
27549 (parse_args): Handle function results specified as IGNORE.
27550 * math/libm-test.inc (IGNORE_RESULT): New macro.
27551 (check_float_internal): Do not check numerical result if flag
27553 (check_complex): Pass through IGNORE_RESULT to second
27554 check_float_internal call.
27555 (check_int): Do not check numerical result if flag IGNORE_RESULT
27557 (check_long): Likewise.
27558 (check_bool): Likewise.
27559 (check_longlong): Likewise.
27560 (lrint_test_data): Add tests of infinite and NaN arguments.
27561 (lrint_tonearest_test_data): Likewise.
27562 (lrint_towardzero_test_data): Likewise.
27563 (lrint_downward_test_data): Likewise.
27564 (lrint_upward_test_data): Likewise.
27565 (llrint_test_data): Likewise.
27566 (llrint_tonearest_test_data): Likewise.
27567 (llrint_towardzero_test_data): Likewise.
27568 (llrint_downward_test_data): Likewise.
27569 (llrint_upward_test_data): Likewise.
27570 (lround_test_data): Likewise.
27571 (llround_test_data): Likewise.
27573 * math/libm-test.inc (NO_TEST_INLINE): New macro.
27574 (ERRNO_UNCHANGED): Update value.
27575 (ERRNO_EDOM): Likewise.
27576 (ERRNO_ERANGE): Likewise.
27577 (NO_TEST_INLINE_FLOAT): New macro.
27578 (NO_TEST_INLINE_DOUBLE): Likewise.
27579 (enable_test): New function.
27580 (RUN_TEST_f_f): Check enable_test before running test.
27581 (RUN_TEST_2_f): Likewise.
27582 (RUN_TEST_fff_f): Likewise.
27583 (RUN_TEST_c_f): Likewise.
27584 (RUN_TEST_f_f1): Likewise.
27585 (RUN_TEST_fF_f1): Likewise.
27586 (RUN_TEST_fI_f1): Likewise.
27587 (RUN_TEST_ffI_f1): Likewise.
27588 (RUN_TEST_c_c): Likewise.
27589 (RUN_TEST_cc_c): Likewise.
27590 (RUN_TEST_f_i): Likewise.
27591 (RUN_TEST_f_i_tg): Likewise.
27592 (RUN_TEST_ff_i_tg): Likewise.
27593 (RUN_TEST_f_b): Likewise.
27594 (RUN_TEST_f_b_tg): Likewise.
27595 (RUN_TEST_f_l): Likewise.
27596 (RUN_TEST_f_L): Likewise.
27597 (RUN_TEST_fFF_11): Likewise.
27598 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27600 (cosh_test_data): Likewise.
27601 (exp_test_data): Likewise.
27602 (expm1_test_data): Likewise.
27603 (hypot_test_data): Likewise.
27604 (pow_test_data): Likewise.
27605 (sinh_test_data): Likewise.
27606 (tanh_test_data): Likewise.
27607 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27610 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27611 tests with quiet NaN input and output.
27612 (acosh_test_data): Likewise.
27613 (asin_test_data): Likewise.
27614 (asinh_test_data): Likewise.
27615 (atan_test_data): Likewise.
27616 (atanh_test_data): Likewise.
27617 (atan2_test_data): Likewise.
27618 (cbrt_test_data): Likewise.
27619 (cos_test_data): Likewise.
27620 (cosh_test_data): Likewise.
27621 (erf_test_data): Likewise.
27622 (erfc_test_data): Likewise.
27623 (exp_test_data): Likewise.
27624 (exp10_test_data): Likewise.
27625 (exp2_test_data): Likewise.
27626 (expm1_test_data): Likewise.
27627 (hypot_test_data): Likewise.
27628 (j0_test_data): Likewise.
27629 (j1_test_data): Likewise.
27630 (jn_test_data): Likewise.
27631 (lgamma_test_data): Likewise.
27632 (log_test_data): Likewise.
27633 (log10_test_data): Likewise.
27634 (log1p_test_data): Likewise.
27635 (log2_test_data): Likewise.
27636 (pow_test_data): Likewise.
27637 (scalb_test_data): Likewise.
27638 (sin_test_data): Likewise.
27639 (sincos_test_data): Likewise.
27640 (sinh_test_data): Likewise.
27641 (tan_test_data): Likewise.
27642 (tanh_test_data): Likewise.
27643 (tgamma_test_data): Likewise.
27644 (y0_test_data): Likewise.
27645 (y1_test_data): Likewise.
27646 (yn_test_data): Likewise.
27649 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27650 argument being NaN and avoid computations with second argument in
27652 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27653 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27654 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27656 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
27658 * locale/iso-639.def: Add Chitwani Tharu (the).
27660 2013-11-14 Andreas Schwab <schwab@suse.de>
27662 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27663 word instead of empty string.
27665 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27668 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27670 (__fe_nomask_env): Likewise.
27672 2013-11-13 Steve Ellcey <sellcey@mips.com>
27674 * benchtests/bench-timing.h: Include time.h.
27676 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
27679 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27681 * sysdeps/unix/sysv/linux/configure: Regenerated.
27683 2013-11-13 Joseph Myers <joseph@codesourcery.com>
27686 * stdlib/strtod_l.c (round_and_return): Do not consider
27687 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27688 exponent one less than half the least subnormal exponent.
27689 * stdlib/test-strtod-round-data: Add more tests.
27690 * stdlib/tst-strtod-round.c (tests): Regenerated.
27692 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27695 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27696 (__fe_mask_env): Likewise.
27697 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27698 libm_hidden_proto and add function prototype.
27699 (__fe_mask_env): Add function prototype.
27700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27701 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27703 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27705 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27707 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27709 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27710 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27712 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27714 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27715 of htab_find_slot().
27717 2013-11-11 David S. Miller <davem@davemloft.net>
27720 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27721 symbol in the non-vis3 case in static builds.
27722 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27723 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27724 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27725 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27727 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
27730 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27733 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27735 * benchtests/Makefile: Add bench-strtod.
27736 * benchtests/bench-strtod.c: New file: strtod benchtest
27738 2013-11-11 Andreas Schwab <schwab@suse.de>
27741 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27742 terminating NUL in key length.
27744 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27746 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27747 Add artificial ODP entry for vDSO symbol for PPC64.
27748 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27749 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27751 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27754 * nss/getent.c (services_keys): Recognize services starting with digit.
27756 2013-11-06 David S. Miller <davem@davemloft.net>
27759 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27760 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27762 2013-11-06 Will Newton <will.newton@linaro.org>
27764 * manual/memory.texi (Malloc Examples): Remove register
27765 keyword from examples.
27767 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
27769 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27771 2013-11-04 Joseph Myers <joseph@codesourcery.com>
27774 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27775 depending on [__GCC_IEC_559 > 0].
27776 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27777 depending on [__GCC_IEC_559_COMPLEX > 0].
27779 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
27781 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27784 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
27786 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27788 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
27791 * malloc/malloc (malloc_info): Do not handle first bin as
27794 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
27796 * locale/iso-639.def: Add Central Nahuatl (nhn).
27798 2013-11-01 Bruno Haible <bruno@clisp.org>
27801 * manual/math.texi (BSD Random): Specify range upper bound as
27804 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
27806 * locale/iso-639.def: Add Meadow Mari (mhr).
27808 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
27810 [BZ #14752], [BZ #15763]
27811 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27813 * rt/tst_shm.c: Add test for escaping directory.
27815 2013-10-31 Andreas Schwab <schwab@suse.de>
27818 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27819 followed by 'x' as part of digit sequence.
27820 * stdio-common/tst-sscanf.c (double_tests2): New tests.
27822 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27825 * configure.ac: allow GNU Make 4.0 and greater.
27826 * configure: Regenerated.
27828 2013-10-30 Will Newton <will.newton@linaro.org>
27831 * malloc/hooks.c (memalign_check): Limit alignment to the
27832 maximum representable power of two.
27833 * malloc/malloc.c (__libc_memalign): Likewise.
27834 * malloc/tst-memalign.c (do_test): Add test for very
27835 large alignment values.
27836 * malloc/tst-posix_memalign.c (do_test): Likewise.
27838 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27841 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27842 (munmap_chunk): Likewise.
27843 (mremap_chunk): Likewise.
27845 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27848 * stdlib/div.c (div): Remove obsolete code.
27849 * stdlib/ldiv.c (ldiv): Likewise.
27850 * stdlib/lldiv.c (lldiv): Likewise.
27852 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27855 * nss/nss_files/files-XXX.c (get_contents_ret): New
27857 (get_contents): New function.
27858 (internal_getent): Use it. Expand size of LINEBUFLEN.
27860 2013-10-30 Mike Frysinger <vapier@gentoo.org>
27862 * configure.in: Moved to ...
27863 * configure.ac: ... here. Change reference to configure.in
27865 * sysdeps/arm/preconfigure.ac: ... here.
27866 configure.in to configure.ac.
27867 * sysdeps/gnu/configure.in: Moved to ...
27868 * sysdeps/gnu/configure.ac: ... here.
27869 * sysdeps/i386/configure.in: Moved to ...
27870 * sysdeps/i386/configure.ac: ... here.
27871 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27872 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27873 * sysdeps/mach/configure.in: Moved to ...
27874 * sysdeps/mach/configure.ac: ... here.
27875 * sysdeps/mach/hurd/configure.in: Moved to ...
27876 * sysdeps/mach/hurd/configure.ac: ... here.
27877 * sysdeps/powerpc/configure.in: Moved to ...
27878 * sysdeps/powerpc/configure.ac: ... here.
27879 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27880 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27881 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27882 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27883 * sysdeps/s390/s390-32/configure.in: Moved to ...
27884 * sysdeps/s390/s390-32/configure.ac: ... here.
27885 * sysdeps/s390/s390-64/configure.in: Moved to ...
27886 * sysdeps/s390/s390-64/configure.ac: ... here.
27887 * sysdeps/sh/configure.in: Moved to ...
27888 * sysdeps/sh/configure.ac: ... here.
27889 * sysdeps/sparc/configure.in: Moved to ...
27890 * sysdeps/sparc/configure.ac: ... here.
27891 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27892 * sysdeps/unix/sysv/linux/configure.ac: ... here.
27893 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27894 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27895 * sysdeps/x86_64/configure.in: Moved to ...
27896 * sysdeps/x86_64/configure.ac: ... here.
27897 * sysdeps/x86_64/preconfigure.in: Moved to ...
27898 * sysdeps/x86_64/preconfigure.ac: ... here.
27899 * aclocal.m4: Change reference to configure.in to configure.ac.
27900 * config.h.in: Likewise.
27901 * manual/install.texi: Likewise.
27902 * manual/maint.texi: Likewise.
27903 * Makefile: Likewise.
27904 * malloc/Makefile: Likewise.
27905 * nscd/Makefile: Likewise.
27906 * Makeconfig: Change reference to configure.in and
27907 preconfigure.in to configure.ac and preconfigure.ac
27909 * INSTALL: Regenerated.
27910 * configure: Likewise.
27911 * sysdeps/gnu/configure: Likewise.
27912 * sysdeps/i386/configure: Likewise.
27913 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27914 * sysdeps/mach/configure: Likewise.
27915 * sysdeps/mach/hurd/configure: Likewise.
27916 * sysdeps/powerpc/configure: Likewise.
27917 * sysdeps/powerpc/powerpc32/configure: Likewise.
27918 * sysdeps/powerpc/powerpc64/configure: Likewise.
27919 * sysdeps/s390/s390-32/configure: Likewise.
27920 * sysdeps/s390/s390-64/configure: Likewise.
27921 * sysdeps/sh/configure: Likewise.
27922 * sysdeps/sparc/configure: Likewise.
27923 * sysdeps/unix/sysv/linux/configure: Likewise.
27924 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27925 * sysdeps/x86_64/configure: Likewise.
27926 * sysdeps/x86_64/preconfigure: Likewise.
27928 2013-10-29 Andreas Schwab <schwab@suse.de>
27930 * stdio-common/Makefile (tst-swscanf-ENV): Define.
27932 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27934 * benchtests/pow-inputs: Add new inputs.
27936 * benchtests/exp-inputs: Add new inputs.
27938 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27939 conditional check for return value.
27940 (__cos32): Likewise.
27942 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27944 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27945 to provide a boost for large inputs with word alignment.
27946 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27947 implementation based on optimized PPC64 strcpy.
27948 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27949 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27950 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27951 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27953 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27956 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27958 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27961 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27962 * time/tst-strptime.c (day_tests): Add testcase.
27964 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27967 * manual/pattern.texi: Acknowledge that fnmatch can fail.
27969 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
27972 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27973 MAP_FAILED on error.
27975 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27978 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27979 heap for large requests.
27981 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
27984 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27985 result if the result has no associated interface.
27986 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27987 interface for all 127.X.Y.Z addresses.
27989 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
27991 * locale/iso-639.def: Add Ligurian (lij)
27993 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
27996 * sunrpc/rpc_main.c: Document rpcgen -5.
27998 2013-10-19 Michael Stahl <mstahl@redhat.com>
28000 * elf/rtld.c (do_preload): Print the reason why preloading failed.
28002 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
28005 * posix/glob.c: Match only directories when trailing slash is present.
28006 * posix/tst-gnuglob.c (my_opendir): Do not open files.
28007 (main): Add testcase.
28009 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
28012 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28014 2013-10-18 Carlos O'Donell <carlos@redhat.com>
28016 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28017 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28018 AUTH_DES and cindex for FIPS 140-2.
28019 (DES Encryption): Add cindex FIPS 46-3.
28021 * locale/locarchive.h (struct locarhandle): Add fname.
28022 * locale/programs/localedef.c (main): Pass ARGV[remaining]
28023 if an optional argument was specified to --list-archive,
28025 * locale/programs/locarchive.c (show_archive_content): Take new
28026 argument fname and pass it via ah.fname to open_archive.
28027 * locale/programs/localedef.h: Update decl.
28028 (open_archive): If AH->fname is non-null, open that file
28029 rather than the default file name, and don't ignore ENOENT.
28030 (create_archive): Set AH.fname to NULL.
28031 (delete_locales_from_archive): Likewise.
28032 (add_locales_to_archive): Likewise.
28033 * locale/programs/locfile.c (write_all_categories): Likewise.
28035 2013-10-18 Joseph Myers <joseph@codesourcery.com>
28036 Aldy Hernandez <aldyh@redhat.com>
28038 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28039 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28040 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28041 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28042 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28043 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28044 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28045 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28046 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28047 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28048 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28049 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28050 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28051 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28052 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28054 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28056 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28058 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28060 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28061 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28063 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28064 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28065 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28066 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28068 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28069 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28070 * sysdeps/powerpc/preconfigure: Likewise.
28071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28073 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28074 Replace contents of file by #include of <fenv_libc.h>.
28075 * sysdeps/powerpc/soft-fp/sfp-machine.h
28076 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28078 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28079 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28080 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28081 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28082 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28083 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28084 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28085 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28086 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28087 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28088 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28089 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28091 Allow copysignl PLT reference to be missing.
28093 2013-10-18 Richard Sandiford <richard@codesourcery.com>
28094 Joseph Myers <joseph@codesourcery.com
28097 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28099 (add_to_tablewc): Assert sequence of wide characters is nonempty.
28101 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28103 * elf/tst-tls-dlinfo.c: Don't include tls.h.
28104 * elf/tst-tls1.c: Likewise.
28105 * elf/tst-tls10.h: Likewise.
28106 * elf/tst-tls14.c: Likewise.
28107 * elf/tst-tls2.c: Likewise.
28108 * elf/tst-tls3.c: Likewise.
28109 * elf/tst-tls4.c: Likewise.
28110 * elf/tst-tls5.c: Likewise.
28111 * elf/tst-tls6.c: Likewise.
28112 * elf/tst-tls7.c: Likewise.
28113 * elf/tst-tls8.c: Likewise.
28114 * elf/tst-tls9.c: Likewise.
28115 * elf/tst-tlsmod1.c: Likewise.
28116 * elf/tst-tlsmod13.c: Likewise.
28117 * elf/tst-tlsmod13a.c: Likewise.
28118 * elf/tst-tlsmod14a.c: Likewise.
28119 * elf/tst-tlsmod16a.c: Likewise.
28120 * elf/tst-tlsmod16b.c: Likewise.
28121 * elf/tst-tlsmod2.c: Likewise.
28122 * elf/tst-tlsmod3.c: Likewise.
28123 * elf/tst-tlsmod4.c: Likewise.
28124 * elf/tst-tlsmod5.c: Likewise.
28125 * elf/tst-tlsmod6.c: Likewise.
28127 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
28130 * malloc/malloc.c: remove checks for statistics.
28132 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
28135 * inet/inet_net.c (inet_network): Detect additional invalid strings.
28136 * inet/tst-network.c: Add testcase.
28138 2013-10-17 Andreas Schwab <schwab@suse.de>
28141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28142 to determine canonical name.
28144 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
28146 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28147 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28148 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28149 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28150 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28151 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28152 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28153 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28154 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28155 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28156 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28157 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28158 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28159 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28160 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28161 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28162 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28163 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28164 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28165 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28166 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28167 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28168 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28169 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28170 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28171 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28172 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28173 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28174 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28175 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28176 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28177 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28178 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28179 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28180 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28181 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28182 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28183 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28184 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28185 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28186 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28187 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28188 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28189 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28190 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28191 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28192 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28193 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28194 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28195 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28196 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28197 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28198 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28199 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28200 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28201 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28202 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28203 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28205 2013-10-17 Joseph Myers <joseph@codesourcery.com>
28208 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28209 make result into a quiet NaN.
28211 2013-10-16 Joseph Myers <joseph@codesourcery.com>
28213 * soft-fp/adddf3.c: Fix horizontal whitespace.
28214 * soft-fp/addsf3.c: Likewise.
28215 * soft-fp/addtf3.c: Likewise.
28216 * soft-fp/divdf3.c: Likewise.
28217 * soft-fp/divsf3.c: Likewise.
28218 * soft-fp/divtf3.c: Likewise.
28219 * soft-fp/double.h: Likewise.
28220 * soft-fp/eqdf2.c: Likewise.
28221 * soft-fp/eqsf2.c: Likewise.
28222 * soft-fp/eqtf2.c: Likewise.
28223 * soft-fp/extenddftf2.c: Likewise.
28224 * soft-fp/extended.h: Likewise.
28225 * soft-fp/extendsfdf2.c: Likewise.
28226 * soft-fp/extendsftf2.c: Likewise.
28227 * soft-fp/extendxftf2.c: Likewise.
28228 * soft-fp/fixdfdi.c: Likewise.
28229 * soft-fp/fixdfsi.c: Likewise.
28230 * soft-fp/fixdfti.c: Likewise.
28231 * soft-fp/fixsfdi.c: Likewise.
28232 * soft-fp/fixsfsi.c: Likewise.
28233 * soft-fp/fixsfti.c: Likewise.
28234 * soft-fp/fixtfdi.c: Likewise.
28235 * soft-fp/fixtfsi.c: Likewise.
28236 * soft-fp/fixtfti.c: Likewise.
28237 * soft-fp/fixunsdfdi.c: Likewise.
28238 * soft-fp/fixunsdfsi.c: Likewise.
28239 * soft-fp/fixunsdfti.c: Likewise.
28240 * soft-fp/fixunssfdi.c: Likewise.
28241 * soft-fp/fixunssfsi.c: Likewise.
28242 * soft-fp/fixunssfti.c: Likewise.
28243 * soft-fp/fixunstfdi.c: Likewise.
28244 * soft-fp/fixunstfsi.c: Likewise.
28245 * soft-fp/fixunstfti.c: Likewise.
28246 * soft-fp/floatdidf.c: Likewise.
28247 * soft-fp/floatdisf.c: Likewise.
28248 * soft-fp/floatditf.c: Likewise.
28249 * soft-fp/floatsidf.c: Likewise.
28250 * soft-fp/floatsisf.c: Likewise.
28251 * soft-fp/floatsitf.c: Likewise.
28252 * soft-fp/floattidf.c: Likewise.
28253 * soft-fp/floattisf.c: Likewise.
28254 * soft-fp/floattitf.c: Likewise.
28255 * soft-fp/floatundidf.c: Likewise.
28256 * soft-fp/floatundisf.c: Likewise.
28257 * soft-fp/floatunditf.c: Likewise.
28258 * soft-fp/floatunsidf.c: Likewise.
28259 * soft-fp/floatunsisf.c: Likewise.
28260 * soft-fp/floatunsitf.c: Likewise.
28261 * soft-fp/floatuntidf.c: Likewise.
28262 * soft-fp/floatuntisf.c: Likewise.
28263 * soft-fp/floatuntitf.c: Likewise.
28264 * soft-fp/fmadf4.c: Likewise.
28265 * soft-fp/fmasf4.c: Likewise.
28266 * soft-fp/fmatf4.c: Likewise.
28267 * soft-fp/gedf2.c: Likewise.
28268 * soft-fp/gesf2.c: Likewise.
28269 * soft-fp/getf2.c: Likewise.
28270 * soft-fp/ledf2.c: Likewise.
28271 * soft-fp/lesf2.c: Likewise.
28272 * soft-fp/letf2.c: Likewise.
28273 * soft-fp/muldf3.c: Likewise.
28274 * soft-fp/mulsf3.c: Likewise.
28275 * soft-fp/multf3.c: Likewise.
28276 * soft-fp/negdf2.c: Likewise.
28277 * soft-fp/negsf2.c: Likewise.
28278 * soft-fp/negtf2.c: Likewise.
28279 * soft-fp/op-1.h: Likewise.
28280 * soft-fp/op-2.h: Likewise.
28281 * soft-fp/op-4.h: Likewise.
28282 * soft-fp/op-8.h: Likewise.
28283 * soft-fp/op-common.h: Likewise.
28284 * soft-fp/quad.h: Likewise.
28285 * soft-fp/single.h: Likewise.
28286 * soft-fp/soft-fp.h: Likewise.
28287 * soft-fp/sqrtdf2.c: Likewise.
28288 * soft-fp/sqrtsf2.c: Likewise.
28289 * soft-fp/sqrttf2.c: Likewise.
28290 * soft-fp/subdf3.c: Likewise.
28291 * soft-fp/subsf3.c: Likewise.
28292 * soft-fp/subtf3.c: Likewise.
28293 * soft-fp/truncdfsf2.c: Likewise.
28294 * soft-fp/trunctfdf2.c: Likewise.
28295 * soft-fp/trunctfsf2.c: Likewise.
28296 * soft-fp/trunctfxf2.c: Likewise.
28297 * soft-fp/unorddf2.c: Likewise.
28298 * soft-fp/unordsf2.c: Likewise.
28299 * soft-fp/unordtf2.c: Likewise.
28301 2013-10-15 Joseph Myers <joseph@codesourcery.com>
28303 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28304 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28306 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
28308 * elf/dl-libc.c: Clear initfini list after freeing.
28310 2013-10-14 Joseph Myers <joseph@codesourcery.com>
28312 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28313 * soft-fp/addsf3.c: Likewise.
28314 * soft-fp/addtf3.c: Likewise.
28315 * soft-fp/divdf3.c: Likewise.
28316 * soft-fp/divsf3.c: Likewise.
28317 * soft-fp/divtf3.c: Likewise.
28318 * soft-fp/double.h: Likewise.
28319 * soft-fp/eqdf2.c: Likewise.
28320 * soft-fp/eqsf2.c: Likewise.
28321 * soft-fp/eqtf2.c: Likewise.
28322 * soft-fp/extenddftf2.c: Likewise.
28323 * soft-fp/extended.h: Likewise.
28324 * soft-fp/extendsfdf2.c: Likewise.
28325 * soft-fp/extendsftf2.c: Likewise.
28326 * soft-fp/extendxftf2.c: Likewise.
28327 * soft-fp/fixdfdi.c: Likewise.
28328 * soft-fp/fixdfsi.c: Likewise.
28329 * soft-fp/fixdfti.c: Likewise.
28330 * soft-fp/fixsfdi.c: Likewise.
28331 * soft-fp/fixsfsi.c: Likewise.
28332 * soft-fp/fixsfti.c: Likewise.
28333 * soft-fp/fixtfdi.c: Likewise.
28334 * soft-fp/fixtfsi.c: Likewise.
28335 * soft-fp/fixtfti.c: Likewise.
28336 * soft-fp/fixunsdfdi.c: Likewise.
28337 * soft-fp/fixunsdfsi.c: Likewise.
28338 * soft-fp/fixunsdfti.c: Likewise.
28339 * soft-fp/fixunssfdi.c: Likewise.
28340 * soft-fp/fixunssfsi.c: Likewise.
28341 * soft-fp/fixunssfti.c: Likewise.
28342 * soft-fp/fixunstfdi.c: Likewise.
28343 * soft-fp/fixunstfsi.c: Likewise.
28344 * soft-fp/fixunstfti.c: Likewise.
28345 * soft-fp/floatdidf.c: Likewise.
28346 * soft-fp/floatdisf.c: Likewise.
28347 * soft-fp/floatditf.c: Likewise.
28348 * soft-fp/floatsidf.c: Likewise.
28349 * soft-fp/floatsisf.c: Likewise.
28350 * soft-fp/floatsitf.c: Likewise.
28351 * soft-fp/floattidf.c: Likewise.
28352 * soft-fp/floattisf.c: Likewise.
28353 * soft-fp/floattitf.c: Likewise.
28354 * soft-fp/floatundidf.c: Likewise.
28355 * soft-fp/floatundisf.c: Likewise.
28356 * soft-fp/floatunsidf.c: Likewise.
28357 * soft-fp/floatunsisf.c: Likewise.
28358 * soft-fp/floatuntidf.c: Likewise.
28359 * soft-fp/floatuntisf.c: Likewise.
28360 * soft-fp/floatuntitf.c: Likewise.
28361 * soft-fp/fmadf4.c: Likewise.
28362 * soft-fp/fmasf4.c: Likewise.
28363 * soft-fp/fmatf4.c: Likewise.
28364 * soft-fp/gedf2.c: Likewise.
28365 * soft-fp/gesf2.c: Likewise.
28366 * soft-fp/getf2.c: Likewise.
28367 * soft-fp/ledf2.c: Likewise.
28368 * soft-fp/lesf2.c: Likewise.
28369 * soft-fp/letf2.c: Likewise.
28370 * soft-fp/muldf3.c: Likewise.
28371 * soft-fp/mulsf3.c: Likewise.
28372 * soft-fp/multf3.c: Likewise.
28373 * soft-fp/negdf2.c: Likewise.
28374 * soft-fp/negsf2.c: Likewise.
28375 * soft-fp/negtf2.c: Likewise.
28376 * soft-fp/op-1.h: Likewise.
28377 * soft-fp/op-2.h: Likewise.
28378 * soft-fp/op-4.h: Likewise.
28379 * soft-fp/op-8.h: Likewise.
28380 * soft-fp/op-common.h: Likewise.
28381 * soft-fp/quad.h: Likewise.
28382 * soft-fp/single.h: Likewise.
28383 * soft-fp/soft-fp.h: Likewise.
28384 * soft-fp/sqrtdf2.c: Likewise.
28385 * soft-fp/sqrtsf2.c: Likewise.
28386 * soft-fp/sqrttf2.c: Likewise.
28387 * soft-fp/subdf3.c: Likewise.
28388 * soft-fp/subsf3.c: Likewise.
28389 * soft-fp/subtf3.c: Likewise.
28390 * soft-fp/truncdfsf2.c: Likewise.
28391 * soft-fp/trunctfdf2.c: Likewise.
28392 * soft-fp/trunctfsf2.c: Likewise.
28393 * soft-fp/trunctfxf2.c: Likewise.
28394 * soft-fp/unorddf2.c: Likewise.
28395 * soft-fp/unordsf2.c: Likewise.
28396 * soft-fp/unordtf2.c: Likewise.
28398 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
28401 * misc/error.c (error_tail): Fix possible buffer overflow.
28403 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
28406 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28409 2013-10-14 P. J. McDermott <pj@pehjota.net>
28412 * elf/ldd.bash.in (try_trace): New function. Delete previous code
28413 testing pipefail option.
28415 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28417 * soft-fp/double.h: Indent preprocessor directives inside #if.
28418 * soft-fp/extended.h: Likewise.
28419 * soft-fp/op-2.h: Likewise.
28420 * soft-fp/op-4.h: Likewise.
28421 * soft-fp/op-common.h: Likewise.
28422 * soft-fp/quad.h: Likewise.
28423 * soft-fp/single.h: Likewise.
28424 * soft-fp/soft-fp.h: Likewise.
28426 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
28428 * iconv/iconv_prog.c: Fix typos.
28429 * stdio-common/psiginfo-data.h: Likewise.
28431 2013-10-12 Reuben Thomas <rrt@sc3d.org>
28434 * locale/setlocale.c: Fix typo.
28436 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28439 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28440 signaling NaN arguments.
28441 * soft-fp/unordsf2.c (__unordsf2): Likewise.
28442 * soft-fp/unordtf2.c (__unordtf2): Likewise.
28445 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28446 unordered operands.
28447 * soft-fp/gesf2.c (__gesf2): Likewise.
28448 * soft-fp/getf2.c (__getf2): Likewise.
28449 * soft-fp/ledf2.c (__ledf2): Likewise.
28450 * soft-fp/lesf2.c (__lesf2): Likewise.
28451 * soft-fp/letf2.c (__letf2): Likewise.
28453 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28454 * soft-fp/eqsf2.c (__eqsf2): Likewise.
28455 * soft-fp/eqtf2.c (__eqtf2): Likewise.
28456 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28457 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28458 * soft-fp/fixdfti.c (__fixdfti): Likewise.
28459 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28460 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28461 * soft-fp/fixsfti.c (__fixsfti): Likewise.
28462 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28463 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28464 * soft-fp/fixtfti.c (__fixtfti): Likewise.
28465 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28466 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28467 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28468 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28469 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28470 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28471 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28472 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28473 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28474 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28475 * soft-fp/floatdisf.c (__floatdisf): Likewise.
28476 * soft-fp/floatsisf.c (__floatsisf): Likewise.
28477 * soft-fp/floattidf.c (__floattidf): Likewise.
28478 * soft-fp/floattisf.c (__floattisf): Likewise.
28479 * soft-fp/floattitf.c (__floattitf): Likewise.
28480 * soft-fp/floatundidf.c (__floatundidf): Likewise.
28481 * soft-fp/floatundisf.c (__floatundisf): Likewise.
28482 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28483 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28484 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28485 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28486 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28487 * soft-fp/gesf2.c (__gesf2): Likewise.
28488 * soft-fp/getf2.c (__getf2): Likewise.
28489 * soft-fp/ledf2.c (__ledf2): Likewise.
28490 * soft-fp/lesf2.c (__lesf2): Likewise.
28491 * soft-fp/letf2.c (__letf2): Likewise.
28493 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28494 Undefine and redefine.
28495 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28496 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28497 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28498 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28499 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28500 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28501 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28502 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28503 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28504 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28505 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28506 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28507 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28508 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28509 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28512 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28513 without decrementing exponent if mantissa >= that for the
28514 denominator, not >.
28515 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28516 denominator, not >. Decrement exponent in < case instead of
28517 incrementing in >= case.
28518 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28519 without decrementing exponent if mantissa >= that for the
28520 denominator, not >.
28522 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28523 computing saturated result for unsigned overflow.
28525 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28526 Jeff Law <law@redhat.com>
28528 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28529 (atan2Mp): Add systemtap probe marker.
28530 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28531 (__ieee754_log): Add systemtap probe marker.
28532 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28533 (atanMp): Add systemtap probe marker.
28534 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28535 (tanMp): Add systemtap probe marker.
28536 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28537 (__slowexp): Add systemtap probe marker.
28538 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28539 (__slowpow): Add systemtap probe marker.
28540 * manual/probes.texi: Document probes.
28542 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
28545 * libio/fileops.c (_IO_new_file_write): Return count of bytes
28547 (_IO_new_file_xsputn): Don't return EOF if nothing has been
28549 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28550 written to buffer but not flushed.
28551 * libio/iofwrite_u.c: Likewise.
28552 * libio/iopadn.c: Return bytes returned even if EOF was
28554 * libio/iowpadn.c: Likewise.
28555 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28556 if _IO_padn does not write the whole buffer.
28557 [!COMPILE_WPRINTF] (PAD): Likewise.
28559 2013-10-10 David S. Miller <davem@davemloft.net>
28561 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28564 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28566 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
28567 instead of FSF address.
28568 * soft-fp/fixdfti.c: Likewise.
28569 * soft-fp/fixsfti.c: Likewise.
28570 * soft-fp/fixtfti.c: Likewise.
28571 * soft-fp/fixunsdfti.c: Likewise.
28572 * soft-fp/fixunssfti.c: Likewise.
28573 * soft-fp/fixunstfti.c: Likewise.
28574 * soft-fp/floattidf.c: Likewise.
28575 * soft-fp/floattisf.c: Likewise.
28576 * soft-fp/floattitf.c: Likewise.
28577 * soft-fp/floatuntidf.c: Likewise.
28578 * soft-fp/floatuntisf.c: Likewise.
28579 * soft-fp/floatuntitf.c: Likewise.
28580 * soft-fp/trunctfxf2.c: Likewise.
28582 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
28583 * soft-fp/fixdfti.c: Likewise.
28584 * soft-fp/fixsfti.c: Likewise.
28585 * soft-fp/fixtfti.c: Likewise.
28586 * soft-fp/fixunsdfti.c: Likewise.
28587 * soft-fp/fixunssfti.c: Likewise.
28588 * soft-fp/fixunstfti.c: Likewise.
28589 * soft-fp/floattidf.c: Likewise.
28590 * soft-fp/floattisf.c: Likewise.
28591 * soft-fp/floattitf.c: Likewise.
28592 * soft-fp/floatuntidf.c: Likewise.
28593 * soft-fp/floatuntisf.c: Likewise.
28594 * soft-fp/floatuntitf.c: Likewise.
28595 * soft-fp/trunctfxf2.c: Likewise.
28597 2013-10-10 David S. Miller <davem@davemloft.net>
28599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28601 2013-10-10 Joseph Myers <joseph@codsourcery.com>
28603 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28604 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28605 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28606 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28607 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28608 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28609 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28611 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28612 for NaNs before doing comparisons on argument.
28613 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28616 2013-10-10 Will Newton <will.newton@linaro.org>
28618 * malloc/hooks.c (memalign_check): Ensure the value of bytes
28619 passed to _int_memalign does not overflow.
28621 2013-10-10 Torvald Riegel <triegel@redhat.com>
28623 * scripts/bench.pl: Add include-sources directive.
28624 * benchtests/README: Update documentation.
28626 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28628 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28629 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28630 instead of FP_INIT_ROUNDMODE.
28631 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28632 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28635 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
28636 copy class of input value.
28637 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
28638 not handle exceptions.
28639 * soft-fp/negsf2.c (__negsf2): Likewise.
28640 * soft-fp/negtf2.c (__negtf2): Likewise.
28641 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28643 2013-10-09 Joseph Myers <joseph@codesourcery.com>
28645 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28646 semicolon. From Linux kernel.
28648 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
28650 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28652 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
28655 * manual/socket.texi: Added statement about buffer
28656 for gethostbyname2_r.
28658 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
28660 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28661 Use .p2align directive instead, throughout.
28662 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28663 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28664 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28665 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28666 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28667 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28668 * sysdeps/x86_64/strchr.S: Likewise.
28669 * sysdeps/x86_64/strrchr.S: Likewise.
28671 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28673 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28675 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28677 * sysdeps/generic/math_private.h (__mpsin1): Remove
28679 (__mpcos1): Likewise.
28680 (__mpsin): New argument __range_reduce.
28681 (__mpcos): Likewise.
28682 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28683 (slow): Use __mpsin and __mpcos.
28687 (sloww1): Likewise.
28688 (sloww2): Likewise.
28689 (bsloww): Likewise.
28690 (bsloww1): Likewise.
28691 (bsloww2): Likewise.
28692 (cslow2): Likewise.
28693 (csloww): Likewise.
28694 (csloww1): Likewise.
28695 (csloww2): Likewise.
28696 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28697 range_reduce. Merge in __mpsin1.
28698 (__mpcos): Likewise.
28699 (__mpsin1): Remove.
28700 (__mpcos1): Likewise.
28702 2013-10-07 Joseph Myers <joseph@codesourcery.com>
28704 * locale/loadlocale.c (_nl_intern_locale_data): Use
28706 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28707 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28708 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28709 obstack data is appropriately aligned.
28710 (obstack_int32_grow_fast): Likewise.
28711 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28712 * locale/programs/locfile.c (add_locale_uint32): Likewise.
28713 (add_locale_uint32_array): Likewise.
28715 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28717 * benchtests/Makefile: Remove ARGLIST and RET variables.
28718 ($(objpfx)bench-%.c): Pass only function name to the script.
28719 * benchtests/README: Update documentation.
28720 * benchtests/acos-inputs: Add new directives.
28721 * benchtests/acosh-inputs: Likewise.
28722 * benchtests/asin-inputs: Likewise.
28723 * benchtests/asinh-inputs: Likewise.
28724 * benchtests/atan-inputs: Likewise.
28725 * benchtests/atanh-inputs: Likewise.
28726 * benchtests/cos-inputs: Likewise.
28727 * benchtests/cosh-inputs: Likewise.
28728 * benchtests/exp-inputs: Likewise.
28729 * benchtests/log-inputs: Likewise.
28730 * benchtests/pow-inputs: Likewise.
28731 * benchtests/rint-inputs: Likewise.
28732 * benchtests/sin-inputs: Likewise.
28733 * benchtests/sinh-inputs: Likewise.
28734 * benchtests/tan-inputs: Likewise.
28735 * benchtests/tanh-inputs: Likewise.
28736 * scripts/bench.pl: Add support for new directives.
28738 2013-10-07 Alan Modra <amodra@gmail.com>
28740 * README: Fix careless merge.
28742 2013-10-05 Alan Modra <amodra@gmail.com>
28744 * NEWS: Mention powerpc64le support and bugs fixed.
28745 * README: Both big-endian and little-endian powerpc64 supported.
28747 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28749 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28750 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28751 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28752 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28754 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
28756 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28759 2013-10-04 Joseph Myers <joseph@codesourcery.com>
28761 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28762 Move -mhard-float appending from
28763 ports/sysdeps/powerpc/powerpc32/Makefile.
28764 [$(with-fp) = yes] (ASFLAGS): Likewise.
28765 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28766 * sysdeps/powerpc/nofpu: Move directory from
28767 ports/sysdeps/powerpc/nofpu.
28768 * sysdeps/powerpc/soft-fp: Move directory from
28769 ports/sysdeps/powerpc/soft-fp.
28770 * sysdeps/powerpc/powerpc32/405: Move directory from
28771 ports/sysdeps/powerpc/powerpc32/405.
28772 * sysdeps/powerpc/powerpc32/440: Move directory from
28773 ports/sysdeps/powerpc/powerpc32/440.
28774 * sysdeps/powerpc/powerpc32/464: Move directory from
28775 ports/sysdeps/powerpc/powerpc32/464.
28776 * sysdeps/powerpc/powerpc32/476: Move directory from
28777 ports/sysdeps/powerpc/powerpc32/476.
28778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28779 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28781 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28783 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28785 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28787 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28788 * README: Update for powerpc-*-linux-gnu software floating point
28791 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28792 case to powerpc/powerpc32*.
28793 * sysdeps/unix/sysv/linux/configure: Regenerated.
28795 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28796 (_FPU_MASK_OM): Define as 0x04.
28797 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28798 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28800 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28802 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28805 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28808 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28811 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28812 and setcontext_e500.
28814 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
28816 * locale/iso-3166.def: Update iso-1366.def and related occurrences
28818 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28820 * manual/threads.texi (Default Thread Attributes): Fix typo.
28822 2013-10-04 Will Newton <will.newton@linaro.org>
28824 * malloc/Makefile: Add tst-memalign.
28825 * malloc/tst-memalign.c: New file.
28827 * malloc/tst-posix_memalign.c: Add comments.
28828 (do_test): Add comments and call free on all potentially
28829 allocated pointers. Add space after cast.
28831 * malloc/tst-pvalloc.c: Add comments.
28832 (do_test): Add comments and call free on all potentially
28833 allocated pointers. Remove duplicate check for NULL pointer.
28834 Add space after cast.
28836 * malloc/tst-valloc.c: Add comments.
28837 (do_test): Add comments and call free on all potentially
28838 allocated pointers. Remove duplicate check for NULL pointer.
28839 Add space after cast.
28841 2013-10-04 Alan Modra <amodra@gmail.com>
28843 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28844 Use stdint types in rather than __attribute__((mode())).
28845 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28847 2013-10-04 Alan Modra <amodra@gmail.com>
28849 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28850 Correct handling of unaligned relocs for little-endian.
28851 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28853 2013-10-04 Alan Modra <amodra@gmail.com>
28855 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28856 * configure: Regenerate.
28857 * nptl/shlib-versions: Powerpc*le starts at 2.18.
28858 * shlib-versions: Likewise.
28860 2013-10-04 Alan Modra <amodra@gmail.com>
28862 * string/tester.c (test_memrchr): Increment reported test cycle.
28864 2013-10-04 Alan Modra <amodra@gmail.com>
28866 * string/test-memcpy.c (do_one_test): When reporting errors, print
28867 string address and don't overrun end of string.
28869 2013-10-04 Alan Modra <amodra@gmail.com>
28871 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28872 insrdi. Make better use of reg selection to speed exit slightly.
28873 Schedule entry path a little better. Remove useless "are we done"
28874 checks on entry to main loop. Handle wrapping around zero address.
28875 Correct main loop count. Handle single left-over word from main
28876 loop inline rather than by using loop_small. Remove extra word
28877 case in loop_small caused by wrong loop count. Add little-endian
28879 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28880 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
28882 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28883 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28884 support. Avoid rlwimi.
28885 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28887 2013-10-04 Alan Modra <amodra@gmail.com>
28889 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28890 insrdi. Formatting.
28891 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28892 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28893 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28894 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28895 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28896 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28898 2013-10-04 Alan Modra <amodra@gmail.com>
28900 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28901 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28902 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28903 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28904 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28905 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28906 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28907 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28908 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
28909 use of regs. Use power7 mtocrf. Tidy function tails.
28911 2013-10-04 Alan Modra <amodra@gmail.com>
28913 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28914 Formatting. Consistently use rXXX register defines or rN defines.
28915 Use early exit labels that avoid restoring unused non-volatile regs.
28916 Make cr field use more consistent with rWORDn compares. Rename
28917 regs used as shift registers for unaligned loop, using rN defines
28918 for short lifetime/multiple use regs.
28919 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28920 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
28921 addi 1,1,64 to pop stack frame. Simplify return value code.
28922 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28924 2013-10-04 Alan Modra <amodra@gmail.com>
28926 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28927 support. Correct typos, formatting. Optimize tail. Use insrdi
28928 rather than rlwimi.
28929 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28930 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28931 little-endian support. Correct typos.
28932 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
28933 rather than rlwimi.
28934 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
28935 in loop and entry code to keep "and." results.
28936 (strchr): Add little-endian support. Comment. Move cntlzd
28938 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28940 2013-10-04 Alan Modra <amodra@gmail.com>
28942 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28943 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28944 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28945 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28947 2013-10-04 Alan Modra <amodra@gmail.com>
28949 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28950 (rTMP): Define as r11.
28951 (strcmp): Add little-endian support. Optimise tail.
28952 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28953 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28954 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28955 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28956 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28957 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28958 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28960 2013-10-04 Alan Modra <amodra@gmail.com>
28962 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28963 little-endian support. Remove unnecessary "are we done" tests.
28964 Handle "s" wrapping around zero and extremely large "size".
28965 Correct main loop count. Handle single left-over word from main
28966 loop inline rather than by using small_loop. Correct comments.
28967 Delete "zero" tail, use "end_max" instead.
28968 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28970 2013-10-04 Alan Modra <amodra@gmail.com>
28972 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28973 support. Don't branch over align.
28974 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28975 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28976 support. Rearrange tmp reg use to suit. Comment.
28977 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28979 2013-10-04 Alan Modra <amodra@gmail.com>
28981 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28983 2013-10-04 Alan Modra <amodra@gmail.com>
28985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28986 conditional form of branch and link when obtaining pc.
28987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28989 2013-10-04 Alan Modra <amodra@gmail.com>
28991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28996 2013-10-04 Alan Modra <amodra@gmail.com>
28998 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28999 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
29000 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29001 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
29002 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29003 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29004 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29005 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29006 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29007 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29009 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29010 Alistair Popple <alistair@ozlabs.au.ibm.com>
29011 Alan Modra <amodra@gmail.com>
29014 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29015 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29016 _dl_hwcap access for little-endian.
29017 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
29018 destroy vmx regs when saving unaligned.
29019 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29020 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
29021 destroy vmx regs when saving unaligned.
29023 2013-10-04 Alan Modra <amodra@gmail.com>
29025 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29026 Don't use a union to pack hi/low value.
29028 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29030 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29032 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29033 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29034 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29035 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29036 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29038 2013-10-04 Alan Modra <amodra@gmail.com>
29040 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29041 constants to usual value for .cst8 section, and remove redundant
29043 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29044 constant for 0x1p52. Load little-endian words of double from
29045 correct stack offsets.
29047 2013-10-04 Alan Modra <amodra@gmail.com>
29049 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29050 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29051 words of double from correct stack offsets.
29052 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29053 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29054 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29055 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29056 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29057 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29058 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29059 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29060 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29061 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29062 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29063 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29064 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29065 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29066 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29067 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29068 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29070 2013-10-04 Alan Modra <amodra@gmail.com>
29072 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29073 64-bit int/double union.
29074 (_FPU_SETCW): Likewise.
29075 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29076 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29078 2013-10-04 Alan Modra <amodra@gmail.com>
29080 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29081 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29083 2013-10-04 Alan Modra <amodra@gmail.com>
29085 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29086 use vector int constants.
29087 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29089 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29091 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29092 array with long long.
29093 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29094 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29095 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29096 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29097 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29098 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29099 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29100 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29101 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29102 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29103 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29104 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29105 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29107 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29109 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29110 (__signbit): Likewise. Correct for little-endian.
29111 (__signbitl): Call __signbit.
29112 (lrint): Correct for little-endian.
29113 (lrintf): Call lrint.
29115 2013-10-04 Alan Modra <amodra@gmail.com>
29117 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29118 union 32-bit int array member with 64-bit int array.
29119 (t515, tm256): Double rather than long double.
29120 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29122 2013-10-04 Alan Modra <amodra@gmail.com>
29124 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29126 (IEEE854_LONG_DOUBLE_BIAS): Delete.
29127 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29128 version of math_ldbl.h.
29130 2013-10-04 Alan Modra <amodra@gmail.com>
29132 [BZ #15734], [BZ #15735]
29133 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29134 all uses of ieee875 long double macros and unions. Simplify test
29135 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
29136 ldbl_extract_mantissa value for ix,iy exponents. Properly
29137 normalize after ldbl_extract_mantissa, and don't add hidden bit
29138 already handled. Don't treat low word of ieee854 mantissa like
29139 low word of IBM long double and mask off bit when testing for
29141 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29142 all uses of ieee875 long double macros and unions. Simplify tests
29143 for 0.0L and inf. Correct double adjustment of k. Delete dead code
29144 adjusting ha,hb. Simplify code setting kld. Delete two600 and
29145 two1022, instead use their values. Recognise that tests for large
29146 "a" and small "b" are mutually exclusive. Rename vars. Comment.
29147 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29148 Rewrite all uses of ieee875 long double macros and unions. Simplify
29149 test for 0.0L and nan. Correct negation.
29150 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29151 ieee875 long double macros and unions. Correct output for large
29152 magnitude x. Correct absolute value calculation.
29153 (__erfcl): Likewise.
29154 * math/libm-test.inc: Add tests for errors discovered in IBM long
29155 double versions of fmodl, remainderl, erfl and erfcl.
29157 2013-10-04 Alan Modra <amodra@gmail.com>
29159 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29160 all uses of ieee854 long double macros and unions. Simplify tests
29161 for long doubles that are fully specified by the high double.
29162 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29164 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29165 Remove dead code too.
29166 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29167 (__ieee754_ynl): Likewise.
29168 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29169 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29170 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29171 Remove dead code too.
29172 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29173 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29174 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29175 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29177 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29179 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29180 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29181 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29182 Comment on variable precision.
29183 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29184 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29186 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29187 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29188 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29189 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29190 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29192 2013-10-04 Alan Modra <amodra@gmail.com>
29194 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29195 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29196 all uses of ieee854 long double macros and unions.
29197 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29198 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29199 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29200 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29201 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29202 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29204 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29205 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29206 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29207 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29208 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29209 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29210 Simplify sign and nan test too.
29211 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29212 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29213 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29214 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29216 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29217 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29219 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29220 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29221 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29222 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29223 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29224 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29226 2013-10-04 Alan Modra <amodra@gmail.com>
29228 * stdio-common/printf_size.c (__printf_size): Don't use
29229 union ieee854_long_double in fpnum union.
29230 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
29231 signbit macro to retrieve sign from long double.
29232 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29233 retrieve sign from long double.
29234 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29235 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29236 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29237 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29238 * math/test-misc.c (main): Don't use union ieee854_long_double.
29240 2013-10-04 Alan Modra <amodra@gmail.com>
29243 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29244 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29245 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29246 calculation. Remove unnecessary test for denormal exponent.
29247 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29248 Correct handling of denormals. Avoid undefined shift behaviour.
29249 Correct normalisation of low mantissa when low double is denormal.
29250 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29251 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
29252 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29253 Correct normalisation of low mantissa. Test for overflow of high
29254 mantissa and normalise.
29255 (ldbl_nearbyint): Use more readable constant for two52.
29256 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29257 (__mpn_construct_long_double): Fix test for overflow of high
29258 mantissa and correct normalisation. Avoid undefined shift.
29260 2013-10-04 Alan Modra <amodra@gmail.com>
29262 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29263 (union ibm_extended_long_double): Define as an array of ieee754_double.
29264 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29265 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29266 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29267 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29268 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29269 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29270 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29271 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29272 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29273 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29274 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29276 2013-10-03 Joseph Myers <joseph@codesourcery.com>
29278 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29279 page size instead of calling getpagesize.
29281 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29282 (LOCFILE_ALIGN_MASK): Likewise.
29283 (LOCFILE_ALIGN_UP): Likewise.
29284 (LOCFILE_ALIGNED_P): Likewise.
29285 * locale/programs/ld-collate.c (collate_output): Use the new
29286 macros instead of __alignof__ (int32_t).
29287 * locale/weight.h (findidx): Likewise.
29289 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
29292 * manual/string.texi: Fix strncat and wcsncat.
29294 2013-10-03 Brooks Moses <bmoses@google.com>
29297 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29298 * Makerules: ...here, and adjust associated comments.
29300 2013-10-02 Will Newton <will.newton@linaro.org>
29302 * malloc/Makefile: Add tst-pvalloc.
29303 * malloc/tst-pvalloc.c: New file.
29305 2013-10-02 Will Newton <will.newton@linaro.org>
29307 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29308 improve test coverage.
29310 2013-10-02 Will Newton <will.newton@linaro.org>
29312 * malloc/Makefile: Add tst-posix_memalign.
29313 * malloc/tst-posix_memalign.c: New file.
29315 2013-10-01 Eric Blake <eblake@redhat.com>
29317 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29318 Use __THROWNL rather than __THROW on static functions.
29320 2013-09-30 Petr Machata <pmachata@redhat.com>
29322 * elf/elf.h (R_AARCH64_ABS16): New macro.
29323 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29324 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29325 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29326 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29327 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29328 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29329 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29330 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29331 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29332 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29333 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29334 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29335 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29336 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29337 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29338 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29339 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29340 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29341 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29342 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29343 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29344 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29345 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29346 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29347 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29348 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29349 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29350 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29351 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29352 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29353 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29354 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29355 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29356 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29357 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29358 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29359 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29360 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29361 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29362 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29363 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29364 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29365 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29366 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29367 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29368 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29369 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29370 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29371 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29372 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29373 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29374 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29375 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29376 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29377 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29378 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29379 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29380 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29381 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29382 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29383 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29384 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29385 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29386 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29387 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29388 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29389 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29390 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29391 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29392 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29393 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29394 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29395 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29396 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29397 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29398 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29399 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29400 (R_AARCH64_TLSDESC_LDR): Likewise.
29401 (R_AARCH64_TLSDESC_ADD): Likewise.
29402 (R_AARCH64_TLSDESC_CALL): Likewise.
29404 2013-09-30 Andreas Schwab <schwab@suse.de>
29407 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29408 the nss database lookup.
29409 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29412 2013-09-28 Mike Frysinger <vapier@gentoo.org>
29414 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29416 2013-09-28 P. J. McDermott <pj@pehjota.net>
29418 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29419 ${Bash-specific parameter/pattern/string} parameter expansion.
29420 * sysdeps/unix/make-syscalls.sh: Likewise.
29422 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29424 * sysdeps/sh/stackguard-macros.h: New file.
29426 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
29428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29429 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29430 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29431 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29432 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29433 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29435 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29437 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29438 Fix thread ID register.
29440 2013-09-25 Joseph Myers <joseph@codesourcery.com>
29442 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29443 [POSIX || UNIX98]: Require rather than permitting all symbols from
29445 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29446 element of struct sched_param.
29447 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29448 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29449 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29450 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29453 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
29455 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29456 argument calculation.
29458 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29460 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29462 [POSIX] (pthread_attr_t): Do not require type.
29463 [POSIX] (pthread_cond_t): Likewise.
29464 [POSIX] (pthread_condattr_t): Likewise.
29465 [POSIX] (pthread_key_t): Likewise.
29466 [POSIX] (pthread_mutex_t): Likewise.
29467 [POSIX] (pthread_mutexattr_t): Likewise.
29468 [POSIX] (pthread_once_t): Likewise.
29469 [POSIX] (pthread_t): Likewise.
29470 [POSIX-based standards] (pthread_atfork): Expect function.
29472 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29473 Richard Sandiford <richard@codesourcery.com>
29475 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29476 (swap_endianness_p): New extern variable.
29477 (set_big_endian): New inline function.
29478 (maybe_swap_uint32): Likewise.
29479 (maybe_swap_uint32_array): Likewise.
29480 (maybe_swap_uint32_obstack): Likewise.
29481 * locale/programs/locfile.c: Include <stdbool.h>.
29482 (swap_endianness_p): New variable.
29483 (add_locale_uint32): Call maybe_swap_uint32.
29484 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29485 (write_locale_data): Call maybe_swap_uint32_array.
29486 * locale/programs/ld-collate.c (obstack_int32_grow): Call
29488 (obstack_int32_grow_fast): Likewise.
29489 (output_weightwc): Call maybe_swap_uint32_obstack.
29490 (collate_output): Likewise.
29491 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29492 (OPT_LITTLE_ENDIAN): Likewise.
29493 (options): Add --little-endian and --big-endian options.
29494 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29495 * locale/programs/locarchive.c: Include "locfile.h".
29499 (create_archive): Use the new macros to access fields of
29500 structures directly mapped from or written to locale archives.
29501 (oldlocrecentcmp): Likewise.
29502 (enlarge_archive): Likewise.
29503 (insert_name): Likewise.
29504 (add_alias): Likewise.
29505 (add_locale): Likewise.
29506 (delete_locales_from_archive): Likewise.
29507 (show_archive_content): Likewise.
29508 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
29511 2013-09-24 Roland McGrath <roland@hack.frob.com>
29513 * manual/freemanuals.texi: Updated from (newly) canonical copy at
29514 http://www.gnu.org/doc/freemanuals.texi.
29515 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29517 2013-09-24 Will Newton <will.newton@linaro.org>
29519 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29522 2013-09-23 Joseph Myers <joseph@codesourcery.com>
29524 * locale/hashval.h (compute_hashval): Interpret bytes of key as
29527 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
29529 * manual/threads.texi (POSIX Threads): Fix a typo.
29531 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29534 * string/tst-strcoll-overflow.c: New test case.
29535 * string/Makefile (xtests): Add tst-strcoll-overflow.
29536 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29537 cache if string sizes may cause integer overflow.
29540 * string/strcoll_l.c (coll_seq): New members rule, idx,
29541 save_idx and back_us.
29542 (get_next_seq_nocache): New function.
29543 (do_compare_nocache): New function.
29544 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29547 2013-09-23 Carlos O'Donell <carlos@redhat.com>
29550 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29551 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29552 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29555 * elf/Makefile (tests): Add tst-ptrguard1.
29556 (tests-static): Add tst-ptrguard1-static.
29557 (tst-ptrguard1-ARGS): Define.
29558 (tst-ptrguard1-static-ARGS): Define.
29559 * elf/tst-ptrguard1.c: New file.
29560 * elf/tst-ptrguard1-static.c: New file.
29561 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29562 * sysdeps/i386/stackguard-macros.h: Likewise.
29563 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29564 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29565 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29566 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29567 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29568 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29570 2013-09-23 Hector Marco <hecmargi@upv.es>
29571 Ismael Ripoll <iripoll@disca.upv.es>
29572 Carlos O'Donell <carlos@redhat.com>
29575 * sysdeps/generic/stackguard-macros.h: Define
29576 __pointer_chk_guard_local and POINTER_CHK_GUARD.
29577 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29578 Define __pointer_chk_guard_local.
29579 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29580 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29582 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
29585 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29587 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
29589 * include/string.h (__ffs): Declare as hidden.
29590 * string/ffs.c (__ffs): Define as hidden.
29591 * sysdeps/i386/ffs.c (__ffs): Likewise.
29592 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29593 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29594 * sysdeps/s390/ffs.c (__ffs): Likewise.
29595 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29597 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
29599 * NEWS: Mention malloc probes.
29601 * malloc/arena.c (new_heap): New memory_heap_new probe.
29602 (grow_heap): New memory_heap_more probe.
29603 (shrink_heap): New memory_heap_less probe.
29604 (heap_trim): New memory_heap_free probe.
29605 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29606 (systrim): New memory_sbrk_less probe.
29607 * manual/probes.texi: Document them.
29609 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29610 * manual/probes.texi: Document it.
29612 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29613 (__libc_realloc): Add memory_realloc_retry probe.
29614 (__libc_memalign): Add memory_memalign_retry probe.
29615 (__libc_valloc): Add memory_valloc_retry probe.
29616 (__libc_pvalloc): Add memory_pvalloc_retry probe.
29617 (__libc_calloc): Add memory_calloc_retry probe.
29618 * manual/probes.texi: Document them.
29620 * malloc/arena.c (get_free_list): Add probe
29621 memory_arena_reuse_free_list.
29622 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29623 and memory_arena_reuse.
29624 (arena_get2) [!PER_THREAD]: Likewise.
29625 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29626 memory_arena_reuse_realloc.
29627 * manual/probes.texi: Document them.
29629 * malloc/malloc.c (__libc_free): Add
29630 memory_mallopt_free_dyn_thresholds probe.
29631 (__libc_mallopt): Add multiple memory_mallopt probes.
29632 * manual/probes.texi: Document them.
29634 * malloc/malloc.c: Include stap-probe.h.
29635 (__libc_mallopt): Add memory_mallopt probe.
29636 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29637 * manual/probes.texi: New.
29638 * manual/Makefile (chapters): Add probes.
29639 * manual/threads.texi: Set next node.
29641 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
29643 [BZ #15963, #13985]
29644 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29645 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29646 Add `Chinese' to `nan' entry name.
29648 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29650 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29651 (POLYNOMIAL): Likewise.
29652 (TAYLOR_SINCOS): Likewise.
29653 (TAYLOR_SLOW): Likewise.
29654 (__sin): Use TAYLOR_SINCOS.
29656 (slow): Use TAYLOR_SLOW.
29658 (bsloww): Likewise.
29659 (csloww): Likewise.
29661 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29663 * stdlib/strtod_l.c: Fix buffer overrun.
29665 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29667 * benchtests/Makefile (bench): Add sincos.
29668 * benchtests/bench-sincos.c: New file.
29670 * math/libm-test.inc (cos_test_data): New test inputs.
29671 (sin_test_data): Likewise.
29673 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29679 (sloww1): Likewise.
29680 (sloww2): Likewise.
29681 (bsloww1): Likewise.
29682 (bsloww2): Likewise.
29683 (cslow2): Likewise.
29684 (csloww1): Likewise.
29685 (csloww2): Likewise.
29687 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29692 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29696 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
29698 * config.h.in (HAVE_MIPS_NAN2008): New macro.
29699 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29700 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29701 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29702 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29703 * elf/cache.c (print_entry): Handle the new cache flags.
29705 2013-09-18 Joseph Myers <joseph@codesourcery.com>
29706 Aldy Hernandez <aldyh@redhat.com>
29708 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29709 Change condition to [_SOFT_FLOAT].
29710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29722 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29725 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29728 2013-09-18 Joseph Myers <joseph@codesourcery.com>
29730 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29731 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29732 (__longjmp): Use LOAD_GP to load saved GPRs.
29733 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29734 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29735 (__sigsetjmp): Use SAVE_GP to save GPRs.
29737 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29738 Do not append -msoft-float.
29739 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29741 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29743 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29745 2013-09-17 Joseph Myers <joseph@codesourcery.com>
29748 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29749 (_FPU_GETCW): Use initial "__" on variable and field names but not
29750 on macro parameter name.
29751 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
29752 parentheses around reference to macro parameter.
29754 2013-09-13 Richard Sandiford <richard@codesourcery.com>
29756 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29758 (ctype_startup): Use uint32_t in cast and sizeof for
29761 2013-09-11 Jia Liu <proljc@gmail.com>
29763 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29765 [__FreeBSD__]: Likewise.
29767 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
29769 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29770 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29771 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29772 (strchr): Remove __strchr_sse42 ifunc selection.
29773 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29774 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29776 2013-09-11 Will Newton <will.newton@linaro.org>
29778 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29779 parameter to RES. Remove hardcoded 1000 value.
29780 * benchtests/bench-skeleton.c (main): Pass RES parameter
29781 to TIMING_INIT and multiply result by 1000.
29783 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29787 2013-09-11 Andreas Schwab <schwab@suse.de>
29789 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29791 (O_TMPFILE) [__USE_GNU]: Define.
29792 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29795 2013-09-11 Will Newton <will.newton@linaro.org>
29798 * malloc/malloc.c (__libc_memalign): Check the value of bytes
29801 2013-09-11 Will Newton <will.newton@linaro.org>
29804 * malloc/malloc.c (__libc_valloc): Check the value of bytes
29807 2013-09-11 Will Newton <will.newton@linaro.org>
29810 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29813 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
29815 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29816 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29817 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29818 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29819 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29821 2013-09-10 Allan McRae <allan@archlinux.org>
29824 * manual/arith.texi (Parsing of Floats): Clarify
29828 * manual/install.texi (Running make install): Mention
29830 * INSTALL: Regenerated.
29832 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
29834 * csu/init-first.c (_init): Remove the !SHARED condition around
29835 FPU control word initialization.
29836 * elf/dl-support.c (_dl_fpu_control): New variable.
29837 (_dl_aux_init) <AT_FPUCW>: Initialize it.
29838 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29839 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29840 * math/test-fpucw-static.c: New file.
29841 * math/test-fpucw-ieee.c: New file.
29842 * math/test-fpucw-ieee-static.c: New file.
29843 * math/Makefile (tests): Add `test-fpucw-ieee' and
29845 (tests-static): New variable.
29846 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29848 [($(build-shared),yes)]
29849 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29851 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29854 2013-09-09 Allan McRae <allan@archlinux.org>
29857 * manual/string.texi (Collation Functions): Fix typo in
29859 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29862 * stdlib/isomac.c (get_null_defines): Fix memory leak.
29865 * libio/memstream.c (open_memstream): Fix memory leak.
29866 * libio/wmemstream.c (open_wmemstream): Likewise.
29869 * nscd/netgroupcache.c: Fix nesting of ifdefs.
29871 2013-09-09 Will Newton <will.newton@linaro.org>
29873 * malloc/Makefile: Add tst-realloc to tests.
29874 * malloc/tst-realloc.c: New file.
29876 2013-09-09 Allan McRae <allan@archlinux.org>
29879 * COPYING: Update from GNU website to fix FSF address.
29880 * COPYING.LIB: Likewise.
29882 2013-09-06 David S. Miller <davem@davemloft.net>
29884 * po/zh_TW.po: Update Chinese (traditional) translation from
29885 translation project.
29887 2013-09-06 Richard Sandiford <richard@codesourcery.com>
29888 Joseph Myers <joseph@codesourcery.com>
29890 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29892 (obstack_chunk_alloc): New macro.
29893 (obstack_chunk_free): Likewise.
29894 (record_offset): New function.
29895 (init_locale_data): Likewise.
29896 (align_locale_data): Likewise.
29897 (add_locale_empty): Likewise.
29898 (add_locale_raw_data): Likewise.
29899 (add_locale_raw_obstack): Likewise.
29900 (add_locale_string): Likewise.
29901 (add_locale_wstring): Likewise.
29902 (add_locale_uint32): Likewise.
29903 (add_locale_uint32_array): Likewise.
29904 (add_locale_char): Likewise.
29905 (start_locale_structure): Likewise.
29906 (end_locale_structure): Likewise.
29907 (start_locale_prelude): Likewise.
29908 (end_locale_prelude): Likewise.
29909 (write_locale_data): Take locale_file structure rather than an
29911 * locale/programs/locfile.h: Include "obstack.h".
29912 (struct locale_file): Change to store locale file contents instead
29914 (init_locale_data): New prototype.
29915 (align_locale_data): Likewise.
29916 (add_locale_empty): Likewise.
29917 (add_locale_raw_data): Likewise.
29918 (add_locale_raw_obstack): Likewise.
29919 (add_locale_string): Likewise.
29920 (add_locale_wstring): Likewise.
29921 (add_locale_uint32): Likewise.
29922 (add_locale_uint32_array): Likewise.
29923 (add_locale_char): Likewise.
29924 (start_locale_structure): Likewise.
29925 (end_locale_structure): Likewise.
29926 (start_locale_prelude): Likewise.
29927 (end_locale_prelude): Likewise.
29928 (write_locale_data): Update prototype.
29929 * locale/programs/3level.h (struct TABLE): Remove result field.
29930 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29931 Use new locale_file interface.
29932 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29933 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29934 * locale/programs/ld-address.c (address_output): Use new
29935 locale_file interface.
29936 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29938 (collate_finish): Don't call collseq_table_finalize.
29939 (collate_output): Use new locale_file interface.
29940 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29942 (NO_FINALIZE): Change to NO_ADD_LOCALE.
29943 (TABLE): Move defines earlier in file.
29944 (ELEMENT): Likewise.
29945 (DEFAULT): Likewise.
29946 (wctrans_table_add): Move macro and inline function earlier in
29948 (struct wctype_table): Move type earlier in file.
29949 (add_locale_wctype_table): New static prototype.
29950 (struct locale_ctype_t): Use logical types instead of struct iovec
29951 pointers for members.
29952 (ctype_output): Use new locale_file interface.
29953 (wctype_table_finalize): Change to add_locale_wctype_table. Use
29954 new locale_file interface.
29955 (allocate_arrays): Update for use of new locale_file interface.
29956 * locale/programs/ld-identification.c (identification_output): Use
29957 new locale_file interface.
29958 * locale/programs/ld-measurement.c (measurement_output): Likewise.
29959 * locale/programs/ld-messages.c (messages_output): Likewise.
29960 * locale/programs/ld-monetary.c (monetary_output): Likewise.
29961 * locale/programs/ld-name.c (name_output): Likewise.
29962 * locale/programs/ld-numeric.c (numeric_output): Likewise.
29963 * locale/programs/ld-paper.c (paper_output): Likewise.
29964 * locale/programs/ld-telephone.c (telephone_output): Likewise.
29965 * locale/programs/ld-time.c (time_output): Likewise.
29967 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29969 * benchtests/Makefile: Add memrchr benchmark.
29970 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29971 benchmark as memrchr.
29972 * benchtests/bench-memrchr-ifunc.c: New file.
29973 * benchtests/bench-memrchr.c: New file.
29975 2013-09-06 Will Newton <will.newton@linaro.org>
29977 * benchtests/Makefile (string-bench): Add memcpy.
29979 2013-09-05 Carlos O'Donell <carlos@redhat.com>
29980 Cong Wang <amwang@redhat.com>
29983 * sysdeps/unix/sysv/linux/bits/in.h
29984 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29985 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29986 before __USE_KERNEL_IPV6_DEFS uses.
29987 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29989 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29990 sockaddr_in6, or ipv6_mreq.
29992 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29994 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29995 memory access for final bytes in some large inputs.
29996 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29998 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30000 * string/test-memrchr.c: New file.
30001 * string/test-memrchr-ifunc.c: New file.
30002 * string/Makefile: Add new memrchr testcase.
30004 2013-09-05 Mike Frysinger <vapier@gentoo.org>
30006 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30007 fanotify_init returns EPERM.
30009 2013-09-04 Joseph Myers <joseph@codesourcery.com>
30011 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30013 (top level): Treat second token from macro or constant entries for
30014 allowed headers as allowed.
30015 * include/complex.h: Condition internal declarations on
30017 * include/fenv.h: Condition include of <stdbool.h> and internal
30018 declarations on [!_ISOMAC].
30020 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
30023 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30025 2013-09-04 Joseph Myers <joseph@codesourcery.com>
30027 * configure.in (--enable-versioning): Remove configure option.
30028 (libc_cv_asm_symver_directive): Remove configure test.
30029 (libc_cv_ld_version_script_option): Likewise.
30030 (VERSIONING): Remove variable and AC_SUBST.
30031 (DO_VERSIONING): Remove AC_DEFINE.
30032 * configure: Regenerated.
30033 * config.h.in (DO_VERSIONING): Remove macro.
30034 * Makerules [$(versioning) = yes]: Change conditionals to
30035 [$(build-shared) = yes].
30036 * config.make.in (versioning): Remove variable.
30037 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30038 [$(build-shared) = yes].
30039 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30040 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30041 * elf/Makefile [$(versioning) = yes]: Change conditionals to
30042 [$(build-shared) = yes].
30043 * extra-lib.mk [$(versioning) = yes]: Likewise.
30044 * hurd/Makefile [$(versioning) = yes]: Likewise.
30045 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30047 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30049 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30050 [SHARED && !NO_HIDDEN].
30051 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30053 [SHARED && DO_VERSIONING]: Likewise..
30054 * libio/Makefile [$(versioning) = yes]: Change conditionals to
30055 [$(build-shared) = yes].
30056 * manual/install.texi (--disable-versioning): Remove
30058 * INSTALL: Regenerated.
30059 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30061 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30062 [$(build-shared) = yes].
30063 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30064 * sysdeps/i386/i686/multiarch/strstr-c.c
30065 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30066 [SHARED && !NO_HIDDEN].
30067 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30068 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30069 * sysdeps/powerpc/powerpc32/dl-machine.c
30070 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30071 * sysdeps/powerpc/powerpc32/sysdep.h
30072 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30073 to [SHARED && PIC && !NO_HIDDEN].
30074 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30075 conditional to [SHARED].
30077 2013-09-04 Will Newton <will.newton@linaro.org>
30079 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30080 * benchtests/bench-string.h: Include bench-timing.h instead
30081 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30082 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30083 call to HP_TIMING_DIFF_INIT.
30084 * benchtests/bench-memccpy.c: Use bench-timing.h macros
30085 instead of hp-timing.h macros.
30086 * benchtests/bench-memchr.c: Likewise.
30087 * benchtests/bench-memcmp.c: Likewise.
30088 * benchtests/bench-memcpy.c: Likewise.
30089 * benchtests/bench-memmem.c: Likewise.
30090 * benchtests/bench-memmove.c: Likewise.
30091 * benchtests/bench-memset.c: Likewise.
30092 * benchtests/bench-rawmemchr.c: Likewise.
30093 * benchtests/bench-strcasecmp.c: Likewise.
30094 * benchtests/bench-strcasestr.c: Likewise.
30095 * benchtests/bench-strcat.c: Likewise.
30096 * benchtests/bench-strchr.c: Likewise.
30097 * benchtests/bench-strcmp.c: Likewise.
30098 * benchtests/bench-strcpy.c: Likewise.
30099 * benchtests/bench-strcpy_chk.c: Likewise.
30100 * benchtests/bench-strlen.c: Likewise.
30101 * benchtests/bench-strncasecmp.c: Likewise.
30102 * benchtests/bench-strncat.c: Likewise.
30103 * benchtests/bench-strncmp.c: Likewise.
30104 * benchtests/bench-strncpy.c: Likewise.
30105 * benchtests/bench-strnlen.c: Likewise.
30106 * benchtests/bench-strpbrk.c: Likewise.
30107 * benchtests/bench-strrchr.c: Likewise.
30108 * benchtests/bench-strspn.c: Likewise.
30109 * benchtests/bench-strstr.c: Likewise.
30111 2013-09-04 Will Newton <will.newton@linaro.org>
30113 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30115 2013-09-03 Joseph Myers <joseph@codesourcery.com>
30118 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30119 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30120 * math/libm-test.inc (lgamma_test_data): Add more tests.
30121 * sysdeps/i386/fpu/libm-test-ulps: Update.
30122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30124 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
30126 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30127 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30130 Add strcmp-sse2-unaligned
30131 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30133 2013-09-02 Mike Frysinger <vapier@gentoo.org>
30135 * Versions.def (libc): Add GLIBC_2.19.
30137 2013-09-02 Mike Frysinger <vapier@gentoo.org>
30139 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30140 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30142 2013-09-02 Joseph Myers <joseph@codesourcery.com>
30145 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30146 intermediate calculations in recurrence.
30147 (__ieee754_ynf): Likewise.
30148 * math/libm-test.inc (jn_test_data): Do not allow spurious
30149 underflow exception. Add more tests.
30150 (yn_test_data): Add more tests.
30151 * sysdeps/i386/fpu/libm-test-ulps: Update.
30152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30154 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
30156 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30158 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30160 * csu/init-first.c: Fix then/than typos.
30161 * locale/programs/ld-collate.c: Likewise.
30162 * locale/programs/linereader.h: Likewise.
30163 * manual/charset.texi: Likewise.
30164 * manual/filesys.texi: Likewise.
30165 * manual/stdio.texi: Likewise.
30166 * manual/string.texi: Likewise.
30167 * stdlib/fmtmsg.c: Likewise.
30168 * sysdeps/i386/stpncpy.S: Likewise.
30169 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30170 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30171 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30172 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30174 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30176 * elf/dl-open.c: Fix typos.
30177 * iconvdata/gbbig5.c: Likewise.
30178 * iconvdata/iso-2022-jp.c: Likewise.
30179 * iconv/gconv_int.h: Likewise.
30180 * iconv/loop.c: Likewise.
30181 * nis/rpcsvc/nis.h: Likewise.
30182 * resolv/ns_name.c: Likewise.
30183 * stdio-common/vfscanf.c: Likewise.
30184 * streams/stropts.h: Likewise.
30185 * sunrpc/rpc_thread.c: Likewise.
30186 * sysdeps/i386/strpbrk.S: Likewise.
30187 * sysdeps/ieee754/k_standard.c: Likewise.
30188 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30189 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30190 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30191 * sysdeps/mach/hurd/profil.c: Likewise.
30192 * sysdeps/s390/dl-procinfo.h: Likewise.
30193 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30194 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30195 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30196 * sysdeps/x86_64/dl-trampoline.S: Likewise.
30197 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30199 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30201 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30202 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30204 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
30206 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30207 aix specific files.
30208 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30209 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30210 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30211 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30212 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30213 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30214 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30215 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30217 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
30218 Roland McGrath <roland@hack.frob.com>
30220 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30221 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30223 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
30225 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30226 __executable_start symbol instead of _start.
30228 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
30230 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30231 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30233 * sysdeps/gnu/ldsodefs.h: ... this new file.
30235 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30236 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30237 instead of ELFOSABI_LINUX.
30239 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30240 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30241 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30242 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30244 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30245 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30246 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30248 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30249 (ibm_extended_long_double): Add ieee_nan member.
30250 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30251 (do_test): New function.
30253 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30255 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30256 functions, renamed from truncdfsf_test, trunctfsf_test,
30258 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30260 (do_test): Run all these.
30262 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
30264 * argp/argp-help.c: Fix typos.
30265 * argp/argp-parse.c: Likewise.
30266 * debug/backtracesyms.c: Likewise.
30267 * elf/elf.h: Likewise.
30268 * malloc/malloc.c: Likewise.
30269 * nis/nis_print.c: Likewise.
30270 * resolv/res_comp.c: Likewise.
30271 * stdlib/stdlib.h: Likewise.
30272 * sunrpc/clnt_tcp.c: Likewise.
30273 * sunrpc/clnt_udp.c: Likewise.
30274 * sunrpc/clnt_unix.c: Likewise.
30275 * sysdeps/unix/bsd/ptsname.c: Likewise.
30276 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30277 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30284 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30286 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30288 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30291 2013-08-27 Mike Frysinger <vapier@gentoo.org>
30294 * dlfcn/Makefile (tests): Add bug-dl-leaf.
30295 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30296 ($(objpfx)bug-dl-leaf): New rule.
30297 ($(objpfx)bug-dl-leaf.so): Likewise.
30298 ($(objpfx)bug-dl-leaf.out): Likewise.
30299 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30300 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30301 * dlfcn/bug-dl-leaf.c: New test.
30302 * dlfcn/bug-dl-leaf-lib.c: Likewise.
30303 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30304 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30305 (dlclose): Likewise.
30306 (dlmopen): Likewise.
30308 2013-08-27 Roland McGrath <roland@hack.frob.com>
30310 * include/netdb.h [!_ISOMAC]:
30311 Don't include <tls.h>.
30312 (h_errno, __libc_h_errno): Move declaration and macros out of
30315 * include/resolv.h [_RESOLV_H_]:
30316 Don't include <tls.h>.
30317 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30318 * resolv/res_libc.c: Don't include <tls.h>.
30319 (_res): Use __attribute__ ((nocommon)) in place of
30320 __attribute__ ((section (".bss"))).
30322 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30323 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30325 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30327 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30328 only under [SIOCGIFCONF && SIOCGIFNETMASK].
30330 * resolv/res_mkquery.c: Include <sys/time.h>.
30332 * inet/ifreq.c: Moved to ...
30333 * sysdeps/unix/ifreq.c: ... here.
30334 * inet/ifreq.c: New file, true stub version.
30336 * socket/sa_len.c: New file.
30337 * socket/Makefile (aux): Add it.
30338 * sysdeps/unix/sysv/linux/Makefile
30339 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30340 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30341 and #include <socket/sa_len.c>.
30342 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30343 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30345 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30346 * bits/socket.h: ... here.
30348 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30349 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30350 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30352 2013-08-27 Andreas Schwab <schwab@suse.de>
30355 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30356 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30357 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30358 * string/test-strcasecmp.c (test_main): Run tests in several
30360 * string/test-strncasecmp.c (test_main): Likewise.
30362 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30363 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30364 to __strcasecmp_nonascii and __strncasecmp_nonascii.
30365 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30366 (__strncasecmp_ssse3) [PIC]: Likewise.
30368 2013-08-26 Roland McGrath <roland@hack.frob.com>
30370 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30372 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30373 instead of explicitly declaring xdecrypt.
30374 * nis/nss_nis/nis-publickey.c: Likewise.
30376 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30379 * nscd/aicache.c: Include res_hconf.h.
30380 (addhstaiX): Initialize res_hconf.
30382 2013-08-26 Andreas Schwab <schwab@suse.de>
30384 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30385 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30387 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30389 * nscd/aicache.c (addhstaiX): Fix indentation.
30391 2013-08-25 Mike Frysinger <vapier@gentoo.org>
30393 * configure.ac: Quote $build_pt_chown test.
30394 * configure: Regenerated.
30396 2013-08-23 Joseph Myers <joseph@codesourcery.com>
30399 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30400 * math/s_cexpf.c (__cexpf): Likewise.
30401 * math/s_cexpl.c (__cexpl): Likewise.
30402 * math/libm-test.inc (cexp_test_data): Correct expected return
30403 value for NaN + i0. Add another test.
30405 2013-08-22 David S. Miller <davem@davemloft.net>
30407 * po/ca.po: Update Catalan translation from translation project.
30408 * po/uk.po: Add Ukrainian translations from translation project.
30410 2013-08-21 Joseph Myers <joseph@codesourcery.com>
30413 * math/s_fdim.c (__fdim): Check for infinite arguments if result
30414 is infinite, not alongside NaN test.
30415 * math/s_fdimf.c (__fdimf): Likewise.
30416 * math/s_fdiml.c (__fdiml): Likewise.
30417 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
30418 errno is unchanged.
30420 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
30422 * argp/argp-help.c: Fix typos.
30423 * crypt/speeds.c: Likewise.
30424 * csu/check_fds.c: Likewise.
30425 * elf/dl-load.c: Likewise.
30426 * elf/dl-open.c: Likewise.
30427 * elf/reldep3.c: Likewise.
30428 * elf/reldep.c: Likewise.
30429 * elf/sprof.c: Likewise.
30430 * iconv/iconv_charmap.c: Likewise.
30431 * iconv/skeleton.c: Likewise.
30432 * iconv/strtab.c: Likewise.
30433 * io/lockf64.c: Likewise.
30434 * libio/libioP.h: Likewise.
30435 * resolv/gai_notify.c: Likewise.
30436 * resolv/ns_name.c: Likewise.
30437 * resolv/ns_samedomain.c: Likewise.
30438 * resolv/res_send.c: Likewise.
30439 * stdlib/random.c: Likewise.
30440 * sunrpc/rpc/xdr.h: Likewise.
30441 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30442 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30443 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30444 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30445 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30446 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30447 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30448 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30449 * sysdeps/mach/hurd/check_fds.c: Likewise.
30450 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30451 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30452 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30453 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30454 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30455 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30456 * sysdeps/pthread/aio_notify.c: Likewise.
30457 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30458 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30459 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30460 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30461 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30463 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30465 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30466 version if bit_Slow_SSE4_2 is set.
30467 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30468 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30470 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30473 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30474 trampoline stack frame information.
30475 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30476 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30477 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30478 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30479 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30480 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30481 (_libc_vdso_platform_setup): Initialize the signal trampolines.
30482 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30484 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30485 interrupting a syscall and set with option SA_SIGINFO.
30487 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30490 * math/s_cproj.c (__cproj): Only return an infinity if one part of
30491 argument is infinite.
30492 * math/s_cprojf.c (__cprojf): Likewise.
30493 * math/s_cprojl.c (__cprojl): Likewise.
30494 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30495 * math/libm-test.inc (cproj_test_data): Add more tests.
30497 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30499 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30500 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30501 size. Use __ffs to determine corresponding shift.
30503 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30504 Roland McGrath <roland@hack.frob.com>
30506 * Makefile (INSTALL): Remove trailing blank lines from output of
30509 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30511 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30512 Align 32 bit compat elf_greg to 8 bytes.
30514 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
30516 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30518 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30520 * string/strcoll_l.c (coll_seq): New structure.
30521 (get_next_seq_cached): New function.
30522 (get_next_seq): New function.
30523 (do_compare): New function.
30524 (STRCOLL): Use GNU style definition. Simplify implementation
30525 by using get_next_seq, get_next_seq_cached and do_compare.
30527 2013-08-16 Florian Weimer <fweimer@redhat.com>
30531 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30533 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30535 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30536 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30537 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
30539 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30540 GETDENTS_64BIT_ALIGNED.
30541 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30542 * manual/filesys.texi (Reading/Closing Directory): Document
30543 ENAMETOOLONG return value of readdir_r. Recommend readdir more
30545 * manual/conf.texi (Limits for Files): Add portability note to
30546 NAME_MAX, PATH_MAX.
30547 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30549 2013-08-13 Andreas Schwab <schwab@suse.de>
30552 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30554 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30555 LDBL_MAX_EXP >= 16384]: Add tests for it.
30557 2013-08-12 David S. Miller <davem@davemloft.net>
30559 * version.h (RELEASE): Set to "development".
30560 (VERSION): Set to "2.18.90".
30561 * NEWS: Add 2.19 section.
30563 2013-08-03 David S. Miller <davem@davemloft.net>
30565 * po/ko.po: Update Korean translation from translation project.
30567 2013-08-01 David S. Miller <davem@davemloft.net>
30569 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
30570 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30573 2013-07-30 David S. Miller <davem@davemloft.net>
30575 * po/fr.po: Update French translation from translation project.
30577 2013-07-28 David S. Miller <davem@davemloft.net>
30579 * po/cs.po: Update Czech translation from translation project.
30581 * po/sv.po: Update Swedish translation from translation project.
30583 2013-07-27 David S. Miller <davem@davemloft.net>
30585 * po/eo.po: Update Esperanto translation from translation project.
30587 * po/vi.po: Update Vietnamese translation from translation project.
30589 * po/de.po: Update German translation from translation project.
30591 2013-07-26 David S. Miller <davem@davemloft.net>
30593 * po/bg.po: Update Bulgarian translation from translation project.
30595 * po/nl.po: Update Dutch translation from translation project.
30596 * po/pl.po: Update Polish translation from translation project.
30597 * po/ru.po: Update Russian translation from translation project.
30599 2013-07-24 David S. Miller <davem@davemloft.net>
30601 * po/libc.pot: Update.
30603 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30605 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30606 variable page size.
30607 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30608 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30609 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30611 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30613 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30615 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30616 Andreas Schwab <schwab@suse.de>
30617 Roland McGrath <roland@hack.frob.com>
30618 Joseph Myers <joseph@codesourcery.com>
30619 Carlos O'Donell <carlos@redhat.com>
30622 * config.h.in: Define HAVE_PT_CHOWN.
30623 * config.make.in (build-pt-chown): New variable.
30624 * configure.in (--enable-pt_chown): New configure option.
30625 * configure: Regenerate.
30626 * login/Makefile: Include Makeconfig. Build pt_chown only if
30627 build-pt-chown is enabled.
30628 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30629 pt_chown to fix pty ownership.
30630 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30632 * manual/install.texi (Configuring and compiling): Mention
30633 --enable-pt_chown. Add @findex for grantpt.
30634 * INSTALL: Regenerate.
30636 2013-07-20 David S. Miller <davem@davemloft.net>
30638 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30639 difference between 32-bit and 64-bit.
30641 2013-07-15 Carlos O'Donell <carlos@redhat.com>
30644 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30645 Avoid system header dependency with -ffreestanding.
30646 ($(objpfx)bits/syscall%d): Likewise.
30648 2013-07-13 David S. Miller <davem@davemloft.net>
30650 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30651 underflows from atanl/atan2l due to bug 15319.
30652 (casinh_test_data): Likewise.
30654 2013-07-07 David S. Miller <davem@davemloft.net>
30656 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30658 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
30660 * sysdeps/i386/fpu/libm-test-ulps: Update.
30661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30663 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30665 * configure.in (--enable-lock-elision): Fix message text.
30666 * INSTALL: Regenerate.
30667 * configure: Regenerate.
30669 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30673 2013-07-03 Andreas Jaeger <aj@suse.de>
30675 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30677 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30678 (ptrace_peeksiginfo_args): Add.
30679 (__ptrace_peeksiginfo_flags): Add.
30680 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30681 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30682 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30684 2013-07-03 Allan McRae <allan@archlinux.org>
30686 * sysdeps/i386/fpu/libm-test-ulps: Update.
30688 2013-07-02 David S. Miller <davem@davemloft.net>
30690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30692 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
30694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30696 2013-07-02 Joseph Myers <joseph@codesourcery.com>
30698 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30701 2013-07-02 Andi Kleen <ak@linux.intel.com>
30703 * config.h.in (ENABLE_LOCK_ELISION): Add.
30704 * configure.in (--enable-lock-elision): Add option.
30705 * manual/install.texi: Document --enable lock elision.
30706 * configure: Regenerate
30707 * INSTALL: Regenerate.
30709 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
30711 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30712 SSE4.2 strcasecmp for libc.a.
30713 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30715 2013-07-02 Joseph Myers <joseph@codesourcery.com>
30718 * soft-fp/op-common.h (_FP_FMA): New macro.
30719 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30720 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
30721 (_FP_MUL_MEAT_1_imm): ... here.
30722 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
30723 (_FP_MUL_MEAT_1_wide): ... here.
30724 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
30725 (_FP_MUL_MEAT_1_hard): ... here.
30726 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30727 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
30728 (_FP_MUL_MEAT_2_wide): ... here.
30729 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
30730 (_FP_MUL_MEAT_2_wide_3mul): ... here.
30731 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
30732 (_FP_MUL_MEAT_2_gmp): ... here.
30733 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30734 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
30735 (_FP_MUL_MEAT_4_wide): ... here.
30736 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
30737 (_FP_MUL_MEAT_4_gmp): ... here.
30738 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30739 (_FP_WFRACBITS_DW_S): Likewise.
30740 (_FP_WFRACXBITS_DW_S): Likewise.
30741 (_FP_HIGHBIT_DW_S): Likewise.
30742 (FP_FMA_S): Likewise.
30743 (_FP_FRAC_HIGH_DW_S): Likewise.
30744 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30745 (_FP_WFRACBITS_DW_D): Likewise.
30746 (_FP_WFRACXBITS_DW_D): Likewise.
30747 (_FP_HIGHBIT_DW_D): Likewise.
30748 (FP_FMA_D): Likewise.
30749 (_FP_FRAC_HIGH_DW_D): Likewise.
30750 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30751 (_FP_WFRACBITS_DW_E): Likewise.
30752 (_FP_WFRACXBITS_DW_E): Likewise.
30753 (_FP_HIGHBIT_DW_E): Likewise.
30754 (FP_FMA_E): Likewise.
30755 (_FP_FRAC_HIGH_DW_E): Likewise.
30756 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30757 (_FP_WFRACBITS_DW_Q): Likewise.
30758 (_FP_WFRACXBITS_DW_Q): Likewise.
30759 (_FP_HIGHBIT_DW_Q): Likewise.
30760 (FP_FMA_Q): Likewise.
30761 (_FP_FRAC_HIGH_DW_Q): Likewise.
30762 * soft-fp/fmasf4.c: New file.
30763 * soft-fp/fmadf4.c: Likewise.
30764 * soft-fp/fmatf4.c: Likewise.
30766 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30769 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30771 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30773 (index_Slow_SSE4_2): Likewise.
30774 (index_Prefer_PMINUB_for_stringop): Likewise.
30775 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30776 bit_Slow_SSE4_2 is set.
30777 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30778 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30780 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30782 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30783 rtld_global._dl_hwcap2.
30784 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30786 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30787 POWER8 feature descriptions defined in _dl_hwcap2.
30788 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30789 string handling for POWER8 feature bits.
30790 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30791 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30792 _dl_powerpc_cap_flags.
30793 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30794 * sysdeps/powerpc/rtld-global-offsets.sym
30795 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30796 _dl_hwcap2 in the rtld_global_ro structure.
30798 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30800 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30801 hardware capabilities in support of AT_HWCAP2.
30802 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30803 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30805 (_dl_show_auxv): Add support for calling _dl_procinfo to display
30806 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
30807 explicitly the unknown a_type display mechanism is used.
30808 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30809 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30811 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30812 to macro prototype for AT_HWCAP2 support.
30813 * sysdeps/i386/dl-procinfo.h: Likewise.
30814 * sysdeps/s390/dl-procinfo.h: Likewise.
30815 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30816 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
30817 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
30818 return -1 for unknown a_type display fallback.
30819 * sysdeps/sparc/dl-procinfo.h: Likewise.
30820 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30821 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30823 2013-06-28 Joseph Myers <joseph@codesourcery.com>
30825 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30826 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30828 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
30831 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30832 mprotect making __stack_prot writable.
30834 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
30835 Joseph Myers <joseph@codesourcery.com>
30837 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30838 as being properly aligned.
30840 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
30842 * dlfcn/modstatic5.c: New file.
30843 * dlfcn/tststatic5.c: New file.
30844 * dlfcn/Makefile (tests): Add tststatic5.
30845 (tests-static): Likewise.
30846 (modules-names): Add modstatic5.
30847 (tststatic5-ENV): New variable.
30848 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30851 * elf/dl-support.c (_dl_main_map): New variable.
30852 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30853 (_dl_nns, _dl_load_adds): Set to 1.
30854 (_dl_initial_searchlist): Refer to _dl_main_map.
30855 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30856 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30857 call to _dl_get_origin.
30858 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30860 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30861 * dlfcn/modstatic3.c: New file.
30862 * dlfcn/tststatic3.c: New file.
30863 * dlfcn/tststatic4.c: New file.
30864 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30865 (tests-static): Likewise.
30866 (modules-names): Add modstatic3.
30867 (tststatic3-ENV, tststatic4-ENV): New variables.
30868 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30869 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30871 2013-06-26 Joseph Myers <joseph@codesourcery.com>
30873 * configure.in (CC): Require GCC version 4.4 or later.
30874 * configure: Regenerated.
30875 * manual/install.texi (Tools for Compilation): Update GCC version
30877 * INSTALL: Regenerated.
30879 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30882 * string/test-memcmp.c (check2): New.
30883 (main): Call check2.
30885 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30887 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
30890 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30892 (dl_open_worker) [!SHARED]: ... here.
30894 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30896 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30898 2013-06-25 Richard Henderson <rth@redhat.com>
30900 * locale/programs/locarchive.c: Include <libc-internal.h>
30902 2013-06-25 Joseph Myers <joseph@codesourcery.com>
30904 * manual/texinfo.tex: Update to version 2013-06-21.17, with
30905 trailing whitespace removed.
30907 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30910 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30911 * locale/programs/locarchive.c: Include libc-mmap.h.
30912 (prepare_address_space): Take two new outputs (the mmap base and len).
30913 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
30915 (create_archive): Declare new mmap base and len values for
30916 prepare_address_space, and store the result in ah.
30917 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30918 (enlarge_archive): If ah->mmap_base is not NULL, use that and
30919 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30920 Declare new mmap base and len values for
30921 prepare_address_space, and store the result in new_ah.
30922 (open_archive): Declare new mmap base and len values for
30923 prepare_address_space, and store the result in ah.
30924 (close_archive): If ah->mmap_base is not NULL, use that and
30925 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30926 * sysdeps/generic/libc-mmap.h: New file.
30928 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30930 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30931 (ALIGN_UP): Likewise.
30932 (PTR_ALIGN_DOWN): Likewise.
30933 (PTR_ALIGN_UP): Likewise.
30935 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30937 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30938 entry mapped to PPC_PLATFORM_POWER8.
30939 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30941 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30942 (_dl_string_platform): Add case for exporting platform position for
30944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30945 search path to sysdeps/powerpc/powerpc32/power8 directory.
30946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30947 search path to sysdeps/powerpc/powerpc64/power8 directory.
30948 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30949 power7 directories.
30950 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30951 power7 directories.
30953 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30955 * INSTALL: Regenerate.
30957 * nscd/connections.c (nscd_init): Fix comment.
30959 2013-06-22 Joseph Myers <joseph@codesourcery.com>
30961 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30964 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30965 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30967 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30969 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30971 (DL_DST_REQ_STATIC): Remove macro.
30973 2013-06-21 Joseph Myers <joseph@codesourcery.com>
30976 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30977 with a shift of 0 bits.
30979 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30981 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30984 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30987 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30989 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30991 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30992 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30993 accepts -fno-tree-loop-distribute-patterns.
30994 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30995 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30997 * string/memset.c (memset): Likewise.
30998 * string/test-memmove.c (simple_memmove): Disable loop transformation
31000 * string/test-memset.c (simple_memset): Likewise.
31001 * benchtests/bench-memmove.c (simple_memmove): Likewise.
31002 * benchtests/bench-memset.c (simple_memset): Likewise.
31003 * configure: Regenerated.
31005 2013-06-20 Joseph Myers <joseph@codesourcery.com>
31007 * math/test-misc.c (main): Ignore fesetround failure when failures
31008 of subsequent rounding tests would be ignored.
31011 * math/fedisblxcpt.c (fedisableexcept): Return 0.
31012 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31013 * math/fegetenv.c (__fegetenv): Return 0.
31014 * math/fegetexcept.c (fegetexcept): Return 0.
31015 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31017 * math/feholdexcpt.c (feholdexcept): Return 0.
31018 * math/fesetenv.c (__fesetenv): Return 0.
31019 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31020 argument FE_TONEAREST.
31021 * math/feupdateenv.c (__feupdateenv): Return 0.
31022 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31024 2013-06-18 Roland McGrath <roland@hack.frob.com>
31026 * elf/rtld-Rules (rtld-compile-command.S): New variable.
31027 (rtld-compile-command.s, rtld-compile-command.c): New variables.
31028 ($(objpfx)rtld-%.os rules): Use them.
31030 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31032 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31035 2013-06-17 Roland McGrath <roland@hack.frob.com>
31037 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31038 length of target pattern, then descending length of dependency pattern.
31039 * configure.in (AWK): Require gawk 3.1.2 or newer.
31040 * manual/install.texi (Tools for Compilation): Say that we do.
31041 * configure: Regenerated.
31043 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31044 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31045 * scripts/sysd-rules.awk: ... this new script.
31046 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31047 than a glob-style pattern.
31049 2013-06-17 Joseph Myers <joseph@codesourcery.com>
31051 * math/test-misc.c (main): Do not treat incorrectly rounded
31052 conversions as failure unless ROUNDING_TESTS passes.
31054 2013-06-15 Joseph Myers <joseph@codesourcery.com>
31057 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31058 restore exception state around main square root computation, then
31059 check for inexactness explicitly.
31061 * math/libm-test.inc (fma_test_data): Add another test.
31063 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31065 * manual/threads.texi (Non-POSIX Extensions): New document
31066 node. Document pthread_getattr_default_np and
31067 pthread_setattr_default_np.
31069 * Versions.def (libpthread): Add GLIBC_2.18.
31070 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31079 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31090 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31093 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31095 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31096 H.J. Lu <hjl.tools@gmail.com>
31099 * sysdeps/x86_64/rtld-memset.c: Remove file.
31100 * sysdeps/x86_64/rtld-memset.S: New file.
31102 2013-06-14 Joseph Myers <joseph@codesourcery.com>
31104 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31105 (test_in_one_mode): Take arguments for whether the rounding mode
31106 is supported for each floating-point type.
31107 (do_test): Pass new arguments to test_in_one_mode using
31110 2013-06-13 Roland McGrath <roland@hack.frob.com>
31112 * posix/tst-waitid.c (do_test): Distinguish different instances of
31113 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
31114 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31115 before entering the kernel for waitpid.
31117 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31119 * NEWS: Fix note on clock function precision. Text by Roland
31122 2013-06-13 Roland McGrath <roland@hack.frob.com>
31124 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31125 it into place only when and if the sanity check passes.
31127 2013-06-13 Joseph Myers <joseph@codesourcery.com>
31129 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31130 output for whether conversion result is exact. Take argument
31131 indicating whether type is IBM long double.
31132 (round_for_all): Change need_exact field to ibm_ld.
31133 * stdlib/tst-strtod-round.c (struct exactness): New type.
31134 (struct test): Change bool ld_ok field to struct exactness exact.
31135 (TEST): Update all definitions for change to field.
31136 (tests): Regenerate array contents.
31137 (test_in_one_mode): Take pointer to new field instead of old ld_ok
31138 field value. Check for IBM long double here.
31139 (do_test): Update calls to test_in_one_mode.
31141 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31144 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31145 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31147 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31150 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31151 generated by the compiler on loop optimizations.
31152 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31153 general definitions.
31155 2013-06-12 Joseph Myers <joseph@codesourcery.com>
31157 * math/bug-nextafter.c: Include <math-tests.h>.
31158 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31160 * math/bug-nexttoward.c: Include <math-tests.h>.
31161 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31163 * math/test-misc.c: Include <math-tests.h>.
31164 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31167 2013-06-12 Andreas Jaeger <aj@suse.de>
31169 * po/ia.po: Update Interlingua translation from translation
31172 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31174 * include/fenv.h: Include stdbool.h.
31175 (struct rm_ctx): New structure.
31176 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31178 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31179 (SET_RESTORE_ROUNDF): Likewise.
31180 (SET_RESTORE_ROUNDL): Likewise.
31181 (SET_RESTORE_ROUND_NOEX): Likewise.
31182 (SET_RESTORE_ROUND_NOEXF): Likewise.
31183 (SET_RESTORE_ROUND_NOEXL): Likewise.
31184 (SET_RESTORE_ROUND_53BIT): Likewise.
31185 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31186 (libc_feresetround_noexf_ctx): Likewise.
31187 (libc_feresetround_noexl_ctx): Likewise.
31188 (libc_feholdsetround_53bit_ctx): Likewise.
31189 (libc_feresetround_53bit_ctx): Likewise.
31190 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31191 (libc_feholdexcept_setround_sse_ctx): New function.
31192 (libc_fesetenv_sse_ctx): Likewise.
31193 (libc_feupdateenv_sse_ctx): Likewise.
31194 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31195 (libc_feholdexcept_setround_387_ctx): Likewise.
31196 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31197 (libc_feholdsetround_387_prec_ctx): Likewise.
31198 (libc_feholdsetround_387_ctx): Likewise.
31199 (libc_feholdsetround_387_53bit_ctx): Likewise.
31200 (libc_feholdsetround_sse_ctx): Likewise.
31201 (libc_feresetround_sse_ctx): Likewise.
31202 (libc_feresetround_387_ctx): Likewise.
31203 (libc_feupdateenv_387_ctx): Likewise.
31204 (libc_feholdexcept_setroundf_ctx): Define macro.
31205 (libc_fesetenvf_ctx): Likewise.
31206 (libc_feupdateenvf_ctx): Likewise.
31207 (libc_feholdsetroundf_ctx): Likewise.
31208 (libc_feresetroundf_ctx): Likewise.
31209 (libc_feholdexcept_setround_ctx): Likewise.
31210 (libc_fesetenv_ctx): Likewise.
31211 (libc_feupdateenv_ctx): Likewise.
31212 (libc_feholdsetround_ctx): Likewise.
31213 (libc_feresetround_ctx): Likewise.
31214 (libc_feholdexcept_setroundl_ctx): Likewise.
31215 (libc_feupdateenvl_ctx): Likewise.
31216 (libc_feholdsetroundl_ctx): Likewise.
31217 (libc_feresetroundl_ctx): Likewise.
31218 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31219 (libc_feresetround_53bit_ctx): Likewise.
31221 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31223 * locale/iso-639.def: Convert to UTF-8.
31225 2013-06-11 Joseph Myers <joseph@codesourcery.com>
31227 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31228 (EXCEPTION_TESTS_double): Likewise.
31229 (EXCEPTION_TESTS_long_double): Likewise.
31230 (EXCEPTION_TESTS): Likewise.
31231 * math/libm-test.inc (test_exceptions): Only test exceptions if
31232 EXCEPTION_TESTS (FLOAT).
31234 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31236 * benchtests/Makefile (string-bench): Add strcpy_chk and
31238 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31239 * benchtests/bench-stpcpy_chk.c: New file.
31240 * benchtests/bench-strcpy_chk-ifunc.c: New file.
31241 * benchtests/bench-strcpy_chk.c: New file.
31242 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31244 (do_test): Likewise.
31246 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31248 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31249 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31250 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31251 with tabs where appropriate.
31252 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31254 [PPC_PLATFORM_PPC440]: Likewise.
31255 [PPC_PLATFORM_PPC464]: Likewise.
31256 [PPC_PLATFORM_PPC476]: Likewise.
31257 (_dl_string_platform): Add support for detecting ppc405, ppc440,
31258 ppc464, and ppc476 platform strings merging from ports/
31261 2013-06-11 Andreas Schwab <schwab@suse.de>
31264 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31265 (from_ucs4_idx): Regenerate.
31266 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31267 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31268 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31269 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31270 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31271 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31272 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31273 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31274 from FROM_LOOP and TO_LOOP specific macros.
31275 (BODY): Handle combining characters.
31276 * iconvdata/BIG5HKSCS.irreversible: Update.
31277 * iconvdata/BIG5HKSCS.precomposed: New file.
31278 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31280 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31282 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31284 * include/sys/time.h: Fix indentation and add copyright header.
31286 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31287 (do_test): Likewise.
31288 * string/test-memchr.c (do_one_test): Likewise.
31289 (do_test): Likewise.
31290 * string/test-memcmp.c (do_one_test): Likewise.
31291 (do_test): Likewise.
31292 * string/test-memcpy.c (do_one_test): Likewise.
31293 (do_test): Likewise.
31294 * string/test-memmem.c (do_one_test): Likewise.
31295 (do_test): Likewise.
31296 (do_random_tests): Likewise.
31297 * string/test-memmove.c (do_one_test): Likewise.
31298 (do_test): Likewise.
31299 * string/test-memset.c (do_one_test): Likewise.
31300 (do_test): Likewise.
31301 * string/test-rawmemchr.c (do_one_test): Likewise.
31302 (do_test): Likewise.
31303 * string/test-strcasecmp.c (do_one_test): Likewise.
31304 (do_test): Likewise.
31305 * string/test-strcasestr.c (do_one_test): Likewise.
31306 (do_test): Likewise.
31307 * string/test-strcat.c (do_one_test): Likewise.
31308 (do_test): Likewise.
31309 * string/test-strchr.c (do_one_test): Likewise.
31310 (do_test): Likewise.
31311 * string/test-strcmp.c (do_one_test): Likewise.
31312 (do_test): Likewise.
31313 * string/test-strcpy.c (do_one_test): Likewise.
31314 (do_test): Likewise.
31315 * string/test-string.h: Likewise.
31316 (test_init): Likewise.
31317 * string/test-strlen.c (do_one_test): Likewise.
31318 (do_test): Likewise.
31319 * string/test-strncasecmp.c (do_one_test): Likewise.
31320 (do_test): Likewise.
31321 * string/test-strncat.c (do_one_test): Likewise.
31322 (do_test): Likewise.
31323 * string/test-strncmp.c (do_one_test): Likewise.
31324 (do_test_limit): Likewise.
31325 (do_test): Likewise.
31326 * string/test-strncpy.c (do_one_test): Likewise.
31327 (do_test): Likewise.
31328 * string/test-strnlen.c (do_one_test): Likewise.
31329 (do_test): Likewise.
31330 * string/test-strpbrk.c (do_one_test): Likewise.
31331 (do_test): Likewise.
31332 * string/test-strrchr.c (do_one_test): Likewise.
31333 (do_test): Likewise.
31334 * string/test-strspn.c (do_one_test): Likewise.
31335 (do_test): Likewise.
31336 * string/test-strstr.c (do_one_test): Likewise.
31337 (do_test): Likewise.
31339 * benchtests/Makefile (string-bench): Add string benchmarks.
31340 * benchtests/bench-bcopy-ifunc.c: New file.
31341 * benchtests/bench-bcopy.c: New file.
31342 * benchtests/bench-bzero-ifunc.c: New file.
31343 * benchtests/bench-bzero.c: New file.
31344 * benchtests/bench-memccpy-ifunc.c: New file.
31345 * benchtests/bench-memccpy.c: New file.
31346 * benchtests/bench-memchr-ifunc.c: New file.
31347 * benchtests/bench-memchr.c: New file.
31348 * benchtests/bench-memcmp-ifunc.c: New file.
31349 * benchtests/bench-memcmp.c: New file.
31350 * benchtests/bench-memmem-ifunc.c: New file.
31351 * benchtests/bench-memmem.c: New file.
31352 * benchtests/bench-memmove-ifunc.c: New file.
31353 * benchtests/bench-memmove.c: New file.
31354 * benchtests/bench-mempcpy-ifunc.c: New file.
31355 * benchtests/bench-mempcpy.c: New file.
31356 * benchtests/bench-memset-ifunc.c: New file.
31357 * benchtests/bench-memset.c: New file.
31358 * benchtests/bench-rawmemchr-ifunc.c: New file.
31359 * benchtests/bench-rawmemchr.c: New file.
31360 * benchtests/bench-stpcpy-ifunc.c: New file.
31361 * benchtests/bench-stpcpy.c: New file.
31362 * benchtests/bench-stpncpy-ifunc.c: New file.
31363 * benchtests/bench-stpncpy.c: New file.
31364 * benchtests/bench-strcasecmp-ifunc.c: New file.
31365 * benchtests/bench-strcasecmp.c: New file.
31366 * benchtests/bench-strcasestr-ifunc.c: New file.
31367 * benchtests/bench-strcasestr.c: New file.
31368 * benchtests/bench-strcat-ifunc.c: New file.
31369 * benchtests/bench-strcat.c: New file.
31370 * benchtests/bench-strchr-ifunc.c: New file.
31371 * benchtests/bench-strchr.c: New file.
31372 * benchtests/bench-strchrnul-ifunc.c: New file.
31373 * benchtests/bench-strchrnul.c: New file.
31374 * benchtests/bench-strcmp-ifunc.c: New file.
31375 * benchtests/bench-strcmp.c: New file.
31376 * benchtests/bench-strcpy-ifunc.c: New file.
31377 * benchtests/bench-strcpy.c: New file.
31378 * benchtests/bench-strcspn-ifunc.c: New file.
31379 * benchtests/bench-strcspn.c: New file.
31380 * benchtests/bench-strlen-ifunc.c: New file.
31381 * benchtests/bench-strlen.c: New file.
31382 * benchtests/bench-strncasecmp-ifunc.c: New file.
31383 * benchtests/bench-strncasecmp.c: New file.
31384 * benchtests/bench-strncat-ifunc.c: New file.
31385 * benchtests/bench-strncat.c: New file.
31386 * benchtests/bench-strncmp-ifunc.c: New file.
31387 * benchtests/bench-strncmp.c: New file.
31388 * benchtests/bench-strncpy-ifunc.c: New file.
31389 * benchtests/bench-strncpy.c: New file.
31390 * benchtests/bench-strnlen-ifunc.c: New file.
31391 * benchtests/bench-strnlen.c: New file.
31392 * benchtests/bench-strpbrk-ifunc.c: New file.
31393 * benchtests/bench-strpbrk.c: New file.
31394 * benchtests/bench-strrchr-ifunc.c: New file.
31395 * benchtests/bench-strrchr.c: New file.
31396 * benchtests/bench-strspn-ifunc.c: New file.
31397 * benchtests/bench-strspn.c: New file.
31398 * benchtests/bench-strstr-ifunc.c: New file.
31399 * benchtests/bench-strstr.c: New file.
31401 * benchtests/Makefile: Disable parallel execution of targets.
31402 (string-bench): Add memcpy.
31403 (benchset): New variable to store a list of benchmark sets.
31404 (bench-func): Renamed from bench.
31405 (bench-set): New target.
31406 (bench): Depend on bench-func and bench-set.
31407 * benchtests/README: Add section on benchmark sets.
31408 * benchtests/bench-memcpy-ifunc.c: New file.
31409 * benchtests/bench-memcpy.c: New file.
31410 * benchtests/bench-string.h: New file.
31412 2013-06-11 Andreas Schwab <schwab@suse.de>
31415 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31416 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31417 values in the triple.
31418 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31419 terminator in the group key.
31421 2013-06-11 Andreas Jaeger <aj@suse.de>
31423 * po/zh_TW.po: Update Chinese (traditional) translation from
31424 translation project.
31426 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31428 * include/time.h (__clock_gettime): Add libc_hidden_proto.
31429 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31430 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
31431 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31432 (clock_getcpuclockid): Likewise.
31433 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31434 Add weak_alias and libc_hidden_def.
31435 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31436 * rt/clock_gettime.c (clock_gettime): Rename to
31437 __clock_gettime. Add weak_alias and libc_hidden_def.
31438 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31439 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31440 __clock_nanosleep. Add weak_alias and libc_hidden_def.
31441 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31442 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31444 * rt/clock_settime.c (clock_settime): Rename to
31445 __clock_settime. Add weak_alias and libc_hidden_def.
31446 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31448 2013-06-10 Joseph Myers <joseph@codesourcery.com>
31450 * mach/err_boot.sub: Remove trailing whitespace.
31451 * mach/err_ipc.sub: Likewise.
31452 * mach/err_mach.sub: Likewise.
31454 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31455 (ROUNDING_TESTS_double): Likewise.
31456 (ROUNDING_TESTS_long_double): Likewise.
31457 (ROUNDING_TESTS): Likewise.
31458 * math/libm-test.inc: Include <math-tests.h>.
31459 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31460 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31461 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31462 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31464 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31466 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31469 2013-06-08 Joseph Myers <joseph@codesourcery.com>
31471 * sysdeps/gnu/errlist.awk: Do not generate space at end of
31472 otherwise empty TRANS lines.
31473 * sysdeps/gnu/errlist.c: Regenerated.
31475 * catgets/gencat.c (error_print): Use (void) in function
31477 * crypt/crypt_util.c (__init_des): Likewise.
31478 * crypt/speeds.c (Stop): Likewise.
31480 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31481 * inet/ruserpass.c (token): Likewise.
31482 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31483 * intl/localealias.c (extend_alias_table): Likewise.
31484 * intl/plural-exp.c (init_germanic_plural): Likewise.
31485 * libio/fcloseall.c (__fcloseall): Likewise.
31486 * libio/genops.c (_IO_flush_all): Likewise.
31487 (_IO_flush_all_linebuffered): Likewise.
31488 (_IO_cleanup): Likewise.
31489 (_IO_iter_begin): Likewise.
31490 (_IO_iter_end): Likewise.
31491 (_IO_list_lock): Likewise.
31492 (_IO_list_unlock): Likewise.
31493 (_IO_list_resetlock): Likewise.
31494 * libio/getchar.c (getchar): Likewise.
31495 * libio/getchar_u.c (getchar_unlocked): Likewise.
31496 * libio/getwchar.c (getwchar): Likewise.
31497 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31498 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31499 * login/getpt.c (__getpt): Likewise.
31500 * login/tst-utmp.c (main): Likewise.
31501 * malloc/hooks.c (__malloc_check_init): Likewise.
31502 * malloc/malloc.c (__malloc_stats): Likewise.
31503 * malloc/mtrace.c (tr_break): Likewise.
31504 (mtrace): Likewise.
31505 (muntrace): Likewise.
31506 * misc/fstab.c (endfsent): Likewise.
31507 * misc/getclktck.c (__getclktck): Likewise.
31508 * misc/getdtsz.c (__getdtablesize): Likewise.
31509 * misc/gethostid.c (gethostid): Likewise.
31510 * misc/getpagesize.c (__getpagesize): Likewise.
31511 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31512 (__get_nprocs): Likewise.
31513 (__get_phys_pages): Likewise.
31514 (__get_avphys_pages): Likewise.
31515 * misc/getttyent.c (getttyent): Likewise.
31516 (setttyent): Likewise.
31517 (endttyent): Likewise.
31518 * misc/getusershell.c (getusershell): Likewise.
31519 (endusershell): Likewise.
31520 (setusershell): Likewise.
31521 (initshells): Likewise.
31522 * misc/hsearch.c (__hdestroy): Likewise.
31523 * misc/sync.c (sync): Likewise.
31524 * misc/syslog.c (closelog_internal): Likewise.
31525 (closelog): Likewise.
31526 * misc/ttyslot.c (ttyslot): Likewise.
31527 * misc/vhangup.c (vhangup): Likewise.
31528 * posix/fork.c (__fork): Likewise.
31529 * posix/getegid.c (__getegid): Likewise.
31530 * posix/geteuid.c (__geteuid): Likewise.
31531 * posix/getgid.c (__getgid): Likewise.
31532 * posix/getpid.c (__getpid): Likewise.
31533 * posix/getppid.c (__getppid): Likewise.
31534 * posix/getuid.c (__getuid): Likewise.
31535 * posix/pause.c (pause): Likewise.
31536 * posix/setpgrp.c (setpgrp): Likewise.
31537 * posix/setsid.c (__setsid): Likewise.
31538 * posix/test-vfork.c (noop): Likewise.
31539 * resolv/gethnamaddr.c (_endhtent): Likewise.
31540 (_gethtent): Likewise.
31541 (ht_endhostent): Likewise.
31542 (gethostent): Likewise.
31543 (dns_service): Likewise.
31544 * stdlib/drand48.c (drand48): Likewise.
31545 * stdlib/lrand48.c (lrand48): Likewise.
31546 * stdlib/mrand48.c (mrand48): Likewise.
31547 * stdlib/rand.c (rand): Likewise.
31548 * stdlib/random.c (__random): Likewise.
31549 * stdlib/setenv.c (clearenv): Likewise.
31550 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31551 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31552 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31553 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31554 (__get_nprocs): Likewise.
31555 (__get_phys_pages): Likewise.
31556 (__get_avphys_pages): Likewise.
31557 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31558 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31559 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31560 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31561 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31562 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31563 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31564 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31565 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31566 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31567 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31568 * sysdeps/mach/hurd/sync.c (sync): Likewise.
31569 * sysdeps/posix/clock.c (clock): Likewise.
31570 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31571 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31572 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31573 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31574 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31575 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31576 (__get_nprocs_conf): Likewise.
31577 (__get_phys_pages): Likewise.
31578 (__get_avphys_pages): Likewise.
31579 * time/clock.c (clock): Likewise.
31580 * time/tzset.c (__tzname_max): Likewise.
31582 2013-06-07 Joseph Myers <joseph@codesourcery.com>
31584 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31585 (__bswap_32): Do not use "register".
31586 * crypt/crypt.c (_ufc_doit_r): Likewise.
31587 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31588 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31589 * gmon/gmon.c (__monstartup): Likewise.
31590 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31591 * hurd/hurdmalloc.c (more_memory): Likewise.
31592 (malloc): Likewise.
31594 (realloc): Likewise.
31595 (malloc_fork_prepare): Likewise.
31596 (malloc_fork_parent): Likewise.
31597 (malloc_fork_child): Likewise.
31598 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31599 (_svcauth_des): Likewise.
31600 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31601 * inet/inet_net.c (inet_network): Likewise.
31602 * inet/inet_netof.c (inet_netof): Likewise.
31603 * inet/rcmd.c (__validuser2_sa): Likewise.
31604 * io/fts.c (fts_open): Likewise.
31605 (fts_load): Likewise.
31606 (fts_close): Likewise.
31607 (fts_read): Likewise.
31608 (fts_children): Likewise.
31609 (fts_build): Likewise.
31610 (fts_stat): Likewise.
31611 (fts_sort): Likewise.
31612 (fts_alloc): Likewise.
31613 (fts_lfree): Likewise.
31614 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31615 (_IO_file_xsgetn): Likewise.
31616 (_IO_file_xsgetn_mmap): Likewise.
31617 * libio/iofopncook.c (_IO_cookie_read): Likewise.
31618 (_IO_cookie_write): Likewise.
31619 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31620 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31621 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31622 * malloc/obstack.c (_obstack_begin): Likewise.
31623 (_obstack_begin_1): Likewise.
31624 (_obstack_newchunk): Likewise.
31625 (_obstack_allocated_p): Likewise.
31626 (obstack_free): Likewise.
31627 (_obstack_memory_used): Likewise.
31628 * misc/getttyent.c (getttynam): Likewise.
31629 (getttyent): Likewise.
31632 * misc/getusershell.c (initshells): Likewise.
31633 * misc/syslog.c (__vsyslog_chk): Likewise.
31634 * misc/ttyslot.c (ttyslot): Likewise.
31635 * nis/nis_hash.c (__nis_hash): Likewise.
31636 * posix/fnmatch_loop.c (FCT): Likewise.
31637 * posix/getconf.c (print_all): Likewise.
31639 * posix/getopt.c (exchange): Likewise.
31640 * posix/glob.c (globfree): Likewise.
31641 (prefix_array): Likewise.
31642 (__glob_pattern_type): Likewise.
31643 * resolv/arpa/nameser.h (NS_GET16): Likewise.
31644 (NS_GET32): Likewise.
31645 (NS_PUT16): Likewise.
31646 (NS_PUT32): Likewise.
31647 * resolv/gethnamaddr.c (getanswer): Likewise.
31648 (gethostbyname2): Likewise.
31649 (gethostbyaddr): Likewise.
31650 (_gethtent): Likewise.
31651 (_gethtbyname2): Likewise.
31652 (_gethtbyaddr): Likewise.
31653 * resolv/ns_print.c (dst_s_get_int16): Likewise.
31654 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31655 * resolv/res_init.c (__res_vinit): Likewise.
31656 (net_mask): Likewise.
31657 * resolv/res_mkquery.c (outchar): Likewise.
31659 * stdio-common/printf_fp.c (outchar): Likewise.
31661 * stdio-common/printf_fphex.c (outchar): Likewise.
31663 * stdio-common/printf_size.c (outchar): Likewise.
31665 * stdio-common/test_rdwr.c (main): Likewise.
31666 * stdio-common/tfformat.c (matches): Likewise.
31667 * stdio-common/vfprintf.c (outchar): Likewise.
31668 (printf_unknown): Likewise.
31669 (buffered_vfprintf): Likewise.
31670 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31671 * stdio-common/xbug.c (AppendToBuffer): Likewise.
31672 (ReadFile): Likewise.
31673 * stdlib/qsort.c (SWAP): Likewise.
31674 (_quicksort): Likewise.
31675 * stdlib/setenv.c (__add_to_environ): Likewise.
31676 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31677 * stdlib/strtol_l.c (__strtol_l): Likewise.
31678 * stdlib/tst-strtod.c (main): Likewise.
31679 * stdlib/tst-strtol.c (main): Likewise.
31680 * stdlib/tst-strtoll.c (main): Likewise.
31681 * string/bits/string2.h (__strcmp_cc): Likewise.
31682 (__strcmp_cg): Likewise.
31683 (__strcspn_c1): Likewise.
31684 (__strcspn_c2): Likewise.
31685 (__strcspn_c3): Likewise.
31686 (__strspn_c1): Likewise.
31687 (__strspn_c2): Likewise.
31688 (__strspn_c3): Likewise.
31689 (__strsep_1c): Likewise.
31690 (__strsep_2c): Likewise.
31691 (__strsep_3c): Likewise.
31692 * string/memccpy.c (__memccpy): Likewise.
31693 * string/stpcpy.c (__stpcpy): Likewise.
31694 * string/strcmp.c (strcmp): Likewise.
31695 * string/strrchr.c (strrchr): Likewise.
31696 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31698 * sysdeps/mach/hurd/getcwd.c
31699 (_hurd_canonicalize_directory_name_internal): Likewise.
31700 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31701 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31702 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31703 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31704 Likewise, in both definitions.
31705 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31707 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31708 64] (__bswap_64): Likewise.
31709 * time/test_time.c (main): Likewise.
31710 * time/tzfile.c (__tzfile_read): Likewise.
31711 (__tzfile_compute): Likewise.
31712 * time/tzset.c (__tzset_parse_tz): Likewise.
31713 (tzset_internal): Likewise.
31714 (compute_change): Likewise.
31715 * wcsmbs/wcscat.c (__wcscat): Likewise.
31716 * wcsmbs/wcschr.c (wcschr): Likewise.
31717 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31718 * wcsmbs/wcscspn.c (wcscspn): Likewise.
31719 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31720 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31721 * wcsmbs/wcsspn.c (wcsspn): Likewise.
31722 * wcsmbs/wcsstr.c (wcsstr): Likewise.
31723 * wcsmbs/wmemchr.c (wmemchr): Likewise.
31724 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31725 * wcsmbs/wmemset.c (wmemset): Likewise.
31727 2013-06-06 Joseph Myers <joseph@codesourcery.com>
31729 * scripts/config.guess: Update to version 2013-05-16.
31730 * scripts/config.sub: Update to version 2013-04-24.
31731 * scripts/install-sh: Update to version 2011-11-20.07.
31732 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31733 * scripts/move-if-change: Update to version 2012-01-06 07:23.
31735 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
31737 * debug/fgetws_u_chk.c: Fix leading whitespaces.
31738 * elf/sln.c: Likewise.
31739 * hurd/hurd/ioctl.h: Likewise.
31740 * hurd/hurdmalloc.c: Likewise.
31741 * hurd/xattr.c: Likewise.
31742 * include/shlib-compat.h: Likewise.
31743 * inet/ruserpass.c: Likewise.
31744 * libio/iofgets_u.c: Likewise.
31745 * libio/iofgetws_u.c: Likewise.
31746 * locale/programs/ld-identification.c: Likewise.
31747 * locale/programs/ld-time.c: Likewise.
31748 * mach/msg-destroy.c: Likewise.
31749 * nss/nss_files/files-netgrp.c: Likewise.
31750 * resolv/res_data.c: Likewise.
31751 * soft-fp/op-1.h: Likewise.
31752 * soft-fp/op-2.h: Likewise.
31753 * soft-fp/op-4.h: Likewise.
31754 * soft-fp/op-common.h: Likewise.
31755 * stdio-common/printf_fphex.c: Likewise.
31756 * stdlib/strtod_l.c: Likewise.
31757 * sunrpc/rpc/clnt.h: Likewise.
31758 * sysdeps/generic/framestate.c: Likewise.
31759 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31760 * sysdeps/i386/bsd-setjmp.S: Likewise.
31761 * sysdeps/i386/__longjmp.S: Likewise.
31762 * sysdeps/i386/setjmp.S: Likewise.
31763 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31764 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31765 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31766 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31767 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31768 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31769 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31770 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31771 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31772 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31773 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31774 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31775 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31776 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31777 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31778 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31779 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31780 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31781 * sysdeps/ieee754/support.c: Likewise.
31782 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31783 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31784 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31785 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31786 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31787 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31788 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31789 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31790 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31791 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31792 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31793 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31794 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31795 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31796 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31797 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31798 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31801 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
31803 * posix/transbug.c: Remove executable mode.
31805 2013-06-05 Joseph Myers <joseph@codesourcery.com>
31807 * crypt/speeds.c: Remove trailing whitespace.
31808 * dlfcn/default.c: Likewise.
31809 * elf/ifuncdep2.c: Likewise.
31810 * elf/ifuncmain1.c: Likewise.
31811 * elf/ifuncmain1vis.c: Likewise.
31812 * elf/testobj.h: Likewise.
31813 * elf/tst-stackguard1.c: Likewise.
31814 * gmon/sys/gmon.h: Likewise.
31815 * hurd/hurdmsg.c: Likewise.
31816 * hurd/new-fd.c: Likewise.
31817 * hurd/ports-get.c: Likewise.
31818 * iconvdata/ibm1008_420.c: Likewise.
31819 * inet/tst-getni1.c: Likewise.
31820 * inet/tst-getni2.c: Likewise.
31821 * libio/ioungetc.c: Likewise.
31822 * libio/wfiledoalloc.c: Likewise.
31823 * manual/libm-err-tab.pl: Likewise.
31824 * math/w_dremf.c: Likewise.
31825 * misc/ftruncate.c: Likewise.
31826 * posix/bug-glob2.c: Likewise.
31827 * posix/tst-pcre.c: Likewise.
31828 * posix/wait4.c: Likewise.
31829 * resolv/README: Likewise.
31830 * resolv/res_debug.h: Likewise.
31831 * resolv/tst-inet_ntop.c: Likewise.
31832 * setjmp/bug269-setjmp.c: Likewise.
31833 * soft-fp/extended.h: Likewise.
31834 * soft-fp/op-1.h: Likewise.
31835 * soft-fp/op-2.h: Likewise.
31836 * soft-fp/op-4.h: Likewise.
31837 * soft-fp/op-8.h: Likewise.
31838 * soft-fp/testit.c: Likewise.
31839 * stdio-common/bug16.c: Likewise.
31840 * stdlib/random.c: Likewise.
31841 * sunrpc/rpcsvc/rquota.x: Likewise.
31842 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31843 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31844 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31845 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31846 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31847 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31848 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31849 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31850 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31851 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31852 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31853 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31854 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31855 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31856 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31857 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31858 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31859 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31860 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31861 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31862 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31863 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31864 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31865 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31866 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31867 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31868 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31869 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31870 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31871 * sysdeps/ieee754/s_lib_version.c: Likewise.
31872 * sysdeps/mach/hurd/check_fds.c: Likewise.
31873 * sysdeps/mach/hurd/getsockname.c: Likewise.
31874 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31875 * sysdeps/mach/hurd/recvfrom.c: Likewise.
31876 * sysdeps/powerpc/bits/link.h: Likewise.
31877 * sysdeps/powerpc/dl-procinfo.c: Likewise.
31878 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31879 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31880 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31881 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31882 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31883 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31884 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31885 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31886 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31887 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31888 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31889 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31890 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31891 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31892 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31893 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31894 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31895 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31896 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31897 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31898 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31899 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31900 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31901 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31902 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31903 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31904 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31905 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31906 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31907 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31908 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31909 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31910 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31911 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31912 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31913 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31914 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31915 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31916 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31917 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31918 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31919 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31920 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31921 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31922 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31923 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31924 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31925 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31926 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31927 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31928 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31929 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31930 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31931 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31932 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31933 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31934 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31935 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31936 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31937 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31938 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31939 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31940 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31941 * sysdeps/powerpc/sysdep.h: Likewise.
31942 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31943 * sysdeps/s390/s390-64/sub_n.S: Likewise.
31944 * sysdeps/sh/dl-trampoline.S: Likewise.
31945 * sysdeps/sh/memset.S: Likewise.
31946 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31947 * sysdeps/sh/strlen.S: Likewise.
31948 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31949 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31950 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31951 * sysdeps/sparc/sparc32/rem.S: Likewise.
31952 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31953 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31954 * sysdeps/sparc/sparc32/strchr.S: Likewise.
31955 * sysdeps/sparc/sparc32/udiv.S: Likewise.
31956 * sysdeps/sparc/sparc32/urem.S: Likewise.
31957 * sysdeps/sparc/sparc64/add_n.S: Likewise.
31958 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31959 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31960 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31961 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31962 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31963 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31964 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31965 * sysdeps/unix/bsd/times.c: Likewise.
31966 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31967 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31971 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31972 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31973 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31974 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31975 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31976 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31977 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31978 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31979 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31980 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31981 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31982 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31983 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31984 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31985 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31986 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31987 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31988 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31989 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31990 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31991 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31992 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31993 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31994 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31995 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31996 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31997 * sysdeps/x86_64/strcspn.S: Likewise.
31999 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32001 * locale/C-translit.h: Revert #include <stdint.h> because this is a
32002 generated file. Regenerate properly from gen-translit.pl.
32003 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
32004 locale/C-translit.h.
32006 2013-06-05 Andreas Schwab <schwab@suse.de>
32009 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32010 week as 6 instead of -1.
32011 * time/tst-strptime.c (day_tests): Add test case.
32013 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32015 * sysdeps/generic/math_private.h
32016 (libc_feholdexcept_setround_53bit): Replace with
32017 libc_feholdsetround_53bit.
32018 (libc_feupdateenv_53bit): Replace with
32019 libc_feresetround_53bit.
32020 (SET_RESTORE_ROUND_53BIT): Adjust.
32022 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32024 * string/test-strchrnul.c: Add copyright header.
32026 * posix/tst-getaddrinfo4.c: Increase test timeout.
32028 2013-06-03 Carlos O'Donell <carlos@redhat.com>
32031 * math/libm-test.inc (MAX_EXP): Remove
32033 (ulp): Use MIN_EXP - MANT_DIG.
32034 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32036 2013-05-31 Carlos O'Donell <carlos@redhat.com>
32038 * po/be.po: Revert last change.
32039 * po/zh_CN.po: Likewise.
32040 * po/header.pot: Likewise.
32042 2013-05-31 Joseph Myers <joseph@codesourcery.com>
32044 * Makefile ($(common-objpfx)linkobj/libc.so): Define
32045 link-libc-deps to empty as target-specific variable.
32046 * Makerules (link-libc-args): New variable.
32047 (libc-for-link): Likewise.
32048 (link-libc-deps): Likewise.
32049 (lib%.so): Depend on $(link-libc-deps). Link with
32051 (build-module): Link with $(link-libc-args).
32052 (build-module-asneeded): Likewise.
32053 (build-module-helper-objlist): Filter out $(link-libc-deps) from
32055 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32056 target-specific variable.
32057 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32058 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32059 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32061 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32063 ($(objpfx)libpcprofile.so): Likewise.
32064 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32066 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32067 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32068 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32070 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32071 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32072 * login/Makefile ($(objpfx)libutil.so): Likewise.
32073 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32074 * math/Makefile ($(objpfx)libm.so): Likewise.
32075 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32076 $(objpfx)libnsl.so): Define libc-for-link as target-specific
32077 variable instead of depending directly on libc.
32078 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32079 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32081 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32083 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32084 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32085 ($(objpfx)libanl.so): Likewise.
32086 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32088 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32090 * sysdeps/i386/fpu/Makefile: Remove file.
32091 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32092 ($(objpfx)libm.so): Remove dependency on ld.so.
32094 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
32097 * nis/yp_xdr.c (XDRMAXNAME): Define.
32098 (XDRMAXRECORD): Define.
32099 (xdr_domainname): Use XDRMAXNAME.
32100 (xdr_mapname): Likewise.
32101 (xdr_peername): Likewise.
32102 (xdr_keydat): Use XDRMAXRECORD.
32103 (xdr_valdat): Likewise.
32105 2013-05-30 Jeff Law <law@redhat.com>
32108 * manual/errno.texi (ESTALE): Update to account for more than
32109 just NFS file systems.
32110 * sysdeps/gnu/errlist.c: Regenerated.
32112 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32115 * elf/Makefile (tests): Add tst-null-argv.
32116 (modules-names): Add tst-null-argv-lib.
32117 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32118 (tst-null-argv-ENV): Set environment for tst-null-argv.
32119 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32120 (RTLD_PROGNAME): New macro.
32121 * elf/tst-null-argv.c: New test case.
32122 * elf/tst-null-argv-lib.c: Library for test case.
32123 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32124 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32125 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32126 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32127 * elf/dl-init.c (call_init): Likewise.
32128 (_dl_init): Likewise.
32129 * elf/dl-load.c (print_search_path): Likewise.
32130 (_dl_map_object): Likewise.
32131 * elf/dl-lookup.c (do_lookup_x): Likewise.
32132 (add_dependency): Likewise.
32133 (_dl_lookup_symbol_x): Likewise.
32134 (_dl_debug_bindings): Likewise.
32135 * elf/dl-open.c (_dl_show_scope): Likewise.
32136 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32137 * elf/dl-version.c (match_symbol): Likewise.
32138 (_dl_check_map_versions): Likewise.
32139 * elf/rtld.c (dl_main): Likewise.
32140 (print_unresolved): Use RTLD_PROGNAME.
32141 (print_missing_version): Likewise.
32142 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32143 (elf_machine_rela): Likewise.
32144 * sysdeps/powerpc/powerpc32/dl-machine.c
32145 (__process_machine_rela): Likewise.
32146 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32148 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32150 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32152 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32153 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32155 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32157 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32159 2013-05-28 Carlos O'Donell <carlos@redhat.com>
32161 * po/be.po: Add descriptive title.
32162 * po/zh_CN.po: Likewise.
32163 * po/header.pot: Likewise.
32165 2013-05-28 Mike Frysinger <vapier@gentoo.org>
32167 * locale/programs/locarchive.c (create_archive): Inlucde fname in
32169 (enlarge_archive): Likewise.
32171 2013-05-28 Ben North <ben@redfrontdoor.org>
32173 * manual/arith.texi (frexp): It is the magnitude of the return
32174 value which lies in [0.5, 1), not the return value itself.
32176 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32180 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
32182 * stdio-common/bug26.c (main): Correct fscanf template.
32184 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32185 declare _dl_skip_args.
32187 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32190 * manual/platform.texi: Add missing @end deftypefun.
32192 2013-05-24 Joseph Myers <joseph@codesourcery.com>
32195 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32196 bit of mantissa of 2^16382.
32197 * math/libm-test.inc (hypot_test_data): Add more tests.
32199 * math/libm-test.inc: Add drem and pow10 to list of tested
32201 (pow10_test): New function.
32202 (drem_test): Likewise.
32203 (drem_test_tonearest): Likewise.
32204 (drem_test_towardzero): Likewise.
32205 (drem_test_downward): Likewise.
32206 (drem_test_upward): Likewise.
32207 (main): Call the new functions.
32209 * math/libm-test.inc (finite_test_data): Remove.
32210 (finite_test): Run tests from isfinite_test_data.
32211 (gamma_test_data): Remove.
32212 (gamma_test): Run tests from lgamma_test_data.
32213 * sysdeps/i386/fpu/libm-test-ulps: Update.
32214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32216 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32218 * manual/platform.texi: Add PowerPC PPR function set documentation.
32219 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32222 2013-05-24 Carlos O'Donell <carlos@redhat.com>
32224 * math/libm-test.inc (MAX_EXP): Define.
32226 (ulp): New function.
32227 (check_float_internal): Use ULPDIFF.
32228 (cpow_test): Disable failing test.
32229 (check_ulp): Test ulp() implemetnation.
32230 (main): Call check_ulp before starting tests.
32232 2013-05-24 Joseph Myers <joseph@codesourcery.com>
32234 * math/gen-libm-test.pl (generate_testfile): Do not handle
32235 START_DATA and END_DATA.
32236 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32238 (acos_tonearest_test_data): Likewise.
32239 (acos_towardzero_test_data): Likewise.
32240 (acos_downward_test_data): Likewise.
32241 (acos_upward_test_data): Likewise.
32242 (acosh_test_data): Likewise.
32243 (asin_test_data): Likewise.
32244 (asin_tonearest_test_data): Likewise.
32245 (asin_towardzero_test_data): Likewise.
32246 (asin_downward_test_data): Likewise.
32247 (asin_upward_test_data): Likewise.
32248 (asinh_test_data): Likewise.
32249 (atan_test_data): Likewise.
32250 (atanh_test_data): Likewise.
32251 (atan2_test_data): Likewise.
32252 (cabs_test_data): Likewise.
32253 (cacos_test_data): Likewise.
32254 (cacosh_test_data): Likewise.
32255 (carg_test_data): Likewise.
32256 (casin_test_data): Likewise.
32257 (casinh_test_data): Likewise.
32258 (catan_test_data): Likewise.
32259 (catanh_test_data): Likewise.
32260 (cbrt_test_data): Likewise.
32261 (ccos_test_data): Likewise.
32262 (ccosh_test_data): Likewise.
32263 (ceil_test_data): Likewise.
32264 (cexp_test_data): Likewise.
32265 (cimag_test_data): Likewise.
32266 (clog_test_data): Likewise.
32267 (clog10_test_data): Likewise.
32268 (conj_test_data): Likewise.
32269 (copysign_test_data): Likewise.
32270 (cos_test_data): Likewise.
32271 (cos_tonearest_test_data): Likewise.
32272 (cos_towardzero_test_data): Likewise.
32273 (cos_downward_test_data): Likewise.
32274 (cos_upward_test_data): Likewise.
32275 (cosh_test_data): Likewise.
32276 (cosh_tonearest_test_data): Likewise.
32277 (cosh_towardzero_test_data): Likewise.
32278 (cosh_downward_test_data): Likewise.
32279 (cosh_upward_test_data): Likewise.
32280 (cpow_test_data): Likewise.
32281 (cproj_test_data): Likewise.
32282 (creal_test_data): Likewise.
32283 (csin_test_data): Likewise.
32284 (csinh_test_data): Likewise.
32285 (csqrt_test_data): Likewise.
32286 (ctan_test_data): Likewise.
32287 (ctan_tonearest_test_data): Likewise.
32288 (ctan_towardzero_test_data): Likewise.
32289 (ctan_downward_test_data): Likewise.
32290 (ctan_upward_test_data): Likewise.
32291 (ctanh_test_data): Likewise.
32292 (ctanh_tonearest_test_data): Likewise.
32293 (ctanh_towardzero_test_data): Likewise.
32294 (ctanh_downward_test_data): Likewise.
32295 (ctanh_upward_test_data): Likewise.
32296 (erf_test_data): Likewise.
32297 (erfc_test_data): Likewise.
32298 (exp_test_data): Likewise.
32299 (exp_tonearest_test_data): Likewise.
32300 (exp_towardzero_test_data): Likewise.
32301 (exp_downward_test_data): Likewise.
32302 (exp_upward_test_data): Likewise.
32303 (exp10_test_data): Likewise.
32304 (exp2_test_data): Likewise.
32305 (expm1_test_data): Likewise.
32306 (fabs_test_data): Likewise.
32307 (fdim_test_data): Likewise.
32308 (finite_test_data): Likewise.
32309 (floor_test_data): Likewise.
32310 (fma_test_data): Likewise.
32311 (fma_towardzero_test_data): Likewise.
32312 (fma_downward_test_data): Likewise.
32313 (fma_upward_test_data): Likewise.
32314 (fmax_test_data): Likewise.
32315 (fmin_test_data): Likewise.
32316 (fmod_test_data): Likewise.
32317 (fpclassify_test_data): Likewise.
32318 (frexp_test_data): Likewise.
32319 (gamma_test_data): Likewise.
32320 (hypot_test_data): Likewise.
32321 (ilogb_test_data): Likewise.
32322 (isfinite_test_data): Likewise.
32323 (isgreater_test_data): Likewise.
32324 (isgreaterequal_test_data): Likewise.
32325 (isinf_test_data): Likewise.
32326 (isless_test_data): Likewise.
32327 (islessequal_test_data): Likewise.
32328 (islessgreater_test_data): Likewise.
32329 (isnan_test_data): Likewise.
32330 (isnormal_test_data): Likewise.
32331 (issignaling_test_data): Likewise.
32332 (isunordered_test_data): Likewise.
32333 (j0_test_data): Likewise.
32334 (j1_test_data): Likewise.
32335 (jn_test_data): Likewise.
32336 (ldexp_test_data): Likewise.
32337 (lgamma_test_data): Likewise.
32338 (lrint_test_data): Likewise.
32339 (lrint_tonearest_test_data): Likewise.
32340 (lrint_towardzero_test_data): Likewise.
32341 (lrint_downward_test_data): Likewise.
32342 (lrint_upward_test_data): Likewise.
32343 (llrint_test_data): Likewise.
32344 (llrint_tonearest_test_data): Likewise.
32345 (llrint_towardzero_test_data): Likewise.
32346 (llrint_downward_test_data): Likewise.
32347 (llrint_upward_test_data): Likewise.
32348 (log_test_data): Likewise.
32349 (log10_test_data): Likewise.
32350 (log1p_test_data): Likewise.
32351 (log2_test_data): Likewise.
32352 (logb_test_data): Likewise.
32353 (logb_downward_test_data): Likewise.
32354 (lround_test_data): Likewise.
32355 (llround_test_data): Likewise.
32356 (modf_test_data): Likewise.
32357 (nearbyint_test_data): Likewise.
32358 (nextafter_test_data): Likewise.
32359 (nexttoward_test_data): Likewise.
32360 (pow_test_data): Likewise.
32361 (pow_tonearest_test_data): Likewise.
32362 (pow_towardzero_test_data): Likewise.
32363 (pow_downward_test_data): Likewise.
32364 (pow_upward_test_data): Likewise.
32365 (remainder_test_data): Likewise.
32366 (remainder_tonearest_test_data): Likewise.
32367 (remainder_towardzero_test_data): Likewise.
32368 (remainder_downward_test_data): Likewise.
32369 (remainder_upward_test_data): Likewise.
32370 (remquo_test_data): Likewise.
32371 (rint_test_data): Likewise.
32372 (rint_tonearest_test_data): Likewise.
32373 (rint_towardzero_test_data): Likewise.
32374 (rint_downward_test_data): Likewise.
32375 (rint_upward_test_data): Likewise.
32376 (round_test_data): Likewise.
32377 (scalb_test_data): Likewise.
32378 (scalbn_test_data): Likewise.
32379 (scalbln_test_data): Likewise.
32380 (signbit_test_data): Likewise.
32381 (sin_test_data): Likewise.
32382 (sin_tonearest_test_data): Likewise.
32383 (sin_towardzero_test_data): Likewise.
32384 (sin_downward_test_data): Likewise.
32385 (sin_upward_test_data): Likewise.
32386 (sincos_test_data): Likewise.
32387 (sinh_test_data): Likewise.
32388 (sinh_tonearest_test_data): Likewise.
32389 (sinh_towardzero_test_data): Likewise.
32390 (sinh_downward_test_data): Likewise.
32391 (sinh_upward_test_data): Likewise.
32392 (sqrt_test_data): Likewise.
32393 (tan_test_data): Likewise.
32394 (tan_tonearest_test_data): Likewise.
32395 (tan_towardzero_test_data): Likewise.
32396 (tan_downward_test_data): Likewise.
32397 (tan_upward_test_data): Likewise.
32398 (tanh_test_data): Likewise.
32399 (tgamma_test_data): Likewise.
32400 (trunc_test_data): Likewise.
32401 (y0_test_data): Likewise.
32402 (y1_test_data): Likewise.
32403 (yn_test_data): Likewise.
32404 (significand_test_data): Likewise.
32406 * math/gen-libm-test.pl (@functions): Remove variable.
32407 (generate_testfile): Don't handle START and END lines.
32408 * math/libm-test.inc (START): New macro.
32410 (END_COMPLEX): Likewise.
32411 (acos_test): Use END macro without arguments.
32412 (acos_test_tonearest): Likewise.
32413 (acos_test_towardzero): Likewise.
32414 (acos_test_downward): Likewise.
32415 (acos_test_upward): Likewise.
32416 (acosh_test): Likewise.
32417 (asin_test): Likewise.
32418 (asin_test_tonearest): Likewise.
32419 (asin_test_towardzero): Likewise.
32420 (asin_test_downward): Likewise.
32421 (asin_test_upward): Likewise.
32422 (asinh_test): Likewise.
32423 (atan_test): Likewise.
32424 (atanh_test): Likewise.
32425 (atan2_test): Likewise.
32426 (cabs_test): Likewise.
32427 (cacos_test): Use END_COMPLEX macro without arguments.
32428 (cacosh_test): Likewise.
32429 (carg_test): Use END macro without arguments.
32430 (casin_test): Use END_COMPLEX macro without arguments.
32431 (casinh_test): Likewise.
32432 (catan_test): Likewise.
32433 (catanh_test): Likewise.
32434 (cbrt_test): Use END macro without arguments.
32435 (ccos_test): Use END_COMPLEX macro without arguments.
32436 (ccosh_test): Likewise.
32437 (ceil_test): Use END macro without arguments.
32438 (cexp_test): Use END_COMPLEX macro without arguments.
32439 (cimag_test): Use END macro without arguments.
32440 (clog_test): Use END_COMPLEX macro without arguments.
32441 (clog10_test): Likewise.
32442 (conj_test): Likewise.
32443 (copysign_test): Use END macro without arguments.
32444 (cos_test): Likewise.
32445 (cos_test_tonearest): Likewise.
32446 (cos_test_towardzero): Likewise.
32447 (cos_test_downward): Likewise.
32448 (cos_test_upward): Likewise.
32449 (cosh_test): Likewise.
32450 (cosh_test_tonearest): Likewise.
32451 (cosh_test_towardzero): Likewise.
32452 (cosh_test_downward): Likewise.
32453 (cosh_test_upward): Likewise.
32454 (cpow_test): Use END_COMPLEX macro without arguments.
32455 (cproj_test): Likewise.
32456 (creal_test): Use END macro without arguments.
32457 (csin_test): Use END_COMPLEX macro without arguments.
32458 (csinh_test): Likewise.
32459 (csqrt_test): Likewise.
32460 (ctan_test): Likewise.
32461 (ctan_test_tonearest): Likewise.
32462 (ctan_test_towardzero): Likewise.
32463 (ctan_test_downward): Likewise.
32464 (ctan_test_upward): Likewise.
32465 (ctanh_test): Likewise.
32466 (ctanh_test_tonearest): Likewise.
32467 (ctanh_test_towardzero): Likewise.
32468 (ctanh_test_downward): Likewise.
32469 (ctanh_test_upward): Likewise.
32470 (erf_test): Use END macro without arguments.
32471 (erfc_test): Likewise.
32472 (exp_test): Likewise.
32473 (exp_test_tonearest): Likewise.
32474 (exp_test_towardzero): Likewise.
32475 (exp_test_downward): Likewise.
32476 (exp_test_upward): Likewise.
32477 (exp10_test): Likewise.
32478 (exp2_test): Likewise.
32479 (expm1_test): Likewise.
32480 (fabs_test): Likewise.
32481 (fdim_test): Likewise.
32482 (finite_test): Likewise.
32483 (floor_test): Likewise.
32484 (fma_test): Likewise.
32485 (fma_test_towardzero): Likewise.
32486 (fma_test_downward): Likewise.
32487 (fma_test_upward): Likewise.
32488 (fmax_test): Likewise.
32489 (fmin_test): Likewise.
32490 (fmod_test): Likewise.
32491 (fpclassify_test): Likewise.
32492 (frexp_test): Likewise.
32493 (gamma_test): Likewise.
32494 (hypot_test): Likewise.
32495 (ilogb_test): Likewise.
32496 (isfinite_test): Likewise.
32497 (isgreater_test): Likewise.
32498 (isgreaterequal_test): Likewise.
32499 (isinf_test): Likewise.
32500 (isless_test): Likewise.
32501 (islessequal_test): Likewise.
32502 (islessgreater_test): Likewise.
32503 (isnan_test): Likewise.
32504 (isnormal_test): Likewise.
32505 (issignaling_test): Likewise.
32506 (isunordered_test): Likewise.
32507 (j0_test): Likewise.
32508 (j1_test): Likewise.
32509 (jn_test): Likewise.
32510 (ldexp_test): Likewise.
32511 (lgamma_test): Likewise.
32512 (lrint_test): Likewise.
32513 (lrint_test_tonearest): Likewise.
32514 (lrint_test_towardzero): Likewise.
32515 (lrint_test_downward): Likewise.
32516 (lrint_test_upward): Likewise.
32517 (llrint_test): Likewise.
32518 (llrint_test_tonearest): Likewise.
32519 (llrint_test_towardzero): Likewise.
32520 (llrint_test_downward): Likewise.
32521 (llrint_test_upward): Likewise.
32522 (log_test): Likewise.
32523 (log10_test): Likewise.
32524 (log1p_test): Likewise.
32525 (log2_test): Likewise.
32526 (logb_test): Likewise.
32527 (logb_test_downward): Likewise.
32528 (lround_test): Likewise.
32529 (llround_test): Likewise.
32530 (modf_test): Likewise.
32531 (nearbyint_test): Likewise.
32532 (nextafter_test): Likewise.
32533 (nexttoward_test): Likewise.
32534 (pow_test): Likewise.
32535 (pow_test_tonearest): Likewise.
32536 (pow_test_towardzero): Likewise.
32537 (pow_test_downward): Likewise.
32538 (pow_test_upward): Likewise.
32539 (remainder_test): Likewise.
32540 (remainder_test_tonearest): Likewise.
32541 (remainder_test_towardzero): Likewise.
32542 (remainder_test_downward): Likewise.
32543 (remainder_test_upward): Likewise.
32544 (remquo_test): Likewise.
32545 (rint_test): Likewise.
32546 (rint_test_tonearest): Likewise.
32547 (rint_test_towardzero): Likewise.
32548 (rint_test_downward): Likewise.
32549 (rint_test_upward): Likewise.
32550 (round_test): Likewise.
32551 (scalb_test): Likewise.
32552 (scalbn_test): Likewise.
32553 (scalbln_test): Likewise.
32554 (signbit_test): Likewise.
32555 (sin_test): Likewise.
32556 (sin_test_tonearest): Likewise.
32557 (sin_test_towardzero): Likewise.
32558 (sin_test_downward): Likewise.
32559 (sin_test_upward): Likewise.
32560 (sincos_test): Likewise.
32561 (sinh_test): Likewise.
32562 (sinh_test_tonearest): Likewise.
32563 (sinh_test_towardzero): Likewise.
32564 (sinh_test_downward): Likewise.
32565 (sinh_test_upward): Likewise.
32566 (sqrt_test): Likewise.
32567 (tan_test): Likewise.
32568 (tan_test_tonearest): Likewise.
32569 (tan_test_towardzero): Likewise.
32570 (tan_test_downward): Likewise.
32571 (tan_test_upward): Likewise.
32572 (tanh_test): Likewise.
32573 (tgamma_test): Likewise.
32574 (trunc_test): Likewise.
32575 (y0_test): Likewise.
32576 (y1_test): Likewise.
32577 (yn_test): Likewise.
32578 (significand_test): Likewise.
32580 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
32583 * libio/genops.c (_IO_no_init): Initialize wide struct info.
32585 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
32588 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32589 __ppc_mdoio and __ppc_mdoom.
32590 * manual/platform.texi: Document new functions __ppc_yield,
32591 __ppc_mdoio and __ppc_mdoom.
32593 2013-05-22 Carlos O'Donell <carlos@redhat.com>
32595 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32596 (main): Mention "tls" pseudo-hwcap is legacy.
32597 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32599 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32601 * math/gen-libm-test.pl (parse_args): Output only string of
32602 arguments as text for test name, not full call or descriptions of
32603 tests for extra outputs.
32604 (generate_testfile): Do not pass function name to parse_args.
32605 Generate this_func variable from START.
32606 * math/libm-test.inc (struct test_f_f_data): Rename test_name
32608 (struct test_ff_f_data): Likewise.
32609 (test_ff_f_data_nexttoward): Likewise.
32610 (struct test_fi_f_data): Likewise.
32611 (struct test_fl_f_data): Likewise.
32612 (struct test_if_f_data): Likewise.
32613 (struct test_fff_f_data): Likewise.
32614 (struct test_c_f_data): Likewise.
32615 (struct test_f_f1_data): Likewise. Remove field extra_name.
32616 (struct test_fF_f1_data): Likewise.
32617 (struct test_ffI_f1_data): Likewise.
32618 (struct test_c_c_data): Rename test_name field to arg_str.
32619 (struct test_cc_c_data): Likewise.
32620 (struct test_f_i_data): Likewise.
32621 (struct test_ff_i_data): Likewise.
32622 (struct test_f_l_data): Likewise.
32623 (struct test_f_L_data): Likewise.
32624 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
32626 (COMMON_TEST_SETUP): New macro.
32627 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32628 (COMMON_TEST_CLEANUP): Likewise.
32629 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32630 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
32632 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32633 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
32635 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32636 (RUN_TEST_fff_f): Take argument string. Call new setup and
32638 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32639 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
32641 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32642 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
32644 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32645 (RUN_TEST_fF_f1): Take argument string. Call new setup and
32647 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32648 (RUN_TEST_fI_f1): Take argument string. Call new setup and
32650 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32651 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
32653 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32654 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
32656 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32657 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
32659 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32660 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
32662 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32663 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
32665 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32666 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
32668 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32669 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
32671 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32672 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
32674 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32675 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
32677 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32678 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
32680 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32681 (RUN_TEST_fFF_11): Take argument string. Call new setup and
32683 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32685 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
32687 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32688 to _sifields.sigfault.
32689 (si_addr_lsb): Define new macro.
32690 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32691 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32692 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32694 2013-05-03 Carlos O'Donell <carlos at redhat.com>
32697 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32699 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32701 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32702 loading the domain.
32704 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32706 * math/gen-libm-test.pl (parse_args): Do not include expected
32707 result in test name.
32708 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32709 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32710 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32711 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32712 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32715 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32717 * benchtests/Makefile: Sort function entries.
32719 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32720 tanh, asinh, acosh, atanh.
32721 * benchtests/acos-inputs: New file.
32722 * benchtests/acosh-inputs: New file.
32723 * benchtests/asin-inputs: New file.
32724 * benchtests/asinh-inputs: New file.
32725 * benchtests/atanh-inputs: New file.
32726 * benchtests/cosh-inputs: New file.
32727 * benchtests/log-inputs: New file.
32728 * benchtests/sinh-inputs: New file.
32729 * benchtests/tanh-inputs: New file.
32731 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
32734 * posix/tst-getaddrinfo4.c: New test.
32735 * posix/Makefile (tests): Add it.
32737 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32740 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32741 when no services were used.
32742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32743 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32745 2013-05-21 Andreas Schwab <schwab@suse.de>
32748 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32749 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32751 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32752 redundant variable declarations and reallocation of buffer when
32753 parsing as IPv6 address. Always set NSS status when called from
32754 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
32755 buffer too small. Correct computation of needed size.
32756 * nss/Makefile (tests): Add test-digits-dots.
32757 * nss/test-digits-dots.c: New test.
32759 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32761 * benchtests/Makefile: Remove instructions for adding
32763 * benchtests/README: New file to explain how to execute and
32764 enhance the benchmark tests.
32766 2013-05-21 Andreas Schwab <schwab@suse.de>
32769 * setjmp/Makefile (tests): Add tst-sigsetjmp.
32770 * setjmp/tst-sigsetjmp.c: New test.
32772 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
32774 * sysdeps/x86_64/memset.S (memset): New implementation.
32775 (__bzero): Likewise.
32776 (__memset_tail): New function.
32778 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
32780 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32781 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32782 __memcpy_sse2_unaligned ifunc selection.
32783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32784 Add memcpy-sse2-unaligned.S.
32785 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32786 Add: __memcpy_sse2_unaligned.
32788 2013-05-19 Joseph Myers <joseph@codesourcery.com>
32791 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32792 math_force_eval before restoring floating-point envrionment.
32793 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32794 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32796 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32798 (__nearbyintl): Use math_force_eval before restoring
32799 floating-point environment.
32800 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32802 * math/gen-libm-test.pl (special_functions): Remove.
32803 (parse_args): Don't handle TEST_extra. Handle functions with no
32805 * math/libm-test.inc (struct test_sincos_data): Replace with
32806 struct test_fFF_11_data.
32807 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32808 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32809 (sincos_test_data): Change element type to struct
32810 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
32811 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32812 RUN_TEST_LOOP_sincos.
32813 * math/README.libm-test: Don't mention special handling of
32814 individual functions.
32815 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32816 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32817 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32818 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32819 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32822 * math/gen-libm-test.pl (get_variable): Remove function.
32823 (parse_args): Don't show pointer parameters to call in test
32824 names. Use "extra output N" in test names for extra outputs
32825 rather than naming variables.
32827 2013-05-18 Joseph Myers <joseph@codesourcery.com>
32830 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32831 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32832 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32834 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32836 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32839 * math/gen-libm-test.pl (@tests): Remove variable.
32840 ($count): Likewise.
32841 (new_test): Remove function.
32842 (show_exceptions): New function.
32843 (special_functions): Use show_exceptions instead of new_test.
32844 (parse_args): Likewise.
32845 (generate_testfile): Pass only function name in generated call to
32846 print_max_error or print_complex_max_error.
32847 (get_ulps): Do not handle complex tests specially.
32848 (output_test): Rename to ...
32849 (get_all_ulps_for_test): ... this. Return a string rather than
32850 printing to a file. Require ulps to be present.
32851 (output_ulps): Generate arrays rather than #defines.
32852 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32853 (struct ulp_data): New type.
32854 (BUILD_COMPLEX_ULP): Remove macro.
32855 (compare_ulp_data): New function.
32856 (find_ulps): Likewise.
32857 (find_test_ulps): Likewise.
32858 (find_function_ulps): Likewise.
32859 (find_complex_function_ulps): Likewise.
32860 (print_max_error): Determine allowed ulps using
32861 find_function_ulps.
32862 (print_complex_max_error): Determine allowed ulps using
32863 find_complex_function_ulps.
32864 (check_float_internal): Determine max ulps using find_test_ulps.
32865 (check_float): Do not take max_ulp parameter. Update call to
32866 check_float_internal.
32867 (check_complex): Likewise.
32868 (check_int): Do not take max_ulp parameter.
32869 (check_long): Likewise.
32870 (check_bool): Likewise.
32871 (check_longlong): Likewise.
32872 (struct test_f_f_data): Remove max_ulp field.
32873 (struct test_ff_f_data): Likewise.
32874 (struct test_ff_f_data_nexttoward): Likewise.
32875 (struct test_fi_f_data): Likewise.
32876 (struct test_fl_f_data): Likewise.
32877 (struct test_if_f_data): Likewise.
32878 (struct test_fff_f_data): Likewise.
32879 (struct test_c_f_data): Likewise.
32880 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32881 (struct test_fF_f1_data): Likewise.
32882 (struct test_ffI_f1_data): Likewise.
32883 (struct test_c_c_data): Remove max_ulp field.
32884 (struct test_cc_c_data): Likewise.
32885 (struct test_f_i_data): Likewise.
32886 (struct test_ff_i_data): Likewise.
32887 (struct test_f_l_data): Likewise.
32888 (struct test_f_L_data): Likewise.
32889 (struct test_sincos_data): Likewise.
32890 (RUN_TEST_f_f): Do not handle ulps.
32891 (RUN_TEST_LOOP_f_f): Likewise.
32892 (RUN_TEST_2_f): Likewise.
32893 (RUN_TEST_LOOP_2_f): Likewise.
32894 (RUN_TEST_fff_f): Likewise.
32895 (RUN_TEST_LOOP_fff_f): Likewise.
32896 (RUN_TEST_c_f): Likewise.
32897 (RUN_TEST_LOOP_c_f): Likewise.
32898 (RUN_TEST_f_f1): Likewise.
32899 (RUN_TEST_LOOP_f_f1): Likewise.
32900 (RUN_TEST_fF_f1): Likewise.
32901 (RUN_TEST_LOOP_fF_f1): Likewise.
32902 (RUN_TEST_fI_f1): Likewise.
32903 (RUN_TEST_LOOP_fI_f1): Likewise.
32904 (RUN_TEST_ffI_f1): Likewise.
32905 (RUN_TEST_LOOP_ffI_f1): Likewise.
32906 (RUN_TEST_c_c): Likewise.
32907 (RUN_TEST_LOOP_c_c): Likewise.
32908 (RUN_TEST_cc_c): Likewise.
32909 (RUN_TEST_LOOP_cc_c): Likewise.
32910 (RUN_TEST_f_i): Likewise.
32911 (RUN_TEST_LOOP_f_i): Likewise.
32912 (RUN_TEST_f_i_tg): Likewise.
32913 (RUN_TEST_LOOP_f_i_tg): Likewise.
32914 (RUN_TEST_ff_i_tg): Likewise.
32915 (RUN_TEST_LOOP_ff_i_tg): Likewise.
32916 (RUN_TEST_f_b): Likewise.
32917 (RUN_TEST_LOOP_f_b): Likewise.
32918 (RUN_TEST_f_b_tg): Likewise.
32919 (RUN_TEST_LOOP_f_b_tg): Likewise.
32920 (RUN_TEST_f_l): Likewise.
32921 (RUN_TEST_LOOP_f_l): Likewise.
32922 (RUN_TEST_f_L): Likewise.
32923 (RUN_TEST_LOOP_f_L): Likewise.
32924 (RUN_TEST_sincos): Likewise.
32925 (RUN_TEST_LOOP_sincos): Likewise.
32927 2013-05-17 Joseph Myers <joseph@codesourcery.com>
32931 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32932 main case of finite arguments, set rounding mode to FE_TONEAREST
32933 and discard exceptions.
32934 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32936 (remainder_tonearest_test_data): New variable.
32937 (remainder_test_tonearest): New function.
32938 (remainder_towardzero_test_data): New variable.
32939 (remainder_test_towardzero): New function.
32940 (remainder_downward_test_data): New variable.
32941 (remainder_test_downward): New function.
32942 (remainder_upward_test_data): New variable.
32943 (remainder_test_upward): New function.
32944 (main): Call the new test functions.
32946 * math/libm-test.inc (struct test_f_f1_data): Remove field
32948 (struct test_fF_f1_data): Likewise.
32949 (struct test_ffI_f1_data): Likewise.
32950 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
32951 based on value of EXTRA_EXPECTED.
32952 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32953 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
32954 EXTRA_VAR based on value of EXTRA_EXPECTED.
32955 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32956 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
32957 EXTRA_VAR based on value of EXTRA_EXPECTED.
32958 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32959 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
32960 EXTRA_VAR based on value of EXTRA_EXPECTED.
32961 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32962 * math/gen-libm-test.pl (parse_args): Don't output initializers
32963 for extra output values.
32965 * math/libm-test.inc (check_int): Expect result to be exactly
32966 equal to expected value and do not handle ulps.
32967 (check_long): Likewise.
32968 (check_longlong): Likewise.
32970 * math/libm-test.inc (ceil_test_data): Test for "inexact"
32972 (cimag_test_data): Likewise.
32973 (conj_test_data): Likewise.
32974 (copysign_test_data): Likewise.
32975 (cproj_test_data): Likewise.
32976 (creal_test_data): Likewise.
32977 (fabs_test_data): Likewise.
32978 (fdim_test_data): Likewise.
32979 (finite_test_data): Likewise.
32980 (floor_test_data): Likewise.
32981 (fmax_test_data): Likewise.
32982 (fmin_test_data): Likewise.
32983 (fmod_test_data): Likewise.
32984 (fpclassify_test_data): Likewise.
32985 (frexp_test_data): Likewise.
32986 (ilogb_test_data): Likewise.
32987 (isfinite_test_data): Likewise.
32988 (isgreater_test_data): Likewise.
32989 (isgreaterequal_test_data): Likewise.
32990 (isinf_test_data): Likewise.
32991 (isless_test_data): Likewise.
32992 (islessequal_test_data): Likewise.
32993 (islessgreater_test_data): Likewise.
32994 (isnan_test_data): Likewise.
32995 (isnormal_test_data): Likewise.
32996 (issignaling_test_data): Likewise.
32997 (isunordered_test_data): Likewise.
32998 (ldexp_test_data): Likewise.
32999 (lrint_test_data): Likewise.
33000 (lrint_test_data) [TEST_FLOAT]: Disable one test.
33001 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
33002 (lrint_tonearest_test_data): Test for "inexact" exceptions.
33003 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33004 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33005 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33007 (lrint_towardzero_test_data): Test for "inexact" exceptions.
33008 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33009 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33010 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33012 (lrint_downward_test_data): Test for "inexact" exceptions.
33013 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33014 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33015 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33017 (lrint_upward_test_data): Test for "inexact" exceptions.
33018 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33020 (llrint_test_data): Test for "inexact" exceptions.
33021 (llrint_test_data) [TEST_FLOAT]: Disable one test.
33022 (llrint_tonearest_test_data): Test for "inexact" exceptions.
33023 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33024 (llrint_towardzero_test_data): Test for "inexact" exceptions.
33025 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33026 (llrint_downward_test_data): Test for "inexact" exceptions.
33027 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33028 (llrint_upward_test_data): Test for "inexact" exceptions.
33029 (logb_test_data): Likewise.
33030 (logb_downward_test_data): Likewise.
33031 (nextafter_test_data): Likewise.
33032 (nexttoward_test_data): Likewise.
33033 (remainder_test_data): Likewise.
33034 (remquo_test_data): Likewise.
33035 (scalbn_test_data): Likewise.
33036 (scalbln_test_data): Likewise.
33037 (signbit_test_data): Likewise.
33038 (sqrt_test_data): Likewise.
33039 (significand_test_data): Likewise.
33041 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33044 * benchtests/bench-modf.c (struct args): Mark arg0 as
33046 * scripts/bench.pl: Mark members of struct args as volatile.
33048 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33051 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33052 negative infinity on POWER6 or lower.
33053 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33055 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
33058 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33059 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33060 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33061 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33062 (_FP_SETQNAN): New macro.
33063 (_FP_SETQNAN_SEMIRAW): Likewise.
33064 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33065 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33066 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33067 (FP_EXTEND): Use _FP_FRAC_SNANP.
33068 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33069 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33071 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33073 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33076 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33078 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33079 with DIVIDE_BY_ZERO_EXCEPTION.
33080 (gamma_test_data): Likewise.
33081 (lgamma_test_data): Likewise.
33082 (log_test_data): Likewise.
33083 (log10_test_data): Likewise.
33084 (log2_test_data): Likewise.
33085 (tgamma_test_data): Likewise.
33087 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33088 (acos_test_tonearest): Likewise.
33089 (acos_test_towardzero): Likewise.
33090 (acos_test_downward): Likewise.
33091 (acos_test_upward): Likewise.
33092 (acosh_test): Likewise.
33093 (asin_test): Likewise.
33094 (asin_test_tonearest): Likewise.
33095 (asin_test_towardzero): Likewise.
33096 (asin_test_downward): Likewise.
33097 (asin_test_upward): Likewise.
33098 (asinh_test): Likewise.
33099 (atan_test): Likewise.
33100 (atanh_test): Likewise.
33101 (atan2_test): Likewise.
33102 (cabs_test): Likewise.
33103 (cacos_test): Likewise.
33104 (cacosh_test): Likewise.
33105 (casin_test): Likewise.
33106 (casinh_test): Likewise.
33107 (catan_test): Likewise.
33108 (catanh_test): Likewise.
33109 (cbrt_test): Likewise.
33110 (ccos_test): Likewise.
33111 (ccosh_test): Likewise.
33112 (cexp_test): Likewise.
33113 (clog_test): Likewise.
33114 (clog10_test): Likewise.
33115 (cos_test): Likewise.
33116 (cos_test_tonearest): Likewise.
33117 (cos_test_towardzero): Likewise.
33118 (cos_test_downward): Likewise.
33119 (cos_test_upward): Likewise.
33120 (cosh_test): Likewise.
33121 (cosh_test_tonearest): Likewise.
33122 (cosh_test_towardzero): Likewise.
33123 (cosh_test_downward): Likewise.
33124 (cosh_test_upward): Likewise.
33125 (cpow_test): Likewise.
33126 (csin_test): Likewise.
33127 (csinh_test): Likewise.
33128 (csqrt_test): Likewise.
33129 (ctan_test): Likewise.
33130 (ctan_test_tonearest): Likewise.
33131 (ctan_test_towardzero): Likewise.
33132 (ctan_test_downward): Likewise.
33133 (ctan_test_upward): Likewise.
33134 (ctanh_test): Likewise.
33135 (ctanh_test_tonearest): Likewise.
33136 (ctanh_test_towardzero): Likewise.
33137 (ctanh_test_downward): Likewise.
33138 (ctanh_test_upward): Likewise.
33139 (erf_test): Likewise.
33140 (erfc_test): Likewise.
33141 (exp_test): Likewise.
33142 (exp_test_tonearest): Likewise.
33143 (exp_test_towardzero): Likewise.
33144 (exp_test_downward): Likewise.
33145 (exp_test_upward): Likewise.
33146 (exp10_test): Likewise.
33147 (exp2_test): Likewise.
33148 (expm1_test): Likewise.
33149 (fmod_test): Likewise.
33150 (gamma_test): Likewise.
33151 (hypot_test): Likewise.
33152 (j0_test): Likewise.
33153 (j1_test): Likewise.
33154 (jn_test): Likewise.
33155 (lgamma_test): Likewise.
33156 (log_test): Likewise.
33157 (log10_test): Likewise.
33158 (log1p_test): Likewise.
33159 (log2_test): Likewise.
33160 (logb_test_downward): Likewise.
33161 (pow_test): Likewise.
33162 (pow_test_tonearest): Likewise.
33163 (pow_test_towardzero): Likewise.
33164 (pow_test_downward): Likewise.
33165 (pow_test_upward): Likewise.
33166 (remainder_test): Likewise.
33167 (remquo_test): Likewise.
33168 (sin_test): Likewise.
33169 (sin_test_tonearest): Likewise.
33170 (sin_test_towardzero): Likewise.
33171 (sin_test_downward): Likewise.
33172 (sin_test_upward): Likewise.
33173 (sincos_test): Likewise.
33174 (sinh_test): Likewise.
33175 (sinh_test_tonearest): Likewise.
33176 (sinh_test_towardzero): Likewise.
33177 (sinh_test_downward): Likewise.
33178 (sinh_test_upward): Likewise.
33179 (sqrt_test): Likewise.
33180 (tan_test): Likewise.
33181 (tan_test_tonearest): Likewise.
33182 (tan_test_towardzero): Likewise.
33183 (tan_test_downward): Likewise.
33184 (tan_test_upward): Likewise.
33185 (tanh_test): Likewise.
33186 (tgamma_test): Likewise.
33187 (y0_test): Likewise.
33188 (y1_test): Likewise.
33189 (yn_test): Likewise.
33191 * math/gen-libm-test.pl (adjust_arg): Remove function.
33192 (special_function): Remove argument $in_func. Only handle
33193 generating output for tables of tests, not inside functions.
33194 (parse_args): Likewise.
33195 (generate_testfile): Remove variable $in_func. Update call to
33197 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33198 (MINUS_ZERO_INIT): Rename macro to minus_zero.
33199 (PLUS_INFTY_INIT): Rename macro to plus_infty.
33200 (MINUS_INFTY_INIT): Rename macro to minus_infty.
33201 (QNAN_VALUE_INIT): Rename macro to qnan_value.
33202 (MAX_VALUE_INIT): Rename macro to max_value.
33203 (MIN_VALUE_INIT): Rename macro to min_value.
33204 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33205 (plus_zero): Remove variable.
33206 (minus_zero): Likewise.
33207 (plus_infty): Likewise.
33208 (minus_infty): Likewise.
33209 (qnan_value): Likewise.
33210 (max_value): Likewise.
33211 (min_value): Likewise.
33212 (min_subnorm_value): Likewise.
33214 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33216 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33217 uint64_t or uint32_t usage.
33218 * crypt/sha256-block.c: Likewise.
33219 * crypt/sha256-crypt.c: Likewise.
33220 * crypt/sha256.c: Likewise.
33221 * crypt/sha512-block.c: Likewise.
33222 * crypt/sha512-crypt.c: Likewise.
33223 * crypt/sha512.c: Likewise.
33224 * debug/backtrace-tst.c: Likewise.
33225 * debug/pcprofiledump.c: Likewise.
33226 * elf/cache.c: Likewise.
33227 * elf/dl-cache.c: Likewise.
33228 * elf/dl-misc.c: Likewise.
33229 * elf/dl-profile.c: Likewise.
33230 * elf/dl-support.c: Likewise.
33231 * elf/ldconfig.c: Likewise.
33232 * elf/sprof.c: Likewise.
33233 * iconv/dummy-repertoire.c: Likewise.
33234 * iconv/iconv_charmap.c: Likewise.
33235 * iconv/skeleton.c: Likewise.
33236 * iconvdata/8bit-generic.c: Likewise.
33237 * iconvdata/cp737.h: Likewise.
33238 * iconvdata/cp775.h: Likewise.
33239 * iconvdata/ibm1008.h: Likewise.
33240 * iconvdata/ibm1025.h: Likewise.
33241 * iconvdata/ibm1046.h: Likewise.
33242 * iconvdata/ibm1097.h: Likewise.
33243 * iconvdata/ibm1112.h: Likewise.
33244 * iconvdata/ibm1122.h: Likewise.
33245 * iconvdata/ibm1123.h: Likewise.
33246 * iconvdata/ibm1124.h: Likewise.
33247 * iconvdata/ibm1129.h: Likewise.
33248 * iconvdata/ibm1130.h: Likewise.
33249 * iconvdata/ibm1132.h: Likewise.
33250 * iconvdata/ibm1133.h: Likewise.
33251 * iconvdata/ibm1137.h: Likewise.
33252 * iconvdata/ibm1140.h: Likewise.
33253 * iconvdata/ibm1141.h: Likewise.
33254 * iconvdata/ibm1142.h: Likewise.
33255 * iconvdata/ibm1143.h: Likewise.
33256 * iconvdata/ibm1144.h: Likewise.
33257 * iconvdata/ibm1145.h: Likewise.
33258 * iconvdata/ibm1146.h: Likewise.
33259 * iconvdata/ibm1147.h: Likewise.
33260 * iconvdata/ibm1148.h: Likewise.
33261 * iconvdata/ibm1149.h: Likewise.
33262 * iconvdata/ibm1153.h: Likewise.
33263 * iconvdata/ibm1154.h: Likewise.
33264 * iconvdata/ibm1155.h: Likewise.
33265 * iconvdata/ibm1156.h: Likewise.
33266 * iconvdata/ibm1157.h: Likewise.
33267 * iconvdata/ibm1158.h: Likewise.
33268 * iconvdata/ibm1160.h: Likewise.
33269 * iconvdata/ibm1161.h: Likewise.
33270 * iconvdata/ibm1162.h: Likewise.
33271 * iconvdata/ibm1163.h: Likewise.
33272 * iconvdata/ibm1164.h: Likewise.
33273 * iconvdata/ibm1166.h: Likewise.
33274 * iconvdata/ibm1167.h: Likewise.
33275 * iconvdata/ibm12712.h: Likewise.
33276 * iconvdata/ibm1390.h: Likewise.
33277 * iconvdata/ibm1399.h: Likewise.
33278 * iconvdata/ibm16804.h: Likewise.
33279 * iconvdata/ibm4517.h: Likewise.
33280 * iconvdata/ibm4899.h: Likewise.
33281 * iconvdata/ibm4909.h: Likewise.
33282 * iconvdata/ibm4971.h: Likewise.
33283 * iconvdata/ibm5347.h: Likewise.
33284 * iconvdata/ibm803.h: Likewise.
33285 * iconvdata/ibm856.h: Likewise.
33286 * iconvdata/ibm901.h: Likewise.
33287 * iconvdata/ibm902.h: Likewise.
33288 * iconvdata/ibm9030.h: Likewise.
33289 * iconvdata/ibm9066.h: Likewise.
33290 * iconvdata/ibm921.h: Likewise.
33291 * iconvdata/ibm922.h: Likewise.
33292 * iconvdata/ibm9448.h: Likewise.
33293 * iconvdata/isiri-3342.h: Likewise.
33294 * iconvdata/jis0201.h: Likewise.
33295 * include/link.h: Likewise.
33296 * include/netdb.h: Likewise.
33297 * inet/check_native.c: Likewise.
33298 * inet/check_pf.c: Likewise.
33299 * inet/getipv4sourcefilter.c: Likewise.
33300 * inet/getnameinfo.c: Likewise.
33301 * inet/getsourcefilter.c: Likewise.
33302 * inet/htonl.c: Likewise.
33303 * inet/setipv4sourcefilter.c: Likewise.
33304 * inet/setsourcefilter.c: Likewise.
33305 * inet/test-inet6_opt.c: Likewise.
33306 * inet/tst-network.c: Likewise.
33307 * locale/C-collate.c: Likewise.
33308 * locale/C-ctype.c: Likewise.
33309 * locale/C-time.c: Likewise.
33310 * locale/C-translit.h: Likewise.
33311 * locale/loadarchive.c: Likewise.
33312 * locale/programs/3level.h: Likewise.
33313 * locale/programs/charmap.c: Likewise.
33314 * locale/programs/charmap.h: Likewise.
33315 * locale/programs/ld-address.c: Likewise.
33316 * locale/programs/ld-collate.c: Likewise.
33317 * locale/programs/ld-ctype.c: Likewise.
33318 * locale/programs/ld-identification.c: Likewise.
33319 * locale/programs/ld-measurement.c: Likewise.
33320 * locale/programs/ld-messages.c: Likewise.
33321 * locale/programs/ld-monetary.c: Likewise.
33322 * locale/programs/ld-name.c: Likewise.
33323 * locale/programs/ld-numeric.c: Likewise.
33324 * locale/programs/ld-paper.c: Likewise.
33325 * locale/programs/ld-telephone.c: Likewise.
33326 * locale/programs/ld-time.c: Likewise.
33327 * locale/programs/linereader.c: Likewise.
33328 * locale/programs/locale.c: Likewise.
33329 * locale/programs/locarchive.c: Likewise.
33330 * locale/programs/locfile.h: Likewise.
33331 * locale/programs/repertoire.c: Likewise.
33332 * locale/programs/simple-hash.c: Likewise.
33333 * locale/programs/simple-hash.h: Likewise.
33334 * malloc/memusage.c: Likewise.
33335 * malloc/memusagestat.c: Likewise.
33336 * nis/nis_defaults.c: Likewise.
33337 * nis/nis_hash.c: Likewise.
33338 * nis/nis_print.c: Likewise.
33339 * nis/nis_xdr.c: Likewise.
33340 * nscd/connections.c: Likewise.
33341 * nscd/hstcache.c: Likewise.
33342 * nscd/nscd_gethst_r.c: Likewise.
33343 * nscd/nscd_getserv_r.c: Likewise.
33344 * nscd/nscd_helper.c: Likewise.
33345 * nscd/servicescache.c: Likewise.
33346 * nss/makedb.c: Likewise.
33347 * nss/nss_db/db-XXX.c: Likewise.
33348 * nss/nss_db/db-initgroups.c: Likewise.
33349 * nss/nss_db/db-netgrp.c: Likewise.
33350 * nss/nss_files/files-network.c: Likewise.
33351 * nss/nss_files/files-parse.c: Likewise.
33352 * posix/bug-regex5.c: Likewise.
33353 * posix/fnmatch_loop.c: Likewise.
33354 * posix/regcomp.c: Likewise.
33355 * posix/regexec.c: Likewise.
33356 * posix/tst-rfc3484-2.c: Likewise.
33357 * posix/tst-rfc3484-3.c: Likewise.
33358 * posix/tst-rfc3484.c: Likewise.
33359 * resolv/nss_dns/dns-canon.c: Likewise.
33360 * resolv/nss_dns/dns-network.c: Likewise.
33361 * resolv/res_init.c: Likewise.
33362 * resolv/res_mkquery.c: Likewise.
33363 * resolv/tst-aton.c: Likewise.
33364 * stdlib/cxa_atexit.c: Likewise.
33365 * stdlib/cxa_finalize.c: Likewise.
33366 * stdlib/gen-fpioconst.c: Likewise.
33367 * stdlib/strtol_l.c: Likewise.
33368 * string/tst-endian.c: Likewise.
33369 * sunrpc/auth_des.c: Likewise.
33370 * sunrpc/clnt_udp.c: Likewise.
33371 * sunrpc/rtime.c: Likewise.
33372 * sunrpc/svcauth_des.c: Likewise.
33373 * sunrpc/xdr.c: Likewise.
33374 * sunrpc/xdr_intXX_t.c: Likewise.
33375 * sunrpc/xdr_rec.c: Likewise.
33376 * sysdeps/generic/ldconfig.h: Likewise.
33377 * sysdeps/generic/ldsodefs.h: Likewise.
33378 * sysdeps/generic/memusage.h: Likewise.
33379 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33380 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33381 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33382 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33383 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33384 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33385 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33386 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33387 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33388 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33389 * sysdeps/posix/getaddrinfo.c: Likewise.
33390 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33391 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33392 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33393 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33394 * sysdeps/powerpc/test-gettimebase.c: Likewise.
33395 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33396 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33397 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33398 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33399 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33400 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33401 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33402 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33403 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33404 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33405 * sysdeps/x86_64/dl-tls.h: Likewise.
33406 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33407 * time/alt_digit.c: Likewise.
33408 * time/era.c: Likewise.
33409 * wcsmbs/tst-c16c32-1.c: Likewise.
33411 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33413 * math/libm-test.inc (struct test_sincos_data): New type.
33414 (RUN_TEST_LOOP_sincos): New macro.
33415 (sincos_test_data): New variable.
33416 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33418 2013-05-16 Richard Henderson <rth@redhat.com>
33420 * math/atest-exp2.c (LIMB64): New macro.
33421 (CONSTSZ): New macro.
33422 (mp_exp1, mp_exp_m1, mp_log2): New variables.
33424 (print_mpn_fp): ... to function scope.
33425 (read_mpn_hex): Remove.
33426 (get_log2): Remove.
33427 (exp2_mpn): Use mp_log2.
33428 (main): Use mp_exp1.
33430 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33432 * math/libm-test.inc: Remove comment about not testing "inexact"
33434 (INEXACT_EXCEPTION): New macro.
33435 (NO_INEXACT_EXCEPTION): Likewise.
33436 (INVALID_EXCEPTION_OK): Update value.
33437 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33438 (OVERFLOW_EXCEPTION_OK): Likewise.
33439 (UNDERFLOW_EXCEPTION_OK): Likewise.
33440 (IGNORE_ZERO_INF_SIGN): Likewise.
33441 (ERRNO_UNCHANGED): Likewise.
33442 (ERRNO_EDOM): Likewise.
33443 (ERRNO_ERANGE): Likewise.
33444 (test_exceptions): Handle testing "inexact" exceptions.
33445 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33446 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33447 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33448 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33450 (rint_towardzero_test_data): Likewise.
33451 (rint_downward_test_data): Likewise.
33452 (rint_upward_test_data): Likewise.
33454 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33455 with OVERFLOW_EXCEPTION.
33456 (exp10_test_data): Likewise.
33457 (exp2_test_data): Likewise.
33458 (expm1_test_data): Likewise.
33459 (lgamma_test_data): Likewise.
33460 (pow_test_data): Likewise.
33461 (tgamma_test_data): Likewise.
33462 (yn_test_data): Remove duplicate test of overflow.
33464 * math/libm-test.inc (struct test_cc_c_data): New type.
33465 (RUN_TEST_LOOP_cc_c): New macro.
33466 (cpow_test_data): New variable.
33467 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33469 * math/libm-test.inc (struct test_f_L_data): New type.
33470 (RUN_TEST_LOOP_f_L): New macro.
33471 (llrint_test_data): New variable.
33472 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33473 (llrint_tonearest_test_data): New variable.
33474 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33475 (llrint_towardzero_test_data): New variable.
33476 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33477 (llrint_downward_test_data): New variable.
33478 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33479 (llrint_upward_test_data): New variable.
33480 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33481 (llround_test_data): New variable.
33482 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33484 2013-05-13 Peter Collingbourne <pcc@google.com>
33486 * math/atest-exp2.c (get_log2): Remove const attribute.
33488 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33490 * math/libm-test.inc (struct test_f_l_data): New type.
33491 (RUN_TEST_LOOP_f_l): New macro.
33492 (lrint_test_data): New variable.
33493 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33494 (lrint_tonearest_test_data): New variable.
33495 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33496 (lrint_towardzero_test_data): New variable.
33497 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33498 (lrint_downward_test_data): New variable.
33499 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33500 (lrint_upward_test_data): New variable.
33501 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33502 (lround_test_data): New variable.
33503 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33505 2013-05-15 Peter Collingbourne <pcc@google.com>
33507 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33508 (EXTRACT_WORDS64) Use where appropriate.
33509 (INSERT_WORDS64) Likewise.
33511 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33512 constraints with x constraints.
33513 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33515 * malloc/obstack.c (_obstack_compat): Add initializer.
33517 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
33519 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33520 si_trapno and add si_addr_lsb to _sifields.sigfault.
33521 (si_trapno): Remove macro.
33522 (si_addr_lsb): Define new macro.
33523 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33525 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33527 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33528 instead of TEST_f_l.
33529 (llrint_test_tonearest): Likewise.
33530 (llrint_test_towardzero): Likewise.
33531 (llrint_test_downward): Likewise.
33532 (llrint_test_upward): Likewise.
33533 (llround_test): Likewise.
33535 * math/libm-test.inc (struct test_f_i_data): Add comment.
33536 (RUN_TEST_LOOP_f_b): New macro.
33537 (RUN_TEST_LOOP_f_b_tg): Likewise.
33538 (finite_test_data): New variable.
33539 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33540 (isfinite_test_data): New variable.
33541 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33542 (isinf_test_data): New variable.
33543 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33544 (isnan_test_data): New variable.
33545 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33546 (isnormal_test_data): New variable.
33547 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33548 (issignaling_test_data): New variable.
33549 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33550 (signbit_test_data): New variable.
33551 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33553 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33554 with INVALID_EXCEPTION.
33555 (acosh_test_data): Likewise.
33556 (asin_test_data): Likewise.
33557 (atanh_test_data): Likewise.
33558 (fmod_test_data): Likewise.
33559 (log_test_data): Likewise.
33560 (log10_test_data): Likewise.
33561 (log2_test_data): Likewise.
33562 (pow_test_data): Likewise.
33563 (sqrt_test_data): Likewise.
33564 (y0_test_data): Likewise.
33565 (y1_test_data): Likewise.
33566 (yn_test_data): Likewise.
33568 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33571 * math/libm-test.inc (struct test_ff_i_data): New type.
33572 (RUN_TEST_LOOP_ff_i_tg): New macro.
33573 (isgreater_test_data): New variable.
33574 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33575 (isgreaterequal_test_data): New variable.
33576 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33577 (isless_test_data): New variable.
33578 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33579 (islessequal_test_data): New variable.
33580 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33581 (islessgreater_test_data): New variable.
33582 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33583 (isunordered_test_data): New variable.
33584 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33586 2013-05-14 David S. Miller <davem@davemloft.net>
33588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33590 2013-05-14 Joseph Myers <joseph@codesourcery.com>
33592 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33594 * math/libm-test.inc (struct test_fF_f1_data): Change type of
33596 (struct test_f_i_data): Change type of max_ulp to int.
33598 * math/libm-test.inc (test_ffI_f1_data): New type.
33599 (RUN_TEST_LOOP_ffI_f1): New macro.
33600 (remquo_test_data): New variable.
33601 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33603 * setjmp/tst-setjmp-fp.c: New file.
33604 * setjmp/Makefile (tests): Add tst-setjmp-fp.
33605 (link-libm): New variable.
33606 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33608 * math/libm-test.inc (struct test_f_i_data): New type.
33609 (RUN_TEST_LOOP_f_i): New macro.
33610 (RUN_TEST_LOOP_f_i_tg): Likewise.
33611 (fpclassify_test_data): New variable.
33612 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33613 (ilogb_test_data): New variable.
33614 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33616 * math/libm-test.inc (scalbln_test): Correct function name in END
33619 * math/libm-test.inc (struct test_f_f1_data): Add comment.
33620 (RUN_TEST_LOOP_fI_f1): New macro.
33621 (frexp_test_data): New variable.
33622 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33624 * math/libm-test.inc (struct test_fF_f1_data): New type.
33625 (RUN_TEST_LOOP_fF_f1): New macro.
33626 (modf_test_data): New variable.
33627 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33629 * math/libm-test.inc (struct test_f_f1_data): New type.
33630 (RUN_TEST_LOOP_f_f1): New macro.
33631 (gamma_test_data): New variable.
33632 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33633 (lgamma_test_data): New variable.
33634 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33636 2013-05-13 Carlos O'Donell <carlos@redhat.com>
33638 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33639 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33640 (main): Comment "tls" pseudo-hwcap.
33642 2013-05-13 Joseph Myers <joseph@codesourcery.com>
33644 * math/libm-test.inc (struct test_fl_f_data): New type.
33645 (RUN_TEST_LOOP_fl_f): New variable.
33646 (scalbln_test_data): New variable.
33647 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33649 * math/libm-test.inc (struct test_fi_f_data): New type.
33650 (RUN_TEST_LOOP_fi_f): New macro.
33651 (ldexp_test_data): New variable.
33652 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33653 (scalbn_test_data): New variable.
33654 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33656 * math/libm-test.inc (struct test_c_f_data): New type.
33657 (RUN_TEST_LOOP_c_f): New macro.
33658 (cabs_test_data): New variable.
33659 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33660 (carg_test_data): New variable.
33661 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33662 (cimag_test_data): New variable.
33663 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33664 (creal_test_data): New variable.
33665 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33667 * math/libm-test.inc (struct test_if_f_data): New type.
33668 (RUN_TEST_LOOP_if_f): New macro.
33669 (jn_test_data): New variable.
33670 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33671 (yn_test_data): New variable.
33672 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33674 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33676 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33678 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33679 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33681 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33683 * benchtests/Makefile (CPPFLAGS-nonlib): Add
33684 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33685 (bench-deps): Add bench-timing.h.
33686 * benchtests-bench-skeleton.c: Include bench-timing.h.
33687 (main): Use TIMING_* macros instead of clock_gettime.
33688 * benchtests/bench-timing.h: New file.
33691 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33692 Renamed from _LIB_VERSION.
33693 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33695 2013-05-12 Joseph Myers <joseph@codesourcery.com>
33697 * math/libm-test.inc (struct test_fff_f_data): New type.
33698 (RUN_TEST_LOOP_fff_f): New macro.
33699 (fma_test_data): New variable.
33700 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33701 (fma_towardzero_test_data): New variable.
33702 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33703 (fma_downward_test_data): New variable.
33704 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33705 (fma_upward_test_data): New variable.
33706 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33708 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33709 (struct test_c_c_data): New type.
33710 (RUN_TEST_LOOP_c_c): New macro.
33711 (cacos_test_data): New variable.
33712 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33713 (cacosh_test_data): New variable.
33714 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33715 (casin_test_data): New variable.
33716 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33717 (casinh_test_data): New variable.
33718 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33719 (catan_test_data): New variable.
33720 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33721 (catanh_test_data): New variable.
33722 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33723 (ccos_test_data): New variable.
33724 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33725 (ccosh_test_data): New variable.
33726 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33727 (cexp_test_data): New variable.
33728 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33729 (clog_test_data): New variable.
33730 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33731 (clog10_test_data): New variable.
33732 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33733 (conj_test_data): New variable.
33734 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33735 (cproj_test_data): New variable.
33736 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33737 (csin_test_data): New variable.
33738 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33739 (csinh_test_data): New variable.
33740 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33741 (csqrt_test_data): New variable.
33742 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33743 (ctan_test_data): New variable.
33744 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33745 (ctan_tonearest_test_data): New variable.
33746 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33747 (ctan_towardzero_test_data): New variable.
33748 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33749 (ctan_downward_test_data): New variable.
33750 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33751 (ctan_upward_test_data): New variable.
33752 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33753 (ctanh_test_data): New variable.
33754 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33755 (ctanh_tonearest_test_data): New variable.
33756 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33757 (ctanh_towardzero_test_data): New variable.
33758 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33759 (ctanh_downward_test_data): New variable.
33760 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33761 (ctanh_upward_test_data): New variable.
33762 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33763 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33766 * math/libm-test.inc (struct test_ff_f_data): New type.
33767 (struct test_ff_f_data_nexttoward): Likewise.
33768 (RUN_TEST_LOOP_2_f): New macro.
33769 (RUN_TEST_LOOP_ff_f): Likewise.
33770 (atan2_test_data): New variable.
33771 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33772 (copysign_test_data): New variable.
33773 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33774 (fdim_test_data): New variable.
33775 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33776 (fmax_test_data): New variable.
33777 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33778 (fmin_test_data): New variable.
33779 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33780 (fmod_test_data): New variable.
33781 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33782 (hypot_test_data): New variable.
33783 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33784 (nextafter_test_data): New variable.
33785 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33786 (nexttoward_test_data): New variable.
33787 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33788 (pow_test_data): New variable.
33789 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33790 (pow_tonearest_test_data): New variable.
33791 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33792 (pow_towardzero_test_data): New variable.
33793 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33794 (pow_downward_test_data): New variable.
33795 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33796 (pow_upward_test_data): New variable.
33797 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33798 (remainder_test_data): New variable.
33799 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33800 (scalb_test_data): New variable.
33801 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33802 * sysdeps/i386/fpu/libm-test-ulps: Update.
33804 2013-05-11 Joseph Myers <joseph@codesourcery.com>
33806 * math/libm-test.inc (fma_test): Use max_value instead of local
33808 (nextafter_test): Likewise.
33810 * math/libm-test.inc (acos_towardzero_test_data): New variable.
33811 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33812 (acos_downward_test_data): New variable.
33813 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33814 (acos_upward_test_data): New variable.
33815 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33816 (acosh_test_data): New variable.
33817 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33818 (asin_test_data): New variable.
33819 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33820 (asin_tonearest_test_data): New variable.
33821 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33822 (asin_towardzero_test_data): New variable.
33823 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33824 (asin_downward_test_data): New variable.
33825 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33826 (asin_upward_test_data): New variable.
33827 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33828 (asinh_test_data): New variable.
33829 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33830 (atan_test_data): New variable.
33831 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33832 (atanh_test_data): New variable.
33833 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33834 (cbrt_test_data): New variable.
33835 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33836 (ceil_test_data): New variable.
33837 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33838 (cos_test_data): New variable.
33839 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33840 (cos_tonearest_test_data): New variable.
33841 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33842 (cos_towardzero_test_data): New variable.
33843 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33844 (cos_downward_test_data): New variable.
33845 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33846 (cos_upward_test_data): New variable.
33847 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33848 (cosh_test_data): New variable.
33849 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33850 (cosh_tonearest_test_data): New variable.
33851 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33852 (cosh_towardzero_test_data): New variable.
33853 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33854 (cosh_downward_test_data): New variable.
33855 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33856 (cosh_upward_test_data): New variable.
33857 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33858 (erf_test_data): New variable.
33859 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33860 (erfc_test_data): New variable.
33861 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33862 (exp_test_data): New variable.
33863 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33864 (exp_tonearest_test_data): New variable.
33865 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33866 (exp_towardzero_test_data): New variable.
33867 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33868 (exp_downward_test_data): New variable.
33869 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33870 (exp_upward_test_data): New variable.
33871 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33872 (exp10_test_data): New variable.
33873 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33874 (exp2_test_data): New variable.
33875 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33876 (expm1_test_data): New variable.
33877 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33878 (fabs_test_data): New variable.
33879 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33880 (floor_test_data): New variable.
33881 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33882 (j0_test_data): New variable.
33883 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33884 (j1_test_data): New variable.
33885 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33886 (log_test_data): New variable.
33887 (log_test): Run tests with RUN_TEST_LOOP_f_f.
33888 (log10_test_data): New variable.
33889 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33890 (log1p_test_data): New variable.
33891 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33892 (log2_test_data): New variable.
33893 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33894 (logb_test_data): New variable.
33895 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33896 (logb_downward_test_data): New variable.
33897 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33898 (nearbyint_test_data): New variable.
33899 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33900 (rint_test_data): New variable.
33901 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33902 (rint_tonearest_test_data): New variable.
33903 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33904 (rint_towardzero_test_data): New variable.
33905 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33906 (rint_downward_test_data): New variable.
33907 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33908 (rint_upward_test_data): New variable.
33909 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33910 (round_test_data): New variable.
33911 (round_test): Run tests with RUN_TEST_LOOP_f_f.
33912 (sin_test_data): New variable.
33913 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33914 (sin_tonearest_test_data): New variable.
33915 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33916 (sin_towardzero_test_data): New variable.
33917 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33918 (sin_downward_test_data): New variable.
33919 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33920 (sin_upward_test_data): New variable.
33921 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33922 (sinh_test_data): New variable.
33923 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33924 (sinh_tonearest_test_data): New variable.
33925 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33926 (sinh_towardzero_test_data): New variable.
33927 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33928 (sinh_downward_test_data): New variable.
33929 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33930 (sinh_upward_test_data): New variable.
33931 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33932 (sqrt_test_data): New variable.
33933 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33934 (tan_test_data): New variable.
33935 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33936 (tan_tonearest_test_data): New variable.
33937 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33938 (tan_towardzero_test_data): New variable.
33939 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33940 (tan_downward_test_data): New variable.
33941 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33942 (tan_upward_test_data): New variable.
33943 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33944 (tanh_test_data): New variable.
33945 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33946 (tgamma_test_data): New variable.
33947 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33948 (trunc_test_data): New variable.
33949 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33950 (y0_test_data): New variable.
33951 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33952 (y1_test_data): New variable.
33953 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33954 (significand_test_data): New variable.
33955 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33957 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
33960 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33962 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
33964 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33966 2013-05-10 Andreas Jaeger <aj@suse.de>
33969 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33970 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33972 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33974 * math/gen-libm-test.pl (adjust_arg): New function.
33975 (special_functions): Handle generating output in both functions
33977 (parse_args): Likewise.
33978 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
33979 $in_func argument to parse_args.
33980 * math/libm-test.inc (struct test_f_f_data): New type.
33981 (IF_ROUND_INIT_): New macro.
33982 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33983 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33984 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33985 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33986 (ROUND_RESTORE_): Likewise.
33987 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33988 (ROUND_RESTORE_FE_TONEAREST): Likewise.
33989 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33990 (ROUND_RESTORE_FE_UPWARD): Likewise.
33991 (RUN_TEST_LOOP_f_f): New macro.
33992 (acos_test_data): New variable.
33993 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33994 (acos_tonearest_test_data): New variable.
33995 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33997 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33999 * benchtests/bench-skeleton.c (startup): Fix coding style.
34001 2013-05-10 Joseph Myers <joseph@codesourcery.com>
34004 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34005 negative infinity argument.
34006 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34007 negative infinity argument.
34008 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34009 negative infinity argument.
34010 * math/libm-test.inc (tgamma_test): Expect errno to be set for
34013 2013-05-10 Florian Weimer <fweimer@redhat.com>
34015 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34016 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34017 * iconv/iconv_prog.c (main): Likewise.
34018 * locale/programs/charmap-dir.c (charmap_readdir)
34019 (fopen_uncompressed): Likewise.
34020 * locale/programs/locfile.c (siblings_uncached)
34021 (write_locale_data): Use lstat64 instead of lstat.
34022 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34025 2013-05-10 Andreas Jaeger <aj@suse.de>
34028 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34030 Include <locale.h>.
34032 2013-05-09 Carlos O'Donell <carlos@redhat.com>
34034 * elf/dl-close.c (_dl_close_worker): Add comments.
34036 2013-05-09 Joseph Myers <joseph@codesourcery.com>
34039 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34041 (__ieee754_rem_pio2l): Update comments.
34044 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34046 (__ieee754_rem_pio2l): Update comments.
34048 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34049 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34051 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34054 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34055 (M_PI_34_LOG10El): Likewise.
34056 (M_PI2_LOG10El): Likewise.
34057 (M_PI4_LOG10El): Likewise.
34058 (M_PI_LOG10El): Likewise.
34060 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34064 2013-05-08 Joseph Myers <joseph@codesourcery.com>
34066 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34067 (MINUS_ZERO_INIT): Likewise.
34068 (PLUS_INFTY_INIT): Likewise.
34069 (MINUS_INFTY_INIT): Likewise.
34070 (QNAN_VALUE_INIT): Likewise.
34071 (MAX_VALUE_INIT): Likewise.
34072 (MIN_VALUE_INIT): Likewise.
34073 (MIN_SUBNORM_VALUE_INIT): Likewise.
34074 (plus_zero): Initialize with PLUS_ZERO_INIT.
34075 (minus_zero): Initialize with MINUS_ZERO_INIT.
34076 (plus_infty): Initialize with PLUS_INFTY_INIT.
34077 (minus_infty): Initialize with MINUS_INFTY_INIT.
34078 (qnan_value): Initialize with QNAN_VALUE_INIT.
34079 (max_value): Initialize with MAX_VALUE_INIT.
34080 (min_value): Initialize with MIN_VALUE_INIT.
34081 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34083 * math/libm-test.inc (RUN_TEST_if_f): New macro.
34084 (jn_test): Use TEST_if_f instead of TEST_ff_f.
34085 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34086 (yn_test): Use TEST_if_f instead of TEST_ff_f.
34088 * math/libm-test.inc (RUN_TEST_f_f): New macro.
34089 (RUN_TEST_2_f): Likewise.
34090 (RUN_TEST_ff_f): Likewise.
34091 (RUN_TEST_fi_f): Likewise.
34092 (RUN_TEST_fl_f): Likewise.
34093 (RUN_TEST_fff_f): Likewise.
34094 (RUN_TEST_c_f): Likewise.
34095 (RUN_TEST_f_f1): Likewise.
34096 (RUN_TEST_fF_f1): Likewise.
34097 (RUN_TEST_fI_f1): Likewise.
34098 (RUN_TEST_ffI_f1): Likewise.
34099 (RUN_TEST_c_c): Likewise.
34100 (RUN_TEST_cc_c): Likewise.
34101 (RUN_TEST_f_i): Likewise.
34102 (RUN_TEST_f_i_tg): Likewise.
34103 (RUN_TEST_ff_i_tg): Likewise.
34104 (RUN_TEST_f_b): Likewise.
34105 (RUN_TEST_f_b_tg): Likewise.
34106 (RUN_TEST_f_l): Likewise.
34107 (RUN_TEST_f_L): Likewise.
34108 (RUN_TEST_sincos): Likewise.
34109 * math/gen-libm-test.pl (new_test): Take new argument to indicate
34110 whether to show exceptions. Do not include ");\n" in return
34112 (special_functions): Output call to RUN_TEST_sincos instead of
34113 check_float calls. Update calls to new_test.
34114 (parse_args): Output call to single RUN_TEST_* macro instead of
34115 check_* calls and other assignments. Update calls to new_test.
34121 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34122 input to result for tgamma overflow.
34123 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34124 (gamma_coeff): New variable.
34125 (NCOEFF): New macro.
34126 (gamma_positive): New function.
34127 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34128 underflow here. Use gamma_positive instead of exp (lgamma) for
34130 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34131 (gamma_coeff): New variable.
34132 (NCOEFF): New macro.
34133 (gammaf_positive): New function.
34134 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34135 underflow here. Use gamma_positive instead of exp (lgamma) for
34137 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34138 (gamma_coeff): New variable.
34139 (NCOEFF): New macro.
34140 (gammal_positive): New function.
34141 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34142 underflow here. Use gamma_positive instead of exp (lgamma) for
34144 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34145 (gamma_coeff): New variable.
34146 (NCOEFF): New macro.
34147 (gammal_positive): New function.
34148 (__ieee754_gammal_r): Handle positive infinity, overflow and
34149 underflow here. Handle NaN the same as positive infinity. Remove
34150 check x < 0xffffffff for negative integers. Use gamma_positive
34151 instead of exp (lgamma) for other arguments.
34152 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34153 (gamma_coeff): New variable.
34154 (NCOEFF): New macro.
34155 (gammal_positive): New function.
34156 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34157 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34158 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34159 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34160 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34161 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34162 * sysdeps/generic/math_private.h (__gamma_productf): New
34164 (__gamma_product): Likewise.
34165 (__gamma_productl): Likewise.
34166 * math/Makefile (libm-calls): Add gamma_product.
34167 * math/libm-test.inc (tgamma_test): Add more tests.
34168 * sysdeps/i386/fpu/libm-test-ulps: Update.
34169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34171 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
34173 * benchtests/bench-skeleton.c (main): Preheat CPU.
34175 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
34177 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34179 2013-05-07 Roland McGrath <roland@hack.frob.com>
34181 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34182 and _dl_skip_args_internal.
34184 2013-05-07 Carlos O'Donell <carlos@redhat.com>
34186 * manual/message.texi (Message Translation): Talk about users.
34187 Message to key mapping impacts design.
34189 2013-05-06 Roland McGrath <roland@hack.frob.com>
34191 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34193 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34195 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34196 * sysdeps/wordsize-64/glob64.c: ... here.
34198 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34199 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34202 * debug/getlogin_r_chk.c: Moved to ...
34203 * login/getlogin_r_chk.c: ... here.
34204 * debug/Makefile (routines): Move getlogin_r_chk to ...
34205 * login/Makefile (routines): ... here.
34206 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34207 * login/Versions (libc: GLIBC_2.4): ... here.
34209 * io/poll.c (__poll): Renamed from poll.
34210 Add libc_hidden_def.
34211 (poll): Define as weak alias.
34213 * debug/ptsname_r_chk.c: Moved to ...
34214 * login/ptsname_r_chk.c: ... here.
34215 * debug/Makefile (routines): Move ptsname_r_chk to ...
34216 * login/Makefile (routines): ... here.
34217 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34218 * login/Versions (libc: GLIBC_2.4): ... here.
34220 * posix/getlogin.c: Moved to ...
34221 * login/getlogin.c: ... here.
34222 * posix/getlogin_r.c: Moved to ...
34223 * login/getlogin_r.c: ... here.
34224 * posix/getlogin_r.c: Moved to ...
34225 * login/getlogin_r.c: ... here.
34226 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34227 * login/Makefile (routines): ... here.
34228 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34229 * login/Versions (libc: GLIBC_2.0): ... here.
34231 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34232 (setrlimit): Define as weak alias.
34234 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34235 Call __ names for open, ftruncate, and close.
34236 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34237 (truncate): Define as weak alias.
34239 2013-05-06 Joseph Myers <joseph@codesourcery.com>
34241 * math/gen-libm-test.pl (parse_args): Initialize x before each
34242 test of frexp, modf and remquo.
34244 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34245 test signgam value.
34247 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34251 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34253 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34255 2013-05-06 Roland McGrath <roland@hack.frob.com>
34257 * elf/dl-writev.h: New file.
34258 * elf/dl-misc.c: Include it.
34259 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34260 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34262 2013-05-04 Joseph Myers <joseph@codesourcery.com>
34264 * math/libm-test.inc (noXFails): Remove variable.
34265 (noXPasses): Likewise.
34266 (BUILD_COMPLEX_INT): Remove macro.
34267 (print_screen): Remove xfail argument.
34268 (print_screen_max_error): Likewise.
34269 (update_stats): Likewise.
34270 (print_max_error): Likewise. Update calls to other affected
34272 (print_complex_max_error): Likewise.
34273 (test_single_exception): Update calls to print_screen.
34274 (test_single_errno): Likewise.
34275 (check_float_internal): Remove xfail argument. Update calls to
34276 other affected functions.
34277 (check_float): Likewise.
34278 (check_complex): Likewise.
34279 (check_int): Likewise.
34280 (check_long): Likewise.
34281 (check_bool): Likewise.
34282 (check_longlong): Likewise.
34283 (main): Don't print noXFails and noXPasses.
34284 * math/gen-libm-test.pl (top level): Don't mention expected
34285 failure handling in comment.
34286 (new_test): Don't handle expected failures.
34287 (parse_args): Don't mention expected failure handling in comment.
34288 (generate_testfile): Don't handle expected failures.
34289 (parse_ulps): Likewise.
34290 (print_ulps_file): Likewise.
34291 (get_failure): Remove function.
34292 (output_test): Don't handle expected failures.
34293 * make/README.libm-test: Don't mention expected failure handling.
34295 * math/libm-test.inc (plus_zero): Make const. Add initializer.
34296 (minus_zero): Likewise.
34297 (plus_infty): Likewise.
34298 (minus_infty): Likewise.
34299 (qnan_value): Likewise.
34300 (max_value): Likewise.
34301 (min_value): Likewise.
34302 (min_subnorm_value): Likewise.
34303 (initialize): Do not initialize those variables dynamically.
34305 2013-05-03 Roland McGrath <roland@hack.frob.com>
34307 * io/open.c (__open_2): Moved to ...
34308 * io/open_2.c: ... this new file.
34309 * io/open64.c (__open64_2): Moved to ...
34310 * io/open64_2.c: ... this new file.
34311 * io/openat.c (__openat_2): Moved to ...
34312 * io/openat_2.c: ... this new file.
34313 * io/openat64.c (__openat64_2): Moved to ...
34314 * io/openat64_2.c: ... this new file.
34315 * io/Makefile (routines): Add them.
34316 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34317 * sysdeps/unix/sysv/linux/open_2.c: File removed.
34318 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34319 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34320 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34321 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34322 (__openat64): Add hidden_ver.
34323 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34324 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34326 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34327 Separately conditionalize setting of GLRO(dl_sysinfo) so
34328 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34329 as well, but the actual setting is only under [NEED_DL_SYSINFO].
34331 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34333 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34334 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34336 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34337 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34338 (_libc_vdso_platform_setup): Add __vdso_time initialization.
34339 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34340 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34342 2013-05-03 Joseph Myers <joseph@codesourcery.com>
34344 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34345 test signgam value.
34347 * math/libm-test.inc (hypot_test): Do not use
34348 IGNORE_ZERO_INF_SIGN.
34350 2013-05-03 Andreas Jaeger <aj@suse.de>
34352 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34354 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34355 (PF_MAX): Adjust for VSOCK change.
34357 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34361 2013-05-02 Carlos O'Donell <carlos@redhat.com>
34364 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34365 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34366 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34368 2013-05-02 David S. Miller <davem@davemloft.net>
34370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34372 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
34374 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34376 2013-05-01 Roland McGrath <roland@hack.frob.com>
34378 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34380 2013-05-01 Richard Smith <richard@metafoo.co.uk>
34383 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34384 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34385 Use __attribute__ ((__gnu_inline__)).
34386 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34387 Don't use __attribute__ ((__gnu_inline__)).
34389 2013-05-01 Joseph Myers <joseph@codesourcery.com>
34392 * math/s_catan.c (__catan): Handle small real or imaginary part of
34393 input specially to avoid spurious underflow.
34394 * math/s_catanf.c (__catanf): Likewise.
34395 * math/s_catanh.c (__catanh): Likewise.
34396 * math/s_catanhf.c (__catanhf): Likewise.
34397 * math/s_catanhl.c (__catanhl): Likewise.
34398 * math/s_catanl.c (__catanl): Likewise.
34399 * math/libm-test.inc (catan_test): Add more tests.
34400 (catanh_test): Likewise.
34401 * sysdeps/i386/fpu/libm-test-ulps: Update.
34402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34404 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34408 2013-04-30 Joseph Myers <joseph@codesourcery.com>
34411 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34412 accurately for denominator in atan2.
34413 * math/s_catanf.c (__catanf): Likewise.
34414 * math/s_catanh.c (__catanh): Likewise.
34415 * math/s_catanhf.c (__catanhf): Likewise.
34416 * math/s_catanhl.c (__catanhl): Likewise.
34417 * math/s_catanl.c (__catanl): Likewise.
34418 * math/libm-test.inc (catan_test): Add more tests.
34419 (catanh_test): Likewise.
34420 * sysdeps/i386/fpu/libm-test-ulps: Update.
34421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34423 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34425 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34427 * benchtests/Makefile (bench): Remove slow benchmarks.
34428 * benchtests/atan-inputs: Add slow benchmark inputs.
34429 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34430 (BENCH_FUNC): Accept variant offset.
34432 * benchtests/bench-skeleton.c (main): Run benchmark for each
34434 * benchtests/cos-inputs: Add slow benchmark inputs.
34435 * benchtests/exp-inputs: Likewise.
34436 * benchtests/pow-inputs: Likewise.
34437 * benchtests/sin-inputs: Likewise.
34438 * benchtests/slowatan-inputs: Remove.
34439 * benchtests/slowatan.c: Remove.
34440 * benchtests/slowcos-inputs: Remove.
34441 * benchtests/slowcos.c: Remove.
34442 * benchtests/slowexp-inputs: Remove.
34443 * benchtests/slowexp.c: Remove.
34444 * benchtests/slowpow-inputs: Remove.
34445 * benchtests/slowpow.c: Remove.
34446 * benchtests/slowsin-inputs: Remove.
34447 * benchtests/slowsin.c: Remove.
34448 * benchtests/slowtan-inputs: Remove.
34449 * benchtests/slowtan.c: Remove.
34450 * benchtests/tan-inputs: Add slow benchmark inputs.
34451 * scripts/bench.pl: Parse comments and directives.
34453 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
34455 ($(objpfx)bench-%.c): Remove *-ITER.
34456 * benchtests/bench-modf.c: Remove definition of ITER.
34457 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34458 (main): Loop for DURATION seconds instead of fixed number of
34460 * scripts/bench.pl: Don't expect iterations in parameters.
34462 2013-04-29 Roland McGrath <roland@hack.frob.com>
34464 * io/fchdir.c (__fchdir): Renamed from fchdir.
34465 (fchdir): Define as weak alias.
34467 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34469 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34470 (ERRNO_EDOM): Likewise.
34471 (ERRNO_ERANGE): Likewise.
34472 (noErrnoTests): New variable.
34473 (init_max_error): Set errno to 0.
34474 (test_single_errno): New function.
34475 (test_errno): Likewise.
34476 (check_float_internal): Call test_errno. Set errno to 0.
34477 (check_complex): Refer to errno tests in comment.
34478 (check_int): Call test_errno. Set errno to 0.
34479 (check_long): Likewise.
34480 (check_bool): Likewise.
34481 (check_longlong): Likewise.
34482 (cos_test): Use ERRNO_* flags for errno tests instead of
34484 (expm1_test): Likewise.
34485 (fmod_test): Likewise.
34486 (ilogb_test): Likewise.
34487 (lgamma_test): Likewise.
34488 (pow_test): Likewise.
34489 (remainder_test): Likewise.
34490 (sin_test): Likewise.
34491 (tan_test): Likewise.
34492 (yn_test): Likewise.
34493 (initialize): Set errno to 0.
34494 (main): Print number of errno tests.
34495 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34497 2013-04-29 Andreas Jaeger <aj@suse.de>
34500 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34504 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34505 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34509 * stdlib/random.c (__initstate): Return NULL if
34513 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34514 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34517 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34521 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34523 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34524 of individual tests.
34525 (casin_test): Likewise.
34526 (casinh_test): Likewise.
34528 2013-04-27 Joseph Myers <joseph@codesourcery.com>
34531 * math/s_catan.c (__catan): Handle arguments with large real or
34532 imaginary part separately without squaring.
34533 * math/s_catanf.c (__catanf): Likewise.
34534 * math/s_catanh.c (__catanh): Likewise.
34535 * math/s_catanhf.c (__catanhf): Likewise.
34536 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34538 (__catanhl): Handle arguments with large real or imaginary part
34539 separately without squaring.
34540 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34542 (__catanl): Handle arguments with large real or imaginary part
34543 separately without squaring.
34544 * math/libm-test.inc (catan_test): Add more tests.
34545 (catanh_test): Likewise.
34546 * sysdeps/i386/fpu/libm-test-ulps: Update.
34547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34549 2013-04-27 Andreas Jaeger <aj@suse.de>
34552 * stdlib/stdlib.h: Update guards for qecvt.
34553 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34556 2013-04-27 Allan McRae <allan@archlinux.org>
34558 * sysdeps/i386/fpu/libm-test-ulps: Update.
34560 2013-04-26 Joseph Myers <joseph@codesourcery.com>
34563 * math/s_catan.c: Include <float.h>.
34564 (__catan): Ensure underflow exception occurs for underflowed
34566 * math/s_catanf.c: Include <float.h>.
34567 (__catanf): Ensure underflow exception occurs for underflowed
34569 * math/s_catanh.c: Include <float.h>.
34570 (__catanh): Ensure underflow exception occurs for underflowed
34572 * math/s_catanhf.c: Include <float.h>.
34573 (__catanhf): Ensure underflow exception occurs for underflowed
34575 * math/s_catanhl.c: Include <float.h>.
34576 (__catanhl): Ensure underflow exception occurs for underflowed
34578 * math/s_catanl.c: Include <float.h>.
34579 (__catanl): Ensure underflow exception occurs for underflowed
34581 * math/libm-test.inc (catan_test): Add more tests.
34582 (catanh_test): Likewise.
34585 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34586 underflowed result.
34587 * math/s_ccoshf.c (__ccoshf): Likewise.
34588 * math/s_ccoshl.c (__ccoshl): Likewise.
34589 * math/s_csin.c (__csin): Likewise.
34590 * math/s_csinf.c (__csinf): Likewise.
34591 * math/s_csinh.c (__csinh): Likewise.
34592 * math/s_csinhf.c (__csinhf): Likewise.
34593 * math/s_csinhl.c (__csinhl): Likewise.
34594 * math/s_csinl.c (__csinl): Likewise.
34595 * math/libm-test.inc (ccos_test): Add more tests.
34596 (ccosh_test): Likewise.
34597 (csin_test): Likewise.
34598 (csinh_test): Likewise.
34600 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34602 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34603 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34604 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34605 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34606 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34607 powerpc/power5+/fpu folders.
34608 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34611 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34615 2013-04-25 Joseph Myers <joseph@codesourcery.com>
34617 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34618 additions to variable.
34619 [$(config-machine) = x86_64] (modules-names): Likewise.
34620 ($(objpfx)tst-audit3): Remove dependency.
34621 ($(objpfx)tst-audit3.out): Likewise.
34622 ($(objpfx)tst-audit4): Likewise.
34623 ($(objpfx)tst-audit4.out): Likewise.
34624 ($(objpfx)tst-audit5): Likewise.
34625 ($(objpfx)tst-audit5.out): Likewise.
34626 ($(objpfx)tst-audit6): Likewise.
34627 ($(objpfx)tst-audit6.out): Likewise.
34628 ($(objpfx)tst-audit7): Likewise.
34629 ($(objpfx)tst-audit7.out): Likewise.
34630 (tst-audit3-ENV): Remove variable.
34631 (tst-audit4-ENV): Likewise.
34632 (tst-audit5-ENV): Likewise.
34633 (tst-audit6-ENV): Likewise.
34634 (tst-audit7-ENV): Likewise.
34635 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34636 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34637 addition to variable.
34638 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34639 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34640 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34641 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34642 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34643 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34644 tst-audit3, tst-audit4 and tst-audit5.
34645 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34646 tst-audit6 and tst-audit7.
34647 [$(subdir) = elf] (modules-names): Add audit modules for those
34649 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34650 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34651 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34652 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34653 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34654 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34655 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34656 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34657 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34658 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34659 [$(subdir) = elf] (tst-audit3-ENV): New variable.
34660 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34661 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34662 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34663 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34664 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34666 [$(subdir) = elf && $(config-cflags-avx) = yes]
34667 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34668 [$(subdir) = elf && $(config-cflags-avx) = yes]
34669 (CFLAGS-tst-auditmod4a.c): Likewise.
34670 [$(subdir) = elf && $(config-cflags-avx) = yes]
34671 (CFLAGS-tst-auditmod4b.c): Likewise.
34672 [$(subdir) = elf && $(config-cflags-avx) = yes]
34673 (CFLAGS-tst-auditmod6b.c): Likewise.
34674 [$(subdir) = elf && $(config-cflags-avx) = yes]
34675 (CFLAGS-tst-auditmod6c.c): Likewise.
34676 [$(subdir) = elf && $(config-cflags-avx) = yes]
34677 (CFLAGS-tst-auditmod7b.c): Likewise.
34678 * elf/tst-audit3.c: Move to ...
34679 * sysdeps/x86_64/tst-audit3.c: ... here.
34680 * elf/tst-audit4.c: Move to ...
34681 * sysdeps/x86_64/tst-audit4.c: ... here.
34682 * elf/tst-audit5.c: Move to ...
34683 * sysdeps/x86_64/tst-audit5.c: ... here.
34684 * elf/tst-audit6.c: Move to ...
34685 * sysdeps/x86_64/tst-audit6.c: ... here.
34686 * elf/tst-audit7.c: Move to ...
34687 * sysdeps/x86_64/tst-audit7.c: ... here.
34688 * elf/tst-auditmod3a.c: Move to ...
34689 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34690 * elf/tst-auditmod3b.c: Move to ...
34691 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34692 * elf/tst-auditmod4a.c: Move to ...
34693 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34694 * elf/tst-auditmod4b.c: Move to ...
34695 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34696 * elf/tst-auditmod5a.c: Move to ...
34697 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34698 * elf/tst-auditmod5b.c: Move to ...
34699 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34700 * elf/tst-auditmod6a.c: Move to ...
34701 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34702 * elf/tst-auditmod6b.c: Move to ...
34703 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34704 * elf/tst-auditmod6c.c: Move to ...
34705 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34706 * elf/tst-auditmod7a.c: Move to ...
34707 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34708 * elf/tst-auditmod7b.c: Move to ...
34709 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34711 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
34714 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34715 define unconditionally.
34716 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34717 define unconditionally.
34718 (INT8_C, INT16_C, etc.): Likewise.
34720 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
34722 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34723 __ehdr_start with hidden visibility.
34725 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34727 2013-04-24 Carlos O'Donell <carlos@redhat.com>
34729 * math/libm-test.inc (cos_test): Use accurate hex constants.
34730 (sincost_test): Likewise.
34732 2013-04-24 Joseph Myers <joseph@codesourcery.com>
34734 * math/libm-test.inc (catan_test): Add more tests.
34735 (catanh_test): Likewise.
34737 * math/s_catanf.c (__catanf): Use suffixed floating-point
34739 * math/s_catanhf.c (__catanhf): Likewise.
34740 * math/s_catanhl.c (__catanhl): Likewise.
34741 * math/s_catanl.c (__catanl): Likewise.
34744 * math/s_catan.c (__catan): Calculate imaginary part of result
34745 with log1p not log unless computing log of number close to 0.
34746 * math/s_catanf.c (__catanf): Likewise.
34747 * math/s_catanl.c (__catanl): Likewise.
34748 * math/s_catanh.c (__catanh): Calculate real part of result with
34749 log1p not log unless computing log of number close to 0.
34750 * math/s_catanhf.c (__catanhf): Likewise.
34751 * math/s_catanhl.c (__catanhl): Likewise.
34752 * math/libm-test.inc (catan_test): Add more tests.
34753 (catanh_test): Likewise.
34754 * sysdeps/i386/fpu/libm-test-ulps: Update.
34755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34757 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34759 * benchtests/Makefile: Mention files in which fast and slow
34760 paths of math functions are implemented.
34762 2013-04-23 Roland McGrath <roland@hack.frob.com>
34764 * sysdeps/posix/timespec_get.c: New file.
34766 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34768 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34770 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34772 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34773 powerpc/power5/fpu folders.
34774 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34775 * benchtests/Makefile: Add modf testcase.
34776 * benchtests/bench-modf.c: New file: Benchmark test for mo
34778 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34781 * time/Makefile (tests): Add tst-strptime-whitespace.
34782 * time/strptime_l.c (get_number): Use ISSPACE.
34783 (__strptime_internal): Likewise.
34784 * time/tst-strptime-whitespace.c: New test case.
34786 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
34788 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34790 (_nss_files_init): Set it here.
34792 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
34794 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34795 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34798 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
34800 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34802 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34804 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34807 2013-04-21 David S. Miller <davem@davemloft.net>
34809 * po/ru.po: Update Russion translation from translation project.
34811 2013-04-17 Adam Conrad <adconrad@0c3.net>
34813 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34816 2013-04-17 Carlos O'Donell <carlos@redhat.com>
34818 * configure.in: Remove i386 configure warning. Remove i386 case.
34819 * configure: Regenerate.
34820 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34821 Add example to error message.
34822 * sysdeps/i386/configure: Regenerate.
34824 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34826 * benchtests/Makefile (bench): Add cos, tan, slowcos and
34828 * benchtests/cos-inputs: New file.
34829 * benchtests/slowcos-inputs: New file.
34830 * benchtests/slowcos.c: New file.
34831 * benchtests/slowtan-inputs: New file.
34832 * benchtests/slowtan.c: New file.
34833 * benchtests/tan-inputs: New file.
34835 2013-04-16 Roland McGrath <roland@hack.frob.com>
34837 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34840 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34842 * benchtests/Makefile: Include cppflags-iterator.mk to add
34843 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34845 * Makefile.in (bench-clean): New target.
34846 * benchtests/Makefile (bench-clean): Likewise.
34848 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
34850 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34852 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
34854 * stdio-common/tstdiomisc.c: Fix coding-style violation.
34856 2013-04-15 Andreas Schwab <schwab@suse.de>
34858 * nscd/grpcache.c (cache_addgr): Properly check for short write.
34859 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34860 * nscd/pwdcache.c (cache_addpw): Likewise.
34861 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
34864 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34866 * benchtests/Makefile (bench): Write all output to
34867 bench-out.tmp together.
34869 2013-04-15 Andreas Schwab <schwab@suse.de>
34871 * nscd/nscd.c (main): Don't fork again after closing files.
34873 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34875 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34877 * benchtests/Rules (bench-deps): Collect dependencies into a
34878 single variable. Add Makefile to dependencies.
34879 ($(objpfx)bench-%.c): Depend on bench-deps.
34881 2013-04-12 Roland McGrath <roland@hack.frob.com>
34882 Xavier Roche <roche+kml2@exalead.com>
34885 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34886 just that it's a file descriptor.
34887 * manual/llio.texi (Synchronizing AIO Operations): Update description
34888 for EBADF error from aio_fsync.
34890 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34892 * Rules (bench): Move target definition...
34893 * benchtests/Makefile: ... here.
34895 2013-04-11 Carlos O'Donell <carlos@redhat.com>
34897 * math/libm-test.inc (cos_test): Fix PI/2 test.
34898 (sincos_test): Likewise.
34899 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34900 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34902 2013-04-11 Andreas Schwab <schwab@suse.de>
34905 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34906 accept exponent character only when digits were seen.
34907 * stdio-common/Makefile (tests): Add bug26.
34908 * stdio-common/bug26.c: New file.
34911 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34914 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34916 * Makeconfig (rtld-prefix): Define built linker prefix.
34917 * Rules (run-bench): Use it.
34918 * math/Makefile (run-regen-ulps): Likewise.
34920 * Rules (bench): Remove eval.
34922 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34923 Roland McGrath <roland@hack.frob.com>
34924 Ondrej Bilka <neleai@seznam.cz>
34927 * time/getdate.c: Include ctype.h and alloca.h.
34928 (__getdate_r): Trim leading and trailing spaces of input.
34929 * time/tst-getdate.c (tests): Add tests with leading and
34932 2013-04-08 Roland McGrath <roland@hack.frob.com>
34935 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34936 when computing value.
34938 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34940 * math/README.libm-test (How can I generate "libm-test-ulps"?):
34941 Use testrun.sh to run libm tests.
34944 * elf/dl-open.c (dl_open_worker): memset all of seen array.
34946 2013-04-06 Marko Myllynen <myllynen@redhat.com>
34949 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34951 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34953 * Makefile.in (regen-ulps): New target.
34954 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34955 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34956 [ifneq (no,$(PERL)] (regen-ulps): New target.
34957 [ifeq (no,$(PERL)] (regen-ulps): New target.
34958 * math/libm-test.inc (ulps_file_name): Define.
34959 (output_dir): New variable.
34960 (options): Add "output-dir" option.
34961 (parse_opt): Handle 'o' case.
34962 (main): If output_dir is non-NULL use it as a prefix
34964 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34966 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34968 [BZ #10060, #10062]
34969 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34970 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34971 fail configure if __sync_val_compare_and_swap is not inlined.
34972 * sysdeps/i386/configure: Regenerate.
34973 * configure.in: Build for i686 when configured for i386.
34974 * configure: Regenerate.
34975 * README: Remove i386 reference.
34977 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34979 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34980 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34982 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
34984 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34985 (lmsnanval): New variables.
34986 (F): Add conversion tests.
34987 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34988 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34990 * stdio-common/tstdiomisc.c (F): Properly collect individual
34993 [BZ #14686, #15336]
34994 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34995 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34996 Instead, use input NaN values or generate a qNaN by arithmetic
34997 operation. Also fix bugs to comply with the standard.
34998 * math/libm-test.inc (remainder_test): Add more tests.
35000 [BZ #15335, #15342]
35001 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
35002 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
35003 input NaN values or generate a qNaN by arithmetic operation.
35005 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35008 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35011 2013-04-03 Joseph Myers <joseph@codesourcery.com>
35014 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35015 underflowed result.
35016 * math/s_cexpf.c (__cexpf): Likewise.
35017 * math/s_cexpl.c (__cexpl): Likewise.
35018 * math/libm-test.inc (cexp_test): Add more tests.
35020 2013-04-03 Andreas Schwab <schwab@suse.de>
35023 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35024 order arrays from heap if bigger than alloca cutoff.
35026 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
35028 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35029 (SNAN_TESTS_double): Refer to GCC PR56831.
35030 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35033 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35035 * Rules (bench): Move bench.out after the run is complete.
35037 * Rules (bench): Echo currently running benchmark.
35039 * benchtests/Makefile (bench): Add atan and slowatan.
35040 * benchtests/atan-inputs: New file.
35041 * benchtests/slowatan-inputs: New file.
35042 * benchtests/slowatan.c: New file.
35044 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35045 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35049 * sysdeps/unix/sysv/linux/kernel-features.h
35050 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35051 __ASSUME_XFS_RESTRICTED_CHOWN.
35052 * sysdeps/unix/sysv/linux/pathconf.c
35053 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35054 Save and restore errno.
35056 2013-04-02 Joseph Myers <joseph@codesourcery.com>
35059 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35060 arguments using __kernel_casinh.
35061 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35062 arguments using __kernel_casinhf.
35063 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35064 arguments using __kernel_casinhl.
35065 * math/libm-test.inc (cacosh_test): Add more tests.
35066 * sysdeps/i386/fpu/libm-test-ulps: Update.
35067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35069 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35071 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35072 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35074 * bench/Makefile (bench): Add sin and slowsin.
35075 * benchtests/sin-inputs: New file.
35076 * benchtests/slowsin-inputs: New file.
35077 * benchtests/slowsin.c: New file.
35079 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35080 (bench): Add slowexp and slowpow.
35081 (exp-ITER): Increase iterations.
35082 (pow-ITER): Likewise.
35083 * benchtests/exp-inputs: Change input.
35084 * benchtests/pow-inputs: Likewise.
35085 * benchtests/slowexp-inputs: New file.
35086 * benchtests/slowexp.c: New file.
35087 * benchtests/slowpow-inputs: New file.
35088 * benchtests/slowpow.c: New file.
35090 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35092 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35094 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35095 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35096 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35097 * benchtests/Makefile: Add rint benchtest.
35098 * benchtests/rint-inputs: Input for rint benchtest.
35100 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
35102 * Versions.def (libm): Add GLIBC_2.18.
35103 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35104 hidden libm prototypes.
35105 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35106 * math/Makefile (libm-calls): Add s_issignaling.
35107 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35108 __issignalingf, __issignalingl. Adjust all libm.abilist files.
35109 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35111 * math/math.h [__USE_GNU] (issignaling): New macro.
35112 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35113 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35114 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35115 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35116 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35117 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35118 * manual/arith.texi (issignaling): New section.
35119 * manual/libm-err-tab.pl (@all_functions): Update comment.
35120 * math/gen-libm-test.pl (parse_args): Apply special handling for
35122 * math/libm-test.inc (print_float, issignaling_test): New
35124 (check_float_internal): Add issignaling checks.
35125 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35126 default definition.
35127 * sysdeps/powerpc/math-tests.h: New file.
35128 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35130 * math/test-snan.c (TEST_FUNC): Likewise.
35132 2013-03-30 David S. Miller <davem@davemloft.net>
35134 * po/de.po: Update from translation team.
35136 2013-03-30 Joseph Myers <joseph@codesourcery.com>
35139 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35140 imaginary part less than 1.0 and real part less than 0.5
35142 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35143 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35144 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35145 (cacos_test): Add more tests.
35146 (casin_test): Likewise.
35147 (casinh_test): Likewise.
35148 * sysdeps/i386/fpu/libm-test-ulps: Update.
35149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35151 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35153 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35154 ONE with its value.
35156 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35157 (__pow_mp): Replace ONE and MONE with their values.
35158 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35159 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35160 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35161 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35162 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35163 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35165 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35167 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35168 (__pow_mp): Replace ZERO and MZERO with their values.
35169 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35170 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35171 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35172 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35173 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35174 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35177 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35179 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35181 2013-03-28 Roland McGrath <roland@hack.frob.com>
35183 * include/stdlib.h [!SHARED] (__call_tls_dtors):
35184 Declare with __attribute__ ((weak)).
35185 * stdlib/exit.c (__libc_atexit) [!SHARED]:
35186 Call __call_tls_dtors only if it's not NULL.
35188 2013-03-28 Roland McGrath <roland@hack.frob.com>
35190 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35191 didn't do it already, then set _dl_phdr and _dl_phnum based on the
35192 magic __ehdr_start linker symbol if it's defined.
35193 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35194 them up here if it was already done.
35196 * elf/dl-support.c (_dl_phdr): Make pointer to const.
35197 (_dl_aux_init): Use const in cast when setting it.
35198 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35199 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35200 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35202 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35204 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35205 * csu/libc-tls.c: Nor here.
35206 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35208 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35209 (__libc_message): Never call vsyslog.
35211 2013-03-28 Alan Modra <amodra@gmail.com>
35213 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35215 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35218 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35221 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35225 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35228 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35229 Don't add gid passed as argument.
35231 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35233 2013-03-27 Joseph Myers <joseph@codesourcery.com>
35236 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35237 imaginary part between 1.0 and 1.5 and real part less than 0.5
35239 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35240 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35241 * math/libm-test.inc (cacos_test): Add more tests.
35242 (casin_test): Likewise.
35243 (casinh_test): Likewise.
35244 * sysdeps/i386/fpu/libm-test-ulps: Update.
35245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35247 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35249 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35252 (denorm): Likewise.
35253 (__dbl_mp): Likewise.
35254 (add_magnitudes): Likewise.
35255 (sub_magnitudes): Likewise.
35263 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35265 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35266 (__dubcos): Likewise.
35267 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35268 (__ieee754_acos): Likewise.
35269 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35270 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35271 (__exp1): Likewise.
35272 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35273 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35275 (my_log2): Likewise.
35276 (checkint): Likewise.
35277 * sysdeps/ieee754/dbl-64/e_remainder.c
35278 (__ieee754_remainder): Likewise.
35279 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35280 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35281 (bsloww): Likewise.
35282 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35284 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35285 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35286 MANTISSA_STORE_T to store computations on mantissa. Use
35287 macros for rounding and division.
35288 (denorm): Likewise.
35289 (__dbl_mp): Likewise.
35290 (add_magnitudes): Likewise.
35291 (sub_magnitudes): Likewise.
35294 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35295 powers of two in terms of TWOPOW macro.
35296 (mp_no): Make type of mantissa as MANTISSA_T.
35297 [!RADIXI]: Define RADIXI.
35298 [!TWO52]: Define TWO52.
35299 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35301 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35303 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35304 llroundl symbol when building for PPC32.
35306 2013-03-24 Mark H Weaver <mhw@netris.org>
35308 * manual/arith.texi (Normalization Functions): Fix prototypes for
35309 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35311 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35314 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35315 high value to check if expl overflow.
35316 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35317 to check for underflow and overflow.
35318 * math/libm-test.inc: Add exp test.
35320 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
35323 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35326 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35328 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35331 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
35333 * math/gen-libm-test.pl (parse_args, special_functions): Properly
35334 wrap blocks consisting of several statements.
35336 * sysdeps/generic/math-tests.h: New file.
35337 * sysdeps/i386/fpu/math-tests.h: Likewise.
35338 * math/test-snan.c: Include it.
35339 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35341 2013-03-21 Joseph Myers <joseph@codesourcery.com>
35344 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35345 (__ieee754_j0l): Do not improve calculations using cos of twice
35346 input for inputs above LDBL_MAX / 2.0L.
35347 (__ieee754_y0l): Likewise.
35348 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35349 (__ieee754_j1l): Do not improve calculations using cos of twice
35350 input for inputs above LDBL_MAX / 2.0L.
35351 (__ieee754_y1l): Likewise.
35352 * math/libm-test.inc (j0_test): Add another test.
35353 (j1_test): Likewise.
35354 (y0_test): Likewise.
35355 (y1_test): Likewise.
35356 * sysdeps/i386/fpu/libm-test-ulps: Update.
35358 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35360 * Rules ($(objpfx)bench-%.c): Include code from a C source
35363 2013-03-21 Joseph Myers <joseph@codesourcery.com>
35366 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35367 imaginary part 1.0 and real part less than 0.5 specially.
35368 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35369 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35370 * math/libm-test.inc (cacos_test): Add more tests.
35371 (casin_test): Likewise.
35372 (casinh_test): Likewise.
35373 * sysdeps/i386/fpu/libm-test-ulps: Update.
35374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35376 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35378 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35379 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35381 2013-03-20 Joseph Myers <joseph@codesourcery.com>
35383 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35384 * config.make.in (config-cflags-sse4): Remove variable.
35385 (config-cflags-avx): Likewise.
35386 (config-cflags-sse2avx): Likewise.
35387 (config-cflags-novzeroupper): Likewise.
35388 (config-asflags-i686): Likewise.
35389 (have-mfma4): Likewise.
35390 (have-as-vis3): Likewise.
35392 * configure.in (MIG): Do not AC_SUBST.
35393 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35394 (libc_cv_cc_sse4): Do not AC_SUBST.
35395 (libc_cv_cc_avx): Likewise.
35396 (libc_cv_cc_sse2avx): Likewise.
35397 (libc_cv_cc_novzeroupper): Likewise.
35398 (libc_cv_cc_fma4): Likewise.
35399 (libc_cv_as_i686): Likewise.
35400 (libc_cv_sparc_as_vis3): Likewise.
35401 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35403 (config-asflags-i686): Likewise.
35404 (config-cflags-avx): Likewise.
35405 (config-cflags-sse2avx): Likewise.
35406 (have-mfma4): Likewise.
35407 (config-cflags-novzeroupper): Likewise.
35408 * sysdeps/mach/configure.in (MIG): Likewise.
35409 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35410 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35412 (config-cflags-avx): Likewise.
35413 (config-cflags-sse2avx): Likewise.
35414 (have-mfma4): Likewise.
35415 (config-cflags-novzeroupper): Likewise.
35416 * configure: Regenerated.
35417 * sysdeps/i386/configure: Likewise.
35418 * sysdeps/mach/configure: Likewise.
35419 * sysdeps/sparc/configure: Likewise.
35420 * sysdeps/x86_64/configure: Likewise.
35422 2013-03-20 Roland McGrath <roland@hack.frob.com>
35425 * locale/programs/localedef.c (options): Put N_ translation marker
35426 on argument names, not just descriptions.
35428 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35430 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35432 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
35435 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35437 2013-03-19 Roland McGrath <roland@hack.frob.com>
35439 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35440 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35441 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35442 [!BEFORE_ABORT] (before_abort): New function.
35443 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35444 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35445 (writev_for_fatal): New function.
35446 (WRITEV_FOR_FATAL): New macro; call that.
35447 (backtrace_and_maps): New function.
35448 (BEFORE_ABORT): New macro; call that.
35449 (struct str_list): Type removed.
35450 (__libc_message, __libc_fatal): Functions removed.
35451 Include <sysdeps/posix/libc_fatal.c> instead.
35453 2013-03-19 Joseph Myers <joseph@codesourcery.com>
35455 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35457 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35460 2013-03-19 Andreas Schwab <schwab@suse.de>
35462 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35463 * sysdeps/gnu/configure: Regenerate.
35465 * configure.in: Substitute libc_cv_rtlddir.
35466 * configure: Regenerate.
35467 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35468 * Makeconfig (rtlddir, inst_rtlddir): New variables.
35469 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35470 * elf/Makefile (install-others, CFLAGS-interp.c)
35471 (ldso_install, common-ldd-rewrite): Likewise.
35472 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35473 $(inst_slibdir)/$(rtld-installed-name).
35474 * scripts/rellns-sh: Add -p option.
35475 * Makerules (make-shlib-link): Use rellns-sh to get relative name
35478 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35480 * manual/nptl.texi: Renamed to ...
35481 * manual/threads.texi: ... this.
35482 * manual/Makefile (chapters): Update.
35484 2013-03-18 Roland McGrath <roland@hack.frob.com>
35487 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35488 on argument names, not just descriptions.
35489 * malloc/memusagestat.c (options): Likewise.
35490 * nss/getent.c (options): Likewise.
35492 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
35495 * iconv/iconv_prog.c (options): Put N_ translation marker
35496 on argument names, not just descriptions.
35497 * iconv/iconvconfig.c (options): Likewise.
35499 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
35501 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35502 implementation which is faster on all x86_64 architectures.
35503 Tested on AMD, Intel Nehalem, SNB, IVB.
35504 * sysdeps/x86_64/strnlen.S: Likewise.
35506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35507 Remove all multiarch strlen and strnlen versions.
35508 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35509 Remove strlen and strnlen related parts.
35511 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35512 Inline strlen part.
35513 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35515 * sysdeps/x86_64/multiarch/strlen.S: Remove.
35516 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35517 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35518 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35519 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35520 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35522 2013-03-17 Carlos O'Donell <carlos@redhat.com>
35524 * manual/memory.texi (Malloc Tunable Parameters):
35525 Sort parameters alphabetically. Add comments for missing entries.
35527 2013-03-17 David S. Miller <davem@davemloft.net>
35529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35531 2013-03-16 Joseph Myers <joseph@codesourcery.com>
35534 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35535 for arguments at most half maximum finite value.
35536 * math/libm-test.inc (j0_test): Add more tests.
35537 (j1_test): Likewise.
35538 (y0_test): Likewise.
35539 (y1_test): Likewise.
35540 * sysdeps/i386/fpu/libm-test-ulps: Update.
35541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35544 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35545 1 / x and functions P and Q for arguments above 0x1p256L.
35546 (__ieee754_y0l): Likewise.
35547 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35548 (__ieee754_y1l): Likewise.
35549 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35550 (j1_test): Likewise.
35551 (y0_test): Likewise.
35552 (y1_test): Likewise.
35554 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
35556 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35559 2013-03-15 Roland McGrath <roland@hack.frob.com>
35561 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35562 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35563 zero since it's initialized to EXEC_PAGESIZE.
35565 * sysdeps/unix/sysv/linux/ldsodefs.h
35566 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35567 * sysdeps/generic/ldsodefs.h: ... here.
35569 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
35571 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35573 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35575 * math/test-snan.c: Renamed from
35576 sysdeps/powerpc/fpu/test-powerpc-snan.c.
35577 * math/Makefile (tests): Add test-snan.
35578 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35581 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35582 SUFFIX. Initialize qNaN_var with __builtin_nan family of
35584 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
35585 __builtin_nan family of functions.
35586 * math/libm-test.inc (initialize): Initialize qnan_value with
35587 __builtin_nan family of functions.
35588 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35590 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35592 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
35593 storage class. Initialize qNaN_var and sNaN_var with
35594 __builtin_nan and __builtin_nans families of functions,
35597 * math/libm-test.inc (acosh_test): Also test with qNaN input.
35598 (sqrt_test): Remove duplicate test with qNaN input.
35599 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35600 (round_test, signbit_test, significand_test): Note missing +/-Inf
35601 as well as qNaN tests.
35603 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35604 qNaN_var. Fix a few strings, too.
35605 * math/libm-test.inc (nan_value): Rename to qnan_value.
35606 * math/gen-libm-test.pl (%beautify): Adjust to that.
35607 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35608 * math/test-misc.c (main): Likewise.
35609 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35610 to __qnan_bytes, and __qnan_union, respectively.
35611 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35613 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35614 and lqnanval, respectively.
35615 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35616 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35617 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35618 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35620 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35621 * math/test-misc.c (main) [__x86_64__]: Enable test for long
35624 * math/test-misc.c (main): Fix copy'n'pastos.
35625 * misc/tst-efgcvt.c (special): Likewise.
35627 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35628 Remove declarations.
35630 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35632 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35633 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35634 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35635 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35637 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35639 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35640 macro to return vdso values correctly in IFUNC implementations.
35641 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35642 Optimization by using IFUNC.
35644 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35645 Richard Henderson <rth@redhat.com>
35646 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35648 * Makefile.in (bench): New target.
35649 * NEWS: Mention the benchmark framework.
35650 * Rules (bench): Likewise.
35651 (binaries-bench): Generate binaries for functions to
35653 * benchtests/Makefile: New makefile for benchmark tests.
35654 * benchtests/bench-skeleton.c: New skeleton file for benchmark
35656 * benchtests/exp-inputs: New input file for EXP function.
35657 * benchtests/pow-inputs: New input file for POW function.
35658 * scripts/bench.pl: New script to generate source files for
35659 benchmark programs.
35661 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35663 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35664 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35665 computations on mantissa. Use macros for rounding and
35667 (denorm): Likewise.
35668 (__dbl_mp): Likewise.
35669 (add_magnitudes): Likewise.
35670 (sub_magnitudes): Likewise.
35673 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35674 powers of two in terms of TWOPOW macro.
35675 (mp_no): Make type of mantissa as MANTISSA_T.
35676 [!RADIXI]: Define RADIXI.
35677 [!TWO52]: Define TWO52.
35678 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35680 * manual/nptl.texi (cindex): Modify threads to pthreads.
35682 2013-03-15 Joseph Myers <joseph@codesourcery.com>
35684 * sysdeps/x86_64/preconfigure: Regenerated.
35686 2013-03-14 Joseph Myers <joseph@codesourcery.com>
35689 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35691 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35692 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35694 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35695 * math/libm-test.inc (j0_test): Do not allow one spurious
35696 underflow exception.
35697 (y1_test): Likewise.
35699 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35701 * manual/Makefile (chapters): Add nptl.
35702 * manual/debug.texi (Debugging Support): Add link to Threads
35704 * manual/nptl.texi: New file.
35706 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35708 2013-03-14 Petr Baudis <pasky@ucw.cz>
35710 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35711 for non-NULL pointer before the memory validity test. Pointed
35712 out by Holger Brunck <holger.brunck@keymile.com>.
35714 2013-03-13 Andreas Schwab <schwab@suse.de>
35716 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35719 2013-03-13 Joseph Myers <joseph@codesourcery.com>
35721 * timezone/zic.c: Update from tzcode 2013b.
35723 2013-03-12 Carlos O'Donell <carlos@redhat.com>
35725 * manual/install.texi (Configuring and compiling):
35726 Mention i686 and i586.
35727 * INSTALL: Regenerate.
35729 2013-03-12 Roland McGrath <roland@hack.frob.com>
35731 * sysdeps/init_array/elf-init.c: New file.
35733 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35734 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35736 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35737 __gmon_start__ as global, but as static with a .preinit_array pointer.
35738 * sysdeps/init_array/gmon-start.c: New file. Use that.
35739 * sysdeps/init_array/crti.S: New file, empty except for comments.
35740 * sysdeps/init_array/crtn.S: Likewise.
35742 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
35744 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35747 Remove Prefer_SSE_for_memop.
35748 * sysdeps/x86_64/multiarch/init-arch.h: Remove
35749 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35750 HAS_PREFER_SSE_FOR_MEMOP.
35751 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35753 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35754 Remove bzero, memset ifunc support.
35755 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35756 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35757 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35758 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35760 2013-03-11 Andreas Schwab <schwab@suse.de>
35763 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35766 (GLIBC_2.16): Remove pthread_atfork.
35768 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
35770 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35771 (ptestcases.h): Likewise.
35773 2013-03-08 Roland McGrath <roland@hack.frob.com>
35775 * Makeconfig ($(common-objpfx)config.status): Depend on
35776 sysdeps/*/preconfigure{,.in} too.
35778 2013-03-08 Joseph Myers <joseph@codesourcery.com>
35780 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35781 (__free_hook): Use void * instead of __malloc_ptr_t.
35782 (__malloc_hook): Likewise.
35783 (__realloc_hook): Likewise.
35784 (__memalign_hook): Likewise.
35785 (__after_morecore_hook): Likewise.
35786 * malloc/arena.c (save_malloc_hook): Likewise.
35787 (save_free_hook): Likewise.
35788 * malloc/hooks.c (malloc_hook_ini): Likewise.
35789 (realloc_hook_ini): Likewise.
35790 (memalign_hook_ini): Likewise.
35791 * malloc/malloc.c (malloc_hook_ini): Likewise.
35792 (realloc_hook_ini): Likewise.
35793 (memalign_hook_ini): Likewise.
35794 (__free_hook): Likewise.
35795 (__malloc_hook): Likewise.
35796 (__realloc_hook): Likewise.
35797 (__memalign_hook): Likewise.
35798 (__libc_malloc): Likewise.
35799 (__libc_free): Likewise.
35800 (__libc_realloc): Likewise.
35801 (__libc_memalign): Likewise.
35802 (__libc_valloc): Likewise.
35803 (__libc_pvalloc): Likewise.
35804 (__libc_calloc): Likewise.
35805 (__posix_memalign): Likewise.
35806 * malloc/morecore.c (__sbrk): Likewise.
35807 (__default_morecore): Likewise.
35809 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35811 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35812 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35813 __malloc_ptrdiff_t.
35815 * malloc/malloc.h (__malloc_size_t): Remove macro.
35816 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35818 (old_memalign_hook): Likewise.
35819 (old_realloc_hook): Likewise.
35820 (struct hdr): Likewise.
35822 (mallochook): Likewise.
35823 (memalignhook): Likewise.
35824 (reallochook): Likewise.
35825 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35826 (tr_old_realloc_hook): Likewise.
35827 (tr_old_memalign_hook): Likewise.
35828 (tr_mallochook): Likewise.
35829 (tr_reallochook): Likewise.
35830 (tr_memalignhook): Likewise.
35832 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35834 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35835 default_ldbl_pack and using as default implementation.
35836 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35838 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35839 redundant definition.
35840 (ldbl_insert_mantissa): Likewise.
35841 (ldbl_canonicalize): Likewise.
35842 (ldbl_nearbyint): Likewise.
35843 (ldbl_pack): Rename to ldbl_pack_ppc.
35844 (ldbl_unpack): Rename to ldbl_unpack_ppc.
35845 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35846 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35848 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35851 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35852 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35853 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35855 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35856 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35857 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35859 2013-03-07 Andreas Jaeger <aj@suse.de>
35861 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35864 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35866 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35867 Include mpa.h and declare __MPEXP.
35868 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35869 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35870 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35871 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35872 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35873 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35874 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35876 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35877 (__slowpow): Use long double EXPL and LOGL functions to
35879 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35880 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35881 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35882 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35883 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35884 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35887 intermediate variable to calculate exponent.
35889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35893 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35894 [!NO__SQR]: Define __sqr.
35895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35896 and NO__SQR. Remove all code except __mul and __sqr. Include
35897 sysdeps/ieee754/dbl-64/mpa.c.
35898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35901 * posix/Makefile (tests): Add tst-pathconf.
35902 * posix/tst-pathconf.c: New test case.
35903 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35905 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35907 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
35909 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35911 2013-03-06 Andreas Jaeger <aj@suse.de>
35913 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35914 definition via __MAP_ANONYMOUS.
35916 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35917 it's not part of Linux headers.
35919 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35920 (MAP_HUGE_MASK): Define.
35922 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35924 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35925 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35927 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35928 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35930 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35931 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35933 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35935 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35936 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35937 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35938 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35939 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35940 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35942 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35945 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35946 Handle f2fs and efivarfs.
35948 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35951 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35952 (EFIVARFS_MAGIC): Add.
35953 (F2FS_LINK_MAX): Add.
35955 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35957 * stdio-common/vfprintf.c: Replace __builtin_expect with
35960 2013-03-06 Joseph Myers <joseph@codesourcery.com>
35963 * sysdeps/generic/bp-sym.h: Remove file.
35964 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35965 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35966 <bp-sym.h> and <bp-asm.h>.
35967 (__longjmp): Don't use BP_SYM.
35968 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35970 (memcpy): Don't use BP_SYM.
35971 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35972 <bp-sym.h> and <bp-asm.h>.
35973 (memcpy): Don't use BP_SYM.
35974 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35976 (memcpy): Don't use BP_SYM.
35977 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35979 (memset): Don't use BP_SYM.
35980 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35981 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35982 (__bzero): Don't use BP_SYM.
35983 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35984 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35985 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35986 <bp-sym.h> and <bp-asm.h>.
35987 (memcmp): Don't use BP_SYM. Remove comment about bounded
35989 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35990 <bp-sym.h> and <bp-asm.h>.
35991 (memcpy): Don't use BP_SYM.
35992 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35993 <bp-sym.h> and <bp-asm.h>.
35994 (memset): Don't use BP_SYM.
35995 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35996 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35997 (__bzero): Don't use BP_SYM.
35998 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35999 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36000 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
36001 <bp-sym.h> and <bp-asm.h>.
36002 (strncmp): Don't use BP_SYM. Remove comment about bounded
36004 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36005 <bp-sym.h> and <bp-asm.h>.
36006 (memcpy): Don't use BP_SYM.
36007 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36008 <bp-sym.h> and <bp-asm.h>.
36009 (memset): Don't use BP_SYM.
36010 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36011 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36012 (__bzero): Don't use BP_SYM.
36013 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36014 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36015 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36016 <bp-sym.h> and <bp-asm.h>.
36017 (__memchr): Don't use BP_SYM.
36018 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36019 <bp-sym.h> and <bp-asm.h>.
36020 (memcmp): Don't use BP_SYM. Remove comment about bounded
36022 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36023 <bp-sym.h> and <bp-asm.h>.
36024 (memcpy): Don't use BP_SYM.
36025 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36026 <bp-sym.h> and <bp-asm.h>.
36027 (__mempcpy): Don't use BP_SYM.
36028 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36029 <bp-sym.h> and <bp-asm.h>.
36030 (__memrchr): Don't use BP_SYM.
36031 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36032 <bp-sym.h> and <bp-asm.h>.
36033 (memset): Don't use BP_SYM.
36034 (__bzero): Likewise.
36035 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36036 <bp-sym.h> and <bp-asm.h>.
36037 (__rawmemchr): Don't use BP_SYM.
36038 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36039 <bp-sym.h> and <bp-asm.h>.
36040 (__STRCMP): Don't use BP_SYM.
36041 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36042 <bp-sym.h> and <bp-asm.h>.
36043 (strchr): Don't use BP_SYM.
36044 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36045 <bp-sym.h> and <bp-asm.h>.
36046 (__strchrnul): Don't use BP_SYM.
36047 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36048 <bp-sym.h> and <bp-asm.h>.
36049 (strlen): Don't use BP_SYM.
36050 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36051 <bp-sym.h> and <bp-asm.h>.
36052 (strncmp): Don't use BP_SYM. Remove comment about bounded
36054 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36055 <bp-sym.h> and <bp-asm.h>.
36056 (__strnlen): Don't use BP_SYM.
36057 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36058 <bp-sym.h> and <bp-asm.h>.
36059 (__GI__setjmp): Don't use BP_SYM.
36060 (_setjmp): Likewise.
36061 (__sigsetjmp): Likewise.
36062 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36063 (L(start_addresses)): Don't use BP_SYM.
36064 (_start): Likewise.
36065 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36067 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36068 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36069 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36070 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36071 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36073 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36074 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
36075 about bounded pointers.
36076 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36077 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36078 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36080 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
36081 about bounded pointers. Remove GKM FIXME comments.
36082 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36083 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36085 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36086 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
36087 Remove GKM FIXME comments.
36088 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36089 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36090 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36092 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
36093 about bounded pointers. Remove GKM FIXME comment.
36094 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36096 (strncmp): Don't use BP_SYM. Remove comment about bounded
36098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36099 <bp-sym.h> and <bp-asm.h>.
36100 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36102 <bp-sym.h> and <bp-asm.h>.
36103 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
36106 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36108 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36111 2013-03-05 David S. Miller <davem@davemloft.net>
36113 * po/es.po: Update from translation team.
36115 2013-03-05 Andreas Jaeger <aj@suse.de>
36117 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36118 <bits/mman-linux.h>.
36119 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36121 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36122 <bits/mman-linux.h> to end of file.
36123 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36125 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36126 <bits/mman-linux.h> to end of file.
36127 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36129 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36130 <bits/mman-linux.h> to end of file.
36132 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36133 (MCL_CURRENT, MCL_FUTURE): Define here.
36135 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36138 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36140 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36142 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36144 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36145 fourth parameter needed for rt_sigprocmask syscall.
36146 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36147 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36148 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36149 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36150 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36151 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36153 2013-03-04 Joseph Myers <joseph@codesourcery.com>
36156 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36157 comment about bounded pointers.
36158 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36159 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36161 2013-03-04 Andreas Jaeger <aj@suse.de>
36163 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36164 common definitions.
36166 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36167 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36168 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36169 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36170 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36171 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36173 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36176 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36177 __ieee754_sqrl instead of __sqrl.
36179 2013-03-01 Joseph Myers <joseph@codesourcery.com>
36181 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36182 * sysdeps/powerpc/fpu_control.h: ... here.
36183 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36184 * sysdeps/powerpc/bits/fenvinline.h: ... here.
36185 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36186 * sysdeps/powerpc/bits/mathinline.h: ... here.
36188 2013-03-01 Roland McGrath <roland@hack.frob.com>
36190 * elf/dl-hwcaps.c (_dl_important_hwcaps):
36191 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36192 to just [NEED_DL_SYSINFO_DSO].
36193 * elf/dl-support.c: Likewise.
36194 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36195 * elf/rtld.c (dl_main): Likewise.
36196 * elf/setup-vdso.h (setup_vdso): Likewise.
36197 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36198 * sysdeps/unix/sysv/linux/dl-sysdep.c
36199 (_dl_discover_osversion): Likewise.
36201 2013-03-01 Carlos O'Donell <carlos@redhat.com>
36203 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36204 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36206 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36208 * NEWS: Mention libm performance improvements and non-x86 PI
36211 * csu/libc-start.c (__pthread_initialize_minimal): Change
36212 function arguments.
36213 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36215 2013-02-28 Joseph Myers <joseph@codesourcery.com>
36218 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36219 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36220 <bp-sym.h> and <bp-asm.h>.
36221 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36222 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36224 (memcpy): Don't use BP_SYM.
36225 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36227 (__mpn_add_n): Don't use BP_SYM.
36228 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36229 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36231 (__mpn_addmul_1): Don't use BP_SYM.
36232 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36233 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36235 (_setjmp): Don't use BP_SYM.
36236 (__novmx_setjmp): Likewise.
36237 (__GI__setjmp): Likewise.
36238 (__vmx_setjmp): Likewise.
36239 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36241 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36242 (__bzero): Don't use BP_SYM.
36243 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36244 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36245 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36246 <bp-sym.h> and <bp-asm.h>.
36247 (memcpy): Don't use BP_SYM.
36248 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36249 <bp-sym.h> and <bp-asm.h>.
36250 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36251 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36252 <bp-sym.h> and <bp-asm.h>.
36253 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36254 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36256 (__mpn_lshift): Don't use BP_SYM.
36257 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36258 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36260 (memset): Don't use BP_SYM.
36261 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36262 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36263 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36265 (__mpn_mul_1): Don't use BP_SYM.
36266 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36267 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36268 <bp-sym.h> and <bp-asm.h>.
36269 (memcmp): Don't use BP_SYM.
36270 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36271 <bp-sym.h> and <bp-asm.h>.
36272 (memcpy): Don't use BP_SYM.
36273 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36274 <bp-sym.h> and <bp-asm.h>.
36275 (memset): Don't use BP_SYM.
36276 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36277 <bp-sym.h> and <bp-asm.h>.
36278 (strncmp): Don't use BP_SYM.
36279 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36280 <bp-sym.h> and <bp-asm.h>.
36281 (memcpy): Don't use BP_SYM.
36282 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36283 <bp-sym.h> and <bp-asm.h>.
36284 (memset): Don't use BP_SYM.
36285 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36286 <bp-sym.h> and <bp-asm.h>.
36287 (__memchr): Don't use BP_SYM.
36288 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36289 <bp-sym.h> and <bp-asm.h>.
36290 (memcmp): Don't use BP_SYM.
36291 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36292 <bp-sym.h> and <bp-asm.h>.
36293 (memcpy): Don't use BP_SYM.
36294 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36295 <bp-sym.h> and <bp-asm.h>.
36296 (__mempcpy): Don't use BP_SYM.
36297 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36298 <bp-sym.h> and <bp-asm.h>.
36299 (__memrchr): Don't use BP_SYM.
36300 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36301 <bp-sym.h> and <bp-asm.h>.
36302 (memset): Don't use BP_SYM.
36303 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36304 <bp-sym.h> and <bp-asm.h>.
36305 (__rawmemchr): Don't use BP_SYM.
36306 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36307 <bp-sym.h> and <bp-asm.h>.
36308 (__STRCMP): Don't use BP_SYM.
36309 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36310 <bp-sym.h> and <bp-asm.h>.
36311 (strchr): Don't use BP_SYM.
36312 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36313 <bp-sym.h> and <bp-asm.h>.
36314 (__strchrnul): Don't use BP_SYM.
36315 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36316 <bp-sym.h> and <bp-asm.h>.
36317 (strlen): Don't use BP_SYM.
36318 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36319 <bp-sym.h> and <bp-asm.h>.
36320 (strncmp): Don't use BP_SYM.
36321 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36322 <bp-sym.h> and <bp-asm.h>.
36323 (__strnlen): Don't use BP_SYM.
36324 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36326 (__mpn_rshift): Don't use BP_SYM.
36327 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36328 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36329 <bp-sym.h> and <bp-asm.h>.
36330 (__sigsetjmp): Don't use BP_SYM.
36331 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36332 (L(start_addresses)): Don't use BP_SYM.
36333 (_start): Likewise.
36334 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36336 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36337 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36338 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36339 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36341 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36342 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36343 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36344 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36346 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
36348 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36349 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36351 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
36353 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36354 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36355 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36357 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
36359 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36361 (strncmp): Don't use BP_SYM,
36362 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36364 (__mpn_sub_n): Don't use BP_SYM.
36365 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36366 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36368 (__mpn_submul_1): Don't use BP_SYM.
36369 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36371 <bp-sym.h> and <bp-asm.h>.
36372 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36374 <bp-sym.h> and <bp-asm.h>.
36375 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
36378 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36381 Use ZK to minimize writes to Z.
36382 (sub_magnitudes): Simplify code a bit.
36383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36384 Use ZK to minimize writes to Z.
36385 (sub_magnitudes): Simplify code a bit.
36387 2013-02-27 Roland McGrath <roland@hack.frob.com>
36389 * csu/gmon-start.c: Add special exception to license text.
36391 2013-02-27 Richard Henderson <rth@redhat.com>
36393 * scripts/config.guess: Update from config.git.
36394 * scripts/config.sub: Likewise.
36396 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36398 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36400 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36402 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36404 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36406 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36408 2013-02-26 Roland McGrath <roland@hack.frob.com>
36410 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36411 [$(build-shared = yes].
36413 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36415 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36416 (__mul): Reduce iterations for calculating mantissa.
36418 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36420 (__mpranred): Likewise.
36423 * malloc/memusagestat.c (main): Draw graphs for heap and stack
36424 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36426 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
36428 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36429 Define __attribute__.
36431 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36433 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36435 * posix/regex_internal.h (__attribute): Remove.
36436 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36437 (re_string_context_at): Likewise.
36438 (bitset_not): Use __attribute__ and mark function as possibly
36440 (bitset_merge): Likewise.
36441 (bitset_mask): Likewise.
36442 (re_string_char_size_at): Likewise.
36443 (re_string_wchar_at): Likewise.
36444 (re_string_elem_size_at): Likewise.
36446 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36448 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36452 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36456 (denorm): Likewise.
36457 (__dbl_mp): Likewise.
36458 (add_magnitudes): Likewise.
36459 (sub_magnitudes): Likewise.
36463 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36466 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36469 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36473 up changes with default code.
36474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36477 2013-02-24 Allan McRae <allan@archlinux.org>
36479 * manual/socket.texi (The Internet Namespace): Order menu items
36480 to match that in the file.
36482 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36483 node listing of the info page menu.
36485 2013-02-21 Joseph Myers <joseph@codesourcery.com>
36488 * sysdeps/i386/bp-asm.h: Remove file.
36489 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36490 (PARMS): Do not use macros from bp-asm.h.
36494 (__mpn_add_n): Do not use BP_SYM
36495 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36497 (PARMS): Do not use macros from bp-asm.h.
36500 (__mpn_addmul_1): Do not use BP_SYM
36501 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36503 (PARMS): Do not use macros from bp-asm.h.
36504 (SIGMSK): Likewise.
36505 (_setjmp): Likewise. Do not use BP_SYM.
36506 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36508 (PARMS): Do not use macros from bp-asm.h.
36509 (SIGMSK): Likewise.
36510 (setjmp): Likewise. Do not use BP_SYM.
36511 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36513 (PARMS): Do not use macros from bp-asm.h.
36514 (__frexp): Do not use BP_SYM.
36516 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36518 (PARMS): Do not use macros from bp-asm.h.
36519 (__frexpf): Do not use BP_SYM.
36520 (frexpf): Likewise.
36521 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36523 (PARMS): Do not use macros from bp-asm.h.
36524 (__frexpl): Do not use BP_SYM.
36525 (frexpl): Likewise.
36526 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36528 (PARMS): Do not use macros from bp-asm.h.
36529 (__remquo): Do not use BP_SYM.
36530 (remquo): Likewise.
36531 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36533 (PARMS): Do not use macros from bp-asm.h.
36534 (__remquof): Do not use BP_SYM.
36535 (remquof): Likewise.
36536 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36538 (PARMS): Do not use macros from bp-asm.h.
36539 (__remquol): Do not use BP_SYM.
36540 (remquol): Likewise.
36541 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36543 (PARMS): Do not use macros from bp-asm.h.
36546 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
36547 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36549 (PARMS): Do not use macros from bp-asm.h.
36550 (strlen): Do not use BP_SYM.
36551 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36553 (PARMS): Do not use macros from bp-asm.h.
36557 (__mpn_add_n): Do not use BP_SYM.
36558 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36560 (PARMS): Do not use macros from bp-asm.h.
36563 (__mpn_addmul_1): Do not use BP_SYM.
36564 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36567 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36569 (PARMS): Do not use macros from bp-asm.h.
36572 (__mpn_lshift): Do not use BP_SYM.
36573 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36575 (PARMS): Do not use macros from bp-asm.h.
36579 (memcpy): Likewise. Do not use BP_SYM.
36580 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36581 libc_hidden_def and weak_alias.
36582 (mempcpy): Do not use BP_SYM in weak_alias.
36583 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36585 (PARMS): Do not use macros from bp-asm.h.
36588 [!BZERO_P] (CHR): Likewise.
36589 (memset): Likewise. Do not use BP_SYM.
36590 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36592 (PARMS): Do not use macros from bp-asm.h.
36595 (__mpn_mul_1): Do not use BP_SYM.
36596 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36598 (PARMS): Do not use macros from bp-asm.h.
36601 (__mpn_rshift): Do not use BP_SYM.
36602 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36604 (PARMS): Do not use macros from bp-asm.h.
36607 (strchr): Likewise. Do not use BP_SYM.
36608 (index): Do not use BP_SYM in weak_alias.
36609 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36611 (PARMS): Do not use macros from bp-asm.h.
36614 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
36615 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36617 (PARMS): Do not use macros from bp-asm.h.
36618 (strlen): Do not use BP_SYM.
36619 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36621 (PARMS): Do not use macros from bp-asm.h.
36625 (__mpn_sub_n): Do not use BP_SYM.
36626 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36628 (PARMS): Do not use macros from bp-asm.h.
36631 (__mpn_submul_1): Do not use BP_SYM.
36632 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36634 (PARMS): Do not use macros from bp-asm.h.
36638 (__mpn_add_n): Do not use BP_SYM.
36639 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36642 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36644 (PARMS): Do not use macros from bp-asm.h.
36647 (memcmp): Do not use BP_SYM.
36648 (bcmp): Do not use BP_SYM in weak_alias.
36649 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36651 (PARMS): Do not use macros from bp-asm.h.
36655 (memcpy): Likewise. Do not use BP_SYM.
36656 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36658 (PARMS): Do not use macros from bp-asm.h.
36662 (memmove): Likewise. Do not use BP_SYM.
36663 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36665 (PARMS): Do not use macros from bp-asm.h.
36669 (__mempcpy): Likewise. Do not use BP_SYM.
36670 (mempcpy): Do not use BP_SYM in weak_alias.
36671 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36673 (PARMS): Do not use macros from bp-asm.h.
36676 [!BZERO_P] (CHR): Likewise.
36677 (memset): Likewise. Do not use BP_SYM.
36678 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36680 (PARMS): Do not use macros from bp-asm.h.
36682 (strcmp): Do not use BP_SYM.
36683 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36685 (PARMS): Do not use macros from bp-asm.h.
36688 [USE_AS_STRTOK_R] (SAVE): Likewise.
36689 (FUNCTION): Likewise. Do not use BP_SYM.
36690 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36692 (strtok_r): Likewise.
36693 (__GI___strtok_r): Likewise.
36694 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36695 (PARMS): Do not use macros from bp-asm.h.
36698 (__mpn_lshift): Do not use BP_SYM.
36699 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36700 (PARMS): Do not use macros from bp-asm.h.
36703 (__memchr): Do not use BP_SYM.
36704 (memchr): Do not use BP_SYM in weak_alias.
36705 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36706 (PARMS): Do not use macros from bp-asm.h.
36709 (memcmp): Do not use BP_SYM.
36710 (bcmp): Do not use BP_SYM in weak_alias.
36711 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36712 (PARMS): Do not use macros from bp-asm.h.
36715 (__mpn_mul_1): Do not use BP_SYM.
36716 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36718 (PARMS): Do not use macros from bp-asm.h.
36721 (__rawmemchr): Do not use BP_SYM.
36722 (rawmemchr): Do not use BP_SYM in weak_alias.
36723 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36724 (PARMS): Do not use macros from bp-asm.h.
36727 (__mpn_rshift): Do not use BP_SYM.
36728 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36729 (PARMS): Do not use macros from bp-asm.h.
36730 (SIGMSK): Likewise.
36731 (__sigsetjmp): Likewise. Do not use BP_SYM.
36732 * sysdeps/i386/start.S: Do not include "bp-sym.h".
36733 (_start): Do not use BP_SYM.
36734 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36735 (PARMS): Do not use macros from bp-asm.h.
36738 (__stpcpy): Likewise. Do not use BP_SYM.
36739 (stpcpy): Do not use BP_SYM in weak_alias.
36740 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36742 (PARMS): Do not use macros from bp-asm.h.
36746 (__stpncpy): Likewise. Do not use BP_SYM.
36747 (stpncpy): Do not use BP_SYM in weak_alias.
36748 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36749 (PARMS): Do not use macros from bp-asm.h.
36752 (strchr): Likewise. Do not use BP_SYM.
36753 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36755 (PARMS): Do not use macros from bp-asm.h.
36758 (__strchrnul): Likewise. Do not use BP_SYM.
36759 (strchrnul): Do not use BP_SYM in weak_alias.
36760 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36762 (PARMS): Do not use macros from bp-asm.h.
36764 (strcspn): Do not use BP_SYM.
36765 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36767 (PARMS): Do not use macros from bp-asm.h.
36770 (strpbrk): Likewise. Do not use BP_SYM.
36771 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36773 (PARMS): Do not use macros from bp-asm.h.
36776 (strrchr): Likewise. Do not use BP_SYM.
36777 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36778 (PARMS): Do not use macros from bp-asm.h.
36780 (strspn): Do not use BP_SYM.
36781 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36782 (PARMS): Do not use macros from bp-asm.h.
36786 (FUNCTION): Likewise. Do not use BP_SYM.
36787 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36789 (strtok_r): Likewise.
36790 (__GI___strtok_r): Likewise.
36791 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36792 (PARMS): Do not use macros from bp-asm.h.
36796 (__mpn_sub_n): Do not use BP_SYM.
36797 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36799 (PARMS): Do not use macros from bp-asm.h.
36802 (__mpn_submul_1): Do not use BP_SYM.
36803 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36805 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36807 (PARMS): Do not use macros from bp-asm.h.
36812 (__clone): Do not use BP_SYM.
36813 (clone): Do not use BP_SYM in weak_alias.
36814 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36816 (PARMS): Do not use macros from bp-asm.h.
36818 (__mmap64): Do not use BP_SYM.
36819 (mmap64): Do not use BP_SYM in weak_alias.
36820 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36821 <bp-sym.h> and <bp-asm.h>.
36822 (PARMS): Do not use macros from bp-asm.h.
36823 (__posix_fadvise64_l64): Do not use BP_SYM.
36824 * sysdeps/unix/sysv/linux/i386/semtimedop.S
36825 (PARMS): Do not use macros from bp-asm.h.
36827 (semtimedop): Do not use BP_SYM.
36828 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36831 2013-02-21 Allan McRae <allan@archlinux.org>
36833 * manual/message.texi (Charset conversion in gettext):
36834 Move @end statement to beginning of line.
36836 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36843 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36844 (denorm): Likewise.
36845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36848 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36850 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36851 tail-call to the resolved function if pltexit isn't needed.
36853 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36856 or Y being zero as being unlikely.
36857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36860 2013-02-20 Carlos O'Donell <carlos@redhat.com>
36862 * manual/nss.texi (System Databases and Name Service Switch):
36863 Remove frobnicate @pxref.
36865 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36867 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36868 __attribute__ ((unused)) to __attribute__ ((__unused__)).
36870 2013-02-20 Petr Machata <pmachata@redhat.com>
36872 * elf/elf.h (R_ARM_TARGET1): New macro.
36873 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36874 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36875 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36876 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36877 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36878 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36879 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36880 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36881 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36882 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36883 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36884 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36885 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36886 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36887 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36888 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36889 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36890 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36891 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36892 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36893 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36894 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36895 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36896 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36897 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36898 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36899 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36900 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36901 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36902 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36903 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36904 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36905 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36906 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36907 (R_ARM_THM_GOT_BREL12): Likewise.
36908 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36909 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36910 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36911 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36912 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36913 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36914 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36915 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36916 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36918 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36920 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36921 __attribute_used__ to __attribute__ ((unused)).
36923 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36925 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36928 comment formatting.
36929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36931 2013-02-19 Joseph Myers <joseph@codesourcery.com>
36934 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36936 (ENTER): Remove both macro definitions.
36938 (CHECK_BOUNDS_LOW): Likewise.
36939 (CHECK_BOUNDS_HIGH): Likewise.
36940 (CHECK_BOUNDS_BOTH): Likewise.
36941 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36942 (RETURN_BOUNDED_POINTER): Likewise.
36943 (RETURN_NULL_BOUNDED_POINTER): Likewise.
36944 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36945 (POP_ERRNO_LOCATION_RETURN): Likewise.
36946 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36947 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36948 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36950 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36951 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36952 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36953 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36954 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36955 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36956 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36957 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36958 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36959 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36960 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36961 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36962 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36963 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36965 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36966 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36968 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36969 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36970 * sysdeps/i386/i586/memset.S (memset): Likewise.
36971 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36972 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36973 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36975 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36976 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36977 Change uses of L(2) to L(out).
36978 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36979 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36980 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36981 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36982 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36984 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36985 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36987 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36988 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36989 (RETURN): Do not use macro LEAVE.
36990 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36991 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36992 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36993 * sysdeps/i386/i686/memset.S (memset): Likewise.
36994 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36995 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36996 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36997 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36999 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37000 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
37001 L(1_2) and L(1_3) into L(1).
37002 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37003 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37004 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37005 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37006 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37007 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37008 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37009 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37010 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37012 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37013 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37014 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37015 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37016 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37017 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37018 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37019 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37020 * sysdeps/i386/strcspn.S (strcspn): Likewise.
37021 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37022 * sysdeps/i386/strrchr.S (strrchr): Likewise.
37023 * sysdeps/i386/strspn.S (strspn): Likewise.
37024 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37026 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37027 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37028 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37029 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
37030 L(1_3) into L(1_1).
37031 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37032 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37033 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37035 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37037 2013-02-19 Jakub Jelinek <jakub@redhat.com>
37039 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37042 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37044 * math/atest-exp.c (exp_mpn): Remove ROUND.
37045 * math/atest-exp2.c (exp_mpn): Likewise.
37046 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37048 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37049 * stdlib/tst-tls-atexit-lib.c: Likewise.
37050 * stdlib/tst-tls-atexit.c: Likewise.
37052 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37054 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37055 and __attribute_alloc_size__.
37057 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37059 * include/programs/xmalloc.h: Change __attribute_alloc_size to
37060 __attribute_alloc_size__.
37061 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37062 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37064 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37066 * include/programs/xmalloc.h: New file.
37067 * catgets/gencat.c: Include it.
37068 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37069 * elf/pldd.c: Likewise.
37070 * iconv/iconv_charmap.c: Likewise.
37071 * iconv/iconvconfig.c: Likewise.
37072 * iconv/strtab.c: Likewise.
37073 * locale/programs/locale.c: Likewise.
37074 * locale/programs/localedef.h: Likewise.
37075 * locale/programs/simple-hash.c: Likewise.
37076 * nscd/nscd.h: Likewise.
37077 * nss/makedb.c: Likewise.
37078 * sysdeps/generic/ldconfig.h: Likewise.
37080 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37082 * Versions.def: Add GLIBC_2.18.
37083 * include/link.h (struct link_map): New member l_tls_dtor_count.
37084 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37085 (__call_tls_dtors): Likewise.
37086 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37087 __cxa_thread_atexit_impl.
37088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37096 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37104 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37105 (tests): Add test case tst-tls-atexit.
37106 (modules-names): Add shared library for tst-tls-atexit.
37107 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37108 (GLIBC_PRIVATE): Add __call_tls_dtors.
37109 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37111 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37112 * stdlib/tst-tls-atexit.c: New test case.
37113 * stdlib/tst-tls-atexit-lib.c: New test case.
37115 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37117 * elf/Versions (ld): Add _dl_find_dso_for_object.
37118 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37119 * elf/dl-open.c (_dl_find_dso_for_object): New function.
37120 (dl_open_worker): Use _dl_find_dso_for_object.
37121 * elf/dl-sym.c (do_sym): Likewise.
37122 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37124 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37126 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37127 Syntactic changes only.
37128 (_dl_runtime_profile): Do a tail-call to the resolved function.
37130 2013-02-17 Joseph Myers <joseph@codesourcery.com>
37133 * sysdeps/x86_64/bp-asm.h: Remove file.
37134 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37135 <bp-sym.h> and <bp-asm.h>.
37136 (__clone): Do not use BP_SYM.
37137 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37138 <bp-sym.h> and <bp-asm.h>.
37139 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37140 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37142 (_setjmp): Do not use BP_SYM.
37143 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37145 (setjmp): Do not use BP_SYM.
37146 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37148 (mempcpy): Do not use BP_SYM in weak_alias.
37149 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37151 (strchr): Do not use BP_SYM.
37152 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37154 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37155 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37156 (_start): Do not use BP_SYM.
37157 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37159 (strcat): Do not use BP_SYM.
37160 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37162 (STRCMP): Do not use BP_SYM.
37163 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37165 (STRCPY): Do not use BP_SYM.
37166 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37168 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37170 (FUNCTION): Do not use BP_SYM.
37171 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37173 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37175 2013-02-17 Andreas Jaeger <aj@suse.de>
37177 * time/Versions: Sort entries.
37178 * string/Versions: Likewise.
37179 * resolv/Versions: Likewise.
37180 * posix/Versions: Likewise.
37181 * iconv/Versions: Likewise.
37182 * elf/Versions: Likewise.
37183 * wcsmbs/Versions: Likewise.
37185 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37187 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37188 loop termination condition.
37190 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37191 variable to calculate EZ.
37194 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37195 the lower precision input.
37197 2013-02-15 Joseph Myers <joseph@codesourcery.com>
37200 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37201 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37202 (run-via-rtld-prefix): Do not handle %-bp tests.
37203 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37204 (all-object-suffixes): Remove .ob.
37205 (bppfx): Remove variable.
37206 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37207 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37208 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37209 [$(build-bounded) = yes] (libtype.ob): Likewise.
37210 * Makerules (elide-routines.ob): Remove variable.
37211 (do-tests-clean): Do not handle *-bp.out.
37212 (common-mostlyclean): Do not handle *-bp and *-bp.out.
37213 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37214 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37215 (tests): Do not include $(tests-bp.out).
37216 (xtests): Do not include $(xtests-bp.out).
37217 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37218 [$(build-bounded) = yes] ($(addprefix
37219 $(objpfx),$(binaries-bounded))): Remove rule.
37220 ($(objpfx)%-bp.out): Remove rule.
37221 * config.make.in (build-bounded): Remove variable.
37222 * crypt/Makefile [$(build-bounded) = yes]
37223 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37224 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37225 append to variable.
37226 [$(build-bounded) = yes] (install-lib): Likewise.
37227 [$(build-bounded) = yes] (generated): Likewise.
37228 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37230 * intl/Makefile [$(build-bounded) = yes]
37231 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37232 * math/Makefile [$(build-bounded) = yes]
37233 ($(tests:%=$(objpfx)%-bp): Likewise.
37234 * misc/Makefile [$(build-bounded) = yes]
37235 ($(objpfx)tst-tsearch-bp): Likewise.
37236 * nptl/Makeconfig (bounded-thread-library): Remove variable.
37237 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37239 * string/Makefile (o-objects.ob): Remove variable.
37240 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37241 (CFLAGS-.ob): Remove variable.
37242 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37243 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37244 both definitions of variable.
37245 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37246 (ASFLAGS-.ob): Remove variable.
37248 2013-02-14 Joseph Myers <joseph@codesourcery.com>
37251 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37252 Remove __BOUNDED_POINTERS__ from condition.
37253 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37254 * string/bits/string2.h [!__NO_STRING_INLINES &&
37255 !__BOUNDED_POINTERS__]: Likewise.
37256 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37258 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37259 Remove conditional code.
37260 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37261 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37262 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37266 * csu/libc-start.c: Do not include <bp-sym.h>.
37267 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37268 * elf/dl-open.c: Do not include <bp-sym.h>.
37269 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37270 * math/fegetenv.c: Do not include <bp-sym.h>.
37271 (fegetenv): Do not use BP_SYM in versioned symbols.
37272 * nptl/sysdeps/pthread/bits/libc-lockP.h
37273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37276 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37278 (__pthread_mutex_destroy): Likewise.
37279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37280 (__pthread_mutex_lock): Likewise.
37281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37282 (__pthread_mutex_trylock): Likewise.
37283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37284 (__pthread_mutex_unlock): Likewise.
37285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37286 (__pthread_mutexattr_init): Likewise.
37287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37288 (__pthread_mutexattr_destroy): Likewise.
37289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37290 (__pthread_mutexattr_settype): Likewise.
37291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37292 (__pthread_rwlock_init): Likewise.
37293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37294 (__pthread_rwlock_destroy): Likewise.
37295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37296 (__pthread_rwlock_rdlock): Likewise.
37297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37298 (__pthread_rwlock_tryrdlock): Likewise.
37299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37300 (__pthread_rwlock_wrlock): Likewise.
37301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37302 (__pthread_rwlock_trywrlock): Likewise.
37303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37304 (__pthread_rwlock_unlock): Likewise.
37305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37306 (__pthread_key_create): Likewise.
37307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37308 (__pthread_setspecific): Likewise.
37309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37310 (__pthread_getspecific): Likewise.
37311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37314 (_pthread_cleanup_push_defer): Likewise.
37315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37316 (_pthread_cleanup_pop_restore): Likewise.
37317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37318 (pthread_setcancelstate): Likewise.
37319 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37321 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37322 (memchr): Do not use BP_SYM in weak_alias.
37323 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37324 (fegetenv): Do not use BP_SYM in versioned symbols.
37325 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37326 (fesetenv): Do not use BP_SYM in versioned symbols.
37327 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37328 (feupdateenv): Do not use BP_SYM in versioned symbols.
37329 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37330 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37331 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37332 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37333 (open64): Do not use BP_SYM in weak_alias.
37334 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37335 (fegetenv): Do not use BP_SYM in versioned symbols.
37336 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37337 (fesetenv): Do not use BP_SYM in versioned symbols.
37338 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37339 (feupdateenv): Do not use BP_SYM in versioned symbols.
37340 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37341 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37342 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37343 (feraiseexcept): Do not use BP_SYM in versioned symbols.
37344 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37345 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37346 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37348 (__libc_start_main): Do not use BP_SYM.
37350 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37352 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37353 redundant return line.
37355 (denorm): Likewise.
37356 (dbl_mp): Likewise.
37357 (sub_magnitudes): Likewise.
37363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37365 (denorm): Likewise.
37366 (dbl_mp): Likewise.
37367 (sub_magnitudes): Likewise.
37374 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37376 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37377 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37380 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37381 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37382 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37383 of __mul for squares.
37384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37386 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37388 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37389 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37391 2013-02-13 Joseph Myers <joseph@codesourcery.com>
37394 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37396 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37397 prototype or function definition. Rename ubp_* variables and
37398 parameters. Remove argv definitions conditional on
37399 [__BOUNDED_POINTERS__].
37400 * debug/backtrace.c (__backtrace): Do not use __unbounded.
37401 * elf/dl-runtime.c (_dl_fixup): Likewise.
37402 * include/set-hooks.h (RUN_HOOK): Likewise.
37403 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37405 * string/strcpy.c (strcpy): Do not use __unbounded.
37406 * sysdeps/generic/frame.h (struct layout): Likewise.
37407 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37408 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37409 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37410 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37411 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37412 (__backtrace): Likewise.
37413 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37415 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37416 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37417 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37419 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37420 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37421 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37422 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37423 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37424 Do not use __unbounded.
37425 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37426 Rename __unboundedrlimits parameter to rlimits in prototype.
37427 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37428 Do not use __unbounded.
37429 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37430 not use __ptrvalue.
37431 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37432 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37433 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37434 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37435 __ptrvalue or __unbounded.
37436 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37437 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37439 (__new_msgctl): Do not use __ptrvalue.
37440 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37442 (__libc_msgrcv): Do not use __ptrvalue.
37443 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37444 startup_info): Do not use __unbounded.
37445 (__libc_start_main): Likewise. Rename ubp_* variables and
37446 parameters. Remove argv definitions conditional on
37447 [__BOUNDED_POINTERS__].
37448 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37450 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37452 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37454 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37456 (__new_shmctl): Do not use __ptrvalue.
37457 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37458 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37460 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37461 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37462 (__libc_sigaction): Likewise.
37463 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37464 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37466 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37468 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
37470 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37472 * string/mempcpy.c: Implement by calling memcpy.
37474 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37476 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37478 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37481 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37482 values in the mantissa.
37484 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37485 minimize writes to Z.
37486 (sub_magnitudes): Simplify code a bit.
37488 2013-02-12 Roland McGrath <roland@hack.frob.com>
37490 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37491 from the message. The linker prefixes all warnings with that already.
37493 2013-02-12 Andreas Schwab <schwab@suse.de>
37496 * posix/regexec.c (extend_buffers): Add parameter min_len.
37497 (check_matching): Pass minimum needed length.
37498 (clean_state_log_if_needed): Likewise.
37499 (get_subexp): Likewise.
37500 * posix/Makefile (tests): Add bug-regex34.
37501 (bug-regex34-ENV): Define.
37502 * posix/bug-regex34.c: New file.
37505 * posix/regcomp.c (parse_bracket_exp): When looking up collating
37506 elements compare against the byte sequence of it, not its name.
37507 * posix/Makefile (tests): Add bug-regex35.
37508 (bug-regex35-ENV): Define.
37509 * posix/bug-regex35.c: New file.
37511 2013-02-11 Tom de Vries <tom@codesourcery.com>
37513 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
37515 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37516 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37517 (CHECK_EOL): Add undef.
37519 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
37521 * bits/stdlib-bsearch.h: New file.
37522 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37523 * stdlib/stdlib.h: Likewise.
37525 2013-02-11 Roland McGrath <roland@hack.frob.com>
37527 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37528 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37530 * manual/search.texi (Array Search Function): Add missing const in
37532 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37533 declaration to use rlim_t.
37534 (Basic Scheduling Functions): Remove erroneous const from
37535 sched_getparam prototype. Remove erroneous * from
37536 sched_get_priority_max and sched_get_priority_min prototypes.
37537 (Resource Usage): Fix summary @comment on vtimes to refer to
37538 sys/vtimes.h rather than vtimes.h.
37539 Add missing *s in vtimes prototype.
37540 (Limits on Resources): Fix ulimit prototype to return long int.
37541 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37542 prototypes to use long int rather than double.
37543 (BSD Random): Fix initstate and setstate to use char *, not void *.
37544 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37545 prototype to make second argument 'struct aiocb64 *const[]'.
37546 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37547 (Status of AIO Operations): Remove erroneous const in aio_return and
37548 aio_return64 prototypes.
37549 (Synchronizing I/O): Fix sync prototype to return void.
37550 * manual/startup.texi (Suboptions): Remove an erroneous const in
37551 getsubopt prototype.
37552 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37553 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37554 use size_t rather than int.
37555 (Scanning All Users): Likewise for getpwent_r.
37556 (Setting Groups): Add missing const to setgroups prototype.
37557 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37558 * manual/socket.texi (Host Names): Fix gethostbyaddr and
37559 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37560 'const void *' rather than 'const char *'.
37561 (Host Address Functions): Likewise for inet_ntop.
37562 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37563 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37564 ssize_t for return value.
37565 (Sending Data): Likewise for send, sendto, sendmsg.
37566 (Socket Option Functions): Add a missing const in setsockopt prototype.
37567 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37568 use wchar_t for the argument.
37569 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37570 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37572 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37573 double/float/long double for second argument.
37574 Fix return types of significand, significandf, significandl.
37575 * manual/filesys.texi (Setting Permissions): Use mode_t for second
37576 argument in fchmod prototype.
37577 (File Owner): Use uid_t and gid_t in fchown prototype.
37578 (File Times): Add const to utimes, futimes, and lutimes prototypes.
37579 (Making Special Files): Use mode_t and dev_t in mknod prototype.
37580 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37581 use 'const struct dirent **' as argument types to CMP function pointer
37583 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37584 (File Times): Fix summary magic @comment for struct utimbuf and utime
37585 to refer to utime.h, not time.h.
37586 * manual/string.texi (Argz Functions): Add missing const in
37587 argz_extract and argz_next prototypes.
37588 (Finding Tokens in a String): Likewise for basename.
37589 (String/Array Comparison): Fix typo in wcscasecmp prototype.
37590 (Copying and Concatenation): Fix typo in wmemmove prototype.
37591 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37592 (Signal Stack): Remove erroneous const in sigstack prototype.
37593 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37595 (Simple Calendar Time): Likewise for stime.
37596 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37598 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37599 say sys/sysctl.h instead.
37600 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37601 and vsyslog prototypes.
37603 2013-02-11 Tom de Vries <tom@codesourcery.com>
37605 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37608 2013-02-11 Roland McGrath <roland@hack.frob.com>
37610 * misc/sys/mman.h: Fix typo in mremap comment.
37612 2013-02-08 Roland McGrath <roland@hack.frob.com>
37614 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37615 the '\0' terminator.
37617 2013-02-08 Joseph Myers <joseph@codesourcery.com>
37620 * debug/segfault.c: Don't include <bp-checks.h>.
37621 * sysdeps/generic/bp-checks.h: Remove file.
37622 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37623 (__GETDENTS): Don't use CHECK_N.
37624 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37625 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37626 (__getgroups): Don't use CHECK_N.
37627 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37628 (setgroups): Don't use CHECK_N.
37629 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37630 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37631 (__libc_msgrcv): Don't use CHECK_N.
37632 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37633 (__libc_msgsnd): Don't use CHECK_N.
37634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37636 (__libc_pread): Don't use CHECK_N.
37637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37638 include <bp-checks.h>.
37639 (__libc_pread64): Don't use CHECK_N.
37640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37641 include <bp-checks.h>.
37642 (__libc_pwrite): Don't use CHECK_N.
37643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37644 include <bp-checks.h>.
37645 (__libc_pwrite64): Don't use CHECK_N.
37646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37648 (__libc_pread): Don't use CHECK_N.
37649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37650 include <bp-checks.h>.
37651 (__libc_pread64): Don't use CHECK_N.
37652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37653 include <bp-checks.h>.
37654 (__libc_pwrite): Don't use CHECK_N.
37655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37656 include <bp-checks.h>.
37657 (__libc_pwrite64): Don't use CHECK_N.
37658 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37659 (do_pread): Don't use CHECK_N.
37660 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37661 (do_pread64): Don't use CHECK_N.
37662 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37663 (do_pwrite): Don't use CHECK_N.
37664 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37665 (do_pwrite64): Don't use CHECK_N.
37666 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37667 (__libc_readv): Don't use CHECK_N.
37668 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37669 (semop): Don't use CHECK_N.
37670 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37672 (semtimedop): Don't use CHECK_N.
37673 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37674 (__libc_pread): Don't use CHECK_N.
37675 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37677 (__libc_pread64): Don't use CHECK_N.
37678 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37680 (__libc_pwrite): Don't use CHECK_N.
37681 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37683 (__libc_pwrite64): Don't use CHECK_N.
37684 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37686 (__libc_msgrcv): Don't use CHECK_N.
37687 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37688 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
37689 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37690 (__libc_writev): Don't use CHECK_N.
37692 2013-02-08 Roland McGrath <roland@hack.frob.com>
37694 * string/strcpy.c: Removed unused variable.
37696 * Makeconfig (+sysdep-includes): Define with := rather than =.
37697 Use an existing include/ subdir of each sysdeps dir before it.
37699 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37701 * nscd/connection.c (register_traced_file): Comment function.
37702 [HAVE_INOTIFY] (union __inev): Define.
37703 [HAVE_INOTIFY] (inotify_check_files): New function.
37704 [HAVE_INOTIFY] (clear_db_cache): Likewise.
37705 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37707 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37709 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37711 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37712 loaded if not already and that a failure is permanent.
37714 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37717 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37718 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37720 2013-02-08 Joseph Myers <joseph@codesourcery.com>
37723 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37724 (CHECK_1_NULL_OK): Likewise.
37725 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37726 (__fxstat): Do not use CHECK_1.
37727 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37729 (___fxstat64): Do not use CHECK_1.
37730 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37732 (__fxstatat): Do not use CHECK_1.
37733 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37735 (__fxstatat64): Do not use CHECK_1.
37736 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37738 (__fxstat): Do not use CHECK_1.
37739 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37741 (__fxstatat): Do not use CHECK_1.
37742 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37744 (__getresgid): Do not use CHECK_1.
37745 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37747 (__getresuid): Do not use CHECK_1.
37748 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37750 (__lxstat): Do not use CHECK_1.
37751 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37753 (__old_msgctl): Do not use CHECK_1.
37754 (__new_msgctl): Likewise.
37755 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37757 (__new_setrlimit): Do not use CHECK_1.
37758 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37760 (__old_shmctl): Do not use CHECK_1.
37761 (__new_shmctl): Likewise.
37762 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37764 (__xstat): Do not use CHECK_1.
37765 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37766 (__lxstat): Do not use CHECK_1.
37767 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37769 (___lxstat64): Do not use CHECK_1.
37770 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37771 (__old_msgctl): Do not use CHECK_1.
37772 (__new_msgctl): Likewise.
37773 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37775 (__gettimeofday): Do not use CHECK_1.
37776 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37777 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37778 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37780 (__gettimeofday): Do not use CHECK_1.
37781 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37782 (__old_shmctl): Do not use CHECK_1_NULL_OK.
37783 (__new_shmctl): Do not use CHECK_1.
37784 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37786 (do_sigtimedwait): Do not use CHECK_1.
37787 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37789 (do_sigwaitinfo): Do not use CHECK_1.
37790 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37792 (msgctl): Do not use CHECK_1.
37793 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37795 (shmctl): Do not use CHECK_1.
37796 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37797 (ustat): Do not use CHECK_1.
37798 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37800 (__fxstat): Do not use CHECK_1.
37801 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37803 (__fxstatat): Do not use CHECK_1.
37804 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37806 (__lxstat): Do not use CHECK_1.
37807 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37809 (__xstat): Do not use CHECK_1.
37810 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37811 (__xstat): Do not use CHECK_1.
37812 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37813 (___xstat64): Do not use CHECK_1.
37816 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37818 (CHECK_BOUNDS_HIGH): Likewise.
37819 * string/strcpy.c: Do not include <bp-checks.h>.
37820 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37822 2013-02-07 Roland McGrath <roland@hack.frob.com>
37824 * nscd/nscd-client.h (__nscd_drop_map_ref):
37825 Add __attribute__ ((unused)).
37826 * nis/nss-nisplus.h (niserr2nss): Likewise.
37828 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37829 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37831 * csu/libc-tls.c (init_static_tls, init_slotinfo):
37832 Remove inline keyword.
37833 * include/rounding-mode.h (round_away): Likewise.
37834 * libio/wfileops.c (adjust_wide_data): Likewise.
37835 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37836 (__m128i_strloadu_tolower): Likewise.
37837 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37838 (__m128i_strloadu_tolower): Likewise.
37839 * time/mktime.c (ydhms_diff): Likewise.
37840 * locale/elem-hash.h (elem_hash): Likewise.
37841 * locale/setlocale.c (setdata): Likewise.
37842 * posix/regex_internal.h (re_string_char_size_at): Likewise.
37843 (re_string_wchar_at): Likewise.
37844 (bitset_not, bitset_merge, bitset_mask): Likewise.
37845 [!(__GNUC__ > 3)] (inline): Remove macro.
37846 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37847 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37848 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37849 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37850 * string/memcmp.c (memcmp_bytes): Likewise.
37851 * locale/programs/locarchive.c (compute_hashval): Likewise.
37852 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37853 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37854 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37855 * nss/getent.c (print_rpc, print_protocols): Likewise.
37856 (print_passwd, print_group, print_aliases): Likewise.
37857 * nis/nss-nisplus.h (niserr2nss): Likewise.
37858 * nscd/connections.c (restart_p): Likewise.
37859 Change return type to bool.
37861 2013-02-05 Roland McGrath <roland@hack.frob.com>
37863 * Makeconfig (all-Depend-files): Add existing
37864 $(sorted-subdirs:=/Depend) files.
37865 (all-subdirs): Remove nss.
37866 * sysdeps/unix/inet/Subdirs: Add it here instead.
37867 * hesiod/Depend: New file.
37869 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37870 instead of calling alloca.
37872 * io/lseek.c (__lseek): Rename to __libc_lseek.
37873 Define __lseek as an alias.
37875 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37877 2013-02-04 Carlos O'Donell <carlos@redhat.com>
37879 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37880 else clause and remove check for non-standard endianness.
37882 2013-02-04 David S. Miller <davem@davemloft.net>
37884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37886 2013-02-04 Joseph Myers <joseph@codesourcery.com>
37889 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37890 (__ubp_memchr): Remove prototype.
37891 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37892 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37893 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37894 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37895 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37897 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37898 (__ubp_memchr): Likewise.
37899 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37900 (__ubp_memchr): Likewise.
37901 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37902 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37903 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37904 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37906 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37907 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37908 (__getcwd): Do not use CHECK_STRING.
37909 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37911 (__real_chown): Do not use CHECK_STRING.
37912 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37914 (fchownat): Do not use CHECK_STRING.
37915 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37917 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37919 (__lchown): Do not use CHECK_STRING.
37920 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37921 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37922 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37923 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37925 include <bp-checks.h>.
37926 (truncate64): Do not use CHECK_STRING.
37927 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37929 (__real_chown): Do not use CHECK_STRING.
37930 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37932 (__lchown): Do not use CHECK_STRING.
37933 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37935 (__chown): Do not use CHECK_STRING.
37936 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37938 (truncate64): Do not use CHECK_STRING.
37939 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37941 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37942 (__xmknod): Do not use CHECK_STRING.
37943 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37945 (__xmknodat): Do not use CHECK_STRING.
37946 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37947 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37949 2013-02-04 Andreas Schwab <schwab@suse.de>
37952 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37953 * include/netdb.h: Likewise for h_errno.
37954 * elf/tst-stackguard1.c: Include <tls.h>.
37956 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
37958 * elf/link.h (struct link_map): Extend the l_addr comment.
37959 * include/link.h (struct link_map): Likewise.
37961 2013-02-01 Joseph Myers <joseph@codesourcery.com>
37964 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37965 (BOUNDED_1): Remove macro.
37966 * debug/backtrace.c: Don't include <bp-checks.h>.
37967 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37968 (__backtrace): Likewise.
37969 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37971 (__backtrace): Don't use BOUNDED_1.
37972 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37974 (__backtrace): Don't use BOUNDED_1.
37975 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37976 (__backtrace): Don't use BOUNDED_1.
37977 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37978 (shmat): Don't use BOUNDED_N.
37980 2013-01-31 Joseph Myers <joseph@codesourcery.com>
37983 * sysdeps/generic/bp-start.h: Remove file.
37984 * csu/libc-start.c: Don't include <bp-start.h>.
37985 (LIBC_START_MAIN): Set up __environ directly instead of using
37986 INIT_ARGV_and_ENVIRON.
37987 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37991 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37993 (CHECK_FCNTL): Likewise.
37994 (CHECK_N_PAGES): Likewise.
37997 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37999 (CHECK_SIGSET_NULL_OK): Likewise.
38000 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
38002 (sigpending): Don't use CHECK_SIGSET.
38003 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38005 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38006 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38008 (do_sigsuspend): Don't use CHECK_SIGSET.
38009 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38011 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38012 (do_sigwait): Don't use CHECK_SIGSET.
38013 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38015 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38016 include <bp-checks.h>.
38017 (sigpending): Don't use CHECK_SIGSET.
38018 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38019 include <bp-checks.h>.
38020 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38021 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38023 (sigpending): Don't use CHECK_SIGSET.
38024 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38026 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38029 * sysdeps/generic/bp-semctl.h: Remove file.
38030 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38031 <bp-checks.h> and <bp-semctl.h>.
38032 (__old_semctl): Don't use CHECK_SEMCTL.
38033 (__new_semctl): Likewise.
38034 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38036 (__old_semctl): Don't use CHECK_SEMCTL.
38037 (__new_semctl): Likewise.
38038 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38039 <bp-checks.h> and <bp-semctl.h>.
38040 (__old_semctl): Don't use CHECK_SEMCTL.
38041 (__new_semctl): Likewise.
38042 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38043 <bp-checks.h> and <bp-semctl.h>.
38044 (semctl): Don't use CHECK_SEMCTL.
38047 * Makerules (elide-bp-thunks): Remove variable.
38048 (elide-routines.oS): Don't use $(elide-bp-thunks).
38049 (elide-routines.os): Likewise.
38050 (elide-routines.o): Likewise.
38051 (elide-routines.op): Likewise.
38052 (elide-routines.og): Likewise.
38053 (objects): Don't use $(bp-thunks).
38054 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38056 (common-generated): Do not add s-proto-bp.d.
38057 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38060 Do not generate makefile rules for bounded-pointer thunks.
38061 * sysdeps/generic/bp-thunks.h: Remove file.
38062 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38063 * sysdeps/unix/s-proto-bp.S: Likewise.
38066 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38067 parts of result separately when argument is not close to line from
38068 -i to i and one part of argument is small.
38069 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38070 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38071 * math/libm-test.inc (cacos_test): Add more tests.
38072 (casin_test): Likewise.
38073 (casinh_test): Likewise.
38074 * sysdeps/i386/fpu/libm-test-ulps: Update.
38075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38077 2013-01-31 David S. Miller <davem@davemloft.net>
38079 * po/de.po: Update from translation team.
38081 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
38083 * time/tzfile.c: Include stdint.h for SIZE_MAX.
38085 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
38087 * configure.in (_AC_PROG_CC_C89): New definition.
38088 * configure: Regenerate.
38090 * configure.in (AC_PROG_CPP): New definition.
38091 * configure: Regenerate.
38093 2013-01-23 Joseph Myers <joseph@codesourcery.com>
38095 * debug/tst-backtrace.h: New file.
38096 * debug/tst-backtrace2.c: Include tst-backtrace.h.
38097 (ret): Remove variable.
38099 (FAIL): Remove macro.
38100 (NO_INLINE): Likewise.
38101 (fn1): Use match function instead of strstr.
38102 * debug/tst-backtrace3.c: Include tst-backtrace.h.
38103 (ret): Remove variable.
38105 (FAIL): Remove macro.
38106 (NO_INLINE): Likewise.
38107 (fn): Use match function instead of strstr.
38108 * debug/tst-backtrace4.c: Include tst-backtrace.h.
38109 (ret): Remove variable.
38111 (FAIL): Remove macro.
38112 (NO_INLINE): Likewise.
38113 (handle_signal): Use match function instead of strstr.
38114 * debug/tst-backtrace5.c: Include tst-backtrace.h.
38115 (ret): Remove variable.
38117 (FAIL): Remove macro.
38118 (NO_INLINE): Likewise.
38119 (handle_signal): Use match function instead of strstr.
38121 2013-01-23 Roland McGrath <roland@hack.frob.com>
38123 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38125 2013-01-23 David S. Miller <davem@davemloft.net>
38127 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38128 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38129 argument of CAS if possible.
38130 * sysdeps/sparc/sparc64/bits/atomic.h
38131 (__arch_compare_and_exchange_val_32_acq): Likewise.
38132 (__arch_compare_and_exchange_val_64_acq): Likewise.
38134 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
38136 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38137 * sysdeps/posix/ulimit.c: ... this.
38138 Include <limits.h>.
38139 * sysdeps/unix/bsd/ulimit.c: Remove file.
38141 2013-01-23 Adam Conrad <adconrad@0c3.net>
38143 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38144 (LDFLAGS-tst-array5): Likewise.
38146 2013-01-23 Joseph Myers <joseph@codesourcery.com>
38149 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38150 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38151 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38152 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38154 2013-01-21 David S. Miller <davem@davemloft.net>
38156 * sysdeps/sparc/backtrace.c: New file.
38157 * sysdeps/sparc/sparc32/backtrace.h: New file.
38158 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38159 * sysdeps/sparc/sparc64/backtrace.h: New file.
38160 * sysdeps/sparc/sparc64/backtrace.c: Delete.
38161 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38164 2013-01-21 Andreas Schwab <schwab@suse.de>
38167 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38170 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
38172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38176 2013-01-18 Joseph Myers <joseph@codesourcery.com>
38177 Mark Mitchell <mark@codesourcery.com>
38178 Tom de Vries <tom@codesourcery.com>
38179 Paul Pluzhnikov <ppluzhnikov@google.com>
38181 * debug/tst-backtrace2.c: New file.
38182 * debug/tst-backtrace3.c: Likewise.
38183 * debug/tst-backtrace4.c: Likewise.
38184 * debug/tst-backtrace5.c: Likewise.
38185 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38186 (CFLAGS-tst-backtrace3.c): Likewise.
38187 (CFLAGS-tst-backtrace4.c): Likewise.
38188 (CFLAGS-tst-backtrace5.c): Likewise.
38189 (LDFLAGS-tst-backtrace2): Likewise.
38190 (LDFLAGS-tst-backtrace3): Likewise.
38191 (LDFLAGS-tst-backtrace4): Likewise.
38192 (LDFLAGS-tst-backtrace5): Likewise.
38193 (tests): Add new tests tst-backtrace2, tst-backtrace3,
38194 tst-backtrace4 and tst-backtrace5.
38196 2013-01-18 Anton Blanchard <anton@samba.org>
38197 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38199 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38200 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38201 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38202 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38204 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38205 "+r" and remove output regs list as redundant. Add explicit inline
38206 asm to specify register of return val to work around compiler codegen
38207 bug. Remove (int) cast on return value. Add return type parameter to
38208 use in macro so that this macro does not truncate return value for
38210 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38211 pass to INTERNAL_VSYSCALL_NCS.
38212 (INLINE_VSYSCALL): Add 'long int' as return type to
38213 INTERNAL_VSYSCALL_NCS macro invocation.
38214 (INTERNAL_VSYSCALL): Add 'long int' as return type to
38215 INTERNAL_VSYSCALL_NCS macro invocation.
38216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38218 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38221 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38222 Fix application of SIMD FP exception mask.
38224 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38225 mp_no from a power of two.
38226 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38227 __mpexp_twomm1. Use __pow_mp.
38229 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38232 2013-01-17 David S. Miller <davem@davemloft.net>
38234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38236 2013-01-17 Joseph Myers <joseph@codesourcery.com>
38239 * include/complex.h: Condition contents on [!_COMPLEX_H].
38240 (__kernel_casinhf): New prototype.
38241 (__kernel_casinh): Likewise.
38242 (__kernel_casinhl): Likewise.
38243 * math/Makefile (libm_calls): Add k_casinh.
38244 * math/k_casinh.c: New file.
38245 * math/k_casinhf.c: Likewise.
38246 * math/k_casinhl.c: Likewise.
38247 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38248 finite nonzero arguments.
38249 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38250 finite nonzero arguments.
38251 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38252 finite nonzero arguments.
38253 * math/s_casinh.c: Do not include <float.h>.
38254 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38255 * math/s_casinhf.c: Do not include <float.h>.
38256 (__casinhf): Move code for finite nonzero arguments to
38258 * math/s_casinhl.c: Do not include <float.h>.
38259 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38261 (__casinhl): Move code for finite nonzero arguments to
38263 * math/libm-test.inc (cacos_test): Add more tests.
38264 * sysdeps/i386/fpu/libm-test-ulps: Update.
38265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38267 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
38269 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38270 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38271 [!HAVE_MREMAP]: Remove [defined linux] case.
38272 * malloc/arena.c: Do not include <malloc-sysdep.h>.
38274 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38276 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38278 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
38280 * elf/elf.h (R_386_SIZE32): New relocation.
38281 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38283 (elf_machine_rela): Likewise.
38284 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38285 R_X86_64_SIZE64 and R_X86_64_SIZE32.
38287 2013-01-17 Joseph Myers <joseph@codesourcery.com>
38289 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38290 (FP_FAST_FMA): Do not define.
38291 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38292 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38293 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38294 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38295 !_SOFT_FLOAT]: Likewise.
38296 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38297 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38299 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38300 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38301 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38302 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38303 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38304 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38307 2013-01-16 Andreas Schwab <schwab@suse.de>
38310 * include/stdlib.h (__mktemp): Add declaration.
38311 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38312 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38314 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38316 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38318 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38319 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38320 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38322 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38323 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38325 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38327 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38328 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38329 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38331 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38332 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38334 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38336 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38338 2013-01-15 David S. Miller <davem@davemloft.net>
38340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38341 trunc{,f} to libm-sysdep_routes.
38342 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38352 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38353 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38354 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38355 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38356 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38357 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38360 nearbyint{,f} to libm-sysdep_routes.
38361 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38372 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38374 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38375 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38377 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38378 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38379 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38381 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38382 libc_feholdexcept and libc_fesetenv.
38384 2013-01-15 Mike Frysinger <vapier@gentoo.org>
38386 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38388 2013-01-14 David S. Miller <davem@davemloft.net>
38390 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38391 (SPARC_ASM_VIS2_IFUNC): Likewise.
38392 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38394 use of 'siam' instruction.
38395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38401 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38403 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38404 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38428 routines to libm-sysdep_routines.
38429 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38432 fdim/fdimf to libm-sysdep_routines.
38433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38441 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38442 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38443 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38444 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38446 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38448 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38449 to optimize copies.
38451 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38456 local variable MPTWO.
38457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38460 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38462 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38465 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38467 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38469 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38471 * manual/pattern.texi (glob_t): Document gl_flags.
38472 (glob64_t): Likewise.
38474 2013-01-11 David S. Miller <davem@davemloft.net>
38476 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38477 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38478 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
38479 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38480 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38481 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38482 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38483 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38484 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38485 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38486 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38487 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38488 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38490 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38491 sparc V9 rather than using V8 code.
38492 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38493 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38495 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38497 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38500 2013-01-11 Roland McGrath <roland@hack.frob.com>
38502 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38503 not in the main loop.
38504 * configure: Regenerated.
38506 2013-01-11 Joseph Myers <joseph@codesourcery.com>
38508 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38509 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38511 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
38512 [!__GLIBC_HAVE_LONG_LONG] case.
38513 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38514 condition to just #else.
38515 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38516 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38517 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38518 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38520 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38521 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38522 #elif condition to just #else.
38523 * sysdeps/unix/sysv/linux/sys/sysmacros.h
38524 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38525 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38526 #elif condition to just #else.
38528 2013-01-11 Steve Ellcey <sellcey@mips.com>
38530 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38531 (EF_MIPS_ARCH_64): Fix value.
38532 (EF_MIPS_ARCH_32R2): New.
38533 (EF_MIPS_ARCH_64R2): New.
38535 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
38537 * Makeconfig (+link-pie-before-libc): New.
38538 (+link-pie-after-libc): Likewise.
38539 (+link-pie-tests): Likewise.
38540 (+link-pie): Rewritten.
38541 (link-before-libc): Remove $(config-LDFLAGS).
38542 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38543 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38544 (config-LDFLAGS): Renamed to ...
38545 (rtld-LDFLAGS): This.
38546 (rtld-tests-LDFLAGS): New macro.
38547 (link-libc-rpath-link): Likewise.
38548 (link-libc-tests-rpath-link): Likewise.
38549 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38550 (link-libc): Prepand $(link-libc-rpath-link).
38551 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38552 (test-program-prefix): New macro.
38553 (test-via-rtld-prefix): Likewise.
38554 (test-program-cmd): Likewise.
38555 (host-test-program-cmd): Likewise.
38556 * Makefile ($(common-objpfx)testrun.sh): Replace
38557 $(run-program-prefix) with $(test-program-prefix).
38558 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38560 ($(common-objpfx)shlib.lds): Likewise.
38561 (build-module-helper): Likewise.
38562 ($(common-objpfx)format.lds): Likewise.
38563 * Rules (binaries-pie-tests): New.
38564 (binaries-pie-notests): Likewise.
38565 (binaries-pie): Rewritten.
38566 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38567 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38568 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38569 (make-test-out): Replace $(host-built-program-cmd) with
38570 $(host-test-program-cmd).
38571 * config.make.in (build-hardcoded-path-in-tests): New variable.
38572 * configure.in (--enable-hardcoded-path-in-tests): New configure
38574 (hardcoded_path_in_tests): New AC_SUBST.
38575 * configure: Regenerated.
38576 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38577 $(built-program-cmd) with $(test-program-cmd).
38578 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38579 (test_program_cmd): This.
38580 * elf/Makefile ($(objpfx)order.out): Run test with
38581 $(test-program-prefix).
38582 ($(objpfx)order2.out): Likewise.
38583 ($(objpfx)tst-initorder.out): Likewise.
38584 ($(objpfx)tst-initorder2.out): Likewise.
38585 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38586 $(test-program-cmd).
38587 ($(objpfx)tst-array1-static.out): Likewise.
38588 ($(objpfx)tst-array2.out): Likewise.
38589 ($(objpfx)tst-array3.out): Likewise.
38590 ($(objpfx)tst-array4.out): Likewise.
38591 ($(objpfx)tst-array5.out): Likewise.
38592 ($(objpfx)tst-array5-static.out): Likewise.
38593 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38594 $(test-program-cmd).
38595 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38596 $(run-program-prefix) with $(test-program-prefix).
38597 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38598 (test_program_prefix): This.
38599 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38600 $(run-program-prefix) with $(test-program-prefix).
38601 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38602 (test_program_prefix): This.
38603 * iconvdata/tst-tables.sh: Likewise.
38604 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38605 $(run-program-prefix) with $(test-program-prefix).
38606 ($(objpfx)tst-translit.out): Likewise.
38607 ($(objpfx)tst-gettext2.out): Likewise.
38608 ($(objpfx)tst-gettext4.out): Likewise.
38609 ($(objpfx)tst-gettext6.out): Likewise.
38610 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38611 (test_program_prefix): This.
38612 * intl/tst-gettext2.sh: Likewise.
38613 * intl/tst-gettext4.sh Likewise.
38614 * intl/tst-gettext6.sh: Likewise.
38615 * intl/tst-translit.sh: Likewise.
38616 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38617 with $(test-program-cmd).
38618 * libio/Makefile ($(objpfx)test-freopen.out): Replace
38619 $(run-program-prefix) with $(test-program-prefix).
38620 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38621 (test_program_prefix): This.
38622 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38623 $(run-program-prefix) with $(test-program-prefix).
38624 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38625 (test_program_prefix): This.
38626 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38627 * posix/Makefile ($(objpfx)globtest.out): Replace
38628 $(run-via-rtld-prefix) and $(test-wrapper) with
38629 $(test-program-prefix) and $(test-via-rtld-prefix).
38630 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38631 $(test-program-prefix).
38632 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38633 $(host-test-program-cmd).
38634 (tst-spawn-ARGS): Likewise.
38635 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38636 $(test-program-prefix).
38637 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38638 (test_via_rtld_prefix): This.
38639 (test_wrapper): Renamed to ...
38640 (test_program_prefix): This.
38641 (run_program_prefix): Replaced by test_program_prefix.
38642 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38643 (test_program_prefix): This.
38644 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38645 with $(host-test-program-cmd).
38646 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38647 $(run-program-prefix) with $(test-program-prefix).
38648 ($(objpfx)tst-printf.out): Likewise.
38649 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38650 $(test-program-cmd).
38651 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38652 (test_program_prefix): This.
38653 * stdio-common/tst-unbputc.sh: Likewise.
38654 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38655 $(run-program-prefix) with $(test-program-prefix).
38656 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38657 (test_program_prefix): This.
38658 * string/Makefile ($(objpfx)tst-svc.out): Replace
38659 $(built-program-cmd) with $(test-program-cmd).
38661 2013-01-11 Andreas Jaeger <aj@suse.de>
38664 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38665 value. Sync with Linux 3.7.
38667 2013-01-10 David S. Miller <davem@davemloft.net>
38669 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38670 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38671 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38673 2013-01-10 Roland McGrath <roland@hack.frob.com>
38675 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38677 * configure: Regenerated.
38679 2013-01-10 David S. Miller <davem@davemloft.net>
38681 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38682 sparc V9 rather than using V8 code.
38683 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38684 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38686 2013-01-10 Roland McGrath <roland@hack.frob.com>
38688 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38689 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38690 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38691 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38692 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38693 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38694 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38695 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38696 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38697 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38698 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38699 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38700 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38701 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38702 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38703 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38704 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38705 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38706 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38707 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38708 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38709 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38710 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38711 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38712 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38713 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38714 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38716 2013-01-10 David S. Miller <davem@davemloft.net>
38718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38720 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38722 * posix/Makefile (tests-static): New variable.
38723 (tests): Add $(tests-static).
38724 (tst-exec-static-ARGS): New variable.
38725 (tst-spawn-static-ARGS): Likewise.
38726 * posix/tst-exec-static.c: New file.
38727 * posix/tst-spawn-static.c: Likewise.
38728 * posix/tst-exec.c: Support run directly.
38729 * posix/tst-spawn.c: Likewise.
38731 2013-01-10 Joseph Myers <joseph@codesourcery.com>
38733 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38735 * math/bits/mathcalls.h (llrint): Likewise.
38736 (llround): Likewise.
38737 * stdlib/stdlib.h (struct drand48_data): Likewise.
38738 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38739 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38740 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38742 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38744 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38745 (elf_greg_t): Likewise.
38746 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38747 (__jmp_buf): Likewise.
38748 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38750 (llrint): Likewise, for all definitions.
38751 (llrintl): Likewise.
38753 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38754 Remove [__GNUC__] condition.
38755 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38756 condition to just [__USE_ISOC99].
38757 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38759 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38762 * sysdeps/unix/sysv/linux/x86/bits/environments.h
38763 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38765 (_POSIX_V6_ILP32_OFF32): Likewise.
38766 (_XBS5_ILP32_OFF32): Likewise.
38767 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38768 (__ILP32_OFFBIG_LDFLAGS): Likewise.
38770 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38772 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38774 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38775 doubles __mpexp_twomm1. Adjust usage.
38776 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38779 2013-01-10 Andreas Schwab <schwab@suse.de>
38782 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38783 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38785 2013-01-09 David S. Miller <davem@davemloft.net>
38788 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38789 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38790 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38791 (TCP_FASTOPEN): Define.
38792 (tcp_repair_opt): New structure.
38793 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38795 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38796 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38797 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38798 (tcp_cookie_transactions): New structure.
38800 2013-01-09 Anton Blanchard <anton@samba.org>
38802 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38803 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38804 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38805 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38807 2013-01-09 Joseph Myers <joseph@codesourcery.com>
38809 * include/features.h (__USE_ANSI): Remove.
38811 2013-01-09 Roland McGrath <roland@hack.frob.com>
38813 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38815 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38817 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
38819 * sysdeps/s390/fpu/libm-test-ulps: Update.
38821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38823 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38827 (denorm): Likewise.
38828 (__mp_dbl): Likewise.
38829 (__dbl_mp): Likewise.
38830 (add_magnitudes): Likewise.
38831 (sub_magnitudes): Likewise.
38837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38841 (denorm): Likewise.
38842 (__mp_dbl): Likewise.
38843 (__dbl_mp): Likewise.
38844 (add_magnitudes): Likewise.
38845 (sub_magnitudes): Likewise.
38851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38855 (denorm): Likewise.
38856 (__mp_dbl): Likewise.
38857 (__dbl_mp): Likewise.
38858 (add_magnitudes): Likewise.
38859 (sub_magnitudes): Likewise.
38866 2013-01-08 Joseph Myers <joseph@codesourcery.com>
38868 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38869 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38870 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38871 2 && __USE_EXTERN_INLINES]: Likewise.
38873 2013-01-08 Andreas Jaeger <aj@suse.de>
38876 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38878 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38879 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38881 2013-01-07 Anton Blanchard <anton@samba.org>
38883 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38884 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38885 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38886 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38887 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38888 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38889 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38890 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38892 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38893 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38894 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38895 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38896 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38897 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38898 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38899 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38900 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38901 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38902 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38903 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38904 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38905 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38906 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38907 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38908 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38909 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38910 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38911 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38912 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38913 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38915 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38916 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38917 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38918 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38919 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38920 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38921 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38922 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38923 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38924 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38925 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38927 2013-01-07 Joseph Myers <joseph@codesourcery.com>
38929 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38930 (__MALLOC_PMT): Likewise.
38931 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38932 [__GNUC__], only on [_LIBC].
38933 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38934 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38935 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38936 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38937 forward declaration.
38938 (realloc_hook_ini): Likewise.
38939 (memalign_hook_ini): Likewise.
38940 (__libc_memalign): Do not use __MALLOC_PMT in variable
38942 (__libc_valloc): Likewise.
38943 (__libc_pvalloc): Likewise.
38944 (__libc_calloc): Likewise.
38945 (__posix_memalign): Likewise.
38948 * math/s_casinh.c: Include <float.h>.
38949 (__casinh): Do not do computation with squaring and square root
38950 for large arguments.
38951 * math/s_casinhf.c: Include <float.h>.
38952 (__casinhf): Do not do computation with squaring and square root
38953 for large arguments.
38954 * math/s_casinhl.c: Include <float.h>.
38955 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38956 (__casinhl): Do not do computation with squaring and square root
38957 for large arguments.
38958 * math/libm-test.inc (casin_test): Add more tests.
38959 (casinh_test): Likewise.
38960 * sysdeps/i386/fpu/libm-test-ulps: Update.
38961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38963 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
38965 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38966 (__x86_64_raw_data_cache_size): Likewise.
38967 (__x86_64_data_cache_size_half): Likewise.
38968 (__x86_64_raw_data_cache_size_half): Likewise.
38969 (__x86_64_shared_cache_size): Likewise.
38970 (__x86_64_raw_shared_cache_size): Likewise.
38971 (__x86_64_shared_cache_size_half): Likewise.
38972 (__x86_64_raw_shared_cache_size_half): Likewise.
38973 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38975 (__x86_data_cache_size): This.
38976 (__x86_64_raw_data_cache_size): Renamed to ...
38977 (__x86_raw_data_cache_size): This.
38978 (__x86_64_data_cache_size_half): Renamed to ...
38979 (__x86_data_cache_size_half): This.
38980 (__x86_64_raw_data_cache_size_half): Renamed to ...
38981 (__x86_raw_data_cache_size_half): This.
38982 (__x86_64_shared_cache_size): Renamed to ...
38983 (__x86_shared_cache_size): This.
38984 (__x86_64_raw_shared_cache_size): Renamed to ...
38985 (__x86_raw_shared_cache_size): This.
38986 (__x86_64_shared_cache_size_half): Renamed to ...
38987 (__x86_shared_cache_size_half): This.
38988 (__x86_64_raw_shared_cache_size_half): Renamed to ...
38989 (__x86_raw_shared_cache_size_half): This.
38990 * sysdeps/x86_64/memcpy.S: Updated.
38991 * sysdeps/x86_64/memset.S: Likewise.
38992 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38993 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38994 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38996 2013-01-04 David S. Miller <davem@davemloft.net>
38998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39000 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
39002 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
39003 1 to avoid redefinition warning.
39004 (__USE_GNU): Don't define.
39005 (init_signaling_nan): Protoize.
39007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39009 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39011 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39012 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39013 (__cpymn): Likewise.
39014 (norm): Remove commented code.
39015 (denorm): Likewise.
39016 (__mp_dbl): Likewise.
39018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39019 (__cpymn): Likewise.
39020 (norm): Remove commented code.
39021 (denorm): Likewise.
39022 (__mp_dbl): Likewise.
39025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39026 mp_no value for 1.0 and 2.0.
39027 (norm): Use RADIXI instead of radixi.d.
39028 (denorm): Likewise.
39029 (__mul): Use 0.0 instead of zero.d.
39030 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39031 mp_no value for 1.0 and 2.0.
39032 (norm): Use RADIXI instead of radixi.d.
39033 (denorm): Likewise.
39034 (__mul): Use 0.0 instead of zero.d.
39036 2013-01-04 Joseph Myers <joseph@codesourcery.com>
39039 * math/s_casinh.c (__casinh): Reduce finite argument to first
39040 quadrant then set signs of results at the end.
39041 * math/s_casinhf.c (__casinhf): Likewise.
39042 * math/s_casinhl.c (__casinhl): Likewise.
39043 * math/libm-test.inc (casin_test): Add more tests.
39044 (casinh_test): Likewise.
39045 * sysdeps/i386/fpu/libm-test-ulps: Update.
39046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39048 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39050 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39052 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39054 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39056 (denorm): Likewise.
39057 (__mp_dbl): Likewise.
39060 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39061 and adjust the header comment.
39063 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39064 variable name from declaration.
39066 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
39068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39069 Initialize COMMON_CPUID_INDEX_7 element.
39070 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39071 (CPUID_RTM): Likewise.
39072 (HAS_RTM): Likewise.
39073 (COMMON_CPUID_INDEX_7): New enum.
39075 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
39078 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39079 size is zero, record memory as freed.
39081 2013-01-03 Andreas Jaeger <aj@suse.de>
39083 * po/ia.po: Add new Interlingua translation.
39085 2012-01-03 Allan McRae <allan@archlinux.org>
39087 * locale/programs/localedef.c: Fix description of '--posix' flag.
39089 2013-01-02 Joseph Myers <joseph@codesourcery.com>
39091 * NEWS: Update dates in second copyright notice.
39092 * README: Update copyright dates in example.
39093 * manual/libc.texinfo: Update copyright dates.
39094 * scripts/test-installation.pl: Update copyright date in --version
39097 * hurd/ctty-input.c: Fix copyright notice formatting.
39098 * hurd/ctty-output.c: Likewise.
39099 * hurd/dtable.c: Likewise.
39100 * hurd/hurd-raise.c: Likewise.
39101 * hurd/hurdprio.c: Likewise.
39102 * hurd/msgportdemux.c: Likewise.
39103 * misc/sys/file.h: Likewise.
39104 * misc/sys/ioctl.h: Likewise.
39105 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39106 * sysdeps/mach/hurd/chdir.c: Likewise.
39107 * sysdeps/mach/hurd/fchdir.c: Likewise.
39108 * sysdeps/mach/hurd/rename.c: Likewise.
39109 * sysdeps/mach/hurd/rmdir.c: Likewise.
39110 * sysdeps/mach/hurd/seekdir.c: Likewise.
39111 * sysdeps/mach/hurd/setsid.c: Likewise.
39112 * sysdeps/posix/wait3.c: Likewise.
39114 * All files with FSF copyright notices: Update copyright dates
39115 using scripts/update-copyrights.
39116 * intl/plural.c: Regenerated.
39117 * locale/programs/charmap-kw.h: Likewise.
39118 * locale/programs/locfile-kw.h: Likewise.
39120 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39122 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39125 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39126 calculation loop and add branch prediction.
39128 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39129 check access beyond bounds of m1np.
39131 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39133 (__inv): Remove local variable MPTWO to use the global
39135 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39136 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39138 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39139 MP3HALFS static const.
39141 2013-01-01 David S. Miller <davem@davemloft.net>
39143 * po/ca.po: Update from translation team.
39145 2013-01-01 Joseph Myers <joseph@codesourcery.com>
39147 * scripts/update-copyrights: New file.
39148 * Makeconfig: Reformat copyright notice.
39149 * ctype/ctype.h: Likewise.
39150 * debug/swprintf_chk.c: Likewise.
39151 * elf/dl-cache.c: Likewise.
39152 * elf/dl-debug.c: Likewise.
39153 * elf/dl-object.c: Likewise.
39154 * grp/initgroups.c: Likewise.
39155 * hurd/Makefile: Likewise.
39156 * hurd/hurd/signal.h: Likewise.
39157 * hurd/hurdfault.c: Likewise.
39158 * hurd/hurdioctl.c: Likewise.
39159 * hurd/hurdlookup.c: Likewise.
39160 * hurd/intr-msg.c: Likewise.
39161 * iconv/gconv_open.c: Likewise.
39162 * libio/swprintf.c: Likewise.
39163 * locale/lc-ctype.c: Likewise.
39164 * locale/nl_langinfo.c: Likewise.
39165 * mach/Machrules: Likewise.
39166 * mach/Makefile: Likewise.
39167 * malloc/obstack.h: Likewise.
39168 * manual/Makefile: Likewise.
39169 * manual/tsort.awk: Likewise.
39170 * misc/bits/stab.def: Likewise.
39171 * nis/nis_print_group_entry.c: Likewise.
39172 * nis/nis_table.c: Likewise.
39173 * nis/nss_compat/compat-pwd.c: Likewise.
39174 * nis/nss_compat/compat-spwd.c: Likewise.
39175 * po/Makefile: Likewise.
39176 * posix/fnmatch.c: Likewise.
39177 * posix/regex.h: Likewise.
39178 * resolv/Makefile: Likewise.
39179 * resolv/nss_dns/dns-network.c: Likewise.
39180 * resolv/res_hconf.c: Likewise.
39181 * scripts/gen-sorted.awk: Likewise.
39182 * soft-fp/soft-fp.h: Likewise.
39183 * stdio-common/printf.h: Likewise.
39184 * stdlib/monetary.h: Likewise.
39185 * stdlib/random.c: Likewise.
39186 * stdlib/random_r.c: Likewise.
39187 * sysdeps/generic/Makefile: Likewise.
39188 * sysdeps/gnu/Makefile: Likewise.
39189 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39191 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39192 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39193 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39194 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39195 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39196 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39197 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39198 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39199 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39200 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39201 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39202 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39203 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39204 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39205 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39206 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39207 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39208 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39209 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39210 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39211 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39212 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39213 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39214 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39215 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39216 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39217 * sysdeps/mach/hurd/errnos.awk: Likewise.
39218 * sysdeps/mach/hurd/fork.c: Likewise.
39219 * sysdeps/mach/hurd/getcwd.c: Likewise.
39220 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39221 * sysdeps/mach/hurd/mmap.c: Likewise.
39222 * sysdeps/mach/hurd/utimes.c: Likewise.
39223 * sysdeps/mach/hurd/xmknod.c: Likewise.
39224 * sysdeps/posix/profil.c: Likewise.
39225 * sysdeps/posix/readdir_r.c: Likewise.
39226 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39227 * sysdeps/powerpc/bits/setjmp.h: Likewise.
39228 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39229 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39231 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39232 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39233 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39234 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39235 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39236 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39237 * sysdeps/pthread/lio_listio.c: Likewise.
39238 * sysdeps/sparc/dl-procinfo.h: Likewise.
39239 * sysdeps/unix/i386/sysdep.S: Likewise.
39240 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39241 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39242 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39243 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39245 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39246 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39247 * sysdeps/unix/sysv/linux/speed.c: Likewise.
39248 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39249 * sysdeps/wordsize-32/divdi3.c: Likewise.
39250 * time/sys/time.h: Likewise.
39251 * wcsmbs/Makefile: Likewise.
39253 2013-01-01 David S. Miller <davem@davemloft.net>
39255 * po/fr.po: Update from translation team.
39257 * catgets/gencat.c: Update copyright year.
39258 * csu/version.c: Likewise.
39259 * debug/catchsegv.sh: Likewise.
39260 * debug/pcprofiledump.c: Likewise.
39261 * debug/xtrace.sh: Likewise.
39262 * elf/ldconfig.c: Likewise.
39263 * elf/ldd.bash.in: Likewise.
39264 * elf/pldd.c: Likewise.
39265 * elf/sotruss.ksh: Likewise.
39266 * elf/sprof.c: Likewise.
39267 * iconv/iconv_prog.c: Likewise.
39268 * iconv/iconvconfig.c: Likewise.
39269 * locale/programs/locale.c: Likewise.
39270 * locale/programs/localedef.c: Likewise.
39271 * login/programs/pt_chown.c: Likewise.
39272 * malloc/memusage.sh: Likewise.
39273 * malloc/memusagestat.c: Likewise.
39274 * malloc/mtrace.pl: Likewise.
39275 * nscd/nscd.c: Likewise.
39276 * nss/getent.c: Likewise.
39277 * nss/makedb.c: Likewise.
39278 * posix/getconf.c: Likewise.
39280 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39282 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39285 2012-12-30 Mike Frysinger <vapier@gentoo.org>
39287 * math/bits/mathcalls.h (modf): Use __nonnull.
39289 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39291 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39292 (split): Use macro CN instead of the bare value.
39293 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39295 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39296 instead of the bare value.
39297 (power1): Likewise.
39299 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39301 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39303 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39305 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39307 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39308 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39309 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39310 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39312 2012-12-28 Andreas Jaeger <aj@suse.de>
39314 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
39315 values are from Linux 3.7.
39317 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39318 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
39320 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39322 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39325 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39327 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39328 variables with preprocessor constants.
39329 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39330 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39331 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39333 2012-12-27 Bruno Haible <bruno@clisp.org>
39336 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39339 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39341 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39342 and use variable directly.
39343 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39345 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39347 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39348 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39350 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39351 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39352 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39353 include directive. Remove local variable MPONE.
39354 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39355 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39356 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39358 2012-12-25 David S. Miller <davem@davemloft.net>
39360 * version.h (RELEASE): Set to "development".
39361 (VERSION): Set to "2.17.90".
39362 * NEWS: Add 2.18 section.
39364 2012-12-21 David S. Miller <davem@davemloft.net>
39366 * po/hr.po: Update from translation team.
39368 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39370 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39372 2012-12-19 Steve Ellcey <sellcey@mips.com>
39374 * NEWS: Mention new memcpy for MIPS.
39376 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39378 * manual/contrib.texi (Contributors): Spelling correction.
39380 2012-12-15 David S. Miller <davem@davemloft.net>
39382 * po/ru.po: Update from translation team.
39384 2012-12-13 David S. Miller <davem@davemloft.net>
39386 * NEWS: Mention IFUNC testsuite enhancements.
39388 * po/pl.po: Update from translation team.
39389 * po/bg.po: Likewise.
39391 * manual/contrib.texi (Contributors): Update entries for Hongjiu
39392 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
39394 2012-12-11 David S. Miller <davem@davemloft.net>
39396 * po/sv.po: Update from translation team.
39398 * po/vi.po: Update from translation team.
39400 * po/cs.po: Update from translation team.
39402 * po/de.po: Update from translation team.
39403 * po/eo.po: Likewise.
39404 * po/nl.po: Likewise.
39406 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39409 * manual/argp.texi (Argp Helper Functions): Move node to follow
39410 Argp Parsing State.
39413 * manual/conf.texi (Limits on File System Capacity): Mention if
39414 terminating null is included in the max size.
39416 2012-12-10 Andreas Jaeger <aj@suse.de>
39418 * po/cs.po: Update from translation team.
39420 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39422 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39423 void pointer and cast to uintptr_t.
39424 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39426 * sysdeps/s390/s390-64/memcpy.S: Likewise.
39427 * sysdeps/s390/s390-64/memset.S: Likewise.
39429 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
39432 * menual/message.texi (Message Translation): Fix typos.
39433 (Helper programs for gettext): Likewise.
39435 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
39438 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39441 2012-12-07 David S. Miller <davem@davemloft.net>
39443 * po/libc.pot: Update.
39445 2012-12-07 Richard Henderson <rth@redhat.com>
39448 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39449 normal/normal case to before the switch.
39450 (_FP_DIV): Likewise.
39452 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
39453 Mike Frysinger <vapier@gentoo.org>
39455 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39456 check for __NR_fadvise64_64.
39458 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
39460 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39461 0, not just to plain "0" as a statement.
39462 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39465 2012-12-06 Joseph Myers <joseph@codesourcery.com>
39467 * NEWS: Use sourceware.org in Bugzilla URL.
39469 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39472 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39474 * stdio-common/tst-put-error.c (do_test): Add newline to the
39475 padded test to ensure flush.
39477 2012-12-05 Jeff Law <law@redhat.com>
39479 * sunrpc/etc.rpc (fedfs_admin): Add entry.
39481 2012-12-05 Joseph Myers <joseph@codesourcery.com>
39483 * README: Don't refer to ports add-on as distributed separately.
39484 Mention AArch64 in list of systems supported in the ports add-on.
39486 * LICENSES: Add more non-FSF copyright and license notices.
39488 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39491 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39493 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39494 10000 as width of padded output.
39496 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39498 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39500 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39501 variable LX with __attribute__ ((unused)).
39502 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39504 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39505 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39506 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39507 with __attribute__ ((unused)).
39509 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
39511 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39513 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39515 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39516 (CFLAGS-nldbl-acos.c): New variable.
39517 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39518 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39519 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39520 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39521 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39522 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39523 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39524 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39525 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39526 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39527 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39528 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39529 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39530 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39531 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39532 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39533 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39534 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39535 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39536 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39537 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39538 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39539 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39540 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39541 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39542 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39543 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39544 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39545 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39546 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39547 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39548 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39549 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39550 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39551 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39552 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39553 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39554 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39555 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39556 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39557 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39558 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39559 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39560 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39561 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39562 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39563 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39564 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39565 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39566 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39567 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39568 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39569 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39570 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39571 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39572 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39573 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39574 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39575 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39576 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39577 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39578 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39579 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39580 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39581 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39582 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39583 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39584 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39585 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39586 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39587 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39588 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39589 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39590 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39591 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39592 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39593 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39594 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39595 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39596 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39597 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39598 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39599 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39600 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39601 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39602 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39603 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39604 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39605 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39606 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39607 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39608 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39609 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39610 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39611 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39612 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39613 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39616 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39619 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39620 whole low double instead of just low 47 bits when splitting values
39623 2012-12-03 Allan McRae <allan@archlinux.org>
39625 * manual/stdio.texi (Predefined Printf Handlers): Remove
39626 @hsep and @vsep usage.
39628 2012-12-03 Mike Frysinger <vapier@gentoo.org>
39630 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39631 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39633 2012-12-03 Jeff Law <law@redhat.com>
39635 * time/sys/time.h (settimeofday): Do not mark TV argument
39638 2012-12-01 Mike Frysinger <vapier@gentoo.org>
39640 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39641 when currently writing and seek to current position when not.
39642 * libio/Makefile (tests): Remove bug-fclose1.
39643 * libio/bug-fclose1.c: Delete.
39645 2012-12-01 Joseph Myers <joseph@codesourcery.com>
39647 * manual/arith.texi (feenableexcept): Fix typo.
39648 (fedisableexcept): Likewise.
39650 2012-11-30 Roland McGrath <roland@hack.frob.com>
39652 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39653 second, differently-typed declaration, rather than a cast.
39655 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39657 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39658 * include/rpc/svc.h: ... here.
39660 2012-11-30 Aurelien Jarno <aurel32@debian.org>
39663 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39664 depending n and resplen2 to catch cases where answer
39667 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
39669 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39670 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39672 2012-11-29 Mike Frysinger <vapier@gentoo.org>
39674 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39676 2012-11-29 Roland McGrath <roland@hack.frob.com>
39678 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39680 2012-11-28 Jeff Law <law@redhat.com>
39683 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39684 dataset_temporary. Track alloca usage into alloca_used.
39685 If dataset is large allocate and release it via malloc/free.
39687 2012-06-04 Florian Weimer <fweimer@redhat.com>
39690 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39692 2012-11-28 David S. Miller <davem@davemloft.net>
39694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39696 2012-11-28 Joseph Myers <joseph@codesourcery.com>
39699 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39700 of pi/2 rounded to nearest to 64 bits.
39701 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39702 nearest to 64 bits.
39703 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39706 2012-11-28 Jeff Law <law@redhat.com>
39707 Martin Osvald <mosvald@redhat.com>
39710 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39711 * sunrpc/svc.c: Include time.h.
39712 (__svc_accept_failed): New function.
39713 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39714 any reason other than EINTR, call __svc_accept_failed.
39715 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39716 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39718 2012-11-28 Andreas Schwab <schwab@suse.de>
39720 * scripts/abilist.awk: Also handle indirect functions in .opd
39723 2012-11-28 Joseph Myers <joseph@codesourcery.com>
39726 * sysdeps/x86/fpu/powl_helper.c: New file.
39727 * sysdeps/x86/fpu/Makefile: Likewise.
39728 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39730 (__ieee754_powl): Use __powl_helper for finite arguments except
39731 integer exponents below 8.
39732 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39734 (__ieee754_powl): Use __powl_helper for finite arguments except
39735 integer exponents below 8.
39736 * math/libm-test.inc (pow_test): Add more tests and enable some
39737 previously disabled tests.
39738 * sysdeps/i386/fpu/libm-test-ulps: Update.
39739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39741 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39742 Carlos O'Donell <carlos_odonell@mentor.com>
39744 * nss/makedb.c (is_prime): Assert that input is odd and greater
39745 than 4. Note that fact in a comment too.
39746 (next_prime): Add 4 to input.
39748 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39751 * libio/Makefile (tests): Add test case tst-fwrite-error.
39752 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39753 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39754 * libio/tst-fwrite-error.c: New test case.
39756 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
39758 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39759 before casting to void *.
39760 * include/libc-internal.h (__pointer_type): New macro.
39761 (__integer_if_pointer_type_sub): Likewise.
39762 (__integer_if_pointer_type): Likewise.
39763 (cast_to_integer): Likewise.
39764 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39765 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39766 before casting to atomic64_t.
39767 (atomic_exchange_acq): Likewise.
39768 (__arch_exchange_and_add_body): Likewise.
39769 (__arch_add_body): Likewise.
39770 (atomic_add_negative): Likewise.
39771 (atomic_add_zero): Likewise.
39773 2012-11-26 Joseph Myers <joseph@codesourcery.com>
39775 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39776 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39777 (add_fdes): Likewise.
39778 (linear_search_fdes): Likewise.
39779 (binary_search_unencoded_fdes): Likewise.
39781 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
39783 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39785 2012-11-24 Adam Conrad <adconrad@0c3.net>
39787 * configure.in: Autodetect C++ header directories.
39788 * configure: Regenerated.
39790 2012-11-23 Mike Frysinger <vapier@gentoo.org>
39792 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39794 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
39796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39798 2012-11-22 Joseph Myers <joseph@codesourcery.com>
39800 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39801 LDBL_MANT_DIG == 106]: Disable some tests.
39802 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39804 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39808 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39809 input for small inputs. Return +/- pi/2 for large inputs.
39810 * math/libm-test.inc (atan_test): Add more tests.
39812 * sysdeps/generic/unwind-dw2-fde-glibc.c
39813 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39814 __attribute__ ((unused)).
39817 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39818 x * y if x and y are nonzero and z is zero.
39821 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39822 nonzero exponents with absolute value below 0x1p-117 to +/-
39826 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39827 up arguments below 2**-450, not just those below 2**-500.
39828 * math/libm-test.inc (hypot_test): Add another test.
39831 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39832 Return a+b for ratio over 2**120, not 2**60.
39833 * math/libm-test.inc (hypot_test): Add another test.
39835 * math/libm-test.inc (clog_test): Use
39836 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39837 (clog10_test): Likewise.
39840 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39842 2012-11-22 Andreas Schwab <schwab@suse.de>
39844 * sysdeps/i386/fpu/libm-test-ulps: Update.
39846 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
39848 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39849 printf output with newline.
39851 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
39854 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39855 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39856 -z nodlopen, -z initfirst and -z execstack support.
39857 * configure: Regenerated.
39859 * elf/elf.h (DF_1_NODIRECT): New macro.
39860 (DF_1_IGNMULDEF): Likewise.
39861 (DF_1_NOKSYMS): Likewise.
39862 (DF_1_NOHDR): Likewise.
39863 (DF_1_EDITED): Likewise.
39864 (DF_1_NORELOC): Likewise.
39865 (DF_1_SYMINTPOSE): Likewise.
39866 (DF_1_GLOBAUDIT): Likewise.
39867 (DF_1_SINGLETON): Likewise.
39868 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39869 DT_1_SUPPORTED_MASK bits.
39870 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39872 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
39874 * sysdeps/unix/make-syscalls.sh: Document prefixes.
39876 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
39878 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39881 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39882 (sendmmsg): Move declarations...
39883 * socket/sys/socket.h: ... here.
39884 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39885 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39887 * socket/recvmmsg.c: ... this new file.
39888 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39889 (sendmmsg): Rename to __sendmmsg, create weak alias and make
39890 definition of __sendmmsg hidden.
39891 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39892 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39893 Move ENOSYS stub into and include it from...
39894 * socket/sendmmsg.c: ... this new file.
39895 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39896 (sysdep_routines): Move recvmmsg and sendmmsg...
39897 * socket/Makefile (routines): ... here.
39898 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39899 (GLIBC_PRIVATE): Add __sendmmsg.
39900 * include/sys/socket.h (__sendmmsg): Add declarations.
39901 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39904 2012-11-20 Joseph Myers <joseph@codesourcery.com>
39906 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39907 variable I1 with __attribute__ ((unused)).
39908 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39910 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39912 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39913 DUMMY variables with __attribute__ ((unused)).
39915 * bits/byteswap.h: Include <bits/types.h>.
39916 (__bswap_64): Use __uint64_t instead of unsigned long long int.
39918 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39920 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39921 string_t. Do not manually set errno.
39922 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39923 length with __strnlen. Make sure to both set errno and return it on
39926 2012-11-19 David S. Miller <davem@davemloft.net>
39928 With help from Joseph Myers.
39929 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39930 very large arguments properly.
39931 * math/libm-test.inc (atan_test): New tests.
39932 (atan2_test): New tests.
39933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39936 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39939 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39942 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39943 [POSIX] (EADDRNOTAVAIL): Likewise.
39944 [POSIX] (EAFNOSUPPORT): Likewise.
39945 [POSIX] (EALREADY): Likewise.
39946 [POSIX] (ECONNABORTED): Likewise.
39947 [POSIX] (ECONNREFUSED): Likewise.
39948 [POSIX] (ECONNRESET): Likewise.
39949 [POSIX] (EDESTADDRREQ): Likewise.
39950 [POSIX] (EDQUOT): Likewise.
39951 [POSIX] (EHOSTUNREACH): Likewise.
39952 [POSIX] (EIDRM): Likewise.
39953 [POSIX] (EISCONN): Likewise.
39954 [POSIX] (ELOOP): Likewise.
39955 [POSIX] (EMULTIHOP): Likewise.
39956 [POSIX] (ENETDOWN): Likewise.
39957 [POSIX] (ENETUNREACH): Likewise.
39958 [POSIX] (ENOBUFS): Likewise.
39959 [POSIX] (ENODATA): Likewise.
39960 [POSIX] (ENOLINK): Likewise.
39961 [POSIX] (ENOMSG): Likewise.
39962 [POSIX] (ENOPROTOOPT): Likewise.
39963 [POSIX] (ENOSR): Likewise.
39964 [POSIX] (ENOSTR): Likewise.
39965 [POSIX] (ENOTCONN): Likewise.
39966 [POSIX] (ENOTSOCK): Likewise.
39967 [POSIX] (EOPNOTSUPP): Likewise.
39968 [POSIX] (EOVERFLOW): Likewise.
39969 [POSIX] (EPROTO): Likewise.
39970 [POSIX] (EPROTONOSUPPORT): Likewise.
39971 [POSIX] (EPROTOTYPE): Likewise.
39972 [POSIX] (ESTALE): Likewise.
39973 [POSIX] (ETIME): Likewise.
39974 [POSIX] (ETXTBSY): Likewise.
39975 [POSIX] (EWOULDBLOCK): Likewise.
39976 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39977 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39978 [POSIX] (SEEK_CUR): Likewise.
39979 [POSIX] (SEEK_END): Likewise.
39980 [POSIX || UNIX98] (mode_t): Do not require.
39981 [POSIX] (off_t): Likewise.
39982 [POSIX] (pid_t): Likewise.
39983 [POSIX] (sys/stat.h): Do not allow header.
39984 [POSIX] (unistd.h): Likewise.
39985 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39986 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39987 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39988 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39990 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39991 sigevent): Specify elements.
39992 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39994 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39995 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39997 * conform/data/cpio.h-data [POSIX]: Disable whole file.
39998 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39999 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
40000 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
40001 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
40002 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
40003 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40004 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40005 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40006 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40007 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40008 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40009 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40010 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40012 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40014 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40016 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40018 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40019 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40020 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40021 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40022 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40023 Specify lower bound on value.
40024 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40025 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40026 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40027 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40028 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40029 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40030 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40031 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40033 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40035 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40036 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40037 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40038 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40039 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40040 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40041 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40042 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40043 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40044 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40045 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40046 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40047 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40048 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40049 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40050 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40052 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40054 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40055 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40056 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40057 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40058 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40059 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40061 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40062 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40063 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40064 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40065 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
40066 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40067 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40069 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40070 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40071 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40072 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40073 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40074 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40075 specify as optional.
40076 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40077 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40078 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40079 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40080 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40081 [XPG3] (NL_LANGMAX): Likewise.
40082 [POSIX || XPG3] (NL_MSGMAX): Likewise.
40083 [POSIX || XPG3] (NL_NMAX): Likewise.
40084 [POSIX || XPG3] (NL_SETMAX): Likewise.
40085 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40086 [XPG3] (NZERO): Likewise.
40087 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40088 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40089 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40090 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40091 (REG_ERANGE): Expect.
40092 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40094 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40095 Use (void) in prototype.
40096 [POSIX] (*_t): Allow.
40097 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40098 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40099 (WRDE_BADVAL): Expect.
40101 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40103 [XPG3 || XPG4] (O_RSYNC): Likewise.
40104 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40106 [XPG3 || XPG4] (pthread_sigmask): Likewise.
40107 [XPG3 || XPG4] (sigqueue): Likewise.
40108 [XPG3 || XPG4] (sigtimedwait): Likewise.
40109 [XPG3 || XPG4] (sigwaitinfo): Likewise.
40110 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40111 [XPG3 || XPG4] (vsnprintf): Likewise.
40112 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40114 [XPG3 || XPG4] (blksize_t): Likewise.
40115 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40117 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40118 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40119 [XPG3 || XPG4] (struct itimerspec): Likewise.
40120 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40121 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40122 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40123 [XPG3 || XPG4] (clockid_t): Likewise.
40124 [XPG3 || XPG4] (timer_t): Likewise.
40125 [XPG3 || XPG4] (clock_getres): Likewise.
40126 [XPG3 || XPG4] (clock_gettime): Likewise.
40127 [XPG3 || XPG4] (clock_settime): Likewise.
40128 [XPG3 || XPG4] (nanosleep): Likewise.
40129 [XPG3 || XPG4] (timer_create): Likewise.
40130 [XPG3 || XPG4] (timer_delete): Likewise.
40131 [XPG3 || XPG4] (timer_gettime): Likewise.
40132 [XPG3 || XPG4] (timer_getoverrun): Likewise.
40133 [XPG3 || XPG4] (timer_settime): Likewise.
40134 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40135 [XPG3 || XPG4] (getlogin_r): Likewise.
40136 [XPG3 || XPG4] (pread): Likewise.
40137 [XPG3 || XPG4] (pthread_atfork): Likewise.
40138 [XPG3 || XPG4] (pwrite): Likewise.
40141 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40144 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
40146 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40147 finalizing MALLSTREAM.
40149 * sysdeps/mach/hurd/syncfs.c: New file.
40151 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40154 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40155 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40156 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40157 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40158 (_nss_dns_gethostbyname4_r): Likewise.
40159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40160 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40162 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
40165 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40167 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
40169 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40170 * elf/cache.c (print_entry): Print ",AArch64" for
40173 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40174 * elf/cache.c (print_entry): Print ",hard-float" for
40177 2012-11-18 David S. Miller <davem@davemloft.net>
40179 With help from Joseph Myers.
40180 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40182 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40184 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40185 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40187 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40188 * math/libm-test.inc (y0_test): New tests.
40189 (y1_test): New tests.
40190 * sysdeps/i386/fpu/libm-test-ulps: Update.
40191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40194 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
40196 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40198 * configure: Regenerated.
40200 2012-11-17 David S. Miller <davem@davemloft.net>
40203 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40204 nonzero exponents with absolute value below 0x1p-128 to +/-
40207 2012-11-17 Joseph Myers <joseph@codesourcery.com>
40209 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40211 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40213 * posix/getconf-speclist.c: New file.
40214 * posix/posix-envs.def: Likewise.
40215 * posix/confstr.c (START_ENV_GROUP): New macro.
40216 (END_ENV_GROUP): Likewise.
40217 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40218 (KNOWN_PRESENT_ENV_STRING): Likewise.
40219 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40220 (UNKNOWN_ENVIRONMENT): Likewise.
40221 (confstr): Include posix-envs.def instead of handling
40222 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40223 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40224 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40225 (END_ENV_GROUP): Likewise.
40226 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40227 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40228 (UNKNOWN_ENVIRONMENT): Likewise.
40229 (__sysconf): Include posix-envs.def instead of handling associated
40230 cases directly here.
40231 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40232 preprocessing getconf-speclist.c rather than running getconf or
40233 generating empty file.
40235 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
40237 * scripts/check-local-headers.sh: Ignore 'mach' headers.
40239 2012-11-16 Andrej Lajovic <natrij@gmail.com>
40242 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40244 2012-11-16 David S. Miller <davem@davemloft.net>
40246 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40247 smaller than LDBL_EPSILON/2.0L, just return xm1.
40249 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
40251 * elf/tst-array1.c (init): Set constructor priority to 1000.
40252 (fini): Set destructor priority to 1000.
40253 * elf/tst-array2dep.c: Likewise.
40255 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40258 * libio/fileops.c (_IO_new_file_write): Correctly return error.
40259 (_IO_new_file_xsputn): Also return EOF if none of the input
40260 data was written when overflow failed.
40261 * libio/iopadn.c (_IO_padn): Likewise.
40262 * libio/iowpadn.c (_IO_wpadn): Likewise.
40263 * stdio-common/tst-put-error.c: Add copyright notice.
40264 (do_test): Add case for printing padded string.
40265 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40266 _IO_padn returned error.
40267 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40268 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40271 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40273 * libio/libioP.h: Add comment note that the references to C++
40274 bits are now obsolete.
40276 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40278 * math/libm-test.inc (check_complex): Use asprintf.
40280 2012-11-14 Joseph Myers <joseph@codesourcery.com>
40282 * debug/pcprofiledump.c (print_version): Update copyright year.
40283 * malloc/memusagestat.c (print_version): Likewise.
40285 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
40288 * elf/Makefile (tests): Add tst-audit8.
40289 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40290 ($(objpfx)tst-audit8.out): New target.
40291 (tst-audit8-ENV): New variable.
40292 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40293 audit if l_reloc_result is NULL.
40294 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40295 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40296 * elf/tst-audit8.c: New file.
40298 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40300 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40301 * misc/Makefile (CFLAGS-select.c): Define.
40302 * posix/Makefile (CFLAGS-pause.c): Define.
40304 2012-11-13 David S. Miller <davem@davemloft.net>
40306 * crypt/Makefile: Move test targets after toplevel Rules
40307 inclusion. Grab any necessary sysdep routines when linking.
40308 * crypt/md5.c (md5_process_block): Remove define, we will always
40309 name it __md5_process_block.
40310 (md5_finish_ctx): Update md5_process_block call.
40311 (md5_stream): Likewise.
40312 (md5_process_bytes): Likewise.
40313 (md5_process_block): Rename to __md5_process_block and move to ...
40314 * crypt/md5-block.c: ... here.
40315 * crypt/sha256.c (sha256_process_block): Move to ...
40316 * crypt/sha256-block.c: ... here.
40317 * crypt/sha512.c (sha512_process_block): Move to ...
40318 * crypt/sha512-block.c: ... here.
40319 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40321 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40322 * sysdeps/sparc/sparc64/multiarch/Makefile
40323 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40325 (localedef-aux): Add md5 crypto assembler when in locale subdir.
40326 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40328 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40329 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40330 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40331 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40332 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40333 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40334 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40335 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40336 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40338 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40339 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40341 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40343 2012-11-13 Joseph Myers <joseph@codesourcery.com>
40345 * timezone/tzselect.ksh: Update from tzcode git revision
40346 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40347 * timezone/zdump.c: Likewise.
40348 * timezone/zic.c: Likewise.
40349 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40350 in TZVERSION setting, not $(PKGVERSION).
40351 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
40352 REPORT_BUGS_TO settings.
40355 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40358 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40360 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40361 detection to immediately after _FP_ROUND().
40362 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40365 2012-11-11 David S. Miller <davem@davemloft.net>
40367 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40369 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40370 __close rather than their public counterparts.
40372 2012-11-10 Joseph Myers <joseph@codesourcery.com>
40374 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40376 [UNIX98] (sem_timedwait): Do not expect.
40377 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40378 [XPG4 || UNIX98] (sockatmark): Do not expect.
40379 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40380 (clock_getcpuclockid): Do not expect.
40381 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40382 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40384 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40385 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40386 [UNIX98] (vwscanf): Likewise.
40387 [UNIX98] (vswscanf): Likewise.
40389 2012-11-09 Joseph Myers <joseph@codesourcery.com>
40391 * timezone/version.h: Remove file.
40392 * timezone/README: Do not refer to version.h.
40393 * timezone/Makefile ($(objpfx)zic.o): New dependency on
40394 $(objpfx)version.h.
40395 ($(objpfx)zdump.o): Likewise.
40396 ($(objpfx)version.h): New target.
40398 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40400 * timezone/README: Don't mention modification to tzselect.ksh.
40401 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40402 work on unmodified tzselect.ksh. Substitute version numbers in
40405 * Makefile (format-me): Remove.
40406 (INSTALL): Adjust indentation. Use commands directly instead of
40407 using $(format-me).
40409 * aclocal.m4 (ACX_PKGVERSION): New macro.
40410 (ACX_BUGURL): Likewise.
40411 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40412 (PKGVERSION): New AC_DEFINE_UNQUOTED.
40413 (REPORT_BUGS_TO): Likewise.
40414 * configure: Regenerated.
40415 * config.h.in (PKGVERSION): New macro.
40416 (REPORT_BUGS_TO): Likewise.
40417 * config.make.in (PKGVERSION): New variable.
40418 (PKGVERSION_TEXI): Likewise.
40419 (REPORT_BUGS_TO): Likewise.
40420 (REPORT_BUGS_TEXI): Likewise.
40421 * Makefile (format-me): Use -I$(common-objpfx)manual.
40422 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40423 ($(common-objpfx)manual/%): New target.
40424 (manual/%): Remove target.
40425 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40426 (print_version): Use PKGVERSION.
40427 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40428 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40429 and REPORT_BUGS_TO.
40430 ($(objpfx)xtrace): Likewise.
40431 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40432 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40433 (print_version): Use PKGVERSION.
40434 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40435 (do_version): Use PKGVERSION.
40436 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40438 (common-ldd-rewrite): Likewise.
40439 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40440 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40441 (print_version): Use PKGVERSION.
40442 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40443 * elf/pldd.c (argp_program_bug_address): Remove variable.
40444 (more_help): New function.
40445 (argp): Use more_help.
40446 (print_version): Use PKGVERSION.
40447 * elf/sln.c (main): Use PKGVERSION.
40448 (usage): Use REPORT_BUGS_TO.
40449 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40450 (top level): Use PKGVERSION.
40451 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40452 (print_version): Use PKGVERSION.
40453 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40454 (print_version): Use PKGVERSION.
40455 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40456 (print_version): Use PKGVERSION.
40457 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40458 (print_version): Use PKGVERSION.
40459 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40460 (print_version): Use PKGVERSION.
40461 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40462 (print_version): Use PKGVERSION.
40463 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40465 ($(objpfx)memusage): Likewise.
40466 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40467 (do_version): Use PKGVERSION.
40468 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40469 (print_version): Use PKGVERSION.
40470 * malloc/mtrace.pl ($PACKAGE): Remove variable.
40471 ($PKGVERSION): New variable.
40472 ($REPORT_BUGS_TO): Likewise.
40473 (usage): Use $REPORT_BUGS_TO.
40474 (top level): Use $PKGVERSION.
40475 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40476 ($(objpfx)pkgvers.texi): New rule.
40477 ($(objpfx)stamp-pkgvers): Likewise.
40478 * manual/install.texi: Include pkgvers.texi.
40479 (--with-pkgversion): Document new configure option.
40480 (--with-bugurl): Likewise.
40481 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40482 than necessarily for this particular distribution. Use
40483 REPORT_BUGS_TO for where to report bugs.
40484 * INSTALL: Regenerated.
40485 * manual/libc.texinfo: Include pkgvers.texi.
40486 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40487 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40488 (print_version): Use PKGVERSION.
40489 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40490 (print_version): Use PKGVERSION.
40491 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40492 (print_version): Use PKGVERSION.
40493 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40494 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40496 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40497 (print_version): Use PKGVERSION.
40498 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40499 (print_version): Use PKGVERSION.
40500 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40503 * timezone/checktab.awk: Update from tzcode 2012i.
40504 * timezone/ialloc.c: Likewise.
40505 * timezone/private.h: Likewise.
40506 * timezone/scheck.c: Likewise.
40507 * timezone/tzfile.h: Likewise.
40508 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40509 (TZVERSION): Hardcode tzcode version number.
40510 * timezone/zdump.c: Update from tzcode 2012i.
40511 * timezone/zic.c: Likewise.
40512 * timezone/version.h: New file.
40513 * timezone/README: Describe version.h. Update upstream location.
40516 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40517 (mktemp): Enable declaration.
40518 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40519 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40520 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40521 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40525 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40527 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40529 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40535 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40536 offset in buffer as u_int32_t not u_long. Consistently use memcpy
40537 for copies of such integer values.
40538 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40539 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40541 2012-11-09 Andreas Jaeger <aj@suse.de>
40543 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40544 definitions and declarations that are provided by
40545 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40547 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40549 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40550 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40551 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40554 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40556 * elf/elf.h: Update comment before AArch64 relocations.
40558 2012-11-07 David S. Miller <davem@davemloft.net>
40560 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40561 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40562 (__start_context): Declare.
40563 (__makecontext_ret): Delete.
40564 (__makecontext): Hook up __start_context instead of
40566 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40567 (sysdep_routines): Add __start_context when in stdlib.
40569 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40571 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40572 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40573 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
40575 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
40576 (READELF): New variable. Use it instead of hardcoded "readelf".
40578 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
40580 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40581 * sysdeps/x86/Makefile: Here.
40582 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40583 * sysdeps/x86/tst-xmmymm.sh: This.
40585 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40587 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40589 [UNIX98] (pthread_barrier_t): Do not expect.
40590 [UNIX98] (pthread_barrierattr_t): Likewise.
40591 [UNIX98] (pthread_spinlock_t): Likewise.
40592 [UNIX98] (pthread_barrier_destroy): Likewise.
40593 [UNIX98] (pthread_barrier_init): Likewise.
40594 [UNIX98] (pthread_barrier_wait): Likewise.
40595 [UNIX98] (pthread_barrierattr_destroy): Likewise.
40596 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40597 [UNIX98] (pthread_barrierattr_init): Likewise.
40598 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40599 [UNIX98] (pthread_getcpuclockid): Likewise.
40600 [UNIX98] (pthread_mutex_timedlock): Likewise.
40601 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40602 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40603 [UNIX98] (pthread_sigmask): Likewise.
40604 [UNIX98] (pthread_spin_destroy): Likewise.
40605 [UNIX98] (pthread_spin_init): Likewise.
40606 [UNIX98] (pthread_spin_lock): Likewise.
40607 [UNIX98] (pthread_spin_trylock): Likewise.
40608 [UNIX98] (pthread_spin_unlock): Likewise.
40609 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40611 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40612 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40613 [XPG3 || XPG4] (pthread_cond_t): Likewise.
40614 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40615 [XPG3 || XPG4] (pthread_key_t): Likewise.
40616 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40617 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40618 [XPG3 || XPG4] (pthread_once_t): Likewise.
40619 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40620 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40621 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40622 [XPG3 || XPG4] (pthread_t): Likewise.
40624 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40626 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40628 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40629 Change function return type to int.
40631 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40632 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40633 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40634 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40635 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40636 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40637 [!POSIX] (posix_madvise): Likewise.
40638 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40640 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40641 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40642 (mode_t): Likewise.
40643 (posix_mem_offset): Likewise.
40644 (posix_typed_mem_get_info): Likewise.
40645 (posix_typed_mem_open): Likewise.
40647 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40648 Change condition to [XOPEN2K8].
40650 * conform/conformtest.pl: Preprocess allow-header data with -x c
40651 instead of from stdin.
40652 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40653 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40654 [C99-based standards] (cerfc): Likewise.
40655 [C99-based standards] (cexp2): Likewise.
40656 [C99-based standards] (cexpm1): Likewise.
40657 [C99-based standards] (clog10): Likewise.
40658 [C99-based standards] (clog1p): Likewise.
40659 [C99-based standards] (clog2): Likewise.
40660 [C99-based standards] (clgamma): Likewise.
40661 [C99-based standards] (ctgamma): Likewise.
40662 [C99-based standards] (cerff): Likewise.
40663 [C99-based standards] (cerfcf): Likewise.
40664 [C99-based standards] (cexp2f): Likewise.
40665 [C99-based standards] (cexpm1f): Likewise.
40666 [C99-based standards] (clog10f): Likewise.
40667 [C99-based standards] (clog1pf): Likewise.
40668 [C99-based standards] (clog2f): Likewise.
40669 [C99-based standards] (clgammaf): Likewise.
40670 [C99-based standards] (ctgammaf): Likewise.
40671 [C99-based standards] (cerfl): Likewise.
40672 [C99-based standards] (cerfcl): Likewise.
40673 [C99-based standards] (cexp2l): Likewise.
40674 [C99-based standards] (cexpm1l): Likewise.
40675 [C99-based standards] (clog10l): Likewise.
40676 [C99-based standards] (clog1pl): Likewise.
40677 [C99-based standards] (clog2l): Likewise.
40678 [C99-based standards] (clgammal): Likewise.
40679 [C99-based standards] (ctgammal): Likewise.
40680 * conform/data/inttypes.h-data [C99-based standards]: Include
40681 stdint.h-data. Remove all expectations for stdint.h contents.
40682 [C99-based standards] (PRI*): Do not allow.
40683 [C99-based standards] (SCN*): Likewise.
40684 [C99-based standards] (*_t): Likewise.
40685 [C99-based-standards] (PRId8): Expect macro.
40686 [C99-based-standards] (PRIi8): Likewise.
40687 [C99-based-standards] (PRIo8): Likewise.
40688 [C99-based-standards] (PRIu8): Likewise.
40689 [C99-based-standards] (PRIx8): Likewise.
40690 [C99-based-standards] (PRIX8): Likewise.
40691 [C99-based-standards] (SCNd8): Likewise.
40692 [C99-based-standards] (SCNi8): Likewise.
40693 [C99-based-standards] (SCNo8): Likewise.
40694 [C99-based-standards] (SCNu8): Likewise.
40695 [C99-based-standards] (SCNx8): Likewise.
40696 [C99-based-standards] (PRIdLEAST8): Likewise.
40697 [C99-based-standards] (PRIiLEAST8): Likewise.
40698 [C99-based-standards] (PRIoLEAST8): Likewise.
40699 [C99-based-standards] (PRIuLEAST8): Likewise.
40700 [C99-based-standards] (PRIxLEAST8): Likewise.
40701 [C99-based-standards] (PRIXLEAST8): Likewise.
40702 [C99-based-standards] (SCNdLEAST8): Likewise.
40703 [C99-based-standards] (SCNiLEAST8): Likewise.
40704 [C99-based-standards] (SCNoLEAST8): Likewise.
40705 [C99-based-standards] (SCNuLEAST8): Likewise.
40706 [C99-based-standards] (SCNxLEAST8): Likewise.
40707 [C99-based-standards] (PRIdFAST8): Likewise.
40708 [C99-based-standards] (PRIiFAST8): Likewise.
40709 [C99-based-standards] (PRIoFAST8): Likewise.
40710 [C99-based-standards] (PRIuFAST8): Likewise.
40711 [C99-based-standards] (PRIxFAST8): Likewise.
40712 [C99-based-standards] (PRIXFAST8): Likewise.
40713 [C99-based-standards] (SCNdFAST8): Likewise.
40714 [C99-based-standards] (SCNiFAST8): Likewise.
40715 [C99-based-standards] (SCNoFAST8): Likewise.
40716 [C99-based-standards] (SCNuFAST8): Likewise.
40717 [C99-based-standards] (SCNxFAST8): Likewise.
40718 [C99-based-standards] (PRId16): Likewise.
40719 [C99-based-standards] (PRIi16): Likewise.
40720 [C99-based-standards] (PRIo16): Likewise.
40721 [C99-based-standards] (PRIu16): Likewise.
40722 [C99-based-standards] (PRIx16): Likewise.
40723 [C99-based-standards] (PRIX16): Likewise.
40724 [C99-based-standards] (SCNd16): Likewise.
40725 [C99-based-standards] (SCNi16): Likewise.
40726 [C99-based-standards] (SCNo16): Likewise.
40727 [C99-based-standards] (SCNu16): Likewise.
40728 [C99-based-standards] (SCNx16): Likewise.
40729 [C99-based-standards] (PRIdLEAST16): Likewise.
40730 [C99-based-standards] (PRIiLEAST16): Likewise.
40731 [C99-based-standards] (PRIoLEAST16): Likewise.
40732 [C99-based-standards] (PRIuLEAST16): Likewise.
40733 [C99-based-standards] (PRIxLEAST16): Likewise.
40734 [C99-based-standards] (PRIXLEAST16): Likewise.
40735 [C99-based-standards] (SCNdLEAST16): Likewise.
40736 [C99-based-standards] (SCNiLEAST16): Likewise.
40737 [C99-based-standards] (SCNoLEAST16): Likewise.
40738 [C99-based-standards] (SCNuLEAST16): Likewise.
40739 [C99-based-standards] (SCNxLEAST16): Likewise.
40740 [C99-based-standards] (PRIdFAST16): Likewise.
40741 [C99-based-standards] (PRIiFAST16): Likewise.
40742 [C99-based-standards] (PRIoFAST16): Likewise.
40743 [C99-based-standards] (PRIuFAST16): Likewise.
40744 [C99-based-standards] (PRIxFAST16): Likewise.
40745 [C99-based-standards] (PRIXFAST16): Likewise.
40746 [C99-based-standards] (SCNdFAST16): Likewise.
40747 [C99-based-standards] (SCNiFAST16): Likewise.
40748 [C99-based-standards] (SCNoFAST16): Likewise.
40749 [C99-based-standards] (SCNuFAST16): Likewise.
40750 [C99-based-standards] (SCNxFAST16): Likewise.
40751 [C99-based-standards] (PRId32): Likewise.
40752 [C99-based-standards] (PRIi32): Likewise.
40753 [C99-based-standards] (PRIo32): Likewise.
40754 [C99-based-standards] (PRIu32): Likewise.
40755 [C99-based-standards] (PRIx32): Likewise.
40756 [C99-based-standards] (PRIX32): Likewise.
40757 [C99-based-standards] (SCNd32): Likewise.
40758 [C99-based-standards] (SCNi32): Likewise.
40759 [C99-based-standards] (SCNo32): Likewise.
40760 [C99-based-standards] (SCNu32): Likewise.
40761 [C99-based-standards] (SCNx32): Likewise.
40762 [C99-based-standards] (PRIdLEAST32): Likewise.
40763 [C99-based-standards] (PRIiLEAST32): Likewise.
40764 [C99-based-standards] (PRIoLEAST32): Likewise.
40765 [C99-based-standards] (PRIuLEAST32): Likewise.
40766 [C99-based-standards] (PRIxLEAST32): Likewise.
40767 [C99-based-standards] (PRIXLEAST32): Likewise.
40768 [C99-based-standards] (SCNdLEAST32): Likewise.
40769 [C99-based-standards] (SCNiLEAST32): Likewise.
40770 [C99-based-standards] (SCNoLEAST32): Likewise.
40771 [C99-based-standards] (SCNuLEAST32): Likewise.
40772 [C99-based-standards] (SCNxLEAST32): Likewise.
40773 [C99-based-standards] (PRIdFAST32): Likewise.
40774 [C99-based-standards] (PRIiFAST32): Likewise.
40775 [C99-based-standards] (PRIoFAST32): Likewise.
40776 [C99-based-standards] (PRIuFAST32): Likewise.
40777 [C99-based-standards] (PRIxFAST32): Likewise.
40778 [C99-based-standards] (PRIXFAST32): Likewise.
40779 [C99-based-standards] (SCNdFAST32): Likewise.
40780 [C99-based-standards] (SCNiFAST32): Likewise.
40781 [C99-based-standards] (SCNoFAST32): Likewise.
40782 [C99-based-standards] (SCNuFAST32): Likewise.
40783 [C99-based-standards] (SCNxFAST32): Likewise.
40784 [C99-based-standards] (PRId64): Likewise.
40785 [C99-based-standards] (PRIi64): Likewise.
40786 [C99-based-standards] (PRIo64): Likewise.
40787 [C99-based-standards] (PRIu64): Likewise.
40788 [C99-based-standards] (PRIx64): Likewise.
40789 [C99-based-standards] (PRIX64): Likewise.
40790 [C99-based-standards] (SCNd64): Likewise.
40791 [C99-based-standards] (SCNi64): Likewise.
40792 [C99-based-standards] (SCNo64): Likewise.
40793 [C99-based-standards] (SCNu64): Likewise.
40794 [C99-based-standards] (SCNx64): Likewise.
40795 [C99-based-standards] (PRIdLEAST64): Likewise.
40796 [C99-based-standards] (PRIiLEAST64): Likewise.
40797 [C99-based-standards] (PRIoLEAST64): Likewise.
40798 [C99-based-standards] (PRIuLEAST64): Likewise.
40799 [C99-based-standards] (PRIxLEAST64): Likewise.
40800 [C99-based-standards] (PRIXLEAST64): Likewise.
40801 [C99-based-standards] (SCNdLEAST64): Likewise.
40802 [C99-based-standards] (SCNiLEAST64): Likewise.
40803 [C99-based-standards] (SCNoLEAST64): Likewise.
40804 [C99-based-standards] (SCNuLEAST64): Likewise.
40805 [C99-based-standards] (SCNxLEAST64): Likewise.
40806 [C99-based-standards] (PRIdFAST64): Likewise.
40807 [C99-based-standards] (PRIiFAST64): Likewise.
40808 [C99-based-standards] (PRIoFAST64): Likewise.
40809 [C99-based-standards] (PRIuFAST64): Likewise.
40810 [C99-based-standards] (PRIxFAST64): Likewise.
40811 [C99-based-standards] (PRIXFAST64): Likewise.
40812 [C99-based-standards] (SCNdFAST64): Likewise.
40813 [C99-based-standards] (SCNiFAST64): Likewise.
40814 [C99-based-standards] (SCNoFAST64): Likewise.
40815 [C99-based-standards] (SCNuFAST64): Likewise.
40816 [C99-based-standards] (SCNxFAST64): Likewise.
40817 [C99-based-standards] (PRIdMAX): Likewise.
40818 [C99-based-standards] (PRIiMAX): Likewise.
40819 [C99-based-standards] (PRIoMAX): Likewise.
40820 [C99-based-standards] (PRIuMAX): Likewise.
40821 [C99-based-standards] (PRIxMAX): Likewise.
40822 [C99-based-standards] (PRIXMAX): Likewise.
40823 [C99-based-standards] (SCNdMAX): Likewise.
40824 [C99-based-standards] (SCNiMAX): Likewise.
40825 [C99-based-standards] (SCNoMAX): Likewise.
40826 [C99-based-standards] (SCNuMAX): Likewise.
40827 [C99-based-standards] (SCNxMAX): Likewise.
40828 [C99-based-standards] (PRIdPTR): Likewise.
40829 [C99-based-standards] (PRIiPTR): Likewise.
40830 [C99-based-standards] (PRIoPTR): Likewise.
40831 [C99-based-standards] (PRIuPTR): Likewise.
40832 [C99-based-standards] (PRIxPTR): Likewise.
40833 [C99-based-standards] (PRIXPTR): Likewise.
40834 [C99-based-standards] (SCNdPTR): Likewise.
40835 [C99-based-standards] (SCNiPTR): Likewise.
40836 [C99-based-standards] (SCNoPTR): Likewise.
40837 [C99-based-standards] (SCNuPTR): Likewise.
40838 [C99-based-standards] (SCNxPTR): Likewise.
40839 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40841 * conform/data/stdint.h-data: Update comments to clarify
40843 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
40845 [C99-based standards] (INT8_MAX): Likewise.
40846 [C99-based standards] (INT16_MIN): Likewise.
40847 [C99-based standards] (INT16_MAX): Likewise.
40848 [C99-based standards] (INT32_MIN): Likewise.
40849 [C99-based standards] (INT32_MAX): Likewise.
40850 [C99-based standards] (INT64_MIN): Likewise.
40851 [C99-based standards] (INT64_MAX): Likewise.
40852 [C99-based standards] (UINT8_MAX): Likewise.
40853 [C99-based standards] (UINT16_MAX): Likewise.
40854 [C99-based standards] (UINT32_MAX): Likewise.
40855 [C99-based standards] (UINT64_MAX): Likewise.
40856 [C99-based standards] (INT_LEAST8_MIN): Likewise.
40857 [C99-based standards] (INT_LEAST8_MAX): Likewise.
40858 [C99-based standards] (INT_LEAST16_MIN): Likewise.
40859 [C99-based standards] (INT_LEAST16_MAX): Likewise.
40860 [C99-based standards] (INT_LEAST32_MIN): Likewise.
40861 [C99-based standards] (INT_LEAST32_MAX): Likewise.
40862 [C99-based standards] (INT_LEAST64_MIN): Likewise.
40863 [C99-based standards] (INT_LEAST64_MAX): Likewise.
40864 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40865 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40866 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40867 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40868 [C99-based standards] (INT_FAST8_MIN): Likewise.
40869 [C99-based standards] (INT_FAST8_MAX): Likewise.
40870 [C99-based standards] (INT_FAST16_MIN): Likewise.
40871 [C99-based standards] (INT_FAST16_MAX): Likewise.
40872 [C99-based standards] (INT_FAST32_MIN): Likewise.
40873 [C99-based standards] (INT_FAST32_MAX): Likewise.
40874 [C99-based standards] (INT_FAST64_MIN): Likewise.
40875 [C99-based standards] (INT_FAST64_MAX): Likewise.
40876 [C99-based standards] (UINT_FAST8_MAX): Likewise.
40877 [C99-based standards] (UINT_FAST16_MAX): Likewise.
40878 [C99-based standards] (UINT_FAST32_MAX): Likewise.
40879 [C99-based standards] (UINT_FAST64_MAX): Likewise.
40880 [C99-based standards] (INTPTR_MIN): Likewise.
40881 [C99-based standards] (INTPTR_MAX): Likewise.
40882 [C99-based standards] (UINTPTR_MAX): Likewise.
40883 [C99-based standards] (INTMAX_MIN): Likewise.
40884 [C99-based standards] (INTMAX_MAX): Likewise.
40885 [C99-based standards] (UINTMAX_MAX): Likewise.
40886 [C99-based standards] (PTRDIFF_MIN): Likewise.
40887 [C99-based standards] (PTRDIFF_MAX): Likewise.
40888 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40889 [C99-based standards] (SIZE_MAX): Likewise.
40890 [C99-based standards] (WCHAR_MAX): Likewise.
40891 [C99-based standards] (WINT_MAX): Likewise.
40892 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
40893 constraint on value.
40894 [C99-based standards] (WCHAR_MIN): Likewise.
40895 [C99-based standards] (WINT_MIN): Likewise.
40896 [C99-based standards] (*_t): Allow.
40897 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40898 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40899 Include math.h-data and complex.h-data. Remove all expectations
40900 of math.h and complex.h contents.
40901 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40903 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40904 (struct tm): Expect tag.
40905 [C99-based-standards] (wcstof): Expect function.
40906 [C99-based-standards] (wcstold): Likewise.
40907 [C99-based-standards] (wcstoll): Likewise.
40908 [C99-based-standards] (wcstoull): Likewise.
40909 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40910 macro-int-constant. Specify type.
40911 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
40912 constraint on value.
40913 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40915 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40917 [ISO C standards]: Do not allow headers.
40918 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40919 wcs[abcdefghijklmnopqrstuvwxyz]*.
40920 [ISO C standards] (*_t): Do not allow.
40921 * conform/data/wctype.h-data [C99-based standards] (iswblank):
40923 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40924 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40926 [ISO C standards]: Do not allow headers.
40927 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40928 is[abcdefghijklmnopqrstuvwxyz]*.
40929 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40930 to[abcdefghijklmnopqrstuvwxyz]*.
40931 [ISO C standards] (*_t): Do not allow.
40932 * conform/data/stdalign.h-data: New file.
40933 * conform/data/stdbool.h-data: Likewise.
40934 * conform/data/stdnoreturn.h-data: Likewise.
40936 2012-11-07 Roland McGrath <roland@hack.frob.com>
40939 * manual/filesys.texi (Directory Entries): Typo fix.
40940 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40942 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40944 * elf/elf.h (EM_AARCH64): New macro.
40945 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40946 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40947 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40948 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40949 (R_AARCH64_TLSDESC): Likewise.
40950 (NT_ARM_TLS): Likewise.
40951 (NT_ARM_HW_BREAK): Likewise.
40952 (NT_ARM_HW_WATCH): Likewise.
40954 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40957 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40958 (__ieee754_powl): Saturate nonzero exponents with absolute value
40959 below 0x1p-79 to +/- 0x1p-79.
40960 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40961 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40962 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40963 nonzero exponents with absolute value below 0x1p-32 to +/-
40965 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40966 (__ieee754_powl): Saturate nonzero exponents with absolute value
40967 below 0x1p-79 to +/- 0x1p-79.
40968 * math/libm-test.inc (pow_test): Add more tests.
40970 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40972 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40973 _dl_s390_cap_flags with kernel. Increase string length.
40974 (_dl_s390_platforms): Add z196 and zEC12.
40976 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40978 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40979 Change XOPEN21K to XOPEN2K.
40981 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
40983 * string/memmove.c: Use memcpy when possible.
40985 2012-11-06 Andreas Jaeger <aj@suse.de>
40987 * po/eo.po: Update from translation team.
40989 2012-11-06 Joseph Myers <joseph@codesourcery.com>
40992 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40993 exponent and small x and y exponents, scale x or y up. Increase
40994 by 2 the exponent used in scaling up.
40995 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40996 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40997 * math/libm-test.inc (fma_test): Add more tests.
40998 (fma_test_towardzero): Likewise.
40999 (fma_test_downward): Likewise.
41000 (fma_test_upward): Likewise.
41002 2012-11-05 Joseph Myers <joseph@codesourcery.com>
41005 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41009 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41010 namespace for names of struct fields.
41011 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41013 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41014 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41016 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
41019 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41021 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
41023 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41027 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41030 2012-11-04 Joseph Myers <joseph@codesourcery.com>
41033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41034 definitely overflow as x * y not x * y + z.
41035 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41036 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41037 * math/libm-test.inc (fma_test): Add more tests.
41038 (fma_test_towardzero): Likewise.
41039 (fma_test_downward): Likewise.
41040 (fma_test_upward): Likewise.
41042 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
41046 * include/stub-tag.h: Remove file.
41047 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41049 * manual/maint.texi (Porting): Don't reference it.
41050 * Makerules ($(objpfx)stubs): Likewise.
41051 * dirent/closedir.c: Don't include <stub-tag.h>.
41052 * dirent/dirfd.c: Likewise.
41053 * dirent/fdopendir.c: Likewise.
41054 * dirent/getdents.c: Likewise.
41055 * dirent/getdents64.c: Likewise.
41056 * dirent/opendir.c: Likewise.
41057 * dirent/readdir.c: Likewise.
41058 * dirent/readdir64.c: Likewise.
41059 * dirent/readdir64_r.c: Likewise.
41060 * dirent/readdir_r.c: Likewise.
41061 * dirent/rewinddir.c: Likewise.
41062 * dirent/seekdir.c: Likewise.
41063 * dirent/telldir.c: Likewise.
41064 * gmon/profil.c: Likewise.
41065 * grp/setgroups.c: Likewise.
41066 * inet/if_index.c: Likewise.
41067 * io/access.c: Likewise.
41068 * io/chdir.c: Likewise.
41069 * io/chmod.c: Likewise.
41070 * io/chown.c: Likewise.
41071 * io/close.c: Likewise.
41072 * io/dup.c: Likewise.
41073 * io/dup2.c: Likewise.
41074 * io/dup3.c: Likewise.
41075 * io/euidaccess.c: Likewise.
41076 * io/faccessat.c: Likewise.
41077 * io/fchdir.c: Likewise.
41078 * io/fchmod.c: Likewise.
41079 * io/fchmodat.c: Likewise.
41080 * io/fchown.c: Likewise.
41081 * io/fchownat.c: Likewise.
41082 * io/fcntl.c: Likewise.
41083 * io/flock.c: Likewise.
41084 * io/fstatfs.c: Likewise.
41085 * io/fstatfs64.c: Likewise.
41086 * io/fstatvfs.c: Likewise.
41087 * io/fstatvfs64.c: Likewise.
41088 * io/futimens.c: Likewise.
41089 * io/fxstat.c: Likewise.
41090 * io/fxstat64.c: Likewise.
41091 * io/fxstatat.c: Likewise.
41092 * io/fxstatat64.c: Likewise.
41093 * io/getcwd.c: Likewise.
41094 * io/isatty.c: Likewise.
41095 * io/lchmod.c: Likewise.
41096 * io/lchown.c: Likewise.
41097 * io/link.c: Likewise.
41098 * io/linkat.c: Likewise.
41099 * io/lseek.c: Likewise.
41100 * io/lseek64.c: Likewise.
41101 * io/lxstat64.c: Likewise.
41102 * io/mkdir.c: Likewise.
41103 * io/mkdirat.c: Likewise.
41104 * io/mkfifo.c: Likewise.
41105 * io/mkfifoat.c: Likewise.
41106 * io/open.c: Likewise.
41107 * io/open64.c: Likewise.
41108 * io/openat.c: Likewise.
41109 * io/openat64.c: Likewise.
41110 * io/pipe.c: Likewise.
41111 * io/pipe2.c: Likewise.
41112 * io/poll.c: Likewise.
41113 * io/posix_fadvise.c: Likewise.
41114 * io/posix_fadvise64.c: Likewise.
41115 * io/posix_fallocate.c: Likewise.
41116 * io/posix_fallocate64.c: Likewise.
41117 * io/read.c: Likewise.
41118 * io/readlink.c: Likewise.
41119 * io/readlinkat.c: Likewise.
41120 * io/rmdir.c: Likewise.
41121 * io/sendfile.c: Likewise.
41122 * io/sendfile64.c: Likewise.
41123 * io/statfs.c: Likewise.
41124 * io/statfs64.c: Likewise.
41125 * io/statvfs.c: Likewise.
41126 * io/statvfs64.c: Likewise.
41127 * io/symlink.c: Likewise.
41128 * io/symlinkat.c: Likewise.
41129 * io/ttyname.c: Likewise.
41130 * io/ttyname_r.c: Likewise.
41131 * io/umask.c: Likewise.
41132 * io/unlink.c: Likewise.
41133 * io/unlinkat.c: Likewise.
41134 * io/utime.c: Likewise.
41135 * io/utimensat.c: Likewise.
41136 * io/write.c: Likewise.
41137 * io/xmknod.c: Likewise.
41138 * io/xmknodat.c: Likewise.
41139 * io/xstat.c: Likewise.
41140 * io/xstat64.c: Likewise.
41141 * login/getpt.c: Likewise.
41142 * login/grantpt.c: Likewise.
41143 * login/unlockpt.c: Likewise.
41144 * math/e_acoshl.c: Likewise.
41145 * math/e_acosl.c: Likewise.
41146 * math/e_asinl.c: Likewise.
41147 * math/e_atan2l.c: Likewise.
41148 * math/e_atanhl.c: Likewise.
41149 * math/e_coshl.c: Likewise.
41150 * math/e_expl.c: Likewise.
41151 * math/e_fmodl.c: Likewise.
41152 * math/e_gammal_r.c: Likewise.
41153 * math/e_hypotl.c: Likewise.
41154 * math/e_j0l.c: Likewise.
41155 * math/e_j1l.c: Likewise.
41156 * math/e_jnl.c: Likewise.
41157 * math/e_lgammal_r.c: Likewise.
41158 * math/e_log10l.c: Likewise.
41159 * math/e_log2l.c: Likewise.
41160 * math/e_logl.c: Likewise.
41161 * math/e_powl.c: Likewise.
41162 * math/e_rem_pio2l.c: Likewise.
41163 * math/e_sinhl.c: Likewise.
41164 * math/e_sqrtl.c: Likewise.
41165 * math/fclrexcpt.c: Likewise.
41166 * math/fedisblxcpt.c: Likewise.
41167 * math/feenablxcpt.c: Likewise.
41168 * math/fegetenv.c: Likewise.
41169 * math/fegetexcept.c: Likewise.
41170 * math/fegetround.c: Likewise.
41171 * math/feholdexcpt.c: Likewise.
41172 * math/fesetenv.c: Likewise.
41173 * math/fesetround.c: Likewise.
41174 * math/feupdateenv.c: Likewise.
41175 * math/fgetexcptflg.c: Likewise.
41176 * math/fraiseexcpt.c: Likewise.
41177 * math/fsetexcptflg.c: Likewise.
41178 * math/ftestexcept.c: Likewise.
41179 * math/k_cosl.c: Likewise.
41180 * math/k_rem_pio2l.c: Likewise.
41181 * math/k_sinl.c: Likewise.
41182 * math/k_tanl.c: Likewise.
41183 * math/s_asinhl.c: Likewise.
41184 * math/s_atanl.c: Likewise.
41185 * math/s_cbrtl.c: Likewise.
41186 * math/s_erfl.c: Likewise.
41187 * math/s_expm1l.c: Likewise.
41188 * math/s_log1pl.c: Likewise.
41189 * math/s_tanhl.c: Likewise.
41190 * misc/acct.c: Likewise.
41191 * misc/brk.c: Likewise.
41192 * misc/chflags.c: Likewise.
41193 * misc/chroot.c: Likewise.
41194 * misc/fchflags.c: Likewise.
41195 * misc/fgetxattr.c: Likewise.
41196 * misc/flistxattr.c: Likewise.
41197 * misc/fremovexattr.c: Likewise.
41198 * misc/fsetxattr.c: Likewise.
41199 * misc/fsync.c: Likewise.
41200 * misc/ftruncate.c: Likewise.
41201 * misc/futimes.c: Likewise.
41202 * misc/futimesat.c: Likewise.
41203 * misc/getdomain.c: Likewise.
41204 * misc/getdtsz.c: Likewise.
41205 * misc/gethostid.c: Likewise.
41206 * misc/gethostname.c: Likewise.
41207 * misc/getloadavg.c: Likewise.
41208 * misc/getpagesize.c: Likewise.
41209 * misc/getsysstats.c: Likewise.
41210 * misc/getxattr.c: Likewise.
41211 * misc/gtty.c: Likewise.
41212 * misc/ioctl.c: Likewise.
41213 * misc/lgetxattr.c: Likewise.
41214 * misc/listxattr.c: Likewise.
41215 * misc/llistxattr.c: Likewise.
41216 * misc/lremovexattr.c: Likewise.
41217 * misc/lsetxattr.c: Likewise.
41218 * misc/lutimes.c: Likewise.
41219 * misc/madvise.c: Likewise.
41220 * misc/mincore.c: Likewise.
41221 * misc/mlock.c: Likewise.
41222 * misc/mlockall.c: Likewise.
41223 * misc/mmap.c: Likewise.
41224 * misc/mprotect.c: Likewise.
41225 * misc/msync.c: Likewise.
41226 * misc/munlock.c: Likewise.
41227 * misc/munlockall.c: Likewise.
41228 * misc/munmap.c: Likewise.
41229 * misc/preadv.c: Likewise.
41230 * misc/preadv64.c: Likewise.
41231 * misc/ptrace.c: Likewise.
41232 * misc/pwritev.c: Likewise.
41233 * misc/pwritev64.c: Likewise.
41234 * misc/readv.c: Likewise.
41235 * misc/reboot.c: Likewise.
41236 * misc/remap_file_pages.c: Likewise.
41237 * misc/removexattr.c: Likewise.
41238 * misc/revoke.c: Likewise.
41239 * misc/select.c: Likewise.
41240 * misc/setdomain.c: Likewise.
41241 * misc/setegid.c: Likewise.
41242 * misc/seteuid.c: Likewise.
41243 * misc/sethostid.c: Likewise.
41244 * misc/sethostname.c: Likewise.
41245 * misc/setregid.c: Likewise.
41246 * misc/setreuid.c: Likewise.
41247 * misc/setxattr.c: Likewise.
41248 * misc/sstk.c: Likewise.
41249 * misc/stty.c: Likewise.
41250 * misc/swapoff.c: Likewise.
41251 * misc/swapon.c: Likewise.
41252 * misc/sync.c: Likewise.
41253 * misc/syncfs.c: Likewise.
41254 * misc/syscall.c: Likewise.
41255 * misc/truncate.c: Likewise.
41256 * misc/ualarm.c: Likewise.
41257 * misc/usleep.c: Likewise.
41258 * misc/ustat.c: Likewise.
41259 * misc/utimes.c: Likewise.
41260 * misc/vhangup.c: Likewise.
41261 * misc/writev.c: Likewise.
41262 * posix/_exit.c: Likewise.
41263 * posix/alarm.c: Likewise.
41264 * posix/execve.c: Likewise.
41265 * posix/fexecve.c: Likewise.
41266 * posix/fork.c: Likewise.
41267 * posix/fpathconf.c: Likewise.
41268 * posix/getaddrinfo.c: Likewise.
41269 * posix/getegid.c: Likewise.
41270 * posix/geteuid.c: Likewise.
41271 * posix/getgid.c: Likewise.
41272 * posix/getgroups.c: Likewise.
41273 * posix/getlogin.c: Likewise.
41274 * posix/getlogin_r.c: Likewise.
41275 * posix/getpgid.c: Likewise.
41276 * posix/getpid.c: Likewise.
41277 * posix/getppid.c: Likewise.
41278 * posix/getresgid.c: Likewise.
41279 * posix/getresuid.c: Likewise.
41280 * posix/getsid.c: Likewise.
41281 * posix/getuid.c: Likewise.
41282 * posix/glob64.c: Likewise.
41283 * posix/nanosleep.c: Likewise.
41284 * posix/pathconf.c: Likewise.
41285 * posix/pause.c: Likewise.
41286 * posix/posix_madvise.c: Likewise.
41287 * posix/pread.c: Likewise.
41288 * posix/pread64.c: Likewise.
41289 * posix/pwrite.c: Likewise.
41290 * posix/pwrite64.c: Likewise.
41291 * posix/sched_getaffinity.c: Likewise.
41292 * posix/sched_getp.c: Likewise.
41293 * posix/sched_gets.c: Likewise.
41294 * posix/sched_primax.c: Likewise.
41295 * posix/sched_primin.c: Likewise.
41296 * posix/sched_rr_gi.c: Likewise.
41297 * posix/sched_setaffinity.c: Likewise.
41298 * posix/sched_setp.c: Likewise.
41299 * posix/sched_sets.c: Likewise.
41300 * posix/sched_yield.c: Likewise.
41301 * posix/setgid.c: Likewise.
41302 * posix/setlogin.c: Likewise.
41303 * posix/setpgid.c: Likewise.
41304 * posix/setresgid.c: Likewise.
41305 * posix/setresuid.c: Likewise.
41306 * posix/setsid.c: Likewise.
41307 * posix/setuid.c: Likewise.
41308 * posix/sleep.c: Likewise.
41309 * posix/spawni.c: Likewise.
41310 * posix/sysconf.c: Likewise.
41311 * posix/times.c: Likewise.
41312 * posix/wait.c: Likewise.
41313 * posix/wait3.c: Likewise.
41314 * posix/wait4.c: Likewise.
41315 * posix/waitpid.c: Likewise.
41316 * resolv/gai_sigqueue.c: Likewise.
41317 * resource/getpriority.c: Likewise.
41318 * resource/getrlimit.c: Likewise.
41319 * resource/getrusage.c: Likewise.
41320 * resource/nice.c: Likewise.
41321 * resource/setpriority.c: Likewise.
41322 * resource/setrlimit.c: Likewise.
41323 * resource/ulimit.c: Likewise.
41324 * rt/aio_cancel.c: Likewise.
41325 * rt/aio_fsync.c: Likewise.
41326 * rt/aio_read.c: Likewise.
41327 * rt/aio_sigqueue.c: Likewise.
41328 * rt/aio_suspend.c: Likewise.
41329 * rt/aio_write.c: Likewise.
41330 * rt/clock_getres.c: Likewise.
41331 * rt/clock_gettime.c: Likewise.
41332 * rt/clock_nanosleep.c: Likewise.
41333 * rt/clock_settime.c: Likewise.
41334 * rt/lio_listio.c: Likewise.
41335 * rt/mq_close.c: Likewise.
41336 * rt/mq_getattr.c: Likewise.
41337 * rt/mq_notify.c: Likewise.
41338 * rt/mq_open.c: Likewise.
41339 * rt/mq_receive.c: Likewise.
41340 * rt/mq_send.c: Likewise.
41341 * rt/mq_setattr.c: Likewise.
41342 * rt/mq_timedreceive.c: Likewise.
41343 * rt/mq_timedsend.c: Likewise.
41344 * rt/mq_unlink.c: Likewise.
41345 * rt/shm_open.c: Likewise.
41346 * rt/shm_unlink.c: Likewise.
41347 * rt/timer_create.c: Likewise.
41348 * rt/timer_delete.c: Likewise.
41349 * rt/timer_getoverr.c: Likewise.
41350 * rt/timer_gettime.c: Likewise.
41351 * rt/timer_settime.c: Likewise.
41352 * setjmp/__longjmp.c: Likewise.
41353 * setjmp/setjmp.c: Likewise.
41354 * signal/kill.c: Likewise.
41355 * signal/killpg.c: Likewise.
41356 * signal/raise.c: Likewise.
41357 * signal/sigaction.c: Likewise.
41358 * signal/sigaltstack.c: Likewise.
41359 * signal/sigblock.c: Likewise.
41360 * signal/sigignore.c: Likewise.
41361 * signal/sigintr.c: Likewise.
41362 * signal/signal.c: Likewise.
41363 * signal/sigpause.c: Likewise.
41364 * signal/sigpending.c: Likewise.
41365 * signal/sigqueue.c: Likewise.
41366 * signal/sigreturn.c: Likewise.
41367 * signal/sigset.c: Likewise.
41368 * signal/sigsetmask.c: Likewise.
41369 * signal/sigstack.c: Likewise.
41370 * signal/sigsuspend.c: Likewise.
41371 * signal/sigtimedwait.c: Likewise.
41372 * signal/sigvec.c: Likewise.
41373 * signal/sigwait.c: Likewise.
41374 * signal/sigwaitinfo.c: Likewise.
41375 * signal/sysv_signal.c: Likewise.
41376 * socket/accept.c: Likewise.
41377 * socket/accept4.c: Likewise.
41378 * socket/bind.c: Likewise.
41379 * socket/connect.c: Likewise.
41380 * socket/getpeername.c: Likewise.
41381 * socket/getsockname.c: Likewise.
41382 * socket/getsockopt.c: Likewise.
41383 * socket/isfdtype.c: Likewise.
41384 * socket/listen.c: Likewise.
41385 * socket/recv.c: Likewise.
41386 * socket/recvfrom.c: Likewise.
41387 * socket/recvmsg.c: Likewise.
41388 * socket/send.c: Likewise.
41389 * socket/sendmsg.c: Likewise.
41390 * socket/sendto.c: Likewise.
41391 * socket/setsockopt.c: Likewise.
41392 * socket/shutdown.c: Likewise.
41393 * socket/sockatmark.c: Likewise.
41394 * socket/socket.c: Likewise.
41395 * socket/socketpair.c: Likewise.
41396 * stdio-common/ctermid.c: Likewise.
41397 * stdio-common/cuserid.c: Likewise.
41398 * stdio-common/remove.c: Likewise.
41399 * stdio-common/rename.c: Likewise.
41400 * stdio-common/renameat.c: Likewise.
41401 * stdio-common/tempname.c: Likewise.
41402 * stdlib/getcontext.c: Likewise.
41403 * stdlib/makecontext.c: Likewise.
41404 * stdlib/setcontext.c: Likewise.
41405 * stdlib/swapcontext.c: Likewise.
41406 * stdlib/system.c: Likewise.
41407 * streams/fattach.c: Likewise.
41408 * streams/fdetach.c: Likewise.
41409 * streams/getmsg.c: Likewise.
41410 * streams/getpmsg.c: Likewise.
41411 * streams/putmsg.c: Likewise.
41412 * streams/putpmsg.c: Likewise.
41413 * sysdeps/unix/bsd/getpt.c: Likewise.
41414 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41415 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41416 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41419 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41420 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41421 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41422 * sysvipc/msgctl.c: Likewise.
41423 * sysvipc/msgget.c: Likewise.
41424 * sysvipc/msgrcv.c: Likewise.
41425 * sysvipc/msgsnd.c: Likewise.
41426 * sysvipc/semctl.c: Likewise.
41427 * sysvipc/semget.c: Likewise.
41428 * sysvipc/semop.c: Likewise.
41429 * sysvipc/semtimedop.c: Likewise.
41430 * sysvipc/shmat.c: Likewise.
41431 * sysvipc/shmctl.c: Likewise.
41432 * sysvipc/shmdt.c: Likewise.
41433 * sysvipc/shmget.c: Likewise.
41434 * termios/tcdrain.c: Likewise.
41435 * termios/tcflow.c: Likewise.
41436 * termios/tcflush.c: Likewise.
41437 * termios/tcgetattr.c: Likewise.
41438 * termios/tcgetpgrp.c: Likewise.
41439 * termios/tcsendbrk.c: Likewise.
41440 * termios/tcsetattr.c: Likewise.
41441 * termios/tcsetpgrp.c: Likewise.
41442 * time/adjtime.c: Likewise.
41443 * time/clock.c: Likewise.
41444 * time/getitimer.c: Likewise.
41445 * time/gettimeofday.c: Likewise.
41446 * time/setitimer.c: Likewise.
41447 * time/settimeofday.c: Likewise.
41448 * time/stime.c: Likewise.
41449 * time/time.c: Likewise.
41451 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
41453 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41456 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41458 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41460 2012-11-03 Joseph Myers <joseph@codesourcery.com>
41463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41464 FE_TONEAREST before applying Dekker multiplication and Knuth
41465 addition. Clear inexact exceptions and check for exact zero
41466 results afterwards.
41467 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41468 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41469 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41470 * math/libm-test.inc (fma_test): Add more tests.
41471 (fma_test_towardzero): Likewise.
41472 (fma_test_downward): Likewise.
41473 (fma_test_upward): Likewise.
41474 * sysdeps/generic/math_private.h (default_libc_fesetround): New
41476 (libc_fesetround): New macro.
41477 (libc_fesetroundf): Likewise.
41478 (libc_fesetroundl): Likewise.
41479 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41481 (libc_fesetround_387): Likewise.
41482 (libc_fesetroundf): New macro.
41483 (libc_fesetround): Likewise.
41484 (libc_fesetroundl): Likewise.
41485 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41487 (libc_fesetroundf): New macro.
41488 (libc_fesetround): Likewise.
41489 (libc_fesetroundl): Likewise.
41490 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41491 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41492 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41494 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41495 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41497 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41498 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41500 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41504 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41505 integer constant usable in #if and use that to give value to enum
41507 (FE_DIVBYZERO): Likewise.
41508 (FE_UNDERFLOW): Likewise.
41509 (FE_OVERFLOW): Likewise.
41510 (FE_INVALID): Likewise.
41511 (FE_INVALID_SNAN): Likewise.
41512 (FE_INVALID_ISI): Likewise.
41513 (FE_INVALID_IDI): Likewise.
41514 (FE_INVALID_ZDZ): Likewise.
41515 (FE_INVALID_IMZ): Likewise.
41516 (FE_INVALID_COMPARE): Likewise.
41517 (FE_INVALID_SOFTWARE): Likewise.
41518 (FE_INVALID_SQRT): Likewise.
41519 (FE_INVALID_INTEGER_CONVERSION): Likewise.
41520 (FE_TONEAREST): Likewise.
41521 (FE_TOWARDZERO): Likewise.
41522 (FE_UPWARD): Likewise.
41523 (FE_DOWNWARD): Likewise.
41524 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41525 (FE_DIVBYZERO): Likewise.
41526 (FE_OVERFLOW): Likewise.
41527 (FE_UNDERFLOW): Likewise.
41528 (FE_INEXACT): Likewise.
41529 (FE_TONEAREST): Likewise.
41530 (FE_DOWNWARD): Likewise.
41531 (FE_UPWARD): Likewise.
41532 (FE_TOWARDZERO): Likewise.
41533 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41534 (FE_UNDERFLOW): Likewise.
41535 (FE_OVERFLOW): Likewise.
41536 (FE_DIVBYZERO): Likewise.
41537 (FE_INVALID): Likewise.
41538 (FE_TONEAREST): Likewise.
41539 (FE_TOWARDZERO): Likewise.
41540 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41541 (FE_OVERFLOW): Likewise.
41542 (FE_UNDERFLOW): Likewise.
41543 (FE_DIVBYZERO): Likewise.
41544 (FE_INEXACT): Likewise.
41545 (FE_TONEAREST): Likewise.
41546 (FE_TOWARDZERO): Likewise.
41547 (FE_UPWARD): Likewise.
41548 (FE_DOWNWARD): Likewise.
41549 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41550 (FE_DIVBYZERO): Likewise.
41551 (FE_OVERFLOW): Likewise.
41552 (FE_UNDERFLOW): Likewise.
41553 (FE_INEXACT): Likewise.
41554 (FE_TONEAREST): Likewise.
41555 (FE_DOWNWARD): Likewise.
41556 (FE_UPWARD): Likewise.
41557 (FE_TOWARDZERO): Likewise.
41559 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
41561 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41563 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
41565 * scripts/cross-test-ssh.sh (command): Use newlines to separate
41566 commands. Quote $PWD.
41567 (blacklist_exports): Don't use remove_newlines. Replace "declare
41569 (remove_newlines): Remove.
41571 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
41573 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41574 * stdlib/stdlib.h (atof): Moved to ...
41575 * include/bits/stdlib-float.h: Here. New file.
41576 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41577 * stdlib/bits/stdlib-float.h: New file.
41578 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41580 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41583 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41585 * conform/conformtest.pl (@headers): Add fenv.h.
41586 * conform/data/fenv.h-data: New file.
41587 * include/fenv.h [_ISOMAC]: Disable all contents of file except
41588 include of <math/fenv.h>.
41590 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41591 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41592 && !UNIX98]. Enables tests for XOPEN2K8.
41593 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41594 POSIX2008]: Likewise.
41596 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41597 (struct rusage): Do not expect type or its members.
41600 * math/math.h (FP_NAN): Define macro to integer constant usable in
41601 #if and use that to give value to enum constant.
41602 (FP_INFINITE): Likewise.
41603 (FP_ZERO): Likewise.
41604 (FP_SUBNORMAL): Likewise.
41605 (FP_NORMAL): Likewise.
41607 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
41609 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41610 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41613 2012-11-02 Roland McGrath <roland@hack.frob.com>
41615 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41616 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41617 autoconf-time if not.
41618 * configure.in: Remove AC_PREREQ.
41620 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41622 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41623 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41624 of the internal implementation.
41626 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41628 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41629 except include of <misc/sys/syslog.h>.
41631 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41634 function returns with a NULL context exit with zero.
41636 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41638 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41640 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
41642 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41643 (run_program_cmd): This.
41644 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41645 (tst_langinfo): New variable. Use it.
41647 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
41649 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41650 floating point opcodes.
41652 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41654 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41657 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41659 * sysdeps/mach/hurd/powerpc: Remove directory.
41660 * sysdeps/mach/powerpc: Likewise.
41662 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41664 * scripts/check-local-headers.sh: Ignore c++ headers.
41666 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41668 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41669 __libc_cleanup_region_start argument.
41671 2012-11-01 Joseph Myers <joseph@codesourcery.com>
41675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41676 x * y using scaling, not as x * y + z.
41677 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41678 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41679 * math/libm-test.inc (fma_test): Add more tests.
41680 (fma_test_towardzero): Likewise.
41681 (fma_test_downward): Likewise.
41682 (fma_test_upward): Likewise.
41684 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41686 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41688 2012-10-31 Joseph Myers <joseph@codesourcery.com>
41690 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41693 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
41695 * rt/tst-shm.c (worker): Correct checking for mmap failure.
41697 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
41699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41704 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41707 Fix the order of the list for glibc 2.17.
41708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41711 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
41713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41715 2012-10-31 Joseph Myers <joseph@codesourcery.com>
41718 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41719 for low part of x being zero before using __atanl (y).
41720 * math/libm-test.inc (atan2_test): Add another test.
41722 * manual/install.texi (Configuring and compiling): Document
41723 general use of test-wrapper and test-wrapper-env.
41724 * INSTALL: Regenerated.
41726 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41727 (__fma): Do not extract and scale down low bits on after-rounding
41728 systems when result rounded to normal precision would have normal
41730 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41731 (__fmal): Do not extract and scale down low bits on after-rounding
41732 systems when result rounded to normal precision would have normal
41734 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41735 (__fmal): Do not extract and scale down low bits on after-rounding
41736 systems when result rounded to normal precision would have normal
41738 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41740 (fma_test): Add more tests.
41741 (fma_test_towardzero): Likewise.
41742 (fma_test_downward): Likewise.
41743 (fma_test_upward): Likewise.
41745 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
41747 * sysdeps/i386/tininess.h: Renamed to ...
41748 * sysdeps/x86/tininess.h: This.
41749 * sysdeps/x86_64/tininess.h: Removed.
41751 2012-10-30 Joseph Myers <joseph@codesourcery.com>
41753 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41754 input. Use $(build-program-cmd).
41755 ($(objpfx)tst-array1-static.out): Likewise.
41756 ($(objpfx)tst-array2.out): Likewise.
41757 ($(objpfx)tst-array3.out): Likewise.
41758 ($(objpfx)tst-array4.out): Likewise.
41759 ($(objpfx)tst-array5.out): Likewise.
41760 ($(objpfx)tst-array5-static.out): Likewise.
41762 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
41764 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41767 * nss/nsswitch.h (nss_interface_function): Provide new
41768 macro for use with NSS functions.
41769 * grp/initgroups.c: Use new macro.
41770 * nss/getXXbyYY.c: Likewise.
41771 * nss/getXXbyYY_r.c: Likewise.
41772 * nss/getXXent.c: Likewise.
41773 * nss/getXXent_r.c: Likewise.
41774 * sysdeps/posix/getaddrinfo.c: Likewise.
41776 2012-10-30 Andreas Jaeger <aj@suse.de>
41778 * po/ru.po: Update Russion translation from translation project.
41780 2012-10-30 Joseph Myers <joseph@codesourcery.com>
41784 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41785 result and shift together with sticky bit instead of replicating
41786 round-to-nearest rounding.
41787 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41788 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41789 * math/libm-test.inc (fma_test): Add more tests. Do not permit
41790 missing underflow exceptions.
41791 (fma_test_towardzero): Add more tests.
41792 (fma_test_downward): Likewise.
41793 (fma_test_upward): Likewise.
41796 * sysdeps/generic/tininess.h: New file.
41797 * sysdeps/i386/tininess.h: Likewise.
41798 * sysdeps/sh/tininess.h: Likewise.
41799 * sysdeps/x86_64/tininess.h: Likewise.
41800 * stdlib/tst-strtod-underflow.c: Likewise.
41801 * stdlib/tst-tininess.c: Likewise.
41802 * stdlib/strtod_l.c: Include <tininess.h>.
41803 (round_and_return): Do not set errno for exact underflow cases.
41804 Force an underflow exception when setting errno for underflow.
41805 Determine underflow based on rounding to normal precision if
41806 TININESS_AFTER_ROUNDING.
41807 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41808 ERANGE for exact underflow cases.
41809 * stdlib/Makefile (tests): Add tst-tininess and
41810 tst-strtod-underflow.
41811 ($(objpfx)tst-tininess): Use $(link-libm).
41812 ($(objpfx)tst-strtod-underflow): Likewise.
41814 2012-10-30 Andreas Jaeger <aj@suse.de>
41817 * elf/Makefile (tests): Remove conditional for have-initfini-array
41818 since this is now always required and the variable does not exist
41820 (tests-static): Likewise.
41821 (modules-names): Likewise.
41823 * po/eo.po: Add Esperanto translation from translation project.
41825 * elf/tst-array1.c (fini_array): Make writeable so that it can be
41826 merged with constructor/destructor.
41827 (init_array): Likewise.
41828 * elf/tst-array2dep.c (fini_array): Likewise.
41829 (init_array): Likewise.
41831 2012-10-29 Mike Frysinger <vapier@gentoo.org>
41833 * manual/message.texi: Delete @cartouche tags.
41835 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
41837 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41839 * sysdeps/mach/hurd/fsync.c: Likewise.
41841 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41842 [_POSIX_REALTIME_SIGNALS]: Change condition to
41843 [_POSIX_REALTIME_SIGNALS > 0].
41845 2012-10-27 Andreas Jaeger <aj@suse.de>
41847 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41848 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41849 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41850 [__WORDSIZE != 64]: Likewise.
41852 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
41854 * iconvdata/tst-table.sh: Remove ${SHELL}.
41855 * iconvdata/tst-tables.sh: Likewise.
41857 2012-10-25 David S. Miller <davem@davemloft.net>
41859 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41860 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41863 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41865 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41866 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41867 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41870 2012-10-25 Roland McGrath <roland@hack.frob.com>
41872 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41873 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41876 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41877 Jim Blandy <jimb@codesourcery.com>
41879 * scripts/cross-test-ssh.sh: New file.
41880 * manual/install.texi (Configuring and compiling): Document use of
41882 * INSTALL: Regenerated.
41884 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
41886 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41889 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41891 * Makeconfig (run-program-prefix): Fix comment.
41893 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41894 Jim Blandy <jimb@codesourcery.com>
41896 * Makeconfig (test-wrapper): New variable,
41897 (test-wrapper-env): Likewise.
41898 [$(cross-compiling) = yes && $(test-wrapper) != ""]
41899 (run-built-tests): Define to yes.
41900 (run-program-prefix): Use $(test-wrapper).
41901 (built-program-cmd): Likewise.
41902 * Rules (make-test-out): Use $(test-wrapper-env) and
41903 $(host-built-program-cmd).
41904 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41905 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41907 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41908 $(test-wrapper-env) to tst-rtld-load-self.sh.
41909 ($(objpfx)order2.out): Use $(test-wrapper).
41910 ($(objpfx)tst-initorder.out): Likewise.
41911 ($(objpfx)tst-initorder2.out): Likewise.
41912 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41913 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41914 (test_wrapper_env): New variable. Use it to run ld.so.
41915 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41916 Use it to run ld.so.
41917 (test_wrapper_env): Likewise.
41918 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41919 $(test-wrapper) to run-iconv-test.sh.
41920 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41921 (ICONV): Use $test_wrapper.
41922 * posix/Makefile ($(objpfx)globtest.out): Pass
41923 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41924 globtest.sh, not $(run-program-prefix).
41925 * posix/globtest.sh (run_via_rtld_prefix): New variable.
41926 (test_wrapper): Likewise.
41927 (test_wrapper_env): Likewise. Use it to run globtest with HOME
41928 set together with run_via_rtld_prefix.
41929 (run_program_prefix): Define in terms of test_wrapper and
41930 run_via_rtld_prefix.
41932 2012-10-24 Roland McGrath <roland@hack.frob.com>
41934 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41935 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41939 * include/time.h: Remove librt_hidden_proto (clock_gettime).
41940 Declare __clock_getres, __clock_gettime, __clock_settime,
41941 __clock_nanosleep, and __clock_getcpuclockid.
41942 * rt/clock_gettime.c: Define __clock_gettime as an alias.
41943 Remove librt_hidden_def (clock_gettime).
41944 * sysdeps/unix/clock_gettime.c: Likewise.
41945 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41946 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41947 * rt/clock_getres.c: Define __clock_getres as an alias.
41948 * sysdeps/posix/clock_getres.c: Likewise.
41949 * rt/clock_settime.c: Define __clock_settime as an alias.
41950 * sysdeps/unix/clock_settime.c: Likewise.
41951 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41952 * sysdeps/unix/clock_nanosleep.c: Likewise.
41953 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41954 * rt/clock-compat.c: New file.
41955 * rt/Makefile (librt-routines): Add clock-compat and move
41956 $(clock-routines) to ...
41957 (routines): ... here, new variable.
41958 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41959 Don't add get_clockfreq here.
41960 * rt/Versions (libc: GLIBC_2.17): New version set.
41961 Add clock_* symbols here.
41962 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
41963 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41964 (GLIBC_2.17): Add clock_* symbols.
41965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41967 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41976 * NEWS: Mention the move.
41978 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41979 Use __open, __read, __close rather than their public counterparts.
41980 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41981 (__get_clockfreq_via_cpuinfo): Likewise.
41982 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41983 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41985 * config.h.in (HAVE_IFUNC): New #undef.
41986 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41988 * configure: Regenerated.
41990 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41992 * configure.in: Move READELF check to start of file.
41993 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41994 libc_cv_asm_gnu_indirect_function in the process.
41995 * configure: Regenerated.
41997 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41999 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
42000 send the output to /dev/null.
42001 (libc_cv_cc_with_libunwind): Likewise.
42002 (libc_cv_as_noexecstack): Likewise.
42003 * configure: Regenerate.
42005 2012-10-24 Joseph Myers <joseph@codesourcery.com>
42007 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42009 * posix/globtest.sh (TMPDIR): Do not set.
42010 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42011 (testout): Likewise.
42013 2012-10-24 Andreas Jaeger <aj@suse.de>
42015 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42016 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42017 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42018 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42019 posix_fadvise64, posix_fallocate64.
42021 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42022 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42023 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42025 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42027 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42029 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42030 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42031 <bits/fcntl-linux.h>.
42032 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42034 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42035 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42036 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42037 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42038 [__WORDSIZE != 64]: Likewise.
42040 2012-10-23 Joseph Myers <joseph@codesourcery.com>
42042 * Makeconfig (run-built-tests): New variable.
42043 * Rules [$(cross-compiling) = yes]: Change condition to
42044 [$(run-built-tests) = no].
42045 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42046 to [$(run-built-tests) = yes].
42047 * elf/Makefile [$(cross-compiling) = no]: Likewise
42048 * grp/Makefile [$(cross-compiling) = no]: Likewise.
42049 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42050 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42051 * intl/Makefile [$(cross-compiling) = no]: Likewise.
42052 * io/Makefile [$(cross-compiling) = no]: Likewise.
42053 * libio/Makefile [$(cross-compiling) = no]: Likewise.
42054 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42055 * misc/Makefile [$(cross-compiling) = no]: Likewise.
42056 * posix/Makefile [$(cross-compiling) = no]: Likewise.
42057 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42058 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42059 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42060 * string/Makefile [$(cross-compiling) = no]: Likewise.
42062 * posix/Makefile ($(objpfx)globtest.out): Pass
42063 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42064 $(rtld-installed-name).
42065 * posix/globtest.sh (elf_objpfx): Remove variable.
42066 (rtld_installed_name): Likewise.
42067 (library_path): Likewise.
42068 (run_program_prefix): New variable. Use for running globtest
42071 2012-10-23 Jim Blandy <jimb@codesourcery.com>
42072 Joseph Myers <joseph@codesourcery.com>
42074 * Makeconfig (host-built-program-cmd): New variable.
42075 * elf/Makefile (tst-stackguard1-ARGS): Use
42076 $(host-built-program-cmd).
42077 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42078 (tst-spawn-ARGS): Likewise.
42079 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42081 2012-10-23 Joseph Myers <joseph@codesourcery.com>
42082 Jim Blandy <jimb@codesourcery.com>
42084 * Makeconfig (run-via-rtld-prefix): New variable.
42085 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42086 (built-program-cmd): Likewise.
42088 2012-10-22 Andreas Jaeger <aj@suse.de>
42090 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42091 __O_RSYNC if it exists, otherwise to O_SYNC.
42093 2012-10-22 Jim Blandy <jimb@codesourcery.com>
42094 Joseph Myers <joseph@codesourcery.com>
42096 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42098 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42100 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42103 2012-10-22 Andreas Jaeger <aj@suse.de>
42105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42107 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42110 bits/fcntl-linux.h.
42112 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42113 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42115 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42120 2012-10-21 Jim Blandy <jimb@codesourcery.com>
42121 Joseph Myers <joseph@codesourcery.com>
42123 * config.make.in (NM): New variable.
42125 2012-10-21 Andreas Jaeger <aj@suse.de>
42127 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42128 definitions and declarations that are provided by
42129 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42131 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
42134 * elf/Makefile (tests-static): Add tst-leaks1-static.
42135 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42136 ($(objpfx)tst-leaks1-static): New rule.
42137 ($(objpfx)tst-leaks1-static-mem): Likewise.
42138 (tst-leaks1-static-ENV): New macro.
42139 * elf/dl-open.c (dl_open_worker): Check the main application
42140 only if SHARED is defined.
42141 * elf/tst-leaks1-static.c: New file.
42143 2012-10-20 Andreas Jaeger <aj@suse.de>
42145 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42146 generic values for Linux.
42147 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42148 and declarations that are provided by <bits/fcntl-linux.h> and
42149 include <bits/fcntl-linux.h>.
42150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42151 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42153 2012-10-20 Roland McGrath <roland@hack.frob.com>
42155 * io/fcntl.h: Move include of <bits/types.h> to the top and
42156 include it unconditionally.
42158 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
42160 * wcsmbs/Makefile (tests-ifunc): New variable.
42161 (tests): Add $(tests-ifunc).
42162 * wcsmbs/test-wcschr-ifunc.c: New file.
42163 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42164 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42165 * wcsmbs/test-wcslen-ifunc.c: Likewise.
42166 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42167 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42169 * string/Makefile (tests-ifunc): New variable.
42170 (tests): Add $(tests-ifunc).
42171 * string/test-memccpy.c (TEST_NAME): New macro.
42172 * string/test-memchr.c (TEST_NAME): Likewise.
42173 * string/test-memcmp.c (TEST_NAME): Likewise.
42174 * string/test-memcpy.c (TEST_NAME): Likewise.
42175 * string/test-memmem.c (TEST_NAME): Likewise.
42176 * string/test-memmove.c (TEST_NAME): Likewise.
42177 * string/test-memset.c (TEST_NAME): Likewise.
42178 * string/test-rawmemchr.c (TEST_NAME): Likewise.
42179 * string/test-stpcpy.c (TEST_NAME): Likewise.
42180 * string/test-stpncpy.c (TEST_NAME): Likewise.
42181 * string/test-strcasecmp.c (TEST_NAME): Likewise.
42182 * string/test-strcasestr.c (TEST_NAME): Likewise.
42183 * string/test-strcat.c (TEST_NAME): Likewise.
42184 * string/test-strchr.c (TEST_NAME): Likewise.
42185 * string/test-strcmp.c(TEST_NAME): Likewise.
42186 * string/test-strcpy.c (TEST_NAME): Likewise.
42187 * string/test-strcspn.c (TEST_NAME): Likewise.
42188 * string/test-strlen.c (TEST_NAME): Likewise.
42189 * string/test-strncasecmp.c (TEST_NAME): Likewise.
42190 * string/test-strncmp.c (TEST_NAME): Likewise.
42191 * string/test-strncpy.c (TEST_NAME): Likewise.
42192 * string/test-strnlen.c (TEST_NAME): Likewise.
42193 * string/test-strpbrk.c (TEST_NAME): Likewise.
42194 * string/test-strrchr.c (TEST_NAME): Likewise.
42195 * string/test-strspn.c (TEST_NAME): Likewise.
42196 * string/test-strstr.c (TEST_NAME): Likewise.
42197 * string/test-bcopy-ifunc.c: New file.
42198 * string/test-bzero-ifunc.c: Likewise.
42199 * string/test-memccpy-ifunc.c: Likewise.
42200 * string/test-memchr-ifunc.c: Likewise.
42201 * string/test-memcmp-ifunc.c: Likewise.
42202 * string/test-memcpy-ifunc.c: Likewise.
42203 * string/test-memmem-ifunc.c: Likewise.
42204 * string/test-memmove-ifunc.c: Likewise.
42205 * string/test-mempcpy-ifunc.c: Likewise.
42206 * string/test-memset-ifunc.c: Likewise.
42207 * string/test-rawmemchr-ifunc.c: Likewise.
42208 * string/test-stpcpy-ifunc.c: Likewise.
42209 * string/test-stpncpy-ifunc.c: Likewise.
42210 * string/test-strcasecmp-ifunc.c: Likewise.
42211 * string/test-strcasestr-ifunc.c: Likewise.
42212 * string/test-strcat-ifunc.c: Likewise.
42213 * string/test-strchr-ifunc.c: Likewise.
42214 * string/test-strchrnul-ifunc.c: Likewise.
42215 * string/test-strcmp-ifunc.c: Likewise.
42216 * string/test-strcpy-ifunc.c: Likewise.
42217 * string/test-strcspn-ifunc.c: Likewise.
42218 * string/test-strlen-ifunc.c: Likewise.
42219 * string/test-strncasecmp-ifunc.c: Likewise.
42220 * string/test-strncat-ifunc.c: Likewise.
42221 * string/test-strncmp-ifunc.c: Likewise.
42222 * string/test-strncpy-ifunc.c: Likewise.
42223 * string/test-strnlen-ifunc.c: Likewise.
42224 * string/test-strpbrk-ifunc.c: Likewise.
42225 * string/test-strrchr-ifunc.c: Likewise.
42226 * string/test-strspn-ifunc.c: Likewise.
42227 * string/test-strstr-ifunc.c: Likewise.
42229 * debug/Makefile (tests-ifunc): New variable.
42230 (tests): Add $(tests-ifunc).
42231 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42232 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42233 * debug/test-stpcpy_chk-ifunc.c: New file.
42234 * debug/test-strcpy_chk-ifunc.c: Likewise.
42236 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
42239 * elf/dl-load.c (open_verify): Retry read if the entire ELF
42240 header is not read in.
42242 2012-10-19 Joseph Myers <joseph@codesourcery.com>
42244 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
42245 script to $(SHELL) as $<. Pass $(common-objpfx) to script
42246 directly. Pass built executable to script as
42247 $(built-program-cmd).
42248 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
42249 $testprogram without using LD_LIBRARY_PATH and $ldso.
42251 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42252 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42253 $(rtld-installed-name).
42254 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42255 (rtld_installed_name): Likewise.
42256 (library_path): Likewise.
42257 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
42258 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42259 $(run-program-prefix) to tst-tables.sh.
42260 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
42261 it to run tst-table-from and tst-table-to.
42262 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42263 Pass it to tst-table.sh.
42264 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42265 $(run-program-prefix) to tst-gettext.sh.
42266 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42268 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42270 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
42271 to run tst-gettext.
42272 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
42273 to run tst-gettext2.
42274 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
42275 to run tst-translit.
42276 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42277 $(run-program-prefix) to tst-mtrace.sh.
42278 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
42280 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42281 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42282 $(rtld-installed-name).
42283 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42284 (rtld_installed_name): Likewise.
42285 (run_program_prefix): New variable. Use it to run wordexp-test.
42287 * Makeconfig (ARCH): Remove all definitions.
42288 (machine): Likewise.
42289 [ARCH]: Remove conditional code.
42290 [!objdir]: Give error.
42291 [!objdir] (objpfx): Remove.
42292 [!objdir] (common-objpfx): Likewise.
42293 [!objdir] (common-objdir): Likewise.
42294 * configure.in (config_makefile): Remove. Hardcode Makefile in
42295 AC_CONFIG_FILES call.
42296 * configure: Regenerated.
42299 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42301 (testout): Likewise.
42303 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42304 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42305 $(rtld-installed-name).
42306 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42307 (rtld_installed_name): Likwise.
42308 (runit): Remove function.
42309 (run_getconf): New variable, Use it for running getconf binary.
42311 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
42314 * string/test-memmem.c (check_result): New function.
42315 (do_one_test): Use it.
42316 (check1): New function.
42317 (test_main): Use it.
42319 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
42321 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42323 2012-10-18 Joseph Myers <joseph@codesourcery.com>
42325 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42326 (_G_LSEEK64): Likewise.
42327 (_G_MMAP64): Likewise.
42328 (_G_FSTAT64): Likewise.
42329 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42330 (_G_LSEEK64): Likewise.
42331 (_G_MMAP64): Likewise.
42332 (_G_FSTAT64): Likewise.
42333 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42334 unconditional. Call __mmap64 directly.
42335 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42336 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
42337 __lseek64 directly.
42338 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42339 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
42341 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42342 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
42343 __lseek64 directly.
42344 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42345 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
42346 __lseek64 directly.
42347 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42348 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
42349 __lseek64 directly.
42350 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42351 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
42352 __fxstat64 directly.
42353 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42354 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42356 (freopen64) [!_G_OPEN64]: Remove conditional code.
42357 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42359 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42360 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42362 (ftello64) [!_G_LSEEK64]: Remove conditional code.
42363 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42365 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42366 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42368 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42369 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42371 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42372 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42374 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42375 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42377 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42379 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42382 * manual/memory.texi (Malloc Tunable Parameters): Add note
42383 about free list pointers overwriting some perturb bytes.
42384 Wording suggested by Roland McGrath.
42386 2012-10-17 Joseph Myers <joseph@codesourcery.com>
42388 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42389 (lgamma_test): Likewise.
42390 (tgamma_test): Likewise.
42392 2012-10-16 Florian Weimer <fweimer@redhat.com>
42395 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42396 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42398 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
42400 * NEWS: Mention BZ #14716.
42401 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42402 when removing AVAILABLE1_USES_J macro.
42404 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
42406 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42407 (__bswap_64): __uint64_t for unsigned 64-bit int.
42409 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
42411 * include/string.h (memmem): Declare libc hidden alias.
42412 * string/memmem.c (memmem): Define libc hidden alias.
42413 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42414 __read, __close instead of open, read, close.
42416 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
42418 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42419 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42421 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42422 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42423 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42425 (__rawmemchr_sse2): Likewise.
42426 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42427 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42428 (__strchr_sse2): Likewise.
42429 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42430 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42431 (__strcasecmp_sse2): Likewise.
42432 (__strncasecmp_sse2): Likewise.
42433 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42434 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42435 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42436 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42437 (__strrchr_sse2): Likewise.
42438 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42440 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42441 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42442 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42443 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42444 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42445 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42446 * sysdeps/x86_64/multiarch/memset.S: Likewise.
42447 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42448 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42449 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42450 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42451 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42452 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42453 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42454 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42455 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42456 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42457 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42458 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42459 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42460 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42461 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42462 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42463 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42464 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42465 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42466 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42467 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42468 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42469 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42471 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42473 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42474 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42475 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42476 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42478 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42480 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42481 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42482 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42483 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42485 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42486 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42487 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42488 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42489 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42490 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42491 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42492 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42493 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42494 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42495 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42496 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42497 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42498 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42499 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42500 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42501 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42502 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42503 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42504 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42505 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42506 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42507 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42508 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42509 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42510 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42511 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42512 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42513 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42514 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42515 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42516 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42517 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42518 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42519 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42520 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42521 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42522 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42523 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42524 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42525 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42527 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42528 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42529 * include/ifunc-impl-list.h: New file.
42530 * misc/ifunc-impl-list.c: Likewise.
42531 * misc/Makefile (routines): Add ifunc-impl-list.
42532 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42533 * string/test-string.h: Include <ifunc-impl-list.h>.
42534 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42535 TEST_NAME]: New variables.
42536 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42538 (test_init): Call __libc_ifunc_impl_list to initialize
42539 func_list if TEST_IFUNC and TEST_NAME are defined.
42541 * string/Makefile (strop-tests): Add bcopy and bzero.
42542 * string/test-bcopy.c: New file.
42543 * string/test-bzero.c: Likewise.
42544 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42546 * string/test-memset.c: Support bzero test if TEST_BZERO is
42548 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42550 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42552 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42555 2012-10-10 Joseph Myers <joseph@codesourcery.com>
42557 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42558 * configure: Regenerated.
42560 * Makeconfig (+link-static-before-libc): Don't include
42561 $(link-static-libc).
42563 * libio/libio.h (_IO_pos_t): Remove.
42565 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42567 * NEWS: Add note about FIPS mode. Wording suggested by Roland
42570 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42572 * crypt/crypt-entry.c: Include fips-private.h.
42573 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42574 * crypt/md5c-test.c (main): Tolerate disabled MD5.
42575 * sysdeps/unix/sysv/linux/fips-private.h: New file.
42576 * sysdeps/generic/fips-private.h: New file, dummy fallback.
42578 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42580 * crypt/crypt-private.h: Include stdbool.h.
42581 (_ufc_setup_salt_r): Return bool.
42582 * crypt/crypt-entry.c: Include errno.h.
42583 (__crypt_r): Return NULL with EINVAL for bad salt.
42584 * crypt/crypt_util.c (bad_for_salt): New.
42585 (_ufc_setup_salt_r): Check that salt is long enough and within
42586 the specified alphabet.
42587 * crypt/badsalttest.c: New file.
42588 * crypt/Makefile (tests): Add it.
42589 ($(objpfx)badsalttest): New.
42591 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
42593 * NEWS: Add entry for BZ #14602.
42595 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42597 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42599 * math/libm-test.inc: Update comment listing what functions and
42601 (isgreater_test): New function.
42602 (isgreaterequal_test): Likewise.
42603 (isless_test): Likewise.
42604 (islessequal_test): Likewise.
42605 (islessgreater_test): Likewise.
42606 (isunordered_test): Likewise.
42607 (main): Call the new functions.
42609 2012-10-09 Roland McGrath <roland@hack.frob.com>
42611 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42612 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42613 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42614 * sysdeps/i386/configure: Regenerated.
42615 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42616 * sysdeps/mach/configure: Regenerated.
42617 * sysdeps/mach/hurd/configure: Regenerated.
42618 * sysdeps/powerpc/configure: Regenerated.
42619 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42620 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42621 * sysdeps/s390/s390-32/configure: Regenerated.
42622 * sysdeps/s390/s390-64/configure: Regenerated.
42623 * sysdeps/sh/configure: Regenerated.
42624 * sysdeps/sparc/configure: Regenerated.
42625 * sysdeps/unix/sysv/linux/configure: Regenerated.
42626 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42627 * sysdeps/x86_64/configure: Regenerated.
42629 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42630 defined. Don't check if MAP is NULL.
42632 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42634 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42635 (_G_stat64): Likewise.
42636 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42637 (_G_stat64): Likewise.
42638 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42639 instead of struct _G_stat64.
42640 * libio/fileops.c (mmap_remap_check): Likewise.
42641 (decide_maybe_mmap): Likewise.
42642 (_IO_new_file_seekoff): Likewise.
42643 (_IO_file_stat): Likewise.
42644 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42646 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42647 instead of struct _G_stat64.
42648 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42650 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
42653 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42655 (CHECK_EOL): New macro.
42656 (two_way_short_needle): Check beginning of haystack for EOL. Use
42658 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42659 Replace with CHECK_EOL.
42660 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42661 Replace with CHECK_EOL.
42663 2012-10-08 Joseph Myers <joseph@codesourcery.com>
42665 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42667 * math/libm-test.inc: Update comment listing what functions and
42669 (finite_test): New function.
42670 (isinf_test): Likewise.
42671 (isnan_test): Likewise.
42672 (fpclassify_test): Test subnormal input.
42673 (isfinite_test): Likewise.
42674 (isnormal_test): Likewise.
42675 (main): Call the new functions.
42677 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
42680 * Makerules (%.dynsym): Force C locale when running
42681 $(OBJDUMP) --dynamic-syms.
42683 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
42685 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42688 2012-10-06 David S. Miller <davem@davemloft.net>
42690 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42691 upper 32-bits of the length value in %o2 since we use branch-on-register
42692 tests which consider the entire 64-bit register.
42694 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
42696 * string/test-strstr.c (check2): Add a test for page boundary.
42698 2012-10-05 David S. Miller <davem@davemloft.net>
42700 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42701 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42703 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42705 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42706 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42707 and bzero when HWCAP_SPARC_CRYPTO is present.
42709 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
42712 * string/test-strstr.c (check2): New function.
42713 (test_main): Call check2.
42715 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42717 * string/bug-strcasestr1.c (do_test): Moved to ...
42718 * string/test-strcasestr.c (check1): Here. New function.
42719 (do_one_test): Break out result checking code into ...
42720 (check_result): This. New function.
42721 (do_one_test): Call check_result.
42722 (test_main): Call check1.
42723 * string/bug-strchr1.c (do_test): Moved to ...
42724 * string/test-strchr.c (check1): Here. New function.
42725 (do_one_test): Break out result checking code into ...
42726 (check_result): This. New function.
42727 (do_one_test): Call check_result.
42728 (test_main): Call check1.
42729 * string/bug-strstr1.c (main): Moved to ...
42730 * string/test-strstr.c (check1): Here. New function.
42731 (do_one_test): Break out result checking code into ...
42732 (check_result): This. New function.
42733 (do_one_test): Call check_result.
42734 (test_main): Call check1.
42735 * string/bug-strcasestr1.c: Removed.
42736 * string/bug-strchr1.c: Likewise.
42737 * string/bug-strstr1.c: Likewise.
42739 * elf/Makefile (dl-routines): Add hwcaps.
42740 * elf/dl-support.c (_dl_important_hwcaps): Removed.
42741 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42742 (_dl_important_hwcaps): Moved to ...
42743 * elf/dl-hwcaps.c: Here. New file.
42744 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42747 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42748 if IS_IN_rtld isn't defined.
42750 * elf/dl-support.c (_dl_sysinfo_map): New.
42751 Include "get-dynamic-info.h" and "setup-vdso.h".
42752 (_dl_non_dynamic_init): Call setup_vdso.
42753 * elf/dynamic-link.h: Don't include <assert.h>.
42754 (elf_get_dynamic_info): Moved to ...
42755 * elf/get-dynamic-info.h: Here. New file.
42756 * elf/dynamic-link.h: Include "get-dynamic-info.h".
42757 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42758 * elf/setup-vdso.h: Here. New file.
42759 * elf/rtld.c: Include "setup-vdso.h".
42760 (dl_main): Call setup_vdso.
42762 2012-10-05 Joseph Myers <joseph@codesourcery.com>
42764 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42765 creal in comment listing functions tested. List finite, isinf,
42766 isnan, isless, islessequal, isgreater, isgreaterequal,
42767 islessgreater, isunordered, lgamma_r and pow10 as functions and
42768 macros not tested. Mention which functions not tested are aliases
42769 for other functions. Fix typo. Note that signs of NaNs are not
42772 * scripts/config.guess: Update from config.git.
42773 * scripts/config.sub: Likewise.
42775 2012-10-04 Roland McGrath <roland@hack.frob.com>
42777 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42778 * misc/madvise.c (madvise): Renamed to __madvise.
42779 Make madvise a weak alias.
42780 * include/sys/mman.h: Declare __madvise.
42781 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42782 * sysdeps/unix/syscalls.list
42783 (madvise): Make __madvise the strong name, and madvise a weak alias.
42784 * sysdeps/unix/sysv/linux/syscalls.list
42785 (madvise, mmap): Remove redundant entries.
42786 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42787 * malloc/malloc.c (mtrim): Likewise.
42788 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42790 2012-10-03 Roland McGrath <roland@hack.frob.com>
42792 * sysdeps/mach/hurd/dl-cache.c: File removed.
42793 * config.h.in (USE_LDCONFIG): New #undef.
42794 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42795 * configure: Regenerated.
42796 * elf/Makefile (dl-routines): Add dl-cache only under
42797 [$(use-ldconfig) = yes].
42798 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42799 cache on [USE_LDCONFIG].
42800 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42802 * elf/rtld.c (dl_main): Likewise.
42804 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
42806 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42807 _SC_LEVEL4_CACHE_LINESIZE.
42809 2012-10-03 Roland McGrath <roland@hack.frob.com>
42811 * sysdeps/unix/bsd/confstr.h: File removed.
42813 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
42815 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42818 2012-10-02 Roland McGrath <roland@hack.frob.com>
42820 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42821 Make 'mapoff' field ElfW(Off) rather than off_t.
42823 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
42825 * nscd/Makefile: Remove nscd-cflags and all its users.
42826 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42827 (CFLAGS-nonlib): Add compiler flags for nscd modules.
42830 * malloc.c (malloc_printerr): Clarify error message.
42832 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
42835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42836 Set bit_FMA_Usable if FMA is supported.
42837 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42839 (bit_FMA4_Usable): Updated.
42840 (index_FMA_Usable): New macro.
42841 (CPUID_FMA): Likewise
42842 (HAS_FMA): Defined with bit_FMA_Usable.
42844 2012-10-01 Roland McGrath <roland@hack.frob.com>
42846 * bits/types.h (__swblk_t): Type removed.
42847 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42848 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42850 (__SWBLK_T_TYPE): Likewise.
42851 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42852 (__SWBLK_T_TYPE): Likewise.
42853 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42854 (__SWBLK_T_TYPE): Likewise.
42855 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42856 (__SWBLK_T_TYPE): Likewise.
42858 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
42859 Honza Horak <hhorak@redhat.com>
42861 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42862 (xdr_mapname): Use YPMAXMAP as maxsize.
42863 (xdr_peername): Use YPMAXPEER as maxsize.
42864 (xdr_keydat): Use YPAXRECORD as maxsize.
42865 (xdr_valdat): Use YPMAXRECORD as maxsize.
42867 2012-10-01 Roland McGrath <roland@hack.frob.com>
42869 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42871 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42872 * csu/init-first.c: ... here.
42873 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42874 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42875 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42876 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42877 * sysdeps/i386/init-first.c: File removed.
42878 * sysdeps/sh/init-first.c: File removed.
42880 2012-10-01 Joseph Myers <joseph@codesourcery.com>
42883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42884 if x * y might underflow to zero and z is zero.
42885 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42886 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42887 * math/libm-test.inc (min_subnorm_value): New variable.
42888 (fma_test): Add more tests.
42889 (fma_test_towardzero): Likewise.
42890 (fma_test_downward): Likewise
42891 (fma_test_upward): Likewise.
42892 (initialize): Set min_subnorm_value.
42894 2012-09-29 Joseph Myers <joseph@codesourcery.com>
42897 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42899 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42900 mode for addition resulting in exact zero.
42901 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42904 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42905 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42906 * math/libm-test.inc (fma_test): Add more tests.
42907 (fma_test_towardzero): New function.
42908 (fma_test_downward): Likewise.
42909 (fma_test_upward): Likewise.
42910 (main): Call the new functions.
42912 2012-09-28 David S. Miller <davem@davemloft.net>
42914 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42916 2012-09-28 Roland McGrath <roland@hack.frob.com>
42918 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42919 instead of SIGALRM.
42921 * sysdeps/gnu/_G_config.h: Moved to ...
42922 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42923 * sysdeps/mach/hurd/_G_config.h: Moved to ...
42924 * sysdeps/generic/_G_config.h: ... here.
42926 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
42928 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42930 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42931 Conditionalize target on [libnss_test1.so-version].
42933 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42935 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42936 (elfobjdir): Move out of conditionals.
42938 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42939 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42940 (__nss_lookup_function): Conditionalize label remove_from_tree on
42941 [!DO_STATIC_NSS || SHARED], matching its only use.
42943 2012-09-28 David S. Miller <davem@davemloft.net>
42945 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42946 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42948 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42950 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42951 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42952 when HWCAP_SPARC_CRYPTO is present.
42954 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42956 * io/tst-mknodat.c: Create a FIFO instead of a socket.
42958 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
42961 * stdio-common/vfprintf.c (process_string_arg): Revert
42964 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
42966 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42968 * stdio-common/tst-sprintf.c: Include <locale.h>
42969 (main): Test sprintf's handling of incomplete multibyte
42972 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
42974 * elf/dl-runtime.c (VERSYMIDX): Removed.
42975 * elf/dl-version.c (VERSYMIDX): Likewise.
42976 * elf/do-rel.h (VERSYMIDX): Likewise.
42977 (VALIDX): Likewise.
42978 * elf/dynamic-link.h (VERSYMIDX): Likewise.
42979 * elf/rtld.c (VALIDX): Likewise.
42980 (ADDRIDX): Likewise.
42981 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42982 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42983 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42984 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42985 (VALIDX): Likewise.
42986 (ADDRIDX): Likewise.
42988 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42990 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42992 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
42995 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42997 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42998 addresses are in the same scope as 192.0.2/24.
42999 * posix/gai.conf: Document new scope table defaults.
43001 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43004 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43005 for ftell. Compute offsets from write pointers instead.
43006 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43008 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43011 * libio/Makefile (tests): New test case tst-fseek.
43012 * libio/tst-fseek.c: New test case to verify that fseek/ftell
43013 combination works in wide mode.
43014 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43015 state when the external buffer state changes.
43017 2012-09-27 David S. Miller <davem@davemloft.net>
43020 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43021 pass reloc->r_addend in as the 'high' argument to
43022 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43026 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43028 * rt/tst-aio2.c: Include <pthread.h>.
43029 * rt/tst-aio3.c: Likewise.
43031 2012-09-27 Steve Ellcey <sellcey@mips.com>
43033 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43035 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
43037 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43038 contents on [SHARED].
43040 2012-09-26 Marek Polacek <polacek@redhat.com>
43044 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43045 for C++ and GCC <4.3 as well as for non GCC compilers.
43047 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
43049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43051 2012-09-25 Roland McGrath <roland@hack.frob.com>
43053 * Makefile.in (all, install): Declare with .PHONY.
43054 Reported by Michael Hope <michael.hope@linaro.org>.
43056 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43058 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43059 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43061 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43063 (sydep_routines): Add the new and the internal functions.
43064 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43065 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43067 (GLIBC_2.17): Add the new function.
43068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43069 (GLIBC_2.17): Likewise.
43070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43071 (GLIBC_2.17): Likewise.
43072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43073 (GLIBC_2.17): Likewise.
43074 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43076 2012-09-25 Alan Modra <amodra@gmail.com>
43078 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43079 Add release barrier before setting once_control to say
43080 initialisation is done. Add hints on lwarx. Use macro in
43082 (clear_once_control): Add release barrier.
43084 2012-09-25 Joseph Myers <joseph@codesourcery.com>
43087 * math/s_clog.c (__clog): Handle more values close to |z| = 1
43089 * math/s_clog10.c (__clog10): Likewise.
43090 * math/s_clog10f.c (__clog10f): Likewise.
43091 * math/s_clog10l.c (__clog10l): Likewise.
43092 * math/s_clogf.c (__clogf): Likewise.
43093 * math/s_clogl.c (__clogl): Likewise.
43094 * math/Makefile (libm-calls): Add x2y2m1.
43095 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43096 (__x2y2m1): Likewise.
43097 (__x2y2m1l): Likewise.
43098 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43099 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43100 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43101 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43102 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43103 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43104 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43105 * sysdeps/i386/fpu/libm-test-ulps: Update.
43106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43109 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43110 int as type of variable DEPTH.
43111 (glob): Use size_t instead of int as type of variables NEWCOUNT
43114 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43116 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43117 Add s_sincosf-sse2.
43118 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43119 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43120 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43121 macros for using routine as __sincosf_ia32.
43122 Use macro for function declaration and weak_alias.
43123 * sysdeps/i386/fpu/libm-test-ulps: Update.
43125 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43128 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43129 subnormal argument.
43130 * math/s_cexpf.c (__cexpf): Likewise.
43131 * math/s_csinf.c (__csinf): Likewise.
43132 * math/s_csinhf.c (__csinhf): Likewise.
43133 * math/s_ctanf.c (__ctanf): Likewise.
43134 * math/s_ctanhf.c (__ctanhf): Likewise.
43135 * math/s_ccosh.c (__ccoshf): Likewise.
43136 * math/s_cexp.c (__cexpl): Likewise.
43137 * math/s_csin.c (__csin): Likewise.
43138 * math/s_csinh.c (__csinh): Likewise.
43139 * math/s_ctan.c (__ctan): Likewise.
43140 * math/s_ctanh.c (ctanh): Likewise.
43141 * math/s_ccoshl.c (__ccoshl): Likewise.
43142 * math/s_cexpl.c (__cexpl): Likewise.
43143 * math/s_csinl.c (__csinl): Likewise.
43144 * math/s_csinhl.c (__csinhl): Likewise.
43145 * math/s_ctanl.c (__ctanl): Likewise.
43146 * math/s_ctanhl.c (__ctanhl): Likewise.
43148 2012-09-25 Joseph Myers <joseph@codesourcery.com>
43150 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43151 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43152 (_IO_off_t): Define to __off_t, not _G_off_t.
43153 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43154 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43155 (_IO_wint_t): Define to wint_t, not _G_wint_t.
43156 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43157 type of __dummy and __dummy2 fields.
43158 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43159 (_G_ssize_t): Likewise.
43160 (_G_off_t): Likewise.
43161 (_G_pid_t): Likewise.
43162 (_G_uid_t): Likewise.
43163 (_G_wchar_t): Likewise.
43164 (_G_wint_t): Likewise.
43165 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43166 (_G_ssize_t): Likewise.
43167 (_G_off_t): Likewise.
43168 (_G_pid_t): Likewise.
43169 (_G_uid_t): Likewise.
43170 (_G_wchar_t): Likewise.
43171 (_G_wint_t): Likewise.
43172 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43173 (_G_ssize_t): Likewise.
43174 (_G_off_t): Likewise.
43175 (_G_pid_t): Likewise.
43176 (_G_uid_t): Likewise.
43177 (_G_wchar_t): Likewise.
43178 (_G_wint_t): Likewise.
43180 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43182 * malloc/arena.c: Include malloc-sysdep.h.
43183 (shrink_heap): Use check_may_shrink_heap to decide if madvise
43184 is sufficient to shrink the heap or an unmap is needed.
43185 * sysdeps/generic/malloc-sysdep.h: New file. Define
43186 new function check_may_shrink_heap.
43187 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
43188 new function check_may_shrink_heap.
43190 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43192 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43195 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
43197 * catgets/test-gencat.sh: Add "set -e".
43198 * elf/tst-pathopt.sh: Likewise.
43199 * grp/tst_fgetgrent.sh: Likewise.
43200 * iconvdata/run-iconv-test.sh: Likewise.
43201 * intl/tst-gettext.sh: Likewise.
43202 * intl/tst-gettext2.sh: Likewise.
43203 * intl/tst-gettext4.sh: Likewise.
43204 * intl/tst-gettext6.sh: Likewise.
43205 * intl/tst-translit.sh: Likewise.
43206 * io/ftwtest-sh: Likewise.
43207 * libio/test-freopen.sh: Likewise.
43208 * malloc/tst-mtrace.sh: Likewise.
43209 * posix/globtest.sh: Likewise.
43210 * posix/tst-getconf.sh: Likewise.
43211 * posix/wordexp-tst.sh: Likewise.
43212 * stdio-common/tst-printf.sh: Likewise.
43213 * stdio-common/tst-unbputc.sh: Likewise.
43214 * stdlib/tst-fmtmsg.sh: Likewise.
43215 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43216 * catgets/Makefile: Do not specify -e option when running
43217 testsuite shell scripts.
43218 * elf/Makefile: Likewise.
43219 * grp/Makefile: Likewise.
43220 * iconvdata/Makefile: Likewise.
43221 * intl/Makefile: Likewise.
43222 * io/Makefile: Likewise.
43223 * libio/Makefile: Likewise.
43224 * malloc/Makefile: Likewise.
43225 * posix/Makefile: Likewise.
43226 * stdio-common/Makefile: Likewise.
43227 * stdlib/Makefile: Likewise.
43228 * sysdeps/x86_64/Makefile: Likewise.
43230 * io/ftwtest-sh: Add copyright header.
43231 * posix/globtest.sh: Likewise.
43232 * posix/tst-getconf.sh: Likewise.
43233 * posix/wordexp-tst.sh: Likewise.
43234 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43236 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
43239 * Makeconfig (+link): Defined as $(+link-static) if
43240 $(build-shared) isn't yes.
43241 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43243 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43245 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43248 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43249 new chunk size with MALLOC_ALIGN_MASK.
43251 2012-09-24 Joseph Myers <joseph@codesourcery.com>
43254 * stdio-common/printf_fphex.c: Include <stdbool.h> and
43256 (__printf_fphex): Determine rounding using get_rounding_mode and
43258 * stdio-common/tst-printf-round.c (struct hex_test): New
43260 (hex_tests): New variable.
43261 (test_hex_in_one_mode): New function.
43262 (do_test): Also run tests for hex float output.
43264 2012-09-21 Joseph Myers <joseph@codesourcery.com>
43266 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43267 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43268 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43269 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43270 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43271 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43272 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43273 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43275 2012-09-20 Joseph Myers <joseph@codesourcery.com>
43277 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43278 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43279 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43280 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43282 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
43285 * elf/rtld.c (dl_main): Limit the check for self loading to normal
43287 * elf/tst-rtld-load-self.sh: New test.
43288 * elf/Makefile: Run it.
43290 2012-09-18 Joseph Myers <joseph@codesourcery.com>
43292 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43293 (tst-writev-ENV): Remove.
43294 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43296 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
43298 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43300 2012-09-17 Joseph Myers <joseph@codesourcery.com>
43302 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43304 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43306 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43307 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43308 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43311 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
43314 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43315 * config.make.in (have-cpp-asm-debuginfo): Removed.
43316 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43317 * configure: Regenerated.
43319 2012-09-14 Joseph Myers <joseph@codesourcery.com>
43322 * stdio-common/printf_fp.c: Include <stdbool.h> and
43324 (___printf_fp): Determine rounding using get_rounding_mode and
43326 * stdio-common/tst-printf-round.c: New file.
43327 * stdio-common/Makefile (tests): Add tst-printf-round.
43328 (link-libm): New variable.
43329 ($(objpfx)tst-printf-round): Depend in $(link-libm).
43331 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
43334 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43335 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43337 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43340 2012-09-13 Joseph Myers <joseph@codesourcery.com>
43342 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43343 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43344 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43345 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43347 2012-09-12 Joseph Myers <joseph@codesourcery.com>
43350 * include/rounding-mode.h: New file.
43351 * sysdeps/generic/get-rounding-mode.h: Likewise.
43352 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43353 * stdlib/strtod_l.c: Include <rounding-mode.h>.
43354 (MAX_VALUE): New macro.
43355 (MIN_VALUE): Likewise.
43356 (overflow_value): New function.
43357 (underflow_value): Likewise.
43358 (round_and_return): Use overflow_value and underflow_value to
43359 determine return values in overflow and underflow cases. Use
43360 round_away to determine rounding depending on rounding mode.
43361 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43362 determine return values in overflow and underflow cases.
43363 * stdlib/tst-strtod-round.c: Include <fenv.h>.
43364 (struct test_results): New structure.
43365 (struct test): Use struct test_results to store expected results
43366 for all rounding modes.
43367 (TEST): Include expected results for all rounding modes.
43368 (test_in_one_mode): New function.
43369 (do_test): Use test_in_one_mode to compute and check results.
43370 Check results for all rounding modes.
43371 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43374 2012-12-09 Allan McRae <allan@archlinux.org>
43376 * sysdeps/i386/fpu/libm-test-ulps: Update
43378 2012-09-11 Joseph Myers <joseph@codesourcery.com>
43380 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43381 (_G_int32_t): Likewise.
43382 (_G_uint16_t): Likewise.
43383 (_G_uint32_t): Likewise.
43384 (_G_HAVE_BOOL): Likewise.
43385 (_G_HAVE_ATEXIT): Likewise.
43386 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43387 (_G_HAVE_IO_FILE_OPEN): Likewise.
43388 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43389 (_G_int32_t): Likewise.
43390 (_G_uint16_t): Likewise.
43391 (_G_uint32_t): Likewise.
43392 (_G_HAVE_BOOL): Likewise.
43393 (_G_HAVE_ATEXIT): Likewise.
43394 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43395 (_G_HAVE_IO_FILE_OPEN): Likewise.
43396 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43397 (_G_int32_t): Likewise.
43398 (_G_uint16_t): Likewise.
43399 (_G_uint32_t): Likewise.
43400 (_G_HAVE_BOOL): Likewise.
43401 (_G_HAVE_ATEXIT): Likewise.
43402 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43403 (_G_HAVE_IO_FILE_OPEN): Likewise.
43405 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
43407 * csu/libc-tls.c: Update copyright years.
43409 2012-09-10 Joseph Myers <joseph@codesourcery.com>
43411 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43412 [!_G_USING_THUNKS]: Remove conditional code.
43413 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43414 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43416 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43417 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43418 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43419 (_G_VTABLE_LABEL_PREFIX): Likewise.
43420 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43421 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43422 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43423 (_G_VTABLE_LABEL_PREFIX): Likewise.
43424 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43425 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43426 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43427 (_G_VTABLE_LABEL_PREFIX): Likewise.
43428 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43430 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
43432 * libio/Makefile: Include ../Makeconfig before tests.
43433 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43434 only if $(build-shared) is yes.
43436 * iconv/gconv_db.c: Update copyright years.
43438 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43440 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43441 unwind info if defined PIC. Fix special cases description.
43442 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43444 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43446 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43448 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
43450 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43452 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43455 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43456 (LDLIBS-tst-chk4): This.
43457 (LDFLAGS-tst-chk5): Renamed to ...
43458 (LDLIBS-tst-chk5): This.
43459 (LDFLAGS-tst-chk6): Renamed to ...
43460 (LDLIBS-tst-chk6): This.
43461 (LDFLAGS-tst-lfschk4): Renamed to ...
43462 (LDLIBS-tst-lfschk4): This.
43463 (LDFLAGS-tst-lfschk5): Renamed to ...
43464 (LDLIBS-tst-lfschk5): This.
43465 (LDFLAGS-tst-lfschk6): Renamed to ...
43466 (LDLIBS-tst-lfschk6): This.
43468 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43469 on $(common-objpfx)soversions.mk.
43471 2012-09-07 Joseph Myers <joseph@codesourcery.com>
43474 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43477 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
43479 * malloc/arena.c (arena_get_retry): New function that gets
43480 another arena for the caller to try its request on.
43481 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43482 current arena cannot fulfill the request.
43483 (__libc_memalign): Likewise.
43484 (__libc_memalign): Likewise.
43485 (__libc_pvalloc): Likewise.
43486 (__libc_calloc): Likewise.
43488 2012-09-05 John Tobey <john.tobey@gmail.com>
43491 * manual/arith.texi (Operations on Complex): Fix description
43492 of carg branch cut.
43494 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43497 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43501 * manual/memory.texi (Memory): Make order of menu items match
43504 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43506 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43507 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
43508 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43510 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43512 * csu/libc-tls.c (static_dtv): Renamed to ...
43513 (_dl_static_dtv): This. Make it global.
43514 (_dl_initial_dtv): Removed.
43515 (__libc_setup_tls): Updated.
43516 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43517 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43520 2012-09-06 Petr Machata <pmachata@redhat.com>
43522 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43523 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43524 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43525 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43527 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43530 * csu/libc-tls.c (_dl_initial_dtv): New variable.
43531 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43534 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43537 * Makeconfig (link-static-before-libc): Replace $(+prector)
43539 (link-static-after-libc): Replace $(+postctor) with
43541 (link-bounded): Replace $(+prector)/$(+postctor) with
43542 $(+prectorT)/$(+postctorT).
43543 (+prectorT): New macro.
43544 (+postctorT): Likewise.
43546 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43548 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43549 (round_str): Handle values above the maximum for IBM long double
43551 * stdlib/tst-strtod-round.c (tests): Regenerated.
43553 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43555 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43557 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43558 zarch_nohighgprs around the zarch optimized routines.
43559 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43560 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43561 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43564 2012-09-05 David S. Miller <davem@davemloft.net>
43566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43568 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43569 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43570 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43571 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43574 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43576 * malloc/arena.c: Fold copyright years.
43577 * malloc/mcheck.c, malloc/memusage.c: Likewise.
43579 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43581 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43583 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43585 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
43587 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43589 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43590 change internal state upon failure.
43592 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43594 * malloc/mcheck.c (mcheck_check_all): Fix typo.
43595 * malloc/memusage.c (mmap): Likewise.
43596 (mmap64, mremap): Likewise. Adjust name in comment.
43598 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43600 * libio/fileops.c: Fix typos in comments.
43601 * libio/oldfileops.c: Likewise.
43602 * libio/wfileops.c: Likewise.
43604 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43607 * malloc/Makefile (tests): Add tst-malloc-usable test case.
43608 (tst-malloc-usable-ENV): Set environment for test case.
43609 * malloc/hooks.c (malloc_check_get_size): New function to get
43611 * malloc/malloc.c (musable): Use malloc_check_get_size.
43612 * malloc/tst-malloc-usable.c: New test case.
43614 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
43616 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43618 2012-09-05 Allan McRae <allan@archlinux.org>
43621 * configure.in (CXX_SYSINCLUDES): Use compiler output to
43622 determine header location.
43623 * configure: Regenerated.
43625 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
43627 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43629 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43630 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43632 (test): Regenerate.
43634 2012-09-04 David S. Miller <davem@davemloft.net>
43636 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43637 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43638 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43640 2012-09-04 Florian Weimer <fweimer@redhat.com>
43642 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43645 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43647 2012-09-04 Joseph Myers <joseph@codesourcery.com>
43650 * libio/iogetdelim.c: Include <limits.h>.
43651 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43652 + len + 1 would overflow.
43654 2012-09-03 Andreas Jaeger <aj@suse.de>
43656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43657 * sysdeps/i386/fpu/libm-test-ulps: Update.
43659 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43661 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43662 Add s_sinf-sse2, s_conf-sse2.
43664 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43665 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43666 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43667 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43669 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43670 for using routine as __sinf_ia32.
43671 Use macro for function declaration and weak_alias.
43672 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43673 for using routine as __cosf_ia32.
43674 Use macro for function declaration and weak_alias.
43676 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43677 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43679 * sysdeps/x86_64/fpu/s_sinf.S: New file.
43680 * sysdeps/x86_64/fpu/s_cosf.S: New file.
43681 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43683 * math/libm-test.inc (cos_test): Add more test cases.
43684 (sin_test): Likewise.
43685 (sincos_test): Likewise.
43687 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43689 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43690 (IFUNC_RESOLVE): Make pointers to the specialized implementations
43692 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43694 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
43697 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43698 first element of the GOT.
43699 (elf_machine_load_address): Return the difference between
43700 the runtime address of _DYNAMIC and elf_machine_dynamic ().
43702 2012-09-01 Allan McRae <allan@archlinux.org>
43705 * configure.in (AWK): Require gawk version 3.0 or later.
43706 * configure: Regenerated.
43708 2012-09-01 Joseph Myers <joseph@codesourcery.com>
43710 * sysdeps/unix/sysv/linux/kernel-features.h
43711 (__ASSUME_POSIX_CPU_TIMERS): Remove.
43712 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43713 [__NR_clock_getres]: Make code unconditional.
43714 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43715 (clock_getcpuclockid): Remove code left unreachable by removal of
43717 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43718 code unconditional.
43719 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43720 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43721 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43722 Make code unconditional.
43723 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43724 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43725 * sysdeps/unix/sysv/linux/clock_settime.c
43726 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43728 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43729 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43731 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
43734 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43735 scripts/test-installation.pl.
43737 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43738 and $ld_so_version if it is set.
43740 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43743 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43744 failure if reading from procfs failed.
43745 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43747 2012-08-27 Joseph Myers <joseph@codesourcery.com>
43749 * sysdeps/unix/sysv/linux/kernel-features.h
43750 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43751 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43752 Remove conditional code.
43753 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43754 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43755 Remove conditional code.
43756 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43757 * sysdeps/unix/sysv/linux/i386/fxstat.c
43758 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43759 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43760 * sysdeps/unix/sysv/linux/i386/fxstatat.c
43761 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43762 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43763 * sysdeps/unix/sysv/linux/i386/lxstat.c
43764 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43765 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43766 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43767 Remove conditional code.
43768 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43769 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43770 Remove conditional code.
43771 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43772 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43773 <kernel-features.h>.
43774 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43776 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43777 Remove conditional code.
43778 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43779 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43780 Remove conditional.
43782 2012-08-27 Mike Frysinger <vapier@gentoo.org>
43785 * NEWS: Add fixed bug number.
43787 2012-08-27 Joseph Myers <joseph@codesourcery.com>
43790 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43791 underflowing exponent in case of negative sign.
43792 * stdlib/tst-strtod-round-data: Add more tests.
43793 * stdlib/tst-strtod-round.c (tests): Regenerated.
43796 * stdlib/strtod_l.c (NDIG): Remove.
43797 (HEXNDIG): Likewise.
43798 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43799 smallest representable value.
43800 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43801 lie within an exact representation of 1/2 ulp of the result.
43802 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43804 (TENS_P9_IDX): Define unconditionally.
43805 (TENS_P9_SIZE): Likewise.
43806 (TENS_P10_IDX): Likewise.
43807 (TENS_P10_SIZE): Likewise.
43808 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43809 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43810 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43811 entries for 10^2^13 and 10^2^14.
43812 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43813 (TENS_P13_IDX): Define.
43814 (TENS_P13_SIZE): Likewise.
43815 (TENS_P14_IDX): Likewise.
43816 (TENS_P14_SIZE): Likewise.
43817 (_fpioconst_pow10): Change array size to
43818 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
43820 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43821 1024]: Add entries for 10^2^13 and 10^2^14.
43822 [LAST_POW10 > _LAST_POW10]: Remove #error.
43823 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43824 (_fpioconst_pow10): Change array size to
43825 FPIOCONST_POW10_ARRAY_SIZE.
43826 * stdlib/gen-fpioconst.c: New file.
43827 * stdlib/gen-tst-strtod-round.c: Likewise.
43828 * stdlib/tst-strtod-round-data: Likewise.
43829 * stdlib/tst-strtod-round.c: Likewise.
43830 * stdlib/Makefile (tests): Add tst-strtod-round.
43833 * stdlib/strtod_l.c: Include <stdint.h>.
43834 (NDEBUG): Do not define.
43835 (round_and_return): Change EXPONENT parameter to type intmax_t.
43836 Rearrange calculations to avoid internal overflow possibilities.
43837 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43838 Rearrange calculations to avoid internal overflow possibilities.
43839 Assert that number fits inside MPNSIZE limbs.
43840 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43841 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
43842 calculations and add assertions to avoid internal overflow
43843 possibilities. Add casts to avoid signed/unsigned operations.
43844 * stdlib/tst-strtod-overflow.c: New file.
43845 * stdlib/Makefile (tests): Add tst-strtod-overflow.
43847 2012-08-25 Marek Polacek <polacek@redhat.com>
43849 * time/time.h: Fix some typos in comments.
43851 2012-08-23 Roland McGrath <roland@hack.frob.com>
43853 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43854 * posix/tst-rfc3484-2.c: Likewise.
43855 * posix/tst-rfc3484-3.c: Likewise.
43857 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
43859 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43860 (EF_ARM_ABI_FLOAT_HARD): Likewise.
43862 2012-08-23 Joseph Myers <joseph@codesourcery.com>
43864 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43865 #include of fxstatat64.c.
43867 2012-08-22 Roland McGrath <roland@hack.frob.com>
43869 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43870 * shadow/getspent_r.c: Likewise.
43871 * shadow/getspnam.c: Likewise.
43872 * shadow/getspnam_r.c: Likewise.
43873 * gshadow/getsgent.c: Likewise.
43874 * gshadow/getsgent_r.c: Likewise.
43875 * gshadow/getsgnam.c: Likewise.
43876 * gshadow/getsgnam_r.c: Likewise.
43877 * inet/getnetbyad.c: Likewise.
43878 * inet/getnetbyad_r.c: Likewise.
43879 * inet/getnetbynm.c: Likewise.
43880 * inet/getnetbynm_r.c: Likewise.
43881 * inet/getnetent.c: Likewise.
43882 * inet/getnetent_r.c: Likewise.
43883 * inet/getproto.c: Likewise.
43884 * inet/getproto_r.c: Likewise.
43885 * inet/getprtent.c: Likewise.
43886 * inet/getprtent_r.c: Likewise.
43887 * inet/getprtname.c: Likewise.
43888 * inet/getprtname_r.c: Likewise.
43889 * inet/getrpcbyname.c: Likewise.
43890 * inet/getrpcbyname_r.c: Likewise.
43891 * inet/getrpcbynumber.c: Likewise.
43892 * inet/getrpcbynumber_r.c: Likewise.
43893 * inet/getrpcent.c: Likewise.
43894 * inet/getrpcent_r.c: Likewise.
43895 * inet/getaliasent.c: Likewise.
43896 * inet/getaliasent_r.c: Likewise.
43897 * inet/getaliasname.c: Likewise.
43898 * inet/getaliasname_r.c: Likewise.
43899 * nscd/getgrgid_r.c: Likewise.
43900 * nscd/getgrnam_r.c: Likewise.
43901 * nscd/gethstbyad_r.c: Likewise.
43902 * nscd/gethstbynm3_r.c: Likewise.
43903 * nscd/getpwnam_r.c: Likewise.
43904 * nscd/getpwuid_r.c: Likewise.
43905 * nscd/getsrvbynm_r.c: Likewise.
43906 * nscd/getsrvbypt_r.c: Likewise.
43907 * nscd/gai.c: Likewise.
43909 * configure.in (build_nscd): New substituted variable, set
43910 by --disable-build-nscd and defaults to $use_nscd.
43911 * configure: Regenerated.
43912 * config.make.in (build-nscd): New substituted variable.
43913 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43914 Change conditional to require [$(build-nscd) = yes] as well.
43915 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43918 * configure.in (use_nscd): New substituted variable, set by
43919 --disable-nscd. If enabled, define USE_NSCD.
43920 * configure: Regenerated.
43921 * config.h.in: Add USE_NSCD.
43922 * config.make.in (use-nscd): New substituted variable.
43923 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43924 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43925 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43926 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43927 (CFLAGS-getgrnam_r.c): Likewise.
43928 (CFLAGS-initgroups.c): Likewise.
43929 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43930 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43932 * inet/getnetgrent_r.c
43933 (nscd_setnetgrent): New function, broken out of ...
43934 (setnetgrent): ... here. Call it.
43935 (innetgr): Conditionalize nscd bits on [USE_NSCD].
43936 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43937 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43938 * nscd/Makefile (routines, aux): Move definitions after include of
43939 Makeconfig. Conditionalize on [$(use-nscd) != no].
43940 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43941 Conditionalize on [USE_NSCD].
43942 (is_nscd, nscd_init_cb): Likewise.
43943 (nss_load_library): Conditionalize init callback on [USE_NSCD].
43944 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43945 * nss/nss_db/db-init.c: Likewise.
43946 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43948 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43949 (make_request): Use it.
43950 (cache_valid_p): New function.
43951 (__check_pf): Use it.
43952 * NEWS: Add item for --disable-nscd.
43954 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
43956 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43957 to support sed >= 4.2.1-20-ga9bf076.
43958 * configure: Regenerated.
43960 2012-08-22 Roland McGrath <roland@hack.frob.com>
43962 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43963 Conditionalize whole body on [IREL].
43965 2012-08-22 Jeff Law <law@redhat.com>
43968 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43969 if the family is PF_UNSPEC.
43971 2012-08-22 Mike Frysinger <vapier@gentoo.org>
43973 * Makerules (lib-version): Rename from V.
43974 (install-lib-nosubdir): Change V to lib-version.
43976 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
43979 * powerpc32/power6/wcschr.c: New file.
43980 * powerpc32/power6/wcscpy.c: New file.
43981 * powerpc32/power6/wcsrchr.c: New file.
43982 * powerpc64/power6/wcschr.c: New file.
43983 * powerpc64/power6/wcscpy.c: New file.
43984 * powerpc64/power6/wcsrchr.c: New file.
43986 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43988 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43989 (two_way_short_needle): Use it.
43990 * string/strstr.c (AVAILABLE1_USES_J): Define.
43991 * string/strcasestr.c: Likewise.
43993 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43995 * string/strcasestr.c (TOLOWER): Make side-effect safe.
43998 * NEWS: Add an entry.
43999 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
44000 define their defaults.
44001 (two_way_short_needle): Detect end-of-string on-the-fly.
44002 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
44003 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44004 * string/bug-strcasestr1.c: New test.
44005 * string/Makefile: Run it.
44007 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
44010 * string/str-two-way.h (two_way_short_needle): Optimize matching of
44011 the first character.
44013 2012-08-21 Roland McGrath <roland@hack.frob.com>
44015 * csu/elf-init.c (__libc_csu_irel): Function removed.
44016 * csu/libc-start.c (apply_irel): New function.
44017 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44019 2012-08-21 Joseph Myers <joseph@codesourcery.com>
44021 * sysdeps/unix/sysv/linux/kernel-features.h
44022 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44023 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44024 <kernel-features.h>.
44025 [__NR_fadvise64_64]: Make code unconditional.
44026 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44027 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44028 !__NR_fadvise64_64)]: Likewise.
44029 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44030 !__NR_fadvise64_64))]: Likewise.
44031 [__NR_fadvise64]: Make code unconditional.
44032 [!__NR_fadvise64]: Remove conditional code.
44033 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44034 <kernel-features.h>.
44035 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44037 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44040 not include <kernel-features.h>.
44041 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44043 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44045 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44046 include <kernel-features.h>.
44047 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44049 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44052 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44054 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44055 slight instruction rearrangements per scrollpipe analysis.
44056 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44058 2012-08-20 Roland McGrath <roland@hack.frob.com>
44060 * manual/syslog.texi (syslog; vsyslog, closelog):
44061 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44062 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44064 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44065 DSOCAPS to match condition on defining it.
44067 2012-08-20 Joseph Myers <joseph@codesourcery.com>
44069 * sysdeps/unix/sysv/linux/kernel-features.h
44070 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44072 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44073 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44075 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44076 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44078 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44079 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44081 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44082 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44084 * sysdeps/unix/sysv/linux/kernel-features.h
44085 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44086 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44088 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44089 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44090 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44091 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44092 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44093 Make code unconditional.
44094 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44095 (__mmap64) [!__NR_mmap2]: Likewise.
44096 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44097 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44098 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44099 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44100 [__NR_mmap2]: Make code unconditional.
44101 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44102 (__mmap64) [!__NR_mmap2]: Likewise.
44104 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44106 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44108 2012-08-18 Andreas Jaeger <aj@suse.de>
44110 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44112 2012-08-18 Mike Frysinger <vapier@gentoo.org>
44114 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44115 * include/unistd.h (__have_sock_cloexec): Likewise.
44116 (__have_pipe2): Likewise.
44117 (__have_dup3): Likewise.
44119 2012-08-18 Mike Frysinger <vapier@gentoo.org>
44122 * include/unistd.h (__have_pipe2): Change define into an extern int.
44123 (__have_dup3): Likewise.
44124 * socket/have_sock_cloexec.c: Include fcntl.h.
44125 (__have_pipe2): New variable.
44126 (__have_dup3): Likewise.
44128 2012-08-17 Mike Frysinger <vapier@gentoo.org>
44130 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44132 2012-08-17 Marek Polacek <polacek@redhat.com>
44134 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44135 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44137 2012-08-17 Roland McGrath <roland@hack.frob.com>
44139 * configure.in: Add AC_SUBST for sysheaders.
44140 * configure: Regenerated.
44141 * config.make.in (sysheaders): New substituted variable.
44143 * sysdeps/unix/mkfifo.c: Moved ...
44144 * sysdeps/posix/mkfifo.c: ... here.
44145 * sysdeps/unix/mkfifoat.c: Moved ...
44146 * sysdeps/posix/mkfifoat.c: ... here.
44148 * sysdeps/unix/utime.c: Moved ...
44149 * sysdeps/posix/utime.c: ... here.
44151 * sysdeps/unix/time.c: Moved ...
44152 * sysdeps/posix/time.c: ... here.
44153 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44154 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44156 * sysdeps/unix/nice.c: Moved ...
44157 * sysdeps/posix/nice.c: ... here.
44159 * sysdeps/unix/alarm.c: Moved ...
44160 * sysdeps/posix/alarm.c: ... here.
44162 * intl/Makefile ($(codeset_mo)): Depend on the input file.
44164 2012-08-17 Jeff Law <law@redhat.com>
44166 * intl/Makefile (codeset_mo): New variable.
44167 ($(codeset_mo)): New target.
44168 (tst-codeset.out): Depend on that. Remove explicit rule.
44169 (tst-gettext3.out, tst-gettext5.out): Likewise.
44170 (LOCPATH-ENV, tst-codeset-ENV): New variables.
44171 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44172 * intl/tst-codeset.sh: Remove.
44173 * intl/tst-gettext3.sh: Likewise.
44174 * intl/tst-gettext5.sh: Likewise.
44176 2012-08-17 Roland McGrath <roland@hack.frob.com>
44178 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
44179 * sysdeps/unix/syscalls.list: ... here.
44181 * sysdeps/posix/getaddrinfo.c
44182 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44183 (gaiconf_init, gaiconf_reload): Use them.
44184 [!_STATBUF_ST_NSEC]
44185 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44186 Define using time_t rather than struct timespec.
44188 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44189 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44191 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44193 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44194 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44197 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44198 __libc_cleanup_push argument.
44200 * bits/param.h: New file.
44201 * misc/sys/param.h: New file.
44202 * include/sys/param.h: New file.
44203 * misc/Makefile (headers): Add bits/param.h.
44204 * sysdeps/generic/sys/param.h: File removed.
44205 * sysdeps/unix/sysv/linux/bits/param.h: New file.
44206 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44207 * sysdeps/mach/hurd/bits/param.h: New file.
44208 * sysdeps/mach/hurd/sys/param.h: File removed.
44210 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44213 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44215 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44216 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44219 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44220 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44221 rather than -D_IO_MTSAFE_IO conditionally.
44222 * stdio-common/Makefile (CPPFLAGS): Likewise.
44223 * wcsmbs/Makefile (CPPFLAGS): Likewise.
44224 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44225 Use $(libio-mtsafe).
44226 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44227 of -D_IO_MTSAFE_IO.
44228 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44229 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44230 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44231 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44232 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44233 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44234 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44235 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44236 (CFLAGS-fread_u_chk.c): Likewise.
44237 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44238 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44239 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44240 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44241 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44242 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44243 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44244 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44245 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44247 * libio/Makefile: Test [$(libc-reentrant) = yes]
44248 instead of [$(filter %REENTRANT, $(defines)) nonempty].
44251 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44252 * sysdeps/pthread/configure: File removed.
44253 * sysdeps/pthread/Makeconfig: New file.
44254 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44255 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44257 2012-08-16 Gary Benson <gbenson@redhat.com>
44259 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44260 unmapping the first object in a namespace.
44262 2012-08-16 Roland McGrath <roland@hack.frob.com>
44264 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44265 (__internal_setnetgrent): ... this. Add internal_function to
44266 definition. Add libc_hidden_def.
44267 (setnetgrent): Update caller.
44268 (internal_endnetgrent): Renamed to ...
44269 (__internal_endnetgrent): ... this. Add internal_function to
44270 definition. Add libc_hidden_def.
44271 (endnetgrent): Update caller.
44272 (internal_getnetgrent_r): Renamed to ...
44273 (__internal_getnetgrent_r): ... this. Add internal_function to
44274 definition. Add libc_hidden_def.
44275 (__getnetgrent_r): Update caller.
44276 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
44278 2012-08-16 Joseph Myers <joseph@codesourcery.com>
44280 * stdlib/longlong.h: Update from GCC.
44282 2012-08-16 Roland McGrath <roland@hack.frob.com>
44284 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44285 on _QL, which is set by umul_ppmm but never used.
44286 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44287 variables, which are set by GMP macros but never used.
44288 * stdio-common/_itowa.c (_itowa): Likewise.
44289 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44290 * stdlib/mod_1.c (mpn_mod_1): Likewise.
44292 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
44294 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44295 struct La_sh_regs is not constant.
44296 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44297 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44298 and struct La_sparc64_regs are not constant.
44300 2012-08-16 Joseph Myers <joseph@codesourcery.com>
44302 * sysdeps/unix/sysv/linux/kernel-features.h
44303 (__ASSUME_POSIX_TIMERS): Remove.
44304 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44305 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44306 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44307 Make code unconditional.
44308 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44309 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44310 Make code unconditional.
44311 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44312 * sysdeps/unix/sysv/linux/clock_nanosleep.c
44313 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44314 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44315 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44316 Make code unconditional.
44317 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44318 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44319 (__libc_missing_posix_timers): Remove.
44321 2012-08-15 Roland McGrath <roland@hack.frob.com>
44323 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44324 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44326 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44328 * elf/dl-sym.c: Include <stdlib.h>.
44330 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44331 constants, which avoids warnings in 32-bit builds.
44333 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44334 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44336 * misc/lseek.c: File moved to ...
44337 * io/lseek.c: ... here.
44339 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44341 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44342 shifting LEN more than 31 bits at once.
44344 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44347 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44348 segmentation fault for a case of two empty input strings.
44349 * string/test-strncasecmp.c (check1): Renamed to...
44350 (bz12205): ...this.
44351 (bz14195): Add new testcase for two empty input strings and N > 0.
44352 (test_main): Call new testcase, adapt for renamed function.
44354 2012-08-15 Andreas Jaeger <aj@suse.de>
44357 * crypt/md5test2.c: New test, based on test supplied by Serge
44358 Belyshev <belyshev@depni.sinp.msu.ru>.
44359 * crypt/Makefile (xtests): Add md5test-giant..
44360 * crypt/Makefile ($(objpfx)md5test-giant): Add.
44362 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
44365 * crypt/md5.c (md5_process_block): Don't assume the buffer
44366 length is less than 2**32.
44367 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44368 length is less than 2**64.
44370 2012-08-15 Roland McGrath <roland@hack.frob.com>
44372 * string/str-two-way.h: Include <sys/param.h>.
44373 (MAX): Macro removed.
44375 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44376 Move #define and #undef of memmove to just before and after
44377 including <string.h>.
44379 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44380 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44381 and after including <string.h>. Move declarations of
44382 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44383 to before #include "string/memmove.c".
44385 * include/dirent.h: Declare __getdirentries.
44387 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44388 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44390 2012-08-14 Mike Frysinger <vapier@gentoo.org>
44392 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44393 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44394 * sysdeps/i386/configure: Regenerated.
44395 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44396 STABS_CURRENT_FILE, and STABS_FUN.
44397 (END): Remove call to STABS_FUN_END.
44398 (STABS_CURRENT_FILE1): Delete.
44399 (STABS_CURRENT_FILE): Likewise.
44400 (STABS_FUN): Likewise.
44401 (STABS_FUN_END): Likewise.
44402 (STABS_FUN2): Likewise.
44403 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44404 * sysdeps/x86_64/configure: Regenerated.
44406 2012-08-14 Roland McGrath <roland@hack.frob.com>
44408 * elf/dl-open.c: Include <atomic.h>.
44409 * elf/dl-lookup.c: Likewise.
44411 2012-08-14 Joseph Myers <joseph@codesourcery.com>
44413 * sysdeps/unix/sysv/linux/kernel-features.h
44414 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44415 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44417 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44419 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44420 condition on __ASSUME_CLONE_THREAD_FLAGS.
44422 2012-08-14 Andreas Jaeger <aj@suse.de>
44424 * sysdeps/i386/fpu/libm-test-ulps: Update.
44426 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
44428 * include/atomic.h (atomic_exchange_and_add): Split into ...
44429 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44432 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
44434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44436 2012-08-13 Jeff Law <law@redhat.com>
44438 * manual/stdio.texi (snprintf): Clarify handling of the trailing
44439 null byte in the output string.
44441 2012-08-10 Joseph Myers <joseph@codesourcery.com>
44443 * sysdeps/unix/sysv/linux/kernel-features.h
44444 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44445 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44446 (__ASSUME_ARG_MAX_STACK_BASED): Define.
44447 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44448 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44449 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
44450 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44452 2012-08-09 Jeff Law <law@redhat.com>
44455 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44456 When avoid_arena is set, don't retry in the that arena. Pick the
44457 next one, whatever it might be.
44458 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44459 (arena_lock): Pass in new parameter to arena_get2.
44460 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44462 (__libc_malloc): Unify retrying after main arena failure with
44463 __libc_memalign version.
44464 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44466 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
44469 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44470 to __redirect_strstr.
44471 (__strstr_sse42): Use typeof __redirect_strstr.
44472 (__strstr_ia32): Likewise.
44473 (__libc_strstr): New prototype.
44474 (strstr): Renamed to ...
44475 (__libc_strstr): This.
44476 (strstr): New strong alias of __libc_strstr.
44477 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44478 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44481 (__libc_time): New prototype.
44482 (time_ifunc): Replace time with __libc_time.
44483 (time): New strong alias and hidden definition of __libc_time.
44484 (__GI_time): Remove strong alias.
44485 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44486 Include <stddef.h>.
44487 (memmove): Redefined to __redirect_memmove.
44488 (__memmove_sse2): Use typeof __redirect_memmove.
44489 (__memmove_ssse3): Likewise.
44490 (__memmove_ssse3_back): Likewise.
44491 (__libc_memmove): New prototype.
44492 (memmove): Renamed to ...
44493 (__libc_memmove): This.
44494 (memmove): New strong alias of __libc_memmove.
44496 2012-08-08 Mark Salter <msalter@redhat.com>
44499 (R_MN10300_TLS_GD): Define.
44500 (R_MN10300_TLS_LD): Likewise.
44501 (R_MN10300_TLS_LDO): Likewise.
44502 (R_MN10300_TLS_GOTIE): Likewise.
44503 (R_MN10300_TLS_IE): Likewise.
44504 (R_MN10300_TLS_LE): Likewise.
44505 (R_MN10300_TLS_DTPMOD): Likewise.
44506 (R_MN10300_TLS_DTPOFF): Likewise.
44507 (R_MN10300_TLS_TPOFF): Likewise.
44508 (R_MN10300_SYM_DIFF): Likewise.
44509 (R_MN10300_ALIGN): Likewise.
44510 (R_MN10300_NUM): Update.
44512 2012-08-08 Joseph Myers <joseph@codesourcery.com>
44514 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44517 2012-08-08 Roland McGrath <roland@hack.frob.com>
44519 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44521 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44522 sysdeps/unix -> sysdeps/posix move.
44523 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44525 2012-08-07 Allan McRae <allan@archlinux.org>
44528 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44529 (SUNOS_CPP): Likewise.
44530 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44532 (open_input): Call CPP using execvp.
44534 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44536 * sysdeps/unix/sysv/linux/kernel-features.h
44537 (__ASSUME_PROT_GROWSUPDOWN): Remove.
44538 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44539 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44540 (__ASSUME_WAITID_SYSCALL): Likewise.
44541 * sysdeps/unix/sysv/linux/dl-execstack.c
44542 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44543 code unconditional.
44544 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44546 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44547 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44548 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44550 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44552 [__ASSUME_WAITID_SYSCALL]: Likewise.
44553 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44555 2012-08-07 Roland McGrath <roland@hack.frob.com>
44557 * sysdeps/unix/closedir.c: Renamed to ...
44558 * sysdeps/posix/closedir.c: ... here.
44559 * sysdeps/unix/dirfd.c: Renamed to ...
44560 * sysdeps/posix/dirfd.c: ... here.
44561 * sysdeps/unix/dirstream.h: Renamed to ...
44562 * sysdeps/posix/dirstream.h: ... here.
44563 * sysdeps/unix/fdopendir.c: Renamed to ...
44564 * sysdeps/posix/fdopendir.c: ... here.
44565 * sysdeps/unix/opendir.c: Renamed to ...
44566 * sysdeps/posix/opendir.c: ... here.
44567 * sysdeps/unix/readdir.c: Renamed to ...
44568 * sysdeps/posix/readdir.c: ... here.
44569 * sysdeps/unix/readdir_r.c: Renamed to ...
44570 * sysdeps/posix/readdir_r.c: ... here.
44571 * sysdeps/unix/rewinddir.c: Renamed to ...
44572 * sysdeps/posix/rewinddir.c: ... here.
44573 * sysdeps/unix/seekdir.c: Renamed to ...
44574 * sysdeps/posix/seekdir.c: ... here.
44575 * sysdeps/unix/telldir.c: Renamed to ...
44576 * sysdeps/posix/telldir.c: ... here.
44577 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44578 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44579 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44580 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44582 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44583 * bits/fcntl.h: ... here.
44585 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44587 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44588 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44589 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44590 (struct flock): Move l_start, l_len to the beginning.
44591 Use __pid_t for l_pid.
44592 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44593 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44594 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44595 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44596 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44597 [__USE_LARGEFILE64] (struct flock64): New type.
44598 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44600 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44601 * bits/dirent.h: ... here.
44603 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44604 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44606 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44608 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44609 Change from 2.6.0 to 2.6.16.
44610 * sysdeps/unix/sysv/linux/configure: Regenerated.
44611 * sysdeps/unix/sysv/linux/kernel-features.h
44612 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44613 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44615 (__ASSUME_UTIMES): Likewise.
44616 (__ASSUME_CLONE_STOPPED): Remove.
44617 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44618 architectures, not kernel version.
44619 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44620 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44621 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44622 (__ASSUME_WAITID_SYSCALL): Likewise.
44623 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44624 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44625 * README: State 2.6.16 as minimum Linux kernel version. Do not
44626 refer to older versions.
44628 2012-08-06 Roland McGrath <roland@hack.frob.com>
44630 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44631 Define alphasort64 as an alias.
44632 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44633 Define versionsort64 as an alias.
44634 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44635 Define scandir64 as an alias.
44636 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44637 Define scandirat64 as an alias.
44638 * dirent/alphasort64.c (alphasort64):
44639 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44640 * dirent/versionsort64.c: Likewise.
44641 * dirent/scandir64.c: Likewise.
44642 * dirent/scandirat64.c: Likewise.
44643 * sysdeps/wordsize-64/alphasort.c: File removed.
44644 * sysdeps/wordsize-64/alphasort64.c: File removed.
44645 * sysdeps/wordsize-64/scandir.c: File removed.
44646 * sysdeps/wordsize-64/scandir64.c: File removed.
44647 * sysdeps/wordsize-64/scandirat.c: File removed.
44648 * sysdeps/wordsize-64/scandirat64.c: File removed.
44649 * sysdeps/wordsize-64/versionsort.c: File removed.
44650 * sysdeps/wordsize-64/versionsort64.c: File removed.
44651 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44652 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44653 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44654 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44655 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44656 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44657 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44658 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44660 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44661 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44662 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44663 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44664 [defined __arch64__ || defined __sparcv9]
44665 (__INO_T_MATCHES_INO64_T): New macro.
44666 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44667 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44668 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44669 * sysdeps/unix/sysv/linux/bits/dirent.h
44670 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44671 (_DIRENT_MATCHES_DIRENT64): New macro.
44673 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44674 Define lockf64 as an alias.
44675 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44676 Define fseeko64 as an alias.
44677 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44678 Define ftello64 as an alias.
44679 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44680 Define _IO_fgetpos64 and fgetpos64 as aliases.
44681 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44682 Define _IO_fsetpos64 and fsetpos64 as aliases.
44683 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44684 Conditionalize body on this.
44685 * libio/fseeko64.c: Likewise.
44686 * libio/ftello64.c: Likewise.
44687 * libio/iofgetpos64.c: Likewise.
44688 * libio/iofsetpos64.c: Likewise.
44689 * sysdeps/wordsize-64/lockf.c: File removed.
44690 * sysdeps/wordsize-64/lockf64.c: File removed.
44691 * sysdeps/wordsize-64/fseeko.c: File removed.
44692 * sysdeps/wordsize-64/fseeko64.c: File removed.
44693 * sysdeps/wordsize-64/ftello.c: File removed.
44694 * sysdeps/wordsize-64/ftello64.c: File removed.
44695 * sysdeps/wordsize-64/iofgetpos.c: File removed.
44696 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44697 * sysdeps/wordsize-64/iofsetpos.c: File removed.
44698 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44699 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44700 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44701 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44702 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44703 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44704 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44705 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44706 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44707 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44708 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44710 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44711 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44712 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44713 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44714 [defined __arch64__ || defined __sparcv9]
44715 (__OFF_T_MATCHES_OFF64_T): New macro.
44716 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44717 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44718 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44719 (__OFF_T_MATCHES_OFF64_T): New macro.
44721 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
44723 * stdlib/secure-getenv.c (__secure_getenv): Replace
44724 GLIBC_2_16 with GLIBC_2_17.
44726 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
44728 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44729 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44731 2012-08-03 David S. Miller <davem@davemloft.net>
44733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44735 2012-08-03 Joseph Myers <joseph@codesourcery.com>
44737 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44739 (__ASSUME_CORRECT_SI_PID): Likewise.
44740 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44741 (__ASSUME_TMPFS_NAME): Likewise.
44742 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44743 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44744 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44745 (HAVE_AUX_SECURE): Make definition unconditional.
44746 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44747 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44749 2012-08-03 Roland McGrath <roland@hack.frob.com>
44751 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44752 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44753 * sysdeps/mach/hurd/eloop-threshold.h: New file.
44754 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44755 __eloop_threshold instead of SYMLOOP_MAX.
44757 * sysdeps/generic/eloop-threshold.h: New file.
44758 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44760 * elf/chroot_canon.c (chroot_canon): Likewise.
44762 2012-08-03 Joseph Myers <joseph@codesourcery.com>
44765 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44766 Change to 2.6.0 everywhere.
44767 * sysdeps/unix/sysv/linux/configure: Regenerated.
44768 * sysdeps/unix/sysv/linux/kernel-features.h
44769 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44770 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44772 (__ASSUME_POSIX_TIMERS): Define unconditionally.
44773 (__ASSUME_FUTEX_REQUEUE): Remove.
44774 (__ASSUME_STATFS64): Define unconditionally.
44775 (__ASSUME_AT_SECURE): Likewise.
44776 (__ASSUME_CORRECT_SI_PID): Likewise.
44777 (__ASSUME_TGKILL): Define without depending on kernel version for
44779 (__ASSUME_UTIMES): Likewise.
44780 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44782 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44783 (__ASSUME_TMPFS_NAME): Likewise.
44784 * README: Update reference to Linux kernel versions.
44786 2012-08-02 Marek Polacek <polacek@redhat.com>
44789 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
44790 libc_cv_asm_type_prefix with %.
44791 * configure: Regenerated.
44792 * include/libc-symbols.h: Remove comment about
44793 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44794 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44795 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44796 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44797 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44798 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44799 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44800 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44801 * elf/tst-unique2mod1.c: Likewise.
44802 * elf/tst-unique1mod2.c: Likewise.
44803 * elf/tst-unique1mod1.c: Likewise.
44804 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44805 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44806 Replace ASM_TYPE_DIRECTIVE with .type.
44807 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44808 * sysdeps/i386/sysdep.h: Likewise.
44809 * sysdeps/x86_64/sysdep.h: Likewise.
44810 * sysdeps/sh/sysdep.h: Likewise.
44811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44812 Do not define ASM_TYPE_DIRECTIVE.
44813 * sysdeps/powerpc/sysdep.h: Likewise.
44814 * sysdeps/powerpc/powerpc32/sysdep.h:
44815 Replace ASM_TYPE_DIRECTIVE with .type.
44816 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44817 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44818 * sysdeps/i386/fpu/e_powf.S: Likewise.
44819 * sysdeps/i386/fpu/e_expl.S: Likewise.
44820 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44821 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44822 * sysdeps/i386/fpu/e_pow.S: Likewise.
44823 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44824 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44825 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44826 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44827 * sysdeps/i386/fpu/e_log2.S: Likewise.
44828 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44829 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44830 * sysdeps/i386/fpu/e_powl.S: Likewise.
44831 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44832 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44833 * sysdeps/i386/fpu/e_logl.S: Likewise.
44834 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44835 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44836 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44837 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44838 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44839 * sysdeps/i386/fpu/e_log.S: Likewise.
44840 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44841 * sysdeps/i386/fpu/e_logf.S: Likewise.
44842 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44843 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44844 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44845 * sysdeps/i386/fpu/e_log10.S: Likewise.
44846 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44847 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44848 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44849 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44850 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44851 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44852 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44853 * sysdeps/i386/i686/strtok.S: Likewise.
44854 * sysdeps/i386/i386-mcount.S: Likewise.
44855 * sysdeps/i386/strtok.S: Likewise.
44856 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44857 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44858 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44859 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44860 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44861 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44862 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44863 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44864 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44865 * sysdeps/x86_64/_mcount.S: Likewise.
44866 * sysdeps/x86_64/strtok.S: Likewise.
44867 * sysdeps/sh/_mcount.S: Likewise.
44869 2012-08-01 Roland McGrath <roland@hack.frob.com>
44871 * libio/iofopen.c: Include <fcntl.h>.
44872 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44873 (_IO_fopen64, fopen64): Define as aliases.
44874 * libio/iofopen64.c: Include <fcntl.h>.
44875 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44876 Conditionalize body on this.
44877 * sysdeps/wordsize-64/iofopen.c: File removed.
44878 * sysdeps/wordsize-64/iofopen64.c: File removed.
44880 2012-08-01 Marek Polacek <polacek@redhat.com>
44882 * libc/Makeconfig: Use elf in place of binfmt-subdir.
44883 Use dlfcn directly instead of a variable.
44884 (binfmt-subdir): Do not define.
44887 2012-08-01 Joseph Myers <joseph@codesourcery.com>
44889 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44890 Remove all definitions.
44891 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44892 <kernel-features.h>.
44893 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44894 (miss_F_GETOWN_EX): Remove all definitions.
44895 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44897 [!__ASSUME_FCNTL64]: Remove conditional code.
44898 [__ASSUME_FCNTL64]: Make code unconditional.
44899 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44900 <kernel-features.h>.
44901 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44902 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44903 (lockf64) [__NR_fcntl64]: Make code unconditional.
44904 (lockf64) [__ASSUME_FCNTL64]: Likewise.
44906 * sysdeps/unix/sysv/linux/kernel-features.h
44907 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44908 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44909 Make code unconditional.
44910 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44911 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44913 [__NR_vfork]: Make code unconditional.
44914 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44915 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44917 [__NR_vfork]: Make code unconditional.
44918 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44919 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44921 2012-08-01 Roland McGrath <roland@hack.frob.com>
44923 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44924 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44926 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44927 Define mkstemp64 as an alias.
44928 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44929 Define mkstemps64 as an alias.
44930 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44931 Define mkostemp64 as an alias.
44932 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44933 Define mkostemps64 as an alias.
44934 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44935 Conditionalize body on this.
44936 * misc/mkostemp64.c: Likewise.
44937 * misc/mkostemps64.c: Likewise.
44938 * misc/mkstemps64.c: Likewise.
44939 * sysdeps/wordsize-64/mkstemp64.c: File removed.
44940 * sysdeps/wordsize-64/mkostemp64.c: File removed.
44941 * sysdeps/wordsize-64/mkostemp.c: File removed.
44942 * sysdeps/wordsize-64/mkstemp.c: File removed.
44943 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44944 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44945 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44946 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44949 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44950 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44951 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44952 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44954 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44955 compat_symbol macros from <shlib-compat.h> rather than the underlying
44956 default_symbol_version and symbol_version macros, so that DEFAULT
44957 lines in shlib-versions are respected.
44958 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44960 2012-08-01 Florian Weimer <fweimer@redhat.com>
44962 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44963 Declare with warn_unused_result.
44964 (setgid, setregid, setegid, setresgid): Likewise.
44965 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44967 * WUR-REPORT: Remove set*id functions.
44969 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
44971 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44973 2012-07-31 Roland McGrath <roland@hack.frob.com>
44976 * include/sys/socket.h (__libc_accept, __libc_accept4):
44977 Add attribute_hidden.
44978 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44980 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44982 * inet/getnetgrent_r.c (setup): Likewise.
44984 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44986 2012-07-31 David S. Miller <davem@davemloft.net>
44988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44990 2012-07-31 Joseph Myers <joseph@codesourcery.com>
44993 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44994 value between 1.0 and 2.0 and smaller part has absolute value less
44996 * math/s_clog10.c (__clog10): Likewise.
44997 * math/s_clog10f.c (__clog10f): Likewise.
44998 * math/s_clog10l.c (__clog10l): Likewise.
44999 * math/s_clogf.c (__clogf): Likewise.
45000 * math/s_clogl.c (__clogl): Likewise.
45001 * math/libm-test.inc (clog_test): Add more tests.
45002 (clog10_test): Likewise.
45003 * sysdeps/i386/fpu/libm-test-ulps: Update.
45004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45006 2012-07-31 Florian Weimer <fweimer@redhat.com>
45008 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45009 Exit with zero in case no suitable GID is found, and write a
45010 message to standard error.
45012 2012-07-30 Roland McGrath <roland@hack.frob.com>
45014 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45016 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45017 (MAXPATHLEN): Removed.
45018 (NOGROUP, NODEV): New macros.
45019 (setbit, clrbit, isset, isclr): New macros.
45020 (howmany, roundup, powerof2): New macros.
45021 (DEV_BSIZE): New macro.
45023 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45024 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45026 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45027 definition on [!__NO_LONG_DOUBLE_MATH].
45029 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45030 PTR_MANGLE and PTR_DEMANGLE.
45032 * socket/accept4.c (accept4): Rename to __libc_accept4.
45033 Define accept4 as a weak alias.
45035 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45036 on [_DIRENT_HAVE_D_TYPE].
45037 * io/ftw.c (ftw_dir): Likewise.
45039 * io/xmknod.c (__xmknod): Don't check PATH for being null.
45041 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45043 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45044 Use the BSD numbers rather than the arbitrary ones we had.
45045 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45046 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45047 (SIGXCPU, SIGXFSZ): New macros.
45050 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45051 initializer on [_LIBC_REENTRANT].
45053 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45054 definitions inside [_POSIX_MAPPED_FILES].
45056 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45058 * dirent/opendir.c: Include <fcntl.h>.
45060 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45061 (__libc_getspecific): Likewise.
45062 (__libc_key_create): Likewise.
45064 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45065 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45066 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45067 (tmpfile64): Define as alias.
45068 * sysdeps/wordsize-64/tmpfile.c: File removed.
45069 * sysdeps/wordsize-64/tmpfile64.c: File removed.
45070 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45071 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45073 * stdio-common/vfscanf.c: Include <stdbool.h>.
45074 * nss/makedb.c: Likewise.
45075 * stdio-common/_i18n_number.h: Likewise.
45076 * argp/argp-help.c: Likewise.
45077 * posix/wordexp.c: Likewise.
45078 * sysdeps/posix/spawni.c: Likewise.
45079 * nss/nss_files/files-initgroups.c: Likewise.
45080 * stdio-common/reg-modifier.c: Include <stdlib.h>.
45081 * nss/nss_files/files-initgroups.c: Likewise.
45082 * nss/nss_db/db-netgrp.c: Likewise.
45083 * nss/nss_db/db-initgroups.c: Likewise.
45084 * io/fchmodat.c: Include <sys/stat.h>.
45086 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45087 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45089 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45092 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45093 Add multiple inclusion protection.
45095 2012-07-27 David S. Miller <davem@davemloft.net>
45097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45099 2012-07-27 Gary Benson <gbenson@redhat.com>
45102 * elf/rtld.c: Include <stap-probe.h>.
45103 (dl_main): Added static probes "init_start" and "init_complete".
45104 * elf/dl-load.c: Include <stap-probe.h>.
45105 (lose): Take new parameter "nsid".
45106 Added static probe "map_failed".
45107 (_dl_map_object_from_fd): Pass namespace id to lose.
45108 Added static probe "map_start".
45109 (open_verify): Pass namespace id to lose.
45110 * elf/dl-open.c: Include <stap-probe.h>.
45111 (dl_open_worker) Added static probes "map_complete", "reloc_start"
45112 and "reloc_complete".
45113 * elf/dl-close.c: Include <stap-probe.h>.
45114 (_dl_close_worker): Added static probes "unmap_start" and
45116 * elf/rtld-debugger-interface.txt: New file documenting the above.
45118 2012-07-26 Roland McGrath <roland@hack.frob.com>
45120 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45121 rather than a string variable.
45122 * sunrpc/rpc_main.c (h_output): Likewise.
45123 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45125 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
45127 * inet/check_native.c: New file.
45129 2012-07-26 Joseph Myers <joseph@codesourcery.com>
45132 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45133 if larger part has absolute value 1.0.
45134 * math/s_clog10.c (__clog10): Likewise.
45135 * math/s_clog10f.c (__clog10f): Likewise.
45136 * math/s_clog10l.c (__clog10l): Likewise.
45137 * math/s_clogf.c (__clogf): Likewise.
45138 * math/s_clogl.c (__clogl): Likewise.
45139 * math/libm-test.inc (clog_test): Add more tests.
45140 (clog10_test): Likewise.
45141 * sysdeps/i386/fpu/libm-test-ulps: Update.
45142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45144 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45145 (pltexit): Likewise.
45146 (La_regs): Likewise.
45147 (La_retval): Likewise.
45148 (int_retval): Likewise.
45149 Update #error for removed macros to refer only to definitions in
45151 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45153 (pltexit): Likewise.
45154 (La_regs): Likewise.
45155 (La_retval): Likewise.
45156 (int_retval): Likewise.
45157 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45159 (pltexit): Likewise.
45160 (La_regs): Likewise.
45161 (La_retval): Likewise.
45162 (int_retval): Likewise.
45163 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45165 (pltexit): Likewise.
45166 (La_regs): Likewise.
45167 (La_retval): Likewise.
45168 (int_retval): Likewise.
45169 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45171 (pltexit): Likewise.
45172 (La_regs): Likewise.
45173 (La_retval): Likewise.
45174 (int_retval): Likewise.
45175 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45177 (pltexit): Likewise.
45178 (La_regs): Likewise.
45179 (La_retval): Likewise.
45180 (int_retval): Likewise.
45181 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45183 (pltexit): Likewise.
45184 (La_regs): Likewise.
45185 (La_retval): Likewise.
45186 (int_retval): Likewise.
45187 * sysdeps/generic/tst-audit.h: Update comment to refer only to
45188 macro definitions in tst-audit.h.
45189 * sysdeps/i386/tst-audit.h: New file.
45190 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45191 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45192 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45193 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45194 * sysdeps/sh/tst-audit.h: Likewise.
45195 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45196 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45197 * sysdeps/x86_64/tst-audit.h: Likewise.
45199 2012-07-26 Andreas Jaeger <aj@suse.de>
45201 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45204 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45205 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45206 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45208 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45209 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45210 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45212 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45215 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45217 (si_call_addr, si_syscall, si_arch): Define new macro.
45218 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45220 (si_call_addr, si_syscall, si_arch): Define new marcro.
45221 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45223 (si_call_addr, si_syscall, si_arch): Define new macro.
45224 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45226 (si_call_addr, si_syscall, si_arch): Define new macro.
45228 2012-07-25 Joseph Myers <joseph@codesourcery.com>
45231 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45232 Change to 2.4.21 where previously 2.4.1.
45233 * sysdeps/unix/sysv/linux/configure: Regenerated.
45234 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45235 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45236 Linux kernel version.
45237 (__ASSUME_STD_AUXV): Remove.
45238 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45240 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45241 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45242 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45243 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45244 (__ASSUME_NETLINK_SUPPORT): Likewise.
45245 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45246 (__no_netlink_support): Remove conditional definition.
45247 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45249 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45250 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45251 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45252 (if_nameindex_ioctl): Remove.
45253 (if_nameindex_netlink): Do not handle __no_netlink_support.
45254 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45256 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45257 Remove conditional code.
45258 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45260 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45262 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45263 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45264 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45266 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45267 [!__ASSUME_STD_AUXV]: Remove conditional code.
45268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45269 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45270 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45272 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45273 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45275 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45277 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45278 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45280 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45282 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45285 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45288 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45289 code unconditional.
45290 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45292 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45294 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45297 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45299 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45302 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45303 code unconditional.
45304 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45306 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45308 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45311 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45312 code unconditional.
45313 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45315 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45317 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45320 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
45322 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45323 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45324 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45325 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45326 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45327 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45328 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45329 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45330 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45331 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45332 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45333 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45334 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45335 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45336 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45337 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45338 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45339 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45340 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45341 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45342 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45343 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45344 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45346 2012-07-25 Florian Weimer <fweimer@redhat.com>
45348 * Versions.def: Add GLIBC_2.17.
45349 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45350 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45351 Introduce __libc_secure_getenv.
45352 * stdlib/Versions (2.17): Add secure_getenv
45353 (GLIBC_PRIVATE): Add __libc_secure_getenv.
45354 * stdlib/secure-getenv.c: Rename __secure_getenv to
45355 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
45356 symbol __secure_getenv for GLIBC_2.0.
45357 * stdlib/tst-secure-getenv.c: New.
45358 * stdlib/Makefile (tests): Add testcase.
45359 * manual/startup.texi (Environment Access): Document
45361 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45362 __libc_secure_getenv.
45363 * inet/ruserpass.c (ruserpass): Likewise.
45364 * malloc/mtrace.c (mtrace): Likewise.
45365 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45366 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45367 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45368 * sysdeps/posix/tempname.c: Likewise. Evaluate
45369 HAVE_SECURE_GETENV.
45370 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45371 __secure_getenv to __libc_secure_getenv.
45372 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45379 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45385 2012-07-25 Joseph Myers <joseph@codesourcery.com>
45387 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45388 (struct La_i86_retval): Likewise.
45389 (struct La_x86_64_regs): Likewise.
45390 (struct La_x86_64_retval): Likewise.
45391 (struct La_x32_regs): Likewise.
45392 (struct La_x32_retval): Likewise.
45393 (struct La_ppc32_regs): Likewise.
45394 (struct La_ppc32_retval): Likewise.
45395 (struct La_ppc64_regs): Likewise.
45396 (struct La_ppc64_retval): Likewise.
45397 (struct La_sh_regs): Likewise.
45398 (struct La_sh_retval): Likewise.
45399 (struct La_s390_32_regs): Likewise.
45400 (struct La_s390_32_retval): Likewise.
45401 (struct La_s390_64_regs): Likewise.
45402 (struct La_s390_64_retval): Likewise.
45403 (struct La_sparc32_regs): Likewise.
45404 (struct La_sparc32_retval): Likewise.
45405 (struct La_sparc64_regs): Likewise.
45406 (struct La_sparc64_retval): Likewise.
45407 (struct audit_ifaces): Remove architecture-specific pltenter and
45409 * sysdeps/i386/ldsodefs.h: New file.
45410 * sysdeps/powerpc/ldsodefs.h: Likewise.
45411 * sysdeps/s390/ldsodefs.h: Likewise.
45412 * sysdeps/sh/ldsodefs.h: Likewise.
45413 * sysdeps/sparc/ldsodefs.h: Likewise.
45414 * sysdeps/x86_64/ldsodefs.h: Likewise.
45416 2012-07-25 Marek Polacek <polacek@redhat.com>
45419 * math/libm-test.inc (yn_test): Add another test.
45420 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45421 to ERANGE when the result is +-Inf.
45422 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45423 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45424 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45425 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45427 2012-07-24 Joseph Myers <joseph@codesourcery.com>
45429 * conform/data/time.h-data (NULL): Use macro-constant. Require
45431 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
45433 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
45435 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
45437 * configure.in <sysdeps resolving>: Correct printing
45439 * configure: Regenerate.
45441 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
45443 * math/w_ilogb.c: Include <limits.h>.
45444 * math/w_ilogbl.c: Likewise.
45446 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45448 * manual/lang.texi (__va_copy): Document primarily as ISO C99
45449 va_copy. Document allowing for unavailable va_copy only as
45450 pre-C99 compatibility.
45451 * manual/string.texi (Copying and Concatenation): Use va_copy
45452 instead of __va_copy in concat example.
45454 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
45456 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45457 (__sendto): Use create_address_port. Initialize APORT and deallocate
45460 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45461 with O_NOLINK passed to __file_name_lookup.
45463 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45464 with O_NOLINK passed to __file_name_lookup.
45466 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45467 negative N or less than NGIDS.
45469 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45470 type to string_t. Set ERANGE as errno and return it if NAME is not big
45471 enough. Use memcpy instead of strncpy.
45473 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45475 * elf/Makefile (check-data): Remove.
45476 (localplt.data): New vpath directive.
45477 ($(objpfx)check-localplt.out): Use localplt.data from vpath
45478 instead of $(check-data).
45479 * scripts/data/localplt-generic.data: Move to ...
45480 * sysdeps/generic/localplt.data: ... here.
45481 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45482 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45483 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45486 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45489 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45492 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45495 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45498 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45502 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45504 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45505 PPC32 and PPC64 files.
45506 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45507 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45509 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45511 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45512 __makecontext_ret to ...
45513 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45514 ... here and call exit if uc_link is NULL. New file.
45515 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45516 __makecontext_ret.S.
45517 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45518 __makecontext_ret to ...
45519 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45520 ... here and call exit if uc_link is NULL. New file.
45521 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45522 __makecontext_ret.S.
45524 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45526 * elf/elf.h (R_390_IRELATIVE): New definition.
45527 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45528 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
45529 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45530 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45531 (elf_machine_lazy_rel): Likewise.
45532 * sysdeps/s390/dl-irel.h: New file.
45533 * sysdeps/s390/s390-64/memcpy.S: New asm code.
45534 * sysdeps/s390/s390-64/memset.S: New asm code.
45535 * sysdeps/s390/s390-64/memcmp.S: New asm code.
45536 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45537 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45538 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45539 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45540 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45541 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45542 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45543 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45544 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45545 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45546 * sysdeps/s390/s390-32/memcpy.S: New asm code.
45547 * sysdeps/s390/s390-32/memset.S: New asm code.
45548 * sysdeps/s390/s390-32/memcmp.S: New asm code.
45550 2012-07-17 Marek Polacek <polacek@redhat.com>
45553 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45554 * sysdeps/s390/s390-64/configure.in: Likewise.
45555 * sysdeps/sparc/configure.in: Likewise.
45556 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45557 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45558 * sysdeps/i386/configure.in: Likewise.
45559 * sysdeps/x86_64/configure.in: Likewise.
45560 * sysdeps/sh/configure.in: Likewise.
45561 * sysdeps/s390/s390-32/configure: Regenerated.
45562 * sysdeps/s390/s390-64/configure: Likewise.
45563 * sysdeps/x86_64/configure: Likewise.
45564 * sysdeps/sh/configure: Likewise.
45565 * sysdeps/powerpc/powerpc64/configure: Likewise.
45566 * sysdeps/powerpc/powerpc32/configure: Likewise.
45567 * sysdeps/sparc/configure: Likwise.
45568 * sysdeps/i386/configure: Likewise.
45570 * elf/dl-open.c: Comment fixes.
45572 2012-07-17 Joseph Myers <joseph@codesourcery.com>
45574 * Makefile [CXX] (check-data): Remove.
45575 [CXX] (c++-types.data): New vpath directive.
45576 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45577 vpath. Do not allow for C++ type data being missing.
45578 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45579 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45580 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45581 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45582 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45583 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45584 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45587 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45590 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45593 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45596 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45599 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45602 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45605 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45608 * elf/tls-macros.h (TLS_LE): Move architecture-specific
45609 definitions to architecture-specific files.
45610 (TLS_IE): Likewise.
45611 (TLS_LD): Likewise.
45612 (TLS_GD): Likewise.
45613 * sysdeps/i386/tls-macros.h: New file.
45614 * sysdeps/powerpc/tls-macros.h: Likewise.
45615 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45616 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45617 * sysdeps/sh/tls-macros.h: Likewise.
45618 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45619 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45620 * sysdeps/x86_64/tls-macros.h: Likewise.
45622 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
45624 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45625 zero value for regular exit case.
45627 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45628 (__start_context): Preserve zero value for regular exit case.
45630 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
45631 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45633 * manual/setjmp.texi (setcontext): Clarify normal process
45634 termination when uc_link is the null pointer.
45635 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45638 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
45640 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45641 preprocessor. Test for each exception mask separately.
45643 2012-07-16 Andreas Jaeger <aj@suse.de>
45645 * po/ru.po: Update from translation team.
45647 2012-07-15 Joseph Myers <joseph@codesourcery.com>
45649 * conform/data/string.h-data (NULL): Use macro-constant. Require
45651 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45652 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45653 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45654 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45655 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45657 2012-07-13 Andreas Jaeger <aj@suse.de>
45659 * po/fr.po: Update from translation team.
45661 2012-07-12 Marek Polacek <polacek@redhat.com>
45664 * math/libm-test.inc (yn_test): Add test for BZ #14173.
45665 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45668 2012-07-12 Joseph Myers <joseph@codesourcery.com>
45671 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45672 Change to 2.4.1 where previously 2.4.0.
45673 * sysdeps/unix/sysv/linux/configure: Regenerated.
45674 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45675 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45677 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45678 (__ASSUME_AT_CLKTCK): Remove.
45679 (__ASSUME_AT_PAGESIZE): Likewise.
45680 (__ASSUME_AT_XID): Likewise.
45681 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45682 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45683 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45685 (HAVE_AUX_PAGESIZE): Likewise.
45686 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45687 [__ASSUME_AT_CLKTCK]: Make code unconditional.
45688 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45690 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
45693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45694 the temporary buffer used to invoke __gethostbyname2_r,
45695 __gethostbyaddr_r and gethostbyname4_r to make room for struct
45696 host_data / struct gaih_addrtuple.
45697 * resolv/nss_dns/dns-host.c (global scope): Move definition of
45698 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45699 header file nss/nsswitch.h.
45700 * nss/nsswitch.h (global scope): Add definition of implementation
45701 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45702 resolv/nss_dns/dns-host.c).
45704 2012-07-11 Andreas Jaeger <aj@suse.de>
45706 * po/fr.po: Update from translation team.
45708 * po/sv.po: Update from translation team
45709 * po/fr.po: Another update from translation team.
45711 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45713 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45714 for subnormals or multiply small sinh result by itself.
45715 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45718 2012-07-11 David S. Miller <davem@davemloft.net>
45720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45722 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
45725 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45726 (INTERNAL_MARK): Shift it here.
45728 2012-07-10 Marek Polacek <polacek@redhat.com>
45731 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
45732 libc_cv_asm_global_directive with .globl.
45733 * configure: Regenerated.
45734 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45736 * sysdeps/i386/configure: Regenerated.
45737 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45739 * sysdeps/x86_64/configure: Regenerated.
45740 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45741 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45742 * elf/tst-unique2mod2.c: Likewise.
45743 * elf/tst-unique2mod1.c: Likewise.
45744 * elf/tst-unique1mod2.c: Likewise.
45745 * elf/tst-unique1mod1.c: Likewise.
45746 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45747 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45748 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45749 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45750 * sysdeps/mach/sysdep.h: Likewise.
45751 * sysdeps/i386/sysdep.h: Likewise.
45752 * sysdeps/i386/i386-mcount.S: Likewise.
45753 * sysdeps/x86_64/_mcount.S: Likewise.
45754 * sysdeps/x86_64/sysdep.h: Likewise.
45755 * sysdeps/sh/_mcount.S: Likewise.
45756 * sysdeps/sh/sysdep.h: Likewise.
45757 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45758 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45759 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45760 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45761 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45762 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45763 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45764 * locale/localeinfo.h: Likewise.
45765 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45766 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45768 2012-07-09 Roland McGrath <roland@hack.frob.com>
45771 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45773 * manual/message.texi (The Uniforum approach): Likewise.
45774 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45775 (glibc iconv Implementation): Likewise.
45777 2012-07-09 Joseph Myers <joseph@codesourcery.com>
45780 * math/s_clog.c (__clog): Avoid scaling a value down where that
45781 could result in underflow.
45782 * math/s_clog10.c (__clog10): Likewise.
45783 * math/s_clog10f.c (__clog10f): Likewise.
45784 * math/s_clog10l.c (__clog10l): Likewise.
45785 * math/s_clogf.c (__clogf): Likewise.
45786 * math/s_clogl.c (__clogl): Likewise.
45787 * math/libm-test.inc (clog_test): Add more tests.
45788 (clog10_test): Likewise.
45789 * sysdeps/i386/fpu/libm-test-ulps: Update.
45790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45792 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
45795 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45796 by 7 not 8 to examine high bit of fractional part.
45799 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45800 for call to __mcount_internal.
45801 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45802 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45803 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45805 2012-07-06 Joseph Myers <joseph@codesourcery.com>
45808 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45809 approximation for values within 0x1p-13f of an odd multiple of
45811 * math/libm-test.inc (tan_test): Do not allow spurious underflow
45812 exception. Add more tests.
45813 * sysdeps/i386/fpu/libm-test-ulps: Update.
45816 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45817 inputs and return -1 for them. Do not check for +Inf in case not
45818 reachable for +Inf.
45819 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45820 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45821 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45822 and return -1 for them. Do not check for +Inf in case not
45823 reachable for +Inf.
45824 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45826 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45827 and return -1 for them. Do not check for +Inf in case not
45828 reachable for +Inf.
45829 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
45830 spurious underflow.
45831 * sysdeps/i386/fpu/libm-test-ulps: Update.
45832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45834 2012-07-06 Mike Frysinger <vapier@gentoo.org>
45836 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45838 2012-07-05 Joseph Myers <joseph@codesourcery.com>
45842 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45843 could result in spurious underflow. Scale down values above
45844 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45845 * math/s_csqrtf.c (__csqrtf): Likewise.
45846 * math/s_csqrtl.c (__csqrtl): Likewise.
45847 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
45848 spurious underflow.
45849 * sysdeps/i386/fpu/libm-test-ulps: Update.
45850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45852 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
45854 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45856 * catgets/xopen-msg.awk: New file.
45857 * catgets/xopen-msg.sed: Removed.
45859 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45861 * intl/po2test.awk: New file.
45862 * intl/po2test.sed: Removed.
45864 2012-07-04 Joseph Myers <joseph@codesourcery.com>
45867 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45868 or multiply small sinh result by itself.
45869 * math/s_ctanf.c (__ctanf): Likewise.
45870 * math/s_ctanh.c (__ctanh): Likewise.
45871 * math/s_ctanhf.c (__ctanhf): Likewise.
45872 * math/s_ctanhl.c (__ctanhl): Likewise.
45873 * math/s_ctanl.c (__ctanl): Likewise.
45874 * math/libm-test.inc (ctan_test_tonearest): New function.
45875 (ctan_test_towardzero): Likewise.
45876 (ctan_test_downward): Likewise.
45877 (ctan_test_upward): Likewise.
45878 (ctanh_test_tonearest): Likewise.
45879 (ctanh_test_towardzero): Likewise.
45880 (ctanh_test_downward): Likewise.
45881 (ctanh_test_upward): Likewise.
45882 (main): Call these new functions.
45883 * sysdeps/i386/fpu/libm-test-ulps: Update.
45884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45886 2012-07-03 Mike Frysinger <vapier@gentoo.org>
45888 * .gitignore: Delete /ports entry.
45890 2012-07-03 Andreas Jaeger <aj@suse.de>
45892 * po/bg.po: Update from translation team.
45893 * po/cs.po: Likewise.
45894 * po/de.po: Likewise.
45895 * po/hr.po: Likewise.
45896 * po/nl.pl: Likewise.
45897 * po/pl.po: Likewise.
45898 * po/vi.po: Likewise.
45900 2012-07-03 Joseph Myers <joseph@codesourcery.com>
45902 * Makeconfig [!+link] (+link-before-libc): New variable.
45903 [!+link] (+link-after-libc): Likewise.
45904 [!+link] (+link-tests): Likewise.
45905 [!+link] (+link): Define in terms of $(+link-before-libc) and
45906 $(+link-after-libc).
45907 [!+link-static] (+link-static-before-libc): New variable.
45908 [!+link-static] (+link-static-after-libc): Likewise.
45909 [!+link-static] (+link-static-tests): Likewise.
45910 [!+link-static] (+link-static): Define in terms of
45911 $(+link-static-before-libc) and $(+link-static-after-libc).
45912 [build-shared] (link-libc-before-gnulib): New variable.
45913 [build-shared] (link-libc-tests): Likewise.
45914 [build-shared] (link-libc): Define in terms of
45915 $(link-libc-before-gnulib).
45916 [!build-shared] (link-libc-tests): New variable.
45917 (link-libc-static-tests): New variable.
45918 [!gnulib] (gnulib-arch): New variable.
45919 [!gnulib] (gnulib-tests): Likewise.
45920 [!gnulib] (static-gnulib-arch): Likewise.
45921 [!gnulib] (static-gnulib-tests): Likewise.
45922 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
45923 Define with "=" instead of ":=".
45924 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
45925 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
45926 * Rules (binaries-all-notests): New variable.
45927 (binaries-all-tests): Likewise.
45928 (binaries-static-notests): Likewise.
45929 (binaries-static-tests): Likewise.
45930 (binaries-all): Define using $(binaries-all-notests) and
45931 $(binaries-all-tests).
45932 (binaries-static): Define using $(binaries-static-notests) and
45933 $(binaries-static-tests).
45934 (binaries-shared-tests): New variable.
45935 (binaries-shared-notests): Likewise.
45936 (binaries-shared): Remove variable.
45937 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45938 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45939 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45940 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45941 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45942 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45943 * elf/Makefile (sln-modules): New variable.
45944 (extra-objs): Add $(sln-modules:=.o).
45945 (ldconfig-modules): Add static-stubs.
45946 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45947 * elf/static-stubs.c: New file.
45950 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45951 by 7 not 8 to examine high bit of fractional part. Use volatile
45952 variables when splitting into final array of floats if
45953 __FLT_EVAL_METHOD__ != 0.
45954 * math/libm-test.inc (cos_test): Add another test.
45955 (sin_test): Likewise.
45956 * sysdeps/i386/fpu/libm-test-ulps: Update.
45959 * math/libm-test.inc (cosh_test): Add more tests.
45961 * version.h (RELEASE): Set to "development".
45962 (VERSION): Set to "2.16.90".
45964 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
45966 * NEWS: Update copyright. Remove last-updated date.
45967 Mention math library bug fixes and timezone data changes.
45968 * README: Mention GNU/Hurd, x32, and HPPA support status.
45970 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
45972 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45974 2012-06-27 Andreas Jaeger <aj@suse.de>
45976 * manual/contrib.texi (Contributors): Add Samuel Thibault.
45978 2012-06-25 Andreas Jaeger <aj@suse.de>
45980 * sysdeps/s390/fpu/libm-test-ulps: Update.
45982 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
45983 Thomas Schwinge <thomas@codesourcery.com>
45985 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45986 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45987 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45990 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
45992 * sysdeps/mach/start.c: Remove file.
45993 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45994 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45995 * sysdeps/sh/init-first.c: Likewise.
45997 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45998 registers for frame unwinding purposes, add CFI directives.
45999 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46000 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
46001 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46004 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46005 __fortify_fail returning.
46006 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46008 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46009 sysdeps/sh/____longjmp_chk.S.
46010 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46011 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46012 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46013 (gen-as-const-headers): Append sigaltstack-offsets.sym.
46015 * sysdeps/sh/abort-instr.h: New file.
46016 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46017 process in case exit returns.
46019 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46020 initialize the GOT register before use.
46022 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46023 calculation of ARGC > 4.
46025 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46026 meaningful names to some local labels.
46028 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46029 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46031 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46032 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46033 (__arch_compare_and_exchange_val_16_acq): Likewise.
46034 (__arch_compare_and_exchange_val_32_acq): Likewise.
46035 (atomic_exchange_and_add): Fix gUSA sequence.
46036 (atomic_add): Likewise.
46037 (atomic_add_negative): Likewise.
46038 (atomic_add_zero): Likewise.
46039 (atomic_bit_test_set): Likewise.
46041 2012-06-22 Andreas Schwab <schwab@redhat.com>
46044 * include/link.h (struct link_map): Add l_free_initfini.
46045 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46047 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46048 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46049 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46052 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
46054 * configure.in: Use AC_LANG_SOURCE.
46055 * configure: Regenerate.
46057 2012-06-22 Roland McGrath <roland@hack.frob.com>
46059 * configure.in (libc_cv_localstatedir): New substituted variable.
46060 * configure: Regenerated.
46061 * config.make.in (localstatedir): New variable, substituted from
46062 libc_cv_localstatedir.
46063 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46064 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46065 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46066 * sysdeps/gnu/configure: Regenerated.
46068 2012-06-21 Jeff Law <law@redhat.com>
46071 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46072 free. Simplify list management for _LIBC case.
46074 2012-06-21 Joseph Myers <joseph@codesourcery.com>
46077 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46078 Clear sign bit of 64-bit integer value before comparing against
46081 * sysdeps/mach/configure: Regenerated.
46083 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
46086 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46088 2012-06-21 Jeff Law <law@redhat.com>
46091 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
46092 uint16_t for elements in the "seen" array to avoid char overflows.
46093 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46094 * elf/dl-open.c (dl_open_worker): Likewise.
46096 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
46098 * scripts/list-sources.sh: Scan PORTS for translations.
46099 * po/libc.pot: Regenerated.
46101 2012-06-21 Andreas Jaeger <aj@suse.de>
46104 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46106 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46107 * bits/byteswap-16.h (__bswap_16): Likewise.
46108 * bits/byteswap.h (__bswap_constant_16): Likewise.
46110 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
46113 * sysdeps/i386/fpu_control.h: Removed.
46114 * sysdeps/x86_64/fpu_control.h: Moved to ...
46115 * sysdeps/x86/fpu_control.h: Here.
46117 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46118 (_FPU_SETCW): Likewise.
46120 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
46123 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46124 * sysdeps/x86/fpu/bits/mathinline.h: This.
46125 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46129 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46130 functions if __x86_64__ is defined.
46132 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
46134 * string/endian.h: Add !__ASSEMBLER__ condition for including
46135 conversion interfaces.
46137 2012-06-15 Joseph Myers <joseph@codesourcery.com>
46140 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46141 of ABS(x) in calculating zero to negative powers other than odd
46143 * math/libm-test.inc (pow_test): Add more tests.
46145 2012-06-15 Andreas Jaeger <aj@suse.de>
46147 * manual/contrib.texi (Contributors): Update entry of Liubov
46148 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46151 2012-06-15 Cyril Hrubis <metan@ucw.cz>
46153 * string/string.h: Add __wur to GNU version of strerror_r.
46155 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
46158 * string/Makefile (tests): Add tst-strtok_r.
46159 * string/tst-strtok_r.c: New file.
46160 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46161 RAX_LP/RDX_LP on SAVE_PTR.
46163 2012-06-14 Roland McGrath <roland@hack.frob.com>
46165 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46167 2012-06-14 Joseph Myers <joseph@codesourcery.com>
46169 * libm_test.inc (csqrt_test): Allow more spurious underflow
46171 (j0_test): Likewise.
46172 (j1_test): Likewise.
46173 (y0_test): Likewise.
46174 (y1_test): Likewise.
46176 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
46178 * po/Makefile (libc.pot): Use UTF-8 charset.
46180 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
46183 Suppress sign-conversion warning from FD_SET.
46184 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46185 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46186 not unsigned long int.
46187 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46189 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
46193 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46194 __extern_always_inline instead of __extern_inline.
46195 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46196 (__signbit): Likewise.
46197 (__signbitl): Support C++ namespace.
46198 (lrintf): New inline function.
46200 (llrintf): Likewise.
46201 (llrint): Likewise.
46211 (floorf): Likewise.
46212 (nearbyint): Likewise.
46213 (nearbyintf): Likewise.
46215 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
46217 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46218 non-default versions.
46220 2012-06-11 Roland McGrath <roland@hack.frob.com>
46223 * manual/argp.texi (Argp): Reword argp_parse description slightly.
46225 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
46227 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46228 (FE_UPWARD, FE_DOWNWARD): Don't define.
46229 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46230 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46232 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46234 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46235 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46237 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46239 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46240 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46241 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46242 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46244 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
46247 * sysdeps/i386/fpu/bits/fenv.h: Removed.
46248 * sysdeps/i386/fpu/Implies: New file.
46249 * sysdeps/x86_64/fpu/Implies: Likewise.
46250 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46251 * sysdeps/x86/fpu/bits/fenv.h: This.
46253 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46256 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
46259 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46260 character 0xffff that matches the last element of the
46263 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46265 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46268 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46270 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46271 values higher than 25.6283.
46273 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46275 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46276 subnormal exponent extraction and add some __builtin_expect.
46277 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46278 Fix for subnormal mantissa calculation.
46280 2012-06-04 Mike Frysinger <vapier@gentoo.org>
46282 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46283 cpu2 is -1 and errno is not ENOSYS.
46285 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
46288 * sysdeps/i386/i486/bits/string.h: Renamed to ...
46289 * sysdeps/x86/bits/string.h: This.
46290 * sysdeps/x86_64/bits/string.h: Removed.
46292 * sysdeps/i386/i486/bits/string.h: Define inline functions only
46293 if not compiling for x86-64, but compiling for >= i486.
46295 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46296 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46298 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46299 New macro from Linux kernel 3.4.0.
46300 (FP_XSTATE_MAGIC2): Likewise.
46301 (FP_XSTATE_MAGIC2_SIZE): Likewise.
46302 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46303 (struct _fpx_sw_bytes): New struct.
46304 (struct _xsave_hdr): Likewise.
46305 (struct _ymmh_state): Likewise.
46306 (struct _xstate): Likewise.
46308 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46309 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46310 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46311 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46312 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46313 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46315 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46316 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46317 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46318 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46319 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46320 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46322 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46325 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46326 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46327 (sysdep_headers): Include sys/platform/ppc.h.
46328 * sysdeps/powerpc/test-gettimebase.c: Test for
46329 __ppc_get_timebase() to catch future ISA opcode/insn changes.
46330 * manual/Makefile (appendices): Include platform.texi.
46331 * manual/contrib.texi (Contributors): Update @node pointers.
46332 * manual/maint.texi (Maintenance): Likewise.
46333 (Platform): New node.
46334 * manual/platform.texi: New file. Document the new features.
46336 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
46337 Jakub Jelinek <jakub@redhat.com>
46340 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46341 where __builtin_expect is unavailable.
46343 2012-06-03 David S. Miller <davem@davemloft.net>
46345 * stdlib/longlong.h: Updated from GCC.
46347 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
46350 * sysdeps/powerpc/powerpc32/mcount.c: New file.
46351 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46354 (GLIBC_2.16): Likewise.
46356 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46358 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46360 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46363 (default-abi): New variable.
46364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46365 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46367 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46369 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46371 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46374 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46375 definition. Document in comment.
46377 2012-06-01 David S. Miller <davem@davemloft.net>
46379 * stdlib/longlong.h: Updated from GCC.
46381 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46384 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46385 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46386 sys/debugreg.h sys/io.h here.
46387 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46388 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46390 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46391 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46392 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46393 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46394 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46395 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46397 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46398 Define only if __x86_64__ is defined.
46400 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46403 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46404 Use int64_t for variable i.
46405 * math/libm-test.inc (fmod_test): Add more tests.
46407 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46408 z computation is not scheduled after fetestexcept.
46409 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46410 Use math_force_eval instead of asm to ensure calculation scheduled
46411 before exception test.
46412 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46413 Ensure a1 + u.d computation is not scheduled after fetestexcept.
46415 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
46417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46418 computation is not scheduled after fetestexcept.
46420 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46423 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46424 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46426 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46428 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46429 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46431 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46434 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46436 (__WCHAR_MIN): Support __WORDSIZE == 64.
46437 (__WCHAR_MAX): Likewise.
46439 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46440 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46443 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46444 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46447 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46448 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46450 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46451 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46453 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46454 Defined to 1 if __x86_64__ isn't defined.
46455 (_STAT_VER_LINUX_OLD): New.
46456 (st_atime): Remove duplicate.
46457 (st_mtime): Likewise.
46458 (st_ctime): Likewise.
46460 2012-05-31 David S. Miller <davem@davemloft.net>
46462 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46465 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
46467 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46471 * elf/dl-reloc.c: Include <_itoa.h>.
46472 (_dl_reloc_bad_type): Remove use of INTUSE.
46473 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46474 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46475 * stdio-common/psiginfo.c (psiginfo): Likewise.
46476 * stdio-common/psignal.c (psignal): Likewise.
46477 * string/strsignal.c (strsignal): Likewise.
46478 * include/signal.h (_sys_siglist): Declare hidden proto.
46479 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
46480 INTVARDEF with libc_hidden_data_def.
46481 * stdio-common/itoa-udigits.c: Likewise.
46482 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46483 (_itoa_lower_digits_internal): Remove declaration.
46484 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46485 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46486 (_sys_sigabbrev_internal): Remove aliases.
46487 (_sys_siglist): Define hidden alias.
46489 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
46491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46494 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46497 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46498 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46500 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46501 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46502 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46503 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46504 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46505 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46507 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46508 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46509 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46511 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46519 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46520 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46521 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46523 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46524 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46525 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46526 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46527 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46528 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46530 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46531 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46533 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46534 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46536 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46537 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46538 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46540 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46541 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46543 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46545 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46546 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46547 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46549 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46551 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46553 2012-05-31 Joseph Myers <joseph@codesourcery.com>
46555 * math/math.h (M_El): Use two more decimal places.
46556 (M_LOG2El): Likewise.
46557 (M_LOG10El): Likewise.
46558 (M_LN2l): Likewise.
46559 (M_LN10l): Likewise.
46561 (M_PI_2l): Likewise.
46562 (M_PI_4l): Likewise.
46563 (M_1_PIl): Likewise.
46564 (M_2_PIl): Likewise.
46565 (M_2_SQRTPIl): Likewise.
46566 (M_SQRT2l): Likewise.
46567 (M_SQRT1_2l): Likewise.
46569 2012-05-31 David S. Miller <davem@davemloft.net>
46571 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46572 values between float registers.
46573 * sysdeps/sparc/sparc64/memset.S: Likewise.
46574 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46576 2012-05-31 Mike Frysinger <vapier@gentoo.org>
46578 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46579 -D_FORTIFY_SOURCE=1.
46580 (CPPFLAGS-tst-longjmp_chk.c): Define.
46581 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46582 (CPPFLAGS-tst-longjmp_chk2.c): Define.
46583 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46584 CFLAGS-tst-wchar-h.c.
46586 2012-05-31 Marek Polacek <polacek@redhat.com>
46589 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46590 __endmntent_internal): Remove declaration.
46591 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46592 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46593 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46595 2012-05-30 David S. Miller <davem@davemloft.net>
46597 * sysdeps/sparc/sparc32/soft-fp/q_util.c
46598 (___Q_simulate_exceptions): Use real FP ops rather than writing
46600 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46603 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46606 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46607 * sysdeps/x86/bits/xtitypes.h: This.
46609 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46610 * sysdeps/x86/bits/wordsize.h: This.
46612 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46613 * sysdeps/x86/bits/huge_vall.h: This.
46615 * sysdeps/i386/bits/select.h: Removed.
46616 * sysdeps/x86_64/bits/select.h: Renamed to ...
46617 * sysdeps/x86/bits/select.h: This.
46619 * sysdeps/i386/bits/setjmp.h: Removed.
46620 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46621 * sysdeps/x86/bits/setjmp.h: This.
46623 * sysdeps/i386/bits/mathdef.h: Removed.
46624 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46625 * sysdeps/x86/bits/mathdef.h: This.
46627 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
46630 * include/sys/socket.h (__connect_internal)
46631 (__libc_sa_len_internal): Remove declaration.
46632 (__connect, __libc_sa_len): Declare hidden_proto.
46633 (SA_LEN): Remove use of INTUSE.
46634 * socket/connect.c: Add libc_hidden_def.
46635 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46636 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46637 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46639 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46640 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46641 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46642 of adding _internal alias.
46644 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46647 * sysdeps/i386/bits/link.h: Removed.
46648 * sysdeps/i386/bits/linkmap.h: Likewise.
46649 * sysdeps/x86_64/bits/link.h: Renamed to ...
46650 * sysdeps/x86/bits/link.h: This.
46651 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46652 * sysdeps/x86/bits/linkmap.h: This.
46654 * sysdeps/i386/bits/endian.h: Removed.
46655 * sysdeps/x86_64/bits/endian.h: Renamed to ...
46656 * sysdeps/x86/bits/endian.h: This.
46658 * sysdeps/i386/bits/byteswap.h: Removed.
46659 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46660 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46661 * sysdeps/x86/bits/byteswap.h: This.
46662 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46663 * sysdeps/x86/bits/byteswap-16.h: This.
46664 * sysdeps/i386/Implies: Add x86.
46665 * sysdeps/x86_64/Implies: Likewise.
46667 2012-05-30 David S. Miller <davem@davemloft.net>
46669 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46670 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46671 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46672 (FP_TRAPPING_EXCEPTIONS): Define.
46673 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46674 (FP_TRAPPING_EXCEPTIONS): Define.
46675 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46676 subnormals only when inexact has been signalled or underflow
46677 exceptions are enabled.
46678 (_FP_PACK_CANONICAL): Likewise.
46680 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46683 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46684 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46686 2012-05-30 Richard Henderson <rth@twiddle.net>
46688 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46689 with #ifndef NOT_IN_libc.
46691 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
46692 marked to avoid plt entry.
46694 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46697 * Makeconfig (default-abi): New macro.
46698 (abi-includes): Likewise.
46699 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
46700 $(abi-$(default-abi)-lib-soname) for soname if defined.
46701 ($(common-objpfx)gnu/lib-names.stmp): Generate from
46703 * Makefile (installed-stubs): Likewise.
46704 * include/stubs-biarch.h: Removed.
46705 * scripts/lib-names.awk: Only handle one library at a time.
46706 * scripts/soversions.awk: Remove WORDSIZE support.
46707 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46709 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46711 (syscall-list-default-condition): Likewise.
46712 (syscall-list-default-condition): Likewise.
46713 (syscall-list-includes): Likewise.
46714 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46715 syscall-list-* with abi-*. Handle undefined abi-variants.
46716 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46717 * sysdeps/unix/sysv/linux/i386/Implies: New file.
46718 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46719 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46720 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46721 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46723 (syscall-list-32-options): Likewise.
46724 (syscall-list-32-condition): Likewise.
46725 (syscall-list-64-options): Likewise.
46726 (syscall-list-64-condition): Likewise.
46727 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46729 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46732 (abi-64-ld-soname): New macro.
46733 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46734 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46737 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46738 * sysdeps/x86_64/x32/shlib-versions: Likewise.
46740 2012-05-30 Joseph Myers <joseph@codesourcery.com>
46742 * sysdeps/unix/sysv/linux/kernel-features.h
46743 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46744 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46745 include <kernel-features.h>.
46746 [!__NR_ftruncate64]: Remove conditional code.
46747 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46748 [__NR_ftruncate64]: Make code unconditional.
46749 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46750 * sysdeps/unix/sysv/linux/truncate64.c: Do not
46751 include <kernel-features.h>.
46752 [!__NR_ftruncate64]: Remove conditional code.
46753 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46754 [__NR_ftruncate64]: Make code unconditional.
46755 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46757 include <kernel-features.h>.
46758 [!__NR_ftruncate64]: Remove conditional code.
46759 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46760 [__NR_ftruncate64]: Make code unconditional.
46761 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46763 include <kernel-features.h>.
46764 [!__NR_ftruncate64]: Remove conditional code.
46765 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46766 [__NR_ftruncate64]: Make code unconditional.
46767 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46769 * configure.in (libc_cv_fpie): Weaken to a compile test using
46770 LIBC_TRY_CC_OPTION.
46771 * configure: Regenerated.
46773 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46788 2012-05-27 David S. Miller <davem@davemloft.net>
46790 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46792 (__Q_simulate_exceptions): Return void. Change to simulate
46793 exceptions by writing into the %fsr.
46794 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46795 (__Qp_handle_exceptions): Likewise.
46797 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46798 __Qp_handle_exceptions.
46799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46800 __Qp_handle_exceptions.
46801 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46802 as unused and give dummy FP_RND_NEAREST initializer.
46803 (FP_INHIBIT_RESULTS): Define.
46804 (___Q_simulate_exceptions): Update declaration.
46805 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46807 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46808 as unused and give dummy FP_RND_NEAREST initializer.
46809 (__Qp_handle_exceptions): Update declaration.
46810 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46813 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
46815 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46816 the temporary FPU control word.
46817 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46818 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46819 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46820 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46821 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46822 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46823 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46824 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46825 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46826 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46827 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46829 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46831 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46834 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
46836 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46837 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46838 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46839 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46841 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46842 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46845 2012-05-27 Ulrich Drepper <drepper@gmail.com>
46847 * po/h.po: Update from translation team.
46849 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
46851 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46853 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46854 handling of denormals.
46855 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46856 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46857 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46858 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46859 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46860 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46861 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46864 2012-05-26 Marek Polacek <polacek@redhat.com>
46867 * math/libm-test.inc (fma_test): Don't always expect underflow
46870 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46873 * elf/tst-execstack.c: Include stackinfo.h.
46874 (do_test): Adjust test case to ensure that pthread_getattr_np
46875 behaviour remains the same after marking stack executable.
46877 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46879 * sysdeps/unix/sysv/linux/kernel-features.h
46880 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46881 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46883 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46884 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46885 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46887 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46888 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46890 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
46892 * configure.in: Define the default includes to being none.
46893 * configure: Regenerated.
46895 2012-05-25 Roland McGrath <roland@hack.frob.com>
46897 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46898 * sysdeps/x86_64/setjmp.S: Likewise.
46899 * sysdeps/i386/bsd-setjmp.S: Likewise.
46900 * sysdeps/i386/bsd-_setjmp.S: Likewise.
46901 * sysdeps/i386/setjmp.S: Likewise.
46902 * sysdeps/i386/__longjmp.S: Likewise.
46903 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46904 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46906 * include/stap-probe.h: New file.
46907 * configure.in: Handle --enable-systemtap.
46908 * configure: Regenerated.
46909 * config.h.in (USE_STAP_PROBE): New #undef.
46910 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46911 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46912 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46914 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46917 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46918 to 2.4.0 where earlier.
46919 * sysdeps/unix/sysv/linux/configure: Regenerated.
46920 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46921 <kernel-features.h>.
46922 [__ASSUME_32BITUIDS]: Make code unconditional.
46923 [!__ASSUME_32BITUIDS]: Remove conditional code.
46924 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46925 <kernel-features.h>.
46926 [__ASSUME_32BITUIDS]: Make code unconditional.
46927 [!__ASSUME_32BITUIDS]: Remove conditional code.
46928 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46929 [__ASSUME_32BITUIDS]: Make code unconditional.
46930 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46931 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46932 <kernel-features.h>.
46933 [__ASSUME_32BITUIDS]: Make code unconditional.
46934 [!__ASSUME_32BITUIDS]: Remove conditional code.
46935 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46936 <kernel-features.h>.
46937 [__ASSUME_32BITUIDS]: Make code unconditional.
46938 [!__ASSUME_32BITUIDS]: Remove conditional code.
46939 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46940 <kernel-features.h>.
46941 [__ASSUME_32BITUIDS]: Make code unconditional.
46942 [!__ASSUME_32BITUIDS]: Remove conditional code.
46943 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46944 <kernel-features.h>.
46945 [__ASSUME_32BITUIDS]: Make code unconditional.
46946 [!__ASSUME_32BITUIDS]: Remove conditional code.
46947 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46948 <kernel-features.h>.
46949 [__ASSUME_32BITUIDS]: Make code unconditional.
46950 [!__ASSUME_32BITUIDS]: Remove conditional code.
46951 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46952 <kernel-features.h>.
46953 [__ASSUME_32BITUIDS]: Make code unconditional.
46954 [!__ASSUME_32BITUIDS]: Remove conditional code.
46955 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46956 <kernel-features.h>.
46957 [__ASSUME_32BITUIDS]: Make code unconditional.
46958 [!__ASSUME_32BITUIDS]: Remove conditional code.
46959 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46960 <kernel-features.h>.
46961 [__ASSUME_32BITUIDS]: Make code unconditional.
46962 [!__ASSUME_32BITUIDS]: Remove conditional code.
46963 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46964 <kernel-features.h>.
46965 [__ASSUME_32BITUIDS]: Make code unconditional.
46966 [!__ASSUME_32BITUIDS]: Remove conditional code.
46967 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46968 <kernel-features.h>.
46969 [__ASSUME_32BITUIDS]: Make code unconditional.
46970 [!__ASSUME_32BITUIDS]: Remove conditional code.
46971 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46972 <kernel-features.h>.
46973 [__NR_setresgid] (__setresgid): Do not declare.
46974 [__ASSUME_32BITUIDS]: Make code unconditional.
46975 [!__ASSUME_32BITUIDS]: Remove conditional code.
46976 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46977 <kernel-features.h>.
46978 [__NR_setresuid] (__setresuid): Do not declare.
46979 [__ASSUME_32BITUIDS]: Make code unconditional.
46980 [!__ASSUME_32BITUIDS]: Remove conditional code.
46981 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46982 <kernel-features.h>.
46983 [__ASSUME_32BITUIDS]: Make code unconditional.
46984 [!__ASSUME_32BITUIDS]: Remove conditional code.
46985 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46986 <kernel-features.h>.
46987 [__ASSUME_32BITUIDS]: Make code unconditional.
46988 [!__ASSUME_32BITUIDS]: Remove conditional code.
46989 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46990 <kernel-features.h>.
46991 [__ASSUME_32BITUIDS]: Make code unconditional.
46992 [!__ASSUME_32BITUIDS]: Remove conditional code.
46993 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46994 <kernel-features.h>.
46995 [__ASSUME_32BITUIDS]: Make code unconditional.
46996 [!__ASSUME_32BITUIDS]: Remove conditional code.
46997 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46998 <kernel-features.h>.
46999 [__ASSUME_32BITUIDS]: Make code unconditional.
47000 [!__ASSUME_32BITUIDS]: Remove conditional code.
47001 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
47002 <kernel-features.h>.
47003 [__ASSUME_32BITUIDS]: Make code unconditional.
47004 [!__ASSUME_32BITUIDS]: Remove conditional code.
47005 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
47006 <kernel-features.h>.
47007 [__ASSUME_32BITUIDS]: Make code unconditional.
47008 [!__ASSUME_32BITUIDS]: Remove conditional code.
47009 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
47010 <kernel-features.h>.
47011 [__ASSUME_32BITUIDS]: Make code unconditional.
47012 [!__ASSUME_32BITUIDS]: Remove conditional code.
47013 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
47014 <kernel-features.h>.
47015 [__ASSUME_32BITUIDS]: Make code unconditional.
47016 [!__ASSUME_32BITUIDS]: Remove conditional code.
47017 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47018 <kernel-features.h>.
47019 [__ASSUME_32BITUIDS]: Make code unconditional.
47020 [!__ASSUME_32BITUIDS]: Remove conditional code.
47021 * sysdeps/unix/sysv/linux/kernel-features.h
47022 (__ASSUME_SETRESUID_SYSCALL): Remove.
47023 (__ASSUME_SETRESGID_SYSCALL): Likewise.
47024 (__ASSUME_32BITUIDS): Likewise.
47025 (__ASSUME_LDT_WORKS): Likewise.
47026 (__ASSUME_O_DIRECTORY): Likewise.
47027 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47028 architecture but not kernel version.
47029 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47030 (__ASSUME_MMAP2_SYSCALL): Likewise.
47031 (__ASSUME_STAT64_SYSCALL): Likewise.
47032 (__ASSUME_IPC64): Likewise.
47033 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47034 <kernel-features.h>.
47035 [__ASSUME_32BITUIDS]: Make code unconditional.
47036 [!__ASSUME_32BITUIDS]: Remove conditional code.
47037 * sysdeps/unix/sysv/linux/opendir.c: Do not include
47038 <kernel-features.h>.
47039 [__ASSUME_O_DIRECTORY]: Make code unconditional.
47040 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47041 132096]: Remove conditional code.
47042 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47043 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47044 <kernel-features.h>.
47045 [__ASSUME_32BITUIDS]: Make code unconditional.
47046 [!__ASSUME_32BITUIDS]: Remove conditional code.
47047 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47048 <kernel-features.h>.
47049 [__ASSUME_32BITUIDS]: Make code unconditional.
47050 [!__ASSUME_32BITUIDS]: Remove conditional code.
47051 * sysdeps/unix/sysv/linux/setegid.c: Do not include
47052 <kernel-features.h>.
47053 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47055 (__setresgid): Do not declare.
47056 [__ASSUME_32BITUIDS]: Make code unconditional.
47057 [!__ASSUME_32BITUIDS]: Remove conditional code.
47058 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47059 <kernel-features.h>.
47060 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47062 (__setresuid): Do not declare.
47063 [__ASSUME_32BITUIDS]: Make code unconditional.
47064 [!__ASSUME_32BITUIDS]: Remove conditional code.
47065 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47066 <kernel-features.h>.
47067 [__ASSUME_32BITUIDS]: Make code unconditional.
47068 [!__ASSUME_32BITUIDS]: Remove conditional code.
47069 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47070 <kernel-features.h>.
47071 [__ASSUME_32BITUIDS]: Make code unconditional.
47072 [!__ASSUME_32BITUIDS]: Remove conditional code.
47074 2012-05-25 Richard Henderson <rth@twiddle.net>
47076 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47077 dl_hwcap to ifunc resolver.
47078 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47080 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47081 dl_hwcap to ifunc resolver.
47082 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47084 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47087 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47088 for |x| <= 2**-26, not 2**-57.
47089 * math/libm-test.inc (acos_test): Do not allow spurious underflow
47092 2012-05-24 Jeff Law <law@redhat.com>
47094 * stdio-common/Makefile (tests): Add bug25.
47095 * stdio-common/bug25.c: New test.
47097 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
47100 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47101 multiple of MALLOC_ALIGNMENT in size.
47102 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47104 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47106 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47108 (FILENAME_MAX): Use macro-int-constant.
47109 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
47110 (_IOFBF): Use macro-int-constant.
47111 (_IOLBF): Likewise.
47112 (_IONBF): Likewise.
47113 (SEEK_CUR): Likewise.
47114 (SEEK_END): Likewise.
47115 (SEEK_SET): Likewise.
47116 (TMP_MAX): Likewise.
47117 (EOF): Use macro-int-constant. Require < 0.
47118 (NULL): Use macro-constant. Require == 0.
47119 (stdin): Require type to be FILE *.
47120 (stdout): Likewise.
47121 (stderr): Likewise.
47122 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47123 macro-int-constant.
47124 (EXIT_SUCCESS): Likewise.
47125 (NULL): Use macro-constant. Require == 0.
47126 (RAND_MAX): Use macro-int-constant.
47127 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47128 [C99-based standards] (strtof): Require function.
47129 [C99-based standards] (strtold): Likewise.
47130 [C99-based standards] (strtoll): Likewise.
47131 [C99-based standards] (strtoull): Likewise.
47132 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47133 [ISO || ISO99 || ISO11] (limits.h): Likewise.
47134 [ISO || ISO99 || ISO11] (math.h): Likewise.
47135 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47136 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47137 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47139 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
47142 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47143 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47144 * intl/dgettext.c (DCGETTEXT): Likewise.
47145 * intl/gettext.c (DCGETTEXT): Likewise.
47146 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47147 * posix/regex_internal.h (gettext): Likewise.
47148 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47149 Remove declaration.
47150 * include/argz.h (__argz_count_internal)
47151 (__argz_stringify_internal): Remove declaration.
47152 (__argz_count, __argz_stringify): Declare hidden proto.
47153 * intl/dcgettext.c: Remove use of INTDEF.
47154 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47155 * string/argz-stringify.c: Likewise.
47156 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47157 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47158 Declare hidden proto.
47159 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47160 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47161 Declare hidden proto.
47162 * include/stdio.h (__asprintf_internal): Don't declare.
47163 (__asprintf): Don't define as macro. Declare hidden proto.
47164 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47165 (__fsetlocking): Declare hidden proto.
47166 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47167 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47169 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47170 (_IO_setlinebuf): Remove use of INTUSE.
47171 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47172 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47173 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47174 Remove declaration.
47175 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47176 (_IO_do_flush): Remove use of INTUSE.
47177 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47178 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47179 (_IO_adjust_column, _IO_least_wmarker)
47180 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47181 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47182 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47183 (_IO_default_doallocate, _IO_wdefault_doallocate)
47184 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47185 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47186 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47187 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47188 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47189 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47190 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47191 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47192 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47193 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47194 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47195 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47196 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47198 (_IO_flush_all_internal, _IO_adjust_column_internal)
47199 (_IO_default_uflow_internal, _IO_default_finish_internal)
47200 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47201 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47202 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47203 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47204 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47205 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47206 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47207 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47208 (_IO_file_close_internal, _IO_file_close_it_internal)
47209 (_IO_file_underflow_internal, _IO_file_overflow_internal)
47210 (_IO_file_init_internal, _IO_file_attach_internal)
47211 (_IO_file_fopen_internal, _IO_file_read_internal)
47212 (_IO_file_sync_internal, _IO_file_seek_internal)
47213 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47214 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47215 (_IO_str_underflow_internal, _IO_str_overflow_internal)
47216 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47217 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47218 (_IO_list_all_internal, _IO_link_in_internal)
47219 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47220 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47221 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47222 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47223 (_IO_do_write_internal, _IO_padn_internal)
47224 (_IO_getline_info_internal, _IO_getline_internal)
47225 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47226 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47227 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47228 (_IO_vfscanf_internal, _IO_vfprintf_internal)
47229 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47230 (_IO_init_internal, _IO_un_link_internal): Don't declare.
47231 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47232 with libc_hidden_ver, remove use of INTUSE.
47233 * libio/genops.c: Likewise.
47234 * libio/freopen.c: Likewise.
47235 * libio/freopen64.c: Likewise.
47236 * libio/iofclose.c: Likewise.
47237 * libio/iofdopen.c: Likewise.
47238 * libio/iofflush.c: Likewise.
47239 * libio/iofflush_u.c: Likewise.
47240 * libio/iofgets.c: Likewise.
47241 * libio/iofgets_u.c: Likewise.
47242 * libio/iofopen.c: Likewise.
47243 * libio/iofopncook.c: Likewise.
47244 * libio/iofread.c: Likewise.
47245 * libio/iofread_u.c: Likewise.
47246 * libio/ioftell.c: Likewise.
47247 * libio/iofwrite.c: Likewise.
47248 * libio/iogetline.c: Likewise.
47249 * libio/iogets.c: Likewise.
47250 * libio/iogetwline.c: Likewise.
47251 * libio/iopadn.c: Likewise.
47252 * libio/iopopen.c: Likewise.
47253 * libio/ioseekoff.c: Likewise.
47254 * libio/ioseekpos.c: Likewise.
47255 * libio/iosetbuffer.c: Likewise.
47256 * libio/iosetvbuf.c: Likewise.
47257 * libio/ioungetc.c: Likewise.
47258 * libio/ioungetwc.c: Likewise.
47259 * libio/iovdprintf.c: Likewise.
47260 * libio/iovsprintf.c: Likewise.
47261 * libio/iovsscanf.c: Likewise.
47262 * libio/memstream.c: Likewise.
47263 * libio/obprintf.c: Likewise.
47264 * libio/oldfileops.c: Likewise.
47265 * libio/oldiofclose.c: Likewise.
47266 * libio/oldiofdopen.c: Likewise.
47267 * libio/oldiofopen.c: Likewise.
47268 * libio/oldiopopen.c: Likewise.
47269 * libio/oldstdfiles.c: Likewise.
47270 * libio/putc.c: Likewise.
47271 * libio/setbuf.c: Likewise.
47272 * libio/setlinebuf.c: Likewise.
47273 * libio/stdfiles.c: Likewise.
47274 * libio/strops.c: Likewise.
47275 * libio/vasprintf.c: Likewise.
47276 * libio/vscanf.c: Likewise.
47277 * libio/vsnprintf.c: Likewise.
47278 * libio/vswprintf.c: Likewise.
47279 * libio/wfiledoalloc.c: Likewise.
47280 * libio/wfileops.c: Likewise.
47281 * libio/wgenops.c: Likewise.
47282 * libio/wmemstream.c: Likewise.
47283 * libio/wstrops.c: Likewise.
47284 * libio/__fpurge.c: Likewise.
47285 * libio/__fsetlocking.c: Likewise.
47286 * assert/assert.c: Likewise.
47287 * debug/fgets_chk.c: Likewise.
47288 * debug/fgets_u_chk.c: Likewise.
47289 * debug/fread_chk.c: Likewise.
47290 * debug/fread_u_chk.c: Likewise.
47291 * debug/gets_chk.c: Likewise.
47292 * debug/obprintf_chk.c: Likewise.
47293 * debug/vasprintf_chk.c: Likewise.
47294 * debug/vdprintf_chk.c: Likewise.
47295 * debug/vsnprintf_chk.c: Likewise.
47296 * debug/vsprintf_chk.c: Likewise.
47297 * malloc/mtrace.c: Likewise.
47298 * misc/error.c: Likewise.
47299 * misc/syslog.c: Likewise.
47300 * stdio-common/asprintf.c: Likewise.
47301 * stdio-common/fxprintf.c: Likewise.
47302 * stdio-common/getw.c: Likewise.
47303 * stdio-common/isoc99_fscanf.c: Likewise.
47304 * stdio-common/isoc99_scanf.c: Likewise.
47305 * stdio-common/isoc99_vfscanf.c: Likewise.
47306 * stdio-common/isoc99_vscanf.c: Likewise.
47307 * stdio-common/isoc99_vsscanf.c: Likewise.
47308 * stdio-common/printf-prs.c: Likewise.
47309 * stdio-common/printf_fp.c: Likewise.
47310 * stdio-common/printf_fphex.c: Likewise.
47311 * stdio-common/printf_size.c: Likewise.
47312 * stdio-common/putw.c: Likewise.
47313 * stdio-common/scanf.c: Likewise.
47314 * stdio-common/sprintf.c: Likewise.
47315 * stdio-common/tmpfile.c: Likewise.
47316 * stdio-common/vfprintf.c: Likewise.
47317 * stdio-common/vfscanf.c: Likewise.
47318 * stdlib/strfmon_l.c: Likewise.
47319 * sunrpc/openchild.c: Likewise.
47320 * sunrpc/xdr_stdio.c: Likewise.
47321 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47322 * sysdeps/mach/hurd/tmpfile.c: Likewise.
47324 2012-05-24 Roland McGrath <roland@hack.frob.com>
47326 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47328 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47329 in the third column, to generate for the shared library an IFUNC
47330 that uses _dl_vdso_vsym.
47331 * Makerules (COMPILE.c, compile-stdin.c): New variables.
47332 * Makeconfig (object-suffixes-noshared): New variable.
47334 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47335 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47336 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47337 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47340 * include/sys/time.h (__gettimeofday): Remove macro.
47341 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47342 * time/gettimeofday.c (__gettimeofday): Remove #undef.
47344 (__gettimeofday): Add libc_hidden_def.
47345 (gettimeofday): Add libc_hidden_weak.
47346 * sysdeps/mach/gettimeofday.c: Likewise.
47347 * sysdeps/posix/gettimeofday.c: Likewise.
47348 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47349 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47350 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47351 (__gettimeofday_internal): Remove strong_alias.
47352 (__gettimeofday): Add libc_hidden_def.
47353 (gettimeofday): Add libc_hidden_weak.
47354 * sysdeps/unix/syscalls.list (gettimeofday):
47355 Remove __gettimeofday_internal alias.
47357 2012-05-24 Daniel Jacobowitz <drow@false.org>
47358 H.J. Lu <hongjiu.lu@intel.com>
47361 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47362 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47363 (largebin_index_32_big): New.
47364 (largebin_index): Use it for 16-byte alignment.
47365 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
47366 correction with front_misalign.
47368 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
47370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47396 * scripts/data/c++-types-x32-linux-gnu.data: New file.
47397 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47399 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47403 * math/libm-test.inc (exp_test): Add test from bug 14036.
47404 (pow_test): Add test from bug 10846.
47406 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47408 (special_function): Do not include flags in test name.
47409 (parse_args): Likewise.
47410 * sysdeps/i386/fpu/libm-test-ulps: Update.
47411 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47412 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47413 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47416 * math/gen-libm-test.pl (%beautify): Add entries for underflow
47418 * math/libm-test.inc ("Philosophy"): Update comment about
47420 (UNDERFLOW_EXCEPTION): New macro.
47421 (UNDERFLOW_EXCEPTION_OK): Likewise.
47422 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47423 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47424 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47425 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47426 (INVALID_EXCEPTION_OK): Update value.
47427 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47428 (OVERFLOW_EXCEPTION_OK): Likewise.
47429 (IGNORE_ZERO_INF_SIGN): Likewise.
47430 (test_exceptions): Handle underflow exceptions.
47431 (acos_test): Update for underflow exception expectations.
47432 (cexp_test): Likewise.
47433 (clog_test): Likewise.
47434 (clog10_test): Likewise.
47435 (csqrt_test): Likewise.
47436 (ctan_test): Likewise.
47437 (ctanh_test): Likewise.
47438 (exp_test): Likewise.
47439 (exp10_test): Likewise.
47440 (exp2_test): Likewise.
47441 (expm1_test): Likewise.
47442 (fma_test): Likewise.
47443 (j0_test): Likewise.
47444 (jn_test): Likewise.
47445 (nexttoward_test): Likewise.
47446 (pow_test): Likewise.
47447 (scalbn_test): Likewise.
47448 (scalbln_test): Likewise.
47449 (tan_test): Likewise.
47450 (y1_test): Likewise.
47451 * sysdeps/i386/fpu/libm-test-ulps: Update.
47452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47454 2012-05-23 David S. Miller <davem@davemloft.net>
47456 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47457 (__libc_sigaction): Remove unused local variables.
47459 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47461 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47463 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
47465 mktime: avoid signed integer overflow
47466 * time/mktime.c (__mktime_internal): Do not mishandle the case
47467 where diff == INT_MIN.
47469 mktime: simplify computation of average
47470 * time/mktime.c (ranged_convert): Use new time_t_avg function
47471 instead of rolling our own (probably-slower) code.
47473 mktime: do not assume signed right shift propagates sign bit
47474 * time/mktime.c (isdst_differ): New static function.
47475 (__mktime_internal): No need to normalize tm_isdst now.
47476 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47479 mktime: merge another wrapv change from gnulib
47480 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47481 from some compilers.
47483 mktime: remove incorrect attempt at unusual arithmetics
47484 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47485 The code didn't really work on such machines anyway.
47486 (TYPE_MINIMUM): Assume two's complement.
47487 (twos_complement_arithmetic): Verify that long_int and time_t
47488 are two's complement (or unsigned, in the latter case).
47490 mktime: check signed shifts on long_int and time_t, too
47491 * time/mktime.c (SHR): Check that shifts work as desired
47492 on the types long_int and time_t too, as SHR is used on
47495 mktime: do not assume 'long' is wide enough
47496 * time/mktime.c (verify): Move decl up.
47497 (long_int): New type.
47498 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47499 to remove assumption in the code that 'long' is wide enough to
47500 store year values. This assumption is not true on x32 and on
47501 some non-glibc platforms.
47503 mktime: merge wrapv change from gnulib
47504 * time/mktime.c (WRAPV): New macro.
47505 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47506 (guess_time_tm, __mktime_internal): Do not assume that signed
47507 integer overflow wraps around; modern compilers generate code
47508 where this assumption is no longer valid.
47510 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47512 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47513 Replace "jmp L(pseudo_end)" with "ret".
47514 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47517 2012-05-23 Andreas Jaeger <aj@suse.de>
47519 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47520 * sysdeps/unix/sysv/linux/poll.c: Remove file.
47522 2012-05-23 Andreas Jaeger <aj@suse.de>
47523 Maximilian Attems <max@stro.at>
47525 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47528 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47530 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47531 code so that pseudo_end is just ret and the stack pointer is
47532 correct also for static library in error case.
47534 2012-05-23 Joseph Myers <joseph@codesourcery.com>
47536 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47537 move to syscalls.list.
47538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47543 * manual/install.texi (Running make install): Do not mention Linux
47544 kernel version for which pt_chown is not needed.
47545 (Linux): Do not mention problems with nscd with 2.0 kernels.
47546 * INSTALL: Regenerated.
47548 2012-05-23 Andreas Jaeger <aj@suse.de>
47550 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47551 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47553 * sysdeps/unix/sysv/linux/s390/bits/mman.h
47554 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47555 * sysdeps/unix/sysv/linux/sh/bits/mman.h
47556 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47557 * sysdeps/unix/sysv/linux/i386/bits/mman.h
47558 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47559 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47560 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47561 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47562 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47563 * sysdeps/unix/sysv/linux/bits/in.h
47564 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47566 2012-05-22 Roland McGrath <roland@hack.frob.com>
47568 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47569 (PREPARE_VERSION): Just use assert instead, it will be elided
47570 under [NDEBUG] anyway.
47572 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47574 * sysdeps/unix/sysv/linux/Makefile: Include
47575 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47576 (sysdep_routines): Remove sysctl.
47577 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47578 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47579 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47580 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47581 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47583 2012-05-22 Andreas Jaeger <aj@suse.de>
47585 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47586 that pseudo_end is just ret and the stack pointer is correct also
47587 for static library in error case.
47589 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
47592 * nss/nsswitch.c (defconfig_entries): New variable.
47593 (__nss_database_lookup): Don't leak defconfig entries.
47594 (nss_parse_service_list): Don't leak on error paths.
47595 (free_database_entries): New function.
47596 (free_defconfig): New function.
47597 (free_mem): Move common code to free_database_entries.
47599 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47601 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47603 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47605 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47606 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47609 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47610 (INTERNAL_SYSCALL_TYPES): Likewise.
47611 (LOAD_ARGS_TYPES_[1-6]): Likewise.
47612 (LOAD_REGS_TYPES_[1-6]): Likewise.
47613 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47614 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47616 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47618 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47619 copysignl for GLIBC_2_0.
47620 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47621 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47622 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47623 logbl for GLIBC_2_0.
47624 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47625 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47627 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47629 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47630 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47632 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47635 * time/mktime.c: Update copyright years.
47637 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
47639 mktime: merge comment-quoting-style change from gnulib
47640 * time/mktime.c: Quote 'like this' in comments.
47641 The GNU coding standards suggest that we no longer quote `like this',
47642 as "`" and "'" are typically rendered asymmetrically nowadays.
47643 The typical gnulib style is to quote 'like this' when quoting
47644 code, and "like this" when quoting English.
47646 * time/mktime.c (compile-command): Add "-I.".
47648 mktime: merge mktime-internal.h change from gnulib
47649 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47651 mktime: merge time_r change from gnulib
47652 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47654 mktime: merge DEBUG change from gnulib
47655 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47656 case system <time.h> has a #define.
47658 mktime: merge <sys/types.h> change from gnulib
47659 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47660 since <time.t> is now guaranteed to define time_t.
47662 mktime: merge HAVE_CONFIG_H change from gnulib
47663 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47665 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47667 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47670 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47672 (struct rusage): Use anonymous union to pad each field to
47675 2012-05-21 David S. Miller <davem@davemloft.net>
47677 * Makefules (o-iterator): Remove .s cases.
47678 (compile-command.s): Delete.
47679 (COMPILE.s): Delete.
47680 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47682 2012-05-21 Joseph Myers <joseph@codesourcery.com>
47684 * configure.in (libc_cv_predef_stack_protector): Only consider
47685 "foobar" and "__stack_chk_fail" lines in libc_undefs.
47686 * configure: Regenerated.
47688 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47691 New macro. Use R*LP on int and pointer.
47692 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47693 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47694 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47695 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47697 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47698 [__WORDSIZE_TIME64_COMPAT32] instead of
47699 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47700 (struct utmp): Likewise.
47701 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47702 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47704 (__WORDSIZE_TIME64_COMPAT32): This.
47705 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47706 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47707 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47708 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47709 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47710 (__WORDSIZE_TIME64_COMPAT32): New macro.
47712 2012-05-21 Andreas Jaeger <aj@suse.de>
47714 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47715 only if [SHARED]. Add prototype for __wcschr_ia32.
47717 2012-05-21 Roland McGrath <roland@hack.frob.com>
47719 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47720 of %rbp unmolested in the jmp_buf while mangling the low bits.
47721 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47722 unmolested high bits of %rbp while demangling the low bits.
47723 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47725 2012-05-21 Andreas Jaeger <aj@suse.de>
47727 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47728 * sunrpc/svc_simple.c: Use it for registerrpc.
47729 * sunrpc/xcrypt.c: Use it for passwd2des.
47731 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47733 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47735 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47736 Don't define if [__SYSCALL_WORDSIZE != 32].
47737 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47740 2012-05-21 Bruno Haible <bruno@clisp.org>
47741 Andreas Jaeger <aj@suse.de>
47743 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47744 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47745 inptr and inend for must_buffer_ch.
47746 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47747 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47748 * stdio-common/Makefile (tests): Remove bug15.
47749 (bug15-ENV): Remove macro.
47750 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47753 2012-05-19 Andreas Jaeger <aj@suse.de>
47754 Roland McGrath <roland@hack.frob.com>
47756 * manual/contrib.texi: Completely rewritten. It contains now an
47757 alphabetical list of contributors and their contributions.
47759 2012-05-21 Richard Henderson <rth@twiddle.net>
47761 * misc/getauxval.c (__getauxval): Use unsigned long int.
47762 * misc/sys/auxv.h: Include <sys/cdefs.h>.
47763 (getauxval): Use unsigned long int.
47765 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47767 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47769 2012-05-21 Roland McGrath <roland@hack.frob.com>
47771 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47772 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47773 __alignof__ (long double).
47775 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47779 2012-05-20 Richard Henderson <rth@twiddle.net>
47781 * misc/getauxval.c: New file.
47782 * misc/sys/auxv.h: New file.
47783 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47784 (routines): Add getauxval.
47785 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47786 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47787 * elf/dl-sysdep.c (_dl_auxv): Remove.
47788 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47789 * elf/dl-support.c (_dl_auxv): New variable.
47790 (_dl_aux_init): Initialize it.
47791 * manual/startup.texi (Auxiliary Vector): New node.
47792 * sysdeps/generic/bits/hwcap.h: New file.
47793 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47794 * sysdeps/powerpc/sysdep.h: ... here. Include it.
47795 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47796 * sysdeps/sparc/sysdep.h: ... here. Include it.
47797 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47798 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47804 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47810 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47814 2012-05-19 David S. Miller <davem@davemloft.net>
47816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47818 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47821 * math/s_ccosh.c: Include <float.h>
47822 (__ccosh): Avoid internal overflow calculating sinh and cosh
47823 values before multiplying by sin and cos values.
47824 * math/s_ccoshf.c: Likewise.
47825 * math/s_ccoshl.c: Likewise.
47826 * math/s_csin.c: Likewise.
47827 * math/s_csinf.c: Likewise.
47828 * math/s_csinl.c: Likewise.
47829 * math/s_csinh.c: Likewise.
47830 * math/s_csinhf.c: Likewise.
47831 * math/s_csinhl.c: Likewise.
47832 * math/libm-test.inc (ccos_test): Add more tests.
47833 (ccosh_test): Likewise.
47834 (csin_test): Likewise.
47835 (csinh_test): Likewise.
47836 * sysdeps/i386/fpu/libm-test-ulps: Update.
47837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47839 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
47841 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47842 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47844 * sysdeps/x86_64/x32/_itoa.h: Add comment.
47846 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47848 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47849 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47850 * sysdeps/powerpc/soft-fp/Versions: Likewise.
47851 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47852 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47853 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47854 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47855 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47856 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47857 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47858 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47859 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47860 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47861 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47862 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47863 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47864 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47865 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47866 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47867 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47868 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47869 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47870 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47871 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47872 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47873 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47874 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47875 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47876 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47877 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47878 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47880 2012-05-18 Andreas Jaeger <aj@suse.de>
47882 * csu/.gitignore: Delete.
47884 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47886 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47887 (timex): Use __syscall_slong_t.
47889 2012-05-18 Andreas Jaeger <aj@suse.de>
47890 Carlos O'Donell <carlos_odonell@mentor.com>
47892 * manual/install.texi (Configuring and compiling): Update
47893 description about files modified in the source directory.
47894 * INSTALL: Regenerated.
47896 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47898 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47899 value. Use "or" to set return value to -1.
47900 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47901 negate return value.
47903 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47905 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47906 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47907 failure if the compiler has Graphite support disabled.
47908 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47910 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47911 (CFLAGS-memmove.c): Likewise.
47912 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47915 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47917 * sysdeps/x86_64/x32/_itoa.h: New file.
47919 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47920 getdents system call only if kernel and user dirents have the
47921 same d_ino and d_off.
47923 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47924 LLONG_MAX != LONG_MAX.
47925 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47926 (_fitoa_word): Likewise.
47928 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47930 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47931 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47932 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47934 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47935 include <bits/wordsize.h>. Check __x86_64__ instead of
47937 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47938 if __x86_64__ is defined. Use anonymous union on fpstate.
47940 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47943 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
47945 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47946 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47947 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47948 Refer to _rtld_local_ro instead of _rtld_global_ro.
47949 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47951 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47953 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47955 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47956 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47957 of _rtld_global, and rtld_progname instead of _dl_argv[0].
47959 * sysdeps/powerpc/powerpc32/dl-machine.c
47960 (__elf_machine_runtime_setup) [PROF]: Don't reference
47963 2012-05-18 Andreas Jaeger <aj@suse.de>
47965 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47966 function only available for GCCs before 3.4 since GCC 3.4
47967 introduced a builtin.
47969 (llrintf): Likewise.
47970 (llrint): Likewise.
47977 (nearbyint): Likewise.
47978 (nearbyintf): Likewise.
47982 (floorf): Likewise.
47984 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47986 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47987 on both fields and cast pointer to __syscall_ulong_t.
47989 * bits/types.h (__fsword_t): New type.
47990 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47991 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47992 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47993 (__FSWORD_T_TYPE): Likewise.
47994 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47995 (__FSWORD_T_TYPE): Likewise.
47996 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47997 (__FSWORD_T_TYPE): Likewise.
47998 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47999 (__FSWORD_T_TYPE): Likewise.
48000 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
48001 __SWORD_TYPE with __fsword_t.
48002 (statfs64): Likewise.
48004 2012-05-17 David S. Miller <davem@davemloft.net>
48006 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48008 2012-05-17 Andreas Jaeger <aj@suse.de>
48010 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48013 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48015 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48017 2012-05-17 Andreas Jaeger <aj@suse.de>
48019 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48022 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
48024 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48026 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48028 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48029 * sysdeps/x86_64/tst-mallocalign1.c: New file.
48031 2012-05-17 Andreas Jaeger <aj@suse.de>
48032 Carlos O'Donell <carlos_odonell@mentor.com>
48035 * sysdeps/x86_64/multiarch/init-arch.h
48036 (bit_YMM_Usable): Rename to...
48037 (bit_AVX_Usable): ... this.
48038 (bit_FMA4_Usable): New macro.
48039 (bit_XMM_state): New macro.
48040 (bit_YMM_state): New macro.
48041 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48042 [__ASSEMBLER__] (index_AVX_Usable): ... this.
48043 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48044 (CPUID_OSXSAVE): New macro.
48045 (CPUID_AVX): New macro.
48046 (CPUID_FMA4): New macro.
48047 (index_YMM_Usable): Rename to...
48048 (index_AVX_Usable): ... this.
48049 (HAS_AVX): Use HAS_ARCH_FEATURE.
48050 (HAS_FMA4): Likewise.
48051 (HAS_YMM_USABLE): Remove.
48052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48053 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48055 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48056 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48057 * sysdeps/x86_64/multiarch/Makefile: Likewise.
48058 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48059 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48061 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
48063 * math/libm-test.c: Support platforms without multiple rounding modes.
48064 * math/bug-nextafter.c: Support platforms without FP exceptions.
48065 * math/bug-nexttoward.c: Likewise.
48066 * math/test-fenv.c: Likewise.
48067 * math/test-misc.c: Likewise.
48068 * stdlib/bug-getcontext.c: Likewise.
48070 2012-05-17 Andreas Jaeger <aj@suse.de>
48072 * manual/examples/search.c (critter_cmp): Change signature to
48074 * manual/string.texi (Collation Functions): Likewise.
48076 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48078 * bits/types.h: Fold copyright years.
48079 * bits/typesizes.h: Likewise.
48080 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48081 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48082 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48083 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48084 * time/time.h: Likewise.
48086 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
48089 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48090 in instead of returning them. Return void.
48091 (__libc_mallinfo): Accumulate over all arenas.
48092 (__malloc_stats): Adjust for change in int_mallinfo interface.
48094 2012-05-16 Roland McGrath <roland@hack.frob.com>
48097 * configure.in (NM): Add AC_CHECK_TOOL for it.
48098 (libc_extra_cflags): New substituted variable.
48099 Check for -fstack-protector being used implicitly.
48100 * configure: Regenerated.
48101 * config.make.in (config-extra-cflags): New variable,
48102 gets @libc_extra_cflags@.
48103 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48106 * configure.in: Check for _FORTIFY_SOURCE being predefined.
48107 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48108 * configure: Regenerated.
48109 * config.make.in (CPPUNDEFS): New substituted variable.
48110 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48111 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48112 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48114 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48116 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48117 (mq_attr): Use __syscall_slong_t.
48119 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48121 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48122 Check __x86_64__ instead of __WORDSIZE.
48123 (_STAT_VER_LINUX): Likewise.
48124 (stat): Check __x86_64__ instead of __WORDSIZE. Use
48125 __syscall_ulong_t and __syscall_slong_t.
48126 (stat64): Likewise.
48128 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48130 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48132 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48134 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48136 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48138 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48141 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48142 include <bits/wordsize.h>. Check __x86_64__ instead of
48144 (greg_t): Use "__extension__ long long int" if __x86_64__ is
48146 (mcontext_t): Replace "unsigned long" with "unsigned long long".
48148 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48149 include <bits/wordsize.h>. Check __x86_64__ instead of
48151 (user_regs_struct): Use "__extension__ unsigned long long"
48152 instead of "unsigned long" if __x86_64__ is defined.
48153 (user): Likewise. Pad after pointer field if __ILP32__ is
48156 2012-05-16 Joseph Myers <joseph@codesourcery.com>
48158 * configure.in (makeinfo): Require version 4.5 or later. Allow
48160 * configure: Regenerated.
48161 * manual/install.texi (texinfo): Increase version requirement to
48163 * INSTALL: Regenerated.
48165 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48167 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48169 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48171 * sysdeps/x86_64/x32/ffs.c: New file.
48173 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48175 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48176 defined. Use __syscall_ulong_t.
48177 (shminfo): Use __syscall_ulong_t.
48178 (shm_info): Likewise.
48180 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48183 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48185 (msgqnum_t): Use __syscall_ulong_t.
48186 (msglen_t): Likewise.
48187 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
48190 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48191 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48193 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48195 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48196 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48198 * sysvipc/sys/msg.h (msgbuf): Replace long int with
48201 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48202 include <bits/wordsize.h>. Check __x86_64__ instead of
48205 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48206 "unsigned long long int" if __x86_64__ is defined.
48207 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48209 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48210 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48211 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48213 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48215 (GET_PC): Cast to uintptr_t first.
48216 (GET_FRAME): Likewise.
48217 (GET_STACK): Likewise.
48219 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48220 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48221 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48222 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48223 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48224 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48225 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48226 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48227 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48228 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48229 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48230 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48231 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48232 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48233 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48234 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48235 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48236 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48237 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48238 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48239 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48240 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48241 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48242 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48243 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48244 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48245 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48246 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48247 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48249 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
48251 * Makerules (+depfiles): Also collect depfiles from .oS in
48253 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48254 .oS, $(libnldbl-routines)).
48256 * Makerules (native-compile-mkdep-flags): Define.
48257 * sunrpc/Makefile (extra-objs): Add $(addprefix
48258 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48259 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48260 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
48261 calling $(make-target-directory).
48263 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48265 * bits/types.h (__snseconds_t): Removed.
48266 * time/time.h (struct timespec): Replace __snseconds_t with
48268 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48269 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48271 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48272 (__SNSECONDS_T_TYPE): Likewise.
48273 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48274 (__SNSECONDS_T_TYPE): Likewise.
48275 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48276 (__SNSECONDS_T_TYPE): Likewise.
48278 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48280 * sysdeps/mach/hurd/bits/typesizes.h
48281 (__SYSCALL_SLONG_TYPE): New macro.
48282 (__SYSCALL_ULONG_TYPE): Likewise.
48284 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48286 * bits/types.h (__syscall_slong_t): New type.
48287 (__syscall_ulong_t): Likewise.
48289 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48290 (__SYSCALL_ULONG_TYPE): Likewise.
48291 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48292 (__SYSCALL_SLONG_TYPE): Likewise.
48293 (__SYSCALL_ULONG_TYPE): Likewise.
48294 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48295 (__SYSCALL_SLONG_TYPE): Likewise.
48296 (__SYSCALL_ULONG_TYPE): Likewise.
48297 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48298 (__SYSCALL_SLONG_TYPE): Likewise.
48299 (__SYSCALL_ULONG_TYPE): Likewise.
48301 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48303 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48304 Add sigaltstack-offsets.sym.
48305 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48306 <sigaltstack-offsets.h>.
48307 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
48308 longjmp_msg pointer.
48309 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
48310 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48312 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48314 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48316 * elf/stackguard-macros.h: Remove file.
48317 * sysdeps/generic/stackguard-macros.h: New file.
48318 * sysdeps/i386/stackguard-macros.h: Likewise.
48319 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48320 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48321 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48322 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48323 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48324 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48325 * sysdeps/x86_64/stackguard-macros.h: Likewise.
48326 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48327 <elf/stackguard-macros.h>.
48330 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48331 __aligned__ in attribute.
48332 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48333 (gregset_t): Likewise.
48335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48337 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48338 * sysdeps/x86_64/64/Implies-after: Here. New file.
48339 * sysdeps/x86_64/x32/Implies-after: New file.
48341 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48343 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48344 and access return value for _dl_profile_fixup. Use R10_LP to
48347 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48349 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48351 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48353 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48354 * sysdeps/x86_64/x32/sysdep.h: New file.
48356 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48358 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48359 * sysdeps/x86_64/setjmp.S: Likewise.
48361 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48363 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48364 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48365 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48366 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48367 remove unused global constant.
48369 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
48371 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48372 include of <not-cancel.h>.
48374 2012-05-15 Roland McGrath <roland@hack.frob.com>
48376 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48378 2012-05-15 Jeff Law <law@redhat.com>
48379 Andreas Jaeger <aj@suse.de>
48382 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48384 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48385 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48386 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48387 code changing __hst_map_handle.map.
48389 2012-05-15 Roland McGrath <roland@hack.frob.com>
48391 * configure.in (sysnames): Look for Implies-before and Implies-after
48393 * configure: Regenerated.
48395 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48397 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48398 8-byte data alignment with LP_SIZE alignment.
48400 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48402 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48407 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48411 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48412 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48413 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48415 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48417 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48419 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48420 (stackinfo_sub_sp): Likewise.
48422 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48424 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48427 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48429 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48432 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48434 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48437 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48439 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48443 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48444 into R11_LP and load __x86_64_shared_cache_size_half into
48447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48449 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48452 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48454 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48456 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48460 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48461 powerpc32/power7/fpu/s_logb.c via #include.
48462 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48463 powerpc32/power7/fpu/s_logbf.c via #include.
48464 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48465 powerpc32/power7/fpu/s_logbl.c via #include.
48467 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48469 * README.libm: Remove file.
48471 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48473 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48474 count for x32. Use R*_LP and omit operand-size suffix.
48476 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48478 * shlib-versions: Move x86_64-.*-linux.* entries to ...
48479 * sysdeps/x86_64/64/shlib-versions: Here. New file.
48480 * sysdeps/x86_64/x32/shlib-versions: New file.
48482 2012-05-14 Roland McGrath <roland@hack.frob.com>
48484 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48485 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48486 Use _dl_fatal_printf instead.
48488 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48490 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48491 set if not set by the user. Do not allow for being unset.
48492 * sysdeps/unix/sysv/linux/configure: Regenerated.
48494 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48496 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48497 the `q' suffix from lea and replace .quad with ASM_ADDR.
48499 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48501 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48502 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
48504 (PTR_DEMANGLE): Likewise.
48506 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48508 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48510 (ASM_ADDR): Likewise.
48511 (RAX_LP): Likewise.
48512 (RBP_LP): Likewise.
48513 (RBX_LP): Likewise.
48514 (RCX_LP): Likewise.
48515 (RDI_LP): Likewise.
48516 (RSI_LP): Likewise.
48517 (RSP_LP): Likewise.
48520 (R10_LP): Likewise.
48521 (R10_LP): Likewise.
48522 (R11_LP): Likewise.
48523 (R12_LP): Likewise.
48524 (R13_LP): Likewise.
48525 (R14_LP): Likewise.
48526 (R15_LP): Likewise.
48528 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48530 * sysdeps/x86_64/x32/dl-machine.h: New file.
48532 2012-05-14 Andreas Jaeger <aj@suse.de>
48534 * manual/Makefile (subdir): Remove export of subdir.
48535 (all): Remove target.
48536 (.PHONY): Remove all from list.
48537 (mkinstalldirs): Remove.
48538 (.PHONY): Remove installdirs from list.
48539 ($(inst_infodir)/libc.info): Use make-target-directory.
48540 (installdirs): Remove.
48541 (subdir_%): Remove.
48542 (glibc-targets): Remove.
48545 ($(objpfx)stubs ../po/manual.pot): Remove.
48546 ($(objpfx)stamp%): Remove.
48547 (make-target-directory): Remove.
48548 (subdir_install): Remove.
48549 (routines): Remove.
48556 * manual/.gitignore: Remove, it's not needed anymore.
48557 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48559 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48561 (texis): Renamed to $(objpfx)texis.
48562 (texis-path): New, contains path to generated files.
48563 (chapters.%): Use texis-path for complete path, add extra argument
48565 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48566 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48567 (summary,texi, stamp-summary): Use complete path of
48568 files. Generate files in build dir.
48569 (dir-add.texi): Build in build dir.
48570 (libm-err.texi,stamp-libm-err): Likewise.
48571 (version.texi, stamp-version): Likewise.
48572 (.%c.texi): Likewise.
48573 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48574 (mostlyclean): Remove target.
48575 (realclean): Remove target.
48576 (generated): Add new variable with contents from mostlyclean and
48577 realclean, remove entries duplicated in common-mostlyclean, add
48578 stamp-libm-err and stamp-version.
48579 (generated-dirs): Add libc directory.
48580 ($(inst_infodir)/libc.info): Install files from build dir.
48582 * manual/install.texi (Configuring and compiling): Adjust since
48583 the info files are not part of the tar ball anymore.
48585 2012-05-14 Andreas Jaeger <aj@suse.de>
48587 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48590 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48593 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48594 to 2.2.0 where earlier.
48595 * sysdeps/unix/sysv/linux/configure: Regenerated.
48596 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48597 Remove conditional code.
48598 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48599 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48600 Remove conditional code.
48601 [!__NR_lchown]: Likewise.
48602 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48603 [__NR_lchown]: Likewise.
48604 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48605 comment referencing __ASSUME_LCHOWN_SYSCALL.
48606 * sysdeps/unix/sysv/linux/i386/sigaction.c
48607 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48608 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48609 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48610 Remove conditional code.
48611 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48612 (__protocol_available): Remove #if 0 code.
48613 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48615 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48616 * sysdeps/unix/sysv/linux/kernel-features.h
48617 (__ASSUME_GETCWD_SYSCALL): Don't define.
48618 (__ASSUME_REALTIME_SIGNALS): Likewise.
48619 (__ASSUME_PREAD_SYSCALL): Likewise.
48620 (__ASSUME_PWRITE_SYSCALL): Likewise.
48621 (__ASSUME_POLL_SYSCALL): Likewise.
48622 (__ASSUME_LCHOWN_SYSCALL): Likewise.
48623 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48625 (__ASSUME_SIOCGIFNAME): Don't define.
48626 (__ASSUME_MSG_NOSIGNAL): Likewise.
48627 (__ASSUME_SENDFILE): Define unconditionally.
48628 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48629 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48631 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48632 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48633 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48634 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48635 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48636 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48637 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48639 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48640 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48642 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48643 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48645 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48646 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48648 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48649 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48651 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48652 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48654 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48657 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48658 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48660 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48662 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48663 Remove conditional code.
48664 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48665 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48666 Remove conditional code.
48667 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48668 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48669 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48670 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48671 Remove conditional code.
48672 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48673 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48674 Remove conditional code.
48675 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48676 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48677 Remove conditional code.
48678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48679 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48680 Remove conditional code.
48681 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48682 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48683 Remove conditional code.
48684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48685 * sysdeps/unix/sysv/linux/sh/pwrite64.c
48686 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48688 * sysdeps/unix/sysv/linux/sigaction.c
48689 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48690 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48691 * sysdeps/unix/sysv/linux/sigpending.c
48692 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48693 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48694 * sysdeps/unix/sysv/linux/sigprocmask.c
48695 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48696 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48697 * sysdeps/unix/sysv/linux/sigsuspend.c
48698 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48699 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48700 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48701 (__libc_missing_rt_sigs): Remove.
48702 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48703 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48704 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48705 Remove conditional code.
48706 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48707 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48709 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48710 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48711 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48712 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48714 2012-05-14 Andreas Jaeger <aj@suse.de>
48716 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48717 it's not used in glibc.
48718 (__coshm1): Likewise.
48719 (__acosh1p): Likewise.
48722 * manual/string.texi (Copying and Concatenation): Add missing
48723 variable in concat example.
48724 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48726 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48729 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48730 __builtin_clzl with __builtin_clzll.
48732 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48735 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48738 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48740 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48741 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48742 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48743 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48745 2012-05-14 Mike Frysinger <vapier@gentoo.org>
48747 * NEWS: Update ia64 info.
48749 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
48751 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48754 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
48756 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48757 * sysdeps/unix/syscalls.list (dup3): Likewise.
48758 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48759 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48761 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48763 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48764 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48766 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48768 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48770 (TLS_IE): Use mov/add instead of movq/addq to load thread
48772 (TLS_GD_PREFIX): New.
48775 2012-05-11 David S. Miller <davem@davemloft.net>
48777 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48778 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48779 (_FPU_SETCW): Likewise.
48781 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48783 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48784 is 32-byte aligned.
48786 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
48789 * iconvdata/gb18030.c: Update tables.
48790 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
48791 characters specially.
48792 (BODY for TO_LOOP): Add encoding of missing ranges.
48794 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
48797 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48798 * sysdeps/mach/hurd/dup3.c: Likewise.
48799 * sysdeps/mach/hurd/readlinkat.c: Likewise.
48800 * sysdeps/powerpc/memmove.c:: Likewise.
48802 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48804 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48805 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48807 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48809 * elf/elf.h (R_X86_64_RELATIVE64): New.
48810 (R_X86_64_NUM): Updated.
48811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48812 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
48813 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48814 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48815 tst-quad1pie tst-quad2pie
48816 (modules-names): Add tst-quadmod1 tst-quadmod2.
48817 ($(objpfx)tst-quad1): New dependency.
48818 ($(objpfx)tst-quad2): Likewise.
48819 ($(objpfx)tst-quad1pie): Likewise.
48820 ($(objpfx)tst-quad2pie): Likewise.
48821 * sysdeps/x86_64/tst-quad1.c: New file.
48822 * sysdeps/x86_64/tst-quad1pie.c: New file.
48823 * sysdeps/x86_64/tst-quad2.c: Likewise.
48824 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48825 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48826 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48827 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48828 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48830 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48832 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48833 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48834 * streams/stropts.h (t_scalar_t): Define type.
48836 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48837 (_PATH_PRESERVE): Set to "/var/lib".
48838 (_PATH_RWHODIR): Set to "/var/spool/rwho".
48840 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48843 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48844 if __dir_mkfile succeeded.
48846 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48847 checking for _hurd_dtablesize. Unlock it right after having
48848 finished _hurd_dtable allocation.
48850 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48852 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48853 * sysdeps/mach/hurd/configure: Regenerated.
48854 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48855 special-casing to...
48856 * sysdeps/gnu/configure.in: ... this new file.
48857 * sysdeps/unix/sysv/linux/configure: Regenerated.
48858 * sysdeps/gnu/configure: New generated file.
48860 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48861 for Linux: use nsec instead of usec, as well as:
48862 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48863 members of type struct timespec.
48864 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48866 (struct stat64): Likewise.
48867 (_STATBUF_ST_NSEC): New macro.
48868 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48870 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48871 __strtoul_internal rather than strtoul.
48873 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48875 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48878 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48880 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48881 which preserves existing values.
48882 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48884 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48886 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48887 TIMEOUT values. Return EINVAL for NFDS values either negative or
48888 greater than FD_SETSIZE.
48890 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48892 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48893 allocated, call __vm_protect to finish enabling the existing space, and
48894 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48895 allocate the remainder.
48897 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48899 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48900 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
48902 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48904 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48905 sysdeps/mach/hurd/readlink.c.
48907 * posix/tst-sysconf.c (posix_options): Only use
48908 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48909 _POSIX_SYNCHRONIZED_IO when they are defined
48910 * sysdeps/mach/hurd/bits/posix_opt.h:
48911 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48912 (_XOPEN_REALTIME): Undefine macro.
48913 (_XOPEN_REALTIME_THREADS): Undefine macro.
48914 (_XOPEN_SHM): Undefine macro.
48915 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48917 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48919 (_POSIX_ASYNC_IO): Undefine macro.
48920 (_POSIX_PRIORITIZED_IO): Undefine macro.
48921 (_POSIX_SPIN_LOCKS): Define macro to -1.
48923 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48924 SA_NODEFER, SA_RESETHAND.
48925 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48926 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48929 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48931 * elf/Makefile (pldd-modules): Define unconditionally.
48933 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48935 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48937 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48939 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48940 Return ENOENT when name is empty.
48941 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48943 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48945 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48947 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48949 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48951 Fix mlock in all cases except non-readable pages.
48952 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48953 instead of VM_PROT_ALL as parameter to __vm_wire function.
48955 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48956 (__mkdir): When path is `/', just fail with EEXIST.
48957 * sysdeps/mach/hurd/mkdirat.c: Likewise.
48959 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48961 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48962 <sys/uio.h> (for writev).
48963 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48964 and <sys/param.h> (for MIN).
48966 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48968 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48969 REQUESTED_TIME. Properly set the remaining time and return EINTR
48972 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48974 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48975 Depend on against $(link-rpcuserlibs).
48977 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48979 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48980 (__libc_stack_end): Do not use attribute_relro.
48981 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48982 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48983 to libthread-provided value.
48984 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48987 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48990 * bits/libc-lock.h (__libc_once_get): New macro.
48991 * sysdeps/mach/bits/libc-lock.h: Likewise.
48992 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48993 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48994 instead of using implementation details.
48996 * libio/fileops.c: Unconditionally include <kernel-features.h>.
48997 * libio/freopen.c: Likewise.
48998 * libio/freopen64.c: Likewise.
48999 * misc/syslog.c: Likewise.
49000 * nscd/connections.c: Likewise.
49001 * nscd/netgroupcache.c: Likewise.
49002 * sysdeps/posix/getcwd.c: Likewise.
49004 2012-05-10 Roland McGrath <roland@hack.frob.com>
49006 * math/w_ilogbf.c: Add #include <limits.h>.
49008 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49010 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49011 path instead of returning without unlocking.
49013 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49014 immediate-write ioctls.
49015 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49017 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49019 * sysdeps/mach/hurd/i386/init-first.c (init): Use
49020 __builtin_frame_address instead of making assumptions about the
49021 location of the return address relative to DATA. Force early load of
49022 the return address.
49023 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49024 __builtin_frame_address.
49027 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49028 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
49029 implement dup3 and do some further code clean-ups.
49030 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49031 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49033 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49035 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49037 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49038 HURD_CRITICAL_END around holding _hurd_dtable_lock.
49039 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49040 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49041 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49044 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49045 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
49046 when handler == SIG_ERR, not when handler != SIG_ERR.
49048 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49050 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49051 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49054 accept4 for GNU Hurd.
49055 * include/sys/socket.h (__libc_accept4): New prototype.
49056 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
49057 to implement __libc_accept4.
49058 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49060 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49062 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49063 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49064 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49065 signal-defines.sym.
49067 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49069 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49071 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49073 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49074 assertion on O_CLOEXEC flag.
49075 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49076 * hurd/intern-fd.c: Likewise.
49077 * hurd/port2fd.c: Likewise.
49079 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49082 * bits/in.h (IPV6_PKTINFO): Define new macro.
49083 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49085 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49090 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49091 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49092 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49093 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49094 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49095 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49096 * math/libm-test.inc (logb_test) : Additional logb tests.
49098 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
49099 Andreas Jaeger <aj@suse.de>
49101 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49102 * configure: Regenerated.
49103 * config.h.in (LINK_OBSOLETE_RPC): New macro.
49104 * config.make.in (link-obsolete-rpc): New substituted variable.
49105 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49106 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49107 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49108 (shared-only-routines): Don't set it under [link-obsolete-rpc],
49109 so that libc.a contains the symbols.
49110 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49111 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49112 * sunrpc/auth_none.c: Likewise.
49113 * sunrpc/auth_unix.c: Likewise.
49114 * sunrpc/authdes_prot.c: Likewise.
49115 * sunrpc/authuxprot.c: Likewise.
49116 * sunrpc/clnt_gen.c: Likewise.
49117 * sunrpc/clnt_perr.c: Likewise.
49118 * sunrpc/clnt_raw.c: Likewise.
49119 * sunrpc/clnt_simp.c: Likewise.
49120 * sunrpc/clnt_tcp.c: Likewise.
49121 * sunrpc/clnt_udp.c: Likewise.
49122 * sunrpc/clnt_unix.c: Likewise.
49123 * sunrpc/des_crypt.c: Likewise.
49124 * sunrpc/des_soft.c: Likewise.
49125 * sunrpc/get_myaddr.c: Likewise.
49126 * sunrpc/key_call.c: Likewise.
49127 * sunrpc/key_prot.c: Likewise.
49128 * sunrpc/netname.c: Likewise.
49129 * sunrpc/pm_getmaps.c: Likewise.
49130 * sunrpc/pm_getport.c: Likewise.
49131 * sunrpc/pmap_clnt.c: Likewise.
49132 * sunrpc/pmap_prot.c: Likewise.
49133 * sunrpc/pmap_prot2.c: Likewise.
49134 * sunrpc/pmap_rmt.c: Likewise.
49135 * sunrpc/publickey.c: Likewise.
49136 * sunrpc/rpc_cmsg.c: Likewise.
49137 * sunrpc/rpc_common.c: Likewise.
49138 * sunrpc/rpc_dtable.c: Likewise.
49139 * sunrpc/rpc_prot.c: Likewise.
49140 * sunrpc/rpc_thread.c: Likewise.
49141 * sunrpc/rtime.c: Likewise.
49142 * sunrpc/svc.c: Likewise.
49143 * sunrpc/svc_auth.c: Likewise.
49144 * sunrpc/svc_raw.c: Likewise.
49145 * sunrpc/svc_run.c: Likewise.
49146 * sunrpc/svc_tcp.c: Likewise.
49147 * sunrpc/svc_udp.c: Likewise.
49148 * sunrpc/svc_unix.c: Likewise.
49149 * sunrpc/svcauth_des.c: Likewise.
49150 * sunrpc/xcrypt.c: Likewise.
49151 * sunrpc/xdr.c: Likewise.
49152 * sunrpc/xdr_array.c: Likewise.
49153 * sunrpc/xdr_float.c: Likewise.
49154 * sunrpc/xdr_intXX_t.c: Likewise.
49155 * sunrpc/xdr_mem.c: Likewise.
49156 * sunrpc/xdr_rec.c: Likewise.
49157 * sunrpc/xdr_ref.c: Likewise.
49158 * sunrpc/xdr_sizeof.c: Likewise.
49159 * sunrpc/xdr_stdio.c: Likewise.
49161 2012-05-10 Roland McGrath <roland@hack.frob.com>
49163 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49164 change. Update copyright years.
49166 2012-05-10 Joseph Myers <joseph@codesourcery.com>
49168 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49170 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
49171 Joseph Myers <joseph@codesourcery.com>
49172 Paul Pluzhnikov <ppluzhnikov@google.com>
49175 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49177 [cross-compiling] (extra-libs): Likewise.
49178 [cross-compiling] (extra-libs-others): Likewise.
49179 [cross-compiling] (librpcsvc-routines): Likewise.
49180 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49181 [cross-compiling] (omit-deps): Likewise.
49182 (sunrpc-CPPFLAGS): New variable.
49183 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49184 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49185 (cross-rpcgen-objs): New variable.
49186 (extra-objs): Append $(cross-rpcgen-objs).
49187 ($(cross-rpcgen-objs)): New rule.
49188 ($(objpfx)cross-rpcgen): Likewise.
49189 (rpcgen-cmd): Define to use $(built-program-file). Expand
49191 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49192 ($(objpfx)x%.stmp): Likewise.
49193 * sunrpc/proto.h [IS_IN_build] (_): Define.
49194 [IS_IN_build] (_libc_intl_domainname): Likewise.
49196 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49198 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49199 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49200 and R_X86_64_TPOFF64.
49202 2012-05-10 Joseph Myers <joseph@codesourcery.com>
49204 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49205 sysdeps/unix/sysv/syscalls.list.
49208 * sysdeps/unix/sysv/syscalls.list: Remove file.
49210 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
49213 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49214 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49215 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49216 (__LC_IDENTIFICATION): Make these macros useful in #if
49217 expressions, as required by C99.
49219 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
49221 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49222 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
49225 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
49227 * stdlib/longlong.h: Updated from GCC.
49229 2012-05-09 Andreas Jaeger <aj@suse.de>
49231 * nscd/nscd.c (run_modes): Make named enum, reorder so that
49232 default is first entry.
49233 (run_mode): Set type.
49234 (main): Remove informal message about syslog.
49235 (options): Fix typo.
49238 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49241 (llrintf): Likewise.
49242 (llrint): Likewise.
49245 (nearbyint): Likewise.
49246 (nearbyintf): Likewise.
49248 2012-05-09 Andreas Jaeger <aj@suse.de>
49249 Pedro Alves <palves@redhat.com>
49251 * nscd/nscd.c (run_mode): Use enum.
49252 (main): Cleanup coding style issue.
49254 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
49255 Andreas Jaeger <aj@suse.de>
49257 * nscd/nscd.c (go_background): Replaced with...
49258 (run_mode): ... this.
49259 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49260 (options): Add -F --foreground.
49261 (main): Implement it.
49262 (parse_opt): Parse it.
49264 2012-05-09 Andreas Jaeger <aj@suse.de>
49267 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49268 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49269 -Wconversion warning.
49270 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49273 2012-05-09 Joseph Myers <joseph@codesourcery.com>
49275 * conform/data/locale.h-data (NULL): Use macro-constant. Require
49277 (LC_ALL): Use macro-int-constant.
49278 (LC_COLLATE): Likewise.
49279 (LC_CTYPE): Likewise.
49280 (LC_MESSAGES): Likewise.
49281 (LC_MONETARY): Likewise.
49282 (LC_NUMERIC): Likewise.
49283 (LC_TIME): Likewise.
49284 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49285 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49286 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49287 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49289 [C99-based standards] (float_t): Expect type.
49290 [C99-based standards] (double_t): Expect type.
49291 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
49293 [C99-based standards] (HUGE_VALL): Likewise.
49294 [C99-based standards] (INFINITY): Likewise.
49295 [C99-based standards] (NAN): Likewise.
49296 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49297 [C99-based standards] (FP_NAN): Likewise.
49298 [C99-based standards] (FP_NORMAL): Likewise.
49299 [C99-based standards] (FP_SUBNORMAL): Likewise.
49300 [C99-based standards] (FP_ZERO): Likewise.
49301 [C99-based standards] (FP_FAST_FMA): Use
49302 optional-macro-int-constant. Specify type. Require == 1.
49303 [C99-based standards] (FP_FAST_FMAF): Likewise.
49304 [C99-based standards] (FP_FAST_FMAL): Likewise.
49305 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49306 [C99-based standards] (FP_ILOGBNAN): Likewise.
49307 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49309 [C99-based standards] (MATH_ERREXCEPT): Likewise.
49310 [C99-based standards] (math_errhandling): Specify type.
49311 [ISO99 || ISO11] (signgam): Do not allow.
49312 [non-C99-based standards] (copysignf): Do not allow.
49313 [non-C99-based standards] (exp2f): Likewise.
49314 [non-C99-based standards] (log2f): Likewise.
49315 [non-C99-based standards] (modff): Allow.
49316 [non-C99-based standards] (erff): Do not allow.
49317 [non-C99-based standards] (erfcf): Likewise.
49318 [non-C99-based standards] (gammaf): Likewise.
49319 [non-C99-based standards] (hypotf): Likewise.
49320 [non-C99-based standards] (j0f): Likewise.
49321 [non-C99-based standards] (j1f): Likewise.
49322 [non-C99-based standards] (jnf): Likewise.
49323 [non-C99-based standards] (lgammaf): Likewise.
49324 [non-C99-based standards] (tgammaf): Likewise.
49325 [non-C99-based standards] (y0f): Likewise.
49326 [non-C99-based standards] (y1f): Likewise.
49327 [non-C99-based standards] (ynf): Likewise.
49328 [non-C99-based standards] (isnanf): Likewise.
49329 [non-C99-based standards] (acoshf): Likewise.
49330 [non-C99-based standards] (asinhf): Likewise.
49331 [non-C99-based standards] (atanhf): Likewise.
49332 [non-C99-based standards] (cbrtf): Likewise.
49333 [non-C99-based standards] (expm1f): Likewise.
49334 [non-C99-based standards] (ilogbf): Likewise.
49335 [non-C99-based standards] (log1pf): Likewise.
49336 [non-C99-based standards] (logbf): Likewise.
49337 [non-C99-based standards] (nextafterf): Likewise.
49338 [non-C99-based standards] (remainderf): Likewise.
49339 [non-C99-based standards] (rintf): Likewise.
49340 [non-C99-based standards] (scalbf): Likewise.
49341 [non-C99-based standards] (copysignl): Likewise.
49342 [non-C99-based standards] (exp2l): Likewise.
49343 [non-C99-based standards] (log2l): Likewise.
49344 [non-C99-based standards] (modfl): Allow.
49345 [non-C99-based standards] (erfl): Do not allow.
49346 [non-C99-based standards] (erfcl): Likewise.
49347 [non-C99-based standards] (gammal): Likewise.
49348 [non-C99-based standards] (hypotl): Likewise.
49349 [non-C99-based standards] (j0l): Likewise.
49350 [non-C99-based standards] (j1l): Likewise.
49351 [non-C99-based standards] (jnl): Likewise.
49352 [non-C99-based standards] (lgammal): Likewise.
49353 [non-C99-based standards] (tgammal): Likewise.
49354 [non-C99-based standards] (y0l): Likewise.
49355 [non-C99-based standards] (y1l): Likewise.
49356 [non-C99-based standards] (ynl): Likewise.
49357 [non-C99-based standards] (isnanl): Likewise.
49358 [non-C99-based standards] (acoshl): Likewise.
49359 [non-C99-based standards] (asinhl): Likewise.
49360 [non-C99-based standards] (atanhl): Likewise.
49361 [non-C99-based standards] (cbrtl): Likewise.
49362 [non-C99-based standards] (expm1l): Likewise.
49363 [non-C99-based standards] (ilogbl): Likewise.
49364 [non-C99-based standards] (log1pl): Likewise.
49365 [non-C99-based standards] (logbl): Likewise.
49366 [non-C99-based standards] (nextafterl): Likewise.
49367 [non-C99-based standards] (remainderl): Likewise.
49368 [non-C99-based standards] (rintl): Likewise.
49369 [non-C99-based standards] (scalbl): Likewise.
49370 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49371 [non-C99-based standards] (FP_*): Do not allow.
49372 [C99-based standards] (FP_*): Change to
49373 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49374 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49376 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49377 (SIG_ERR): Likewise.
49378 [X/Open-based standards] (SIG_HOLD): Likewise.
49379 (SIG_IGN): Likewise.
49380 (SIGABRT): Use macro-int-constant. Specify type. Require
49382 (SIGFPE): Likewise.
49383 (SIGILL): Likewise.
49384 (SIGINT): Likewise.
49385 (SIGSEGV): Likewise.
49386 (SIGTER): Likewise.
49387 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49388 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49389 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49390 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49391 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49392 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49393 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49394 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49395 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49396 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49397 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49398 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49399 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49400 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49401 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49402 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49403 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49404 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49405 [X/Open-based standards] (SIGTRAP): Likewise.
49406 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49407 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49408 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49409 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49410 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49413 2012-05-08 Ian Wienand <ianw@vmware.com>
49416 * time/tzset.c (__tzset_parse_tz): Update default rules for
49417 daylight time changes in the Energy Policy Act of 2005.
49419 2012-05-09 Andreas Jaeger <aj@suse.de>
49422 * elf/ldconfig.c (parse_conf): Change string to make clear that
49423 ldconfig only issued a warning if ld.so.conf does not exist.
49425 2012-05-08 David S. Miller <davem@davemloft.net>
49427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49428 movxtod instead of popping the value on the stack.
49430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49432 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
49434 * config.h.in: Add HAVE_ARM_PCS_VFP.
49436 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
49439 * include/features.h: Warn if user requests __FORTIFY_SOURCE
49440 checking but the checks are disabled for any reason.
49442 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
49444 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49445 and ELF64_R_TYPE with ELFW(R_TYPE).
49447 2012-05-08 Joseph Myers <joseph@codesourcery.com>
49449 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49450 (ulimit): Likewise.
49452 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49453 (settimeofday): Likewise.
49455 2012-05-08 Mike Frysinger <vapier@gentoo.org>
49457 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
49458 a struct th_u2 inside the union, and move tu_block/tu_code into
49459 a new th_u3 union of tu_block/tu_code inside of that. Move
49460 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
49461 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
49462 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49463 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49464 (th_stuff): Change to th_u1.tu_stuff.
49466 (th_msg): Change to th_u1.th_u2.tu_data.
49468 2012-05-07 David S. Miller <davem@davemloft.net>
49470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49473 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49474 (SETUP_PIC_REG): Use it.
49475 (SETUP_PIC_REG_LEAF): Use it.
49477 2012-05-07 Joseph Myers <joseph@codesourcery.com>
49481 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49483 (EXPL_FINITE): Likewise.
49484 (FLDLOG): Likewise.
49485 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49486 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49488 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49490 (EXPL_FINITE): Likewise.
49491 (FLDLOG): Likewise.
49492 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49493 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49495 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
49496 test of -max_value argument for long double.
49497 * sysdeps/i386/fpu/libm-test-ulps: Update.
49498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49500 2012-05-06 David S. Miller <davem@davemloft.net>
49502 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49503 quad soft-float symbols whose references which are compiler
49505 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49507 2012-05-06 Joseph Myers <joseph@codesourcery.com>
49511 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49513 (EXPL_FINITE): Likewise.
49514 (FLDLOG): Likewise.
49517 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49518 Adjust comments for base varying.
49519 (__expl_finite): Change alias to EXPL_FINITE.
49520 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49522 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49523 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49524 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49525 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49526 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49528 (EXPL_FINITE): Likewise.
49529 (FLDLOG): Likewise.
49532 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49533 Adjust comments for base varying.
49534 (__expl_finite): Change alias to EXPL_FINITE.
49535 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
49537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49540 * math/libm-test.inc (check_float_internal): Correct ulp
49541 calculation for subnormal expected results.
49543 2012-05-06 Andreas Jaeger <aj@suse.de>
49545 * Makeconfig (+math-flags): New, set to -frounding-math.
49546 (+cflags): Add +math-flags so that all of glibc gets compiled with
49549 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49551 2012-05-05 Joseph Myers <joseph@codesourcery.com>
49553 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49559 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49560 (__ieee754_expl): Allow for and saturate large arguments.
49561 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49562 (u_threshold): Likewise.
49563 (__exp): Call __ieee754_exp before checking for overflow and
49565 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49566 (u_threshold): Likewise.
49567 (__expf): Call __ieee754_expf before checking for overflow and
49569 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49570 (u_threshold): Likewise.
49571 (__expl): Call __ieee754_expl before checking for overflow and
49573 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49574 (__ieee754_expl): Allow for and saturate large arguments.
49575 * math/libm-test.inc (exp_test): Add another test. Do not allow
49576 missing overflow exception on overflow.
49577 (expm1_test): Do not allow missing overflow exception on overflow.
49579 * sysdeps/i386/fpu/e_expl.c: Move to ...
49580 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
49581 rather than using inline asm.
49582 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49583 * sysdeps/x86_64/fpu/e_expl.S: Copy from
49584 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49586 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49589 (signal): Likewise.
49593 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49595 * sysdeps/unix/syscalls.list (adjtime): Add entry from
49596 sysdeps/unix/common/syscalls.list.
49597 (fchmod): Likewise.
49598 (fchown): Likewise.
49599 (ftruncate): Likewise.
49600 (getrusage): Likewise.
49601 (gettimeofday): Likewise.
49602 (setpgid): Likewise.
49603 (setregid): Likewise.
49604 (setreuid): Likewise.
49605 (sigaction): Likewise.
49606 (truncate): Likewise.
49607 (vhangup): Likewise.
49608 * sysdeps/unix/common/syscalls.list: Remove file.
49609 * sysdeps/unix/bsd/Implies: Don't include unix/common.
49610 * sysdeps/unix/sysv/linux/Implies: Likewise.
49612 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
49614 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49616 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49620 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49623 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49626 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49629 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49632 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49635 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49638 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49642 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49646 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49649 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49653 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49657 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49659 * sysdeps/unix/common/bits/dirent.h: Remove file.
49660 * sysdeps/unix/common/bits/fcntl.h: Likewise.
49662 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49663 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49664 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49665 * sysdeps/unix/bsd/isatty.c: Likewise.
49666 * sysdeps/unix/bsd/tcdrain.c: Likewise.
49667 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49668 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49670 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49673 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49674 long double comparison inaccuracies.
49675 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49678 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
49680 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49681 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49683 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49686 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49687 nonzero digits before rounding a hex value.
49688 * stdlib/tst-strtod.c (tests): Add another test.
49690 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49692 * sysdeps/s390/fpu/libm-test-ulps: Update.
49694 2012-05-03 Andreas Jaeger <aj@suse.de>
49696 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49697 does not get optimized out.
49698 (malloc_opt_barrier): New.
49700 2012-05-03 Andreas Jaeger <aj@suse.de>
49701 Roland McGrath <roland@hack.frob.com>
49703 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49704 intermediate file deletion.
49705 (generated): Add .symlist files.
49707 2012-05-03 Joseph Myers <joseph@codesourcery.com>
49710 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49711 Redirect under this condition.
49712 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49713 [__USE_GNU] (__dprintf_chk): Not under this condition.
49714 [__USE_GNU] (__vdprintf_chk): Likewise.
49715 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49716 under this condition.
49717 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49718 [__USE_XOPEN2K8] (dprintf): Define under this condition.
49719 [__USE_XOPEN2K8] (vdprintf): Likewise.
49720 [__USE_GNU] (__dprintf_chk): Not under this condition.
49721 [__USE_GNU] (__vdprintf_chk): Likewise.
49722 [__USE_GNU] (dprintf): Likewise.
49723 [__USE_GNU] (vdprintf): Likewise.
49725 2012-05-03 Roland McGrath <roland@hack.frob.com>
49727 * elf/Makefile (common-generated): Set this instead of generated for
49728 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
49729 $(all-built-dso)-derived lists.
49731 2012-05-03 Andreas Jaeger <aj@suse.de>
49733 * sysdeps/i386/fpu/libm-test-ulps: Update.
49736 * FAQ.in: Likewise.
49737 * scripts/gen-FAQ.pl: Likewise.
49738 * manual/install.texi (Installation): Point to online location of
49740 * Makefile (files-for-dist): Remove FAQ.
49743 2012-05-02 Allan McRae <allan@archlinux.org>
49745 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49746 (LDFLAGS-reldepmod5.so): Likewise.
49747 (LDFLAGS-reldep6mod1.so): Likewise.
49748 (LDFLAGS-reldep6mod4.so): Likewise.
49749 (LDFLAGS-reldep8mod3.so): Likewise.
49750 (LDFLAGS-unload4mod1.so): Likewise.
49751 (LDFLAGS-unload4mod2.so): Likewise.
49752 (LDFLAGS-tst-initorder): Likewise.
49753 (LDFLAGS-tst-initordera2.so): Likewise.
49754 (LDFLAGS-tst-initordera3.so): Likewise.
49755 (LDFLAGS-tst-initordera4.so): Likewise.
49756 (LDFLAGS-tst-initorderb2.so): Likewise.
49757 (LDFLAGS-noload): Likewise.
49758 (LDFLAGS-next): Likewise.
49759 (LDFLAGS-order2mod1.so): Likewise.
49760 (LDFLAGS-order2mod2.so): Likewise.
49761 (LDFLAGS-tst-initorder2): Likewise.
49762 (LDFLAGS-tst-initorder2a.so): Likewise.
49763 (LDFLAGS-tst-initorder2b.so): Likewise.
49764 (LDFLAGS-tst-initorder2c.so): Likewise.
49765 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49767 2012-05-02 David S. Miller <davem@davemloft.net>
49769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49771 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
49774 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49776 2012-05-02 Andreas Jaeger <aj@suse.de>
49778 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49779 since we manipulate rounding mode.
49780 (CPPFLAGS-test-idouble.c): Likewise.
49781 (CPPFLAGS-test-ifloat.c): Likewise.
49782 (CFLAGS-test-ldouble.c): Likewise.
49783 (CFLAGS-test-double.c): Likewise.
49784 (CFLAGS-test-float.c): Likewise.
49785 (CFLAGS-test-misc.c): Likewise.
49786 (CFLAGS-test-test-fenv.c): Likewise.
49788 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49792 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49793 comparisons to determine direction to adjust input.
49795 2012-05-01 Roland McGrath <roland@hack.frob.com>
49797 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49798 output to the target.
49800 * scripts/localplt.awk: New file.
49801 * elf/Makefile ($(objpfx)check-localplt): Target removed.
49802 (check-localplt-CFLAGS): Variable removed.
49803 ($(all-built-dso:=.jmprel)): New static pattern rule.
49804 (generated): Add those targets.
49805 (localplt-built-dso): New variable.
49806 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49808 * elf/check-localplt.c: File removed.
49810 * scripts/check-execstack.awk: New file.
49811 * elf/Makefile ($(objpfx)check-execstack): Target removed.
49812 (check-execstack-CFLAGS): Variable removed.
49813 ($(objpfx)check-execstack.h): Target removed.
49814 ($(objpfx)execstack-default): New target.
49815 (generated): Add that instead of check-execstack.h.
49816 ($(all-built-dso:=.phdr)): New static pattern rule.
49817 (generated): Add those targets.
49818 * elf/check-execstack.c: File removed.
49820 * scripts/check-textrel.awk: New file.
49821 * elf/Makefile ($(objpfx)check-textrel): Target removed.
49822 (check-textrel-CFLAGS): Variable removed.
49823 (all-built-dso): Use := to define.o
49824 ($(all-built-dso:=.dyn)): New static pattern rule.
49825 (generated): Add those targets.
49826 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49827 * config.make.in (READELF): New substituted variable.
49828 * elf/check-textrel.c: File removed.
49830 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49832 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49834 * conform/data/ctype.h-data [C99-based standards] (isblank):
49836 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49837 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49838 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49839 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49840 Specify type. Require positive value.
49841 (EILSEQ): Likewise.
49842 (ERANGE): Likewise.
49843 [ISO || POSIX] (EILSEQ): Do not expect.
49844 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49845 Specify type. Require positive value.
49846 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49847 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49848 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49849 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49850 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49851 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49852 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49853 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49854 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49855 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49856 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49857 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49858 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49859 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49860 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49861 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49862 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49863 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49864 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49865 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49866 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49867 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49868 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49869 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49870 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49871 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49872 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49873 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49874 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49875 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49876 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49877 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49878 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49879 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49880 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49881 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49882 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49883 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49884 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49885 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49886 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49887 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49888 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49889 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49890 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49891 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49892 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49893 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49894 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49895 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49896 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49897 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49898 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49899 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49900 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49901 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49902 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49903 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49904 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49905 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49906 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49907 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49908 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49909 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49910 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49911 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49912 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49913 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49914 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49915 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49916 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49917 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49918 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49919 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49920 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49921 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49922 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49924 (FLT_ROUNDS): Expect as macro, not constant.
49925 (FLT_MANT_DIG): Use macro-int-constant.
49926 (DBL_MANT_DIG): Likewise.
49927 (LDBL_MANT_DIG): Likewise.
49928 (FLT_DIG): Likewise.
49929 (DBL_DIG): Likewise.
49930 (LDBL_DIG): Likewise.
49931 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
49932 (DBL_MIN_EXP): Likewise.
49933 (LDBL_MIN_EXP): Likewise.
49934 (FLT_MAX_EXP): Use macro-int-constant.
49935 (DBL_MAX_EXP): Likewise.
49936 (LDBL_MAX_EXP): Likewise.
49937 (FLT_MAX_10_EXP): Likewise.
49938 (DBL_MAX_10_EXP): Likewise.
49939 (LDBL_MAX_10_EXP): Likewise.
49940 (FLT_MAX): Use macro-constant.
49941 (DBL_MAX): Likewise.
49942 (LDBL_MAX): Likewise.
49943 (FLT_EPSILON): Use macro-constant. Give upper bound.
49944 (DBL_EPSILON): Likewise.
49945 (LDBL_EPSILON): Likewise.
49946 (FLT_MIN): Likewise.
49947 (DBL_MIN): Likewise.
49948 (LDBL_MIN): Likewise.
49949 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49950 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49951 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49952 [ISO11] (FLT_HAS_SUBNORM): Likewise.
49953 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49954 [ISO11] (DBL_DECIMAL_DIG): Likewise.
49955 [ISO11] (FLT_DECIMAL_DIG): Likewise.
49956 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49957 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49958 [ISO11] (FLT_TRUE_MIN): Likewise.
49959 [ISO11] (LDBL_TRUE_MIN): Likewise.
49960 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49961 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49962 (SCHAR_MIN): Use macro-int-constant. Specify type.
49963 (SCHAR_MAX): Likewise.
49964 (UCHAR_MAX): Likewise.
49965 (CHAR_MIN): Likewise.
49966 (CHAR_MAX): Likewise.
49967 (MB_LEN_MAX): Use macro-int-constant.
49968 (SHRT_MIN): Use macro-int-constant. Specify type.
49969 (SHRT_MAX): Likewise.
49970 (USHRT_MAX): Likewise.
49971 (INT_MAX): Likewise.
49972 (INT_MIN): Use macro-int-constant. Specify type. Make upper
49974 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
49976 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49978 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
49979 bound negative. Suffix upper bound with "L".
49980 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49982 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49984 [C99-based standards] (LLONG_MAX): Likewise.
49985 [C99-based standards] (ULLONG_MAX): Likewise.
49986 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
49988 [ISO11] (max_align_t): Require type.
49989 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49991 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49992 from $CFLAGS, without defining away __attribute__ calls.
49993 (checknamespace): Use $CFLAGS_namespace.
49995 * conform/conformtest.pl (@keywords): Only include C99 keywords
49996 for standards based on C99 or C11.
49998 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
50000 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
50003 * conform/conformtest.pl: Handle "macro-int-constant" and test for
50004 usability of symbols in #if.
50006 * conform/conformtest.pl: If macro or constant types start
50007 "promoted:", expect the symbol to be of the following type
50008 promoted by the integer promotions.
50010 * conform/conformtest.pl: Parse all "constant" and "macro" lines
50011 in one place. Also handle "macro-constant".
50013 * conform/conformtest.pl: Only accept expected macro values with
50014 "==". Parse all "macro" lines in one place.
50015 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50017 * conform/conformtest.pl: Handle braced types on "constant" lines
50018 instead of handling "typed-constant".
50019 * conform/data/signal.h-data: Use "constant" instead of
50022 * conform/conformtest.pl: Handle "optional-" at start of lines in
50023 one place rather than duplicating several cases. Handle each
50024 format of "macro" line with initial "optional-".
50026 * conform/conformtest.pl: Only accept expected constant or
50027 optional-constant values with "==". Parse all "constant" lines in
50028 one place. Parse all "optional-constant" lines in one place.
50029 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50030 * conform/data/fmtmsg.h-data: Likewise.
50031 * conform/data/netinet/in.h-data: Likewise.
50032 * conform/data/tar.h-data: Likewise.
50033 * conform/data/limits.h-data: Use "==" form on "constant" and
50034 "optional-constant" lines.
50036 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50037 Use -std=c99 for XOPEN2K.
50038 (@knownproblems): Remove.
50039 (newtoken): Don't check %isknown.
50041 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50042 Do not expect macro.
50043 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50044 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50045 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50046 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50047 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50048 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50049 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50050 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50051 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50052 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50053 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50054 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50055 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50056 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50057 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50058 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50059 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50060 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50061 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50062 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50063 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50064 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50065 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50066 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50067 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50068 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50069 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50070 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50071 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50072 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50073 [XPG3] (acosh): Likewise.
50074 [XPG3] (asinh): Likewise.
50075 [XPG3] (atanh): Likewise.
50076 [XPG3] (cbrt): Likewise.
50077 [XPG3] (expm1): Likewise.
50078 [XPG3] (ilogb): Likewise.
50079 [XPG3] (log1p): Likewise.
50080 [XPG3] (logb): Likewise.
50081 [XPG3] (nextafter): Likewise.
50082 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50083 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50084 [XPG3] (remainder): Likewise.
50085 [XPG3] (rint): Likewise.
50086 [XPG3 || XPG4 || UNIX98] (round): Likewise.
50087 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50088 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50089 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50090 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50091 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50092 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50093 [UNIX98 || XOPEN2K] (scalb): Expect.
50094 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50095 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50096 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50097 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50098 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50099 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50100 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50101 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50102 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50103 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50104 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50105 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50106 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50107 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50108 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50109 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50110 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50111 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50112 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50113 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50114 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50115 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50116 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50117 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50118 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50119 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50120 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50121 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50122 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50123 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50124 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50125 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50126 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50127 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50128 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50129 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50130 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50131 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50132 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50133 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50134 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50135 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50136 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50137 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50138 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50139 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50140 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50141 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50142 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50143 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50144 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50145 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50146 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50147 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50148 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50149 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50150 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50151 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50152 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50153 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50154 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50155 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50156 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50157 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50158 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50159 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50160 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50161 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50162 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50163 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50164 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50165 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50166 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50167 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50168 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50169 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50170 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50171 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50172 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50173 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50174 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50175 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50176 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50177 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50178 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50179 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50180 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50181 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50182 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50183 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50184 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50185 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50186 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50187 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50188 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50189 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50190 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50191 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50192 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50193 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50194 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50195 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50196 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50197 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50198 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50199 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50200 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50201 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50202 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50203 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50204 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50205 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50206 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50207 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50208 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50209 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50210 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50211 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50212 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50213 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50214 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50215 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50216 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50217 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50218 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50219 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50220 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50221 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50222 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50223 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50224 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50225 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50226 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50227 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50228 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50229 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50230 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50232 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50233 _XOPEN_SOURCE_EXTENDED for XPG4.
50235 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50237 * Makeconfig (localtime): Remove variable.
50238 (inst_localtime-file): Likewise.
50240 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
50242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50261 2012-05-01 Joseph Myers <joseph@codesourcery.com>
50265 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50266 comparisons to determine direction to adjust input.
50267 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50268 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50269 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50271 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50273 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50275 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50276 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50278 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50280 * math/libm-test.inc (nexttoward_test): Add more tests.
50282 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
50285 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50286 in version GLIBC_2.1, not GLIBC_2.0.
50287 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50290 2012-04-30 Joseph Myers <joseph@codesourcery.com>
50293 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50295 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50296 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50297 * math/libm-test.inc (acos_test): Add more tests.
50298 (asin_test): Likewise.
50299 * sysdeps/i386/fpu/libm-test-ulps: Update.
50300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50303 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50305 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50306 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50307 * math/libm-test.inc (acos_test_tonearest): New function.
50308 (acos_test_towardzero): Likewise.
50309 (acos_test_downward): Likewise.
50310 (acos_test_upward): Likewise.
50311 (asin_test_tonearest): Likewise.
50312 (asin_test_towardzero): Likewise.
50313 (asin_test_downward): Likewise.
50314 (asin_test_upward): Likewise.
50315 (main): Call the new functions.
50316 * sysdeps/i386/fpu/libm-test-ulps: Update.
50317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50321 * math/e_exp10.c: Include <float.h>.
50322 (__ieee754_exp10): Handle underflow here rather than multiplying
50323 large negative argument by M_LN10.
50324 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50326 * math/e_exp10l.c: Include <float.h>.
50327 (__ieee754_exp10l): Handle underflow here rather than multiplying
50328 large negative argument by M_LN10l.
50329 * math/libm-test.inc (exp10_test): Add another test. Do not allow
50330 spurious overflow exception on underflow.
50332 2012-04-29 Marek Polacek <polacek@redhat.com>
50334 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50335 (__fortify_function): New macro.
50336 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50337 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50338 __extern_always_inline.
50339 * libio/bits/stdio2.h: Likewise.
50340 * libio/bits/stdio.h: Likewise.
50341 * string/string.h: Likewise.
50342 * string/bits/string3.h: Likewise.
50343 * include/stdio.h: Likewise.
50344 * stdlib/bits/stdlib.h: Likewise.
50345 * stdlib/stdlib.h: Likewise.
50346 * rt/bits/mqueue2.h: Likewise.
50347 * rt/mqueue.h: Likewise.
50348 * posix/bits/unistd.h: Likewise.
50349 * posix/unistd.h: Likewise.
50350 * io/bits/poll2.h: Likewise.
50351 * io/bits/fcntl2.h: Likewise.
50352 * io/fcntl.h: Likewise.
50353 * io/sys/poll.h: Likewise.
50354 * misc/bits/syslog.h: Likewise.
50355 * misc/bits/syslog-ldbl.h: Likewise.
50356 * misc/sys/syslog.h: Likewise.
50357 * socket/bits/socket2.h: Likewise.
50358 * socket/sys/socket.h: Likewise.
50359 * debug/tst-chk1.c: Likewise.
50360 * wcsmbs/bits/wchar2.h: Likewise.
50361 * wcsmbs/bits/wchar-ldbl.h: Likewise.
50362 * wcsmbs/wchar.h: Likewise.
50364 2012-04-29 Andreas Jaeger <aj@suse.de>
50366 * Makerules (tests): Remove enable-check-abi protection.
50367 (check-abi-warn): Remove.
50368 (check-abi-%): Remove check-abi-warn usage.
50370 * configure.in: Remove check-abi configure option.
50371 * configure: Regenerated.
50372 * config.make.in (enable-check-abi): Remove.
50374 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
50377 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50378 double functions to double *_finite functions.
50381 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50382 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50384 * stdio-common/Makefile (tests): Add tst-sprintf3.
50385 * stdio-common/tst-sprintf3.c: New file.
50387 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50388 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50390 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50392 * conform/conformtest.pl: Remove duplicate typed-constant
50395 2012-04-28 David S. Miller <davem@davemloft.net>
50397 * Makerules (%.abilist): Add vpath on sysdep_dirs.
50398 (check-abi-%): Remove AWK script prerequisite and explicit
50400 (check-abi): Rewrite to just diff the symlist with the abilist.
50401 (config-tls, config-abi-config): Delete, no longer used.
50402 (update-abi-%): Remove AWK script and explicit abilist directory.
50403 (update-abi): Rewrite to simply compare and conditionally copy the
50404 symlist and the sysdep abilist file. Remove update-abi-config
50406 * abilist/ld.abilist: Remove.
50407 * abilist/libBrokenLocale.abilist: Remove.
50408 * abilist/libanl.abilist: Remove.
50409 * abilist/libcrypt.abilist: Remove.
50410 * abilist/libdl.abilist: Remove.
50411 * abilist/librt.abilist: Remove.
50412 * abilist/libthread_db.abilist: Remove.
50413 * abilist/libutil.abilist: Remove.
50414 * scripts/extract-abilist.awk: Remove.
50415 * scripts/merge-abilist.awk: Remove.
50416 * sysdeps/generic/libcidn.abilist: New file.
50417 * sysdeps/generic/libnss_compat.abilist: New file.
50418 * sysdeps/generic/libnss_db.abilist: New file.
50419 * sysdeps/generic/libnss_dns.abilist: New file.
50420 * sysdeps/generic/libnss_files.abilist: New file.
50421 * sysdeps/generic/libnss_hesiod.abilist: New file.
50422 * sysdeps/generic/libnss_nis.abilist: New file.
50423 * sysdeps/generic/libnss_nisplus.abilist: New file.
50424 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50425 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50426 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50428 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50429 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50430 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50431 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50432 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50433 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50434 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50435 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50436 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50438 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50439 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50440 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50441 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50443 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50444 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50445 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50446 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50447 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50448 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50450 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50451 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50452 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50454 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50557 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50558 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50559 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50561 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50562 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50563 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50564 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50565 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50566 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50567 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50568 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50569 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50570 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50622 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50624 * conform/conformtest.pl: Fix typo in handling typed-constant from
50627 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50629 * README: Cut down references to pre-2.6 Linux kernels and
50630 Linuxthreads. Update lists of configurations in libc and ports
50631 and sort alphabetically. Say "or newer" with Linux kernel version
50634 * config.h.in [IS_IN_build]: Allow compiling without optimization.
50636 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50639 * math/libm-test.inc (logb_test_downward): New test to expose
50640 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50643 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50646 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50648 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50649 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50651 2012-04-26 Joseph Myers <joseph@codesourcery.com>
50653 * sysdeps/unix/i386/brk.S: Remove file.
50654 * sysdeps/unix/i386/dl-brk.S: Likewise.
50655 * sysdeps/unix/i386/pipe.S: Likewise.
50656 * sysdeps/unix/i386/sigreturn.S: Likewise.
50657 * sysdeps/unix/i386/syscall.S: Likewise.
50658 * sysdeps/unix/i386/vfork.S: Likewise.
50659 * sysdeps/unix/i386/wait.S: Likewise.
50661 * sysdeps/unix/common/tcsendbrk.c: Move to ...
50662 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50664 * configure.in (arm*-none*): Do not allow without
50665 --enable-hacker-mode.
50666 (netbsd*): Remove case setting base_os.
50667 (386bsd*): Likewise.
50668 (freebsd*): Likewise.
50671 (sunos*): Likewise.
50672 (ultrix*): Likewise.
50673 (newsos*): Likewise.
50674 (dynix*): Likewise.
50680 (minix*): Likewise.
50681 (irix4*): Likewise.
50682 (irix6*): Likewise.
50683 (solaris[2-9]*): Likewise.
50685 * configure: Regenerated.
50687 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50690 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50691 overflow or cancellation in calculating denominator.
50692 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50693 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50694 down expression to avoid unexpected rounding in newer GCCs.
50695 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50697 2012-04-26 David S. Miller <davem@davemloft.net>
50699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50700 long-double compat symbols.
50701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50715 2012-04-25 David S. Miller <davem@davemloft.net>
50717 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50718 HWCAP_* values only after the memory barriers have been defined.
50719 (atomic_full_barrier): Define.
50720 (atomic_read_barrier): Define.
50721 (atomic_write_barrier): Define.
50723 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50725 * shlib-versions: Add libgcc_s version information.
50726 * sysdeps/generic/libgcc_s.h: Remove.
50727 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50729 * sysdeps/gnu/unwind-resume.c: Likewise.
50730 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50732 2012-04-25 David S. Miller <davem@davemloft.net>
50734 * sysdeps/unix/sparc/brk.S: Delete.
50735 * sysdeps/unix/sparc/dl-brk.S: Delete.
50736 * sysdeps/unix/sparc/pipe.S: Delete.
50737 * sysdeps/unix/sparc/sysdep.S: Delete.
50738 * sysdeps/unix/sparc/sysdep.h: Delete.
50739 * sysdeps/unix/sparc/vfork.S: Delete.
50740 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50741 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50742 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50743 (ret_ERRVAL, r0, r1, MOVE): Define.
50744 (JUMPTARGET): Remove.
50745 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50746 sysdeps/unix/sparc/sysdep.h
50747 (ENTRY, END): Remove.
50748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50750 2012-04-25 Joseph Myers <joseph@codesourcery.com>
50752 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50753 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50756 * timezone/README: Update upstream location and email address for
50758 * timezone/zdump.c: Update from tzcode 2012b.
50759 * timezone/zic.c: Likewise.
50761 * configure.in (libc_cv_as_needed): Remove test.
50762 * configure: Regenerated.
50763 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50764 conditional definition.
50765 [$(have-as-needed) != yes] (no-as-needed): Likewise.
50766 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50767 * config.make.in (have-as-needed): Remove variable.
50769 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50770 Paul Pluzhnikov <ppluzhnikov@google.com>
50772 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50775 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
50777 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50778 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50779 * sysdeps/sh/strlen.S: Likewise.
50781 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50783 * sysdeps/unix/fork.S: Remove file.
50784 * sysdeps/unix/i386/fork.S: Likewise.
50785 * sysdeps/unix/sparc/fork.S: Likewise.
50787 * sysdeps/unix/system.c: Remove file.
50788 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50790 * sysdeps/unix/getegid.S: Remove file.
50791 * sysdeps/unix/geteuid.S: Likewise.
50793 2012-04-24 Roland McGrath <roland@hack.frob.com>
50795 * scripts/check-localplt.awk: New file.
50796 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50798 * scripts/data/localplt-generic.data: Add a comment.
50800 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50801 NODE when __dir_mkfile failed.
50802 * sysdeps/mach/hurd/symlinkat.c: Likewise.
50803 Reported by Ludovic Courtès <ludo@gnu.org>.
50805 2012-04-24 Andreas Jaeger <aj@suse.de>
50807 * Makerules (common-clean): Also remove gen-as-const-headers
50810 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50812 * Makerules (native-compile): Do not change working directory for
50813 build. Use $(OUTPUT_OPTION) in command.
50814 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50816 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50819 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50820 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50821 * math/libm-test.inc (floor_test): Add more tests.
50822 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50824 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50826 * sysdeps/unix/getdents.c: Remove file.
50827 * sysdeps/unix/sysv/getdents.c: Likewise.
50828 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50830 * sysdeps/unix/syscalls.list (madvise): Add syscall from
50831 sysdeps/unix/mman/syscalls.list.
50833 (mprotect): Likewise.
50835 (munmap): Likewise.
50836 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50837 * sysdeps/unix/mman/syscalls.list: Remove.
50838 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50840 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50841 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50842 * configure: Regenerated.
50843 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50844 $(libgcc_s_suffix).
50845 * config.make.in (libgcc_s_suffix): Remove variable.
50847 2012-04-23 Joseph Myers <joseph@codesourcery.com>
50849 * sysdeps/unix/sysv/gethostname.c: Move to ...
50850 * sysdeps/posix/gethostname.c: ... here.
50852 * sysdeps/unix/execve.S: Remove file.
50854 * sysdeps/unix/_exit.S: Remove file.
50856 2012-04-23 Andreas Jaeger <aj@suse.de>
50859 * manual/Makefile: Remove make dist support, there's no
50860 need for a stand-alone documentation tar ball.
50861 (TEXI2DVI): Define always, it's not in Makeconfig.
50864 (edition): Removed.
50865 (glibc-doc-$(edition).tar): Removed
50869 (ETAGS): Remove, it's in Makeconfig.
50870 (move-if-change): Remove, it's in Makeconfig.
50872 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
50875 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50876 (strtod, strtof, strtold, strtol, strtoul, strtoq)
50877 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50878 (strtod_l, strtof_l, strtold_l): Remove __wur.
50879 It is not necessarily an error to ignore strtol's return value.
50880 One can reliably look at the stored endptr to decide whether
50881 the number had valid syntax.
50883 2012-04-21 Andreas Jaeger <aj@suse.de>
50886 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50888 2012-04-21 Joseph Myers <joseph@codesourcery.com>
50890 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50891 * sysdeps/unix/sysv/Versions: Remove file.
50893 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
50896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50898 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
50901 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50902 version from __vm86.
50904 2012-04-20 Joseph Myers <joseph@codesourcery.com>
50906 * sysdeps/unix/common/lxstat.c: Remove file.
50907 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50909 * sysdeps/unix/sysv/Makefile: Remove file.
50911 * sysdeps/unix/sysv/direct.h: Remove file.
50913 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50914 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50915 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50916 * sysdeps/unix/sysv/bits/signum.h: Likewise.
50917 * sysdeps/unix/sysv/bits/stat.h: Likewise.
50918 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50919 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50921 * sysdeps/unix/sysv/setrlimit.c: Remove file.
50923 * sysdeps/unix/xmknod.c: Remove file.
50924 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50926 * sysdeps/unix/sysv/settimeofday.c: Remove file.
50928 * sysdeps/unix/sysv/i386/time.S: Remove file.
50930 * sysdeps/unix/fxstat.c: Remove file.
50931 * sysdeps/unix/xstat.c: Likewise.
50932 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50934 * sysdeps/unix/sysv/sigaction.c: Remove file.
50936 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50937 (sysdep_headers): Remove variable.
50938 [termio.h not in sysdep_headers] (generated): Likewise.
50939 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50940 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50941 * sysdeps/unix/sysv/tcdrain.c: Likewise.
50942 * sysdeps/unix/sysv/tcflow.c: Likewise.
50943 * sysdeps/unix/sysv/tcflush.c: Likewise.
50944 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50945 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50946 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50947 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50948 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50950 * sysdeps/unix/siglist.c: Remove file.
50952 * sysdeps/unix/getppid.S: Remove file.
50954 * sysdeps/unix/mkdir.c: Remove file.
50955 * sysdeps/unix/rmdir.c: Likewise.
50957 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
50959 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50961 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50962 errlist-compat value.
50964 2012-04-18 David S. Miller <davem@davemloft.net>
50966 * sysdeps/generic/memcopy.h (reg_char): Delete.
50967 * debug/strcat_chk.c: Use char, not reg_char.
50968 * debug/strcpy_chk.c: Likewise.
50969 * debug/strncat_chk.c: Likewise.
50970 * debug/strncpy_chk.c: Likewise.
50971 * string/memchr.c: Likewise.
50972 * string/memrchr.c: Likewise.
50973 * string/rawmemchr.c: Likewise.
50974 * string/strcat.c: Likewise.
50975 * string/strchr.c: Likewise.
50976 * string/strchrnul.c: Likewise.
50977 * string/strcmp.c: Likewise.
50978 * string/strcpy.c: Likewise.
50979 * string/strncat.c: Likewise.
50980 * string/strncmp.c: Likewise.
50981 * string/strncpy.c: Likewise.
50983 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50985 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50986 __builtin_memcopy is called when src and dest ranges are known to not
50989 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50991 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50992 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50993 fwd_align_merge macro call.
50994 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50995 bwd_align_merge macro call.
50996 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50998 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
51000 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
51001 bwd_align_merge macros.
51002 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
51003 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51004 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51006 2012-04-18 David S. Miller <davem@davemloft.net>
51008 * sysdeps/sparc/sparc64/memcopy.h: Delete.
51010 2012-04-18 Andreas Jaeger <aj@suse.de>
51013 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51014 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51015 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51017 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51018 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51019 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51021 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51022 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51023 Adjust for changed ldbl-128 files.
51025 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51026 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51027 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51029 2012-04-17 David S. Miller <davem@davemloft.net>
51031 * sysdeps/sparc/sparc32/memcopy.h: Delete.
51033 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
51035 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51036 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51037 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51038 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51039 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51040 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51042 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51045 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51046 * math/libm-test.inc: Add ilogb errno and exception tests.
51047 * math/w_ilogb.c: New file: ilogb wrapper.
51048 * math/w_ilogbf.c: New file: ilogbf wrapper.
51049 * math/w_ilogbl.c: New file: ilogbl wrapper.
51050 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51051 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51052 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51053 exception being thrown with 0.0 as argument.
51054 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51055 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51056 exception being thrown with 0.0 as argument.
51057 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51058 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51059 exception being thrown with 0.0 as argument.
51060 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51061 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51062 exception being thrown with 0.0 as argument.
51063 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51064 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51065 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51066 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51067 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51068 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51069 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51070 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51071 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51073 2012-04-17 Petr Baudis <pasky@ucw.cz>
51075 * include/sys/uio.h: Change __vector to __iovec to avoid clash
51078 2012-04-16 Marek Polacek <polacek@redhat.com>
51080 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51082 2012-04-16 Marek Polacek <polacek@redhat.com>
51084 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51085 operands of fdivp instruction.
51087 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
51089 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51090 * elf/tst-auditmod3b.c: Likewise.
51091 * elf/tst-auditmod4b.c: Likewise.
51092 * elf/tst-auditmod5b.c: Likewise.
51093 * elf/tst-auditmod6b.c: Likewise.
51094 * elf/tst-auditmod6c.c: Likewise.
51095 * elf/tst-auditmod7b.c: Likewise.
51096 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51097 * sysdeps/x86_64/preconfigure.in: Likewise.
51098 * sysdeps/x86_64/preconfigure: Regenerated.
51100 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
51102 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51105 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
51107 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51108 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51110 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
51113 * locale/iso-639.def: Fix gl language name. Spotted by
51116 2012-04-12 Roland McGrath <roland@hack.frob.com>
51119 * libio/libio.h (__io_write_fn): Update comment.
51121 2012-04-12 Petr Baudis <pasky@ucw.cz>
51124 * stdio.texi (Hook Functions): The user provided writer function
51125 is not allowed to return -1.
51127 2012-04-11 David S. Miller <davem@davemloft.net>
51129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51131 2012-04-11 Mike Frysinger <vapier@gentoo.org>
51133 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51134 Add a leading slash to rtkaio.
51136 2012-04-11 Jim Meyering <meyering@redhat.com>
51139 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51140 It is not necessarily an error to ignore fwrite's return
51141 value. One can reliably use ferror to test for errors after
51144 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
51146 * bits/types.h (__snseconds_t): New type.
51147 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51149 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51150 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51151 (__SNSECONDS_T_TYPE): Likewise.
51152 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51153 (__SNSECONDS_T_TYPE): Likewise.
51154 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51155 (__SNSECONDS_T_TYPE): Likewise.
51157 2012-04-10 Andreas Jaeger <aj@suse.de>
51160 * manual/time.texi (Processor Time): Return type of times is
51161 elapsed real time since an arbitrary point in the past.
51162 (CPU Time): Move CLK_TCK from here...
51163 (Processor Time): ...to here. Correct description.
51164 * manual/conf.texi (Constants for Sysconf): Correct description of
51167 2012-04-10 David S. Miller <davem@davemloft.net>
51170 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51171 where the is a gap between DT_REL(A) and DT_JMPREL.
51173 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
51175 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51176 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51177 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51179 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
51181 * elf/dl-support.c (_dl_inhibit_cache): New variable.
51182 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51183 (dl_main): Handle --inhibit-cache.
51184 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51186 * elf/dl-load.c (_dl_map_object): Use it.
51187 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51189 2012-04-09 Joseph Myers <joseph@codesourcery.com>
51192 * sysdeps/i386/fpu/e_powl.S (p78): New object.
51193 (__ieee754_powl): Saturate large exponents rather than testing for
51194 overflow of y*log2(x).
51195 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51196 * math/libm-test.inc (pow_test): Do not permit spurious overflow
51200 * math/s_ctan.c: Include <float.h>.
51201 (__ctan): Avoid internal overflow or cancellation in calculating
51203 * math/s_ctanf.c: Likewise.
51204 * math/s_ctanl.c: Likewise.
51205 * math/s_ctanh.c: Likewise.
51206 * math/s_ctanhf.c: Likewise.
51207 * math/s_ctanhl.c: Likewise.
51208 * math/libm-test.inc (ctan_test): Add more tests.
51209 (ctanh_test): Likewise.
51210 * sysdeps/i386/fpu/libm-test-ulps: Update.
51211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51213 2012-04-09 Andreas Jaeger <aj@suse.de>
51216 * manual/filesys.texi (Directory Entries): Mention that d_namlen
51217 is an optional BSD extension.
51220 * manual/stdio.texi (Opening Streams): Document additional fopen
51223 2012-04-09 Roland McGrath <roland@hack.frob.com>
51225 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51226 %eax without telling the compiler.
51228 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
51231 * manual/install.texi: Use sourceware.org.
51233 2012-04-09 Joseph Myers <joseph@codesourcery.com>
51236 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51237 (__ieee754_pow): Generate overflow and underflow using huge*huge
51238 and tiny*tiny rather than just returning constant infinity or zero
51239 for large exponents.
51240 * math/libm-test.inc (pow_test): Require overflow exceptions for
51241 applicable cases of large exponents.
51244 * sysdeps/i386/fpu/e_pow.S (p10): New object.
51245 (__ieee754_pow): Use iterative multiplication algorithm only for
51246 integer exponents with absolute value below 1024. Check for odd
51247 integer exponents when using algorithm for real exponents.
51248 * math/libm-test.inc (pow_test): Add more tests.
51249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51251 2012-04-08 Joseph Myers <joseph@codesourcery.com>
51254 * math/libm-test.inc (exp_test): Do not allow overflow exception
51257 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
51260 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51261 instead of __kernel_standard_f.
51263 2012-04-08 Mike Frysinger <vapier@gentoo.org>
51265 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51266 * sysdeps/x86_64/memset_chk.S: Likewise.
51268 2012-04-08 Andreas Jaeger <aj@suse.de>
51271 * manual/startup.texi (Environment Access): Describe return value
51272 for putenv and setenv.
51275 * manual/filesys.texi (Directory Entries): Add description for
51279 * manual/filesys.texi (Directory Entries): Clarify that it's file
51280 system not operating system in the description of DT_UNKNOWN.
51283 * manual/syslog.texi (closelog): Fix reference, it's openlog.
51285 2012-04-08 Stephen Compall <s11@member.fsf.org>
51288 * manual/llio.texi (Opening and Closing Files): Add cross
51289 reference to explain mode argument.
51291 2012-04-07 Mike Frysinger <vapier@gentoo.org>
51293 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51294 * sysdeps/x86_64/memset_chk.S: Likewise.
51296 2012-04-07 David S. Miller <davem@davemloft.net>
51298 * elf/elf.h (R_SPARC_WDISP10): Define.
51299 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51301 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51302 R_SPARC_SIZE64 and R_SPARC_H34.
51304 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
51306 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51307 conditions and remove no longer applicable assertion.
51309 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
51311 * bits/byteswap.h: Include <features.h>.
51312 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51313 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51315 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
51317 * bits/byteswap.h (__bswap_16): Removed.
51318 Include <bits/byteswap-16.h> to get __bswap_16.
51319 * sysdeps/i386/bits/byteswap.h: Likewise.
51320 * sysdeps/s390/bits/byteswap.h: Likewise.
51321 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51322 * bits/byteswap-16.h: New file.
51323 * sysdeps/i386/bits/byteswap-16.h: Likewise.
51324 * sysdeps/s390/bits/byteswap-16.h: Likewise.
51325 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51326 * string/Makefile (headers): Add bits/byteswap-16.h.
51328 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51331 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51333 * nss/Makefile (tests-static, tests): Add tst-nss-static.
51334 * nss/tst-nss-static.c: New.
51336 2012-04-06 Robert Millan <rmh@gnu.org>
51339 * manual/llio.texi (File Position Primitive): lseek
51340 refers to WHENCE when it really means OFFSET.
51342 2012-04-06 Andreas Jaeger <aj@suse.de>
51344 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51345 strncmp declarations.
51347 * abilist/libc.abilist: Add __poll and __ppoll.
51349 2012-04-05 David S. Miller <davem@davemloft.net>
51351 * scripts/check-local-headers.sh: Accept a host triplet in the
51352 path matched by the exclude regexp.
51354 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51356 * sysdeps/powerpc/powerpc32/dl-machine.h
51357 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51358 * sysdeps/s390/s390-32/dl-machine.h
51359 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51360 * sysdeps/sparc/sparc32/dl-machine.h
51361 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51362 * sysdeps/sparc/sparc64/dl-machine.h
51363 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51365 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51367 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51368 undefined symbol errors.
51370 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51373 2012-04-05 Michael Matz <matz@suse.de>
51376 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51378 2012-04-05 Andreas Jaeger <aj@suse.de>
51381 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51384 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51386 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51387 which ROUND is no valid rounding mode.
51389 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51391 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51393 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51395 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51397 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51398 an exception using FPU order intentionally.
51400 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51402 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51403 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51404 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51405 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51407 2012-04-05 Simon Josefsson <simon@josefsson.org>
51410 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51411 EINVAL when BUFLEN is too smal.
51413 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
51416 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51417 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51419 2012-04-03 Andreas Jaeger <aj@suse.de>
51422 * manual/setjmp.texi (System V contexts): Fix sentence.
51425 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51426 New macro for this case.
51427 [!__GNUC__] (__bswap_64): New inline function for this case.
51428 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51429 * bits/byteswap.h: Likewise.
51430 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51431 ull, guard with __GLIBC_HAVE_LONG_LONG.
51433 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51434 __GLIBC_HAVE_LONG_LONG.
51436 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51437 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51439 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51442 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51443 inptr and inend, rather than using last_ch.
51445 2012-04-02 David S. Miller <davem@davemloft.net>
51447 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51448 * stdio-common/printf-parse.h (read_int): Change return type to
51449 'int', return -1 on INT_MAX overflow.
51450 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51451 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
51452 overflows INT_MAX. Check for overflow of in-format-string precision
51453 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
51454 SIZE_MAX not INT_MAX for integer overflow test.
51455 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51456 skip the construct in the format string but do not record anything.
51457 * stdio-common/bug22.c: Adjust to test both width/prevision
51458 INT_MAX overflow as well as total length INT_MAX overflow. Check
51459 explicitly for proper errno values.
51461 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
51463 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51465 * string/test-strcmp.c [! WIDE]: Likewise.
51466 * time/tst-mktime2.c: Likewise for INT_MAX.
51467 * string/test-string.h: #include <sys/param.h> for MIN.
51469 * csu/init-first.c (__libc_init_first): Call __ctype_init.
51470 * sysdeps/i386/init-first.c (init): Likewise.
51471 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51472 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51473 * sysdeps/sh/init-first.c (init): Likewise.
51475 2012-04-01 Ulrich Drepper <drepper@gmail.com>
51477 * po/ru.po: Update from translation team.
51478 * po/vi.po: Likewise.
51480 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
51482 * resolv/nss_dns/dns-host.c: Merge copyright years.
51484 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51486 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51487 Optimize memcpy with prefetch if
51488 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
51489 src, dst pointers have unequal 16 byte alignments.
51491 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51494 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51495 from a CNAME entry and return the minimum ttl for the query.
51496 (gaih_getanswer_slice): Likewise.
51498 2012-03-30 Jeff Law <law@redhat.com>
51500 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51502 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51503 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51505 * resolv/nss_dns/dns-host.c: Update copyright year.
51507 2012-03-30 Ulrich Drepper <drepper@gmail.com>
51509 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51510 requests to save a system call. Fix check that all bytes are sent.
51512 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51513 comments for sendmmsg.
51515 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51518 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51519 with only 1 character between 0x0041 and 0x01b0.
51520 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51521 * wcsmbs/tst-mbsnrtowcs.c: New file.
51523 2012-03-29 David S. Miller <davem@davemloft.net>
51525 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51526 small copies by hand.
51528 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51531 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51532 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51535 2012-03-28 David S. Miller <davem@davemloft.net>
51537 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51538 that branches into memcpy.
51539 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51540 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51541 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51542 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51545 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51546 implementation too.
51547 * sysdeps/sparc/mempcpy.S: New file.
51549 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51550 the IFUNC routine in the libc case.
51551 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51553 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51554 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51555 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51556 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51557 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51558 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51559 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51560 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51562 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51563 loop to 256 bytes instead of 64 bytes and fix test signedness.
51565 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51566 * sysdeps/sparc/sparc32/Makefile: rather than here...
51567 * sysdeps/sparc/sparc64/Makefile: and here.
51569 2012-03-28 Ulrich Drepper <drepper@gmail.com>
51571 * malloc/mallocbug.c: Avoid warnings about unused variables.
51573 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51576 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51577 in the right place. Discard and retry query if response is
51578 larger than input buffer size.
51580 2012-03-28 Joseph Myers <joseph@codesourcery.com>
51585 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51586 x for large integer exponent.
51587 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51588 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
51589 sign of result as needed afterwards.
51590 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51591 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51592 result for underflowing pow the same as for overflow.
51593 (__kernel_standard_l): Handle powl overflow and underflow here
51594 rather than calling __kernel_standard.
51595 * math/libm-test.inc (pow_test): Add more tests.
51610 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51611 * sysdeps/ieee754/k_standard.c: Include <float.h>.
51612 (__kernel_standard_l): New function.
51613 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51615 * math/w_acosl.c (__acosl): Likewise.
51616 * math/w_asinl.c (__asinl): Likewise.
51617 * math/w_atan2l.c (__atan2l): Likewise.
51618 * math/w_atanhl.c (__atanhl): Likewise.
51619 * math/w_coshl.c (__coshl): Likewise.
51620 * math/w_exp10l.c (__exp10l): Likewise.
51621 * math/w_exp2l.c (__exp2l): Likewise.
51622 * math/w_fmodl.c (__fmodl): Likewise.
51623 * math/w_hypotl.c (__hypotl): Likewise.
51624 * math/w_j0l.c (__j0l, __y0l): Likewise.
51625 * math/w_j1l.c (__j1l, __y1l): Likewise.
51626 * math/w_jnl.c (__jnl, __ynl): Likewise.
51627 * math/w_lgammal.c (__lgammal): Likewise.
51628 * math/w_log10l.c (__log10l): Likewise.
51629 * math/w_log2l.c (__log2l): Likewise.
51630 * math/w_logl.c (__logl): Likewise.
51631 * math/w_powl.c (__powl): Likewise.
51632 * math/w_remainderl.c (__remainderl): Likewise.
51633 * math/w_scalbl.c (sysv_scalbl): Likewise.
51634 * math/w_sinhl.c (__sinhl): Likewise.
51635 * math/w_sqrtl.c (__sqrtl): Likewise.
51636 * math/w_tgammal.c (__tgammal): Likewise.
51637 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51638 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51639 * math/libm-test.inc (acos_test): Add more tests.
51640 (acosh_test): Likewise.
51641 (asin_test): Likewise.
51642 (atanh_test): Likewise.
51643 (exp_test): Likewise.
51644 (exp10_test): Likewise.
51645 (exp2_test): Likewise.
51646 (expm1_test): Likewise.
51647 (lgamma_test): Likewise.
51648 (log_test): Likewise.
51649 (log10_test): Likewise.
51650 (log1p_test): Likewise.
51651 (log2_test): Likewise.
51652 (pow_test): Do not allow some spurious overflow exceptions.
51653 (sqrt_test): Add more tests.
51654 (tgamma_test): Likewise.
51655 (y0_test): Likewise.
51656 (y1_test): Likewise.
51657 (yn_test): Likewise.
51659 2012-03-27 Anton Blanchard <anton@samba.org>
51661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51663 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51664 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51665 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51667 2012-03-27 David S. Miller <davem@davemloft.net>
51669 * conform/Makefile: Run run-conformtest.sh using $(BASH).
51671 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51672 have-as-vis3 check.
51674 2012-03-27 Andreas Jaeger <aj@suse.de>
51676 * sysdeps/x86_64/elf/configure.in: Moved to ...
51677 * sysdeps/x86_64/configure.in: ... here.
51678 * sysdeps/x86_64/elf/start.S: Moved to ...
51679 * sysdeps/x86_64/start.S: ... here.
51680 * sysdeps/x86_64/elf/configure: Delete.
51682 * sysdeps/x86_64/configure.in: Merge contents from
51683 sysdeps/i386/configure.in (without i686 check).
51685 * sysdeps/i386/elf/Versions: Merge into ...
51686 * sysdeps/i386/Versions: ... this.
51687 * sysdeps/i386/elf/Versions: Delete file.
51688 * sysdeps/i386/elf/start.S: Moved to ...
51689 * sysdeps/i386/start.S: ...here.
51690 * sysdeps/i386/elf/configure.in: Merge into...
51691 * sysdeps/i386/configure.in: ...here.
51692 * sysdeps/i386/elf/configure.in: Delete file.
51693 * sysdeps/i386/elf/configure: Delete file.
51695 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51696 * debug/backtracesyms.c: ... here.
51697 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51698 * debug/backtracesymsfd.c: ... here.
51699 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51700 * sysdeps/generic/ifunc-sel.h: ... here.
51702 * sysdeps/unix/i386/start.c: Delete file.
51703 * sysdeps/unix/sparc/start.c: Delete file.
51704 * sysdeps/unix/start.c: Delete file.
51706 * sysdeps/sh/elf/configure.in: Moved to ...
51707 * sysdeps/sh/configure.in: ... here.
51708 * sysdeps/sh/elf/start.S: Moved to ...
51709 * sysdeps/sh/start.S: ... here.
51710 * sysdeps/sh/elf/configure: Delete file.
51712 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51713 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51714 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51715 * sysdeps/powerpc/powerpc64/entry.h: ... here.
51716 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51717 * sysdeps/powerpc/powerpc64/start.S: here.
51718 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51719 * sysdeps/powerpc/powerpc64/Makefile: ... this.
51720 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51721 * sysdeps/powerpc/powerpc64/configure.in: ... this.
51722 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51724 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51725 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51726 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51727 * sysdeps/powerpc/powerpc32/start.S: ... here.
51728 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51729 * sysdeps/powerpc/powerpc32/configure.in: ... this.
51730 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51732 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51733 * sysdeps/powerpc/ifunc-sel.h: ... here.
51734 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51735 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51737 * sysdeps/sparc/elf/configure.in: Moved to ...
51738 * sysdeps/sparc/configure.in: ... here.
51739 * sysdeps/sparc/elf/configure: Delete file.
51740 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51741 * sysdeps/sparc/sparc32/start.S: ... here.
51742 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51743 * sysdeps/sparc/sparc64/start.S: ... here.
51744 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51745 * sysdeps/sparc/sparc32/Makefile: ... this.
51746 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51747 * sysdeps/sparc/sparc64/Makefile: ... this.
51749 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51750 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51751 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51752 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51753 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51754 * sysdeps/s390/s390-32/setjmp.S: ... here.
51755 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51756 * sysdeps/s390/s390-32/configure.in: ... here.
51757 * sysdeps/s390/s390-32/elf/configure: Delete file.
51758 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51759 * sysdeps/s390/s390-32/start.S: ... here.
51761 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51762 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51763 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51764 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51765 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51766 * sysdeps/s390/s390-64/setjmp.S: ... here.
51767 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51768 * sysdeps/s390/s390-64/configure.in: ... here
51769 * sysdeps/s390/s390-64/elf/configure: Delete file.
51770 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51771 * sysdeps/s390/s390-64/start.S: ... here.
51772 * sysdeps/s390/s390-64/elf/configure: Delete.
51774 * configure.in: Remove support for elf directories in sysdeps.
51776 * configure: Regenerated.
51777 * sysdeps/i386/configure: Regenerated.
51778 * sysdeps/powerpc/powerpc32/configure: Regenerated.
51779 * sysdeps/powerpc/powerpc64/configure: Regenerated.
51780 * sysdeps/s390/s390-32/configure: Regenerated.
51781 * sysdeps/s390/s390-64/configure: Regenerated.
51782 * sysdeps/sh/configure: Regenerated.
51783 * sysdeps/sparc/configure: Regenerated.
51784 * sysdeps/x86_64/configure: Regenerated.
51786 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
51788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51790 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51791 denormal result into account.
51793 2012-03-25 Roland McGrath <roland@hack.frob.com>
51795 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51796 Reported by Allan McRae <allan@archlinux.org>.
51798 2012-03-23 Jeff Law <law@redhat.com>
51800 * nss/getnssent.c (__nss_getent): Fix typo.
51802 2012-03-23 David S. Miller <davem@davemloft.net>
51804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51806 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
51808 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51809 to pad to uint64_t for each field.
51810 (dl_tls_index): Replace unsigned long with uint64_t.
51812 2012-03-23 Daniel Jacobowitz <dmj@google.com>
51813 Paul Pluzhnikov <ppluzhnikov@google.com>
51816 * grp/Makefile (otherlibs): Don't set it.
51817 * inet/Makefile (otherlibs): Likewise.
51818 * login/Makefile (otherlibs): Likewise.
51819 * nscd/Makefile (otherlibs): Likewise.
51820 * posix/Makefile (otherlibs): Likewise.
51821 * pwd/Makefile (otherlibs): Likewise.
51822 * rt/Makefile (otherlibs): Likewise.
51823 * sunrpc/Makefile (otherlibs): Likewise.
51824 * nss/Makefile (otherlibs): Likewise.
51825 Add libnss_files to routines and static-only-routines.
51826 ($(objpfx)getent): Remove rule.
51827 * resolv/Makefile: Add libnss_dns and libresolv to routines and
51828 static-only-routines.
51830 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51833 * math/s_cexp.c: Include <float.h>.
51834 (__cexp): Handle exp result overflowing not necessarily
51835 overflowing both real and imaginary parts of result.
51836 * math/s_cexpf.c: Likewise.
51837 * math/s_cexpl.c: Likewise.
51838 * math/libm-test.inc (cexp_test): Add more tests.
51839 * sysdeps/i386/fpu/libm-test-ulps: Update.
51840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51842 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51844 * include/link.h (ELFW): New macro.
51845 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51846 Replace ELF64_R_TYPE with ELFW(R_TYPE).
51848 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51850 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51853 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51855 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51857 (struct La_x32_retval): Likewise.
51859 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51861 * sysdeps/x86_64/preconfigure.in: New file.
51862 * sysdeps/x86_64/preconfigure: New generated file.
51864 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51867 * math/e_exp2l.c: Include <float.h>.
51868 (__ieee754_exp2l): Handle overflow and underflow cases
51869 separately. Only pass fractional part of argument to
51871 * math/libm-test.inc (exp2_test): Add more tests.
51873 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51874 negating x to take absolute value.
51875 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51877 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51878 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51880 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51881 computing low part if x was negated.
51882 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51884 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51886 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51887 la_x32_gnu_pltexit.
51888 (pltexit): Cast int_retval to ptrdiff_t.
51889 * elf/tst-auditmod3b.c: Likewise.
51890 * elf/tst-auditmod4b.c: Likewise.
51891 * elf/tst-auditmod5b.c: Likewise.
51892 * elf/tst-auditmod6b.c: Likewise.
51893 * elf/tst-auditmod6c.c: Likewise.
51894 * elf/tst-auditmod7b.c: Likewise.
51896 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51897 and x32_gnu_pltexit.
51899 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51900 __ELF_NATIVE_CLASS.
51901 (La_x32_regs): New macro.
51902 (La_x32_retval): Likewise.
51903 (la_x32_gnu_pltenter): New function prototype.
51904 (la_x32_gnu_pltexit): Likewise.
51906 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
51908 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51913 * configure.in (libc_cv_cc_nofma): Check for option to disable
51914 generation of FMA instructions.
51915 * configure: Regenerate.
51916 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51917 * sysdeps/ieee754/dbl-64/Makefile: New file.
51918 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51919 Remove brandred-fma4.
51920 (CFLAGS-brandred-fma4.c): Remove.
51921 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51922 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51924 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51927 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51929 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51930 LLONG_MAX != LONG_MAX.
51931 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51932 (_fitoa_word): Likewise.
51933 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51934 LLONG_MAX != LONG_MAX.
51935 * stdio-common/_itowa.h: Include <_itoa.h>.
51936 (_itowa_word): Use _ITOA_WORD_TYPE on value.
51937 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
51938 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
51939 only if not defined.
51940 (_ITOA_WORD_TYPE): Likewise.
51941 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51942 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51944 2012-03-21 David S. Miller <davem@davemloft.net>
51946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51948 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51950 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51951 of x86_64 when setting libc_cv_slibdir, libdir and
51953 * sysdeps/unix/sysv/linux/configure: Regenerated.
51955 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51957 * manual/lang.texi (Old Varargs): Remove section.
51958 (How Variadic): Update menu.
51959 (va_start): Do not mention varargs.h.
51961 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51962 Joseph Myers <joseph@codesourcery.com>
51964 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51966 * configure: Regenerated.
51968 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51970 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51971 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51974 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51977 * Makefile (files-for-dist): Remove NOTES.
51978 (NOTES): Remove rule.
51979 * README: Don't refer to NOTES.
51980 * manual/creature.texi: Don't include macros.texi.
51981 * manual/intro.texi (creature.texi): Remove comment referring to
51984 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51985 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51986 * configure: Regenerated.
51987 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51988 LIBC_TRY_CC_OPTION.
51989 (libc_cv_as_i686): Likewise.
51990 (libc_cv_cc_avx): Likewise.
51991 (libc_cv_cc_sse2avx): Likewise.
51992 (libc_cv_cc_fma4): Likewise.
51993 (libc_cv_cc_novzeroupper): Likewise.
51994 * sysdeps/i386/configure: Regenerated.
51997 * sysdeps/i386/fpu/s_cexp.S: Remove.
51998 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51999 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52000 * math/libm-test.inc (cexp_test): Add more tests.
52001 * sysdeps/i386/fpu/libm-test-ulps: Update.
52002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52004 2012-03-21 Allan McRae <allan@archlinux.org>
52006 * timezone/Makefile: Do not install iso3166.tab and zone.tab
52008 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52011 * math/w_exp2.c: Do not include <float.h>.
52012 (o_threshold, u_threshold): Remove.
52013 (__exp2): Calculate result before checking finiteness and calling
52015 * math/w_exp2f.c: Likewise.
52016 * math/w_exp2l.c: Likewise.
52017 * math/libm-test.inc (exp2_test): Require overflow exception for
52021 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52022 range of signed 64-bit integers before using fistpll. Remove
52023 checks for whether integers fit in mantissa bits.
52024 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52025 the range of signed 32-bit integers before using fistpl. Remove
52026 checks for whether integers fit in mantissa bits.
52027 * sysdeps/i386/fpu/e_powl.S (p64): New object.
52028 (__ieee754_powl): Test for y outside the range of signed 64-bit
52029 integers before using fistpll. Reduce 64-bit values to 63-bit
52031 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52032 divide-by-zero is raised for zero to large negative powers.
52033 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52034 (__ieee754_powl): Test for y outside the range of signed 64-bit
52035 integers before using fistpll. Reduce 64-bit values to 63-bit
52037 * math/libm-test.inc (pow_test): Add more tests.
52039 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52041 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52042 <stdio-common/_itoa.h>.
52043 * debug/segfault.c: Likewise.
52044 * elf/dl-cache.c: Likewise.
52045 * elf/dl-minimal.c: Likewise.
52046 * elf/dl-misc.c: Likewise.
52047 * elf/dl-sysdep.c: Likewise.
52048 * elf/dl-version.c: Likewise.
52049 * elf/rtld.c: Likewise.
52050 * hurd/hurdsock.c: Likewise.
52051 * hurd/lookup-retry.c: Likewise.
52052 * malloc/malloc.c: Likewise.
52053 * malloc/mtrace.c: Likewise.
52054 * nscd/nscd_getgr_r.c: Likewise.
52055 * nscd/nscd_getpw_r.c: Likewise.
52056 * nscd/nscd_getserv_r.c: Likewise.
52057 * posix/getopt_init.c: Likewise.
52058 * posix/wordexp.c: Likewise.
52059 * stdio-common/_itoa.c: Likewise.
52060 * stdio-common/printf_fphex.c: Likewise.
52061 * stdio-common/vfprintf.c: Likewise.
52062 * string/_strerror.c: Likewise.
52063 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52064 * sysdeps/i386/i686/hp-timing.h: Likewise.
52065 * sysdeps/mach/_strerror.c: Likewise.
52066 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52067 * sysdeps/mach/hurd/sethostid.c: Likewise.
52068 * sysdeps/mach/hurd/xmknodat.c: Likewise.
52069 * sysdeps/mach/xpg-strerror.c: Likewise.
52070 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52071 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52072 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52073 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52074 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52075 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52076 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52077 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52078 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52079 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52080 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52081 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52082 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52083 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52084 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52085 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52086 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52087 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52088 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52089 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52090 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52092 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52094 * stdio-common/_itoa.h: Moved to ...
52095 * sysdeps/generic/_itoa.h: Here.
52097 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52099 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52100 instead of "_itoa.h" and "_itowa.h".
52101 * stdio-common/vfprintf.: Likewise.
52103 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52105 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52107 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52108 (__signbit): Likwise.
52109 (llrintf): Likwise.
52112 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52114 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52117 2012-03-20 Joseph Myers <joseph@codesourcery.com>
52119 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52120 OVERFLOW_EXCEPTION_OK.
52121 * math/libm-test.inc ("Philosophy"): Update comment about
52123 (OVERFLOW_EXCEPTION): Define.
52124 (OVERFLOW_EXCEPTION_OK): Likewise.
52125 (INVALID_EXCEPTION_OK): Renumber.
52126 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52127 (IGNORE_ZERO_INF_SIGN): Likewise.
52128 (test_exceptions): Handle FE_OVERFLOW.
52129 (exp10_test): Expect overflow exceptions.
52130 (exp2_test): Likewise.
52131 (expm1_test): Likewise.
52132 (nextafter_test): Likewise.
52133 (pow_test): Likewise.
52134 (scalbn_test): Likewise.
52135 (scalbln_test): Likewise.
52137 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52139 * sysdeps/x86_64/bits/atomic.h
52140 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52142 (atomic_exchange_acq): Likewise.
52143 (__arch_exchange_and_add_body): Likewise.
52144 (__arch_add_body): Likewise.
52145 (atomic_add_negative): Likewise.
52146 (atomic_add_zero): Likewise.
52148 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52150 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52151 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52153 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52155 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52156 Check __x86_64__ instead of __WORDSIZE.
52158 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52160 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52162 2012-03-19 David S. Miller <davem@davemloft.net>
52164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52166 * sysdeps/sparc/fpu/fenv_private.h: New file.
52167 * sysdeps/sparc/fpu/math_private.h: Use it.
52168 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52170 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52171 (libc_feholdexcept_setroundl): Remove.
52172 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52174 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52175 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52177 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52179 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52180 int64_t instead of long int.
52181 (INSERT_WORDS64): Likwise.
52183 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52185 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52186 _Unwind_GetCFA return to _Unwind_Ptr first.
52188 2012-03-19 Joseph Myers <joseph@codesourcery.com>
52191 * math/s_clog.c: Include <float.h>.
52192 (__clog): Scale large or subnormal inputs.
52193 * math/s_clogf.c: Likewise.
52194 * math/s_clogl.c: Likewise.
52195 * math/s_clog10.c: Include <float.h>.
52196 (M_LOG10_2): Define.
52197 (__clog10): Scale large or subnormal inputs.
52198 * math/s_clog10f.c: Likewise.
52199 * math/s_clog10l.c: Likewise.
52200 * math/libm-test.inc (clog_test): Add more tests.
52201 (clog10_test): Likewise.
52202 * sysdeps/i386/fpu/libm-test-ulps: Update.
52203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52206 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52208 * math/libm-test.inc (atan2_test): Add another test.
52210 * Makerules (common-objdir-compile): Remove.
52211 * sysdeps/unix/Makefile (config-generated): Do not add
52212 $(unix-generated) to variable.
52213 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52214 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52216 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52218 [generic bits/local_lim.h] (before-compile): Do not append to
52220 [generic bits/local_lim.h] (common-generated): Likewise.
52221 [generic sys/param.h] (before-compile): Do not append to variable.
52222 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52223 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52224 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52225 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52227 [generic sys/param.h] (sys/param.h-includes): Remove variable.
52228 [generic sys/param.h] (sys/param.h-includes): Remove rule.
52229 [generic sys/param.h] ($(addprefix
52230 $(common-objpfx),$(sys/param.h-includes))): Likewise.
52231 [generic sys/param.h] (common-generated): Do not append to
52233 [generic sys/param.h] (sysdep_headers): Likewise.
52234 [generic bits/errno.h] (before-compile): Do not append to
52236 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52238 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52239 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52240 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52241 [generic bits/errno.h] (common-generated): Do not append to
52243 [generic bits/ioctls.h] (before-compile): Do not append to
52245 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52247 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52248 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52249 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52251 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52252 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52253 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52254 [generic bits/ioctls.h] (common-generated): Do not append to
52256 [generic sys/syscall.h] (syscall.h): Remove variable.
52257 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52259 [generic sys/syscall.h] (before-compile): Do not append to
52261 [generic sys/syscall.h] (common-generated): Likewise.
52262 * sysdeps/unix/errnos-tmpl.c: Remove file.
52263 * sysdeps/unix/errnos.awk: Likewise.
52264 * sysdeps/unix/ioctls-tmpl.c: Likewise.
52265 * sysdeps/unix/ioctls.awk: Likewise.
52266 * sysdeps/unix/mk-local_lim.c: Likewise.
52267 * sysdeps/unix/snarf-ioctls: Likewise.
52269 2012-03-19 Richard Henderson <rth@twiddle.net>
52271 * sysdeps/i386/fpu/fenv_private.h: New file.
52272 * sysdeps/i386/fpu/math_private.h: Use it.
52273 (math_opt_barrier, math_force_eval): Remove.
52274 (libc_feholdexcept_setround_53bit): Remove.
52275 (libc_feupdateenv_53bit): Remove.
52276 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52277 (math_opt_barrier, math_force_eval): Remove.
52278 (libc_feholdexcept): Remove.
52279 (libc_feholdexcept_setround): Remove.
52280 (libc_fetestexcept, libc_fesetenv): Remove.
52281 (libc_feupdateenv_test): Remove.
52282 (libc_feupdateenv, libc_feholdsetround): Remove.
52283 (libc_feresetround): Remove.
52285 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52286 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52288 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52289 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52290 (libc_feupdateenv_testl): New.
52291 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52292 (libc_feupdateenv_testf): New.
52293 (libc_feupdateenv): Use libc_feupdateenv_test.
52294 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52295 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52297 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52298 (libc_feholdsetroundf, libc_feholdsetroundl): New.
52299 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52300 (libc_feresetround_noex): New.
52301 (libc_feresetround_noexf): New.
52302 (libc_feresetround_noexl): New.
52303 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52304 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52305 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52306 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52308 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52309 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52311 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52312 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52313 SET_RESTORE_ROUND_NOEX.
52314 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52315 SET_RESTORE_ROUND_NOEXF.
52316 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52317 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52318 (libc_feholdsetroundf): New.
52319 (libc_feresetround, libc_feresetroundf): New.
52321 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52322 (libc_feholdexcept_setround_53bit): Convert from macro to function.
52323 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
52325 * sysdeps/generic/math_private.h: Include <fenv.h>.
52326 (default_libc_feholdexcept): New.
52327 (default_libc_feholdexcept_setround): New.
52328 (default_libc_fesetenv, default_libc_feupdateenv): New.
52329 (libc_feholdexcept): Only define if undefined.
52330 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52331 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52332 (libc_feholdexcept_setroundl): Likewise.
52333 (libc_feholdexcept_setround_53bit): Likewise.
52334 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52335 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52336 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52337 (libc_feupdateenv_53bit): Likewise.
52338 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52339 (libc_feholdexcept): Convert from macro to inline function.
52340 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52341 (libc_fesetenv, libc_feupdateenv): Likewise.
52343 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52344 not previously defined.
52345 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52346 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52347 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52348 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52349 * sysdeps/ieee754/flt-32/math_private.h: New file.
52350 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52351 math_private.h below SET_FLOAT_WORD.
52352 (__isnan, __isinf_ns, __finite): Remove.
52353 (__isnanf, __isinf_nsf, __finitef): Remove.
52355 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
52357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52359 2012-03-17 David S. Miller <davem@davemloft.net>
52362 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52365 2012-03-16 David S. Miller <davem@davemloft.net>
52367 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52371 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52373 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52374 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52375 sysdep_routines when subdir is sysvipc.
52376 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52377 __getshmlba helper.
52379 * sysdeps/sparc/fpu/libm-test/ulps: Update.
52381 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52383 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52386 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52388 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52389 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52390 (__lround): Renamed to ...
52391 (__llround): This. Replace long int with long long int.
52392 Define lround functions as aliases of llround functions.
52393 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52395 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52397 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52398 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
52399 adresses to uintptr_t. Replace "long int" and "unsigned long
52400 int" with "greg_t" on va_arg.
52402 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52404 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52405 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52407 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52408 Move e_machine check before EI_CLASS check. Handle x32
52409 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52410 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52411 SKIP_EM_IA_64 and include
52412 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52414 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52415 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52416 (add_system_dir): New macro.
52418 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52419 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52421 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52432 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52434 * math/w_j0f.c (j0f): Likewise.
52436 * math/w_j0l.c (__j0l): Likewise.
52438 * math/w_j1.c (j1): Likewise.
52440 * math/w_j1f.c (j1f): Likewise.
52442 * math/w_j1l.c (__j1l): Likewise.
52444 * math/w_jn.c (jn): Likewise.
52446 * math/w_jnf.c (jnf): Likewise.
52448 * math/w_jnl.c (__jnl): Likewise.
52450 * math/libm-test.inc (j0_test): Add more tests.
52451 (j1_test): Likewise.
52452 (jn_test): Likewise. Add trailing semicolon to existing test.
52453 (y0_test): Likewise.
52454 (y1_test): Likewise.
52455 * sysdeps/i386/fpu/libm-test-ulps: Update.
52456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52460 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52461 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52462 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52463 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52464 (__tanl): Set errno for infinite argument.
52465 * sysdeps/i386/fpu/mptan.c: Remove.
52466 * sysdeps/i386/fpu/s_tan.S: Likewise.
52467 * sysdeps/i386/fpu/s_tanl.S: Likewise.
52468 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52469 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52470 * math/libm-test.inc (tan_test): Add more tests and enable more
52471 tests for double and long double.
52472 * sysdeps/i386/fpu/libm-test-ulps: Update.
52473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52475 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
52477 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52478 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52480 2012-03-16 Roland McGrath <roland@hack.frob.com>
52482 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52483 * configure.in: Use it for both main tree and add-ons.
52484 * configure: Regenerated.
52486 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52488 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52490 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52492 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52496 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52497 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52498 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52499 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52500 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52502 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52503 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52504 != 0 for prec == 2.
52505 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52506 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52507 * sysdeps/i386/fpu/s_cosl.S: Likewise.
52508 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52509 * sysdeps/i386/fpu/s_sinl.S: Likewise.
52510 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52511 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52512 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52513 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52514 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52515 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52516 * math/libm-test.inc (cos_test): Add more tests and enable more
52517 tests for long double.
52518 (sin_test): Likewise.
52519 (sincos_test): Likewise.
52520 * sysdeps/i386/fpu/libm-test-ulps: Update.
52521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52523 2012-03-16 David S. Miller <davem@davemloft.net>
52525 * sysdeps/sparc/fpu/math_private.h: New file.
52527 2012-03-15 David S. Miller <davem@davemloft.net>
52529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52539 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52543 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52544 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52546 * sysdeps/sparc/sparc-ifunc.h: New file.
52547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52573 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52574 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52585 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52586 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52587 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52589 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52590 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52592 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52594 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52598 2012-03-15 Andreas Jaeger <aj@suse.de>
52601 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52602 ieee754/flt-32 implementation for sin, cos and sincos.
52603 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52604 * sysdeps/i386/fpu/s_cosf.S: Likewise.
52605 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52606 * sysdeps/i386/fpu/s_sinf.S: Likewise.
52607 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52608 ieee754/flt-32 implementation for tan.
52610 * math/libm-test.inc (cos_test): Enable some large input tests for
52612 (sin_test): Likewise.
52613 (sincos_test): Likewise.
52614 (tan_test): Add tests for large input.
52616 * sysdeps/i386/fpu/libm-test-ulps: Update.
52618 2012-03-15 Andreas Jaeger <aj@suse.de>
52621 * math/libm-test.inc (cos_test): Add more test cases.
52622 (sin_test): Likewise.
52623 (sincos_test): Likewise.
52625 2012-03-15 Andreas Jaeger <aj@suse.de>
52628 * math/libm-test.inc (cos_test): Add a test case for large input
52630 (sin_test): Likewise.
52631 (sincos_test): Likewise.
52633 2012-03-15 Andreas Jaeger <aj@suse.de>
52634 Joseph Myers <joseph@codesourcery.com>
52637 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52638 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52639 * sysdeps/i386/fpu/branred.c: Likewise.
52640 * sysdeps/i386/fpu/dosincos.c: Likewise.
52641 * sysdeps/i386/fpu/mpa.c: Likewise.
52642 * sysdeps/i386/fpu/s_cos.S: Likewise.
52643 * sysdeps/i386/fpu/s_sin.S: Likewise.
52644 * sysdeps/i386/fpu/s_sincos.S: Likewise.
52645 * sysdeps/i386/fpu/sincos32.c: Likewise.
52647 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52649 (libc_feupdateenv_53bit): Define.
52650 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52652 (libc_feupdateenv_53bit): Define.
52654 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52655 53 bit (without extend i386 double precision).
52657 * math/libm-test.inc (sincos_test): Add tests for large input.
52661 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52663 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52667 2012-03-15 David S. Miller <davem@davemloft.net>
52669 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52670 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52671 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52672 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52697 fmin/fmax sysdep routines.
52698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52700 2012-03-14 David S. Miller <davem@davemloft.net>
52702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52703 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52704 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52706 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52707 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52708 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52710 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52711 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52712 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52722 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52723 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52724 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52726 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52727 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52728 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52730 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52774 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52779 * sysdeps/sparc/configure.in: New file.
52780 * sysdeps/sparc/configure: Generate.
52781 * configure.in (libc_cv_sparc_as_vis3): Substitute.
52782 * configure: Regenerate.
52783 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52784 * config.make.in (have-as-vis3): New.
52785 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52786 available use -Av9d instead of -Av9a.
52787 * sysdeps/sparc/sparc64/Makefile: Likewise.
52788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52797 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52798 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52799 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52800 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52801 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52803 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52804 fzeros/fnegs to load 0x80000000 into a float register instead of
52806 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52808 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52812 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52813 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52814 ($(inst_includedir)/bits/syscall.h): Remove rule.
52815 ($(objpfx)bits/syscall.d): Include instead of
52816 $(objpfx)syscall-list.d.
52817 (generated): Change syscall-list.h and syscall-list.d to
52818 bits/syscall.h and bits/syscall.d.
52820 2012-03-14 Roland McGrath <roland@hack.frob.com>
52823 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52825 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52828 * math/s_csqrt.c: Include <float.h>.
52829 (__csqrt): Scale large or subnormal inputs.
52830 * math/s_csqrtf.c: Likewise.
52831 * math/s_csqrtl.c: Likewise.
52832 * math/libm-test.inc (csqrt_test): Add more tests.
52833 * sysdeps/i386/fpu/libm-test-ulps: Update.
52834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52837 * math/libm-test.inc (hypot_test): Add more tests.
52839 2012-03-13 David S. Miller <davem@davemloft.net>
52842 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52843 double-precision for the calculation instead of scaling.
52845 2012-03-13 Joseph Myers <joseph@codesourcery.com>
52847 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52848 manipulate bits before adding and subtracting TWO52[sx].
52849 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52850 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52852 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52854 2012-03-13 David S. Miller <davem@davemloft.net>
52856 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52857 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52858 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52859 rtld-global-offsets.h
52860 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52862 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52865 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52867 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52868 'err' in the ifdef scope in which it is actually used.
52870 * nss/nss_db/db-init.c: Include string.h
52872 2012-03-12 David S. Miller <davem@davemloft.net>
52874 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52875 masking out of the most significant byte of random value used.
52876 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52877 Fix coding style in previous change.
52879 * sysdeps/unix/sysv/linux/kernel-features.h
52880 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52881 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52883 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52886 2012-03-11 David S. Miller <davem@davemloft.net>
52888 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52889 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52890 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52891 for 'resultvar' otherwise things get truncated on 64-bit.
52893 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52894 Fix masking out of the most significant byte of random value used.
52896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52898 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
52900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52902 2012-03-09 David S. Miller <davem@davemloft.net>
52904 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52905 variables with appropriate CPP guards.
52906 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52907 from the frame pointer, not the stack pointer. Correct layout
52908 comments. Fix test on resulting framesize and the management of
52909 the outregs buffer for pltexit. Preserve floating point return
52910 values across _dl_call_pltexit call.
52911 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52912 framesize and the management of the outregs buffer for pltexit.
52913 Preserve floating point return values across _dl_call_pltexit
52915 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52916 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52917 (la_sparc64_gnu_pltexit): New functions.
52918 (print_exit): Fix format string for return register value.
52920 2012-03-10 Joseph Myers <joseph@codesourcery.com>
52922 * sunrpc/Makefile (others): Add rpcgen.
52923 ($(objpfx)rpcgen): Remove special build rule and dependency on
52925 * sunrpc/rpcgen.c: New file.
52927 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
52930 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52931 * stdio-common/bug-vfprintf-nargs.c: Likewise.
52932 * sysdeps/i386/crti.S: Likewise.
52933 * sysdeps/i386/crtn.S: Likewise.
52934 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52935 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52936 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52937 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52938 * sysdeps/sh/crti.S: Likewise.
52939 * sysdeps/sh/crtn.S: Likewise.
52940 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52943 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52945 * locale/programs/locfile-kw.gperf: Likewise.
52946 * locale/programs/charmap-kw.h: Regenerated.
52947 * locale/programs/locfile-kw.h: Likewise.
52950 * intl/plural.y: Replace FSF snail mail address with URL.
52951 * intl/plural.c: Regenerated.
52953 2012-03-09 Richard Henderson <rth@twiddle.net>
52955 * include/math_private.h: Remove file.
52956 * math/math_private.h: Move file ...
52957 * sysdeps/generic/math_private.h: ... here.
52959 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52960 * sysdeps/powerpc/fpu/math_private.h: Likewise.
52961 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52963 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52964 and <math_private.h>.
52965 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52966 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52967 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52968 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52969 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52970 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52971 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52972 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52973 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52974 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52975 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52976 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52977 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52978 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52979 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52980 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52981 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52982 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52983 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52984 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52986 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52987 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52988 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52989 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52990 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52991 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52992 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52993 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52994 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52995 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52996 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52997 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52998 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52999 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53000 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53001 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53002 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53003 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53005 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53006 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53007 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53008 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53009 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53010 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53011 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53012 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53013 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53014 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53015 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53016 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53017 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53018 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53019 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53020 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53021 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53022 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53023 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53024 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53025 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53026 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53027 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53028 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53029 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53030 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53031 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53032 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53033 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53034 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53035 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53036 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53037 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53038 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53039 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53040 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53041 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53043 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53044 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53045 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53046 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53047 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53048 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53049 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53050 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53052 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53053 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53054 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53055 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53056 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53057 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53058 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53059 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53060 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53061 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53062 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53063 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53064 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53065 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53066 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53067 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53068 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53069 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53070 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53071 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53072 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53073 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53074 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53075 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53076 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53077 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53078 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53079 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53080 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53081 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53082 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53083 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53084 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53085 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53086 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53087 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53088 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53089 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53090 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53091 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53092 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53093 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53094 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53095 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53096 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53097 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53098 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53099 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53100 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53101 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53102 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53103 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53104 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53105 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53106 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53107 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53108 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53109 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53110 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53111 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53112 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53113 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53114 * sysdeps/ieee754/k_standard.c: Likewise.
53115 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53116 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53117 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53118 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53119 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53120 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53121 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53122 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53123 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53124 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53125 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53126 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53127 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53128 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53129 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53130 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53131 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53132 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53133 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53134 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53135 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53136 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53137 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53138 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53139 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53140 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53141 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53142 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53143 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53144 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53145 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53146 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53147 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53148 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53149 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53150 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53151 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53152 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53153 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53154 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53155 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53156 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53157 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53158 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53159 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53160 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53161 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53162 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53163 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53164 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53165 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53166 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53167 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53168 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53169 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53170 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53171 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53172 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53173 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53174 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53175 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53176 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53177 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53178 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53179 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53180 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53181 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53182 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53183 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53184 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53185 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53186 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53187 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53188 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53189 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53190 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53191 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53192 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53193 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53194 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53195 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53196 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53197 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53198 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53199 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53200 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53201 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53202 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53203 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53204 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53205 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53206 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53207 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53208 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53209 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53210 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53211 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53212 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53213 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53214 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53215 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53216 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53217 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53218 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53219 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53220 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53221 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53222 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53223 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53224 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53225 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53226 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53227 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53228 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53229 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53230 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53231 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53232 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53233 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53234 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53235 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53236 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53237 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53238 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53239 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53240 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53241 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53242 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53243 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53244 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53245 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53246 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53247 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53248 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53249 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53250 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53251 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53252 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53253 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53254 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53255 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53256 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53257 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53258 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53259 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53260 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53261 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53262 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53263 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53264 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53265 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53266 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53267 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53268 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53269 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53270 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53271 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53272 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53273 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53274 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53275 * sysdeps/ieee754/s_lib_version.c: Likewise.
53276 * sysdeps/ieee754/s_matherr.c: Likewise.
53277 * sysdeps/ieee754/s_signgam.c: Likewise.
53278 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53279 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53280 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53281 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53282 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53283 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53284 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53285 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53286 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53287 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53288 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53289 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53290 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53291 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53292 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53293 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53294 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53295 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53296 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53297 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53300 2012-03-09 Joseph Myers <joseph@codesourcery.com>
53302 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53303 * sunrpc/rpc_main.c: Likewise.
53304 * sunrpc/rpc_svcout.c: Likewise.
53306 2012-03-09 David S. Miller <davem@davemloft.net>
53308 * include/math_private.h: New file.
53310 2012-03-09 Joseph Myers <joseph@codesourcery.com>
53312 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53313 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53314 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53315 from <bits/socket_type.h>.
53316 (enum __socket_type): Don't define here.
53317 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53319 bits/socket_type.h.
53322 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53323 checking __USE_GNU.
53325 * Makerules ($(inst_includedir)/%.h): New rule.
53326 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53327 (install-others): Remove variable setting.
53328 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53330 2012-03-08 Richard Henderson <rth@twiddle.net>
53332 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53333 from macro to inline function; merge with the
53334 !__LIBC_INTERNAL_MATH_INLINES version.
53335 (__ieee754_sqrtf): Likewise.
53337 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53338 to inline function.
53339 (__rintf, __floor, __floorf): Likewise.
53341 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53342 macro to inline function.
53343 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53345 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53346 not <math/math_private.h>.
53348 2012-03-08 David S. Miller <davem@davemloft.net>
53350 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53352 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53354 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
53356 * resolv/gai_misc.c (handle_requests): Fix struct timespec
53358 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53359 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53361 2012-03-08 Ulrich Drepper <drepper@gmail.com>
53363 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
53364 be defined individually, they must be defined as a block. Define
53365 S for printing a string instead of hidint the different by using a
53366 macro for adding the 'l'.
53367 * stdio-common/tst-fphex-wide.c: Adjust.
53369 2012-03-07 Marek Polacek <polacek@redhat.com>
53371 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53373 2012-03-08 Marek Polacek <polacek@redhat.com>
53376 * stdio-common/Makefile (tests): Add tst-fphex-wide.
53377 * stdio-common/tst-fphex.c: Define a few macros to make the
53378 test reusable. Use them.
53379 * stdio-common/tst-fphex-wide.c: New file.
53381 2012-03-08 Joseph Myers <joseph@codesourcery.com>
53384 * manual/macros.texi (gnusystems): New macro.
53385 (nongnusystems): Likewise.
53386 (gnulinuxhurdsystems): Likewise.
53387 (gnuhurdsystems): Likewise..
53388 (gnulinuxsystems): Likewise.
53389 * manual/charset.texi: Use new macros or @theglibc{} to refer to
53390 variants of the GNU system, not "GNU system".
53391 * manual/conf.texi: Likewise.
53392 * manual/errno.texi: Likewise. Update example of errno macro
53394 * manual/filesys.texi: Likewise.
53395 (getumask): Document as specific to GNU/Hurd.
53396 * manual/install.texi: Likewise. Reword some references to
53398 * manual/intro.texi: Likewise.
53399 * manual/io.texi: Likewise.
53400 (File Name Portability): Detail which constraints are inapplicable
53401 to all GNU systems and which are only inapplicable to GNU/Hurd.
53402 * manual/job.texi: Likewise.
53403 * manual/llio.texi: Likewise.
53404 (O_NOCTTY): Document as present on GNU/Linux.
53405 * manual/maint.texi: Likewise.
53406 * manual/memory.texi: Likewise.
53407 * manual/pattern.texi: Likewise.
53408 * manual/pipe.texi: Likewise.
53409 * manual/process.texi: Likewise.
53410 * manual/resource.texi: Likewise.
53411 (RUSAGE_CHILDREN): Remove statement about specifying a particular
53413 * manual/setjmp.texi: Likewise.
53414 * manual/signal.texi: Likewise.
53415 * manual/startup.texi: Likewise.
53416 * manual/stdio.texi: Likewise.
53417 * manual/terminal.texi: Likewise.
53418 (ONLCR): Document as POSIX.
53419 (OXTABS): Document availability on GNU/Linux as XTABS.
53420 (ONOEOT): Document availability separately from other bits.
53421 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53422 * manual/time.texi: Likewise.
53423 * manual/users.texi: Likewise.
53424 * INSTALL: Regenerated.
53425 * sysdeps/gnu/errlist.c: Regenerated.
53427 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53428 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53429 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
53431 * configure: Regenerated.
53433 2012-03-07 Joseph Myers <joseph@codesourcery.com>
53435 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53436 default includes instead of AC_HEADER_CHECK.
53437 * sysdeps/i386/configure: Regenerated.
53440 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53441 * math/s_cacoshf.c (__cacoshf): Likewise.
53442 * math/s_cacoshl.c (__cacoshl): Likewise.
53443 * math/s_casinh.c (__casinh): Set signs of result from argument.
53444 * math/s_casinhf.c (__casinhf): Likewise.
53445 * math/s_casinhl.c (__casinhl): Likewise.
53446 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53447 (casinh_test): Add more tests.
53448 * sysdeps/i386/fpu/libm-test-ulps: Update.
53449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53451 2012-03-07 Ulrich Drepper <drepper@gmail.com>
53453 * po/zh_TW.po: Update from translation team.
53455 * login/Makefile (distribute): Remove variable.
53456 * catgets/Makefile: Likewise.
53457 * mach/Makefile: Likewise.
53458 * malloc/Makefile: Likewise.
53459 * misc/Makefile: Likewise.
53460 * iconv/Makefile: Likewise.
53461 * nscd/Makefile: Likewise.
53462 * hurd/Makefile: Likewise.
53463 * manual/Makefile: Likewise.
53464 * locale/Makefile: Likewise.
53465 * intl/Makefile: Likewise.
53466 * conform/Makefile: Likewise.
53467 * nss/Makefile: Likewise.
53468 * time/Makefile: Likewise.
53469 * soft-fp/Makefile: Likewise.
53470 * dirent/Makefile: Likewise.
53471 * gmon/Makefile: Likewise.
53472 * po/Makefile: Likewise.
53473 * rt/Makefile: Likewise.
53474 * socket/Makefile: Likewise.
53475 * math/Makefile: Likewise.
53476 * signal/Makefile: Likewise.
53477 * debug/Makefile: Likewise.
53478 * elf/Makefile: Likewise.
53479 * timezone/Makefile: Likewise.
53480 * stdlib/Makefile: Likewise.
53481 * iconvdata/Makefile: Likewise.
53482 * sunrpc/Makefile: Likewise.
53483 * io/Makefile: Likewise.
53484 * argp/Makefile: Likewise.
53485 * inet/Makefile: Likewise.
53486 * hesiod/Makefile: Likewise.
53487 * grp/Makefile: Likewise.
53488 * csu/Makefile: Likewise.
53489 * wctype/Makefile: Likewise.
53490 * crypt/Makefile: Likewise.
53491 * libio/Makefile: Likewise.
53492 * string/Makefile: Likewise.
53493 * nis/Makefile: Likewise.
53494 * resolv/Makefile: Likewise.
53495 * stdio-common/Makefile: Likewise.
53496 * wcsmbs/Makefile: Likewise.
53497 * dlfcn/Makefile: Likewise.
53498 * posix/Makefile: Likewise.
53501 * timezone/Makefile: Don't install timezone files, just the programs
53504 2012-03-06 Ulrich Drepper <drepper@gmail.com>
53506 * nss/databases.def: Add missing gshadow entry.
53508 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
53510 2012-03-06 Marek Polacek <polacek@redhat.com>
53513 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53514 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53515 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53516 * stdio-common/tst-long-dbl-fphex.c: New file.
53518 2012-03-06 David S. Miller <davem@davemloft.net>
53520 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53521 (set_obp_int): New function.
53522 (get_obp_int): New function.
53523 (__get_clockfreq_via_dev_openprom): Likewise.
53524 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53525 Avoid unused variable warnings on 'val' and use builtin_expect.
53526 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53528 (INLINE_CLONE_SYSCALL): Likewise.
53530 2012-03-05 David S. Miller <davem@davemloft.net>
53532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53534 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
53536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53538 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53539 only for |x| >= 40.
53540 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53542 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
53544 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53545 Replace gettimeofday with __vdso_gettimeofday.
53547 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53548 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53549 __vdso_clock_gettime and __vdso_getcpu.
53551 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53552 time with __vdso_time.
53554 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53556 * manual/lang.texi (size_t): Note types to which size_t may be
53557 equivalent with the GNU C Library, but do not describe when
53558 differences between them are significant.
53560 2012-03-05 Andreas Jaeger <aj@suse.de>
53562 * sysdeps/i386/fpu/libm-test-ulps: Update.
53564 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53567 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53568 (__ieee754_pow): Save and restore rounding mode and use
53569 round-to-nearest for main computations.
53570 * math/libm-test.inc (pow_test_tonearest): New function.
53571 (pow_test_towardzero): Likewise.
53572 (pow_test_downward): Likewise.
53573 (pow_test_upward): Likewise.
53574 (main): Call the new functions.
53575 * sysdeps/i386/fpu/libm-test-ulps: Update.
53576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53579 * math/libm-test.inc (cosh_test_tonearest): New function.
53580 (cosh_test_towardzero): Likewise.
53581 (cosh_test_downward): Likewise.
53582 (cosh_test_upward): Likewise.
53583 (sinh_test_tonearest): Likewise.
53584 (sinh_test_towardzero): Likewise.
53585 (sinh_test_downward): Likewise.
53586 (sinh_test_upward): Likewise.
53587 (main): Call the new functions.
53588 * sysdeps/i386/fpu/libm-test-ulps: Update.
53589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53591 2012-03-05 Tom de Vries <tom@codesourcery.com>
53593 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53594 default stack guard is set in last bytes.
53595 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53597 2012-03-05 Kees Cook <keescook@chromium.org>
53599 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53602 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53603 possibly allocate from heap instead of stack.
53604 * stdio-common/bug-vfprintf-nargs.c: New file.
53605 * stdio-common/Makefile (tests): Add nargs overflow test.
53607 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
53609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53611 2012-03-03 Marek Polacek <polacek@redhat.com>
53613 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53614 * math/math_private.h: Likewise.
53615 * stdlib/tst-strtod.c: Likewise.
53616 * sysdeps/i386/i486/bits/atomic.h: Likewise.
53617 * sysdeps/x86_64/bits/atomic.h: Likewise.
53619 2012-03-02 David S. Miller <davem@davemloft.net>
53621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53625 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53626 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53627 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53628 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53630 2012-03-02 Roland McGrath <roland@hack.frob.com>
53633 * manual/examples/README: New file, says the example source files
53634 can be used under GPL>=2.
53635 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53636 line containing just "*/".
53637 * manual/examples/add.c: Add copyright header (GPL>=2).
53638 * manual/examples/argp-ex1.c: Likewise.
53639 * manual/examples/argp-ex2.c: Likewise.
53640 * manual/examples/argp-ex3.c: Likewise.
53641 * manual/examples/argp-ex4.c: Likewise.
53642 * manual/examples/atexit.c: Likewise.
53643 * manual/examples/db.c: Likewise.
53644 * manual/examples/dir.c: Likewise.
53645 * manual/examples/dir2.c: Likewise.
53646 * manual/examples/execinfo.c: Likewise.
53647 * manual/examples/filecli.c: Likewise.
53648 * manual/examples/filesrv.c: Likewise.
53649 * manual/examples/fmtmsgexpl.c: Likewise.
53650 * manual/examples/genpass.c: Likewise.
53651 * manual/examples/inetcli.c: Likewise.
53652 * manual/examples/inetsrv.c: Likewise.
53653 * manual/examples/isockad.c: Likewise.
53654 * manual/examples/longopt.c: Likewise.
53655 * manual/examples/memopen.c: Likewise.
53656 * manual/examples/memstrm.c: Likewise.
53657 * manual/examples/mkfsock.c: Likewise.
53658 * manual/examples/mkisock.c: Likewise.
53659 * manual/examples/mygetpass.c: Likewise.
53660 * manual/examples/pipe.c: Likewise.
53661 * manual/examples/popen.c: Likewise.
53662 * manual/examples/rprintf.c: Likewise.
53663 * manual/examples/search.c: Likewise.
53664 * manual/examples/select.c: Likewise.
53665 * manual/examples/setjmp.c: Likewise.
53666 * manual/examples/sigh1.c: Likewise.
53667 * manual/examples/sigusr.c: Likewise.
53668 * manual/examples/stpcpy.c: Likewise.
53669 * manual/examples/strdupa.c: Likewise.
53670 * manual/examples/strftim.c: Likewise.
53671 * manual/examples/strncat.c: Likewise.
53672 * manual/examples/subopt.c: Likewise.
53673 * manual/examples/swapcontext.c: Likewise.
53674 * manual/examples/termios.c: Likewise.
53675 * manual/examples/testopt.c: Likewise.
53676 * manual/examples/testpass.c: Likewise.
53677 * manual/examples/timeval_subtract.c: Likewise.
53680 * manual/time.texi (Elapsed Time): Move timeval_subtract example
53682 * manual/timeval_subtract.c.texi: ... here, new file.
53684 2012-03-02 David S. Miller <davem@davemloft.net>
53686 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53688 2012-03-02 Joseph Myers <joseph@codesourcery.com>
53691 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53692 (__sin): Save and restore rounding mode and use round-to-nearest
53693 for all computations.
53694 (__cos): Save and restore rounding mode and use round-to-nearest
53695 for all computations.
53696 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53698 (tan): Save and restore rounding mode and use round-to-nearest for
53700 * math/libm-test.inc (cos_test_tonearest): New function.
53701 (cos_test_towardzero): Likewise.
53702 (cos_test_downward): Likewise.
53703 (cos_test_upward): Likewise.
53704 (sin_test_tonearest): Likewise.
53705 (sin_test_towardzero): Likewise.
53706 (sin_test_downward): Likewise.
53707 (sin_test_upward): Likewise.
53708 (tan_test_tonearest): Likewise.
53709 (tan_test_towardzero): Likewise.
53710 (tan_test_downward): Likewise.
53711 (tan_test_upward): Likewise.
53712 (main): Call the new functions.
53713 * sysdeps/i386/fpu/libm-test-ulps: Update.
53714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53717 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53718 small n, then large n, before computing and testing k+n.
53719 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53720 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53722 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53724 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53725 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53726 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53727 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53728 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53729 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53730 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53731 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53732 * math/libm-test.inc (scalbn_test): Add more tests.
53733 (scalbln_test): Likewise.
53735 * manual/filesys.texi (mode_t): Describe constraints on size and
53736 signedness, not exact equivalence to a particular type.
53738 (ino64_t): Likewise.
53740 (nlink_t): Likewise.
53741 (blkcnt_t): Likewise.
53742 (blkcnt64_t): Likewise.
53743 * manual/llio.texi (off_t): Likewise.
53746 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53747 (__ieee754_exp): Save and restore rounding mode and use
53748 round-to-nearest for all computations.
53749 * math/libm-test.inc (exp_test_tonearest): New function.
53750 (exp_test_towardzero): Likewise.
53751 (exp_test_downward): Likewise.
53752 (exp_test_upward): Likewise.
53753 (main): Call the new functions.
53754 * sysdeps/i386/fpu/libm-test-ulps: Update.
53755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53757 2012-03-01 Chris Demetriou <cgd@google.com>
53759 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53760 have predictable order.
53762 2012-03-01 David S. Miller <davem@davemloft.net>
53764 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53766 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53767 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53768 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53769 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53771 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53772 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53773 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53775 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53776 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53777 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53778 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53779 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53783 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53784 * sysdeps/sparc/fpu/libm-test-ulps: to here.
53785 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53787 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53788 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53789 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53790 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53791 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53792 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53793 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53794 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53795 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53796 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53797 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53798 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53799 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53800 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53801 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53802 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53803 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53804 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53805 * sysdeps/sparc/elf/configure: Regenerated.
53807 2012-03-01 Joseph Myers <joseph@codesourcery.com>
53809 * configure.in (AS, LD): Require binutils 2.20 or later.
53810 * configure: Regenerated.
53811 * manual/install.texi (Tools for Compilation): Give binutils 2.20
53812 as required minimum version.
53813 * INSTALL: Regenerated.
53817 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53818 before squaring exponent.
53819 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53820 bottom long double and 27 bits of top long double before squaring
53822 * math/libm-test.inc (erfc_test): Add more tests.
53823 * sysdeps/i386/fpu/libm-test-ulps: Update.
53824 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53827 2012-03-01 Kai Tietz <ktietz@redhat.com>
53829 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53830 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53831 containing bit-fields.
53832 * soft-fp/extended.h (_FP_UNION_E): Likewise.
53833 * soft-fp/single.h (_FP_UNION_S): Likewise.
53834 * soft-fp/double.h (_FP_UNION_D): Likewise.
53836 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53839 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53840 not include ../strcmp.S.
53841 [USE_AS_STRNCASECMP_L]: Likewise.
53842 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53843 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53844 * sysdeps/i386/i686/multiarch/strncase_l-c.c
53845 (__strncasecmp_l_ia32): Define as alias to
53846 __strncasecmp_l_nonascii.
53849 * math/libm-test.inc (expm1_test): Add test for bug 5794.
53850 * sysdeps/i386/fpu/libm-test-ulps: Update.
53851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53853 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53856 2012-02-29 Jeff Law <law@redhat.com>
53858 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53859 out of bounds read.
53861 2012-02-29 Marek Polacek <polacek@redhat.com>
53864 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53865 * elf/Makefile: Add rules to run tst-unused-dep.out.
53867 2012-02-28 David S. Miller <davem@davemloft.net>
53869 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53870 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53871 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53872 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53873 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53874 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53876 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53878 * math/libm-test.inc (llround_test): Move one test from
53879 lround_test. Use TEST_f_L in moved test.
53880 (lround_test): Move misplaced test to llround_test. Add testcase
53883 2012-02-28 Ulrich Drepper <drepper@gmail.com>
53885 * sysdeps/x86_64/fpu/e_expf.S: New file.
53886 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53888 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
53891 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53892 of remain_len that may cause incomplete multi-byte character and
53894 * posix/bug-regex33.c: New file.
53895 * posix/Makefile (tests): Add bug-regex33.
53897 2012-02-28 Joseph Myers <joseph@codesourcery.com>
53899 * manual/macros.texi: New file.
53900 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53901 * manual/libc.texinfo: Include macros.texi.
53902 * manual/creatute.texi: Likewise.
53903 * manual/install.texi: Likewise.
53904 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53905 @glibcadj{} in references to the GNU C Library.
53906 * manual/charset.texi: Likewise.
53907 * manual/conf.texi: Likewise.
53908 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
53909 when not using those macros.
53910 * manual/creature.texi: Likewise.
53911 * manual/crypt.texi: Likewise.
53912 * manual/errno.texi: Likewise.
53913 * manual/filesys.texi: Likewise.
53914 * manual/header.texi: Likewise.
53915 * manual/install.texi: Likewise.
53916 * manual/intro.texi: Likewise.
53917 * manual/io.texi: Likewise.
53918 * manual/job.texi: Likewise.
53919 * manual/lang.texi: Likewise.
53920 * manual/libc.texiinfo: Likewise.
53921 * manual/llio.texi: Likewise.
53922 * manual/locale.texi: Likewise.
53923 * manual/maint.texi: Likewise.
53924 * manual/math.texi: Likewise.
53925 * manual/memory.texi: Likewise.
53926 * manual/message.texi: Likewise.
53927 * manual/nss.texi: Likewise.
53928 * manual/pattern.texi: Likewise.
53929 * manual/process.texi: Likewise.
53930 * manual/resource.texi: Likewise.
53931 * manual/search.texi: Likewise.
53932 * manual/setjmp.texi: Likewise.
53933 * manual/signal.texi: Likewise.
53934 * manual/socket.texi: Likewise.
53935 * manual/startup.texi: Likewise.
53936 * manual/stdio.texi: Likewise.
53937 * manual/string.texi: Likewise.
53938 * manual/sysinfo.texi: Likewise.
53939 * manual/syslog.texi: Likewise.
53940 * manual/terminal.texi: Likewise.
53941 * manual/time.texi: Likewise.
53942 * manual/users.texi: Likewise.
53943 * INSTALL: Regenerated.
53944 * NOTES: Regenerated.
53945 * sysdeps/gnu/errlist.c: Regenerated.
53947 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
53949 * include/dirent.h: Include <dirstream.h> before
53952 2012-02-28 David S. Miller <davem@davemloft.net>
53954 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53955 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53956 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53957 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53959 2012-02-27 David S. Miller <davem@davemloft.net>
53961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53963 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53964 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53967 frame pointer instead of stack pointer relative arg slot.
53968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53969 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53970 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53972 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
53975 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53977 2012-02-27 David S. Miller <davem@davemloft.net>
53979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53983 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53984 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53985 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53986 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53988 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53990 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53991 later. Allow versions 5-9.
53992 * configure: Regenerated.
53993 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53994 required minimum version and 4.6 as recommended version. Do not
53995 mention bugs in GCC 2.7 and 2.8.
53996 * INSTALL: Regenerated.
53998 2012-02-27 David S. Miller <davem@davemloft.net>
54000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
54001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
54002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
54003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54004 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54005 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54006 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54007 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54009 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54010 manipulate bits before adding and subtracting TWO112[sx].
54011 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54013 2012-02-27 Roland McGrath <roland@hack.frob.com>
54016 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54017 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54018 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54019 being in POSIX, because they are in 1003.1-2008.
54021 * rt/tst-aio.c: Include <fcntl.h>.
54022 * rt/tst-aio7.c: Likewise.
54023 * rt/tst-aio64.c: Likewise.
54025 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54027 2012-02-27 Joseph Myers <joseph@codesourcery.com>
54029 * manual/install.texi (--with-headers): Describe headers as
54030 interface headers, not private headers.
54031 (Specific advice for GNU/Linux systems): Describe use of headers
54032 from "make headers_install", not private headers from older
54034 * INSTALL: Regenerated.
54035 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54037 * sysdeps/unix/sysv/linux/configure: Regenerated.
54039 * manual/llio.texi (fclean): Remove documentation.
54041 * manual/Makefile (libc-texi-generated): New variable. Include
54043 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54044 $(libc-texi-generated), not duplicated list of files.
54045 (version.texi, stamp-version): New rules.
54046 (realclean): Remove $(libc-texi-generated), not individual files
54047 from that list. Do not remove dir-add.texinfo.
54048 * manual/libc.texinfo: Comment out uses of edition numbers and
54049 references to printed manual. Remove last-updated dates.
54050 (EDITION): Comment out.
54052 (VERSION, UPDATED): Remove.
54053 (version.texi): Include.
54055 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
54057 * sysdeps/posix/spawni.c: Include <signal.h>.
54058 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54059 * sysdeps/pthread/aio_fsync.c: Likewise.
54061 2012-02-26 Ulrich Drepper <drepper@gmail.com>
54063 * conform/Makefile (tests): Run only when not cross-compiling and
54064 when fast-check is not defined.
54066 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54067 * conform/data/limits.h-data: Fixes for POSIX2008.
54068 * conform/run-conformtest.sh: Run all tests.
54069 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54071 * include/bits/dlfcn.h: Likewise.
54072 * include/langinfo.h: Likewise.
54073 * include/monetary.h: Likewise.
54074 * include/sys/poll.h: Likewise.
54076 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54078 * posix/spawn.h: Define __need_sigset_t.
54079 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54080 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54081 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
54082 to get sigevent_t only.
54083 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54084 only for __USE_GNU.
54085 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54086 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54087 process_vm_writev only for __USE_GNU.
54088 * termios/termios.h: Declare tcgetsid also for POSIX2008.
54090 * conform/Makefile: For now ignore errors from run-conformtest.
54091 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
54092 POSIX to avoid namespace pollution. Don't prepend headers.
54093 * conform/data/aio.h-data: Fixes for POSIX testing.
54094 * conform/data/fcntl.h-data: Likewise.
54095 * conform/data/glob.h-data: Likewise.
54096 * conform/data/grp.h-data: Likewise.
54097 * conform/data/pthread.h-data: Likewise.
54098 * conform/data/pwd.h-data: Likewise.
54099 * conform/data/signal.h-data: Likewise.
54100 * conform/data/spawn.h-data: Likewise.
54101 * conform/data/stdio.h-data: Likewise.
54102 * conform/data/stdlib.h-data: Likewise.
54103 * conform/data/stropts.h-data: Likewise.
54104 * conform/data/sys/mman.h-data: Likewise.
54105 * conform/data/sys/stat.h-data: Likewise.
54106 * conform/data/sys/types.h-data: Likewise.
54107 * conform/data/sys/wait.h-data: Likewise.
54108 * conform/data/time.h-data: Likewise.
54109 * conform/data/unistd.h-data: Likewise.
54110 * conform/data/utime.h-data: Likewise.
54112 * io/sys/stat.h: fchmod was always in POSIX.
54113 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54114 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54115 * rt/aio.h: Define __need_timespec before including <time.h>.
54116 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54117 struct. Add forward declaration of pthread_attr_t and use it in
54119 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54120 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54121 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54122 always remove CLK_TCK definition.
54124 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
54126 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54128 2012-02-25 Ulrich Drepper <drepper@gmail.com>
54130 * conform/run-conformtest.sh: New file.
54131 * conform/Makefile: Run run-conformtest for tests.
54132 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
54135 * conform/data/uchar.h-data: New file.
54136 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54137 * conform/data/arpa/inet.h-data: Likewise.
54138 * conform/data/assert.h-data: Likewise.
54139 * conform/data/complex.h-data: Likewise.
54140 * conform/data/cpio.h-data: Likewise.
54141 * conform/data/ctype.h-data: Likewise.
54142 * conform/data/dirent.h-data: Likewise.
54143 * conform/data/dlfcn.h-data: Likewise.
54144 * conform/data/errno.h-data: Likewise.
54145 * conform/data/fcntl.h-data: Likewise.
54146 * conform/data/float.h-data: Likewise.
54147 * conform/data/fmtmsg.h-data: Likewise.
54148 * conform/data/fnmatch.h-data: Likewise.
54149 * conform/data/ftw.h-data: Likewise.
54150 * conform/data/glob.h-data: Likewise.
54151 * conform/data/grp.h-data: Likewise.
54152 * conform/data/iconv.h-data: Likewise.
54153 * conform/data/inttypes.h-data: Likewise.
54154 * conform/data/langinfo.h-data: Likewise.
54155 * conform/data/libgen.h-data: Likewise.
54156 * conform/data/limits.h-data: Likewise.
54157 * conform/data/locale.h-data: Likewise.
54158 * conform/data/math.h-data: Likewise.
54159 * conform/data/monetary.h-data: Likewise.
54160 * conform/data/mqueue.h-data: Likewise.
54161 * conform/data/ndbm.h-data: Likewise.
54162 * conform/data/net/if.h-data: Likewise.
54163 * conform/data/netdb.h-data: Likewise.
54164 * conform/data/netinet/in.h-data: Likewise.
54165 * conform/data/nl_types.h-data: Likewise.
54166 * conform/data/poll.h-data: Likewise.
54167 * conform/data/pthread.h-data: Likewise.
54168 * conform/data/pwd.h-data: Likewise.
54169 * conform/data/regex.h-data: Likewise.
54170 * conform/data/sched.h-data: Likewise.
54171 * conform/data/search.h-data: Likewise.
54172 * conform/data/semaphore.h-data: Likewise.
54173 * conform/data/setjmp.h-data: Likewise.
54174 * conform/data/signal.h-data: Likewise.
54175 * conform/data/spawn.h-data: Likewise.
54176 * conform/data/stdarg.h-data: Likewise.
54177 * conform/data/stdio.h-data: Likewise.
54178 * conform/data/stdlib.h-data: Likewise.
54179 * conform/data/string.h-data: Likewise.
54180 * conform/data/strings.h-data: Likewise.
54181 * conform/data/stropts.h-data: Likewise.
54182 * conform/data/sys/ipc.h-data: Likewise.
54183 * conform/data/sys/mman.h-data: Likewise.
54184 * conform/data/sys/msg.h-data: Likewise.
54185 * conform/data/sys/resource.h-data: Likewise.
54186 * conform/data/sys/select.h-data: Likewise.
54187 * conform/data/sys/sem.h-data: Likewise.
54188 * conform/data/sys/shm.h-data: Likewise.
54189 * conform/data/sys/socket.h-data: Likewise.
54190 * conform/data/sys/stat.h-data: Likewise.
54191 * conform/data/sys/statvfs.h-data: Likewise.
54192 * conform/data/sys/time.h-data: Likewise.
54193 * conform/data/sys/timeb.h-data: Likewise.
54194 * conform/data/sys/times.h-data: Likewise.
54195 * conform/data/sys/types.h-data: Likewise.
54196 * conform/data/sys/uio.h-data: Likewise.
54197 * conform/data/sys/un.h-data: Likewise.
54198 * conform/data/sys/utsname.h-data: Likewise.
54199 * conform/data/sys/wait.h-data: Likewise.
54200 * conform/data/syslog.h-data: Likewise.
54201 * conform/data/tar.h-data: Likewise.
54202 * conform/data/termios.h-data: Likewise.
54203 * conform/data/utime.h-data: Likewise.
54204 * conform/data/utmpx.h-data: Likewise.
54205 * conform/data/varargs.h-data: Likewise.
54206 * conform/data/wchar.h-data: Likewise.
54207 * conform/data/wctype.h-data: Likewise.
54208 * conform/data/wordexp.h-data: Likewise.
54210 * include/stropts.h: New file.
54211 * include/uchar.h: New file.
54212 * include/aio.h: Changes to allow conformtest.pl to use the headers.
54213 * include/assert.h: Likewise.
54214 * include/ctype.h: Likewise.
54215 * include/dirent.h: Likewise.
54216 * include/dlfcn.h: Likewise.
54217 * include/fcntl.h: Likewise.
54218 * include/fnmatch.h: Likewise.
54219 * include/glob.h: Likewise.
54220 * include/grp.h: Likewise.
54221 * include/libio.h: Likewise.
54222 * include/locale.h: Likewise.
54223 * include/math.h: Likewise.
54224 * include/net/if.h: Likewise.
54225 * include/netdb.h: Likewise.
54226 * include/netinet/in.h: Likewise.
54227 * include/pthread.h: Likewise.
54228 * include/pwd.h: Likewise.
54229 * include/regex.h: Likewise.
54230 * include/sched.h: Likewise.
54231 * include/search.h: Likewise.
54232 * include/setjmp.h: Likewise.
54233 * include/signal.h: Likewise.
54234 * include/stdio.h: Likewise.
54235 * include/stdlib.h: Likewise.
54236 * include/string.h: Likewise.
54237 * include/sys/cdefs.h: Likewise.
54238 * include/sys/mman.h: Likewise.
54239 * include/sys/msg.h: Likewise.
54240 * include/sys/resource.h: Likewise.
54241 * include/sys/select.h: Likewise.
54242 * include/sys/socket.h: Likewise.
54243 * include/sys/stat.h: Likewise.
54244 * include/sys/statvfs.h: Likewise.
54245 * include/sys/time.h: Likewise.
54246 * include/sys/times.h: Likewise.
54247 * include/sys/uio.h: Likewise.
54248 * include/sys/utsname.h: Likewise.
54249 * include/sys/wait.h: Likewise.
54250 * include/termios.h: Likewise.
54251 * include/time.h: Likewise.
54252 * include/ulimit.h: Likewise.
54253 * include/unistd.h: Likewise.
54254 * include/utime.h: Likewise.
54255 * include/wchar.h: Likewise.
54256 * include/wctype.h: Likewise.
54257 * include/wordexp.h: Likewise.
54259 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54261 * time/time.h: TIME_UTC must be a macro.
54262 Make timespec_get available for ISO C11 only as well.
54264 2012-02-24 Ulrich Drepper <drepper@gmail.com>
54266 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54267 Reported by Peng Haitao <penght@cn.fujitsu.com>.
54269 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54271 * configure.in: Use -o not -a in test for unsupported multi-arch.
54273 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54275 * manual/texinfo.tex: Update to version 2012-01-19.16.
54277 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54279 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54281 2012-02-24 Roland McGrath <roland@hack.frob.com>
54284 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54285 * manual/fdl-1.3.texi: New file.
54286 * manual/fdl-1.1.texi: File removed.
54289 * manual/libc.texinfo (FDL_VERSION): New @set.
54290 Use it for mention of FDL in cover text.
54291 (Documentation License): Use it in @include file name.
54293 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54294 Roland McGrath <roland@hack.frob.com>
54297 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54298 (not LONG_LONG_MAX and LONG_LONG_MIN.
54299 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54300 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
54302 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54304 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54308 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54309 manipulate bits before adding and subtracting TWO23[sx].
54310 * math/libm-test.inc (nearbyint_test): Add more tests.
54312 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54315 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54316 bits before adding and subtracting TWO23[sx].
54317 * math/libm-test.inc (rint_test): Add more tests.
54318 (rint_test_tonearest): Likewise.
54319 (rint_test_towardzero): Likewise.
54320 (rint_test_downward): Likewise.
54321 (rint_test_upward: Likewise.
54323 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54326 * include/stdc-predef.h: New file. Extracted from features.h.
54327 * include/features.h: Include stdc-predef.h.
54328 * Makefile (headers): Add stdc-predef.h.
54329 * CONFORMANCE (Compiler limitations): Update.
54331 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54333 * manual/libc.texinfo (VERSION, UPDATED): Revert.
54335 2012-02-21 David S. Miller <davem@davemloft.net>
54337 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54338 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54340 2012-02-20 David S. Miller <davem@davemloft.net>
54342 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54343 using a normal save/restore sequence, rather than allocating a
54344 dummy stack frame just to store a frame pointer and restore.
54345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54347 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54349 * manual/install.texi: Fix stray word in line-wrapped comment.
54351 2012-02-20 David S. Miller <davem@davemloft.net>
54353 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54354 both binutils and gcc support GOTDATA.
54356 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54357 "rd %pc" in the PIC register setup sequences.
54359 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54360 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54361 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54362 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54363 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54364 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54365 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54366 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54368 (SYSCALL_ERROR_HANDLER): Likewise.
54369 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54370 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54371 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54372 (SYSCALL_ERROR_HANDLER): Likewise.
54374 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54375 (HAVE_GCC_GOTDATA): New.
54376 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54377 relocation support in both binutils and gcc.
54378 * sysdeps/sparc/elf/configure: Regenerate.
54380 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54381 * sysdeps/sparc/sparc32/elf/configure: Delete.
54382 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54383 * sysdeps/sparc/sparc64/elf/configure: Delete.
54384 * sysdeps/sparc/elf/configure.in: New file.
54385 * sysdeps/sparc/elf/configure: Generate.
54387 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54388 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54389 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54390 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54391 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54393 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54395 * manual/install.texi: Do not mention specific glibc version
54397 * manual/libc.texinfo (VERSION, UPDATED): Update.
54398 (@copying): Use @copyright{} and range of years.
54400 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54403 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54404 [crti.S not in sysdirs] (generated): Do not append.
54405 [crti.S not in sysdirs] (omit-deps): Likewise.
54406 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54407 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54408 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54409 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54410 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54412 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54413 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54414 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54415 * csu/defs.awk: Remove file.
54416 * sysdeps/generic/initfini.c: Likewise.
54417 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54419 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54422 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54424 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54425 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54426 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54427 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54428 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54429 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54431 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54432 (__EPOLL_PACKED): Define to empty if not defined by
54434 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54438 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54440 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54441 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54442 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54443 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54445 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54449 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54451 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54453 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54454 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54455 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54458 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
54460 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54461 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54463 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
54465 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54466 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54468 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54470 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54473 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
54475 * math/w_acos.c: Use non-signaling floating-point comparisons.
54476 * math/w_acosf.c: Likewise.
54477 * math/w_acosh.c: Likewise.
54478 * math/w_acoshf.c: Likewise.
54479 * math/w_acoshl.c: Likewise.
54480 * math/w_acosl.c: Likewise.
54481 * math/w_asin.c: Likewise.
54482 * math/w_asinf.c: Likewise.
54483 * math/w_asinl.c: Likewise.
54484 * math/w_atanh.c: Likewise.
54485 * math/w_atanhf.c: Likewise.
54486 * math/w_atanhl.c: Likewise.
54487 * math/w_exp2.c: Likewise.
54488 * math/w_exp2f.c: Likewise.
54489 * math/w_exp2l.c: Likewise.
54490 * math/w_j0.c: Likewise.
54491 * math/w_j0f.c: Likewise.
54492 * math/w_j0l.c: Likewise.
54493 * math/w_j1.c: Likewise.
54494 * math/w_j1f.c: Likewise.
54495 * math/w_j1l.c: Likewise.
54496 * math/w_jn.c: Likewise.
54497 * math/w_jnf.c: Likewise.
54498 * math/w_log.c: Likewise.
54499 * math/w_log10.c: Likewise.
54500 * math/w_log10f.c: Likewise.
54501 * math/w_log10l.c: Likewise.
54502 * math/w_log2.c: Likewise.
54503 * math/w_log2f.c: Likewise.
54504 * math/w_log2l.c: Likewise.
54505 * math/w_logf.c: Likewise.
54506 * math/w_logl.c: Likewise.
54507 * math/w_sqrt.c: Likewise.
54508 * math/w_sqrtf.c: Likewise.
54509 * math/w_sqrtl.c: Likewise.
54510 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54511 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54512 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54513 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54514 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54516 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54519 * manual/string.texi (strnlen): Use correct parameter name in
54520 equivalent expression.
54522 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54525 * manual/users.texi (seteuid): Consistently use neweuid for
54528 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54531 * manual/nss.texi (Services in the NSS configuration): Correct
54532 list of services in example configuration file.
54534 2012-02-19 Nick Bowler <nbowler@draconx.ca>
54537 * manual/arith.texi: Remove statements about negative zero
54538 behaving identically to zero.
54540 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54543 * manual/install.texi: Do not document upgrading from libc5.
54545 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54548 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54550 2012-02-18 David S. Miller <davem@davemloft.net>
54552 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54553 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54554 %o7 across the call.
54555 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54557 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54558 SETUP_PIC_REG_LEAF.
54559 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54560 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54561 * sysdeps/sparc/crtn.S: Likewise.
54563 2012-02-17 Ulrich Drepper <drepper@gmail.com>
54565 * aout/Makefile: Remove.
54567 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
54570 * manual/examples/argp-ex1.c (main): Format definition in GNU
54572 * manual/examples/argp-ex2.c (main): Likewise.
54573 * manual/examples/argp-ex3.c (main): Likewise.
54574 * manual/examples/argp-ex4.c (main): Likewise.
54575 * manual/examples/longopt.c (main): Use new-style prototype
54577 * manual/examples/strncat.c (main): Specify return type and use
54578 (void) for arguments.
54579 * manual/examples/subopt.c (main): Use char **argv argument.
54581 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54584 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54587 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
54590 * manual/string.texi (strchr): Change when strchrnul is
54593 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
54596 * manual/locale.texi (setlocale): Document LOCPATH.
54598 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54601 * manual/process.texi (execle): Move @dots{} before last argument.
54603 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
54606 * manual/charset.texi (Generic Charset Conversion): Fix typo
54607 (LC_TYPE -> LC_CTYPE).
54609 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
54612 * manual/arith.texi (scalbn): Use @var{} on parameter names.
54613 (scalbnf): Likewise.
54614 (scalbnl): Likewise.
54615 (scalbln): Likewise.
54616 (scalblnf): Likewise.
54617 (scalblnl): Likewise.
54618 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54619 (vwarnx): Likewise.
54622 * manual/filesys.texi (telldir): Use braces around return type.
54623 * manual/llio.texi (mmap): Add space after comma.
54624 (mmap64): Likewise.
54625 * manual/math.texi (jn): Use @var{} on parameter names.
54631 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54633 * manual/resource.texi (ulimit): Use @dots{} instead of literal
54635 (sched_get_priority_min): Remove semicolon on @deftypefun line.
54636 (sched_get_priority_max): Likewise.
54637 * manual/signal.texi (sigvec): Add space after comma.
54638 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54640 (if_indextoname): Likewise.
54641 (if_freenameindex): Likewise.
54642 (sendto): Use ',' instead of '.' in prototype.
54643 * manual/startup.texi (syscall): Use @dots{} instead of literal
54645 * manual/stdio.texi (__fpending): Separate initial words of
54646 paragraph from @deftypefun line.
54647 * manual/syslog.texi (syslog): Use @dots{} instead of literal
54649 (vsyslog): Use @var{} on parameter names.
54650 * manual/terminal.texi (stty): Use @var{} on parameter names.
54651 * manual/users.texi (getutmp): Use @var{} on parameter names.
54652 (getutmpx): Likewise.
54654 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54657 * manual/stdio.texi (fopen): Fix typos in description of
54660 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
54663 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54664 get clock_id definition.
54666 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
54669 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54670 (madvise): Cast every argument to void on its own.
54672 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54675 * manual/startup.texi (Exit Status): Fix typo.
54677 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54680 * manual/examples/argp-ex1.c: Include <stdlib.h>.
54681 * manual/examples/argp-ex2.c: Likewise.
54682 * manual/examples/argp-ex3.c: Likewise.
54684 2012-02-16 Richard Henderson <rth@redhat.com>
54686 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54687 * sysdeps/s390/s390-32/initfini.c: Remove.
54688 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54689 * sysdeps/s390/s390-64/initfini.c: Remove.
54691 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54693 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54694 compiler output for sysdeps/generic/initfini.c.
54695 * sysdeps/sh/elf/initfini.c: Remove file.
54697 2012-02-16 David S. Miller <davem@davemloft.net>
54700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54702 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54703 * sysdeps/sparc/crti.S: New file.
54704 * sysdeps/sparc/crtn.S: New file.
54705 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54706 * sysdeps/sparc/sparc64/Makefile: Likewise.
54708 2012-02-15 Mike Frysinger <vapier@gentoo.org>
54711 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54713 2012-02-15 Roland McGrath <roland@hack.frob.com>
54716 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54718 * mach/devstream.c (cookie_io_functions_t): Macro removed.
54719 (write, read, close): Likewise.
54720 Patch by Aurelien Jarno <aurelien@aurel32.net>.
54722 2012-02-15 Joseph Myers <joseph@codesourcery.com>
54724 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54725 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54726 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54727 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54729 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54733 2012-02-14 Marek Polacek <polacek@redhat.com>
54735 * sysdeps/x86_64/crti.S: New file.
54736 * sysdeps/x86_64/crtn.S: New file.
54737 * sysdeps/x86_64/elf/initfini.c: Remove file.
54739 2012-02-13 Joseph Myers <joseph@codesourcery.com>
54741 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54742 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54743 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54744 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54746 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54750 2012-02-13 Joseph Myers <joseph@codesourcery.com>
54752 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54753 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54754 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54755 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54757 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54761 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
54763 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54764 __feraiseexcept instead of feraiseexcept.
54766 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54767 nanosleep invocations.
54768 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54769 strings, and add error checking for a nanosleep invocations.
54771 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
54773 Replace FSF snail mail address with URLs, as per GNU coding standards.
54774 Most of the snail mail addresses were wrong anyway, and omitting
54775 them makes the source code easier to maintain. Almost all of the
54776 changes are to license notices and to locale LC_IDENTIFICATION
54777 addresses, except for this one:
54778 * manual/libc.texinfo: In "Published by", give the FSF's URL,
54779 not its snail mail address.
54781 2012-02-09 Richard Henderson <rth@twiddle.net>
54783 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54784 of kernel-features.h.
54786 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54788 2012-02-08 Marek Polacek <polacek@redhat.com>
54790 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54791 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54792 * sysdeps/gnu/_G_config.h: Likewise.
54793 * sysdeps/generic/_G_config.h: Likewise.
54795 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
54797 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54801 * sysdeps/powerpc/powerpc32/crti.S: New file.
54802 * sysdeps/powerpc/powerpc32/crtn.S: New file.
54803 * sysdeps/powerpc/powerpc64/crti.S: New file.
54804 * sysdeps/powerpc/powerpc64/crtn.S: New file.
54806 * Makeconfig (have-initfini): Don't set.
54807 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54808 * configure.in (nopic_initfini): Don't substitute.
54809 * config.h.in (HAVE_INITFINI): Don't #undef.
54810 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54811 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54813 2012-02-08 Joseph Myers <joseph@codesourcery.com>
54815 Support crti.S and crtn.S provided directly by architectures.
54816 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54817 [crti.S in sysdirs] (omit-deps): Likewise.
54818 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54819 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54820 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54821 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54822 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54823 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54824 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54825 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54826 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54827 compiler output for sysdeps/generic/initfini.c.
54828 * sysdeps/i386/elf/Makefile: Remove file.
54829 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54831 2012-02-07 Marek Polacek <polacek@redhat.com>
54833 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54834 * sysdeps/gnu/_G_config.h: Likewise.
54835 * sysdeps/mach/hurd/_G_config.h: Likewise.
54837 2012-02-07 Marek Polacek <polacek@redhat.com>
54839 * math/Makefile (tests): Add tst-CMPLX2.
54840 * math/tst-CMPLX2.c: New file.
54842 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
54844 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54846 * math/libm-test.inc (jn_test): Add missing L suffix.
54848 2012-02-06 Marek Polacek <polacek@redhat.com>
54850 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54851 * sysdeps/i386/fpu/e_powf.S: Likewise.
54852 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54853 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54854 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54855 * sysdeps/i386/fpu/e_pow.S: Likewise.
54856 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54857 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54858 * sysdeps/i386/fpu/s_expm1.S: Likewise.
54859 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54860 * sysdeps/i386/fpu/e_log2.S: Likewise.
54861 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54862 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54863 * sysdeps/i386/fpu/e_powl.S: Likewise.
54864 * sysdeps/i386/fpu/s_log1p.S: Likewise.
54865 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54866 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54867 * sysdeps/i386/fpu/e_logl.S: Likewise.
54868 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54869 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54870 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54871 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54872 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54873 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54874 * sysdeps/i386/fpu/e_log.S: Likewise.
54875 * sysdeps/i386/fpu/s_cexp.S: Likewise.
54876 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54877 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54878 * sysdeps/i386/fpu/e_logf.S: Likewise.
54879 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54880 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54881 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54882 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54883 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54884 * sysdeps/i386/fpu/e_log10.S: Likewise.
54885 * sysdeps/i386/fpu/s_frexp.S: Likewise.
54886 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54887 * sysdeps/i386/fpu/s_asinh.S: Likewise.
54888 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54889 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54890 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54891 * sysdeps/i386/asm-syntax.h: Likewise.
54892 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54893 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54894 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54895 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54896 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54897 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54898 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54899 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54900 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54901 * sysdeps/powerpc/sysdep.h: Likewise.
54902 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54903 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54905 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54908 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54910 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54912 * sysdeps/i386/sysdep.h: Include <features.h>.
54913 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54916 2012-02-05 Joseph Myers <joseph@codesourcery.com>
54918 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54920 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54923 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54925 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54926 (SETUP_PIC_REG): Use GET_PC_THUNK.
54927 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54930 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54932 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54933 for non-PIC compilation.
54934 (SETUP_PIC_REG): Add .p2align directive.
54935 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54936 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54937 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54938 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54939 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54940 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54941 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54942 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54943 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54944 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54945 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54946 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54947 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54948 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54949 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54950 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54951 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54952 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54953 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54954 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54955 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54956 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54957 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54958 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54959 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54960 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54961 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54962 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54963 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54964 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54965 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54966 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54967 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54968 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54969 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54970 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54971 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54972 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54973 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54974 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54975 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54977 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54979 * math/tst-CMPLX.c: Include <stdio.h>.
54981 2012-01-31 Joseph Myers <joseph@codesourcery.com>
54983 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54985 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54986 * sysdeps/sparc/bits/mathdef.h: Likewise.
54988 2012-01-31 Marek Polacek <polacek@redhat.com>
54990 * libio/libio.h: Don't define _PARAMS.
54991 * locale/programs/config.h: Don't define PARAMS.
54992 * stdlib/strtol_l.c: Likewise.
54993 (__strtol_l): Remove PARAMS from the prototype.
54995 2012-01-31 Ulrich Drepper <drepper@gmail.com>
54997 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
54998 names. Just use the correct names. Remove unnecessary wrapper
55000 * malloc/arena.c: Likewise.
55001 * malloc/hooks.c: Likewise.
55003 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55004 ARENA_TEST says not to. Simplify test for creation of a new arena.
55005 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55007 2012-01-30 Ulrich Drepper <drepper@gmail.com>
55009 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55011 (update_get_addr): New function.
55012 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55013 GET_ADDR_MODULE parameter.
55015 2012-01-30 Joseph Myers <joseph@codesourcery.com>
55017 * crypt/cert.c: Remove __STDC__ conditionals.
55018 * crypt/crypt-entry.c: Likewise.
55019 * crypt/crypt_util.c: Likewise.
55020 * libio/filedoalloc.c: Likewise.
55021 * libio/fileops.c: Likewise.
55022 * libio/genops.c: Likewise.
55023 * libio/iofclose.c: Likewise.
55024 * libio/iofdopen.c: Likewise.
55025 * libio/iofopen.c: Likewise.
55026 * libio/iofopen64.c: Likewise.
55027 * libio/iogetdelim.c: Likewise.
55028 * libio/iopopen.c: Likewise.
55029 * libio/obprintf.c: Likewise.
55030 * libio/oldfileops.c: Likewise.
55031 * libio/oldiofclose.c: Likewise.
55032 * libio/oldiofdopen.c: Likewise.
55033 * libio/oldiofopen.c: Likewise.
55034 * libio/oldiopopen.c: Likewise.
55035 * libio/wfiledoalloc.c: Likewise.
55036 * libio/wgenops.c: Likewise.
55037 * locale/programs/xmalloc.c: Likewise.
55038 * misc/syslog.c: Likewise.
55039 * stdio-common/xbug.c: Likewise.
55040 * string/memchr.c: Likewise.
55041 * string/memcmp.c: Likewise.
55042 * string/memrchr.c: Likewise.
55043 * string/rawmemchr.c: Likewise.
55044 * sysdeps/posix/getcwd.c: Likewise.
55045 * time/strftime_l.c: Likewise.
55047 2012-01-30 Joseph Myers <joseph@codesourcery.com>
55049 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55050 * config.make.in (config-cflags-sse2avx): Define.
55051 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55054 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
55056 * scripts/config.guess: Update from upstream config git repository.
55057 * scripts/config.sub: Likewise.
55059 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
55061 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55063 (R_TILEPRO_*, R_TILEGX_*): New macros.
55065 * scripts/firstversions.awk: Fix bug in version range handling.
55067 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55069 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55071 * include/sys/epoll.h: New file.
55072 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55075 2012-01-28 Ulrich Drepper <drepper@gmail.com>
55077 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55078 Avoid unnecessary __WORDSIZE == 64 test.
55079 (fmaxf): Use VEX format if possible.
55084 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55085 * math/math_private.h: Remove libc_fegetround* and
55087 * sysdeps/i386/configure.in: Check for -msse2avx.
55088 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55089 also if SSE2AVX is defined.
55090 Remove libc_fegetround* and libc_fesetround*.
55091 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55092 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
55093 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55095 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55096 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55097 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55098 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55099 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55101 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55103 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55105 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55107 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55109 2012-01-27 Ulrich Drepper <drepper@gmail.com>
55112 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55114 * Makeconfig (libm): Define.
55115 * elf/Makefile: Add rules to build and run tst-relsort1.
55116 * elf/tst-relsort1.c: New file.
55117 * elf/tst-relsort1mod1.c: New file.
55118 * elf/tst-relsort1mod2.c: New file.
55120 2012-01-27 Joseph Myers <joseph@codesourcery.com>
55122 * math/s_ldexp.c: Remove __STDC__ conditionals.
55123 * math/s_ldexpf.c: Likewise.
55124 * math/s_ldexpl.c: Likewise.
55125 * math/s_nextafter.c: Likewise.
55126 * math/s_nexttowardf.c: Likewise.
55127 * math/s_significand.c: Likewise.
55128 * math/s_significandf.c: Likewise.
55129 * math/s_significandl.c: Likewise.
55130 * math/w_jnl.c: Likewise.
55131 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55132 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55133 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55134 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55135 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55136 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55137 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55138 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55139 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55140 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55141 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55143 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55144 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55145 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55146 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55147 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55148 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55149 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55150 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55151 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55152 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55153 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55154 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55155 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55156 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55157 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55158 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55159 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55160 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55161 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55162 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55163 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55164 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55165 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55166 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55167 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55168 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55169 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55170 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55171 * sysdeps/ieee754/k_standard.c: Likewise.
55172 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55173 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55174 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55175 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55176 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55177 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55178 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55179 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55180 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55181 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55182 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55183 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55184 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55185 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55186 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55187 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55188 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55189 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55190 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55191 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55192 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55193 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55194 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55195 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55196 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55197 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55199 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55201 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55202 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55203 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55204 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55205 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55206 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55207 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55208 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55209 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55210 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55211 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55212 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55214 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55215 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55216 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55217 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55218 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55219 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55220 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55221 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55222 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55223 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55224 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55225 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55226 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55227 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55228 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55229 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55230 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55231 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55232 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55233 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55234 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55235 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55236 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55237 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55238 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55239 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55240 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55241 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55242 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55243 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55244 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55245 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55246 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55247 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55248 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55249 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55250 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55251 * sysdeps/ieee754/s_matherr.c: Likewise.
55252 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55253 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55257 2012-01-26 Joseph Myers <joseph@codesourcery.com>
55259 * crypt/md5.h: Remove __STDC__ conditionals.
55260 * libio/libioP.h: Likewise.
55261 * locale/programs/config.h: Likewise.
55262 * sysdeps/generic/sysdep.h: Likewise.
55263 * sysdeps/i386/asm-syntax.h: Likewise.
55264 * sysdeps/s390/asm-syntax.h: Likewise.
55265 * sysdeps/unix/sysdep.h: Likewise.
55266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55269 2012-01-26 Joseph Myers <joseph@codesourcery.com>
55271 * libio/libio.h: Remove __STDC__ conditionals.
55272 * malloc/obstack.h: Likewise.
55273 * math/complex.h: Likewise.
55274 * math/math.h: Likewise.
55275 * sysdeps/generic/_G_config.h: Likewise.
55276 * sysdeps/gnu/_G_config.h: Likewise.
55277 * sysdeps/mach/hurd/_G_config.h: Likewise.
55278 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55279 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55280 * sysdeps/sparc/bits/mathdef.h: Likewise.
55282 2012-01-26 Ulrich Drepper <drepper@gmail.com>
55285 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55286 Clean up HAS_* macros.
55287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55288 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55290 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55292 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55293 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55294 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55295 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55296 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55298 2012-01-25 Joseph Myers <joseph@codesourcery.com>
55300 * elf/tst-unique3.cc (gets): Remove declaration.
55301 * elf/tst-unique3lib.cc (gets): Likewise.
55302 * elf/tst-unique3lib2.cc (gets): Likewise.
55303 * elf/tst-unique4.cc (gets): Likewise.
55305 2012-01-24 Ulrich Drepper <drepper@gmail.com>
55307 * include/stdio.h: Add C++ protection. Add gets declarations and
55309 * debug/tst-chk1.c: Don't declare gets here.
55310 * stdio-common/tst-gets.c: Likewise.
55312 2012-01-24 Joseph Myers <joseph@codesourcery.com>
55314 * posix/glob: Remove directory.
55316 2012-01-24 Joseph Myers <joseph@codesourcery.com>
55318 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55320 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
55322 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55323 of the non-standard EPFNOSUPPORT.
55325 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
55327 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55328 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55329 ANYWHERE set to 1 only on KERN_NO_SPACE error.
55331 2012-01-21 Ulrich Drepper <drepper@gmail.com>
55333 * wcsmbs/uchar.h: Test __STDC_VERSION__.
55335 2012-01-20 Ulrich Drepper <drepper@gmail.com>
55337 * nscd/aicache.c (addhstaiX): Do not cache negative results of
55339 * nscd/grpcache.c (cache_addgr): Likewise.
55340 * nscd/hstcache.c (cache_addhst): Likewise.
55341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55342 * nscd/pwdcache.c (cache_addpw): Likewise.
55343 * nscd/servicescache.c (cache_addserv): Likewise.
55345 2012-01-16 Ulrich Drepper <drepper@gmail.com>
55347 * malloc/malloc.c: Various cleanups.
55348 * malloc/hooks.c: Likewise.
55350 * stdlib/Makefile (tests): Add bug-fmtmsg1.
55351 * stdlib/bug-fmtmsg1.c: New file.
55353 * stdlib/fmtmsg.c (init): Add missing unlock.
55354 Patch by Peng Haitao <penght@cn.fujitsu.com>.
55356 2012-01-12 Marek Polacek <polacek@redhat.com>
55358 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55361 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
55363 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55364 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55365 macro to ensure uniqueness of label name.
55366 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55367 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55369 2012-01-11 Ulrich Drepper <drepper@gmail.com>
55371 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55373 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55374 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55375 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55376 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55378 2012-01-10 Ulrich Drepper <drepper@gmail.com>
55380 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55382 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55383 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55384 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55386 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55388 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55389 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55390 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55391 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55393 * math/bits/math-finite.h: Add ldexp support.
55395 2012-01-10 Marek Polacek <polacek@redhat.com>
55397 * locale/programs/localedef.h (show_archive_content): Add noreturn
55400 2012-01-09 Ulrich Drepper <drepper@gmail.com>
55402 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55404 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55406 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55408 * io/Makefile (headers): Add bits/poll2.h.
55410 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
55412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55413 typo #include statement.
55415 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55417 * include/sys/cdefs.h: Define __attribute_alloc_size.
55418 * catgets/gencat.c: Add alloc_size attribute and apply consistently
55419 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55420 * elf/pldd.c: Likewise.
55421 * iconv/iconv_charmap.c: Likewise.
55422 * iconv/iconvconfig.c: Likewise.
55423 * iconv/strtab.c: Likewise.
55424 * locale/programs/locale.c: Likewise.
55425 * locale/programs/localedef.h: Likewise.
55426 * locale/programs/simple-hash.c: Likewise.
55427 * nscd/nscd.h: Likewise.
55428 * nss/makedb.c: Likewise.
55429 * sysdeps/generic/ldconfig.h: Likewise.
55430 * locale/programs/localedef.c: Remove xmalloc prototype.
55431 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55433 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55435 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55438 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55440 * math/Makefile (tests): Add tst-CMPLX.
55441 * math/tst-CMPLX.c: New file.
55443 * math/complex.h (CMPLXL): Fix typo.
55445 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55446 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55448 * debug/tst-chk1.c: Add poll and ppoll tests.
55449 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55450 * include/sys/poll.h: Add hidden proto for ppoll.
55451 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55452 * sysdeps/mach/hurd/ppoll.c: Likewise.
55453 * io/ppoll.c: Likewise.
55454 * debug/poll_chk.c: New file.
55455 * debug/ppoll_chk.c: New file.
55456 * include/bits/poll2.h: New file.
55457 * io/bits/poll2.h: New file.
55460 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55462 * configure.in: static is always set to yes. Remove.
55463 * config.make.in: Don't set build-static.
55464 * Makeconfig: Remove use of build-static.
55465 * dlfcn/Makefile: Likewise.
55466 * elf/Makefile: Likewise.
55467 * math/Makefile: Likewise.
55468 * misc/Makefile: Likewise.
55469 * nptl/Makefile: Likewise.
55470 * sysdeps/mach/hurd/Makefile: Likewise.
55472 * configure.in: PWD_P is not used anymore.
55473 * config.make.in: Remove PWD_P entry.
55475 * configure.in: Remove last remnants of RANLIB.
55476 No need to check for signed size_t anymore.
55477 Don't set libc_commonpagesize and libc_relro_required here for Alpha
55479 Remove __builtin_expect test because we require at least gcc 3.4.
55480 * aclocal.m4: Likewise.
55482 * wcsmbs/mbrtoc16.c: Implement using towc function.
55483 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55484 * wcsmbs/wcsmbsload.c: Likewise.
55485 * iconv/gconv_simple.c: Likewise.
55486 * iconv/gconv_int.h: Likewise.
55487 * iconv/gconv_builtin.h: Likewise.
55488 * iconv/iconv_prog.c: Remove CHAR16 handling.
55490 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55492 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55494 * configure.in: Remove --with-elf and --enable-bounded options.
55495 Dont set base_machine for ia64. More non-ELF conditions removed.
55496 Remove testing and setting of leading underscore information.
55497 * config.make.in (build-bounded): Set to no.
55498 * config.h.in: Remove NO_UNDERSCORES entry.
55499 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
55501 * csu/start.c: Remove !NO_UNDERSCORE code.
55502 * locale/localeinfo.h: Likewise.
55503 * sysdeps/generic/machine-gmon.h: Likewise.
55504 * sysdeps/generic/sysdep.h: Likewise.
55505 * sysdeps/i386/sysdep.h: Likewise.
55506 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55507 * sysdeps/mach/sysdep.h: Likewise.
55508 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55509 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55510 * sysdeps/sh/sysdep.h: Likewise.
55511 * sysdeps/sparc/sparc32/alloca.S: Likewise.
55512 * sysdeps/unix/i386/sysdep.S: Likewise.
55513 * sysdeps/unix/sparc/start.c: Likewise.
55514 * sysdeps/unix/sparc/sysdep.S: Likewise.
55515 * sysdeps/unix/sparc/sysdep.h: Likewise.
55516 * sysdeps/unix/start.c: Likewise.
55517 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55518 * sysdeps/x86_64/sysdep.h: Likewise.
55520 2012-01-07 Ulrich Drepper <drepper@gmail.com>
55523 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55525 * argp/argp-fmtstream.h: Use const instead __const.
55526 * argp/argp.h: Likewise.
55527 * assert/assert.h: Likewise.
55528 * bits/fenv.h: Likewise.
55529 * bits/sched.h: Likewise.
55530 * bits/sigset.h: Likewise.
55531 * bits/sigthread.h: Likewise.
55532 * catgets/nl_types.h: Likewise.
55533 * conform/data/pthread.h-data: Likewise.
55534 * crypt/crypt-private.h: Likewise.
55535 * crypt/crypt.h: Likewise.
55536 * crypt/crypt_util.c: Likewise.
55537 * ctype/ctype.h: Likewise.
55538 * debug/execinfo.h: Likewise.
55539 * debug/mbsnrtowcs_chk.c: Likewise.
55540 * debug/mbsrtowcs_chk.c: Likewise.
55541 * debug/wcsnrtombs_chk.c: Likewise.
55542 * debug/wcsrtombs_chk.c: Likewise.
55543 * debug/wcstombs_chk.c: Likewise.
55544 * dirent/dirent.h: Likewise.
55545 * dlfcn/dlfcn.h: Likewise.
55546 * elf/neededtest4.c: Likewise.
55547 * grp/grp.h: Likewise.
55548 * gshadow/gshadow.h: Likewise.
55549 * iconv/gconv.h: Likewise.
55550 * iconv/gconv_int.h: Likewise.
55551 * iconv/gconv_simple.c: Likewise.
55552 * iconv/iconv.h: Likewise.
55553 * iconv/loop.c: Likewise.
55554 * iconv/skeleton.c: Likewise.
55555 * include/aio.h: Likewise.
55556 * include/aliases.h: Likewise.
55557 * include/argz.h: Likewise.
55558 * include/arpa/inet.h: Likewise.
55559 * include/assert.h: Likewise.
55560 * include/dirent.h: Likewise.
55561 * include/dlfcn.h: Likewise.
55562 * include/execinfo.h: Likewise.
55563 * include/fcntl.h: Likewise.
55564 * include/fenv.h: Likewise.
55565 * include/glob.h: Likewise.
55566 * include/grp.h: Likewise.
55567 * include/libintl.h: Likewise.
55568 * include/mntent.h: Likewise.
55569 * include/netdb.h: Likewise.
55570 * include/pwd.h: Likewise.
55571 * include/rpc/netdb.h: Likewise.
55572 * include/sched.h: Likewise.
55573 * include/search.h: Likewise.
55574 * include/shadow.h: Likewise.
55575 * include/signal.h: Likewise.
55576 * include/stdio.h: Likewise.
55577 * include/stdlib.h: Likewise.
55578 * include/string.h: Likewise.
55579 * include/sys/socket.h: Likewise.
55580 * include/sys/stat.h: Likewise.
55581 * include/sys/statfs.h: Likewise.
55582 * include/sys/statvfs.h: Likewise.
55583 * include/sys/syslog.h: Likewise.
55584 * include/sys/time.h: Likewise.
55585 * include/sys/uio.h: Likewise.
55586 * include/time.h: Likewise.
55587 * include/unistd.h: Likewise.
55588 * include/utmp.h: Likewise.
55589 * include/wchar.h: Likewise.
55590 * include/wctype.h: Likewise.
55591 * inet/aliases.h: Likewise.
55592 * inet/arpa/inet.h: Likewise.
55593 * inet/netinet/ether.h: Likewise.
55594 * inet/netinet/in.h: Likewise.
55595 * intl/libintl.h: Likewise.
55596 * io/bits/fcntl2.h: Likewise.
55597 * io/fcntl.h: Likewise.
55598 * io/ftw.h: Likewise.
55599 * io/sys/poll.h: Likewise.
55600 * io/sys/stat.h: Likewise.
55601 * io/sys/statfs.h: Likewise.
55602 * io/sys/statvfs.h: Likewise.
55603 * io/utime.h: Likewise.
55604 * libio/bits/stdio.h: Likewise.
55605 * libio/bits/stdio2.h: Likewise.
55606 * libio/libio.h: Likewise.
55607 * libio/libioP.h: Likewise.
55608 * libio/stdio.h: Likewise.
55609 * locale/lc-ctype.c: Likewise.
55610 * locale/locale.h: Likewise.
55611 * login/utmp.h: Likewise.
55612 * malloc/arena.c: Likewise.
55613 * malloc/malloc.c: Likewise.
55614 * malloc/malloc.h: Likewise.
55615 * malloc/mcheck.c: Likewise.
55616 * malloc/mtrace.c: Likewise.
55617 * math/bits/mathcalls.h: Likewise.
55618 * math/fenv.h: Likewise.
55619 * math/math_private.h: Likewise.
55620 * misc/bits/error.h: Likewise.
55621 * misc/bits/syslog.h: Likewise.
55622 * misc/err.h: Likewise.
55623 * misc/error.h: Likewise.
55624 * misc/fstab.h: Likewise.
55625 * misc/mntent.h: Likewise.
55626 * misc/regexp.h: Likewise.
55627 * misc/search.h: Likewise.
55628 * misc/sgtty.h: Likewise.
55629 * misc/sys/mman.h: Likewise.
55630 * misc/sys/syslog.h: Likewise.
55631 * misc/sys/uio.h: Likewise.
55632 * misc/sys/xattr.h: Likewise.
55633 * misc/ttyent.h: Likewise.
55634 * nis/rpcsvc/ypclnt.h: Likewise.
55635 * nss/nss.h: Likewise.
55636 * posix/bits/unistd.h: Likewise.
55637 * posix/fnmatch.h: Likewise.
55638 * posix/glob.h: Likewise.
55639 * posix/sched.h: Likewise.
55640 * posix/spawn.h: Likewise.
55641 * posix/sys/wait.h: Likewise.
55642 * posix/unistd.h: Likewise.
55643 * posix/wordexp.h: Likewise.
55644 * pwd/pwd.h: Likewise.
55645 * resolv/netdb.h: Likewise.
55646 * resource/sys/resource.h: Likewise.
55647 * rt/aio.h: Likewise.
55648 * rt/bits/mqueue2.h: Likewise.
55649 * rt/mqueue.h: Likewise.
55650 * shadow/shadow.h: Likewise.
55651 * signal/signal.h: Likewise.
55652 * socket/send.c: Likewise.
55653 * socket/sendto.c: Likewise.
55654 * socket/sys/socket.h: Likewise.
55655 * stdio-common/printf.h: Likewise.
55656 * stdlib/bits/stdlib.h: Likewise.
55657 * stdlib/fmtmsg.h: Likewise.
55658 * stdlib/monetary.h: Likewise.
55659 * stdlib/stdlib.h: Likewise.
55660 * stdlib/ucontext.h: Likewise.
55661 * streams/stropts.h: Likewise.
55662 * string/argz.h: Likewise.
55663 * string/bits/string2.h: Likewise.
55664 * string/string.h: Likewise.
55665 * string/strings.h: Likewise.
55666 * sunrpc/rpc/auth.h: Likewise.
55667 * sunrpc/rpc/auth_des.h: Likewise.
55668 * sunrpc/rpc/clnt.h: Likewise.
55669 * sunrpc/rpc/netdb.h: Likewise.
55670 * sunrpc/rpc/pmap_clnt.h: Likewise.
55671 * sunrpc/rpc/xdr.h: Likewise.
55672 * sysdeps/generic/inttypes.h: Likewise.
55673 * sysdeps/generic/net/if.h: Likewise.
55674 * sysdeps/generic/sys/swap.h: Likewise.
55675 * sysdeps/gnu/net/if.h: Likewise.
55676 * sysdeps/gnu/utmpx.h: Likewise.
55677 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55678 * sysdeps/i386/i486/bits/string.h: Likewise.
55679 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55680 * sysdeps/s390/bits/string.h: Likewise.
55681 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55682 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55683 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55684 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55685 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55686 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55687 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55688 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55689 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55690 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55691 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55692 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55693 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55694 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55695 * sysdeps/unix/sysv/linux/readv.c: Likewise.
55696 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55697 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55699 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55700 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55701 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55702 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55703 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55704 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55705 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55706 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55707 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55708 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55709 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55710 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55711 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55712 * sysvipc/sys/ipc.h: Likewise.
55713 * sysvipc/sys/msg.h: Likewise.
55714 * sysvipc/sys/sem.h: Likewise.
55715 * sysvipc/sys/shm.h: Likewise.
55716 * termios/termios.h: Likewise.
55717 * time/sys/time.h: Likewise.
55718 * time/time.h: Likewise.
55719 * wcsmbs/bits/wchar2.h: Likewise.
55720 * wcsmbs/uchar.h: Likewise.
55721 * wcsmbs/wchar.h: Likewise.
55722 * wctype/wctype.h: Likewise.
55725 * Makeconfig: Remove all but ELF support including AIX support.
55726 * Makerules: Likewise.
55727 * config.h.in: Likewise.
55728 * config.make.in: Likewise.
55729 * configure: Likewise.
55730 * configure.in: Likewise.
55731 * csu/Makefile: Likewise.
55732 * csu/version.c: Likewise.
55733 * debug/Makefile: Likewise.
55734 * dlfcn/Makefile: Likewise.
55735 * elf/Makefile: Likewise.
55736 * extra-lib.mk: Likewise.
55737 * iconv/Makefile: Likewise.
55738 * include/libc-symbols.h: Likewise.
55739 * include/shlib-compat.h: Likewise.
55740 * resolv/Makefile: Likewise.
55741 * resolv/res_libc.c: Likewise.
55742 * rt/Makefile: Likewise.
55743 * sysdeps/i386/asm-syntax.h: Likewise.
55744 * sysdeps/i386/sysdep.h: Likewise.
55745 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55746 * sysdeps/mach/sysdep.h: Likewise.
55747 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55748 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55749 * sysdeps/s390/asm-syntax.h: Likewise.
55750 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55751 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55752 * sysdeps/sh/sysdep.h: Likewise.
55753 * sysdeps/unix/sparc/sysdep.h: Likewise.
55754 * sysdeps/wordsize-32/divdi3.c: Likewise.
55755 * sysdeps/x86_64/sysdep.h: Likewise.
55757 * argp/Versions: Remove _argp_unlock_xxx.
55760 * abilist/ld.abilist: Update. Adjust for removal of tls option.
55761 * abilist/libBrokenLocale.abilist: Likewise.
55762 * abilist/libanl.abilist: Likewise.
55763 * abilist/libc.abilist: Likewise.
55764 * abilist/libcrypt.abilist: Likewise.
55765 * abilist/libdl.abilist: Likewise.
55766 * abilist/libm.abilist: Likewise.
55767 * abilist/libnsl.abilist: Likewise.
55768 * abilist/libpthread.abilist: Likewise.
55769 * abilist/libresolv.abilist: Likewise.
55770 * abilist/librt.abilist: Likewise.
55771 * abilist/libthread_db.abilist: Likewise.
55772 * abilist/libutil.abilist: Likewise.
55773 * abilist/libnss_db.abilist: New file.
55775 * scripts/abilist.awk: Add support for indirect functions.
55777 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55779 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55781 * shlib-versions: Remove entries for ports architectures.
55783 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
55785 * elf/stackguard-macros.h: Remove support for IA-64.
55786 * elf/tst-auditmod1.c: Likewise.
55787 * sysdeps/generic/ldsodefs.h: Likewise.
55789 * sysdeps/unix/sysv/linux/configure.in: Ports should define
55790 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55794 * configure.in: Remove --enable-omitfp support.
55796 * config.make.in: Likewise.
55797 * Makeconfig: Likewise.
55798 * manual/install.texi: Likewise.
55800 In case anyone cares, the IA-64 architecture could move to ports.
55801 * sysdeps/ia64/*: Removed.
55802 * sysdeps/unix/sysv/linux/ia64/*: Removed.
55803 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55806 * configure.in: Remove entries for unsupported architectures.
55809 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55810 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
55812 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55813 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55814 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
55815 fall back to using wcrtomb.
55816 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55817 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
55819 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55820 * wcsmbs/tst-c16c32-1.c: New file.
55822 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55825 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55827 * elf/tst-unique3.cc: Add explicit declaration of gets.
55828 * elf/tst-unique3lib.cc: Likewise.
55829 * elf/tst-unique3lib2.cc: Likewise.
55830 * elf/tst-unique4.cc: Likewise.
55832 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55834 2012-01-06 Joseph Myers <joseph@codesourcery.com>
55837 * assert/assert.h (static_assert): Don't define for C++.
55838 * libio/stdio.h (gets): Do declare for C++ <= C++11.
55839 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55841 2012-01-03 Ulrich Drepper <drepper@gmail.com>
55843 * iconv/loop.c (single loop): Fix assertion in storing of
55846 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55848 2012-01-01 Ulrich Drepper <drepper@gmail.com>
55850 * posix/getconf.c: Update copyright year.
55851 * nss/getent.c: Likewise.
55852 * nss/makedb.c: Likewise.
55853 * iconv/iconvconfig.c: Likewise.
55854 * iconv/iconv_prog.c: Likewise.
55855 * elf/ldconfig.c: Likewise.
55856 * elf/pldd.c: Likewise.
55857 * elf/sotruss.ksh: Likewise.
55858 * catgets/gencat.c: Likewise.
55859 * csu/version.c: Likewise.
55860 * elf/ldd.bash.in: Likewise.
55861 * elf/sprof.c (print_version): Likewise.
55862 * locale/programs/locale.c: Likewise.
55863 * locale/programs/localedef.c: Likewise.
55864 * login/programs/pt_chown.c: Likewise.
55865 * nscd/nscd.c (print_version): Likewise.
55866 * debug/xtrace.sh: Likewise.
55867 * malloc/memusage.sh: Likewise.
55868 * malloc/mtrace.pl: Likewise.
55869 * debug/catchsegv.sh: Likewise.
55871 2011-12-30 Jakub Jelinek <jakub@redhat.com>
55873 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55876 2011-12-24 Ulrich Drepper <drepper@gmail.com>
55879 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55880 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55882 * iconv/gconv_int.h: Likewise.
55883 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55884 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55885 from libc for GLIBC_2.16.
55886 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55887 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55888 * wcsmbs/uchar.h: Really define mbstate_t.
55889 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55890 * wcsmbs/c16rtomb.c: New file.
55891 * wcsmbs/mbrtoc16.c: New file.
55892 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55893 for C/POSIX locale.
55894 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55895 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55897 * wcsmbs/wchar.h: Add missing __restrict.
55899 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55902 * time/Makefile (routines): Add timespec_get.
55903 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55904 * time/time.h: Define TIME_UTC and declare timespec_get. Define
55905 timespec for ISO C11.
55906 * time/timespec_get.c: New file.
55907 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55908 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55911 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55912 * stdlib/stdlib.h: Declare aligned_alloc.
55913 * Versions.def: Add GLIBC_2.16 for libc.
55914 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55917 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55920 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55924 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55927 * assert/assert.h (static_assert): Define.
55929 * version.h: Update for 2.16 development version.
55932 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55935 * version.h (RELEASE): Bump for 2.15 release.
55936 * include/features.h (__GLIBC_MINOR__): Bump to 15.
55938 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55939 Patch by Marek Polacek <mpolacek@redhat.com>.
55941 * bits/byteswap.h: Protect long long constants with __extension__.
55942 * sysdeps/i386/bits/byteswap.h: Likewise.
55943 * sysdeps/ia64/bits/byteswap.h: Likewise.
55944 * sysdeps/s390/bits/byteswap.h: Likewise.
55945 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55947 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55950 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55951 destination buffer.
55952 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55954 2011-12-23 Marek Polacek <polacek@redhat.com>
55956 * elf/dl-addr.c (determine_info): Add inline keyword.
55957 * elf/tst-auditmod4b.c (check_avx): Likewise.
55958 * elf/tst-auditmod6b.c (check_avx): Likewise.
55959 * elf/tst-auditmod6c.c (check_avx): Likewise.
55960 * elf/tst-auditmod7b.c (check_avx): Likewise.
55962 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55964 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55967 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55970 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55971 processing for last bytes.
55973 2011-08-06 Bruno Haible <bruno@clisp.org>
55976 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55977 U+0385, not to U+1FEE.
55980 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55981 entry for U+00A5 U+0301.
55983 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55986 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55987 buffer for the output is too small.
55989 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55993 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55994 SSE flags if possible.
55996 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55999 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
56000 processing for last bytes.
56002 2011-12-22 Joseph Myers <joseph@codesourcery.com>
56004 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56005 (syscall-list-default-options, syscall-list-default-condition)
56006 (syscall-list-includes): Define.
56007 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56008 list of ABIs and options and #if conditions for each ABI. Do not
56009 handle common syscalls between ABIs specially.
56010 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56012 (syscall-list-variants, syscall-list-32bit-options)
56013 (syscall-list-32bit-condition, syscall-list-64bit-options)
56014 (syscall-list-64bit-condition): Define.
56015 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
56016 (syscall-list-variants, syscall-list-32bit-options)
56017 (syscall-list-32bit-condition, syscall-list-64bit-options)
56018 (syscall-list-64bit-condition): Define.
56019 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
56021 (syscall-list-variants, syscall-list-32bit-options)
56022 (syscall-list-32bit-condition, syscall-list-64bit-options)
56023 (syscall-list-64bit-condition): Define.
56024 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56026 (syscall-list-variants, syscall-list-32bit-options)
56027 (syscall-list-32bit-condition, syscall-list-64bit-options)
56028 (syscall-list-64bit-condition): Define.
56030 2011-12-22 Ulrich Drepper <drepper@gmail.com>
56032 * locale/iso-639.def: Add brx entry.
56035 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56036 Proposed by Mariusz_Cukr <marcukr@op.pl>.
56038 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56039 __feraiseexcept_renamed.
56041 2011-12-21 Ulrich Drepper <drepper@gmail.com>
56044 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56045 EPOLLET with unsigned values.
56046 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56047 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56049 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56050 to large cancellation.
56051 * math/s_cacoshf.c: Likewise.
56052 * math/s_cacoshl.c: Likewise.
56054 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
56058 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56059 * math/s_cacoshf.c: Likewise.
56060 * math/s_cacoshl.c: Likewise.
56062 2011-12-21 Ulrich Drepper <drepper@gmail.com>
56065 * iconv/gconv.h: Define __GCONV_SWAP.
56066 * iconvdata/unicode.c: The swap bit must be stored in __flags.
56067 * iconvdata/utf-16.c: Likewise.
56068 * iconvdata/utf-32.c: Likewise.
56070 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
56073 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56074 numerator after shifting it by one limb.
56076 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
56078 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56079 under [__USE_EXTERN_INLINES].
56081 2011-12-17 Ulrich Drepper <drepper@gmail.com>
56084 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56086 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56088 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56089 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56091 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56092 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56093 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56094 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56095 for strncasecmp/strncasecmp_l compilation.
56096 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56097 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56099 2011-12-08 Marek Polacek <mpolacek@redhat.com>
56102 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56105 2011-12-17 Ulrich Drepper <drepper@gmail.com>
56108 * time/tzfile.c (__tzfile_read): Check values from file header.
56110 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
56112 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56113 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56114 * powerpc/powerpc32/dl-start.S: Likewise.
56115 * powerpc/powerpc32/elf/start.S: Likewise.
56116 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56117 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56118 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56119 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56120 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56121 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56122 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56123 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56124 * powerpc/powerpc32/fpu/s_round.S: Likewise.
56125 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56126 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56127 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56128 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56129 * powerpc/powerpc32/memset.S: Likewise.
56130 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56131 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56132 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56133 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56134 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56135 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56136 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56137 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56138 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56139 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56140 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56141 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56142 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56144 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56146 * math/libm-test.inc: Added more nearbyint tests.
56147 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56148 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56149 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56150 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56152 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
56154 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56157 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56159 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56160 Add wcscpy-ssse3 wcscpy-c.
56161 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56162 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56163 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56164 * sysdeps/x86_64/wcschr.S: New file.
56165 * sysdeps/x86_64/wcsrchr.S: New file.
56166 * string/test-strcmp.c: Remove checking of wcscmp function for
56168 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56169 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56170 wcsrchr-sse2 wcsrchr-c.
56171 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56172 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56173 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56174 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56175 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56176 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56177 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56178 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56179 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56180 * wcsmbc/wcschr.c (WCSCHR): New macro.
56182 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56184 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56185 * wcsmbs/test-wcsrchr.c: New file.
56186 * string/test-strrchr.c: Add wcsrchr support.
56188 * wcsmbs/test-wcscpy.c: New file.
56189 * string/test-strcpy.c: Add wcscpy support.
56192 2011-12-10 Ulrich Drepper <drepper@gmail.com>
56194 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56197 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
56200 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56202 2011-12-04 Ulrich Drepper <drepper@gmail.com>
56204 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56205 Minor optimizations.
56207 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56208 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56209 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56211 2011-12-03 Ulrich Drepper <drepper@gmail.com>
56213 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56214 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56215 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56216 for gcc to avoid warnings.
56217 * inet/Makefile (tests): Add tst-checks.
56218 * inet/tst-checks.c: New file.
56220 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56223 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56226 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56227 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56229 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56231 2011-12-02 Ulrich Drepper <drepper@gmail.com>
56233 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56236 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56238 2011-11-29 Joseph Myers <joseph@codesourcery.com>
56240 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56241 conditional on GCC version.
56242 (__arch_compare_and_exchange_val_8_acq)
56243 (__arch_compare_and_exchange_val_16_acq)
56244 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56245 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56246 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56248 2011-12-02 Joseph Myers <joseph@codesourcery.com>
56250 * sysdeps/sh/backtrace.c: New file.
56252 2011-12-02 Andreas Schwab <schwab@redhat.com>
56254 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
56257 2011-12-01 Andreas Schwab <schwab@redhat.com>
56259 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56260 falling back to utime.
56262 2011-11-30 Andreas Schwab <schwab@redhat.com>
56264 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56265 expectations for float.
56267 2011-11-29 Andreas Schwab <schwab@redhat.com>
56269 * locale/weight.h (findidx): Add parameter len.
56270 * locale/weightwc.h (findidx): Likewise.
56271 * posix/fnmatch_loop.c (FCT): Adjust caller.
56272 * posix/regcomp.c (build_equiv_class): Likewise.
56273 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56274 * posix/regexec.c (check_node_accept_bytes): Likewise.
56275 * string/strcoll_l.c (STRCOLL): Likewise.
56276 * string/strxfrm_l.c (STRXFRM): Likewise.
56278 2011-11-17 Ulrich Drepper <drepper@gmail.com>
56280 * Makefile.in: Remove CVSOPT handling.
56281 * configure.in: Remove use of AC_REVISION.
56282 * iconvdata/Makefile (distribute): No need to filter out CVS.
56283 * scripts/list-sources.sh: Remove CVS, subversion and monotone
56286 2011-11-16 Andreas Schwab <schwab@redhat.com>
56288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56289 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56290 [USE_AS_STRNCASECMP_L]: Likewise.
56291 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56292 NO_TLS_DIRECT_SEG_REFS.
56293 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56294 Fix argument offsets for non-PIC.
56295 [USE_AS_STRNCASECMP_L]: Likewise.
56296 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56297 NO_TLS_DIRECT_SEG_REFS.
56299 2011-11-15 Ulrich Drepper <drepper@gmail.com>
56301 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56303 * locale/loadlocale.c (_nl_load_locale): Likewise.
56305 2011-11-15 Andreas Schwab <schwab@redhat.com>
56307 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56308 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56309 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56310 (SYSCALL_GETTIME): Set errno on error.
56312 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56313 count references to noai6ai_cached.
56315 2011-11-15 Ulrich Drepper <drepper@gmail.com>
56317 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56319 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56320 FD_CLOEXEC for /proc/self/maps.
56322 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56323 FD_CLOEXEC for /proc/meminfo.
56325 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56328 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
56329 FD_CLOEXEC for given file.
56331 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56333 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56334 FD_CLOEXEC for /etc/hosts.
56335 (_gethtent): Likewise.
56337 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56339 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56340 cancellation and set FD_CLOEXEC for /etc/netgroup.
56342 * nss/nss_files/files-key.c (search): Don't allow cancellation when
56343 reading /etc/publickey.
56345 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56346 allow cancellation when reading /etc/group.
56348 * nss/nss_files/files-alias.c (internal_setent): Don't allow
56350 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
56352 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56353 when using data file.
56355 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56357 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56358 (write_nis_obj): Use "c" and "e" in fopen.
56360 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56362 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56364 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56366 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56368 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56371 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56373 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56375 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56377 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56378 file parsing and set FD_CLOEXEC.
56380 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56382 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56384 2011-11-14 Andreas Schwab <schwab@redhat.com>
56386 * malloc/arena.c (arena_get2): Don't call reused_arena when
56387 _int_new_arena failed.
56389 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56391 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56392 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56393 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56394 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56395 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56396 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56397 to compile strcasecmp and strncasecmp.
56398 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56399 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56401 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56403 2011-11-13 Ulrich Drepper <drepper@gmail.com>
56405 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56406 locale-defines.sym to gen-as-const-headers.
56407 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56408 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56409 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56410 to compile strcasecmp and strncasecmp.
56411 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56412 strcasecmp_l and strncasecmp_l.
56413 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56414 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56415 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56416 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56417 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56418 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56419 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56420 * sysdeps/i386/i686/multiarch/strncase.S: New file.
56421 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56422 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56423 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56425 2011-11-12 Ulrich Drepper <drepper@gmail.com>
56427 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56428 result of SYSDEP_GETTIME_CPU to retval.
56429 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56430 parameter list to macro. Remove trailing semicolon. Adjust users.
56432 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56435 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56437 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56439 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56440 from unused variable.
56442 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56444 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56447 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56450 * sunrpc/rpc_prot.c (rejected): Fix case value.
56452 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56453 unsigned long long int to avoid warnings in shift.
56455 * posix/regex_internal.c (re_string_reconstruct): Actually use result
56457 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56460 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56461 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56462 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56464 * nis/nis_table.c (nis_list): Use variable of correct type for
56465 result of __follow_path call.
56467 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56469 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56470 of math functions ceil, trunc, floor, round, and sqrt, when
56471 avaliable on the platform.
56472 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56474 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56475 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56476 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56478 2011-10-30 Marek Polacek <mpolacek@redhat.com>
56480 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56481 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56483 2011-11-11 Roland McGrath <roland@hack.frob.com>
56485 * include/unistd.h: Fix __readlink return type.
56486 Reported by Chris Metcalf <cmetcalf@tilera.com>.
56488 2011-11-11 Ulrich Drepper <drepper@gmail.com>
56490 * stdlib/ucontext.h: Undo last change for makecontext.
56492 2011-11-11 Andreas Schwab <schwab@redhat.com>
56494 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56496 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56497 * setjmp/setjmp.h: Mark functions as non-leaf.
56498 * setjmp/bits/setjmp2.h: Likewise.
56499 * stdlib/ucontext.h: Likewise.
56501 2011-11-10 Andreas Schwab <schwab@redhat.com>
56503 * malloc/arena.c (_int_new_arena): Don't increment narenas.
56504 (reused_arena): Don't check arena limit.
56505 (arena_get2): Atomically check arena limit.
56507 2011-11-08 Ulrich Drepper <drepper@gmail.com>
56509 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56510 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56512 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56515 2011-11-07 Andreas Schwab <schwab@redhat.com>
56517 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56518 handler when locking.
56520 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56521 Fix size of allocated buffer.
56523 2011-11-04 Andreas Schwab <schwab@redhat.com>
56526 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56527 declarations for long double functions.
56528 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56530 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56532 2011-11-03 Andreas Schwab <schwab@redhat.com>
56534 * nscd/nscd.c (main): Don't start AVC thread until credentials are
56537 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56540 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
56542 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56544 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
56546 * include/alloca.h (stackinfo_alloca_round): Define.
56547 (extend_alloca): Use it.
56548 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56549 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56552 * scripts/check-local-headers.sh: Ignore libaudit.h.
56554 * nscd/Makefile (extra-objs): Make recursively expanded.
56556 2011-11-01 Ulrich Drepper <drepper@gmail.com>
56558 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56559 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56561 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56562 * posix/tst-rfc3484-2.c: Likewise.
56563 * posix/tst-rfc3484-3.c: Likewise.
56565 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56567 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56569 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56570 process_vm_writev from libc using GLIBC_2.15 version.
56572 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56574 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
56576 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56579 2011-10-31 Ulrich Drepper <drepper@gmail.com>
56582 * nss/getent.c (initgroups_keys): Show error message in case no group
56585 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56586 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56587 __bump_nl_timestamp.
56588 * nscd/connections (nscd_init): When host database is served open
56589 netlink socket and request notification about configuration changes.
56590 (main_loop_poll): Track netlink file descriptor and bump timestamp
56591 in case data becomes available.
56592 (main_loop_epoll): Likewise.
56593 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56594 (database_pers_head): Add extra_data fileds.
56595 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56596 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56597 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56599 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56600 in6ai data, call __free_in6ai.
56601 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56602 Add -DHAVE_NETLINK.
56603 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
56604 interface information. Reuse previous data if netlink timestamp
56606 (__bump_nl_timestamp): New function.
56607 (__free_in6ai): New function.
56609 2011-10-30 Ulrich Drepper <drepper@gmail.com>
56611 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56612 close_not_cancel_no_status here.
56613 (__check_pf): Reorganize code a bit to not call close twice if OOM.
56615 2011-10-29 Ulrich Drepper <drepper@gmail.com>
56618 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56621 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56622 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56623 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56625 2011-07-03 Andreas Jaeger <aj@suse.de>
56628 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56629 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56630 * math/libm-test.inc (sin_test): Add test case.
56632 2011-10-29 Ulrich Drepper <drepper@gmail.com>
56635 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56636 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56638 * elf/chroot_canon.c (chroot_canon): Cleanups.
56640 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56643 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56644 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56646 * string/test-strchr.c: Make usable for strchrnul testing.
56647 * string/test-strchrnul.c: New file.
56648 * string/Makefile (strop-tests): Add strchrnul.
56650 * po/it.po: Update from translation team.
56651 * po/es.po: Likewise.
56653 2011-10-28 Ulrich Drepper <drepper@gmail.com>
56655 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56656 the three constants needed as parameters. Drop the others.
56657 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56658 __m128i_strloadu_tolower.
56659 Create and initialize variable zero and use it in all the places
56660 where _mm_setzero_si128 was used.
56662 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56663 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56664 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56665 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56667 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56668 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56669 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56670 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56671 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56672 __mpranred, __mptan.
56673 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56674 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56675 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56676 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56677 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56678 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56679 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56680 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56681 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56683 2011-10-28 Andreas Schwab <schwab@redhat.com>
56685 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56686 redefine if SHARED.
56687 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56690 wide char related routines to wcsmbs subdir.
56692 2011-10-27 Andreas Schwab <schwab@redhat.com>
56695 * misc/sys/cdefs.h (__THROWNL): Define.
56696 * posix/unistd.h: Use __THREADNL instead of __THREAD
56697 for memory synchronization functions.
56699 2011-10-26 Roland McGrath <roland@hack.frob.com>
56702 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56704 * manual/stdio.texi (Obstack Streams): Node removed.
56706 2011-10-26 Andreas Schwab <schwab@redhat.com>
56708 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56709 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56710 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56712 * math/math_private.h (math_force_eval): Allow non-addressable
56714 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56716 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56718 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56719 file is not needed.
56721 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56722 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56723 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56724 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56725 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56726 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56727 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56728 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56730 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56731 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56732 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56733 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56734 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56735 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56736 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56737 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56738 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56739 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56740 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56741 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56742 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56743 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56744 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56745 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56746 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56747 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56748 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56750 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56751 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
56753 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56754 place. Use VEX encoding when compiling for AVX.
56756 2011-10-25 Andreas Schwab <schwab@redhat.com>
56758 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56759 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56761 * string/test-strchr.c (do_test): Don't generate NUL bytes.
56763 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56765 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56766 useless if() expression.
56767 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56768 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56769 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56770 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56771 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56772 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56773 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56774 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56775 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56776 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56777 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56778 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56779 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56780 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56781 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56782 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56783 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56784 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56785 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56787 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56789 2011-10-25 Andreas Schwab <schwab@redhat.com>
56791 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56793 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56795 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56797 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56798 .text section. Avoid duplicate constants.
56799 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56801 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56803 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56805 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56806 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56807 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56808 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56809 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56810 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56811 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56812 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56813 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56814 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56815 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56816 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56817 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56818 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56819 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56820 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56821 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56822 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56823 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56824 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56825 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56826 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56827 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56828 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56829 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56830 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56831 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56832 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56833 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56834 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56835 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56836 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56837 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56838 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56839 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56840 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56841 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56842 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56843 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56845 2011-10-24 Ulrich Drepper <drepper@gmail.com>
56847 * sysdeps/x86_64/dla.h: Move to ...
56848 * sysdeps/x86_64/fpu/dla.h: ...here.
56849 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56850 situations. Use __builtin_fma only for gcc 4.6 and up.
56852 * config.make.in: Add have-mfma4 entry.
56853 * configure.in: Substitute libc_cv_cc_fma4.
56854 * math/Makefile (dbl-only-routines): Add sincostab.
56855 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56856 Use __sincostab not sincos.
56857 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56859 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56860 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56861 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
56864 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
56865 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
56866 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56867 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56869 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56870 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56872 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
56873 define aliases when function name is a macro.
56874 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56875 sysdeps/ieee754/dbl-64/sincos.tbl.
56876 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56877 fma4-enabled routines.
56878 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56879 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56880 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56881 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56882 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56883 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56884 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56885 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56886 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56887 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56888 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56889 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56890 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56891 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56892 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56893 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56894 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56895 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56896 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56897 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56898 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56899 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56900 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56901 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56902 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56903 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56904 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56905 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56906 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56907 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56909 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56911 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56913 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56914 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56916 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56917 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56918 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56920 2011-10-24 Andreas Schwab <schwab@redhat.com>
56922 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56924 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56926 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56928 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56930 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56932 * string/strnlen.c: Don't define STRNLEN, reverse logic.
56933 Remove unused variable magic_bits.
56934 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56936 * string/strnlen.c: Define and use STRNLEN macro.
56937 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56938 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56939 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56940 * wcsmbs/wcslen.c: Define and use WCSLEN.
56941 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56942 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56943 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56944 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56945 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56946 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56947 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56949 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56952 strnlen-sse2-no-bsf.
56953 Rename strlen-no-bsf to strlen-sse2-no-bsf.
56954 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56955 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56956 Add strnlen support.
56957 (USE_AS_STRNLEN): New macro.
56958 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56959 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56960 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56961 * sysdeps/x86_64/wcslen.S: New file.
56963 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
56965 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56966 XMM-moves are used for copying on small sizes.
56968 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56970 * wcsmbs/Makefile (strop-tests): Add wcschr.
56971 * wcsmbs/test-wcschr.c: New file.
56972 * string/test-strchr.c: Update.
56973 Add wcschr support.
56976 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56978 * wcsmbs/Makefile (strop-tests): Add wcslen.
56979 * wcsmbs/test-wcslen.c: New file.
56980 * string/test-strlen.c: Update.
56981 Add wcslen support.
56984 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56986 * po/it.po: Update from translation team.
56988 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56990 * sysdeps/x86_64/wcscmp.S: Update.
56991 Fix wrong comparison semantics.
56992 wcscmp shall use signed comparison not unsigned.
56993 Don't use substraction to avoid overflow bug.
56994 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56995 * wcsmbc/wcscmp.c: Likewise.
56996 * string/test-strcmp.c: Likewise.
56997 Add new tests to check cases with negative values.
56999 2011-10-23 Ulrich Drepper <drepper@gmail.com>
57001 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
57002 * sysdeps/x86_64/dla.h: ...here. New file.
57003 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57004 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57005 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57006 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57007 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57008 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57009 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57010 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57011 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57013 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
57015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57016 __ynl_finite aliases.
57018 2011-10-22 Ulrich Drepper <drepper@gmail.com>
57020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57022 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57024 [DLA_FMA] (EMULV): Use DLA_FMA.
57025 [DLA_FMA] (MUL12): Use EMULV.
57026 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57027 that are not needed.
57028 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57029 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57030 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57031 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57032 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57033 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57034 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57036 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
57038 * math/s_nan.c: Undef __nan.
57039 * math/s_nanf.c: Undef __nanf.
57040 * math/s_nanl.c: Undef __nanl.
57041 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57044 2011-10-22 Ulrich Drepper <drepper@gmail.com>
57046 * math/s_catan.c: Add branch predictions.
57047 * math/s_catanf.c: Likewise.
57048 * math/s_catanh.c: Likewise.
57049 * math/s_catanhf.c: Likewise.
57050 * math/s_catanhl.c: Likewise.
57051 * math/s_catanl.c: Likewise.
57052 * math/s_cexp.c: Likewise.
57053 * math/s_cexpf.c: Likewise.
57054 * math/s_cexpl.c: Likewise.
57055 * math/s_clog.c: Likewise.
57056 * math/s_clog10.c: Likewise.
57057 * math/s_clog10f.c: Likewise.
57058 * math/s_clog10l.c: Likewise.
57059 * math/s_clogf.c: Likewise.
57060 * math/s_clogl.c: Likewise.
57061 * math/s_csqrt.c: Likewise.
57062 * math/s_csqrtf.c: Likewise.
57063 * math/s_csqrtl.c: Likewise.
57064 * math/s_ctanf.c: Likewise.
57065 * math/s_ctanh.c: Likewise.
57066 * math/s_ctanhf.c: Likewise.
57067 * math/s_ctanhl.c: Likewise.
57068 * math/s_ctanl.c: Likewise.
57070 * math/math_private.h: Define __nan, __nanf, __nanl.
57071 * math/s_cacosh.c: Include <math_private.h>.
57072 * math/s_cacoshl.c: Likewise.
57073 * math/s_casinh.c: Likewise.
57074 * math/s_casinhf.c: Likewise.
57075 * math/s_casinhl.c: Likewise.
57076 * math/s_ccos.c: Rely entire on ccosh.
57077 * math/s_ccosf.c: Rely entire on ccoshf.
57078 * math/s_ccosl.c: Rely entirely on ccoshl.
57079 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
57080 Remove tests for FE_INVALID.
57081 * math/s_ccoshf.c: Likewise.
57082 * math/s_ccoshl.c: Likewise.
57083 * math/s_csin.c: Likewise.
57084 * math/s_csinf.c: Likewise.
57085 * math/s_csinh.c Likewise.
57086 * math/s_csinhf.c: Likewise.
57087 * math/s_csinhl.c: Likewise.
57088 * math/s_csinl.c: Likewise.
57089 * math/s_ctan.c: Likewise.
57090 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57091 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57092 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57094 2011-10-21 Ulrich Drepper <drepper@gmail.com>
57096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57097 compilation problems.
57099 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57102 2011-10-20 Ulrich Drepper <drepper@gmail.com>
57104 * sysdeps/i386/configure.in: Test for -mfma4 option.
57105 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57106 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57107 COMMON_CPUID_INDEX_80000001.
57108 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57109 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57110 use it if FMA3 is not supported.
57111 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57113 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57114 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57116 2011-10-20 Andreas Schwab <schwab@redhat.com>
57119 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57120 it would create a cycle with a link time dependency.
57122 2011-10-19 Ulrich Drepper <drepper@gmail.com>
57124 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57126 * string/Makefile (strop-tests): Add rawmemchr.
57127 * string/test-rawmemchr.c: New file.
57129 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57130 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
57131 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
57132 when compiling str{,n}casecmp and when AVX is available. Hook up
57133 new optimized code in initializers.
57135 2011-10-19 Andreas Schwab <schwab@redhat.com>
57137 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57138 __feraiseexcept instead of feraiseexcept.
57140 2011-10-18 Ulrich Drepper <drepper@gmail.com>
57142 * math/math_private.h: Define defaults for libc_fetestexcept and
57144 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57145 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57146 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57147 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57148 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57149 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57150 libc_fetestexcept and libc_feupdateenv.
57152 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57153 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57154 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57155 * sysdeps/x86_64/fpu/math_private.h: Define special version of
57156 libc_feholdexcept_setround.
57158 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57159 Add s_nearbyint-c and s_nearbyintf-c.
57160 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57161 nearbyintf inlines.
57162 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57163 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57164 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57165 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57167 * math/math_private.h: Define defaults for libc_fegetround,
57168 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57169 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57170 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57171 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57172 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57173 standard functions.
57174 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57175 Remove comments and hacks for old compiler versions.
57176 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57177 libc_fegetround, libc_fesetround, libc_feholdexcept, and
57178 libc_feholdexceptl.
57180 2011-10-18 Andreas Schwab <schwab@redhat.com>
57182 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57183 (__feraiseexcept_renamed): Add __NTH.
57184 (feraiseexcept): Add __NTH. Rename local variables to fix
57185 namespace violations.
57187 2011-10-17 Ulrich Drepper <drepper@gmail.com>
57189 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57191 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57193 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57194 recently added interfaces.
57195 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57197 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57198 about macro parameter expansion.
57200 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57201 __NO_MATH_INLINES is defined. Cleanups.
57203 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57204 and __floorf is target has SSE4.1.
57205 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57206 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57207 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57208 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57210 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57212 (floorf): Likewise.
57214 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57216 2011-10-17 Andreas Schwab <schwab@redhat.com>
57218 * misc/sys/cdefs.h: Fix last change.
57220 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57223 2011-10-16 Ulrich Drepper <drepper@gmail.com>
57225 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57227 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57228 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57229 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57230 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57231 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57232 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57233 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57234 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57235 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57236 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57237 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57238 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57239 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57240 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57241 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57242 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57243 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57244 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57245 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57246 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57247 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57248 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57250 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57251 ceil, ceilf, floor, floorf.
57253 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57254 Perform IRELATIVE relocations last.
57256 * elf/do-rel.h: Add another parameter nrelative, replacing the
57257 local variable with the same name. Change name of the function
57258 to end in Rel or Rela (uppercase).
57259 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57260 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
57261 elf_dynamic_do_##reloc function.
57263 2011-10-15 Ulrich Drepper <drepper@gmail.com>
57265 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57266 is sufficient, at least on modern CPUs.
57268 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57270 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57271 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57273 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57275 * math/bits/math-finite.h: Add entries for exp.
57276 * math/e_expl.c: Add __*_finite alias.
57277 * sysdeps/i386/fpu/e_exp.S: Likewise.
57278 * sysdeps/i386/fpu/e_expf.S: Likewise.
57279 * sysdeps/i386/fpu/e_expl.c: Likewise.
57280 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57281 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57282 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57283 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57284 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57285 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57286 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57288 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57289 is sufficient, at least on modern CPUs.
57291 * ctype/ctype-info.c (__ctype_init): Define.
57292 * include/ctype.h (__ctype_init): Declare.
57293 (__ctype_b_loc): The variable is always initialized.
57294 (__ctype_toupper_loc): Likewise.
57295 (__ctype_tolower_loc): Likewise.
57296 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57297 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57299 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
57301 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57303 * configure.in: Also look in $cxxmachine/include for C++ system
57306 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57308 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57309 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57310 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57311 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
57312 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57313 (USE_AS_WMEMCMP): New macro.
57315 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57316 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57317 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57318 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57320 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57321 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57322 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57323 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57324 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57325 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57326 (USE_AS_WMEMCMP): New macro.
57327 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57328 * sysdeps/string/test-memcmp.c: Update.
57329 Fix simple_wmemcmp.
57331 * wcsmbs/wmemcmp.c: Update.
57332 (WMEMCMP): New macro.
57335 2011-10-12 Andreas Jaeger <aj@suse.de>
57338 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57340 2011-10-15 Ulrich Drepper <drepper@gmail.com>
57342 * libio/iofwide.c (do_length): Avoid warning.
57344 * ctype/ctype.h (__isctype_f): Add missing __THROW.
57346 2011-10-14 Ulrich Drepper <drepper@gmail.com>
57348 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57350 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57351 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57352 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57353 * sysdeps/i386/i686/fpu/e_log.S: New file.
57354 * sysdeps/i386/i686/fpu/e_logf.S: New file.
57355 * sysdeps/i386/i686/fpu/e_logl.S: New file.
57357 * ctype/ctype.h: Add support for inlined isXXX functions when
57358 compiling C++ code.
57360 2011-10-14 Andreas Schwab <schwab@redhat.com>
57362 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57364 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57366 2011-10-13 Roland McGrath <roland@hack.frob.com>
57369 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57371 2011-10-13 Andreas Schwab <schwab@redhat.com>
57373 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57374 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57377 * sysdeps/x86_64/memrchr.S: Check for zero size.
57379 * string/stratcliff.c: Add memrchr tests.
57381 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57383 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57384 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57385 rawmemchr-sse2 rawmemchr-sse2-bsf.
57386 * sysdeps/i386/i686/multiarch/memchr.S: New file.
57387 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57388 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57389 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57390 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57391 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57392 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57393 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57394 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57395 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57396 * string/memrchr.c (MEMRCHR): New macro.
57398 2011-10-12 Ulrich Drepper <drepper@gmail.com>
57400 Add integration with gcc's -ffinite-math-only and optimize wrapper
57402 * Versions.def: Define GLIBC_2.15 version for libm.
57403 * math/Makefile (headers): Add bits/math-finite.h.
57404 * math/bits/math-finite.h: New file.
57405 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57406 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57407 * math/e_acoshl.c: Add __*_finite alias.
57408 * math/e_acosl.c: Likewise.
57409 * math/e_asinl.c: Likewise.
57410 * math/e_atan2l.c: Likewise.
57411 * math/e_atanhl.c: Likewise.
57412 * math/e_coshl.c: Likewise.
57413 * math/e_exp10.c: Likewise.
57414 * math/e_exp10f.c: Likewise.
57415 * math/e_exp10l.c: Likewise.
57416 * math/e_exp2l.c: Likewise.
57417 * math/e_fmodl.c: Likewise.
57418 * math/e_gammal_r.c: Likewise.
57419 * math/e_hypotl.c: Likewise.
57420 * math/e_j0l.c: Likewise.
57421 * math/e_j1l.c: Likewise.
57422 * math/e_jnl.c: Likewise.
57423 * math/e_lgammal_r.c: Likewise.
57424 * math/e_log10l.c: Likewise.
57425 * math/e_log2l.c: Likewise.
57426 * math/e_logl.c: Likewise.
57427 * math/e_powl.c: Likewise.
57428 * math/e_sinhl.c: Likewise.
57429 * math/e_sqrtl.c: Likewise.
57430 * math/e_scalb.c: Completely rewritten and optimized.
57431 * math/e_scalbf.c: Likewise.
57432 * math/e_scalbl.c: Likewise.
57433 * math/w_acos.c: Likewise.
57434 * math/w_acosf.c: Likewise.
57435 * math/w_acosl.c: Likewise.
57436 * math/w_acosh.c: Likewise.
57437 * math/w_acoshf.c: Likewise.
57438 * math/w_acoshl.c: Likewise.
57439 * math/w_asin.c: Likewise.
57440 * math/w_asinf.c: Likewise.
57441 * math/w_asinl.c: Likewise.
57442 * math/w_atan2.c: Likewise.
57443 * math/w_atan2f.c: Likewise.
57444 * math/w_atan2l.c: Likewise.
57445 * math/w_atanh.c: Likewise.
57446 * math/w_atanhf.c: Likewise.
57447 * math/w_atanhl.c: Likewise.
57448 * math/w_exp10.c: Likewise.
57449 * math/w_exp10f.c: Likewise.
57450 * math/w_exp10l.c: Likewise.
57451 * math/w_fmod.c: Likewise.
57452 * math/w_fmodf.c: Likewise.
57453 * math/w_fmodl.c: Likewise.
57454 * math/w_j0.c: Likewise.
57455 * math/w_j0f.c: Likewise.
57456 * math/w_j0l.c: Likewise.
57457 * math/w_j1.c: Likewise.
57458 * math/w_j1f.c: Likewise.
57459 * math/w_j1l.c: Likewise.
57460 * math/w_jn.c: Likewise.
57461 * math/w_jnf.c: Likewise.
57462 * math/w_log.c: Likewise.
57463 * math/w_logf.c: Likewise.
57464 * math/w_logl.c: Likewise.
57465 * math/w_log10.c: Likewise.
57466 * math/w_log10f.c: Likewise.
57467 * math/w_log10l.c: Likewise.
57468 * math/w_log2.c: Likewise.
57469 * math/w_log2f.c: Likewise.
57470 * math/w_log2l.c: Likewise.
57471 * math/w_pow.c: Likewise.
57472 * math/w_powf.c: Likewise.
57473 * math/w_powl.c: Likewise.
57474 * math/w_remainder.c: Likewise.
57475 * math/w_remainderf.c: Likewise.
57476 * math/w_remainderl.c: Likewise.
57477 * math/w_scalb.c: Likewise.
57478 * math/w_scalbf.c: Likewise.
57479 * math/w_scalbl.c: Likewise.
57480 * math/w_sqrt.c: Likewise.
57481 * math/w_sqrtf.c: Likewise.
57482 * math/w_sqrtl.c: Likewise.
57483 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57484 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
57486 * math/math_private.h: Declare __kernel_standard_f.
57487 * math/w_cosh.c: Remove cruft and optimize a bit.
57488 * math/w_coshf.c: Likewise.
57489 * math/w_coshl.c: Likewise.
57490 * math/w_exp2.c: Likewise.
57491 * math/w_exp2f.c: Likewise.
57492 * math/w_exp2l.c: Likewise.
57493 * math/w_hypot.c: Likewise.
57494 * math/w_hypotf.c: Likewise.
57495 * math/w_hypotl.c: Likewise.
57496 * math/w_lgamma.c: Likewise.
57497 * math/w_lgamma_r.c: Likewise.
57498 * math/w_lgammaf.c: Likewise.
57499 * math/w_lgammaf_r.c: Likewise.
57500 * math/w_lgammal.c: Likewise.
57501 * math/w_lgammal_r.c: Likewise.
57502 * math/w_sinh.c: Likewise.
57503 * math/w_sinhf.c: Likewise.
57504 * math/w_sinhl.c: Likewise.
57505 * math/w_tgamma.c: Likewise.
57506 * math/w_tgammaf.c: Likewise.
57507 * math/w_tgammal.c: Likewise.
57508 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57509 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57510 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57511 Minor optimizations. Pretty printing. Remove cruft.
57512 * sysdeps/i386/fpu/e_acosf.S: Likewise.
57513 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57514 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57515 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57516 * sysdeps/i386/fpu/e_acosl.c: Likewise.
57517 * sysdeps/i386/fpu/e_asin.S: Likewise.
57518 * sysdeps/i386/fpu/e_asinf.S: Likewise.
57519 * sysdeps/i386/fpu/e_atan2.S: Likewise.
57520 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57521 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57522 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57523 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57524 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57525 * sysdeps/i386/fpu/e_exp10.S: Likewise.
57526 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57527 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57528 * sysdeps/i386/fpu/e_exp2.S: Likewise.
57529 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57530 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57531 * sysdeps/i386/fpu/e_fmod.S: Likewise.
57532 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57533 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57534 * sysdeps/i386/fpu/e_hypot.S: Likewise.
57535 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57536 * sysdeps/i386/fpu/e_log.S: Likewise.
57537 * sysdeps/i386/fpu/e_log10.S: Likewise.
57538 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57539 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57540 * sysdeps/i386/fpu/e_log2.S: Likewise.
57541 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57542 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57543 * sysdeps/i386/fpu/e_logf.S: Likewise.
57544 * sysdeps/i386/fpu/e_logl.S: Likewise.
57545 * sysdeps/i386/fpu/e_pow.S: Likewise.
57546 * sysdeps/i386/fpu/e_powf.S: Likewise.
57547 * sysdeps/i386/fpu/e_powl.S: Likewise.
57548 * sysdeps/i386/fpu/e_remainder.S: Likewise.
57549 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57550 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57551 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57552 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57553 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57554 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57555 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57556 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57557 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57558 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57559 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57560 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57561 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57562 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57563 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57564 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57565 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57566 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57567 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57568 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57570 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57571 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57572 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57573 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57574 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57575 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57577 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57578 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57579 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57580 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57581 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57582 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57583 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57584 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57585 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57586 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57587 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57588 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57589 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57590 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57591 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57592 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57593 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57594 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57595 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57596 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57597 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57598 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57599 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57600 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57601 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57602 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57603 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57604 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57605 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57606 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57607 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57608 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57609 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57610 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57611 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57612 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57613 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57614 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57615 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57616 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57617 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57618 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57619 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57620 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57621 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57622 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57623 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57624 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57625 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57626 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57627 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57628 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57629 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57630 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57631 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57632 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57633 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57634 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57635 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57636 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57637 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57638 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57639 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57640 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57641 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57642 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57643 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57644 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57645 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57646 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57647 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57648 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57649 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57650 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57651 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57652 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57653 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57654 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57655 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57656 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57657 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57658 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57659 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57660 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57661 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57662 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57663 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57664 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57665 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57666 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57667 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
57668 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57669 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57670 (__isnanf): Likewise.
57671 (__isinf_ns): Likewise.
57672 (__isinf_nsf): Likewise.
57673 (__finite): Likewise.
57674 (__finitef): Likewise.
57675 (__ieee754_sqrt): Define as macro.
57676 (__ieee754_sqrtf): Define as macro.
57677 (__ieee754_sqrtl): Define as macro.
57678 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57680 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57681 __FINITE_MATH_ONLY__ consistent.
57682 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57684 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
57686 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57689 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57691 2011-10-09 Ulrich Drepper <drepper@gmail.com>
57693 * po/ja.po: Update from translation team.
57695 2011-10-08 Roland McGrath <roland@hack.frob.com>
57697 * locale/programs/locarchive.c (prepare_address_space): New function.
57698 (create_archive, enlarge_archive, open_archive): Use it.
57700 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57701 inside [SHARED], where it is used.
57703 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57705 * nss/getent.c (netgroup_keys): Remove unused variable.
57706 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57708 2011-10-08 Ulrich Drepper <drepper@gmail.com>
57710 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57711 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57712 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57713 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57714 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57715 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57716 * math/Makefile (libm-calls): Add s_isinf_ns.
57717 * math/divtc3.c: Use __isinf_nsl instead of isinf.
57718 * math/multc3.c: Likewise.
57719 * math/s_casin.c: Likewise.
57720 * math/s_casinf.c: Likewise.
57721 * math/s_casinl.c: Likewise.
57722 * math/s_ccos.c: Likewise.
57723 * math/s_ccosf.c: Likewise.
57724 * math/s_ccosl.c: Likewise.
57725 * math/s_ctan.c: Likewise.
57726 * math/s_ctanf.c: Likewise.
57727 * math/s_ctanh.c: Likewise.
57728 * math/s_ctanhf.c: Likewise.
57729 * math/s_ctanhl.c: Likewise.
57730 * math/s_ctanl.c: Likewise.
57731 * math/w_fmod.c: Likewise.
57732 * math/w_fmodf.c: Likewise.
57733 * math/w_fmodl.c: Likewise.
57734 * math/w_remainder.c: Likewise.
57735 * math/w_remainderf.c: Likewise.
57736 * math/w_remainderl.c: Likewise.
57737 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57738 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57739 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57740 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57741 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57742 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57743 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57744 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57746 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57748 * stdio-common/printf_fphex.c: Likewise.
57749 * stdio-common/printf_size.c: Likewise.
57751 * math/e_exp10.c: Include math_private.h using <...> not "...".
57752 * math/e_exp10f.c: Likewise.
57753 * math/e_exp10l.c: Likewise.
57754 * math/e_exp2l.c: Likewise.
57755 * math/e_j0l.c: Likewise.
57756 * math/e_j1l.c: Likewise.
57757 * math/e_jnl.c: Likewise.
57758 * math/e_lgammal_r.c: Likewise.
57759 * math/e_rem_pio2l.c: Likewise.
57760 * math/e_scalb.c: Likewise.
57761 * math/e_scalbf.c: Likewise.
57762 * math/e_scalbl.c: Likewise.
57763 * math/k_cosl.c: Likewise.
57764 * math/k_sinl.c: Likewise.
57765 * math/k_tanl.c: Likewise.
57766 * math/s_cacoshf.c: Likewise.
57767 * math/s_catan.c: Likewise.
57768 * math/s_catanf.c: Likewise.
57769 * math/s_catanh.c: Likewise.
57770 * math/s_catanhf.c: Likewise.
57771 * math/s_catanhl.c: Likewise.
57772 * math/s_catanl.c: Likewise.
57773 * math/s_ccosh.c: Likewise.
57774 * math/s_ccoshf.c: Likewise.
57775 * math/s_ccoshl.c: Likewise.
57776 * math/s_cexp.c: Likewise.
57777 * math/s_cexpf.c: Likewise.
57778 * math/s_cexpl.c: Likewise.
57779 * math/s_clog.c: Likewise.
57780 * math/s_clog10.c: Likewise.
57781 * math/s_clog10f.c: Likewise.
57782 * math/s_clog10l.c: Likewise.
57783 * math/s_clogf.c: Likewise.
57784 * math/s_clogl.c: Likewise.
57785 * math/s_csin.c: Likewise.
57786 * math/s_csinf.c: Likewise.
57787 * math/s_csinh.c: Likewise.
57788 * math/s_csinhf.c: Likewise.
57789 * math/s_csinhl.c: Likewise.
57790 * math/s_csinl.c: Likewise.
57791 * math/s_csqrt.c: Likewise.
57792 * math/s_csqrtf.c: Likewise.
57793 * math/s_csqrtl.c: Likewise.
57794 * math/s_ctan.c: Likewise.
57795 * math/s_ctanf.c: Likewise.
57796 * math/s_ctanh.c: Likewise.
57797 * math/s_ctanhf.c: Likewise.
57798 * math/s_ctanhl.c: Likewise.
57799 * math/s_ctanl.c: Likewise.
57800 * math/s_ldexp.c: Likewise.
57801 * math/s_ldexpf.c: Likewise.
57802 * math/s_ldexpl.c: Likewise.
57803 * math/s_significand.c: Likewise.
57804 * math/s_significandf.c: Likewise.
57805 * math/s_significandl.c: Likewise.
57806 * math/w_acos.c: Likewise.
57807 * math/w_acosf.c: Likewise.
57808 * math/w_acosh.c: Likewise.
57809 * math/w_acoshf.c: Likewise.
57810 * math/w_acoshl.c: Likewise.
57811 * math/w_acosl.c: Likewise.
57812 * math/w_asin.c: Likewise.
57813 * math/w_asinf.c: Likewise.
57814 * math/w_asinl.c: Likewise.
57815 * math/w_atan2.c: Likewise.
57816 * math/w_atan2f.c: Likewise.
57817 * math/w_atan2l.c: Likewise.
57818 * math/w_atanh.c: Likewise.
57819 * math/w_atanhf.c: Likewise.
57820 * math/w_atanhl.c: Likewise.
57821 * math/w_cosh.c: Likewise.
57822 * math/w_coshf.c: Likewise.
57823 * math/w_coshl.c: Likewise.
57824 * math/w_dremf.c: Likewise.
57825 * math/w_exp10.c: Likewise.
57826 * math/w_exp10f.c: Likewise.
57827 * math/w_exp10l.c: Likewise.
57828 * math/w_exp2.c: Likewise.
57829 * math/w_exp2f.c: Likewise.
57830 * math/w_fmod.c: Likewise.
57831 * math/w_fmodf.c: Likewise.
57832 * math/w_fmodl.c: Likewise.
57833 * math/w_hypot.c: Likewise.
57834 * math/w_hypotf.c: Likewise.
57835 * math/w_hypotl.c: Likewise.
57836 * math/w_j0.c: Likewise.
57837 * math/w_j0f.c: Likewise.
57838 * math/w_j0l.c: Likewise.
57839 * math/w_j1.c: Likewise.
57840 * math/w_j1f.c: Likewise.
57841 * math/w_j1l.c: Likewise.
57842 * math/w_jn.c: Likewise.
57843 * math/w_jnf.c: Likewise.
57844 * math/w_jnl.c: Likewise.
57845 * math/w_lgamma.c: Likewise.
57846 * math/w_lgamma_r.c: Likewise.
57847 * math/w_lgammaf.c: Likewise.
57848 * math/w_lgammaf_r.c: Likewise.
57849 * math/w_lgammal.c: Likewise.
57850 * math/w_lgammal_r.c: Likewise.
57851 * math/w_log.c: Likewise.
57852 * math/w_log10.c: Likewise.
57853 * math/w_log10f.c: Likewise.
57854 * math/w_log10l.c: Likewise.
57855 * math/w_log2.c: Likewise.
57856 * math/w_log2f.c: Likewise.
57857 * math/w_log2l.c: Likewise.
57858 * math/w_logf.c: Likewise.
57859 * math/w_logl.c: Likewise.
57860 * math/w_pow.c: Likewise.
57861 * math/w_powf.c: Likewise.
57862 * math/w_powl.c: Likewise.
57863 * math/w_remainder.c: Likewise.
57864 * math/w_remainderf.c: Likewise.
57865 * math/w_remainderl.c: Likewise.
57866 * math/w_scalb.c: Likewise.
57867 * math/w_scalbf.c: Likewise.
57868 * math/w_scalbl.c: Likewise.
57869 * math/w_sinh.c: Likewise.
57870 * math/w_sinhf.c: Likewise.
57871 * math/w_sinhl.c: Likewise.
57872 * math/w_sqrt.c: Likewise.
57873 * math/w_sqrtf.c: Likewise.
57874 * math/w_sqrtl.c: Likewise.
57875 * math/w_tgamma.c: Likewise.
57876 * math/w_tgammaf.c: Likewise.
57877 * math/w_tgammal.c: Likewise.
57879 * po/ja.po: Update from translation team.
57881 2011-09-29 Andreas Jaeger <aj@suse.de>
57884 * sunrpc/netname.c (netname2host): Fix logic.
57888 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57890 * math/w_remainder.c (__remainder): Likewise.
57891 * math/w_remainderf.c (__remainderf): Likewise.
57892 * math/libm-test.inc (remainder_test): Add test cases.
57894 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57896 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
57899 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57901 * string/test-memcmp.c: Avoid unncessary #defines.
57902 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57904 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57906 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57907 Use new sse2 version for core i3 - i7 as it's faster
57908 than sse42 version.
57909 (bit_Prefer_PMINUB_for_stringop): New.
57910 * sysdeps/x86_64/rawmemchr.S: Update.
57911 Replace with faster SSE2 version.
57912 * sysdeps/x86_64/memrchr.S: New file.
57913 * sysdeps/x86_64/memchr.S: Update.
57914 Replace with faster SSE2 version.
57916 2011-09-12 Marek Polacek <mpolacek@redhat.com>
57918 * elf/dl-load.c (lose): Add cast to avoid warning.
57920 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57922 * po/ca.po: Update from translation team.
57924 * inet/getnetgrent_r.c: Hook up nscd.
57925 * nscd/Makefile (routines): Add nscd_netgroup.
57926 (nscd-modules): Add netgroupcache.
57927 (CFLAGS-netgroupcache.c): Define.
57928 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57929 (cache_search): Add const to second parameter.
57930 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57932 (dbs): Add netgrdb entry.
57933 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57934 (verify_persistent_db): Handle netgrdb.
57935 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57936 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57938 (netgroup_response_header): Define.
57939 (innetgroup_response_header): Define.
57940 (datahead): Add netgroup_response_header and innetgroup_response_header
57942 * nscd/nscd.conf: Add entries for netgroup cache.
57943 * nscd/nscd.h (dbtype): Add netgrdb.
57944 (_PATH_NSCD_NETGROUP_DB): Define.
57945 (netgroup_iov_disabled): Declare.
57946 (xmalloc, xcalloc, xrealloc): Move declarations here.
57947 (cache_search): Adjust prototype.
57948 Add netgroup-related prototypes.
57949 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57950 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57951 (__nscd_innetgr): Declare.
57952 * nscd/selinux.c (perms): Use access_vector_t as element type and
57953 add netgroup-related initializers.
57954 * nscd/netgroupcache.c: New file.
57955 * nscd/nscd_netgroup.c: New file.
57956 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57957 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57958 For four parameters use innetgr.
57959 * nss/nss_files/files-init.c: Add definition and callback for netgr.
57960 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57961 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57962 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57964 * nscd/connections.c (register_traced_file): Don't register file
57965 for disabled databases.
57967 2011-10-06 Ulrich Drepper <drepper@gmail.com>
57969 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57971 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57972 from tree and freeing node.
57974 2011-09-25 Jiri Olsa <jolsa@redhat.com>
57976 * nss/nsswitch.c (__nss_database_lookup): Handle
57977 nss_parse_service_list out of memory case.
57979 2011-09-15 Jiri Olsa <jolsa@redhat.com>
57981 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57982 out of memory case.
57984 2011-10-04 Andreas Schwab <schwab@redhat.com>
57986 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57987 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57989 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57990 elf_machine_rela, elf_machine_lazy_rel.
57991 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57992 (ELF_DYNAMIC_DO_REL): Likewise.
57993 (ELF_DYNAMIC_DO_RELA): Likewise.
57994 (ELF_DYNAMIC_RELOCATE): Likewise.
57995 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57996 to ELF_DYNAMIC_DO_REL.
57997 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57998 (dl_main): In trace mode always set __RTLD_NOIFUNC.
57999 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
58001 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
58002 skip_ifunc, don't call ifunc function if non-zero.
58003 (elf_machine_rela): Likewise.
58004 (elf_machine_lazy_rel): Likewise.
58005 (elf_machine_lazy_rela): Likewise.
58006 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58007 (elf_machine_lazy_rel): Likewise.
58008 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58010 (elf_machine_lazy_rel): Likewise.
58011 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58013 (elf_machine_lazy_rel): Likewise.
58014 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58015 (elf_machine_lazy_rel): Likewise.
58016 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58017 (elf_machine_lazy_rel): Likewise.
58018 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58019 (elf_machine_lazy_rel): Likewise.
58020 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58021 (elf_machine_lazy_rel): Likewise.
58022 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58023 (elf_machine_lazy_rel): Likewise.
58024 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58025 (elf_machine_lazy_rel): Likewise.
58027 2011-09-28 Ulrich Drepper <drepper@gmail.com>
58029 * nss/nss_files/files-init.c (_nss_files_init): Use static
58030 initialization for all the *_traced_file variables.
58032 2011-09-28 Andreas Schwab <schwab@redhat.com>
58034 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58036 2011-09-27 Roland McGrath <roland@hack.frob.com>
58039 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58041 2011-09-27 Andreas Schwab <schwab@redhat.com>
58043 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58044 Reread the line before reparsing it.
58046 2011-09-26 Andreas Schwab <schwab@redhat.com>
58048 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58050 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
58051 Maxim Kuvyrkov <maxim@codesourcery.com>
58052 Joseph Myers <joseph@codesourcery.com>
58054 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58055 if needed for __stack_chk_guard.
58057 2011-09-19 Roland McGrath <roland@hack.frob.com>
58059 * sysdeps/posix/spawni.c (script_execute): Always define it.
58060 It will be optimized away if unused.
58061 (maybe_script_execute): New function.
58062 (__spawni): Call it.
58064 * Makerules: Don't include tls.make.
58065 (config-tls): Always set to thread.
58066 * tls.make.c: File removed.
58068 2011-09-19 Mike Frysinger <vapier@gentoo.org>
58070 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58071 * config.make.in (CPPFLAGS-config): New substituted variable.
58073 2011-09-15 Ulrich Drepper <drepper@gmail.com>
58075 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58078 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58079 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58081 2011-09-15 Roland McGrath <roland@hack.frob.com>
58083 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58084 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58085 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58086 (CALL_FAIL): Likewise.
58087 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58088 (CALL_FAIL): Macro removed.
58089 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58091 2011-09-15 Ulrich Drepper <drepper@gmail.com>
58093 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58094 for __FINITE_MATH_ONLY__ == 1.
58096 2011-09-15 Andreas Schwab <schwab@redhat.com>
58098 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58099 __ieee754_sqrt instead of sqrt.
58100 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58101 __ieee754_sqrtf instead of sqrtf.
58102 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58103 __floorf instead of floorf.
58104 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58105 __floorf, __truncf instead of floorf, truncf.
58107 2011-09-14 Ulrich Drepper <drepper@gmail.com>
58109 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58111 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58112 __extern_always_inline.
58113 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58116 2011-09-14 Andreas Schwab <schwab@redhat.com>
58118 * elf/rtld.c (dl_main): Also relocate in dependency order when
58119 doing symbol dependency testing.
58121 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
58123 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58124 Always define `refsym'.
58126 2011-09-13 Andreas Schwab <schwab@redhat.com>
58128 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58129 (__FD_ELT): Renamed from __FDELT.
58130 * misc/bits/select2.h (__FD_ELT): Likewise.
58131 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58132 __FD_MASK instead of __FDELT, __FDMASK.
58133 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58135 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58138 * elf/Makefile (gen-ldd): Fix pattern.
58140 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58141 (init_tls): Likewise.
58143 2011-09-12 Ulrich Drepper <drepper@gmail.com>
58145 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58147 2011-09-12 Andreas Schwab <schwab@redhat.com>
58149 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58150 `struct cmsghdr *' instead of `void *'.
58151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58154 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
58156 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58158 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58159 ldd_rewrite_script.
58161 2011-09-11 Ulrich Drepper <drepper@gmail.com>
58163 * configure.in: Remove --with-tls option.
58164 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58165 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58166 out in case it is missing.
58167 * sysdeps/ia64/elf/configure.in: Likewise.
58168 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58169 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58170 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58171 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58172 * sysdeps/sh/elf/configure.in: Likewise.
58173 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58174 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58175 * sysdeps/x86_64/elf/configure.in: Likewise.
58176 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58177 * sysdeps/mach/hurd/tls.h: Likewise.
58180 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58183 * configure.in: Fix use of AC_INIT.
58185 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58187 2011-09-10 Ulrich Drepper <drepper@gmail.com>
58189 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58191 * malloc/hooks.c: Likewise.
58194 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
58195 variables statically.
58196 (narenas): Initialize.
58197 (list_lock): Initialize.
58198 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
58199 initializtion of main_arena and list_lock. Small cleanups.
58200 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58201 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
58202 Add initializers to main_arena and mp_.
58203 (malloc_state): Remove pagesize member. Change all users to use
58206 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58207 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
58208 is always initialized.
58210 * malloc/malloc.c: Removed unused configurations and dead code.
58211 * malloc/arena.c: Likewise.
58212 * malloc/hooks.c: Likewise.
58213 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58215 * include/tls.h: Removed. USE___THREAD must always be defined.
58216 * bits/libc-tsd.h: Don't handle !USE___THREAD.
58217 * elf/dl-libc.c: Likewise.
58218 * elf/dl-tsd.c: Likewise.
58219 * include/errno.h: Likewise.
58220 * include/netdb.h: Likewise.
58221 * include/resolv.h: Likewise.
58222 * inet/herrno-loc.c: Likewise.
58223 * inet/herrno.c: Likewise.
58224 * malloc/arena.c: Likewise.
58225 * malloc/hooks.c: Likewise.
58226 * malloc/malloc.c: Likewise.
58227 * resolv/res-state.c: Likewise.
58228 * resolv/res_libc.c: Likewise.
58229 * sysdeps/i386/dl-machine.h: Likewise.
58230 * sysdeps/ia64/dl-machine.h: Likewise.
58231 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58232 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58233 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58234 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58235 * sysdeps/sh/dl-machine.h: Likewise.
58236 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58237 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58238 * sysdeps/unix/i386/sysdep.S: Likewise.
58239 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58240 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58241 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58242 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58243 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58245 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58246 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58247 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58249 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58250 * sysdeps/x86_64/dl-machine.h: Likewise.
58251 * tls.make.c: Likewise.
58253 * configure.in: Remove --with-__thread option. Make tests for
58254 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58255 tls_model attribute fail if no support is available. Remove
58257 * Makeconfig: Adjust for dropped configure option. All features are
58259 * Makerules: Likewise.
58260 * Versions.def: Likewise.
58261 * argp/argp-fmtstream.c: Likewise.
58262 * argp/argp-fmtstream.h: Likewise.
58263 * argp/argp-help.c: Likewise.
58264 * assert/assert.c: Likewise.
58265 * config.h.in: Likewise.
58266 * config.make.in: Likewise.
58267 * configure: Likewise.
58268 * configure.in: Likewise.
58269 * csu/Versions: Likewise.
58270 * csu/init.c: Likewise.
58271 * elf/tst-audit2.c: Likewise.
58272 * elf/tst-tls10.c: Likewise.
58273 * elf/tst-tls10.h: Likewise.
58274 * elf/tst-tls11.c: Likewise.
58275 * elf/tst-tls12.c: Likewise.
58276 * elf/tst-tls14.c: Likewise.
58277 * elf/tst-tlsmod11.c: Likewise.
58278 * elf/tst-tlsmod12.c: Likewise.
58279 * elf/tst-tlsmod13.c: Likewise.
58280 * elf/tst-tlsmod13a.c: Likewise.
58281 * elf/tst-tlsmod14a.c: Likewise.
58282 * elf/tst-tlsmod15b.c: Likewise.
58283 * elf/tst-tlsmod16a.c: Likewise.
58284 * elf/tst-tlsmod16b.c: Likewise.
58285 * elf/tst-tlsmod7.c: Likewise.
58286 * elf/tst-tlsmod8.c: Likewise.
58287 * elf/tst-tlsmod9.c: Likewise.
58288 * gmon/gmon.c: Likewise.
58289 * grp/fgetgrent_r.c: Likewise.
58290 * grp/putgrent.c: Likewise.
58291 * hurd/fopenport.c: Likewise.
58292 * include/libc-symbols.h: Likewise.
58293 * include/tls.h: Likewise.
58294 * intl/gettextP.h: Likewise.
58295 * intl/loadinfo.h: Likewise.
58296 * locale/global-locale.c: Likewise.
58297 * locale/localeinfo.h: Likewise.
58298 * mach/devstream.c: Likewise.
58299 * malloc/arena.c: Likewise.
58300 * malloc/set-freeres.c: Likewise.
58301 * misc/err.c: Likewise.
58302 * misc/getttyent.c: Likewise.
58303 * misc/mntent_r.c: Likewise.
58304 * posix/getopt.c: Likewise.
58305 * posix/wordexp.c: Likewise.
58306 * pwd/fgetpwent_r.c: Likewise.
58307 * resolv/Versions: Likewise.
58308 * resolv/res_hconf.c: Likewise.
58309 * shadow/fgetspent_r.c: Likewise.
58310 * shadow/putspent.c: Likewise.
58311 * stdio-common/printf_fphex.c: Likewise.
58312 * stdio-common/tmpfile.c: Likewise.
58313 * stdlib/abort.c: Likewise.
58314 * stdlib/fmtmsg.c: Likewise.
58315 * sunrpc/auth_unix.c: Likewise.
58316 * sunrpc/clnt_perr.c: Likewise.
58317 * sunrpc/clnt_tcp.c: Likewise.
58318 * sunrpc/clnt_udp.c: Likewise.
58319 * sunrpc/clnt_unix.c: Likewise.
58320 * sunrpc/openchild.c: Likewise.
58321 * sunrpc/svc_simple.c: Likewise.
58322 * sunrpc/svc_tcp.c: Likewise.
58323 * sunrpc/svc_udp.c: Likewise.
58324 * sunrpc/svc_unix.c: Likewise.
58325 * sunrpc/xdr.c: Likewise.
58326 * sunrpc/xdr_array.c: Likewise.
58327 * sunrpc/xdr_rec.c: Likewise.
58328 * sunrpc/xdr_ref.c: Likewise.
58329 * sunrpc/xdr_stdio.c: Likewise.
58331 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58333 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58335 2011-07-03 Andreas Jaeger <aj@suse.de>
58337 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58338 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58339 regenerate with gen-libm-tests.pl.
58341 2010-05-12 Petr Baudis <pasky@suse.cz>
58344 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58345 around j0() zero points by switching to j1().
58346 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58347 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58348 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58349 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58351 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58353 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58355 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58358 Patch in part by Pavel Roskin <proski@gnu.org>.
58361 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58363 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
58364 Free memory block if necessary.
58367 * libio/genops.c (INTDEF): For string streams the _lock pointer can
58368 be NULL. Don't lock in this case.
58370 2011-09-09 Roland McGrath <roland@hack.frob.com>
58372 * elf/elf.h (ELFOSABI_GNU): New macro.
58373 (ELFOSABI_LINUX): Define to that.
58375 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
58377 * string/strncat.c (strncat): Undef the symbol in case it has been
58378 defined in bits/string.h.
58380 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58382 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58384 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58387 2011-08-17 Andreas Jaeger <aj@suse.de>
58389 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58391 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
58392 Ian Lance Taylor <iant@google.com>
58394 * math/libm-test.inc (lround_test): New testcase.
58395 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58397 2011-09-08 Ulrich Drepper <drepper@gmail.com>
58399 * Makefile: Remove support for automatic cvs check-ins.
58400 * Makerules: Likewise.
58401 * config.make.in: Likewise.
58402 * configure.in: Likewise.
58403 * intl/Makefile: Likewise.
58404 * locale/Makefile: Likewise.
58405 * po/Makefile: Likewise.
58406 * posix/Makefile: Likewise.
58407 * sysdeps/gnu/Makefile: Likewise.
58408 * sysdeps/mach/hurd/Makefile: Likewise.
58409 * sysdeps/sparc/sparc32/Makefile: Likewise.
58412 * posix/Makefile (bug-regex32-ENV): Define.
58413 Patch by John Stanley <jpsinthemix@verizon.net>.
58415 * misc/Makefile (headers): Add bits/select2.h.
58416 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58417 * misc/bits/select2.h: New file.
58418 * include/bits/select2.h: New file.
58419 * debug/Makefile (routines): Add fdelt_chk.
58420 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58421 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58423 * debug/fdelt_chk.c: New file.
58425 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
58426 * wcsmbs/test-wmemcmp.c: Likewise.
58427 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58428 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58430 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58432 * string/Makefile (strop-tests): Add memcmp.
58433 * string/test-wmemcmp.c: New file.
58434 * string/test-memcmp.c: Add wmemcmp support.
58436 2011-09-08 Roland McGrath <roland@hack.frob.com>
58439 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58442 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58443 garbage value in a __mach_port_mod_refs call in the cases of the
58444 task-self and thread-self ports.
58446 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58448 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58450 2011-09-08 Andreas Schwab <schwab@redhat.com>
58452 * elf/dl-load.c (lose): Check for non-null L.
58454 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58456 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58458 * elf/dl-libc.c (dlerror_run): Pass back error code from
58462 * elf/dl-load.c (lose): Free l_origin if it is valid.
58464 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58466 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58467 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58469 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58470 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58471 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58473 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58475 * sysdeps/powerpc/fpu/e_hypot.c: New file.
58476 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58477 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58478 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58479 * sysdeps/powerpc/fpu/k_cosf.c: New file.
58480 * sysdeps/powerpc/fpu/k_sinf.c: New file.
58481 * sysdeps/powerpc/fpu/s_cosf.c: New file.
58482 * sysdeps/powerpc/fpu/s_sinf.c: New file.
58483 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58484 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58486 2011-08-15 Alan Modra <amodra@gmail.com>
58489 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58490 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58491 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
58492 ppc_mcount to static-only-routines.
58493 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58495 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58496 __mcount_internal with usual JUMPTARGET. Remove useless nop.
58498 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
58500 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58501 for finite and infinity parameters.
58503 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58505 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58506 and add nop instructions for throughput optimization.
58507 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58509 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
58511 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58512 aligned copy for power7 with vector-scalar instructions.
58513 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58515 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
58517 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58520 2011-09-07 Andreas Schwab <schwab@redhat.com>
58523 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58526 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58528 * sysdeps/unix/sysv/linux/x86_64/init-first.c
58529 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58530 syscall wrapper around clock_gettime in __vdso_clock_gettime.
58531 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58534 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58536 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58537 Forgot to demangle the pointer.
58539 * sysdeps/i386/sysdep.h: Define atom_text_section.
58540 * sysdeps/x86_64/sysdep.h: Likewise.
58541 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58542 section with atom_text_section.
58543 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58544 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58545 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58546 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58547 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58549 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58550 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58551 already be defined. Change to take two parameters and don't assign
58552 result to variable. Adjust all users.
58553 Define INTERNAL_GETTIME if not already defined.
58554 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58557 HAVE_CLOCK_GETTIME_VSYSCALL.
58558 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58560 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58561 gettimeofday vsyscall, just use time.
58563 2011-09-06 Andreas Schwab <schwab@redhat.com>
58565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58568 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58570 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58572 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58574 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58575 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58576 syscall if possible.
58578 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58580 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58581 e_ident. Don't pass to find_mapsXX.
58582 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58584 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58586 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58587 strchr-sse2-no-bsf strrchr-sse2-no-bsf
58588 * sysdeps/x86_64/multiarch/strchr.S: Update.
58589 Check bit_slow_BSF bit.
58590 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58591 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58592 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58594 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58597 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58599 (tryshell): Define.
58600 (__spawni): Change last parameter to be flag. Test
58601 SPAWN_XFLAGS_USE_PATH flag to use path or not.
58602 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58603 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58604 * posix/spawni.c: Likewise.
58605 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58606 * posix/spawnp.c: Likewise. Change normal version to use
58607 SPAWN_XFLAGS_USE_PATH.
58608 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58609 SPAWN_XFLAGS_TRY_SHELL.
58612 * posix/glob.h: Remove gcc 1.x support.
58615 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58617 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58620 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58622 * sysdeps/i386/i686/multiarch/strchr.S: New file.
58623 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58624 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58625 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58626 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58627 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58629 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58631 * sysdeps/x86_64/wcscmp.S: New file.
58633 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58634 wcscmp-c wcscmp-sse2
58635 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58636 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58637 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58638 * wcsmbs/wcscmp.c: Allow renaming.
58640 2011-09-05 David S. Miller <davem@davemloft.net>
58642 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58643 stack slot, rather than the struct return pointer slot.
58644 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58645 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58647 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58649 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58651 * po/ja.po: Update from translation team.
58654 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58655 kernel in 64-bit binaries.
58657 2011-09-01 David S. Miller <davem@davemloft.net>
58659 * elf/elf.h (HWCAP_SPARC_*): Move to..
58660 * sysdeps/sparc/sysdep.h: this new file and add new values.
58661 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58662 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58663 _DL_HWCAP_COUNT to 24.
58664 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58666 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58667 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58668 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58669 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58670 instead of magic constants.
58671 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58673 2011-08-31 David S. Miller <davem@davemloft.net>
58675 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58676 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58677 Reimplement to do errno handling inline.
58678 (SYSCALL_ERROR_HANDLER): New macro.
58679 (__SYSCALL_STRING): Do not do errno handling in asm.
58680 (__CLONE_SYSCALL_STRING): Delete.
58681 (__INTERNAL_SYSCALL_STRING): Delete.
58682 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58683 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58684 (PSEUDO): Reimplement to do errno handling inline.
58685 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58686 (SYSCALL_ERROR_HANDLER): New macro.
58687 (__SYSCALL_STRING): Do not do errno handling in asm.
58688 (__CLONE_SYSCALL_STRING): Delete.
58689 (__INTERNAL_SYSCALL_STRING): Delete.
58690 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58691 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58693 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58694 (inline_syscall*): Add 'err' argument.
58695 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58696 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58697 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58698 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58700 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58701 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58703 2011-08-30 Andreas Schwab <schwab@redhat.com>
58705 * elf/rtld.c (dl_main): Relocate objects in dependency order.
58707 2011-08-29 Jiri Olsa <jolsa@redhat.com>
58709 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58712 2011-08-24 David S. Miller <davem@davemloft.net>
58714 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58716 2011-08-24 Andreas Schwab <schwab@redhat.com>
58718 * elf/Makefile: Add rules to build and run unload8 test.
58719 * elf/unload8.c: New file.
58720 * elf/unload8mod1.c: New file.
58721 * elf/unload8mod1x.c: New file.
58722 * elf/unload8mod2.c: New file.
58723 * elf/unload8mod3.c: New file.
58725 * elf/dl-close.c (_dl_close_worker): Reset private search list if
58728 2011-08-23 David S. Miller <davem@davemloft.net>
58730 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58731 subtract stack bias.
58732 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58733 %sp not %fp in calculations.
58734 (_JMPBUF_UNWINDS_ADJ): Likewise.
58736 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58737 (aio_suspend): Call it to force an exception region around the
58738 AIO_MISC_WAIT() invocation.
58740 2011-08-23 Andreas Schwab <schwab@redhat.com>
58742 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58745 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
58747 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58749 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58750 and <dl-machine.h>.
58751 (Elf64_FuncDesc): Remove.
58753 2011-08-22 David S. Miller <davem@davemloft.net>
58755 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58756 sigaltstack check, add missing cfi directives.
58757 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58758 missing cfi directives, and sigaltstack handling.
58760 2011-08-16 Andreas Schwab <schwab@redhat.com>
58763 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58764 object is seen twice.
58765 * elf/dl-fini.c (_dl_sort_fini): Likewise.
58767 * elf/Makefile (distribute): Add tst-initorder2.c.
58768 (tests): Add tst-initorder2.
58769 (modules-names): Add tst-initorder2a tst-initorder2b
58770 tst-initorder2c tst-initorder2d. Add rules to build them.
58771 ($(objpfx)tst-initorder2.out): New rule.
58772 * elf/tst-initorder2.c: New file.
58773 * elf/tst-initorder2.exp: New file.
58775 2011-08-22 Andreas Schwab <schwab@redhat.com>
58777 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58779 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58780 dependencies back to end of function.
58782 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58783 $(elfobjdir)/ld.so.
58785 2011-08-21 Ulrich Drepper <drepper@gmail.com>
58787 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58788 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58789 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58790 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58791 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58792 of __vdso_gettimeofday.
58793 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58794 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
58796 (_libc_vdso_platform_setup): Remove initialization of
58797 __vdso_gettimeofday and __vdso_time.
58799 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58801 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58802 and fgetc_unlocked.
58803 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58806 * elf/dl-open.c (add_to_global): Report additions to the global scope
58807 for LD_DEBUG=scopes.
58808 (dl_open_worker): Also print scope of newly loaded dependencies.
58809 (_dl_show_scope): Indicate if there is no scope.
58812 * stdio-common/Makefile (tests): Add bug24.
58813 * stdio-common/bug24.c: New file.
58815 2011-08-19 Andreas Jaeger <aj@suse.de>
58818 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58819 non-existant file when using close-on-exec mode.
58821 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58823 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58824 the very first instruction.
58826 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58827 the CFI state in the end.
58828 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58829 inclusion of dl-trampoline.h.
58830 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58832 2011-08-19 Andreas Schwab <schwab@redhat.com>
58834 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58835 expectations for long double.
58837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58838 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58840 2011-08-14 David S. Miller <davem@davemloft.net>
58842 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58843 artificual limit depends upon the system page size.
58845 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58847 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58848 * resolv/Makefile: Define CFLAGS-libresolv.
58850 2011-08-17 Andreas Schwab <schwab@redhat.com>
58852 * nss/makedb.c (compute_tables): Make variables used in nested
58855 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58857 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58858 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58859 if buffer was too small.
58861 * elf/pldd.c (main): Attach to all threads in the process.
58862 Rewrite /proc handling to use *at functions.
58864 2011-08-16 Ulrich Drepper <drepper@gmail.com>
58866 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58867 specifies first scope to show.
58868 (dl_open_worker): Update callers. Move printing scope of new
58869 object to before the relocation.
58870 * elf/rtld.c (dl_main): Update _dl_show_scope call.
58871 * sysdeps/generic/ldsodefs.h: Update declaration.
58873 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58874 string for the scope number.
58876 2011-08-14 Ulrich Drepper <drepper@gmail.com>
58878 * nscd/servicescache.c (cache_addserv): Make sure written is always
58881 2011-08-14 Roland McGrath <roland@hack.frob.com>
58883 * sysdeps/i386/i486/bits/atomic.h
58884 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58885 statement expression, so as to suppress "set but not used" warning.
58886 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58888 * string/strncat.c (STRNCAT): Use prototype definition.
58890 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58891 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58893 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58894 (localedef-modules): Add localedef.
58895 (locale-modules): Add locale.
58897 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58898 * elf/rtld.c (dl_main): Invert order of assignment in last change,
58899 to avoid a warning.
58901 2011-08-14 David S. Miller <davem@davemloft.net>
58903 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58904 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58906 2011-08-13 Ulrich Drepper <drepper@gmail.com>
58908 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58909 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58910 * elf/rtld.c (dl_main): Set l_name of vDSO.
58911 Call _dl_show_scope when DL_DEBUG_SCOPES.
58912 (process_dl_debug): Recognize scopes flag and also set it for all.
58913 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58914 Declare _dl_show_scope.
58916 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58917 (do_dlopen): Pass caller_dlopen to dl_open.
58918 (__libc_dlopen_mode): Initialize caller_dlopen.
58920 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58921 of libc. Make tolower call locale-independent. Optimize a bit by
58922 using isdigit instead of isalnum.
58923 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58925 2011-08-12 Ulrich Drepper <drepper@gmail.com>
58927 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58928 was a dependency or dynamically loaded.
58930 2011-08-11 Ulrich Drepper <drepper@gmail.com>
58932 * intl/l10nflist.c: Allow architecture-specific pop function.
58933 * sysdeps/x86_64/l10nflist.c: New file.
58935 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58938 2011-08-10 Andreas Schwab <schwab@redhat.com>
58940 * include/dirent.h: Add libc_hidden_proto for scandirat and
58941 scandirat64. Don't declare __scandirat64.
58942 * dirent/scandirat.c: Add libc_hidden_def.
58943 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58944 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58946 2011-08-10 David S. Miller <davem@davemloft.net>
58948 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58950 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58951 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58952 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58954 2011-08-09 Ulrich Drepper <drepper@gmail.com>
58956 * Versions.def [libc]: Add GLIBC_2.15.
58957 * dirent/Makefile (routines): Add scandirat and scandirat64.
58958 * dirent/Versions [libc]: Export scandirat and scandirat64 for
58960 * dirent/dirent.h: Declare scandirat and scandirat64.
58961 * dirent/scandirat.c: New file.
58962 * dirent/scandirat64.c: New file.
58963 * sysdeps/wordsize-64/scandirat.c: New file.
58964 * sysdeps/wordsize-64/scandirat64.c: New file.
58965 * dirent/opendir.c: Define opendirat.
58966 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
58968 * dirent/scandir64.c: Adjust for scandir.c change.
58969 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
58970 __scandirat64, and __scandir_cancel_handler.
58971 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
58972 additional parameter and use openat instead of open (outside of ld.so).
58973 Add new __opendir as wrapper around __opendirat.
58974 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58975 here without requiring old scandirat implementation.
58977 2011-08-08 Ulrich Drepper <drepper@gmail.com>
58979 * dirent/scandir.c (cancel_handler): Renamed to
58980 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
58981 defined. Adjust users.
58982 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58983 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58985 2011-08-04 Ulrich Drepper <drepper@gmail.com>
58987 * string/test-string.h (IMPL): Use __STRING to expand name and then
58990 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
58993 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58995 * string/Makefile: Update.
58996 (strop-tests): Append strncat.
58997 * string/test-wcscmp.c: New file.
58998 New comprehensive test for wcscmp.
58999 * string/test-strcmp.c: Update.
59000 (WIDE): New define.
59002 2011-07-22 Andreas Schwab <schwab@redhat.com>
59004 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59007 2011-07-26 Andreas Schwab <schwab@redhat.com>
59009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59010 encoding to ACE if AI_IDN.
59012 2011-08-01 Jakub Jelinek <jakub@redhat.com>
59014 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59015 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59017 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59019 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59020 Fix overflow bug in strncat.
59021 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59023 * string/test-strncat.c: Update.
59024 Add new tests for checking overflow bugs.
59026 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59029 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59030 * sysdeps/i386/i686/multiarch/strcat.S: New file.
59031 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59032 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59033 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59034 * sysdeps/i386/i686/multiarch/strncat.S: New file.
59035 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59036 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59038 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59039 (USE_AS_STRCAT): Define.
59040 Add strcat and strncat support.
59041 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59043 2011-07-25 Andreas Schwab <schwab@redhat.com>
59045 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59046 __n bigger than INT_MAX+1.
59047 (__strncmp_g): Likewise.
59049 2011-07-23 Ulrich Drepper <drepper@gmail.com>
59051 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59052 * libio/stido.h: Likewise.
59054 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59059 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59060 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59061 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59062 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59066 * scripts/test-installation.pl: Don't expect libnss_test1 to be
59069 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59071 (_dl_x86_64_save_sse): Likewise.
59073 2011-07-22 Ulrich Drepper <drepper@gmail.com>
59075 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59077 (_dl_x86_64_save_sse): Likewise.
59079 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59081 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59083 2011-07-21 Andreas Schwab <schwab@redhat.com>
59085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59087 (_dl_x86_64_save_sse): Use correct AVX check.
59089 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59091 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59092 bug in strncpy/strncat.
59093 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59095 2011-07-21 Ulrich Drepper <drepper@gmail.com>
59097 * string/tester.c (test_strcat): Add tests for different alignments
59098 of source and destination.
59099 (test_strncat): Likewise.
59101 2011-07-20 Ulrich Drepper <drepper@gmail.com>
59104 * posix/glob.c (glob): Check passed in values before using them in
59105 expressions to avoid some overflows.
59106 (glob_in_dir): Likewise.
59109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59110 check for AVX enablement so that we don't crash with old kernels and
59112 * elf/tst-audit4.c: Add same checks here.
59113 * elf/tst-audit6.c: Likewise.
59115 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59117 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
59119 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59121 2011-07-20 Ulrich Drepper <drepper@gmail.com>
59123 * po/cs.po: Update from translation team.
59124 * po/bg.po: Likewise.
59126 2011-07-12 Marek Polacek <mpolacek@redhat.com>
59128 * misc/sys/cdefs.h: Add support for const attribute.
59129 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59130 to gnu_dev_{major,minor,makedev} functions.
59132 2011-07-20 Marek Polacek <mpolacek@redhat.com>
59134 * intl/dcigettext.c (get_output_charset): Add missing bracket.
59136 2011-07-20 Andreas Schwab <schwab@redhat.com>
59138 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59141 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59143 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59144 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59145 register in order to avoid conflicts with the soft frame pointer
59146 being held in r11 when necessary.
59147 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59148 (INTERNAL_VSYSCALL_NCS): Likewise.
59150 2011-07-14 Marek Polacek <mpolacek@redhat.com>
59152 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59153 * elf/dl-fini.c (_dl_fini): Adjust caller.
59154 * elf/dl-close.c (_dl_close_worker): Likewise.
59155 * sysdeps/generic/ldsodefs.h: Adjust declaration.
59157 2011-07-15 Marek Polacek <mpolacek@redhat.com>
59159 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59160 "aux_cache->nlibs < 0".
59162 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59163 in the reload-count case.
59165 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59168 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59169 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59170 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59171 * sysdeps/x86_64/multiarch/strcat.S: New file.
59172 * sysdeps/x86_64/multiarch/strncat.S: New file.
59173 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59174 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59175 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59176 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59177 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59178 (USE_AS_STRCAT): Define.
59179 Add strcat and strncat support.
59180 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59181 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59182 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59183 * string/strncat.c: Update.
59184 (USE_AS_STRNCAT): Define.
59185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59186 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59188 * sysdeps/x86_64/multiarch/init-arch.h
59189 (bit_Prefer_PMINUB_for_stringop): New.
59190 (index_Prefer_PMINUB_for_stringop): Likewise.
59191 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59192 bit_Prefer_PMINUB_for_stringop.
59194 2011-07-19 Ulrich Drepper <drepper@gmail.com>
59196 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59198 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59199 of casting of buffer.
59200 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59201 buffer32 and buffer64.
59202 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59203 writes instead of casting of buffer.
59204 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59206 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59209 2011-07-19 Andreas Schwab <schwab@redhat.com>
59211 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59213 2011-07-19 Ulrich Drepper <drepper@gmail.com>
59215 * nscd/nscd.c (termination_handler): Don't do anything for a database
59216 if it has not yet been initialized.
59218 2011-07-18 Ulrich Drepper <drepper@gmail.com>
59220 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59222 2011-07-15 Marek Polacek <mpolacek@redhat.com>
59224 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59226 2011-07-18 Ulrich Drepper <drepper@gmail.com>
59228 * po/nl.po: Update from translation team.
59229 * po/sv.po: Likewise.
59231 2011-07-16 Roland McGrath <roland@hack.frob.com>
59233 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59234 now disallowed by GCC.
59236 * configure.in (use-default-link): Default to yes if a test -shared
59237 link meets our qualifications.
59238 * configure: Regenerated.
59240 * config.make.in (output-format): New variable.
59241 * configure.in: Check for ld --print-output-format support.
59242 * configure: Regenerated.
59243 * Makerules ($(common-objpfx)format.lds)
59244 [$(output-format) != unknown]: Just use $(output-format),
59245 instead of the linker-script munging.
59247 2011-07-14 Roland McGrath <roland@hack.frob.com>
59249 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59250 of $(common-objpfx)shlib.lds.
59251 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59253 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59254 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59256 * configure.in (-z relro check): Adjust test code to add a large
59257 writable data section after it.
59258 * configure: Regenerated.
59260 2011-07-11 Roland McGrath <roland@hack.frob.com>
59262 * configure.in (-z relro check): Fix test code to make the variable
59264 * configure: Regenerated.
59266 2011-07-11 Ulrich Drepper <drepper@gmail.com>
59268 * nscd/nscd.h (struct traced_file): Define.
59269 (struct database_dyn): Remove inotify_descr, reset_res, and filename
59270 elements. Add traced_files.
59271 (inotify_fd): Declare.
59272 (register_traced_file): Declare.
59273 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59274 (inotify_fd): Export.
59275 (resolv_conf_descr): Remove.
59276 (nscd_init): Move inotify descriptor creation to main.
59277 Don't register files for notification here.
59278 (register_traced_file): New function.
59279 (invalidate_cache): Don't use reset_res to determine whether to call
59280 res_init, go through the list of registered files.
59281 (main_loop_poll): The inotify descriptors are now stored in the
59282 structures for the traced files.
59283 (main_loop_epoll): Likewise
59284 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
59285 to __nss_disable_nscd.
59286 * nscd/cache.c (prune_cache): There is no single inotify descriptor
59287 for a database anymore. Check the records for all the registered
59289 * nss/Makefile (libnss_files-routines): Add files-init.
59290 (libnss_db-routines): Add db-init.
59291 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59292 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59293 * nss/nss_db/db-init.c: New file.
59294 * nss/nss_files/files-init.c: New file.
59295 * nss/nsswitch.c (nss_load_library): New function. Broken out of
59296 __nss_lookup_function.
59297 (__nss_lookup_function): Call nss_load_library.
59298 (nss_load_all_libraries): New function.
59299 (__nss_disable_nscd): Take parameter with callback function for files
59300 to register. Set is_nscd. Load all the DSOs for the NSS modules
59301 used for the cached services.
59302 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59303 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59304 options for features to all the files in nscd.
59306 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59308 2011-07-10 Roland McGrath <roland@hack.frob.com>
59310 * csu/elf-init.c (__libc_csu_init): Comment typo.
59312 2011-07-09 Ulrich Drepper <drepper@gmail.com>
59314 * po/pl.po: Update from translation team.
59315 * po/ja.po: Likewise.
59316 * po/ru.po: Likewise.
59317 * po/ko.po: Likewise.
59318 * po/fr.po: Likewise.
59320 2011-07-09 Roland McGrath <roland@hack.frob.com>
59322 * configure.in (.ctors/.dtors header and trailer check):
59323 Use an empirical test on a built program.
59324 * configure: Regenerated.
59326 * configure.in (-z relro check): Use an empirical test on a built DSO.
59327 Detect, but do not require, on ia64.
59328 * configure: Regenerated.
59330 * configure.in (READELF): Find it with AC_CHECK_TOOL.
59331 Update tests that use readelf to use $READELF instead.
59332 * configure: Regenerated.
59334 2011-07-08 Ulrich Drepper <drepper@gmail.com>
59336 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59337 if the result is not used.
59339 2011-07-05 Andreas Jaeger <aj@suse.de>
59342 * stdlib/tst-strtod.c: Add testcase.
59344 2011-07-07 Ulrich Drepper <drepper@gmail.com>
59346 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59347 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59348 The latter has a higher limit. Take additional parameter to pass to
59350 (__pathconf): Pass file to __statfs_link_max.
59351 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59353 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59357 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59358 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59360 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59361 (__statfs_filesize_max): Likewise.
59362 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59364 2011-07-05 Andreas Jaeger <aj@suse.de>
59366 * resolv/res_comp.c (dn_skipname): Remove unused variable.
59368 2011-07-06 Marek Polacek <mpolacek@redhat.com>
59370 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59372 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59375 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
59377 * Makefile (strop-tests): Add strncat.
59378 * string/test-strncat.c: New file.
59380 2011-06-30 Marek Polacek <mpolacek@redhat.com>
59382 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59384 2011-06-21 Andreas Jaeger <aj@suse.de>
59386 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59387 Copy rule from iconvdata/Makefile.
59389 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59392 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59393 but no long options are defined, just return 'W'.
59395 2011-06-22 Marek Polacek <mpolacek@redhat.com>
59398 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59400 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59402 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59404 (innetgr): Likewise.
59406 2011-07-05 Roland McGrath <roland@hack.frob.com>
59408 * config.make.in (install_root): Default to $(DESTDIR).
59410 2011-07-05 Ulrich Drepper <drepper@gmail.com>
59412 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59414 2011-07-02 Roland McGrath <roland@hack.frob.com>
59416 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59418 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59419 containing directory rather than embedding absolute directory names.
59421 * scripts/check-local-headers.sh: Rewritten using awk.
59422 Match by word, not by line. Print error messages for matches.
59423 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59425 * Makerules [shlib-lds-flags empty]:
59426 ($(common-objpfx)libc_pic.opts): New target.
59427 ($(common-objpfx)libc_pic.os.clean): New target.
59428 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59430 * config.make.in (OBJCOPY): New variable.
59431 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59432 * configure: Regenerated.
59434 * config.make.in (use-default-link): New variable.
59435 * configure.in (use_default_link): Grok --with-default-link to set it.
59436 * configure: Regenerated.
59437 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59438 (shlib-lds, shlib-lds-flags): Define to empty.
59440 * Makerules (shlib-lds): New variable.
59441 (shlib-lds-flags): New variable.
59442 (build-shlib, build-moduile, build-module-asneeded): Use it.
59443 ($(common-objpfx)libc.so): Use $(shlib-lds).
59444 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59445 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59447 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59448 DT_FLAGS/DT_FLAGS_1 with zero flags.
59450 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59451 linker script munging.
59453 2011-07-02 Ulrich Drepper <drepper@gmail.com>
59455 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59457 * crypt/sha512.c (sha512_process_block): Perform total addition using
59458 128-bit if possible.
59459 (__sha512_finish_ctx): Likewise.
59460 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59462 * crypt/sha256.c (SWAP64): Define.
59463 (sha256_process_block): Perform total addition using 64-bit if
59465 (__sha256_finish_ctx): Likewise.
59467 2011-07-01 Ulrich Drepper <drepper@gmail.com>
59469 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
59470 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59471 * nscd/hstcache.c (cache_addhst): Likewise.
59472 * nscd/grpcache.c (cache_addgr): Likewise.
59473 * nscd/aicache.c (addhstaiX): Likewise
59474 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59476 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
59478 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59479 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59480 * nscd/hstcache.c (cache_addhst): Likewise.
59481 * nscd/grpcache.c (cache_addgr): Likewise.
59482 * nscd/aicache.c (addhstaiX): Likewise
59484 2011-07-01 Andreas Schwab <schwab@redhat.com>
59486 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59487 domain only when needed.
59489 2011-06-30 Andreas Schwab <schwab@redhat.com>
59491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59492 is always restored.
59494 2011-06-29 Ulrich Drepper <drepper@gmail.com>
59496 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59497 are re-adding the entry.
59498 * nscd/servicescache.c (cache_addserv): Likewise.
59500 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
59502 * sysdeps/generic/dl-irel.h: fix protection against multiple
59504 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59506 2011-06-28 Ulrich Drepper <drepper@gmail.com>
59509 * malloc/memusage.sh: Fix quoting in message.
59510 * debug/xtrace.sh: Likewise.
59512 * configure.in: Remove support for --experimental-malloc option, make
59514 * config.make.in: Likewise.
59515 * malloc/Makefile: Likewise.
59517 2011-06-27 Andreas Schwab <schwab@redhat.com>
59519 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59520 two-byte characters.
59522 2011-06-27 Roland McGrath <roland@hack.frob.com>
59524 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59525 AC_CACHE_CHECK invocation.
59526 * configure: Regenerated.
59528 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59530 2011-06-27 Ulrich Drepper <drepper@gmail.com>
59533 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
59534 bit from old_res_options.
59536 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59538 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59539 value type for setfct.
59541 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
59543 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59544 __gettimeofday instead of gettimeofday.
59546 2011-06-26 Ulrich Drepper <drepper@gmail.com>
59548 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59550 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
59552 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59554 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59557 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59560 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59561 strcpy-sse2-unaligned strncpy-sse2-unaligned
59562 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59563 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59564 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59565 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59566 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59567 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59568 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59569 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59570 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59571 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59572 (STRCPY): Support SSE2 and SSSE3 versions.
59574 2011-06-24 Ulrich Drepper <drepper@gmail.com>
59577 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59578 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59579 kernels which artificially limit size of requests.
59581 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59584 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59585 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59586 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59587 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59588 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59589 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59590 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59591 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59592 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59593 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59594 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59595 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59596 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59597 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59599 Enable unaligned load optimization for Intel Core i3, i5 and i7
59601 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59603 (index_Fast_Unaligned_Load): Define.
59604 (HAS_FAST_UNALIGNED_LOAD): Define.
59606 2011-06-23 Marek Polacek <mpolacek@redhat.com>
59608 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59610 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59613 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59614 until it is clear that the information is realy needed.
59615 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59617 2011-06-22 Andreas Schwab <schwab@redhat.com>
59619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59621 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59623 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59624 /sys/devices/system/cpu/online if it is usable.
59626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59627 reading the information from the /proc filesystem to once a second.
59629 2011-06-21 Andreas Jaeger <aj@suse.de>
59631 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59632 NULL after inclusion of kernel headers.
59634 2011-06-21 Ulrich Drepper <drepper@gmail.com>
59636 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59637 calls to internal_setent.
59640 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59641 addresses using gethostbyname4_r ignore IPv4 addresses.
59643 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59644 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
59646 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59648 2011-06-20 David S. Miller <davem@davemloft.net>
59650 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59652 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59654 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59655 (elf_irel): Use it.
59656 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59657 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59658 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59659 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59660 * sysdeps/x86_64/dl-irel.h: Likewise.
59662 * elf/dl-runtime.c: Use elf_ifunc_invoke.
59663 * elf/dl-sym.c: Likewise.
59665 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59667 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
59668 need to dereference resplen2.
59670 2011-06-14 Andreas Schwab <schwab@redhat.com>
59672 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59674 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59676 * Makeconfig: Define vardbdir and inst_vardbdir.
59677 * nss/Makefile: Add rules to install db-Makefile.
59679 * nss/nss_db/db-XXX.c: Cleanup.
59681 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59682 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59684 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59685 * nss/makedb.c: Implement -g option to specify that value strings
59686 are generated and should not be added to table iterated over for
59688 * nss/nss_db/db-initgroups.c: New file.
59690 * nss/getent.c: Add support for initgroups lookups through getgrouplist
59693 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59694 (internal_getgrouplist): Adjust to name change.
59695 Update use_initgroups_entry if this is not the first call.
59696 * nss/databases.def: Add initgroups entry.
59698 * nss/makedb.c (compute_tables): Check result of multiple hash table
59699 sizes to minimize maximum chain length.
59701 2011-06-14 Ulrich Drepper <drepper@gmail.com>
59703 * Versions.def: Add entry for libnss_db.
59704 * shlib-versions: Likewise.
59705 * nss/Makefile: Add rules to build libnss_db.
59706 * nss/Versions: Add libnss_db information. Organize libnss_files
59708 * nss/db-Makefile: Add gshadow support. Change rules for the new
59709 makedb progra. Some minor improvements to generate smaller files.
59710 * nss/nss_db/nss_db.h: Move NSS database header data structures to
59712 * nss/makedb.c: ...here.
59713 Improve database format to be smaller and require less memory at
59715 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
59717 * nss/nss_db/db-netgrp.c: Likewise.
59718 * nss/nss_db/db-open.c: Likewise.
59719 * nss/nss_files/flies-XXX.x: Adjust comments.
59720 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59721 * nss/nss_files/files-grp.c: Likewise.
59722 * nss/nss_files/files-hosts.c: Likewise.
59723 * nss/nss_files/files-network.c: Likewise.
59724 * nss/nss_files/files-proto.c: Likewise.
59725 * nss/nss_files/files-pwd.c: Likewise.
59726 * nss/nss_files/files-rpc.c: Likewise.
59727 * nss/nss_files/files-service.c: Likewise.
59728 * nss/nss_files/files-sgrp.c: Likewise.
59729 * nss/nss_files/files-spwd.c: Likewise.
59730 * nss/nss_db/db-alias.c: Removed.
59731 * nss/nss_db/dummy-db.h: Removed.
59733 2011-06-02 Ulrich Drepper <drepper@gmail.com>
59735 * nss/makedb.c: Rewritten to not use database library.
59736 * nss/Makefile: Update to build new makedb program.
59738 2011-06-14 Andreas Jaeger <aj@suse.de>
59740 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59741 memset declaration.
59743 2011-06-10 Andreas Schwab <schwab@redhat.com>
59745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59748 2011-06-10 Roland McGrath <roland@hack.frob.com>
59750 * Makerules (shlib.lds): Fail if the linker script comes out empty.
59751 * elf/Makefile ($(objpfx)ld.so): Likewise.
59753 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59754 Don't list ld.so twice in dependencies.
59756 * posix/bug-regex31.c: Include <stdlib.h>.
59758 * nscd/hstcache.c (cache_addhst): Remove unused variable.
59760 * nis/nss_compat/compat-spwd.c
59761 (getspent_next_nss_netgr): Remove unused variable.
59762 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59764 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59765 nonmembers" output to use the right array.
59767 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59769 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59771 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59772 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59773 * catgets/gencat.c (read_input_file): Likewise.
59774 * locale/programs/locarchive.c (enlarge_archive): Likewise.
59776 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59777 variable definition inside #if's controlling its use.
59779 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59781 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59783 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59785 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59788 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59790 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59791 * configure: Regenerated.
59793 * Makerules: Revert last change.
59794 * elf/Makefile: Likewise.
59796 2011-06-09 Roland McGrath <roland@hack.frob.com>
59798 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59799 * elf/Makefile ($(objpfx)librtld.os): Likewise.
59800 (reloc-link): Likewise.
59802 2011-06-09 Ulrich Drepper <drepper@gmail.com>
59804 * elf/Makefile: Add rules to build pldd.
59805 * elf/pldd.c: New file.
59806 * elf/pldd-xx.c: New file.
59808 2011-06-07 Ulrich Drepper <drepper@gmail.com>
59810 * version.h: Update for 2.15 development version.
59812 2011-06-07 David S. Miller <davem@davemloft.net>
59814 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59816 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59817 elf_machine_lazy_rel): Likewise.
59818 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59819 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59820 elf_machine_lazy_rel): Likewise.
59821 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59822 dl_hwcap via passed in argument.
59823 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59826 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59828 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
59830 2011-06-06 Roland McGrath <roland@hack.frob.com>
59833 * manual/fdl-1.1.texi: New file, verbatim from:
59834 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59835 * manual/lgpl-2.1.texi: New file, verbatim from:
59836 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59837 * manual/Makefile (licenses): New variable, list those new file names.
59839 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59841 * manual/fdl.texi: File removed.
59842 * manual/lesser.texi: File removed.
59843 * manual/libc.texinfo (Copying, Documentation License):
59844 Use new @include file names, put @appendix directive before @include.
59846 2011-06-04 Jakub Jelinek <jakub@redhat.com>
59849 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59850 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59851 (mq_open): Add __NTH.
59853 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
59855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59856 Assume Intel Core i3/i5/i7 processor if AVX is available.
59858 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59863 2011-05-31 Andreas Schwab <schwab@redhat.com>
59865 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59866 memory. Use alloca_account. Fix memory leak when retrying.
59868 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59870 * version.h (RELEASE): Bump for 2.14 release.
59871 * include/features.h (__GLIBC_MINOR__): Bump to 14.
59873 * config.make.in (RANLIB): Remove entry.
59875 2011-05-30 Ulrich Drepper <drepper@gmail.com>
59877 * po/Makefile (po-sed-cmd): Add ksh to extensions.
59878 (libc.pot): Work around missing support for .ksh extension in xgettext.
59881 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59882 if both request failed.
59883 (send_dg): In case of server errors clear resplen or *resplen2.
59886 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59887 when there are multiple maps.
59888 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59889 (_dl_fini): Remove test here.
59891 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59893 2011-05-29 Ulrich Drepper <drepper@gmail.com>
59896 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59897 bit from old_res_options.
59898 (gaih_inet): Likewise.
59901 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59904 * resolv/res_init.c (res_setoptions): Make the code more compact.
59907 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59911 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59913 * malloc/malloc.h: Mark malloc hook variables as deprecated.
59916 * malloc/malloc.h: Declare malloc hook variables as volatile.
59918 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59922 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59923 raise in the comment.
59924 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59925 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59926 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59928 2011-05-28 Ulrich Drepper <drepper@gmail.com>
59931 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59932 grow the buffers more if it already has to be sufficient.
59933 (build_wcs_upper_buffer): Likewise.
59934 * posix/regexec.c (check_matching): Likewise.
59935 (clean_state_log_if_needed): Likewise.
59936 (extend_buffers): Don't enlarge buffers beyond size of the input
59938 Patches mostly by Emil Wojak <emil@wojak.eu>.
59939 * posix/bug-regex32.c: New file.
59940 * posix/Makefile (tests): Add bug-regex32.
59942 * locale/findlocale.c (_nl_find_locale): Return right away if
59943 _nl_explode_name failed.
59944 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59946 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59948 * debug/xtrace.sh: Unify messages.
59949 * malloc/memusage.sh: Likewise.
59952 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59953 time symbol from vDSO. Substitute with vsyscall if not available.
59954 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59957 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59958 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59959 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59960 Add sendmmsg and internal_sendmmsg.
59961 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59962 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59963 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59965 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59966 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59967 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59969 2011-05-27 Ulrich Drepper <drepper@gmail.com>
59972 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59973 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
59975 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59979 * iconvdata/Makefile (tests): Add bug-iconv9.
59980 * iconvdata/bug-iconv9.c: New file.
59982 2011-05-27 Andreas Schwab <schwab@redhat.com>
59985 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59987 2011-05-25 Jakub Jelinek <jakub@redhat.com>
59989 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59990 (struct user_regs_struct): Change intcs field back to cs.
59992 2011-05-25 Ulrich Drepper <drepper@gmail.com>
59994 * po/ja.po: Update from translation team.
59996 2011-05-23 Ulrich Drepper <drepper@gmail.com>
59999 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
60000 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
60002 2011-05-20 Andreas Schwab <schwab@redhat.com>
60004 * stdlib/longlong.h: Update from GCC.
60006 2011-05-23 Andreas Schwab <schwab@redhat.com>
60008 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60010 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60011 Add parameter name.
60012 (__sysconf): Pass it down.
60014 2011-05-22 Ulrich Drepper <drepper@gmail.com>
60017 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60019 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60020 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60021 add in in __libc_use_alloca calls. Adjust callers.
60022 (glob): Use malloc in some situations.
60024 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60025 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60028 2011-05-21 Ulrich Drepper <drepper@gmail.com>
60030 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60031 and CLOCK_BOOTTIME_ALARM.
60034 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60037 * string/_strerror.c (__strerror_r): Print negative errors as signed
60041 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60042 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60043 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60045 * configure.in: Fix typo in redirection and correct removal of test
60046 files in two cases.
60049 * locale/setlocale.c (new_composite_name): Fix test to check for
60050 identical name of all categories.
60053 * libio/filedoalloc.c (local_isatty): New function.
60054 (_IO_file_doallocate): Use local_isatty.
60055 * stdio-common/perror.c (perror): In case a new stream is used
60056 forward the stream error.
60057 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60060 2011-05-20 Ulrich Drepper <drepper@gmail.com>
60063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60065 * include/alloca.h (extend_alloca_account): Define.
60068 * posix/regex.h: Fix comments with documentation of user-accessible
60069 fields after compilation and describe correct free'ing of pattern
60070 after re_compile_pattern.
60071 Patch by Reuben Thomas <rrt@sc3d.org>.
60073 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
60075 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60076 and -mno-altivec to prevent the compiler from using Altivec and/or
60077 VSX instructions when the corresponding registers are not available.
60079 2011-05-19 Andreas Schwab <schwab@redhat.com>
60081 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60083 2011-05-19 Ulrich Drepper <drepper@gmail.com>
60085 * libio/freopen.c (freopen): Use __dup2, not dup2.
60086 * libio/freopen64.c (freopen64): Likewise.
60088 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
60091 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60092 * math/Makefile (tests): Add test-powl.
60093 (CFLAGS-test-powl.c): Define.
60094 * math/test-powl.c: New file.
60096 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
60098 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60100 2011-05-17 Ulrich Drepper <drepper@gmail.com>
60103 * iconvdata/gb18030.c: Update to GB18020-2005.
60105 2011-05-16 Ulrich Drepper <drepper@gmail.com>
60107 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60108 RE_SYNTAX_POSIX_AWK): Update to match recent development.
60109 Patch by Aharon Robbins <arnold@skeeve.com>.
60112 * stdlib/putenv.c (putenv): Don't always create copy of the variable
60116 * misc/pselect.c (__pselect): Handle timeout value errors hidden
60117 through underflows.
60120 * misc/error.c (error_at_line): Ensure file_name and old_file_name
60121 point to strings before performing equality test for error_one_per_line
60125 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60128 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60129 (struct user_fpregs_struct): Avoid __uint*_t types.
60132 * malloc/mtrace.c (tr_where): Add additional parameter to point to
60133 symbol info. Use it instead of calling _dl_addr locally.
60134 (lock_and_info): New function.
60135 (tr_freehook): Call lock_and_info and pass symbol info as additional
60136 parameter to tr_where.
60137 (tr_mallochook): Likewise.
60138 (tr_reallochook): Likewise.
60139 (tr_memalignhook): Likewise.
60141 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
60142 used and couldn't be at all thread-safe.
60144 2011-05-15 Ulrich Drepper <drepper@gmail.com>
60146 * libio/freopen.c (freopen): Don't close old file descriptor
60147 before the new one is opened. Instead dup the new file descriptor
60148 to the old one after the new stream is created.
60149 * libio/freopen64.c (freopen64): Likewise.
60150 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60151 * libio/fileops.c (_IO_new_file_close_it): Handle new
60152 _IO_FLAGS2_NOCLOSE flag.
60153 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60154 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60155 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60156 _IO_FLAGS2_NOCLOSE flag.
60157 * include/unistd.h: Add hidden_proto for dup3.
60158 Define __have_dup3.
60159 * io/dup3.c: Define hidden symbol.
60160 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60163 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60164 when an incomplete long option is used.
60165 * posix/tst-getopt_long1.c: New file.
60166 * posix/Makefile (tests): Add tst-getopt_long1.
60169 * scripts/config.guess: Update from autoconf-2.68.
60170 * scripts/config.sub: Likewise.
60173 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60175 (has_cpuclock): ...this. New function.
60176 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60177 macro here based on has_cpuclock code.
60180 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60181 First byte (not low byte) is now always NUL.
60182 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60184 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60185 Use non-cancelable interfaces.
60188 * locale/iso-639.def: Add entry for Sorani.
60191 * include/stdlib.h: Move include protection to the right place.
60192 Define abort_msg_s. Declare __abort_msg with it.
60193 * stdlib/abort.c (__abort_msg): Adjust type.
60194 * assert/assert.c (__assert_fail_base): New function. Majority
60195 of code from __assert_fail. Allocate memory for __abort_msg with
60197 (__assert_fail): Now call __assert_fail_base.
60198 * assert/assert-perr.c: Remove bulk of implementation. Use
60199 __assert_fail_base.
60200 * include/assert.hL Declare __assert_fail_base.
60201 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60203 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60205 2011-05-14 Ulrich Drepper <drepper@gmail.com>
60209 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60210 until all modules are registered in the DTV.
60211 * elf/Makefile: Add rules to build and run tst-tls19.
60212 * elf/tst-tls19.c: New file.
60213 * elf/tst-tls19mod1.c: New file.
60214 * elf/tst-tls19mod2.c: New file.
60215 * elf/tst-tls19mod3.c: New file.
60216 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60219 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60223 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60224 two-byte sequence errors.
60225 * iconvdata/Makefile (tests): Add bug-iconv8.
60226 * iconvdata/bug-iconv8.c: New file.
60229 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60232 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60235 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60236 (dummy_getcfa): New function.
60237 (init): Get _Unwind_GetCFA address, use dummy if not found.
60238 (backtrace_helper): In recursion check, also check whether CFA changes.
60239 (__backtrace): Completely initialize arg.
60241 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60242 storing incomplete byte sequence in state object. Avoid testing for
60243 guaranteed too small input if we know there is enough data available.
60245 2011-05-11 Andreas Schwab <schwab@redhat.com>
60247 * Makeconfig (+link-pie): Indent.
60248 * Rules (binaries-pie): Define if $(have-fpie) and
60250 (binaries-shared): Also filter out $(binaries-pie).
60251 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60252 * nscd/Makefile (others-pie): Add nscd.
60253 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60254 ($(objpfx)nscd): Remove command override.
60255 * login/Makefile (others-pie): Add pt_chown.
60256 ($(objpfx)pt_chown): Remove command override.
60257 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60258 remove command overrides.
60260 2011-05-13 Ulrich Drepper <drepper@gmail.com>
60262 * libio/tst_putwc.c: Fix error messages.
60265 * libio/fileops.c (_IO_new_file_close_it): Always flush when
60266 currently writing and seek to current position when not.
60267 * libio/Makefile (tests): Add bug-fclose1.
60268 * libio/bug-fclose1.c: New file.
60270 2011-05-12 Ulrich Drepper <drepper@gmail.com>
60273 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60274 don't set DF_1_NODELETE here.
60275 (do_lookup_x): When entering new entry test for copy relocation
60276 and if necessary set DF_1_NODELETE flag.
60277 * elf/tst-unique4.cc: New file.
60278 * elf/tst-unique4.h: New file.
60279 * elf/tst-unique4lib.cc: New file.
60280 * elf/Makefile: Add rules to build and run tst-unique4.
60281 Patch by Piotr Bury <pbury@goahead.com>.
60283 2011-05-11 Ulrich Drepper <drepper@gmail.com>
60286 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60289 * misc/mntent_r.c (addmntent): Flush the stream after the output
60292 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60293 (is_trusted_path_normalize): Skip initial colon. Append slash
60294 to empty buffer. Duplicate is_trusted_path code but allow
60295 constructed patch to be prefix.
60296 (is_dst): Allow $ORIGIN followed by /.
60297 (_dl_dst_substitute): Correct clearing of check_for_trusted.
60298 Correct testing of result of is_trusted_path_normalize
60299 (decompose_rpath): Fix warning.
60301 2011-05-10 Ulrich Drepper <drepper@gmail.com>
60304 * grp/initgroups.c (internal_getgrouplist): When we found the service
60305 list through the initgroups entry in nsswitch.conf do not always
60306 continue on a successful lookup. Don't always use the
60307 __nss_group_database value if it is set.
60308 * nss/nsswitch.conf (initgroups): Change action for successful db
60309 lookup to continue for compatibility.
60311 2011-05-09 Ulrich Drepper <drepper@gmail.com>
60314 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60316 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60318 * iconvdata/tst-tables.sh: Likewise.
60319 * iconvdata/cp770.c: New file.
60320 * iconvdata/cp771.c: New file.
60321 * iconvdata/cp772.c: New file.
60322 * iconvdata/cp773.c: New file.
60323 * iconvdata/cp774.c: New file.
60324 * iconvdata/testdata/CP770: New file.
60325 * iconvdata/testdata/CP770..UTF8: New file.
60326 * iconvdata/testdata/CP771: New file.
60327 * iconvdata/testdata/CP771..UTF8: New file.
60328 * iconvdata/testdata/CP772: New file.
60329 * iconvdata/testdata/CP772..UTF8: New file.
60330 * iconvdata/testdata/CP773: New file.
60331 * iconvdata/testdata/CP773..UTF8: New file.
60332 * iconvdata/testdata/CP774: New file.
60333 * iconvdata/testdata/CP774..UTF8: New file.
60335 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60337 * iconvdata/gen-8bit-gap.sh: Likewise.
60338 * iconvdata/gen-8bit.sh: Likewise.
60340 * locale/iso-639.def: Add ary entry.
60343 * locale/C-translit.h.in: Add U20A1 transliteration.
60346 * locale/iso-639.def: Add wae entry.
60347 Patch by Kevin Bortis <bortis@translate-wae.ch>.
60350 * locale/programs/localedef.c (construct_output_path): Use ssize_t
60354 * locale/C-translit.h.in: Add entry for U20B9.
60355 Patch by pravin.d.s@gmail.com.
60357 2011-05-08 Ulrich Drepper <drepper@gmail.com>
60360 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60361 ENAMETOOLONG use generic getcwd.
60362 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
60363 in rtld. Use *stat64.
60364 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60365 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60366 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60367 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60368 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60369 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60370 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60371 __fstatat64 macros.
60372 * include/dirent.h: Add libc_hidden_proto for rewinddir.
60373 * dirent/rewinddir.c: Add libc_hidden_def.
60374 * sysdeps/mach/hurd/rewinddir.c: Likewise.
60375 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
60377 * include/dirent.h (__alloc_dir): Add flags parameter.
60378 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60379 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60381 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
60382 from fdopendir if O_CLOEXEC is already set.
60384 2011-03-15 Alan Modra <amodra@gmail.com>
60386 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60387 l_tls_firstbyte_offset non-zero. Save padding offset in
60388 l_tls_firstbyte_offset for later use.
60389 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60390 freeing static tls block.
60392 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
60394 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60395 where #ifdef was intended. The intent is to prevent ARG_MAX from
60396 being defined by the kernel headers.
60398 2011-05-07 Ulrich Drepper <drepper@gmail.com>
60401 * resolv/resolv.h: Define RES_NOTLDQUERY.
60402 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60403 no-tld-query and set RES_NOTLDQUERY.
60404 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60405 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60406 modern BIND to search name as TLD unless forbidden.
60408 2011-05-07 Petr Baudis <pasky@suse.cz>
60409 Ulrich Drepper <drepper@gmail.com>
60412 * elf/dl-load.c (fillin_rpath): Move trusted path check...
60413 (is_trusted_path): ...to here.
60414 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60415 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60416 using is_trusted_path_normalize() in setuid scripts.
60418 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
60420 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60421 __BEGIN/__END_DECLS.
60423 2011-05-06 Ulrich Drepper <drepper@gmail.com>
60425 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60426 NSS_STATUS_NOTFOUND if no record was found.
60428 2011-05-05 Andreas Schwab <schwab@redhat.com>
60430 * sunrpc/Makefile (headers): Add rpc/netdb.h.
60431 (headers-not-in-tirpc): Remove rpc/netdb.h
60432 * resolv/netdb.h: Revert last change.
60434 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
60436 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60437 circular dependency between libgcc.a and libc.a.
60439 2011-05-05 Andreas Schwab <schwab@redhat.com>
60441 * resolv/netdb.h: Don't include <rpc/netdb.h>.
60442 * nis/Makefile: Don't install rpcsvc/*.
60443 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60444 instead of <rpc/types.h>.
60445 (MAXHOSTNAMELEN): Define.
60447 2011-05-03 Andreas Schwab <schwab@redhat.com>
60449 * elf/ldconfig.c (add_dir): Don't crash on empty path.
60451 2011-04-28 Maciej Babinski <mbabinski@google.com>
60454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60455 gethostbyname4_r when IPv6 results are possible.
60457 2011-05-02 Ulrich Drepper <drepper@gmail.com>
60460 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60461 _PC_PIPE_BUF handling.
60463 2011-04-30 Bruno Haible <bruno@clisp.org>
60466 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60467 * resolv/netdb.h (getnameinfo): Change type of flags parameter
60469 * inet/getnameinfo.c (getnameinfo): Likewise.
60471 2011-04-29 Ulrich Drepper <drepper@gmail.com>
60473 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60474 to groups setting in database lookup.
60475 * nss/nsswitch.conf: Add initgroups entry.
60477 2011-04-22 Ulrich Drepper <drepper@gmail.com>
60480 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60482 Patch by Eric Blake <eblake@redhat.com>.
60484 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
60486 * sunrpc/Makefile (need-export-routines): Add svc_run.
60487 (routines): Remove svc_run.
60488 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60489 * sunrpc/clnt_perr.c (clnt_perrno): Export.
60490 * sunrpc/svc_run.c (svc_run): Likewise.
60491 * sunrpc/svc_udp.c (svcudp_create): Likewise.
60493 2011-04-21 Ulrich Drepper <drepper@gmail.com>
60495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60496 problem in reallocation in last patch.
60498 2011-04-20 Ulrich Drepper <drepper@gmail.com>
60500 * sunrpc/Makefile: Move inclusion of Rules.
60502 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60504 * nss/nss_files/files-initgroups.c: New file.
60505 * nss/Makefile (libnss_files-routines): Add files-initgroups.
60506 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60507 _nss_files_initgroups_dyn.
60509 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
60511 * elf/elf.h (R_ARM_IRELATIVE): Define.
60513 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60515 * po/ru.po: Update from translation team.
60517 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60519 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60522 2011-02-06 Mike Frysinger <vapier@gentoo.org>
60525 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60526 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60527 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60528 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60529 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60531 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
60533 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60535 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60536 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60537 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60539 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60542 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60544 * stdlib/bug-getcontext.c: New file.
60545 * stdlib/Makefile: Add rules to build and run bug-getcontext.
60547 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60549 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60550 instructions into .machine "z9-109".
60551 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60552 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60554 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60556 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60557 between environment variables and auxiliary vector.
60559 2011-04-16 Ulrich Drepper <drepper@gmail.com>
60561 * Makefile: Add rules to build linkobj/libc.so.
60562 * include/libc-symbols.h: Define libc_hidden_nolink.
60563 * include/rpc/auth.h: Mark functions which are to be hidden.
60564 * include/rpc/auth_des.h: Likewise.
60565 * include/rpc/auth_unix.h: Likewise.
60566 * include/rpc/clnt.h: Likewise.
60567 * include/rpc/des_crypt.h: Likewise.
60568 * include/rpc/key_prot.h: Likewise.
60569 * include/rpc/pmap_clnt.h: Likewise.
60570 * include/rpc/pmap_prot.h: Likewise.
60571 * include/rpc/pmap_rmt.h: Likewise.
60572 * include/rpc/rpc_msg.h: Likewise.
60573 * include/rpc/svc.h: Likewise.
60574 * include/rpc/svc_auth.h: Likewise.
60575 * include/rpc/xdr.h: Likewise.
60576 * nis/Makefile: Link all DSOs against linkobj/libc.so.
60577 * nss/Makefile: Likewise.
60578 * sunrpc/Makefile: Don't install headers. Build library with normal
60579 entry points. Don't build rpcinfo. Link RPC tests appropriately.
60580 * sunrpc/auth_des.c: Hide exported symbols by default, export some
60581 for the compat linking library. Remove use of INTDEF/INTUSE.
60582 * sunrpc/auth_none.c: Likewise.
60583 * sunrpc/auth_unix.c: Likewise.
60584 * sunrpc/authdes_prot.c: Likewise.
60585 * sunrpc/authuxprot.c: Likewise.
60586 * sunrpc/clnt_gen.c: Likewise.
60587 * sunrpc/clnt_perr.c: Likewise.
60588 * sunrpc/clnt_raw.c: Likewise.
60589 * sunrpc/clnt_simp.c: Likewise.
60590 * sunrpc/clnt_tcp.c: Likewise.
60591 * sunrpc/clnt_udp.c: Likewise.
60592 * sunrpc/clnt_unix.c: Likewise.
60593 * sunrpc/des_crypt.c: Likewise.
60594 * sunrpc/des_soft.c: Likewise.
60595 * sunrpc/get_myaddr.c: Likewise.
60596 * sunrpc/key_call.c: Likewise.
60597 * sunrpc/key_prot.c: Likewise.
60598 * sunrpc/netname.c: Likewise.
60599 * sunrpc/pm_getmaps.c: Likewise.
60600 * sunrpc/pm_getport.c: Likewise.
60601 * sunrpc/pmap_clnt.c: Likewise.
60602 * sunrpc/pmap_prot.c: Likewise.
60603 * sunrpc/pmap_prot2.c: Likewise.
60604 * sunrpc/pmap_rmt.c: Likewise.
60605 * sunrpc/publickey.c: Likewise.
60606 * sunrpc/rpc_cmsg.c: Likewise.
60607 * sunrpc/rpc_common.c: Likewise.
60608 * sunrpc/rpc_dtable.c: Likewise.
60609 * sunrpc/rpc_prot.c: Likewise.
60610 * sunrpc/rpc_thread.c: Likewise.
60611 * sunrpc/rtime.c: Likewise.
60612 * sunrpc/svc.c: Likewise.
60613 * sunrpc/svc_auth.c: Likewise.
60614 * sunrpc/svc_authux.c: Likewise.
60615 * sunrpc/svc_raw.c: Likewise.
60616 * sunrpc/svc_run.c: Likewise.
60617 * sunrpc/svc_simple.c: Likewise.
60618 * sunrpc/svc_tcp.c: Likewise.
60619 * sunrpc/svc_udp.c: Likewise.
60620 * sunrpc/svc_unix.c: Likewise.
60621 * sunrpc/svcauth_des.c: Likewise.
60622 * sunrpc/xcrypt.c: Likewise.
60623 * sunrpc/xdr.c: Likewise.
60624 * sunrpc/xdr_array.c: Likewise.
60625 * sunrpc/xdr_float.c: Likewise.
60626 * sunrpc/xdr_intXX_t.c: Likewise.
60627 * sunrpc/xdr_mem.c: Likewise.
60628 * sunrpc/xdr_rec.c: Likewise.
60629 * sunrpc/xdr_ref.c: Likewise.
60630 * sunrpc/xdr_sizeof.c: Likewise.
60631 * sunrpc/xdr_stdio.c: Likewise.
60633 2011-04-10 Ulrich Drepper <drepper@gmail.com>
60636 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60637 * sysdeps/ia64/dl-tls.h: Likewise.
60638 * sysdeps/powerpc/dl-tls.h: Likewise.
60639 * sysdeps/s390/dl-tls.h: Likewise.
60640 * sysdeps/sh/dl-tls.h: Likewise.
60641 * sysdeps/sparc/dl-tls.h: Likewise.
60642 * sysdeps/x86_64/dl-tls.h: Likewise.
60643 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60645 2011-03-14 Andreas Schwab <schwab@redhat.com>
60647 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60648 rpath element also skip the following colon.
60649 (expand_dynamic_string_token): Add is_path parameter and pass
60650 down to DL_DST_REQUIRED and _dl_dst_substitute.
60651 (decompose_rpath): Call expand_dynamic_string_token with
60652 non-zero is_path. Ignore empty rpaths.
60653 (_dl_map_object_from_fd): Call expand_dynamic_string_token
60656 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
60658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60661 2011-04-09 Ulrich Drepper <drepper@gmail.com>
60664 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60665 Patch by Filipe David Manana <fdmanana@apache.org>.
60667 2011-04-07 Andreas Schwab <schwab@redhat.com>
60669 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60670 Maintain aligned stack.
60671 (CHECK_RSP): Remove unused macro.
60673 2011-04-03 Ulrich Drepper <drepper@gmail.com>
60675 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60676 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60678 2011-04-02 Ulrich Drepper <drepper@gmail.com>
60680 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60682 * include/features.h: Mention __USE_XOPEN2K8 in comment.
60684 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
60687 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60688 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60689 * sysdeps/x86_64/memmove.c: New file.
60690 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60691 (memcpy): Renamed to ...
60692 (__new_memcpy): This.
60693 (memcpy): Provide GLIBC_2_14 memcpy.
60694 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60695 (memcpy): Provide GLIBC_2_2_5 memcpy.
60697 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60700 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60702 2011-03-30 Andreas Schwab <schwab@redhat.com>
60704 * misc/syncfs.c: New file.
60705 * misc/Makefile (routines): Add syncfs.
60706 * posix/unistd.h: Declare syncfs.
60707 * sysdeps/unix/syscalls.list: Add syncfs.
60709 2011-04-01 Andreas Schwab <schwab@redhat.com>
60711 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60713 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60714 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60715 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60716 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60717 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60718 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60719 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60721 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60724 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60725 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60726 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60727 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60729 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60731 * io/Makefile: Compile fallocate.c, fallocate64.c, and
60732 sync_file_range.c with -fexceptions.
60733 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60734 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60735 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60736 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60737 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60738 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60739 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60740 sync_file_range as cancellation point
60741 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
60742 now a wrapper around __call_sync_file_range with cancellation handling.
60743 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60744 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
60745 function name to __call_sync_file_range.
60746 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60747 Add call_sync_file_range.
60749 2011-04-01 Andreas Schwab <schwab@redhat.com>
60751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60754 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60756 * iconv/iconv.h: Fix typo in comment.
60757 * io/fcntl.h: Likewise.
60758 * libio/stdio.h: Likewise.
60759 * posix/spawn.h: Likewise.
60760 * posix/unistd.h: Likewise.
60761 * stdlib/stdlib.h: Likewise.
60762 * time/time.h: Likewise.
60763 * wcsmbs/wchar.h: Likewise.
60765 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60766 open_by_handle): Add.
60767 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60768 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
60769 Augment a few comments.
60770 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60772 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60773 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60774 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60775 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60778 * io/fcntl.h (AT_EMPTY_PATH): Define.
60780 2011-03-30 Ulrich Drepper <drepper@gmail.com>
60782 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60783 * sysdeps/unix/sysv/linux/bits/time.h: New file.
60784 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60786 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
60787 * Versions.def: Add GLIBC_2.14.
60788 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60791 2011-03-22 Ulrich Drepper <drepper@gmail.com>
60793 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60795 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60797 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
60800 * string/test-strncmp.c (do_page_test): New function.
60801 (check2): Likewise.
60802 (test_main): Call check2.
60803 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60805 2011-03-20 Ulrich Drepper <drepper@gmail.com>
60808 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60809 Handle cache information in CPU leaf 4.
60810 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60812 2011-03-18 Ulrich Drepper <drepper@gmail.com>
60815 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60816 character representation.
60817 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60819 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
60821 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60822 END(__isnan) to END(__isnanf) to match function entry point/label
60823 EALIGN(__isnanf,...).
60825 2011-03-10 Jakub Jelinek <jakub@redhat.com>
60827 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60829 2011-03-10 Ulrich Drepper <drepper@gmail.com>
60832 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60833 copy from the symbol referenced in the relocation to initialize the
60835 Patch by Piotr Bury <pbury@goahead.com>.
60836 * elf/Makefile: Add rules to build and tst-unique3.
60837 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60838 * elf/tst-unique3.cc: New file.
60839 * elf/tst-unique3.h: New file.
60840 * elf/tst-unique3lib.cc: New file.
60841 * elf/tst-unique3lib2.cc: New file.
60843 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60845 2011-03-10 Mike Frysinger <vapier@gentoo.org>
60847 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60848 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
60851 2011-03-06 Ulrich Drepper <drepper@gmail.com>
60853 * elf/dl-load.c (_dl_map_object): If we are looking for the first
60854 to-be-loaded object along a path to loader is ld.so.
60856 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60857 Ulrich Drepper <drepper@gmail.com>
60859 * sysdeps/x86_64/memset.S: After aligning destination, code
60860 branches to different locations depending on the value of
60861 misalignment, when multiarch is enabled. Fix this.
60863 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60865 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60866 Set _x86_64_preferred_memory_instruction for AMD processsors.
60867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60868 Set bit_Prefer_SSE_for_memop for AMD processors.
60870 2011-03-04 Ulrich Drepper <drepper@gmail.com>
60872 * libio/fmemopen.c (fmemopen): Optimize a bit.
60874 2011-03-03 Andreas Schwab <schwab@redhat.com>
60876 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60878 2011-03-03 Roland McGrath <roland@redhat.com>
60880 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60882 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
60884 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60885 __bzero_ultra1 instead of __memset_ultra1.
60887 2011-02-23 Andreas Schwab <schwab@redhat.com>
60888 Ulrich Drepper <drepper@gmail.com>
60891 * include/link.h (struct link_map): Add l_orig_initfini.
60892 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60893 returning unsuccessfully.
60894 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60895 close of a file loaded at startup, restore the original l_initfini
60897 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60898 list, store the pointer.
60899 * elf/Makefile ($(objpfx)noload-mem): New rule.
60900 (noload-ENV): Define.
60901 (tests): Add $(objpfx)noload-mem.
60902 * elf/noload.c: Include <memcheck.h>.
60903 (main): Call mtrace. Close all opened handles.
60905 2011-02-17 Andreas Schwab <schwab@redhat.com>
60908 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60909 dependencies are missing.
60911 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
60913 Fix __if_freereq crash: Unlike the generic version which uses free,
60915 * sysdeps/mach/hurd/ifreq.h: New file.
60917 2011-01-27 Petr Baudis <pasky@suse.cz>
60918 Ulrich Drepper <drepper@gmail.com>
60921 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60922 to extend_alloca().
60923 * stdio-common/bug23.c: New file.
60924 * stdio-common/Makefile (tests): Add bug23.
60926 2010-09-28 Andreas Schwab <schwab@redhat.com>
60927 Ulrich Drepper <drepper@gmail.com>
60930 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60931 before performing relro protection. At old place add assertion
60932 to make sure nothing changed.
60934 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
60935 Glauber de Oliveira Costa <glommer@gmail.com>
60937 * elf/elf.h: Add new ARM TLS relocs.
60939 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
60941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60942 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60944 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
60946 * sysdeps/wordsize-64/tst-writev.c: New file.
60948 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
60950 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60951 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60952 insns in _dl_start to prevent a TOC reference before relocs are
60955 2011-02-15 Ulrich Drepper <drepper@gmail.com>
60958 * Makeconfig: Remove RANLIB definition.
60959 * Makerules: Don't use RANLIB.
60960 * aclocal.m4: Remove ranlib test.
60961 * configure.in: No need to check for ranlib.
60962 * elf/rtld-Rules: Don't use RANLIB.
60964 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
60966 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60968 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60969 inclusion protection macro.
60971 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60972 SIGRTMIN and SIGRTMAX and print information in that case only when
60973 SIGRTMIN is defined.
60975 2011-02-11 Jakub Jelinek <jakub@redhat.com>
60977 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60978 arginfo fn returning -1.
60980 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60981 and thousands string is zero terminated.
60983 2011-02-03 Andreas Schwab <schwab@redhat.com>
60985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60986 sysdeps/unix/sysv/linux/bits/socket.h.
60988 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
60990 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60991 (__CPU_COUNT): Remove old macros.
60992 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60993 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60994 (__CPU_ALLOC, __CPU_FREE): Add macros.
60995 (__sched_cpualloc, __sched_cpufree): Add declarations.
60997 2011-02-05 Ulrich Drepper <drepper@gmail.com>
60999 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
61000 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
61001 * nscd/aicache.c (addhstaiX): Return timeout of added value.
61002 (readdhstai): Return value of addhstaiX call.
61003 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61004 (addgrbyX): Return value returned by cache_addgr.
61005 (readdgrbyname): Return value returned by addgrbyX.
61006 (readdgrbygid): Likewise.
61007 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61008 (addpwbyX): Return value returned by cache_addpw.
61009 (readdpwbyname): Return value returned by addhstbyX.
61010 (readdpwbyuid): Likewise.
61011 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61012 (addservbyX): Return value returned by cache_addserv.
61013 (readdservbyname): Return value returned by addservbyX:
61014 (readdservbyport): Likewise.
61015 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61016 (addhstbyX): Return value returned by cache_addhst.
61017 (readdhstbyname): Return value returned by addhstbyX.
61018 (readdhstbyaddr): Likewise.
61019 (readdhstbynamev6): Likewise.
61020 (readdhstbyaddrv6): Likewise.
61021 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61022 (readdinitgroups): Return value returned by addinitgroupsX.
61023 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61024 (prune_cache): Keep track of timeout value of re-added entries.
61025 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61026 * nscd/nscd.h: Adjust prototypes of readd* functions.
61028 2011-02-04 Roland McGrath <roland@redhat.com>
61030 * nis/nis_server.c (nis_servstate): Use the right name for 0.
61031 (nis_stats): Likewise.
61032 * nis/nis_modify.c (nis_modify): Likewise.
61033 * nis/nis_remove.c (nis_remove): Likewise.
61034 * nis/nis_add.c (nis_add): Likewise.
61036 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61038 * posix/fnmatch_loop.c: Add some consts.
61040 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61042 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
61045 * config.make.in (config-cflags-novzeroupper): Define.
61046 * configure.in: Substitute libc_cv_cc_novzeroupper.
61047 * elf/Makefile (AVX-CFLAGS): Define.
61048 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61049 (CFLAGS-tst-auditmod4a.c): Likewise.
61050 (CFLAGS-tst-auditmod4b.c): Likewise.
61051 (CFLAGS-tst-auditmod6b.c): Likewise.
61052 (CFLAGS-tst-auditmod6c.c): Likewise.
61053 (CFLAGS-tst-auditmod7b.c): Likewise.
61054 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61056 2011-02-02 Ulrich Drepper <drepper@gmail.com>
61058 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61059 function to the callback.
61060 Patch partly by Jiri Olsa <jolsa@redhat.com>.
61062 2011-02-02 Andreas Schwab <schwab@redhat.com>
61064 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61067 2011-01-19 Ulrich Drepper <drepper@gmail.com>
61070 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61072 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61074 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61077 * elf/Makefile: Add rules to build and run new test.
61078 * elf/tst-initorder.c: New file.
61079 * elf/tst-initorder.exp: New file.
61080 * elf/tst-initordera1.c: New file.
61081 * elf/tst-initordera2.c: New file.
61082 * elf/tst-initordera3.c: New file.
61083 * elf/tst-initordera4.c: New file.
61084 * elf/tst-initorderb1.c: New file.
61085 * elf/tst-initorderb2.c: New file.
61086 * elf/tst-order-a1.c: New file.
61087 * elf/tst-order-a2.c: New file.
61088 * elf/tst-order-a3.c: New file.
61089 * elf/tst-order-a4.c: New file.
61090 * elf/tst-order-b1.c: New file.
61091 * elf/tst-order-b2.c: New file.
61092 * elf/tst-order-main.c: New file.
61093 New test case by George Gensure <werkt0@gmail.com>.
61095 2010-10-01 Andreas Schwab <schwab@redhat.com>
61097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61098 decoding ACE if AI_CANONIDN.
61100 2011-01-18 Ulrich Drepper <drepper@gmail.com>
61102 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61104 2011-01-17 Ulrich Drepper <drepper@gmail.com>
61106 * version.h (RELEASE): Bump for 2.13 release.
61107 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61109 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61111 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61113 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61114 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61115 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61116 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61117 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61118 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61120 * posix/getconf.c: Update copyright year.
61121 * catgets/gencat.c: Likewise.
61122 * csu/version.c: Likewise.
61123 * debug/catchsegv.sh: Likewise.
61124 * debug/xtrace.sh: Likewise.
61125 * elf/ldconfig.c: Likewise.
61126 * elf/ldd.bash.in: Likewise.
61127 * elf/sprof.c (print_version): Likewise.
61128 * iconv/iconv_prog.c: Likewise.
61129 * iconv/iconvconfig.c: Likewise.
61130 * locale/programs/locale.c: Likewise.
61131 * locale/programs/localedef.c: Likewise.
61132 * malloc/memusage.sh: Likewise.
61133 * malloc/mtrace.pl: Likewise.
61134 * nscd/nscd.c (print_version): Likewise.
61135 * nss/getent.c: Likewise.
61137 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61138 PF_CAIF, and PF_ALG.
61139 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61141 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
61143 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61144 (modules-names): Use them.
61145 (ifunc-test-modules, ifunc-pie-tests): Define.
61146 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61147 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61148 (test-extras): Likewise.
61149 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61150 $(compile-command.c).
61151 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61152 (all-built-dso): Define.
61153 (check-textrel.out, check-execstack.out): Depend on it.
61155 * configure.in: Don't override --enable-multi-arch.
61157 2011-01-15 Ulrich Drepper <drepper@gmail.com>
61160 * nscd/hstcache.c (tryagain): Define.
61161 (cache_addhst): Return tryagain not notfound for temporary errors.
61162 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61165 2011-01-14 Ulrich Drepper <drepper@gmail.com>
61168 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61169 to make the syscall.
61170 * sysdeps/unix/sysv/linux/setgroups.c: New file.
61173 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61174 and fall back to matching as normal character if the string ends before
61175 the matching ']' is found. This is what POSIX requires.
61176 * posix/testfnm.c: Adjust test result.
61177 * posix/globtest.sh: Adjust test result. Add new test.
61178 * posix/tst-fnmatch.input: Likewise.
61179 * posix/tst-fnmatch2.c: Add new test.
61181 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
61183 * elf/Makefile (check-execstack): Revert last change. Depend on
61185 (check-execstack.h): New target.
61186 (generated): Add check-execstack.h.
61187 * elf/check-execstack.c: Include "check-execstack.h".
61188 (main): Revert last change.
61189 (handle_file): Return zero if GNU_STACK is absent and
61190 DEFAULT_STACK_PERMS doesn't include PF_X.
61192 2011-01-13 Ulrich Drepper <drepper@gmail.com>
61194 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61195 in child fails because the descriptor is already closed.
61196 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61197 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61198 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61201 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61205 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61206 temporary buffer used to handle multi lookups locally.
61207 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61209 2011-01-12 Ulrich Drepper <drepper@gmail.com>
61211 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61214 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
61216 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61217 alignment for SSE2.
61219 2011-01-12 Ulrich Drepper <drepper@gmail.com>
61222 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61223 characters. When rounding increased number of integer digits recompute
61225 * stdio-common/tst-grouping.c: New file.
61226 * stdio-common/Makefile: Add rules to build and run tst-grouping.
61228 2011-01-09 Ulrich Drepper <drepper@gmail.com>
61230 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61231 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
61233 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61235 * bits/select.h: Likewise.
61237 2011-01-08 Ulrich Drepper <drepper@gmail.com>
61239 * po/ja.po: Update from translation team.
61241 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
61244 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61245 implementation just like for lxstat, fxstatat, et al.
61247 2010-12-27 Jim Meyering <meyering@redhat.com>
61250 * posix/regexec.c (build_trtable): Return failure indication upon
61251 calloc failure. Otherwise, re_search_internal could infloop on OOM.
61253 2010-12-25 Ulrich Drepper <drepper@gmail.com>
61256 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61257 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61258 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61259 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61262 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61265 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61266 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61268 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
61270 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61271 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61272 script has SORT_BY_INIT_PRIORITY.
61273 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61274 NO_CTORS_DTORS_SECTIONS is defined.
61275 * elf/soinit.c: Likewise.
61276 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61277 NO_CTORS_DTORS_SECTIONS is defined.
61278 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61279 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61280 * sysdeps/sh/init-first.c: Likewise.
61281 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61283 2010-12-24 Ulrich Drepper <drepper@gmail.com>
61285 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61286 always use the slow path.
61288 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
61290 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61291 similar rule which adds the sysdep directories to the header search in
61292 order to pick up the correct platform stackinfo.h.
61293 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61294 perform test if it is, otherwise return successfully without testing.
61295 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61296 DEFAULT_STACK_PERMS define in stackinfo.h.
61297 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61298 defined in stackinfo.h.
61299 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61300 DEFAULT_STACK_PERMS defined in stackinfo.h.
61301 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61302 * sysdeps/ia64/stackinfo.h: Likewise.
61303 * sysdeps/s390/stackinfo.h: Likewise.
61304 * sysdeps/sh/stackinfo.h: Likewise.
61305 * sysdeps/sparc/stackinfo.h: Likewise.
61306 * sysdeps/x86_64/stackinfo.h: Likewise.
61307 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61308 PF_X for powerpc64. Retain PF_X for powerpc32.
61310 2010-12-19 Ulrich Drepper <drepper@gmail.com>
61312 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61314 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61315 GETDENTS_64BIT_ALIGNED.
61317 2010-12-14 Ulrich Drepper <dreper@gmail.com>
61319 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61321 2010-12-10 Andreas Schwab <schwab@redhat.com>
61323 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61326 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61327 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61329 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61330 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61332 2010-12-09 Ulrich Drepper <drepper@gmail.com>
61335 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61338 2010-12-09 Jakub Jelinek <jakub@redhat.com>
61340 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61342 2010-12-03 Ulrich Drepper <drepper@gmail.com>
61344 * po/it.po: Update from translation team.
61346 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
61348 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61351 2010-11-30 Ulrich Drepper <drepper@gmail.com>
61353 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61355 2010-11-24 Andreas Schwab <schwab@redhat.com>
61357 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61359 (gaih_getanswer_slice): Likewise.
61361 2010-10-20 Jakub Jelinek <jakub@redhat.com>
61363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61365 2010-05-31 Petr Baudis <pasky@suse.cz>
61368 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61369 silently even in the chroot mode.
61371 2010-11-22 Ulrich Drepper <drepper@gmail.com>
61373 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61374 last patch a bit. Pretty printing
61376 2010-05-31 Petr Baudis <pasky@suse.cz>
61379 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61380 initialization of skip_initgroups_dyn.
61382 2010-11-19 Ulrich Drepper <drepper@gmail.com>
61384 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61385 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61387 2010-11-16 Ulrich Drepper <drepper@gmail.com>
61389 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61391 2010-11-11 Andreas Schwab <schwab@redhat.com>
61393 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61394 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61395 (tst-fnmatch-ENV): Set MALLOC_TRACE.
61396 ($(objpfx)tst-fnmatch-mem): New rule.
61397 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61398 * posix/tst-fnmatch.c (main): Call mtrace.
61400 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
61402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61403 Support Intel processor model 6 and model 0x2c.
61405 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
61407 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61410 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
61413 * string/test-strncasecmp.c (check_result): New function.
61414 (do_one_test): Use it.
61415 (check1): New function.
61416 (test_main): Use it.
61417 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61418 Support strcasecmp and strncasecmp.
61420 2010-11-08 Ulrich Drepper <drepper@gmail.com>
61423 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61424 * sysdeps/x86_64/bits/byteswap.h: Likewise.
61426 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
61428 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61432 * sysdeps/x86_64/multiarch/bzero.S: New file.
61433 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61434 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61435 * sysdeps/x86_64/multiarch/memset.S: New file.
61436 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61438 Set bit_Prefer_SSE_for_memop for Intel processors.
61439 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61441 (index_Prefer_SSE_for_memop): Define.
61442 (HAS_PREFER_SSE_FOR_MEMOP): Define.
61444 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
61446 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61447 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61449 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
61452 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61453 (__x86_64_raw_data_cache_size_half): Likewise.
61454 (__x86_64_raw_shared_cache_size): Likewise.
61455 (__x86_64_raw_shared_cache_size_half): Likewise.
61457 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61458 (__x86_64_raw_data_cache_size_half): Likewise.
61459 (__x86_64_raw_shared_cache_size): Likewise.
61460 (__x86_64_raw_shared_cache_size_half): Likewise.
61461 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61462 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61463 and __x86_64_raw_shared_cache_size_half. Round
61464 __x86_64_data_cache_size_half, __x86_64_data_cache_size
61465 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61466 to multiple of 256 bytes.
61468 2010-11-03 Ulrich Drepper <drepper@gmail.com>
61471 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61472 of inacessible symlinks. Verify result of symlink before returning it.
61473 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61474 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61476 2010-10-28 Erich Ritz <erichritz@gmail.com>
61478 * math/math.h (isinf): Fix typo in comment.
61480 2010-11-01 Ulrich Drepper <drepper@gmail.com>
61482 * po/da.po: Update from translation team.
61484 2010-10-26 Ulrich Drepper <drepper@gmail.com>
61486 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61487 is added to the list.
61489 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61490 Ulrich Drepper <drepper@gmail.com>
61492 * elf/dl-object.c (_dl_new_object): Don't append the new object to
61493 the global list here. Move code to...
61494 (_dl_add_to_namespace_list): ...here. New function.
61495 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61496 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61497 * elf/dl-load.c (lose): Don't remove the element from the list.
61498 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61499 (_dl_map_object): Likewise.
61501 2010-10-25 Ulrich Drepper <drepper@gmail.com>
61504 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61505 into all bytes of SSE register.
61506 Patch by Richard Li <richardpku@gmail.com>.
61508 2010-10-24 Ulrich Drepper <drepper@gmail.com>
61511 * malloc/malloc.c (_int_free): Fill correct number of bytes when
61514 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
61516 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61517 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61518 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61519 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61524 2010-10-22 Andreas Schwab <schwab@redhat.com>
61526 * include/dlfcn.h (__RTLD_SECURE): Define.
61527 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
61528 mode & __RTLD_SECURE instead.
61529 (open_path): Rename preloaded parameter to secure.
61530 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61531 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61532 * elf/dl-deps.c (openaux): Likewise.
61533 * elf/rtld.c (struct map_args): Remove is_preloaded.
61534 (map_doit): Don't use it.
61535 (dl_main): Likewise.
61536 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61537 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61539 2010-09-09 Andreas Schwab <schwab@redhat.com>
61541 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61542 (sysd-rules-targets): Remove duplicates.
61543 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61544 rtld-%.$o dependency.
61546 2010-10-18 Andreas Schwab <schwab@redhat.com>
61548 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61549 _dl_map_object do it.
61551 2010-10-19 Ulrich Drepper <drepper@gmail.com>
61553 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61554 fast fma builtins, define the macros in the C99 standard.
61555 (FP_FAST_FMAF): Likewise.
61556 (FP_FAST_FMAL): Likewise.
61557 * sysdeps/x86_64/bits/mathdef.h: Likewise.
61559 * bits/mathdef.h: Update copyright year.
61560 * sysdeps/powerpc/bits/mathdef.h: Likewise.
61562 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
61564 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61565 builtins, define the macros in the C99 standard.
61566 (FP_FAST_FMAF): Likewise.
61567 (FP_FAST_FMAL): Likewise.
61568 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61570 (FP_FAST_FMAF): Likewise.
61572 2010-10-15 Jakub Jelinek <jakub@redhat.com>
61575 * math/libm-test.inc (fma_test): Some new testcases.
61576 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61577 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61578 y and infinite z. Do multiplication by C already in long double.
61579 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61581 y and infinite z. Do bitwise or of inexact bit into u.d.
61582 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61583 * sysdeps/i386/fpu/s_fmaf.S: Removed.
61584 * sysdeps/i386/fpu/s_fma.S: Removed.
61585 * sysdeps/i386/fpu/s_fmal.S: Removed.
61587 2010-10-16 Jakub Jelinek <jakub@redhat.com>
61590 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61591 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61592 computation is not scheduled after fetestexcept. Fix value
61593 of minimum denormal long double.
61595 2010-10-14 Jakub Jelinek <jakub@redhat.com>
61598 * math/libm-test.inc (fma_test): Add some more tests.
61599 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61602 2010-10-15 Andreas Schwab <schwab@redhat.com>
61604 * scripts/data/localplt-s390-linux-gnu.data: New file.
61605 * scripts/data/localplt-s390x-linux-gnu.data: New file.
61607 2010-10-13 Jakub Jelinek <jakub@redhat.com>
61610 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61611 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61613 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61615 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61617 if one of x and y is very large and the other is subnormal.
61618 * sysdeps/s390/fpu/s_fmaf.c: New file.
61619 * sysdeps/s390/fpu/s_fma.c: New file.
61620 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61621 * sysdeps/powerpc/fpu/s_fma.S: New file.
61622 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61623 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61624 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61626 2010-10-12 Jakub Jelinek <jakub@redhat.com>
61629 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61631 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61632 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61633 * sysdeps/i386/i686/multiarch/s_fma.c: Include
61634 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61635 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61636 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61637 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61639 2010-10-12 Ulrich Drepper <drepper@redhat.com>
61642 * posix/regcomp.c (parse_branch): One more memory leak plugged.
61643 * posix/bug-regex31.input: Add test case.
61645 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61647 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61648 * posix/bug-regex31.input: New file.
61651 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61652 (parse_sub_exp): Fix last change, use postorder.
61654 * posix/bug-regex31.c: New file.
61655 * posix/Makefile: Add rules to build and run bug-regex31.
61657 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61660 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61663 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61664 to have entries in sys_siglist.
61667 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61670 2010-10-07 Jakub Jelinek <jakub@redhat.com>
61673 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61674 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61675 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61676 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61677 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61678 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61679 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61680 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61681 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61682 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61683 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61684 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61685 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61686 * math/ftestexcept.c (fetestexcept): Likewise.
61687 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61688 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61689 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61690 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61691 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61692 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61693 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61695 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61698 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61701 2010-10-06 Ulrich Drepper <drepper@gmail.com>
61703 * string/bug-strstr1.c: New file.
61704 * string/Makefile: Add rules to build and run bug-strstr1.
61706 2010-10-05 Eric Blake <eblake@redhat.com>
61709 * string/str-two-way.h (two_way_long_needle): Always clear memory
61710 when skipping input due to the shift table.
61712 2010-10-03 Ulrich Drepper <drepper@gmail.com>
61715 * malloc/mcheck.c: Handle large requests.
61718 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61719 for strncmp and strncasecmp.
61720 * string/stratcliff.c: Add tests for strcmp and strncmp.
61721 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61723 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61725 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61728 2010-09-30 Andreas Jaeger <aj@suse.de>
61730 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61731 (CGROUP_SUPER_MAGIC): Define.
61732 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61733 Handle btrfs and cgroup file systems.
61734 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61737 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
61739 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61740 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61742 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61745 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61746 trying to locate the ELF header.
61748 2010-09-27 Andreas Schwab <schwab@redhat.com>
61751 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61752 Mask out sign-bit copies when constructing f_fsid.
61754 2010-09-24 Petr Baudis <pasky@suse.cz>
61756 * debug/stack_chk_fail_local.c: Add missing licence exception.
61757 * debug/warning-nop.c: Likewise.
61759 2010-09-15 Joseph Myers <joseph@codesourcery.com>
61761 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61762 implementing getdents64 using getdents syscall, set d_type if
61763 __ASSUME_GETDENTS32_D_TYPE.
61765 2010-09-16 Andreas Schwab <schwab@redhat.com>
61767 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61768 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61770 2010-09-21 Ulrich Drepper <drepper@redhat.com>
61773 * posix/unistd.h: Undo change of feature selection for ftruncate from
61776 2010-09-20 Ulrich Drepper <drepper@redhat.com>
61778 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61781 2010-09-20 Andreas Schwab <schwab@redhat.com>
61783 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61785 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61787 2010-09-14 Andreas Schwab <schwab@redhat.com>
61789 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61790 variables after CHECK_SP call.
61791 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61793 2010-09-13 Andreas Schwab <schwab@redhat.com>
61794 Ulrich Drepper <drepper@redhat.com>
61796 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61797 re-relocationg ld.so.
61798 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61799 _dl_init_paths call.
61800 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
61803 2010-09-14 Ulrich Drepper <drepper@redhat.com>
61805 * resolv/res_init.c (__res_vinit): Count the default server we added.
61807 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
61808 Ulrich Drepper <drepper@redhat.com>
61811 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61812 (____longjmp_chk): Use %ebx for saving value across system call.
61815 2010-09-06 Andreas Schwab <schwab@redhat.com>
61817 * manual/Makefile: Don't mix pattern rules with normal rules.
61819 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
61821 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61823 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61824 * libio/iofopncook.c (_IO_cookie_init): Likewise.
61825 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61826 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61827 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61830 2010-09-04 Ulrich Drepper <drepper@redhat.com>
61833 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61834 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61836 2010-09-02 Ulrich Drepper <drepper@redhat.com>
61838 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61839 * sysdeps/x86_64/addmul_1.S: Likewise.
61840 * sysdeps/x86_64/lshift.S: Likewise.
61841 * sysdeps/x86_64/mul_1.S: Likewise.
61842 * sysdeps/x86_64/rshift.S: Likewise.
61843 * sysdeps/x86_64/sub_n.S: Likewise.
61844 * sysdeps/x86_64/submul_1.S: Likewise.
61846 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
61848 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61849 Define __sched_param instead of SCHED_* and sched_param when
61850 <bits/sched.h> is included with __need_schedparam defined.
61851 * bits/sched.h [__need_schedparam]
61852 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61853 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61854 (__defined_schedparam): Define to 1.
61855 (__sched_param): New structure, identical to sched_param.
61856 (__need_schedparam): Undefine.
61858 2010-08-31 Mike Frysinger <vapier@gentoo.org>
61860 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61861 (epoll_create1): Declare.
61863 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61865 2010-08-31 Andreas Schwab <schwab@redhat.com>
61868 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61869 shifting retval into place.
61871 2010-09-01 Ulrich Drepper <drepper@redhat.com>
61873 * nis/rpcsvc/nis.h: Update copyright notice.
61874 * nis/rpcsvc/nis.x: Likewise.
61875 * nis/rpcsvc/nis_callback.h: Likewise.
61876 * nis/rpcsvc/nis_callback.x: Likewise.
61877 * nis/rpcsvc/nis_object.x: Likewise.
61878 * nis/rpcsvc/nis_tags.h: Likewise.
61879 * nis/rpcsvc/yp.h: Likewise.
61880 * nis/rpcsvc/yp.x: Likewise.
61881 * nis/rpcsvc/ypupd.h: Likewise.
61882 * nis/yp_xdr.c: Likewise.
61883 * nis/ypupdate_xdr.c: Likewise.
61885 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
61886 mainly the body of pmap_getport. Add parameters to specify timeouts.
61887 (pmap_getport): Use __libc_rpc_getport.
61888 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61889 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61890 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61892 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
61894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61897 2010-08-27 Roland McGrath <roland@redhat.com>
61899 * sysdeps/i386/i686/multiarch/Makefile
61900 (CFLAGS-varshift.c): New variable.
61902 2010-08-27 Ulrich Drepper <drepper@redhat.com>
61904 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61905 * sysdeps/i386/i686/multiarch/varshift.c: New file.
61907 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61909 * sysdeps/x86_64/strlen.S: Minimal code improvement.
61911 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
61913 * sysdeps/x86_64/strlen.S: Unroll the loop.
61914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61915 strlen-sse2 strlen-sse2-bsf.
61916 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61917 __strlen_no_bsf if bit_Slow_BSF is set.
61918 (__strlen_sse42): Removed.
61919 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61920 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61922 2010-08-25 Roland McGrath <roland@redhat.com>
61924 * sysdeps/x86_64/multiarch/varshift.S: File removed.
61925 * sysdeps/x86_64/multiarch/varshift.c: New file.
61926 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61927 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61928 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61929 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61931 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
61933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61934 strlen-sse2 strlen-sse2-bsf.
61935 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61936 __strlen_sse2_bsf if bit_Slow_BSF is unset.
61937 (__strlen_sse2): Removed.
61938 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61939 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61941 bit_Slow_BSF for Atom.
61942 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61943 (index_Slow_BSF): Define.
61944 (HAS_SLOW_BSF): Define.
61946 2010-08-25 Ulrich Drepper <drepper@redhat.com>
61949 * resolv/res_init.c (__res_vinit): When no server address at all
61950 is given default to loopback.
61952 2010-08-24 Roland McGrath <roland@redhat.com>
61954 * configure.in: Remove config-name.h generation.
61955 * configure: Regenerated.
61956 * config-name.in: File removed.
61957 * scripts/config-uname.sh: New file.
61958 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61959 ($(objdir)config-name.h): New target.
61961 * sunrpc/rpc_parse.h: Avoid nested comment.
61963 2010-08-24 Richard Henderson <rth@redhat.com>
61964 Ulrich Drepper <drepper@redhat.com>
61965 H.J. Lu <hongjiu.lu@intel.com>
61967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61969 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61970 Replace _mm_srli_si128 with __m128i_shift_right. Replace
61971 _mm_alignr_epi8 with _mm_loadu_si128.
61972 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61973 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61974 (__m128i_shift_right): Removed.
61975 * sysdeps/i386/i686/multiarch/varshift.h: New file.
61976 * sysdeps/i386/i686/multiarch/varshift.S: New file.
61977 * sysdeps/x86_64/multiarch/varshift.h: New file.
61978 * sysdeps/x86_64/multiarch/varshift.S: New file.
61980 2010-08-21 Mike Frysinger <vapier@gentoo.org>
61982 * configure.in: Move assembler checks to before sysdep dir checking.
61984 2010-08-20 Petr Baudis <pasky@suse.cz>
61986 * LICENSES: Sync the sunrpc license.
61988 2010-08-19 Ulrich Drepper <drepper@redhat.com>
61990 * sunrpc/auth_des.c: Update copyright notice once again.
61991 * sunrpc/auth_none.c: Likewise.
61992 * sunrpc/auth_unix.c: Likewise.
61993 * sunrpc/authdes_prot.c: Likewise.
61994 * sunrpc/authuxprot.c: Likewise.
61995 * sunrpc/bindrsvprt.c: Likewise.
61996 * sunrpc/clnt_gen.c: Likewise.
61997 * sunrpc/clnt_perr.c: Likewise.
61998 * sunrpc/clnt_raw.c: Likewise.
61999 * sunrpc/clnt_simp.c: Likewise.
62000 * sunrpc/clnt_tcp.c: Likewise.
62001 * sunrpc/clnt_udp.c: Likewise.
62002 * sunrpc/clnt_unix.c: Likewise.
62003 * sunrpc/des_crypt.c: Likewise.
62004 * sunrpc/des_soft.c: Likewise.
62005 * sunrpc/get_myaddr.c: Likewise.
62006 * sunrpc/getrpcport.c: Likewise.
62007 * sunrpc/key_call.c: Likewise.
62008 * sunrpc/key_prot.c: Likewise.
62009 * sunrpc/openchild.c: Likewise.
62010 * sunrpc/pm_getmaps.c: Likewise.
62011 * sunrpc/pm_getport.c: Likewise.
62012 * sunrpc/pmap_clnt.c: Likewise.
62013 * sunrpc/pmap_prot.c: Likewise.
62014 * sunrpc/pmap_prot2.c: Likewise.
62015 * sunrpc/pmap_rmt.c: Likewise.
62016 * sunrpc/rpc/auth.h: Likewise.
62017 * sunrpc/rpc/auth_unix.h: Likewise.
62018 * sunrpc/rpc/clnt.h: Likewise.
62019 * sunrpc/rpc/des_crypt.h: Likewise.
62020 * sunrpc/rpc/key_prot.h: Likewise.
62021 * sunrpc/rpc/netdb.h: Likewise.
62022 * sunrpc/rpc/pmap_clnt.h: Likewise.
62023 * sunrpc/rpc/pmap_prot.h: Likewise.
62024 * sunrpc/rpc/pmap_rmt.h: Likewise.
62025 * sunrpc/rpc/rpc.h: Likewise.
62026 * sunrpc/rpc/rpc_des.h: Likewise.
62027 * sunrpc/rpc/rpc_msg.h: Likewise.
62028 * sunrpc/rpc/svc.h: Likewise.
62029 * sunrpc/rpc/svc_auth.h: Likewise.
62030 * sunrpc/rpc/types.h: Likewise.
62031 * sunrpc/rpc/xdr.h: Likewise.
62032 * sunrpc/rpc_clntout.c: Likewise.
62033 * sunrpc/rpc_cmsg.c: Likewise.
62034 * sunrpc/rpc_common.c: Likewise.
62035 * sunrpc/rpc_cout.c: Likewise.
62036 * sunrpc/rpc_dtable.c: Likewise.
62037 * sunrpc/rpc_hout.c: Likewise.
62038 * sunrpc/rpc_main.c: Likewise.
62039 * sunrpc/rpc_parse.c: Likewise.
62040 * sunrpc/rpc_parse.h: Likewise.
62041 * sunrpc/rpc_prot.c: Likewise.
62042 * sunrpc/rpc_sample.c: Likewise.
62043 * sunrpc/rpc_scan.c: Likewise.
62044 * sunrpc/rpc_scan.h: Likewise.
62045 * sunrpc/rpc_svcout.c: Likewise.
62046 * sunrpc/rpc_tblout.c: Likewise.
62047 * sunrpc/rpc_util.c: Likewise.
62048 * sunrpc/rpc_util.h: Likewise.
62049 * sunrpc/rpcinfo.c: Likewise.
62050 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62051 * sunrpc/rpcsvc/key_prot.x: Likewise.
62052 * sunrpc/rpcsvc/klm_prot.x: Likewise.
62053 * sunrpc/rpcsvc/mount.x: Likewise.
62054 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62055 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62056 * sunrpc/rpcsvc/rex.x: Likewise.
62057 * sunrpc/rpcsvc/rstat.x: Likewise.
62058 * sunrpc/rpcsvc/rusers.x: Likewise.
62059 * sunrpc/rpcsvc/sm_inter.x: Likewise.
62060 * sunrpc/rpcsvc/spray.x: Likewise.
62061 * sunrpc/rpcsvc/yppasswd.x: Likewise.
62062 * sunrpc/rtime.c: Likewise.
62063 * sunrpc/svc.c: Likewise.
62064 * sunrpc/svc_auth.c: Likewise.
62065 * sunrpc/svc_authux.c: Likewise.
62066 * sunrpc/svc_raw.c: Likewise.
62067 * sunrpc/svc_run.c: Likewise.
62068 * sunrpc/svc_simple.c: Likewise.
62069 * sunrpc/svc_tcp.c: Likewise.
62070 * sunrpc/svc_udp.c: Likewise.
62071 * sunrpc/svc_unix.c: Likewise.
62072 * sunrpc/svcauth_des.c: Likewise.
62073 * sunrpc/xcrypt.c: Likewise.
62074 * sunrpc/xdr.c: Likewise.
62075 * sunrpc/xdr_array.c: Likewise.
62076 * sunrpc/xdr_float.c: Likewise.
62077 * sunrpc/xdr_mem.c: Likewise.
62078 * sunrpc/xdr_rec.c: Likewise.
62079 * sunrpc/xdr_ref.c: Likewise.
62080 * sunrpc/xdr_sizeof.c: Likewise.
62081 * sunrpc/xdr_stdio.c: Likewise.
62083 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62086 2010-08-19 Andreas Schwab <schwab@redhat.com>
62088 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62090 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
62092 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62093 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62094 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62095 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62096 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62097 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62098 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62099 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62100 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62101 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62102 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62103 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62104 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62105 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62107 2010-07-26 Anton Blanchard <anton@samba.org>
62109 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62110 * malloc/arena.c (heap_trim): Likewise.
62112 2010-08-16 Ulrich Drepper <drepper@redhat.com>
62114 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62116 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62117 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62119 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
62121 * sysdeps/i386/elf/Makefile: New file.
62123 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
62125 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62126 from fanotify_init.
62127 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62128 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62130 2010-08-15 Ulrich Drepper <drepper@redhat.com>
62132 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62134 * sysdeps/multiarch/strcmp.S: Likewise.
62136 2010-08-14 Ulrich Drepper <drepper@redhat.com>
62138 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62139 strncase_l-nonascii.
62140 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62141 Add strncase_l-ssse3.
62142 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62143 * sysdeps/x86_64/strcmp.S: Likewise.
62144 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62145 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62146 * sysdeps/x86_64/strncase.S: New file.
62147 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62148 * sysdeps/x86_64/strncase_l.S: New file.
62149 * string/Makefile (strop-tests): Add strncasecmp.
62150 * string/test-strncasecmp.c: New file.
62152 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62155 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62156 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62158 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
62160 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62162 2010-08-12 Ulrich Drepper <drepper@redhat.com>
62164 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62165 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62166 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62168 2010-05-01 Alan Modra <amodra@gmail.com>
62170 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62171 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62172 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62173 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62174 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62175 tidying. Don't tail-call __sigjmp_save for static lib.
62176 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62178 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62179 (CALL_MCOUNT): Add eh info, and nop after bl.
62180 (TAIL_CALL_SYSCALL_ERROR): New macro.
62181 (PSEUDO_RET): Use it.
62182 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62183 Correct save location of integer regs and cr.
62184 (_dl_profile_resolve): Correct cr save location. Delete nops
62185 after bl when SHARED. Reduce cfi size a little by better
62186 placement of cfi directives.
62187 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62188 make a stack frame. Instead use parm save area as a temp.
62189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62190 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
62191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62192 Don't make a stack frame for parent, use parm save area.
62193 Increase child stack frame to 112 bytes. Don't save unused reg,
62194 and adjust reg usage. Set up cfi on error recovery and
62195 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62197 (__makecontext): Add dummy nop after jump to exit.
62198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62199 Use correct parm save area and cr save, reduce stack frame.
62200 Correct cfi for possible PSEUDO_RET frame setup.
62201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62202 Branch to local label emitted by PSEUDO_RET rather than
62205 2010-08-12 Andreas Schwab <schwab@redhat.com>
62208 * locale/programs/locale.c (print_assignment): New function.
62209 (show_locale_vars): Use it.
62211 2010-08-11 Ulrich Drepper <drepper@redhat.com>
62213 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62215 (struct statfs64): Likewise.
62216 (_STATFS_F_FLAGS): Define.
62217 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62218 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62219 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62220 (ST_VALID): Define locally.
62221 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62222 __statvfs_getflags, use the provided value.
62223 * sysdeps/unix/sysv/linux/kernel-features.h: Define
62224 __ASSUME_STATFS_F_FLAGS.
62226 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62228 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62229 Add sys/fanotify.h.
62230 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62231 fanotify_mask for GLIBC_2.13.
62232 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62233 fanotify_init and fanotify_mark.
62234 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62235 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62237 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62239 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62240 prlimit64 for GLIBC_2.13.
62241 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62243 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62246 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62247 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62248 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62249 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
62251 * sysdeps/unix/sysv/linux/prlimit.c: New file.
62254 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62255 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62257 * nss/Makefile: Add rules to build and run tst-nss-test1.
62258 * shlib-versions: Add entry for libnss_test1.
62259 * nss/nss_test1.c: New file.
62260 * nss/tst-nss-test1.c: New file.
62262 * nss/nsswitch.c (__nss_database_custom): Define new variable.
62263 (__nss_configure_lookup): Set appropriate entry in
62264 __nss_configure_lookup to true.
62265 * nss/nsswitch.h: Define enum with indeces of databases in
62266 databases and __nss_database_custom arrays. Declare
62267 __nss_database_custom.
62268 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62269 to avoid using nscd when custom rules are installed.
62270 * nss/getXXbyYY_r.c: Likewise.
62271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62273 * nss/nss_files/files-parse.c: Whitespace fixes.
62275 2010-08-09 Ulrich Drepper <drepper@redhat.com>
62278 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62279 * posix/fnmatch_loop.c: Likewise.
62281 2010-07-17 Andi Kleen <ak@linux.intel.com>
62283 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62284 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62285 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62286 * Versions.def [GLIBC_2.13]: Add.
62288 2010-08-06 Ulrich Drepper <drepper@redhat.com>
62290 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62291 Also fail if tpwd after pwuid call is NULL.
62293 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
62295 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62296 when converting to ms.
62298 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62300 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62301 EOPNOTSUPP errors with ENOTTY.
62302 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62303 EOPNOTSUPP errors with ENOTTY.
62305 2010-07-31 Ulrich Drepper <drepper@redhat.com>
62307 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62308 Add strcasecmp_l-ssse3.
62309 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62311 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62312 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62313 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62315 2010-07-30 Ulrich Drepper <drepper@redhat.com>
62317 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62319 * string/Makefile (strop-tests): Add strcasecmp.
62320 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62321 strcasecmp_l-nonascii.
62322 (gen-as-const-headers): Add locale-defines.sym.
62323 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62324 * sysdeps/x86_64/strcasecmp.S: New file.
62325 * sysdeps/x86_64/strcasecmp_l.S: New file.
62326 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62327 * sysdeps/x86_64/locale-defines.sym: New file.
62328 * string/test-strcasecmp.c: New file.
62330 * string/test-strcasestr.c: Test both ends of the range of characters.
62331 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62333 2010-07-29 Roland McGrath <roland@redhat.com>
62336 * manual/locale.texi (Yes-or-No Questions): Fix example code.
62338 2010-07-27 Ulrich Drepper <drepper@redhat.com>
62340 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62343 2010-07-27 Andreas Schwab <schwab@redhat.com>
62345 * manual/memory.texi (Malloc Tunable Parameters): Document
62348 2010-07-26 Roland McGrath <roland@redhat.com>
62351 * configure.in (-fgnu89-inline check): Set and substitute
62352 gnu89_inline, not libc_cv_gnu89_inline.
62353 * configure: Regenerated.
62354 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62356 2010-07-26 Ulrich Drepper <drepper@redhat.com>
62358 * string/test-strnlen.c: New file.
62359 * string/Makefile (strop-tests): Add strnlen.
62360 * string/tester.c (test_strnlen): Add a few more test cases.
62361 * string/tst-strlen.c: Better error reporting.
62363 * sysdeps/x86_64/strnlen.S: New file.
62365 2010-07-24 Ulrich Drepper <drepper@redhat.com>
62367 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62368 lower-latency instructions.
62370 2010-07-23 Ulrich Drepper <drepper@redhat.com>
62372 * string/test-strcasestr.c: New file.
62373 * string/test-strstr.c: New file.
62374 * string/Makefile (strop-tests): Add strstr and strcasestr.
62375 * string/str-two-way.h: Don't undefine MAX.
62376 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62378 2010-07-21 Andreas Schwab <schwab@redhat.com>
62380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62381 strcasestr-nonascii.
62382 (CFLAGS-strcasestr-nonascii.c): Define.
62383 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62384 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62385 Remove unused attribute.
62387 2010-07-20 Roland McGrath <roland@redhat.com>
62389 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62390 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
62391 ld.so.cache was broken. With it, there is no way to disable dsocaps
62392 like LD_HWCAP_MASK can disable hwcaps.
62394 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62396 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62398 2010-07-16 Ulrich Drepper <drepper@redhat.com>
62400 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62401 call in strcasestr.
62402 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62403 __strcasestr_sse42_nonascii.
62404 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62405 strcasestr-nonascii.c.
62406 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62408 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
62410 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62411 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62412 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62413 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62415 2010-07-09 Ulrich Drepper <drepper@redhat.com>
62417 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62420 2010-07-06 Andreas Schwab <schwab@redhat.com>
62423 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62426 2010-07-06 Ulrich Drepper <drepper@redhat.com>
62428 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62429 _PC_PIPE_BUF using F_GETPIPE_SZ.
62431 2010-07-05 Roland McGrath <roland@redhat.com>
62433 * manual/arith.texi (Rounding Functions): Fix rint description
62434 implicit in round description.
62436 2010-07-02 Ulrich Drepper <drepper@redhat.com>
62438 * elf/Makefile: Fix linking for a few tests to make recent linker
62441 2010-06-30 Andreas Schwab <schwab@redhat.com>
62443 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62444 $(common-objpfx)libc_nonshared.a.
62446 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
62448 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62449 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62450 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62451 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62452 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62453 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62454 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62455 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62470 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62471 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62472 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62473 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62474 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62475 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62476 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62477 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62478 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62479 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62480 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62481 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62497 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
62499 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62500 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
62501 * string/memmove.c (memmove): Renamed to ...
62502 (MEMMOVE): ...this. Default to memmove.
62503 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62504 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62507 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62508 mempcpy-ssse3-back memmove-ssse3-back.
62509 * sysdeps/x86_64/multiarch/bcopy.S: New file .
62510 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62511 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62512 * sysdeps/x86_64/multiarch/memcpy.S: New file.
62513 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62514 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62515 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62516 * sysdeps/x86_64/multiarch/memmove.c: New file.
62517 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62518 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62519 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62520 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62521 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62522 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62524 (index_Fast_Copy_Backward): Define.
62525 (HAS_ARCH_FEATURE): Define.
62526 (HAS_FAST_REP_STRING): Define.
62527 (HAS_FAST_COPY_BACKWARD): Define.
62529 2010-06-21 Andreas Schwab <schwab@redhat.com>
62531 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62532 Restore proper fallback handling.
62534 2010-06-19 Ulrich Drepper <drepper@redhat.com>
62537 * posix/group_member.c (__group_member): Correct checking loop.
62539 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62540 OOM in getpwuid_r correctly. Return error number when the caller
62541 should return, otherwise -1.
62542 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62543 call returning > 0 value.
62544 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62546 2010-06-07 Andreas Schwab <schwab@redhat.com>
62548 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62549 libc_nonshared.a from targets in modules-names.
62551 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
62553 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62556 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
62558 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62559 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62560 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62561 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62563 2010-06-02 Andreas Schwab <schwab@redhat.com>
62565 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62567 2010-06-14 Ulrich Drepper <drepper@redhat.com>
62569 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62571 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62572 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62573 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62575 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62576 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62578 2010-06-14 Roland McGrath <roland@redhat.com>
62580 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62582 2010-06-07 Jakub Jelinek <jakub@redhat.com>
62584 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62585 __REDIRECT followed by __THROW.
62586 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62587 * posix/getopt.h (getopt): Likewise.
62589 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62591 * hurd/lookup-at.c (__file_name_lookup_at): Accept
62592 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
62593 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62595 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62596 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62598 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
62600 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62602 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
62605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62606 Properly check family and model.
62608 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
62610 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62612 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
62614 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62616 2010-05-21 Ulrich Drepper <drepper@redhat.com>
62618 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62621 2010-05-19 Andreas Schwab <schwab@redhat.com>
62623 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62626 2010-05-21 Andreas Schwab <schwab@redhat.com>
62628 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62629 and internal_recvmmsg.
62630 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62631 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62632 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62633 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62635 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62636 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62637 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62639 2010-05-20 Andreas Schwab <schwab@redhat.com>
62641 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62643 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
62645 POWER7 optimizations.
62646 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62647 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62649 2010-05-19 Ulrich Drepper <drepper@redhat.com>
62651 * version.h: Update for 2.13 development version.
62653 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
62655 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62656 exceptions. Return 0.
62658 2010-05-07 Roland McGrath <roland@redhat.com>
62660 * elf/ldconfig.c (main): Add a const.
62662 2010-05-06 Ulrich Drepper <drepper@redhat.com>
62664 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62665 (args_options): Add no-idn option.
62666 (ahosts_keys_int): Add idn_flags to ai_flags.
62667 (parse_option): Handle 'i' option to clear idn_flags.
62669 * malloc/malloc.c (_int_free): Possible race in the most recently
62670 added check. Only act on the data if no current modification
62673 See ChangeLog.17 for earlier changes.