1 2015-07-27 Mike Frysinger <vapier@gentoo.org>
3 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
4 directly in terms of __sync_fetch_and_add and delete (int) cast.
6 2015-07-27 Mike Frysinger <vapier@gentoo.org>
8 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
9 the -D_ASM_IA64_CURRENT_H flag.
11 2015-07-27 Mike Frysinger <vapier@gentoo.org>
14 * pwd/pwd.h (putpwent): Delete __nonnull markings.
16 2015-07-27 Andreas Schwab <schwab@suse.de>
18 * conform/conformtest.pl (checknamespace): Filter out string
19 literals while tokenizing.
21 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
24 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
25 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
29 * nptl/tst-join7mod.c: Add #include <string.h>.
31 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
33 * sysdeps/nios2/libm-test-ulps: Update.
35 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
37 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
38 Fix order of arguments to the rt_sigprocmask syscall.
39 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
42 2015-07-24 Roland McGrath <roland@hack.frob.com>
44 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
46 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
49 * nptl/Makefile (tests): New test case tst-join7.
50 (modules-names): New test case module tst-join7mod.
51 * nptl/tst-join7.c: New file.
52 * nptl/tst-join7mod.c: New file.
53 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
54 all translation units in libc.so, libpthread.so and rtld.
56 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
58 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
62 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
63 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
64 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
65 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
66 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
67 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
68 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
69 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
70 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
71 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
72 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
73 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
74 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
75 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
76 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
79 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
82 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
83 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
84 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
85 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
86 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
87 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
89 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
91 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
92 instead of just saying load lock in the comments.
94 2015-07-23 Roland McGrath <roland@hack.frob.com>
96 * sysdeps/unix/Subdirs: Moved ...
97 * sysdeps/posix/Subdirs: ... here.
98 * login/pty.h (struct termios, struct winsize): Add forward decls.
99 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
100 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
101 * sysdeps/arm/nacl/libc.abilist: Updated.
102 * sysdeps/nacl/libutil.abilist: New file.
104 * bits/signum.h: Update comments to mention 1003.1-2013 too.
105 (SIGWINCH): New macro.
107 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
108 * sysdeps/arm/nacl/libc.abilist: Add it.
110 2015-07-23 Mike Frysinger <vapier@gentoo.org>
112 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
114 2015-07-23 Mike Frysinger <vapier@gentoo.org>
116 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
117 Swap __glibc_reserved0 and sa_flags order.
119 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
122 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
123 are pending TLS destructor calls.
124 * include/link.h (struct link_map): Add concurrency note for
126 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
127 Don't touch the link map flag. Atomically increment
129 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
130 Avoid taking the load lock and don't touch the link map flag.
131 * stdlib/tst-tls-atexit-nodelete.c: New test case.
132 * stdlib/Makefile (tests): Use it.
133 * stdlib/tst-tls-atexit.c (do_test): dlopen
134 tst-tls-atexit-lib.so again before dlclose. Add conditionals
135 to allow tst-tls-atexit-nodelete test case to use it.
137 2015-07-22 Mike Frysinger <vapier@gentoo.org>
139 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
141 (msgqnum_t): New typedef.
142 (msglen_t): Likewise.
143 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
144 and msg_qbytes type to msglen_t.
146 2015-07-22 Mike Frysinger <vapier@gentoo.org>
148 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
149 pad0 to __glibc_reserved0.
150 (struct stat64): Likewise.
152 2015-07-22 Mike Frysinger <vapier@gentoo.org>
154 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
155 Change sa_flags from a long to an int and add __glibc_reserved0 before
158 2015-07-22 Mike Frysinger <vapier@gentoo.org>
160 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
161 anonymous by deleting "siginfo" name.
163 2015-07-21 Roland McGrath <roland@hack.frob.com>
165 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
166 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
167 rather than __nacl_irt_filename.
168 * sysdeps/nacl/xstat.c (__xstat): Likewise.
170 * NEWS: New item for arm-nacl port.
171 * sysdeps/arm/nacl/libc.abilist: New file.
172 * sysdeps/nacl/ld.abilist: New file.
173 * sysdeps/nacl/libBrokenLocale.abilist: New file.
174 * sysdeps/nacl/libanl.abilist: New file.
175 * sysdeps/nacl/libcrypt.abilist: New file.
176 * sysdeps/nacl/libdl.abilist: New file.
177 * sysdeps/nacl/libm.abilist: New file.
178 * sysdeps/nacl/libpthread.abilist: New file.
179 * sysdeps/nacl/libresolv.abilist: New file.
180 * sysdeps/nacl/librt.abilist: New file.
182 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
184 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
185 __startcontext to initialize the new context.
186 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
187 up CFI directive to forbid further backtracing.
189 2015-07-21 Marko Myllynen <myllynen@redhat.com>
191 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
193 * charmaps/ANSI_X3.4-1968: Likewise.
194 * charmaps/BS_4730: Likewise.
195 * charmaps/BS_VIEWDATA: Likewise.
196 * charmaps/CP1250: Likewise.
197 * charmaps/CP1251: Likewise.
198 * charmaps/CP1252: Likewise.
199 * charmaps/CP1253: Likewise.
200 * charmaps/CP1254: Likewise.
201 * charmaps/CP1255: Likewise.
202 * charmaps/CP1256: Likewise.
203 * charmaps/CSN_369103: Likewise.
204 * charmaps/EBCDIC-DK-NO: Likewise.
205 * charmaps/GB_1988-80: Likewise.
206 * charmaps/GREEK-CCITT: Likewise.
207 * charmaps/GREEK7: Likewise.
208 * charmaps/INIS-8: Likewise.
209 * charmaps/ISIRI-3342: Likewise.
210 * charmaps/ISO_2033-1983: Likewise.
211 * charmaps/ISO_5427-EXT: Likewise.
212 * locales/POSIX: Likewise.
213 * locales/ar_SA: Likewise.
214 * locales/be_BY: Likewise.
215 * locales/be_BY@latin: Likewise.
216 * locales/ca_ES: Likewise.
217 * locales/cs_CZ: Likewise.
218 * locales/da_DK: Likewise.
219 * locales/de_BE: Likewise.
220 * locales/de_CH: Likewise.
221 * locales/de_LU: Likewise.
222 * locales/en_AU: Likewise.
223 * locales/en_BW: Likewise.
224 * locales/en_CA: Likewise.
225 * locales/en_DK: Likewise.
226 * locales/en_GB: Likewise.
227 * locales/en_IE: Likewise.
228 * locales/en_NZ: Likewise.
229 * locales/en_ZA: Likewise.
230 * locales/en_ZW: Likewise.
231 * locales/es_AR: Likewise.
232 * locales/es_BO: Likewise.
233 * locales/es_CL: Likewise.
234 * locales/es_CO: Likewise.
235 * locales/es_DO: Likewise.
236 * locales/es_EC: Likewise.
237 * locales/es_ES: Likewise.
238 * locales/es_HN: Likewise.
239 * locales/es_MX: Likewise.
240 * locales/es_PA: Likewise.
241 * locales/es_PE: Likewise.
242 * locales/es_PY: Likewise.
243 * locales/es_SV: Likewise.
244 * locales/es_US: Likewise.
245 * locales/es_UY: Likewise.
246 * locales/es_VE: Likewise.
247 * locales/et_EE: Likewise.
248 * locales/fa_IR: Likewise.
249 * locales/fo_FO: Likewise.
250 * locales/fr_CA: Likewise.
251 * locales/fr_CH: Likewise.
252 * locales/gv_GB: Likewise.
253 * locales/he_IL: Likewise.
254 * locales/hr_HR: Likewise.
255 * locales/id_ID: Likewise.
256 * locales/is_IS: Likewise.
257 * locales/it_CH: Likewise.
258 * locales/iw_IL: Likewise.
259 * locales/kl_GL: Likewise.
260 * locales/ko_KR: Likewise.
261 * locales/kw_GB: Likewise.
262 * locales/lg_UG: Likewise.
263 * locales/lt_LT: Likewise.
264 * locales/lv_LV: Likewise.
265 * locales/mi_NZ: Likewise.
266 * locales/nhn_MX: Likewise.
267 * locales/nl_BE: Likewise.
268 * locales/pl_PL: Likewise.
269 * locales/sk_SK: Likewise.
270 * locales/sl_SI: Likewise.
271 * locales/sv_FI: Likewise.
272 * locales/tl_PH: Likewise.
273 * locales/tr_TR: Likewise.
274 * locales/vi_VN: Likewise.
276 2015-07-21 Khem Raj <raj.khem@gmail.com>
279 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
282 2015-07-21 Mike Frysinger <vapier@gentoo.org>
285 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
287 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
289 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
291 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
292 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
293 (spawn_thread): New function.
294 (load): Rename to reg_dtor_and_close. Move dlopen to...
295 (do_test): ... here. Use IS_LOADED to test for its
298 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
300 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
302 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
305 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
308 (si_upper): Likewise.
310 2015-07-16 David S. Miller <davem@davemloft.net>
312 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
314 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
316 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
318 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
319 fail output information.
321 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
326 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
327 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
328 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
329 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
331 2015-07-16 Mike Frysinger <vapier@gentoo.org>
333 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
334 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
335 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
336 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
338 2015-07-16 Mike Frysinger <vapier@gentoo.org>
340 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
341 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
343 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
345 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
347 * tst-nodelete-opened.c (do_test): Add comment to clarify how
350 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
353 * elf/tst-nodelete-opened.c: New test case.
354 * elf/tst-nodelete-opened-lib.c: New test case module.
355 * elf/Makefile (tests, modules-names): Use them.
356 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
359 2015-07-15 David S. Miller <davem@davemloft.net>
361 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
363 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
364 * sysdeps/sparc/sparc64/Makefile: Likewise.
365 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
366 Remove space from macro define.
367 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
369 2015-07-15 Pravin Satpute <psatpute@redhat.com>
372 * locale/iso-639.def: Update Bhili and Tulu language codes as
375 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
377 * elf/tst-leaks1.c (main): Converted to ...
379 (TEST_FUNCTION): New macro.
380 Include test-skeleton.c.
381 * localedata/tst-langinfo.c (main): Converted to ...
383 (TEST_FUNCTION): New macro.
384 Include test-skeleton.c.
385 * math/test-fpucw.c (main): Converted to ...
387 (TEST_FUNCTION): New macro.
388 Include test-skeleton.c.
389 * math/test-tgmath.c (main): Converted to ...
391 (TEST_FUNCTION): New macro.
392 Include test-skeleton.c.
393 * math/test-tgmath2.c (main): Converted to ...
395 (TEST_FUNCTION): New macro.
396 Include test-skeleton.c.
397 * setjmp/tst-setjmp.c (main): Converted to ...
399 (TEST_FUNCTION): New macro.
400 Include test-skeleton.c.
401 * stdio-common/tst-sscanf.c (main): Converted to ...
403 (TEST_FUNCTION): New macro.
404 Include test-skeleton.c.
405 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
407 (TEST_FUNCTION): New macro.
408 Include test-skeleton.c.
410 * elf/tst-audit9.c (main): Converted to ...
412 (TEST_FUNCTION): New macro.
413 Include test-skeleton.c.
415 2015-07-15 Mike Frysinger <vapier@gentoo.org>
417 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
419 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
421 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
424 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
426 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
428 2015-07-14 Roland McGrath <roland@hack.frob.com>
430 * sysdeps/generic/dl-fileid.h: New file.
431 * sysdeps/posix/dl-fileid.h: New file.
432 * sysdeps/nacl/dl-fileid.h: New file.
433 * include/link.h: Include <dl-fileid.h>.
434 (struct link_map): Replace l_dev and l_ino with l_file_id.
435 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
436 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
437 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
439 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
441 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
443 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
445 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
447 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
449 (tst-nodelete-zmodiff): Likewise.
450 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
452 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
454 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
456 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
458 * sysdeps/aarch64/fpu/math_private.h
459 (define math_opt_barrier): Add AArch64 version.
460 (math_force_eval): Likewise.
462 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
464 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
466 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
468 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
469 %ld with %jd and cast to intmax_t.
470 (do_test_length_zero): Likewise.
472 2015-07-10 Roland McGrath <roland@hack.frob.com>
474 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
476 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
478 * sysdeps/tile/libm-test-ulps: Regenerated.
480 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
481 Comment out the whole function, not just its body.
483 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
485 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
488 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
490 2015-07-10 Torvald Riegel <triegel@redhat.com>
492 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
493 (sem_assume_only_signals_cause_futex_EINTR): Remove.
495 2015-07-10 Torvald Riegel <triegel@redhat.com>
497 * sysdeps/nptl/futex-internal.h: New file.
498 * sysdeps/nacl/futex-internal.h: New file.
499 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
500 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
502 (setxid_unmark_thread): Likewise.
503 (__nptl_setxid): Likewise.
504 (__wait_lookup_done): Likewise.
505 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
506 * nptl/nptl-init.c (sighandler_setxid): Likewise.
507 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
508 * nptl/pthread_once.c (clear_once_control): Likewise.
509 (__pthread_once_slow): Likewise.
510 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
511 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
512 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
513 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
514 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
515 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
517 (__pthread_rwlock_rdlock): Likewise.
518 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
520 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
522 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
524 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
525 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
527 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
528 __ASSUME_PRIVATE_FUTEX check.
529 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
530 Check that shared futexes are supported.
531 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
532 wrappers with error checking.
533 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
534 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
535 * nptl/pthread_barrierattr_setpshared.c
536 (pthread_barrierattr_setpshared): Check that shared futexes are
538 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
540 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
542 * nptl/sem_init.c (futex_private_if_supported): Remove.
543 (__new_sem_init): Adapt and check that shared futexes are supported.
544 * nptl/sem_open.c (sem_open): Likewise.
545 * nptl/sem_post.c (futex_wake): Remove.
546 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
547 (do_futex_wait): Use futex wrappers with error checking.
548 * nptl/sem_wait.c: Include lowlevellock.h.
549 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
550 Use futex_supports_pshared.
551 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
552 Use futex wrappers with error checking.
553 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
555 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
556 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
557 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
558 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
559 (futex_wake): Likewise.
560 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
561 (do_futex_wait): Use futex wrappers with error checking.
562 (__new_sem_wait_slow): Update EINTR handling.
563 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
565 2015-07-09 Martin Sebor <msebor@redhat.com>
568 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
569 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
570 * nptl/Makefile (test-xfail-tst-once5): Define.
572 2015-07-09 Roland McGrath <roland@hack.frob.com>
574 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
575 * elf/dl-minimal.c: For readability, reorder some definitions and
576 introduce more page breaks. Include <stdio.h>.
577 (__libc_fatal): New function.
579 * include/unistd.h: Add rtld_hidden_proto for _exit.
580 * posix/_exit.c: Add rtld_hidden_def.
581 * sysdeps/mach/hurd/_exit.c: Likewise.
582 * sysdeps/nacl/_exit.c: Likewise.
583 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
584 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
586 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
588 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
589 bndmov encoding with zero displacement.
591 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
592 H.J. Lu <hongjiu.lu@intel.com>
595 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
596 * sysdeps/i386/configure: Regenerated.
597 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
598 (_dl_runtime_profile): Save and restore Intel MPX return bound
599 registers when calling _dl_call_pltexit. Add
600 PRESERVE_BND_REGS_PREFIX before return.
601 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
602 (LRV_BND1_OFFSET): Likewise.
603 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
605 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
606 typo in bndmov encoding.
607 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
608 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
609 branch instructions to preserve bounds.
611 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
614 [GLIBC_2.22]: Add fmemopen.
616 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
618 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
619 returns an error, also try to use host port from __mach_host_self for
621 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
623 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
627 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
628 Fix pr_uid and pr_gid members.
629 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
630 definition to elf_greg_t.
632 2015-07-08 Roland McGrath <roland@hack.frob.com>
635 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
636 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
637 * sysdeps/arm/configure: Regenerated.
638 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
639 (test-xfail-tst-tlsalign-static): Variable removed.
641 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
642 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
643 rather than explicit 'ln -s'.
645 * resolv/rpc/netdb.h: New file.
646 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
648 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
650 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
652 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
661 * include/stdio.h (fmemopen): Remove hidden prototype.
662 (__fmemopen): Add new hidden prototype.
663 * libio/Makefile: Add oldfmemopen object.
664 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
665 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
667 * libio/oldfmemopen.c: New file: old fmemopen implementation for
668 symbol compatibility.
669 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
670 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
672 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
673 on append and read mode.
674 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
676 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
677 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
678 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
679 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
681 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
682 [GLIBC_2.22]: Likewise.
683 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
685 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
687 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
688 [GLIBC_2.22]: Likewise.
689 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
690 [GLIBC_2.22]: Likewise.
691 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
692 [GLIBC_2.22]: Likewise.
693 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
694 [GLIBC_2.22]: Likewise.
695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
696 [GLIBC_2.22]: Likewise.
697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
698 [GLIBC_2.22]: Likewise.
699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
700 [GLIBC_2.22]: Likewise.
701 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
703 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
705 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
706 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
707 [GLIBC_2.22]: Likewise.
708 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
709 [GLIBC_2.22]: Likewise.
710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
711 [GLIBC_2.22]: Likewise.
712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
713 [GLIBC_2.22]: Likewise.
714 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
716 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
718 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
720 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
721 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
723 2015-07-08 Carlos O'Donell <carlos@redhat.com>
726 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
727 IPV6_PATHMTU, and IPV6_DONTFRAG.
729 2015-07-08 Feng Gao <gfree.wind@gmail.com>
731 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
733 * libio/oldfileops.c: Likewise.
734 * libio/wfileops.c: Likewise.
736 2015-07-08 Mike Frysinger <vapier@gentoo.org>
738 * nscd/selinux.c: Delete selinux/flask.h include.
740 2015-07-08 Mike Frysinger <vapier@gentoo.org>
743 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
744 (putpwent): Likewise.
745 (getpwnam): Likewise.
746 (getpwent_r): Likewise.
747 (getpwuid_r): Likewise.
748 (getpwnam_r): Likewise.
749 (fgetpwent_r): Likewise.
751 2015-07-08 Carlos O'Donell <carlos@redhat.com>
754 * inet/rcmd.c (__validuser2_sa): Check user first to
755 short-circuit host check.
757 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
758 Mikhail Ilin <m.ilin@samsung.com>
761 * elf/Makefile (tests): Add tst-nodelete.
762 (modules-names): Add tst-nodelete-uniquemod.
763 (tst-nodelete-uniquemod.so-no-z-defs): New.
764 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
765 (tst-nodelete-zmod.so-no-z-defs): Likewise.
766 ($(objpfx)tst-nodelete): Likewise.
767 ($(objpfx)tst-nodelete.out): Likewise.
768 (LDFLAGS-tst-nodelete): Likewise.
769 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
770 * elf/dl-close.c (_dl_close_worker): Add a parameter to
771 implement forced object deletion.
772 (_dl_close): Pass false to _dl_close_worker.
773 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
774 * elf/tst-nodelete.cc: New file.
775 * elf/tst-nodeletelib.cc: Likewise.
776 * elf/tst-znodeletelib.cc: Likewise.
777 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
779 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
782 * stdlib/Makefile ($(objpfx)tst-makecontext3):
784 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
785 is not called infinitely times.
786 (backtrace_helper): New function.
787 (trace_arg): New struct.
788 (st1): Enlarge stack size.
789 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
790 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
791 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
794 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
796 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
798 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
800 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
801 Include sys/types.h instead of bits/types.h.
802 Remove inclusion of bits/wordsize.h.
804 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
806 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
807 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
808 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
809 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
810 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
811 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
813 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
815 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
817 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
818 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
819 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
821 * sysdeps/i386/link-defines.sym: New file.
823 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
825 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
826 (modules-names): Add tst-auditmod3a tst-auditmod3b.
827 ($(objpfx)tst-audit3): New rule.
828 ($(objpfx)tst-audit3.out): Likewise.
829 * sysdeps/i386/tst-audit3.c: New file.
830 * sysdeps/i386/tst-audit3.h: Likewise.
831 * sysdeps/i386/tst-auditmod3a.c: Likewise.
832 * sysdeps/i386/tst-auditmod3b.c: Likewise.
834 2015-07-07 Torvald Riegel <triegel@redhat.com>
837 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
839 (__strcat_c): Likewise.
840 (__strcat_g): Likewise.
842 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
845 * misc/sbrk.c: Set errno to ENOMEM on overflow.
847 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
849 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
850 New function. (__ieee754_sqrtf): New function.
851 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
853 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
856 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
858 * sysdeps/ieee754/support.c: Remove unused file.
860 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
862 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
863 registers instead of d ones so the layout is kernel abi compatible.
864 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
865 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
868 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
870 * sysdeps/aarch64/libm-test-ulps: Regenerated.
872 2015-07-01 Joseph Myers <joseph@codesourcery.com>
875 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
876 and return argument in case of subnormal argument.
878 2015-07-01 Martin Sebor <msebor@redhat.com>
881 * nptl/Makefile: Add tst-once5.cc.
882 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
883 Remove macro redefinitions.
884 * nptl/tst-once5.cc: New test.
886 2015-07-01 Joseph Myers <joseph@codesourcery.com>
888 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
890 * sysdeps/arm/libm-test-ulps: Regenerated.
892 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
893 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
895 2015-06-30 Torvald Riegel <triegel@redhat.com>
897 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
898 lll_lock_wait_private and lll_futex_wake probes.
900 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
901 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
903 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
905 * sysdeps/x86_64/bits/atomic.h: Likewise.
906 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
907 to atomic_spin_nop and move ...
908 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
910 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
911 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
912 atomic_spin_nop instead of BUSY_WAIT_NOP.
913 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
915 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
916 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
917 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
918 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
919 instead of atomic_delay.
921 2015-06-29 Joseph Myers <joseph@codesourcery.com>
924 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
925 X_ADJ not X when adjusting exponent.
926 (__ieee754_gamma_r): Do intermediate computations in
927 round-to-nearest then adjust overflowing and underflowing results
929 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
930 of X_ADJ not X when adjusting exponent.
931 (__ieee754_gammaf_r): Do intermediate computations in
932 round-to-nearest then adjust overflowing and underflowing results
934 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
935 log of X_ADJ not X when adjusting exponent.
936 (__ieee754_gammal_r): Do intermediate computations in
937 round-to-nearest then adjust overflowing and underflowing results
938 as needed. Use 1.0L not 1.0f as numerator of division.
939 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
940 log of X_ADJ not X when adjusting exponent.
941 (__ieee754_gammal_r): Do intermediate computations in
942 round-to-nearest then adjust overflowing and underflowing results
943 as needed. Use 1.0L not 1.0f as numerator of division.
944 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
945 of X_ADJ not X when adjusting exponent.
946 (__ieee754_gammal_r): Do intermediate computations in
947 round-to-nearest then adjust overflowing and underflowing results
948 as needed. Use 1.0L not 1.0f as numerator of division.
949 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
950 to auto-libm-test-in.
951 (tgamma_test): Use ALL_RM_TEST.
952 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
953 tests of tgamma with spurious-overflow.
954 * math/auto-libm-test-out: Regenerated.
955 * math/gen-libm-have-vector-test.sh: Do not check for START.
956 * sysdeps/i386/fpu/libm-test-ulps: Update.
957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
960 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
961 arguments, just return 0.5 times the argument, with underflow
963 * math/auto-libm-test-in: Add more tests of j1.
964 * math/auto-libm-test-out: Regenerated.
967 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
968 (__ieee754_j1): Force underflow exception for small results.
969 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
970 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
971 (__ieee754_j1f): Force underflow exception for small results.
972 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
973 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
974 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
975 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
976 (__ieee754_j1l): Force underflow exception for small results.
977 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
978 * math/auto-libm-test-in: Add more tests of j1 and jn.
979 * math/auto-libm-test-out: Regenerated.
981 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
982 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
986 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
988 (MS_RMT_MASK): Include MS_LAZYTIME.
990 2015-06-26 Mel Gorman <mgorman@suse.de>
993 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
996 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
998 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
999 (DT_MIPS_NUM): Update.
1000 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
1001 DT_MIPS_RLD_MAP_REL.
1003 2015-06-25 Joseph Myers <joseph@codesourcery.com>
1007 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
1008 round-to-nearest internally then recompute results that
1009 underflowed to zero in the original rounding mode.
1010 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1011 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1012 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1013 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
1014 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
1015 * sysdeps/i386/fpu/libm-test-ulps: Update.
1016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1018 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
1020 * NEWS: Fixed description of link with vector math library.
1022 2015-06-25 Andreas Schwab <schwab@suse.de>
1025 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
1026 * libio/test-fmemopen.c (do_test): Add test for it.
1028 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
1031 * Makeconfig (no-pie-ldflag): New.
1032 (+link): Set to $(+link-pie) if default to PIE.
1033 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
1034 * config.make.in (build-pie-default): New.
1035 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
1036 is default. AC_SUBST.
1037 * configure: Regenerated.
1038 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
1040 2015-06-24 Roland McGrath <roland@hack.frob.com>
1042 * nptl/descr.h (struct pthread): Change type of field setxid_futex
1045 * resolv/gai_misc.h (struct waitlist): Change type of field
1046 counterp to 'volatile unsigned int *'.
1047 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
1048 FUTEXADDR and OLDVAL.
1049 * resolv/getaddrinfo_a.c (getaddrinfo_a):
1050 Give local variable TOTAL type 'volatile unsigned int'.
1051 (struct async_waitlist): Change type of field counter to 'unsigned int'.
1052 * resolv/gai_suspend.c (gai_suspend):
1053 Give local variable CNTR type 'unsigned int'.
1055 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
1056 counterp to 'volatile unsigned int *'.
1057 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
1058 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
1059 (aio_suspend): Give local variable CNTR type 'unsigned int'.
1060 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
1061 Give local variable TOTAL type 'volatile unsigned int'.
1062 (struct async_waitlist): Change type of field counter to 'unsigned int'.
1064 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
1067 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
1068 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
1069 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
1070 comment for i386/x86-64.
1071 (test-xfail-tst-tlsalign-extern-static): Removed.
1073 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1075 * math/test-double.h: New file.
1076 * math/test-float.h: Likewise.
1077 * math/test-ldouble.h: Likewise.
1078 * math/test-math-inline.h: Likewise.
1079 * math/test-math-no-inline.h: Likewise.
1080 * math/test-math-scalar.h: Likewise.
1081 * math/test-math-vector.h: Likewise.
1082 * math/test-vec-loop.h: Remove file. Contents moved into
1084 * math/libm-test.inc (MATHCONST): Do not document macro.
1085 * math/test-double.c: Include test-double.h, test-math-no-inline.h
1086 and test-math-scalar.h.
1087 (FUNC): Remove macro.
1088 (FUNC_TEST): Likewise.
1090 (MATHCONST): Likewise.
1091 (PRINTF_EXPR): Likewise.
1092 (PRINTF_XEXPR): Likewise.
1093 (PRINTF_NEXPR): Likewise.
1094 (TEST_DOUBLE): Likewise.
1095 (TEST_MATHVEC): Likewise.
1096 (__NO_MATH_INLINES): Likewise.
1097 * math/test-float.c: Include test-float.h, test-math-no-inline.h
1098 and test-math-scalar.h.
1099 (FUNC): Remove macro.
1100 (FUNC_TEST): Likewise.
1102 (MATHCONST): Likewise.
1103 (PRINTF_EXPR): Likewise.
1104 (PRINTF_XEXPR): Likewise.
1105 (PRINTF_NEXPR): Likewise.
1106 (TEST_FLOAT): Likewise.
1107 (TEST_MATHVEC): Likewise.
1108 (__NO_MATH_INLINES): Likewise.
1109 * math/test-idouble.c: Include test-double.h, test-math-inline.h
1110 and test-math-scalar.h.
1111 (FUNC): Remove macro.
1112 (FUNC_TEST): Likewise.
1114 (MATHCONST): Likewise.
1115 (PRINTF_EXPR): Likewise.
1116 (PRINTF_XEXPR): Likewise.
1117 (PRINTF_NEXPR): Likewise.
1118 (TEST_DOUBLE): Likewise.
1119 (TEST_MATHVEC): Likewise.
1120 (TEST_INLINE): Likewise.
1121 (__NO_MATH_INLINES): Likewise.
1122 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1124 (FUNC): Remove macro.
1125 (FUNC_TEST): Likewise.
1127 (MATHCONST): Likewise.
1128 (PRINTF_EXPR): Likewise.
1129 (PRINTF_XEXPR): Likewise.
1130 (PRINTF_NEXPR): Likewise.
1131 (TEST_FLOAT): Likewise.
1132 (TEST_MATHVEC): Likewise.
1133 (TEST_INLINE): Likewise.
1134 (__NO_MATH_INLINES): Likewise.
1135 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1136 and test-math-scalar.h.
1137 (FUNC): Remove macro.
1138 (FUNC_TEST): Likewise.
1140 (MATHCONST): Likewise.
1141 (PRINTF_EXPR): Likewise.
1142 (PRINTF_XEXPR): Likewise.
1143 (PRINTF_NEXPR): Likewise.
1144 (TEST_LDOUBLE): Likewise.
1145 (TEST_MATHVEC): Likewise.
1146 (TEST_INLINE): Likewise.
1147 (__NO_MATH_INLINES): Likewise.
1148 * math/test-ldouble.c: Include test-ldouble.h,
1149 test-math-no-inline.h and test-math-scalar.h.
1150 (FUNC): Remove macro.
1151 (FUNC_TEST): Likewise.
1153 (MATHCONST): Likewise.
1154 (PRINTF_EXPR): Likewise.
1155 (PRINTF_XEXPR): Likewise.
1156 (PRINTF_NEXPR): Likewise.
1157 (TEST_LDOUBLE): Likewise.
1158 (TEST_MATHVEC): Likewise.
1159 (__NO_MATH_INLINES): Likewise.
1160 * math/test-double-vlen2.h: Include test-double.h,
1161 test-math-no-inline.h and test-math-vector.h.
1162 (FLOAT): Remove macro.
1164 (MATHCONST): Likewise.
1165 (PRINTF_EXPR): Likewise.
1166 (PRINTF_XEXPR): Likewise.
1167 (PRINTF_NEXPR): Likewise.
1168 (TEST_DOUBLE): Likewise.
1169 (TEST_MATHVEC): Likewise.
1170 (__NO_MATH_INLINES): Likewise.
1173 (WRAPPER_NAME): Likewise.
1174 (WRAPPER_DECL): Likewise.
1175 (WRAPPER_DECL_ff): Likewise.
1176 (WRAPPER_DECL_fFF): Likewise.
1177 (VECTOR_WRAPPER): Likewise.
1178 (VECTOR_WRAPPER_ff): Likewise.
1179 (VECTOR_WRAPPER_fFF): Likewise.
1180 (VEC_LEN): New macro.
1181 * math/test-double-vlen4.h: Include test-double.h,
1182 test-math-no-inline.h and test-math-vector.h.
1183 (FLOAT): Remove macro.
1185 (MATHCONST): Likewise.
1186 (PRINTF_EXPR): Likewise.
1187 (PRINTF_XEXPR): Likewise.
1188 (PRINTF_NEXPR): Likewise.
1189 (TEST_DOUBLE): Likewise.
1190 (TEST_MATHVEC): Likewise.
1191 (__NO_MATH_INLINES): Likewise.
1194 (WRAPPER_NAME): Likewise.
1195 (WRAPPER_DECL): Likewise.
1196 (WRAPPER_DECL_ff): Likewise.
1197 (WRAPPER_DECL_fFF): Likewise.
1198 (VECTOR_WRAPPER): Likewise.
1199 (VECTOR_WRAPPER_ff): Likewise.
1200 (VECTOR_WRAPPER_fFF): Likewise.
1201 (VEC_LEN): New macro.
1202 * math/test-double-vlen8.h: Include test-double.h,
1203 test-math-no-inline.h and test-math-vector.h.
1204 (FLOAT): Remove macro.
1206 (MATHCONST): Likewise.
1207 (PRINTF_EXPR): Likewise.
1208 (PRINTF_XEXPR): Likewise.
1209 (PRINTF_NEXPR): Likewise.
1210 (TEST_DOUBLE): Likewise.
1211 (TEST_MATHVEC): Likewise.
1212 (__NO_MATH_INLINES): Likewise.
1215 (WRAPPER_NAME): Likewise.
1216 (WRAPPER_DECL): Likewise.
1217 (WRAPPER_DECL_ff): Likewise.
1218 (WRAPPER_DECL_fFF): Likewise.
1219 (VECTOR_WRAPPER): Likewise.
1220 (VECTOR_WRAPPER_ff): Likewise.
1221 (VECTOR_WRAPPER_fFF): Likewise.
1222 (VEC_LEN): New macro.
1223 * math/test-float-vlen4.h: Include test-float.h,
1224 test-math-no-inline.h and test-math-vector.h.
1225 (FLOAT): Remove macro.
1227 (MATHCONST): Likewise.
1228 (PRINTF_EXPR): Likewise.
1229 (PRINTF_XEXPR): Likewise.
1230 (PRINTF_NEXPR): Likewise.
1231 (TEST_FLOAT): Likewise.
1232 (TEST_MATHVEC): Likewise.
1233 (__NO_MATH_INLINES): Likewise.
1236 (WRAPPER_NAME): Likewise.
1237 (WRAPPER_DECL): Likewise.
1238 (WRAPPER_DECL_ff): Likewise.
1239 (WRAPPER_DECL_fFF): Likewise.
1240 (VECTOR_WRAPPER): Likewise.
1241 (VECTOR_WRAPPER_ff): Likewise.
1242 (VECTOR_WRAPPER_fFF): Likewise.
1243 (VEC_LEN): New macro.
1244 * math/test-float-vlen8.h: Include test-float.h,
1245 test-math-no-inline.h and test-math-vector.h.
1246 (FLOAT): Remove macro.
1248 (MATHCONST): Likewise.
1249 (PRINTF_EXPR): Likewise.
1250 (PRINTF_XEXPR): Likewise.
1251 (PRINTF_NEXPR): Likewise.
1252 (TEST_FLOAT): Likewise.
1253 (TEST_MATHVEC): Likewise.
1254 (__NO_MATH_INLINES): Likewise.
1257 (WRAPPER_NAME): Likewise.
1258 (WRAPPER_DECL): Likewise.
1259 (WRAPPER_DECL_ff): Likewise.
1260 (WRAPPER_DECL_fFF): Likewise.
1261 (VECTOR_WRAPPER): Likewise.
1262 (VECTOR_WRAPPER_ff): Likewise.
1263 (VECTOR_WRAPPER_fFF): Likewise.
1264 (VEC_LEN): New macro.
1265 * math/test-float-vlen16.h: Include test-float.h,
1266 test-math-no-inline.h and test-math-vector.h.
1267 (FLOAT): Remove macro.
1269 (MATHCONST): Likewise.
1270 (PRINTF_EXPR): Likewise.
1271 (PRINTF_XEXPR): Likewise.
1272 (PRINTF_NEXPR): Likewise.
1273 (TEST_FLOAT): Likewise.
1274 (TEST_MATHVEC): Likewise.
1275 (__NO_MATH_INLINES): Likewise.
1278 (WRAPPER_NAME): Likewise.
1279 (WRAPPER_DECL): Likewise.
1280 (WRAPPER_DECL_ff): Likewise.
1281 (WRAPPER_DECL_fFF): Likewise.
1282 (VECTOR_WRAPPER): Likewise.
1283 (VECTOR_WRAPPER_ff): Likewise.
1284 (VECTOR_WRAPPER_fFF): Likewise.
1285 (VEC_LEN): New macro.
1286 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1288 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1289 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1290 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1291 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1292 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1293 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1294 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1296 2015-06-24 Roland McGrath <roland@hack.frob.com>
1298 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1299 (__getlogin_r): ... this.
1301 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1304 * math/s_ccosh.c (__ccosh): Compare with least normal value
1305 instead of comparing class with FP_SUBNORMAL.
1306 * math/s_ccoshf.c (__ccoshf): Likewise.
1307 * math/s_ccoshl.c (__ccoshl): Likewise.
1308 * math/s_cexp.c (__cexp): Likewise.
1309 * math/s_cexpf.c (__cexpf): Likewise.
1310 * math/s_cexpl.c (__cexpl): Likewise.
1311 * math/s_csin.c (__csin): Likewise.
1312 * math/s_csinf.c (__csinf): Likewise.
1313 * math/s_csinh.c (__csinh): Likewise.
1314 * math/s_csinhf.c (__csinhf): Likewise.
1315 * math/s_csinhl.c (__csinhl): Likewise.
1316 * math/s_csinl.c (__csinl): Likewise.
1317 * math/s_ctan.c (__ctan): Likewise.
1318 * math/s_ctanf.c (__ctanf): Likewise.
1319 * math/s_ctanh.c (__ctanh): Likewise.
1320 * math/s_ctanhf.c (__ctanhf): Likewise.
1321 * math/s_ctanhl.c (__ctanhl): Likewise.
1322 * math/s_ctanl.c (__ctanl): Likewise.
1323 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1324 csin, csinh, ctan and ctanh.
1325 * math/auto-libm-test-out: Regenerated.
1326 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1327 * sysdeps/i386/fpu/libm-test-ulps: Update.
1328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1330 2015-06-24 Roland McGrath <roland@hack.frob.com>
1332 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1333 return value is wrong, print the expected value too.
1335 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
1338 * elf/readlib.c (is_gdb_python_file): New.
1339 (process_file): Don't issue errors on filenames with -gdb.py
1342 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1344 * math/auto-libm-test-in: Add more tests of csin and csinh.
1345 * math/auto-libm-test-out: Regenerated.
1346 * math/libm-test.inc (csin_test_data): Remove tests moved to
1348 (csinh_test_data): Likewise.
1351 * math/s_csin.c (__csin): Negate before rather than after possibly
1352 overflowing multiplication.
1353 * math/s_csinf.c (__csinf): Likewise.
1354 * math/s_csinh.c (__csinh): Likewise.
1355 * math/s_csinhf.c (__csinhf): Likewise.
1356 * math/s_csinhl.c (__csinhl): Likewise.
1357 * math/s_csinl.c (__csinl): Likewise.
1358 * math/auto-libm-test-in: Add some tests of csin and csinh.
1359 * math/auto-libm-test-out: Regenerated.
1360 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1361 (csinh_test_data): Likewise.
1362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1365 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1366 underflow exception for small results.
1368 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
1370 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1371 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1372 variable and included header.
1373 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1374 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1375 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1376 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1377 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1378 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1379 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1380 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1381 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1382 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1383 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1384 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1385 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1386 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1387 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1388 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1390 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1394 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1395 (__sin): Force underflow exception for arguments with small
1397 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1398 (__kernel_sinf): Force underflow exception for arguments with
1399 small absolute value.
1400 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1401 (__kernel_sincosl): Force underflow exception for arguments with
1402 small absolute value.
1403 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1404 (__kernel_sinl): Force underflow exception for arguments with
1405 small absolute value.
1406 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1407 (__kernel_sincosl): Force underflow exception for arguments with
1408 small absolute value.
1409 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1410 (__kernel_sinl): Force underflow exception for arguments with
1411 small absolute value.
1412 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1413 (__kernel_sinl): Force underflow exception for arguments with
1414 small absolute value.
1415 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1416 (__kernel_sinf): Force underflow exception for arguments with
1417 small absolute value.
1418 * math/auto-libm-test-in: Add more tests of sin and sincos.
1419 * math/auto-libm-test-out: Regenerated.
1423 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1424 (__kernel_standard_l): Use feholdexcept and fesetenv around
1425 conversion to double instead of special-casing overflow and
1427 * math/libm-test.inc (fmod_test_data): Add more tests.
1428 (remainder_test_data): Likewise.
1429 (sqrt_test_data): Likewise.
1431 2015-06-23 Torvald Riegel <triegel@redhat.com>
1434 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1435 atomic_read_barrier, atomic_write_barrier): Define.
1436 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1437 atomic_read_barrier, atomic_write_barrier): Define.
1439 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1441 * math/Makefile [$(PERL) != no]
1442 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1443 dependency on libm-test.stmp below the inclusion of Rules.
1445 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
1447 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1448 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1449 and included header.
1450 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1451 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1452 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1453 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1454 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1455 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1456 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1457 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1458 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1459 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1460 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1461 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1462 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1463 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1464 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1465 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1466 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1467 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1468 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1470 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1473 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1474 intermediate but not final result might underflow.
1475 * math/s_csqrtf.c (__csqrtf): Likewise.
1476 * math/s_csqrtl.c (__csqrtl): Likewise.
1477 * math/auto-libm-test-in: Add more tests of csqrt.
1478 * math/auto-libm-test-out: Regenerated.
1479 * sysdeps/i386/fpu/libm-test-ulps: Update.
1482 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1483 threshold on absolute value of exponent for which scaling is used.
1484 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1485 * math/auto-libm-test-in: Add more tests of exp2.
1486 * math/auto-libm-test-out: Regenerated.
1488 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
1491 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1492 when initializing interface list, based on the bug analysis
1493 and the patch proposed by Eric Newton.
1494 * resolv/tst-res_hconf_reorder.c: New test.
1495 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1496 tst-res_hconf_reorder.
1497 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1498 and $(shared-thread-library).
1499 (tst-res_hconf_reorder-ENV): New variable.
1501 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1504 2015-06-22 Joseph Myers <joseph@codesourcery.com>
1507 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1508 (__expm1): Force underflow exception for arguments with small
1510 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1511 (__expm1f): Force underflow exception for arguments with small
1513 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1514 (__expm1): Force underflow exception for arguments with small
1516 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1517 (__expm1f): Force underflow exception for arguments with small
1519 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1520 Check for small arguments before calling __expm1.
1521 * math/auto-libm-test-in: Do not mark underflow exceptions as
1522 possibly missing for bug 16353.
1523 * math/auto-libm-test-out: Regenerated.
1525 2015-06-22 Andreas Schwab <schwab@suse.de>
1528 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1531 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
1533 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1535 * string/strcoll_l.c: Remove unused struct element idxnow.
1537 2015-06-21 Joseph Myers <joseph@codesourcery.com>
1540 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1541 underflow and return argument in case of subnormal argument.
1542 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1544 * math/auto-libm-test-in: Add more tests of expm1.
1545 * math/auto-libm-test-out: Regenerated.
1548 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1549 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1551 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1552 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1554 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
1555 mark underflow exceptions as possibly missing for bug 16361.
1556 * math/auto-libm-test-out: Regenerated.
1558 2015-06-19 Joseph Myers <joseph@codesourcery.com>
1560 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1561 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1563 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1564 (test-xfail-XOPEN2K8/utmpx.h/conform).
1566 * conform/conformtest.pl ($xerrors): New variable.
1567 (note_error): New function.
1568 (compiletest): New argument $xfail. Use not_error.
1569 (runtest): Likewise.
1570 (top level): Handle xfail- lines. Update calls to compiletest and
1571 runtest. Handle xfail- and optional- in headers listed with
1573 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1575 (O_SEARCH): Likewise.
1576 * conform/data/stropts.h-data (ioctl): Likewise.
1577 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1578 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1579 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1580 (msghdr.msg_controllen): Likewise.
1581 (cmsghdr.cmsg_len): Likewise.
1582 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1583 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1585 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1586 (test-xfail-XPG4/stropts.h/conform): Likewise.
1587 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1588 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1589 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1590 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1591 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1592 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1593 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1594 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1595 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1596 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1597 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1598 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1599 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1600 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1601 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1602 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1603 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1604 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1605 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1607 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
1609 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1610 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1611 definitions for proper unfolding of __MATHDECL_VEC.
1613 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1615 * benchtests/bench-strcoll.c:
1617 (main): Remove unused variable res.
1619 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1621 * timezone/Makefile (%/UTC %/Universal):
1622 Generate test-result files for UTC and Universal.
1624 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1626 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1628 2015-06-18 Joseph Myers <joseph@codesourcery.com>
1631 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1632 for arguments with small absolute value.
1633 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1634 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1635 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1636 (__asinh): Force underflow exception for arguments with small
1638 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1639 (__asinhf): Force underflow exception for arguments with small
1641 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1642 (__asinhl): Force underflow exception for arguments with small
1644 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1645 (__asinhl): Force underflow exception for arguments with small
1647 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1648 (__asinhl): Force underflow exception for arguments with small
1650 * math/auto-libm-test-in: Do not mark underflow exceptions as
1651 possibly missing for bug 16350.
1652 * math/auto-libm-test-out: Regenerated.
1654 * include/bits/ipc.h: Remove file.
1655 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1657 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1658 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1659 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1660 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1661 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1662 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1663 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1664 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1665 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1667 * math/auto-libm-test-in: Remove spurious underflow allowance for
1669 * math/auto-libm-test-out: Regenerated.
1672 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1673 unconditional definition.
1674 (MCAST_BLOCK_SOURCE): Likewise.
1675 (MCAST_UNBLOCK_SOURCE): Likewise.
1676 (MCAST_LEAVE_GROUP): Likewise.
1677 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1678 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1679 (MCAST_MSFILTER): Likewise.
1680 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1682 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1683 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1684 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1685 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1686 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1688 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
1690 * NEWS: Mention addition of x86_64 vector sincosf.
1691 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1692 * math/test-float-vlen4.h: Likewise.
1693 * math/test-float-vlen8.h: Likewise.
1694 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1695 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1696 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1697 * sysdeps/x86_64/fpu/Versions: New versions added.
1698 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1699 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1700 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1701 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1702 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1703 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1704 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1705 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1706 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1707 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1708 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1709 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1710 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1711 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1712 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1713 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1714 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1715 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1716 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1717 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1718 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1719 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1720 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1721 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1723 * NEWS: Mention addition of x86_64 vector sincos.
1724 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1725 * math/math.h (__MATHDECL_VEC): New macro.
1726 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1727 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1728 declaration under condition.
1729 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1730 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1731 TEST_VEC_LOOP change.
1732 * math/test-double-vlen4.h: Likewise.
1733 * math/test-double-vlen8.h: Likewise.
1734 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1735 * math/test-float-vlen4.h: Likewise.
1736 * math/test-float-vlen8.h: Likewise.
1737 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1738 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1739 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1740 * sysdeps/x86_64/fpu/Versions: New versions added.
1741 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1742 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1743 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1744 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1745 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1746 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1747 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1748 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1749 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1750 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1751 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1752 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1753 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1754 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1755 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1756 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1757 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1758 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1759 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1760 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1761 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1762 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1763 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1764 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1766 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1767 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1768 redirections for powf.
1769 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1770 * sysdeps/x86_64/fpu/Versions: New versions added.
1771 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1772 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1773 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1774 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1775 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1776 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1777 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1778 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1779 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1780 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1781 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1782 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1783 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1784 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1785 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1786 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1787 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1788 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1789 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1790 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1791 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1792 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1793 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1794 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1795 * math/test-float-vlen16.h: Fixed 2 argument macro.
1796 * math/test-float-vlen4.h: Likewise.
1797 * math/test-float-vlen8.h: Likewise.
1798 * NEWS: Mention addition of x86_64 vector powf.
1800 2015-06-17 Joseph Myers <joseph@codesourcery.com>
1802 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1804 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1806 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1807 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1808 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1811 * resource/getpriority.c (getpriority): Rename to __getpriority
1812 and define as weak alias of __getpriority.
1813 * resource/setpriority.c (setpriority): Rename to __setpriority
1814 and define as weak alias of __setpriority.
1815 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1816 __getpriority and define as weak alias of __getpriority.
1817 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1818 __setpriority and define as weak alias of __setpriority.
1819 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1821 (setpriority): Use __setpriority as strong name.
1822 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1823 __getpriority and define as weak alias of __getpriority.
1824 * include/sys/resource.h (__getpriority): Declare. Use
1826 (__setpriority): Likewise.
1827 (getpriority): Don't use libc_hidden_proto.
1828 (setpriority): Likewise.
1829 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1830 getpriority. Call __setpriority instead of setpriority.
1831 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1835 * misc/getttyent.c (getttynam): Rename to __getttynam and define
1836 as weak alias of __getttynam. Use prototype function definition.
1837 Call __setttyent, __getttyent and __endttyent instead of
1838 setttyent, getttyent and endttyent.
1839 (getttyent): Rename to __getttyent and define as weak alias of
1840 __getttyent. Call __setttyent instead of setttyent. Call
1841 __fgets_unlocked instead of fgets_unlocked.
1842 (setttyent): Rename to __setttyent and define as weak alias of
1844 (endttyent): Rename to __endttyent and define as weak alias of
1846 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
1847 (__setttyent): Likewise.
1848 (__endttyent): Likewise.
1849 (getttyent): Don't use libc_hidden_proto.
1850 (setttyent): Likewise.
1851 (endttyent): Likewise.
1852 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1853 __endttyent instead of setttyent, getttyent and endttyent.
1854 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1858 * socket/recv.c (__recv): Use libc_hidden_def.
1859 * socket/socket.c (__socket): Likewise.
1860 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1861 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1862 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1863 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1864 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1866 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1868 * include/sys/socket.h (__socket): Do not use attribute_hidden.
1869 Use libc_hidden_proto.
1871 * socket/Versions (libc): Export __recv and __socket at version
1873 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1875 (init_mq_netlink): Call __socket instead of socket.
1876 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1880 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1881 __mq_timedreceive and define as alias of __mq_timedreceive. Use
1883 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1884 define as alias of __mq_timedsend. Use hidden_weak.
1885 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1886 __mq_timedsend as strong name.
1887 (mq_timedreceive): Use __mq_timedreceive as strong name.
1888 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
1889 (__mq_timedreceive): Likewise.
1890 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1891 __mq_timedreceive instead of mq_timedreceive.
1892 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1893 instead of mq_timedsend.
1894 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1897 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1898 hidden_def and hidden_weak instead of libc_hidden_def and
1900 (top level): Refer to hidden_def in comment.
1901 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1902 macro. Use it instead of libc_hidden_def.
1903 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1904 specify __GI_* name explicitly.
1905 (mq_timedreceive): Likewise.
1906 (mq_setattr): Likewise.
1909 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1910 __pthread_barrier_init and define as weak alias of
1911 __pthread_barrier_init.
1912 * sysdeps/sparc/nptl/pthread_barrier_init.c
1913 (pthread_barrier_init): Likewise.
1914 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1915 __pthread_barrier_wait and define as weak alias of
1916 __pthread_barrier_wait.
1917 * sysdeps/sparc/nptl/pthread_barrier_wait.c
1918 (pthread_barrier_wait): Likewise.
1919 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1920 (pthread_barrier_wait): Likewise.
1921 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1922 (pthread_barrier_wait): Likewise.
1923 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1924 (pthread_barrier_wait): Likewise.
1925 * nptl/Versions (libpthread): Export __pthread_barrier_init and
1926 __pthread_barrier_wait at version GLIBC_PRIVATE.
1927 * include/pthread.h (__pthread_barrier_init): Declare.
1928 (__pthread_barrier_wait): Likewise.
1929 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1930 Call __pthread_barrier_wait instead of pthread_barrier_wait.
1931 (helper_thread): Likewise.
1932 (init_mq_netlink): Call __pthread_barrier_init instead of
1933 pthread_barrier_init.
1936 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1937 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1938 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
1939 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1941 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1945 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1946 strong alias of _IO_fflush. Use libc_hidden_def.
1947 * libio/iofflush_u.c (fflush_unlocked): Rename to
1948 __fflush_unlocked and define as weak alias of __fflush_unlocked.
1949 Use libc_hidden_weak.
1950 * include/stdio.h (__fflush_unlocked): Declare. Use
1952 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1954 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1958 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1959 define as weak alias of __addseverity.
1960 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1962 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1963 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1964 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1967 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1968 (__tfind): Likewise.
1969 (__tdelete): Likewise.
1970 (__twalk): Likewise.
1971 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1972 __twalk to GLIBC_PRIVATE.
1973 * include/search.h (__tsearch): Use libc_hidden_proto.
1974 (__tfind): Likewise.
1975 (__tdelete): Likewise.
1976 (__twalk): Likewise.
1977 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1978 Call __tdelete instead of tdelete.
1979 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1980 tfind. Call __tsearch instead of tsearch.
1981 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1982 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1984 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1987 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1988 (dprintf): Define as a weak alias of __dprintf, not a strong
1990 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
1991 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1993 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1995 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1996 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1999 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
2001 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
2005 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
2006 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
2007 (in6addr_loopback): Rename to __in6addr_loopback and define as
2008 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
2009 * include/netinet/in.h (__in6addr_loopback): Declare. Use
2011 (__in6addr_any): Likewise.
2012 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
2014 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
2016 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2018 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
2020 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
2021 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
2022 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2023 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2024 redirections for pow.
2025 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2026 * sysdeps/x86_64/fpu/Versions: New versions added.
2027 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2028 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2029 build of SSE, AVX2 and AVX512 IFUNC versions.
2030 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
2031 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
2032 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
2033 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
2034 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
2035 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
2036 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
2037 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
2038 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
2039 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
2040 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
2041 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
2042 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
2043 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
2044 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2045 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2046 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2047 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2048 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2049 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2050 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2051 * NEWS: Mention addition of x86_64 vector pow.
2053 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2054 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2055 redirections for expf.
2056 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2057 * sysdeps/x86_64/fpu/Versions: New versions added.
2058 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2059 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2060 build of SSE, AVX2 and AVX512 IFUNC versions.
2061 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
2062 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
2063 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
2064 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
2065 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
2066 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
2067 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
2068 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
2069 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
2070 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
2071 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
2072 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
2073 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
2074 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2075 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2076 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2077 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2078 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2079 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2080 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2081 * NEWS: Mention addition of x86_64 vector expf.
2083 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
2084 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
2085 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2086 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2087 redirections for exp.
2088 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2089 * sysdeps/x86_64/fpu/Versions: New versions added.
2090 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2091 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2092 build of SSE, AVX2 and AVX512 IFUNC versions.
2093 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2094 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2095 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2096 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2097 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2098 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2099 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2100 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2101 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2102 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2103 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2104 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2105 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2106 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2107 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2108 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2109 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2110 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2111 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2112 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2113 * NEWS: Mention addition of x86_64 vector exp.
2115 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2116 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2117 redirections for logf.
2118 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2119 * sysdeps/x86_64/fpu/Versions: New versions added.
2120 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2121 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2122 build of SSE, AVX2 and AVX512 IFUNC versions.
2123 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2124 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2125 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2126 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2127 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2128 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2129 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2130 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2131 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2132 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2133 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2134 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2135 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2136 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2137 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2138 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2139 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2140 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2141 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2142 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2143 * NEWS: Mention addition of x86_64 vector logf.
2145 * bits/libm-simd-decl-stubs.h: Added stubs for log.
2146 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2147 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2148 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2149 redirections for log.
2150 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2151 * sysdeps/x86_64/fpu/Versions: New versions added.
2152 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2153 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2154 build of SSE, AVX2 and AVX512 IFUNC versions.
2155 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2156 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2157 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2158 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2159 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2160 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2161 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2162 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2163 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2164 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2165 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2166 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2167 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2169 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2170 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2171 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2172 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2173 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2174 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2175 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2176 * NEWS: Mention addition of x86_64 vector log.
2178 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
2180 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2181 cfi_adjust_cfa_offset argument.
2182 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2183 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2186 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2187 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2188 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2189 ordering using ldar.
2190 (_dl_tlsdesc_dynamic): Likewise.
2191 (_dl_tlsdesc_return_lazy): Likewise.
2192 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2193 relaxed atomics instead of volatile and synchronize with release store.
2194 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2196 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2198 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
2200 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2201 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2202 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2203 * sysdeps/x86_64/fpu/Versions: New versions added.
2204 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2205 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2206 build of SSE, AVX2 and AVX512 IFUNC versions.
2207 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2208 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2209 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2210 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2211 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2212 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2213 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2214 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2215 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2216 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2217 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2218 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2219 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2220 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2221 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2222 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2223 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2224 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2225 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2226 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2227 * NEWS: Mention addition of x86_64 vector sinf.
2229 2015-06-14 Joseph Myers <joseph@codesourcery.com>
2231 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2232 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2233 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2235 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2236 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2238 2015-06-12 Joseph Myers <joseph@codesourcery.com>
2241 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2242 strong alias of _IO_fputs. Use libc_hidden_def.
2243 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2244 and define as weak alias of __fputs_unlocked. Use
2246 * include/stdio.h (__fputs_unlocked): Declare. Use
2248 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2252 * resolv/netdb.h [__USE_POSIX]: Change condition to
2254 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2256 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2257 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2258 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2259 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2260 [XPG4 || UNIX98] (AI_ALL): Likewise.
2261 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2262 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2263 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2264 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2265 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2266 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2267 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2268 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2269 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2270 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2271 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2272 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2273 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2274 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2275 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2276 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2277 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2278 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2279 [XPG4 || UNIX98] (gai_strerror): Likewise.
2280 [XPG4 || UNIX98] (getaddrinfo): Likewise.
2281 [XPG4 || UNIX98] (getnameinfo): Likewise.
2284 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2285 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2287 (getgrent): Likewise.
2288 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2290 [XPG3 || POSIX2008] (endgrent): Likewise.
2291 [XPG3] (setgrent): Likewise.
2292 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2294 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2297 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2298 define as weak alias of __getlogin_r. Use libc_hidden_weak.
2299 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2300 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2301 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2302 * include/unistd.h (__getlogin_r): Declare. Use
2304 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2305 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2307 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2308 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2309 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2311 2015-06-12 Martin Sebor <msebor@redhat.com>
2314 * Makerules (check-install-supported): New target.
2315 (install): Add check-install-supported as a dependency.
2316 * manual/install.texi (Installing the C Library): Document
2317 that overriding prefix and exec_prefix is not supported.
2319 * INSTALL: Regenerate from the above.
2321 2015-06-12 Joseph Myers <joseph@codesourcery.com>
2324 * posix/Versions (libc): Export __libc_pread at version
2326 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2328 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2333 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2334 (cvt_symbol): Use weak_alias instead of strong_alias.
2335 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2336 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2338 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2339 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2342 * inet/herrno.c (h_errno): Rename to __h_errno.
2343 (__libc_h_errno): Define as alias of __h_errno not h_errno.
2344 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2345 to __h_errno instead of h_errno.
2346 * nptl/herrno.c (h_errno): Rename to __h_errno.
2347 (__h_errno_location): Refer to __h_errno not h_errno.
2348 * resolv/Versions (h_errno): Rename to __h_errno.
2349 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2351 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2353 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
2355 * configure.ac: More strict check for AVX512 assembler support.
2356 * configure: Regenerated.
2358 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2359 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2360 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2361 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2362 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2363 * sysdeps/x86_64/fpu/Versions: New versions added.
2364 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2365 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2366 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2367 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2368 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2369 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2370 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2371 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2372 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2373 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2374 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2375 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2376 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2377 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2378 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2379 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2381 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2382 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2383 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2384 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2385 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2386 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2387 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2388 * NEWS: Mention addition of x86_64 vector sin.
2390 2015-06-11 Florian Weimer <fweimer@redhat.com>
2392 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2395 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2398 * nptl/pt-interp.c: New file.
2399 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2401 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2402 $(common-objpfx)runtime-linker.h.
2404 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
2406 * Makeconfig (+interp): Remove unused variable.
2407 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2408 only. Depend on $(common-objpfx)runtime-linker.h instead of
2409 $(elf-objpfx)runtime-linker.h.
2410 ($(elf-objpfx)runtime-linker.h): Rename to
2411 $(common-objpfx)runtime-linker.h and move ...
2412 * Makerules [$(build-shared) = yes]: ... here.
2413 * elf/interp.c: Include <runtime-linker.h> instead of
2414 <elf/runtime-linker.h>.
2416 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2418 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2419 (__gettimeofday_syscall): Remove vsyscall fallback.
2420 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2421 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2422 Add syscall fallback function.
2423 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2424 if vDSO is not present.
2425 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2427 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2429 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2430 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2432 2015-06-09 Joseph Myers <joseph@codesourcery.com>
2435 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2437 (wcscmp): Define as weak alias of WCSCMP.
2438 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2440 (USE_HIDDEN_DEF): Define.
2441 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2442 __wcscoll. Don't use libc_hidden_weak.
2443 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2445 * sysdeps/i386/i686/multiarch/wcscmp-c.c
2446 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2448 (weak_alias): Undefine and redefine.
2449 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2450 __wcscmp and define as weak alias of __wcscmp.
2451 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2452 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
2453 (__wcscoll): Likewise.
2454 (wcscmp): Don't use libc_hidden_proto.
2455 (wcscoll): Likewise.
2456 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2458 * posix/regexec.c (check_node_accept_bytes): Likewise.
2459 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2461 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2462 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2465 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2466 __fstatvfs and define as weak alias of __fstatvfs. Use
2468 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2469 and define as weak alias of __statvfs. Use libc_hidden_weak.
2470 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2471 Define as alias of __fstatvfs, not fstatvfs.
2472 (fstatvfs64): Likewise.
2473 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2474 Define as alias of __statvfs, not statvfs.
2475 (statvfs64): Likewise.
2476 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2479 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2482 (HAVE_GETCPU_VSYSCALL): Define.
2483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2484 (HAVE_GETCPU_VSYSCALL): Likewise.
2485 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2486 * sysdeps/unix/sysv/linux/sched_getcpu.c
2487 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2488 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2489 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2491 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2492 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2493 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2496 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2497 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2498 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2499 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2501 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
2503 * sysdeps/x86_64/fpu/Makefile: New file.
2504 * sysdeps/x86_64/fpu/Versions: New file.
2505 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2506 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2507 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2508 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2509 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2510 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2511 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2512 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2513 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2514 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2515 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2516 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2517 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2518 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2519 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2520 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2521 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2522 * sysdeps/x86_64/configure.ac: Options for libmvec build.
2523 * sysdeps/x86_64/configure: Regenerated.
2524 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2525 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2526 * manual/install.texi (Configuring and compiling): Document
2528 * INSTALL: Regenerated.
2529 * NEWS: Mention addition of libmvec and x86_64 vector cos.
2531 * math/Makefile: Added rules for vector tests.
2532 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2533 declaration under condition.
2534 * math/test-double-vlen2.h: New file.
2535 * math/test-double-vlen4.h: New file.
2536 * math/test-double-vlen8.h: New file.
2537 * math/test-vec-loop.h: Added initialization macro.
2538 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2539 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2540 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2541 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2542 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2543 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2544 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2545 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2546 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2547 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2548 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2550 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2551 * sysdeps/x86_64/fpu/Versions: New versions added.
2552 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2553 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2554 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2555 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2556 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2557 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2558 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2559 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2560 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2561 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2562 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2563 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2564 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2565 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2566 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2567 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2568 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2569 * NEWS: Mention addition of x86_64 vector cosf.
2571 * math/Makefile: Added CFLAGS for new tests.
2572 * math/test-float-vlen16.h: New file.
2573 * math/test-float-vlen4.h: New file.
2574 * math/test-float-vlen8.h: New file.
2575 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2576 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2577 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2578 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2579 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2580 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2581 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2582 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2583 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2584 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2585 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2587 2015-06-09 Marko Myllynen <myllynen@redhat.com>
2589 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2590 * locale/programs/ld-ctype.c: Likewise.
2592 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
2594 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2595 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2596 bit_ZMM16_31_state): New macro.
2597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2598 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2600 2015-06-08 Joseph Myers <joseph@codesourcery.com>
2602 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2604 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
2606 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2608 2015-06-05 Joseph Myers <joseph@codesourcery.com>
2611 * libio/memstream.c (open_memstream): Rename to __open_memstream
2612 and define as weak alias of __open_memstream.
2613 * include/stdio.h (__open_memstream): Declare. Use
2615 (open_memstream): Don't use libc_hidden_proto.
2616 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2618 * posix/getopt.c (_getopt_internal_r): Likewise.
2619 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2621 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2622 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2623 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2626 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2630 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2631 [__USE_XOPEN2K8]. Remove redundant #endif.
2632 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2633 Remove redundant #if.
2634 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2636 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2637 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2640 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2641 (__iswlower): Likewise.
2642 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
2643 (__iswlower): Likewise.
2644 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2645 instead of towlower.
2646 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2647 instead of iswlower. Call __towupper instead of towupper.
2648 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2649 instead of iswalnum.
2651 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2653 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2656 2015-06-05 Florian Weimer <fweimer@redhat.com>
2660 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2661 Check for overflow properly. Check for O_APPEND. Ignore large
2662 file system block sizes. Add comments about problems.
2663 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2664 * manual/filesys.texi (Storage Allocation): New node.
2666 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2668 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2669 cancellable syscalls.
2670 (SYS_ify): Add guard to no redefine it.
2671 (INLINE_SYSCALL): Likewise.
2672 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2673 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2674 SYSCALL_CANCEL instead.
2675 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2676 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2677 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2678 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2679 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2680 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2681 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2682 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2683 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2684 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2685 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2686 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2687 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2688 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2689 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2690 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2692 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2693 (__libc_pread64): Likewise.
2694 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2695 (__libc_preadv): Likewise.
2696 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2697 (__libc_readv64): Likewise.
2698 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2699 (__libc_pwrite): Likewise.
2700 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2701 (__libc_pwrite64): Likewise.
2702 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2703 (__libc_pwritev): Likewise.
2704 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2705 (__libc_pwritev64): Likewise.
2706 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2707 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2708 (sync_file_range): Likewise.
2709 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2711 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2713 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2714 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2715 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2716 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2717 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2718 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2719 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2720 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2724 (__libc_read64): Likewise.
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2734 (__libc_pread64): Likewise.
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2738 (__libc_pwrite64): Likewise.
2739 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2740 (sync_file_range): Likewise.
2741 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2742 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2743 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2744 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2745 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2746 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2747 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2748 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2749 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2750 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2751 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2752 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2753 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2754 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2755 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2756 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2757 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2758 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2759 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2761 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2763 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2764 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2766 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2767 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2768 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2769 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2771 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2772 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2773 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2774 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2775 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2777 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
2779 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2781 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2782 Use VDSO routines for gettimeofday, clock_gettime if
2784 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2785 Declare VDSO symbols.
2786 * sysdeps/unix/sysv/linux/arm/sysdep.h:
2787 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2788 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2789 * sysdeps/unix/sysv/linux/arm/Versions: Add
2790 __vdso_clock_gettime.
2792 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2794 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2795 be an inline implementation regardless of library is built within.
2796 (open_not_cancel_2): Likewise.
2797 (__read_nocancel): Likewise.
2798 (__write_nocancel): Likewise.
2799 (openat_not_cancel): Likewise.
2800 (openat_not_cancel_3): Likewise.
2801 (openat64_not_cancel): Likewise.
2802 (openat64_not_cancel_3): Likewise.
2803 (__close_nocancel): Likewise.
2804 (pause_not_cancel): Likewise.
2805 (nanosleep_not_cancel): Likewise.
2806 (sigsuspend_not_cancel): Likewise.
2808 2015-06-04 Torvald Riegel <triegel@redhat.com>
2811 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2813 (__pthread_rwlock_rdlock_slow): Likewise.
2814 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2816 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2818 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2819 * nptl/tst-rwlock16.c: New file.
2820 * nptl/Makefile (tests): Add new test.
2822 2015-06-04 Torvald Riegel <triegel@redhat.com>
2825 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2826 missing wake-up of readers.
2827 * nptl/tst-rwlock15.c: New file.
2828 * nptl/Makefile (tests): Add new test.
2830 2015-06-03 Roland McGrath <roland@hack.frob.com>
2832 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2833 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2834 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2835 and __nacl_supply_interface_rtld.
2836 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2837 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2838 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2839 Add __nacl_supply_interface_rtld.
2840 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2842 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2844 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2846 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2847 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2849 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2851 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2852 __signbit* with standard C99 macros.
2853 * math/e_exp10l.c: Likewise.
2854 * math/e_exp2l.c: Likewise.
2855 * math/e_scalb.c: Likewise.
2856 * math/e_scalbf.c: Likewise.
2857 * math/e_scalbl.c: Likewise.
2858 * math/s_ldexp.c: Likewise.
2859 * math/s_ldexpf.c: Likewise.
2860 * math/s_ldexpl.c: Likewise.
2861 * math/w_atan2.c: Likewise.
2862 * math/w_atan2f.c: Likewise.
2863 * math/w_atan2l.c: Likewise.
2864 * math/w_cosh.c: Likewise.
2865 * math/w_coshf.c: Likewise.
2866 * math/w_coshl.c: Likewise.
2867 * math/w_exp10.c: Likewise.
2868 * math/w_exp10f.c: Likewise.
2869 * math/w_exp10l.c: Likewise.
2870 * math/w_exp2.c: Likewise.
2871 * math/w_exp2f.c: Likewise.
2872 * math/w_exp2l.c: Likewise.
2873 * math/w_fmod.c: Likewise.
2874 * math/w_fmodf.c: Likewise.
2875 * math/w_fmodl.c: Likewise.
2876 * math/w_hypot.c: Likewise.
2877 * math/w_hypotf.c: Likewise.
2878 * math/w_hypotl.c: Likewise.
2879 * math/w_jnl.c: Likewise.
2880 * math/w_lgamma.c: Likewise.
2881 * math/w_lgamma_r.c: Likewise.
2882 * math/w_lgammaf.c: Likewise.
2883 * math/w_lgammaf_r.c: Likewise.
2884 * math/w_lgammal.c: Likewise.
2885 * math/w_lgammal_r.c: Likewise.
2886 * math/w_pow.c: Likewise.
2887 * math/w_powf.c: Likewise.
2888 * math/w_powl.c: Likewise.
2889 * math/w_remainder.c: Likewise.
2890 * math/w_remainderf.c: Likewise.
2891 * math/w_remainderl.c: Likewise.
2892 * math/w_scalb.c: Likewise.
2893 * math/w_scalbf.c: Likewise.
2894 * math/w_scalbl.c: Likewise.
2895 * math/w_scalbln.c: Likewise.
2896 * math/w_scalblnf.c: Likewise.
2897 * math/w_scalblnl.c: Likewise.
2898 * math/w_sinh.c: Likewise.
2899 * math/w_sinhf.c: Likewise.
2900 * math/w_sinhl.c: Likewise.
2901 * math/w_tgamma.c: Likewise.
2902 * math/w_tgammaf.c: Likewise.
2903 * math/w_tgammal.c: Likewise.
2904 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2905 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2906 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2907 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2908 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2909 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2910 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2911 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2912 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2913 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2914 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2915 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2916 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2917 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2918 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2919 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2920 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2921 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2922 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2923 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2924 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2925 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2926 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2927 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2928 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2929 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2930 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2931 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2932 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2933 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2934 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2935 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2936 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2937 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2938 * stdio-common/printf_fp.c: Likewise.
2939 * stdio-common/printf_fphex.c: Likewise.
2940 * stdio-common/printf_size.c: Likewise.
2942 2015-06-03 Joseph Myers <joseph@codesourcery.com>
2945 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2947 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2949 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2950 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2951 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2952 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2953 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2954 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2955 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2956 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2957 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2958 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2961 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2962 weak alias of __wmemchr. Use libc_hidden_weak.
2963 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
2964 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2967 2015-06-02 Roland McGrath <roland@hack.frob.com>
2970 * elf/tst-tlsalign-extern.c: New file.
2971 * elf/tst-tlsalign-extern-static.c: New file.
2972 * elf/tst-tlsalign-vars.c: New file.
2973 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2974 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2975 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2976 ($(objpfx)tst-tlsalign-extern-static): Likewise.
2977 (test-xfail-tst-tlsalign-extern-static): New variable.
2979 2015-06-02 Joseph Myers <joseph@codesourcery.com>
2981 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2982 Use variable name _sc_err instead of err.
2983 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2985 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2986 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2987 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2988 (INLINE_SYSCALL): Likewise.
2990 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2991 * include/string.h (__strnlen): Use libc_hidden_proto.
2992 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2993 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2994 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2995 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2996 (libc_hidden_def): Undefine and redefine.
2997 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2998 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
3000 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
3002 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
3005 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
3006 weak alias of __towlower. Use libc_hidden_weak.
3007 (towupper): Rename to __towupper and define as weak alias of
3008 __towupper. Use libc_hidden_weak.
3009 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
3010 (__towupper): Likewise.
3011 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
3012 __towlower instead of towlower.
3014 2015-06-02 Roland McGrath <roland@hack.frob.com>
3016 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
3017 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
3019 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3021 * sysdeps/aarch64/libm-test-ulps: Update.
3023 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3025 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
3027 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3028 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
3029 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3030 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3031 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
3032 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
3033 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
3035 2015-06-01 Martin Sebor <msebor@redhat.com>
3038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3039 (__setcontext): Use extended four-operand version of mtsf whenever
3041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3042 (__novec_swapcontext): Likewise.
3044 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3046 * benchtests/scripts/compare_bench.py: New file.
3047 * benchtests/scripts/import_bench.py (mean): New function.
3048 (split_list): Likewise.
3049 (do_for_all_timings): Likewise.
3050 (compress_timings): Likewise.
3052 * benchtests/scripts/import_bench.py: New file.
3053 * benchtests/scripts/validate_benchout.py: Import import_bench
3054 instead of jsonschema.
3055 (validate_bench): Remove function.
3056 (main): Use import_bench.
3058 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
3060 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
3061 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
3063 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3067 2015-05-28 Roland McGrath <roland@hack.frob.com>
3069 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
3070 set THREAD_SELF->tid to a magic value and futex-wake it.
3071 Pass its address to the thread_exit system call.
3072 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
3074 * sysdeps/nacl/lowlevellock.h: New file.
3075 * sysdeps/nacl/lll_timedwait_tid.c: New file.
3077 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
3078 Add TIMEOUT to current time, don't subtract it.
3080 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
3084 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
3085 ($(objpfx)tst-audit2.out): Also depend on
3086 $(objpfx)tst-auditmod9b.so.
3087 * elf/tst-audit2.c: Include <dlfcn.h>.
3088 (calloc_called): New.
3089 (calloc): Allow to be called more than once.
3090 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
3092 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
3094 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3095 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3097 2015-05-27 Marko Myllynen <myllynen@redhat.com>
3099 * stdlib/monetary.h: Fix comment.
3101 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
3103 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3104 Avoid using variables in #defines that might cause shadowing.
3105 (INTERNAL_VSYSCALL_CALL): Likewise.
3107 2015-05-26 Roland McGrath <roland@hack.frob.com>
3109 * sysdeps/nacl/lll_timedlock_wait.c: New file.
3111 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3112 * nptl/lll_timedlock_wait.c: ... to this new file.
3113 * nptl/Makefile (libpthread-routines): Add it.
3114 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3115 * nptl/lll_timedwait_tid.c: ... to this new file.
3116 * nptl/Makefile (libpthread-routines): Add it.
3117 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3118 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3119 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3120 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3121 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3122 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3123 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3124 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3125 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3126 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3128 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3130 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3131 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3132 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3133 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3134 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3135 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3136 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3137 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3138 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3139 * sysdeps/unix/sysv/linux/tile/sysdep.h
3140 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3141 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3142 using vDSO syscall macro.
3144 2015-05-26 Andriy Rysin <arysin@gmail.com>
3147 * uk_UA: Fix sorting order for Ukrainian locale
3149 2015-05-26 Marko Myllynen <myllynen@redhat.com>
3151 * stdlib/monetary.h: Fix comment.
3153 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
3156 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3157 st_mtim and st_ctim members.
3158 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3159 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3160 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3161 (struct stat64): Likewise.
3162 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3163 (struct stat64): Likewise.
3164 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3165 (struct stat64): Likewise.
3167 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3169 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3170 Define and include sysdep-vdso.h.
3171 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3173 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3175 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3176 Define with VDSO_SYMBOL and use PTR_MANGLE.
3177 (__vdso_clock_gettime): Likewise.
3178 (__vdso_clock_getres): Likewise.
3179 (_libc_vdso_platform_setup): Likewise.
3180 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3182 (_libc_vdso_platform_setup): Likewise.
3183 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3185 (__vdso_clock_gettime): Likewise.
3186 (__vdso_clock_getres): Likewise.
3187 (__vdso_get_tbfreq): Likewise.
3188 (__vdso_getcpu): Likewise.
3189 (__vdso_time): Likewise.
3190 (__vdso_sigtramp_rt64): Likewise.
3191 (__vdso_signtramp32): Likewise.
3192 (__vdso_sigtramp_rt32): Likewise.
3193 (_libc_vdso_platform_setup): Likewise.
3194 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3196 (__vdso_clock_gettime): Likewise.
3197 (__vdso_clock_getres): Likewise.
3198 (_libc_vdso_platform_setup): Likewise.
3199 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3201 (__vdso_clock_gettime): Likewise.
3202 (_libc_vdso_platform_setup): Likewise.
3203 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3205 (__vdso_getcpu): Likewise.
3206 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3207 Use VDSO_SYMBOL macro to define.
3208 (__vdso_clock_gettime): Likewise.
3209 (__vdso_clock_getres): Likewise.
3210 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3212 (__vdso_clock_gettime): Likewise.
3213 (__vdso_clock_getres): Likewise.
3214 (__vdso_get_tbfreq): Likewise.
3215 (__vdso_getcpu): Likewise.
3216 (__vdso_time): Likewise.
3217 (__vdso_sigtramp_rt64): Likewise.
3218 (__vdso_signtramp32): Likewise.
3219 (__vdso_sigtramp_rt32): Likewise.
3220 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3222 (__vdso_clock_gettime): Likewise.
3223 (__vdso_clock_getres): Likewise.
3224 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3226 (__vdso_clock_gettime): Likewise.
3227 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3229 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
3231 (INTERNAL_VSYSCALL): Likewise.
3232 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3234 (INTERNAL_VSYSCALL): Likewise.
3235 (INTERNAL_VSYSCALL_NCS): Likewise.
3236 (INTERNAL_VSYSCALL_CALL): New macro.
3237 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3238 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3240 (INTERNAL_VSYSCALL): Likewise.
3241 (INTERNAL_VSYSCALL_NCS): Likewise.
3242 (INTERNAL_VSYSCALL_CALL): New macro.
3243 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3245 (INLINE_VSYSCALL): Remove macro.
3246 (INTERNAL_VSYSCALL): Remove macro.
3247 (INTERNAL_VSYSCALL_NCS): Remove macro.
3248 (INTERNAL_VSYSCALL_CALL): New macro.
3249 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3250 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3251 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3252 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3253 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3255 (INLINE_VSYSCALL): Remove macro.
3256 (INTERNAL_VSYSCALL): Likewise.
3257 (INTERNAL_VSYSCALL_NCS): Likewise.
3258 (INTERNAL_VSYSCALL_CALL): New macro.
3259 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3260 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3261 PTR_DEMANGLE on vDSO pointer.
3262 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3263 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3265 (INTERNAL_SYSCALL): Likewise.
3266 (INTERNAL_VSYSCALL_NCS): Remove macro.
3267 (INTERNAL_VSYSCALL_CALL): New macro.
3268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3270 (INTERNAL_VSYSCALL): Likewise.
3271 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3272 sysdep-vdso.h instead of libc-vdso.h.
3273 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3275 (INLINE_VSYSCALL): Likewise.
3276 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3277 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3279 (INLINE_VSYSCALL): Likewise.
3280 (INTERNAL_VSYSCALL): Likewise.
3281 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3282 * sysdeps/unix/sysv/linux/timespec_get.c
3283 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3284 (timespec_get): Use ANSI prototype.
3285 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3286 and definition for Linux.
3288 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
3290 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3291 * include/libc-symbols.h: libmvec_hidden_* macro series added.
3293 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
3297 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3298 for missing DT_PLTRELSZ.
3300 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
3302 Remove obsolete aliases that broke 'locale -a'
3304 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3305 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3306 breaking some applications that use 'locale -a' output.
3307 Change the encoding of this file from Latin-1 to ASCII to avoid
3308 other potential problems with people grepping this file.
3310 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3312 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3313 -fasynchronous-unwind-tables.
3314 (CFLAGS-sendto.c): Likewise.
3315 (CFLAGS-sendmsg.c): Likewise.
3316 (CFLAGS-connect.c): Likewise.
3317 (CFLAGS-recvmsg.c): Likewise.
3318 (CFLAGS-recvfrom.c): Likewise.
3319 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3320 (SOCKETCALL): New macro: non-cancellable socketcall.
3321 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3322 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3323 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3324 * sysdeps/unix/sysv/linux/accept.c: New file.
3325 * sysdeps/unix/sysv/linux/bind.c: Likewise.
3326 * sysdeps/unix/sysv/linux/connect.c: Likewise.
3327 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3328 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3329 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3330 * sysdeps/unix/sysv/linux/listen.c: Likewise.
3331 * sysdeps/unix/sysv/linux/recv.c: Likewise.
3332 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3333 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3334 * sysdeps/unix/sysv/linux/send.c: Likewise.
3335 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3336 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3337 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3338 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3339 * sysdeps/unix/sysv/linux/socket.c: Likewise.
3340 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3341 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3343 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3344 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3345 instead of __internal_xxx function.
3346 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3348 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3349 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3350 instead of __internal_xxx function.
3351 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3353 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3354 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3355 instead of __internal_xxx function.
3356 * sysdeps/unix/sysv/linux/accept.S: Remove file.
3357 * sysdeps/unix/sysv/linux/bind.S: Likewise.
3358 * sysdeps/unix/sysv/linux/connect.S: Likewise.
3359 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3360 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3361 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3362 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3363 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3364 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3365 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3366 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3367 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3368 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3369 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3370 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3371 * sysdeps/unix/sysv/linux/listen.S: Likewise.
3372 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3373 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3374 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3375 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3378 * sysdeps/unix/sysv/linux/recv.S: Likewise.
3379 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3380 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3381 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3382 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3383 * sysdeps/unix/sysv/linux/send.S: Likewise.
3384 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3385 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3386 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3387 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3388 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3389 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3390 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3391 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3392 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3393 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3394 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3395 socketcall is implemented in GLIBC.
3397 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3399 * soft-fp/fmadf4.c: Include <libc-internal.h>.
3400 (__fma): Ignore uninitialized warnings around packing.
3401 * soft-fp/fmasf4.c: Include <libc-internal.h>.
3402 (__fmaf): Ignore uninitialized warnings around packing.
3403 * soft-fp/fmatf4.c: Include <libc-internal.h>.
3404 (__fmal): Ignore uninitialized warnings around packing.
3406 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3407 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3408 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3409 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3411 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3412 switch statement into default case.
3413 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3415 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3416 a conditional in forcing "inexact".
3417 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3420 2015-05-22 Roland McGrath <roland@hack.frob.com>
3422 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3423 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3424 for each INTERNAL_SYSCALL use.
3426 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3429 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3430 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3434 * string/basename.c (basename): Rename to __basename and define as
3435 weak alias of __basename. Use libc_hidden_weak.
3436 * include/string.h (__basename): Declare. Use libc_hidden_proto.
3437 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3438 __basename instead of basename.
3439 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3441 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3443 2015-05-18 Florian Weimer <fweimer@redhat.com>
3445 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3446 (_IO_JUMPS_FILE_plus): New.
3447 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3448 _IO_CAST_FIELD_ACCESS.
3449 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3450 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3451 * libio/freopen.c (freopen): Likewise.
3452 * libio/freopen64.c (freopen64): Likewise.
3453 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3454 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3455 * libio/iofwide.c (_IO_fwide): Likewise.
3456 * libio/memstream.c (open_memstream): Likewise.
3457 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3458 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3459 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3461 2015-05-21 Joseph Myers <joseph@codesourcery.com>
3463 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3464 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3466 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3467 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3469 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3470 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3473 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3476 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3477 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3479 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3480 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3481 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3483 2015-05-21 Florian Weimer <fweimer@redhat.com>
3485 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3486 Adjust jump table label generation macros.
3488 2015-05-21 Florian Weimer <fweimer@redhat.com>
3490 * stdio-common/vfprintf.c (vfprintf): Move local variables
3491 args_malloced, specs, specs_malloced, and the code after
3492 do_positional to the printf_positional function.
3493 (printf_positional): New function.
3495 2015-05-21 Florian Weimer <fweimer@redhat.com>
3497 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3499 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3500 STEP4_TABLE, process_arg): Move macro definitions
3501 out of the vfprintf function. (Cosmetic change only.)
3503 2015-05-21 Carlos O'Donell <carlos@redhat.com>
3505 * benchtests/Makefile (stdio-common-bench): Define.
3506 (benchset): Add stdio-common-bench.
3507 * sprintf-inputs: New file.
3508 * sprintf-source.c: New file.
3510 2015-05-21 Andreas Schwab <schwab@suse.de>
3514 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3515 of struct __res_state.
3516 * resolv/res_send.c (__libc_res_nsend): Likewise.
3517 (get_nsaddr): New function.
3518 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3521 2015-05-20 Joseph Myers <joseph@codesourcery.com>
3523 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3524 -D_POSIX_C_SOURCE=199506L.
3526 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3528 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3529 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3530 Do not mention otherwise.
3531 [POSIX] (_XOPEN_VERSION): Do not expect.
3532 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3533 [POSIX] (_POSIX2_C_BIND): Likewise.
3534 [POSIX] (_POSIX2_VERSION): Likewise.
3535 [POSIX] (_XOPEN_XPG2): Likewise.
3536 [POSIX] (_XOPEN_XPG3): Likewise.
3537 [POSIX] (_XOPEN_XPG4): Likewise.
3538 [POSIX] (_XOPEN_UNIX): Likewise.
3539 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3540 [POSIX] (_POSIX_BARRIERS): Likewise.
3541 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3542 [POSIX] (_POSIX_CPUTIME): Likewise.
3543 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3544 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3545 [POSIX] (_POSIX_SHELL): Likewise.
3546 [POSIX] (_POSIX_SPAWN): Likewise.
3547 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3548 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3549 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3550 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3551 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3552 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3553 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3554 [POSIX] (_XBS5_LP64_OFF64): Likewise.
3555 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3556 [POSIX] (_POSIX_TIMEOUTS): Likewise.
3557 [POSIX] (_POSIX2_PBS): Likewise.
3558 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3559 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3560 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3561 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3562 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3563 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3564 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3565 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3566 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3567 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3568 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3569 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3570 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3571 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3572 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3573 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3574 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3575 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3576 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3577 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3578 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3579 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3580 [POSIX] (_SC_2_C_BIND): Likewise.
3581 [POSIX] (_SC_2_C_VERSION): Likewise.
3582 [POSIX] (_SC_2_PBS): Likewise.
3583 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3584 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3585 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3586 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3587 [POSIX] (_SC_2_PBS_TRACK): Likewise.
3588 [POSIX] (_SC_ATEXIT_MAX): Likewise.
3589 [POSIX] (_SC_BARRIERS): Likewise.
3590 [POSIX] (_SC_BASE): Likewise.
3591 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3592 [POSIX] (_SC_DEVICE_IO): Likewise.
3593 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3594 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3595 [POSIX] (_SC_FD_MGMT): Likewise.
3596 [POSIX] (_SC_FIFO): Likewise.
3597 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3598 [POSIX] (_SC_FILE_LOCKING): Likewise.
3599 [POSIX] (_SC_FILE_SYSTEM): Likewise.
3600 [POSIX] (_SC_IOV_MAX): Likewise.
3601 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3602 [POSIX] (_SC_NETWORKING): Likewise.
3603 [POSIX] (_SC_PAGE_SIZE): Likewise.
3604 [POSIX] (_SC_PASS_MAX): Likewise.
3605 [POSIX] (_SC_PIPE): Likewise.
3606 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3607 [POSIX] (_SC_REGEXP): Likewise.
3608 [POSIX] (_SC_SHELL): Likewise.
3609 [POSIX] (_SC_SIGNALS): Likewise.
3610 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3611 [POSIX] (_SC_SPIN_LOCKS): Likewise.
3612 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3613 [POSIX] (_SC_USER_GROUPS): Likewise.
3614 [POSIX] (_SC_USER_GROUPS_R): Likewise.
3615 [POSIX] (_SC_STREAMS): Likewise.
3616 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3617 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3618 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3619 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3620 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3621 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3622 [POSIX] (_PC_FILESIZEBITS): Likewise.
3623 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3624 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3625 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3626 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3627 [POSIX] (uid_t): Likewise.
3628 [POSIX] (gid_t): Likewise.
3629 [POSIX] (off_t): Likewise.
3630 [POSIX] (pid_t): Likewise.
3631 [POSIX] (cuserid): Allow.
3632 (_SC_2_CHAR_TERM): Require constant.
3633 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3634 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3637 2015-05-20 Roland McGrath <roland@hack.frob.com>
3639 * sysdeps/nacl/pthread-pids.h: New file.
3640 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3641 (create_thread): Use __nacl_get_tid to initialize PD->tid.
3643 * nptl/pthread-pids.h: New file.
3644 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3645 * nptl/nptl-init.c: Include <pthread-pids.h>.
3646 (__pthread_initialize_minimal_internal):
3647 Call __pthread_initialize_pids instead of set_tid_address syscall.
3649 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3650 * sysdeps/posix/usleep.c: ... here.
3652 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3654 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3655 call_pselect6 object.
3656 [$(subdir) = io]: Remove call_sync_file_range object.
3657 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3658 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3659 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3660 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3662 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
3664 * math/s_cproj.c: Add include "math_private.h".
3665 * math/s_cprojf.c: Likewise.
3666 * math/s_cprojl.c: Likewise.
3668 2015-05-19 Joseph Myers <joseph@codesourcery.com>
3671 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3672 high mantissa bit when testing whether P is a NaN.
3673 * math/libm-test.inc (remainder_test_data): Add more tests.
3674 (remquo_test_data): Likewise.
3677 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3678 below -32, return the argument, with underflow if subnormal.
3679 * math/auto-libm-test-in: Add more tests of atanh.
3680 * math/auto-libm-test-out: Regenerated.
3682 2015-05-19 Roland McGrath <roland@hack.frob.com>
3685 * nptl/tst-sem15.c: New file.
3686 * nptl/Makefile (tests): Add it.
3687 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3688 s/<</>>/ to fix typo in EOVERFLOW check.
3689 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3691 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3693 * manual/strings.texi (envz_remove): Fix typo in safety
3696 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
3697 Steve Ellcey <sellcey@imgtec.com>
3699 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3700 in order to avoid strict alias warnings.
3701 (iruserok_af): Ditto for ra.
3703 2015-05-19 James Lemke <jwlemke@codesourcery.com>
3707 (magicbyte): Convert to a function and avoid returning 0x01.
3708 (mem2mem_check): Avoid using a length byte equal to the magic byte.
3709 (mem2chunk_check): Fix unsigned comparisons to zero.
3710 Hoist defs of sz and magic.
3712 2015-05-19 Richard Henderson <rth@redhat.com>
3714 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3716 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3718 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3721 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3722 * malloc/arena.c (arena_lock): Check if arena is corrupt.
3723 (reused_arena): Find a non-corrupt arena.
3724 (heap_trim): Pass arena to unlink.
3725 * malloc/hooks.c (malloc_check_get_size): Pass arena to
3727 (top_check): Likewise.
3728 (free_check): Likewise.
3729 (realloc_check): Likewise.
3730 * malloc/malloc.c (malloc_printerr): Add arena argument.
3732 (munmap_chunk): Adjust.
3733 (ARENA_CORRUPTION_BIT): New macro.
3734 (arena_is_corrupt): Likewise.
3735 (set_arena_corrupt): Likewise.
3736 (sysmalloc): Use mmap if there are no usable arenas.
3737 (_int_malloc): Likewise.
3738 (__libc_malloc): Don't fail if arena_get returns NULL.
3739 (_mid_memalign): Likewise.
3740 (__libc_calloc): Likewise.
3741 (__libc_realloc): Adjust for additional argument to
3743 (_int_free): Likewise.
3744 (malloc_consolidate): Likewise.
3745 (_int_realloc): Likewise.
3746 (_int_memalign): Don't touch corrupt arenas.
3747 * malloc/tst-malloc-backtrace.c: New test case.
3749 * Makefile (summarize-tests): Fix return value on success.
3751 * manual/string.texi (Envz Functions): Add envz_remove.
3753 2015-05-18 Roland McGrath <roland@hack.frob.com>
3755 * sysdeps/posix/opendir.c: Include <stdbool.h>.
3756 (invalid_name): New function, broken out of ...
3757 (__opendirat): ... here. Call it.
3758 (need_isdir_precheck): New function, broken out of ...
3759 (__opendirat): ... here. Call it.
3760 Use __fxstatat64, not __xstatat64.
3761 (opendir_oflags): New function, broken out of ...
3762 (__opendirat): ... here. Call it.
3763 (opendir_tail): New function, broken out of ...
3764 (__opendirat): ... here. Call it.
3765 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3766 opendir_tail, rather than punting to __opendirat.
3767 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3769 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3771 * .gitignore: Ignore generated *.pyc.
3773 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
3775 * include/stdio.h: Define __need_wint_t.
3776 * test-skeleton.c: Avoid `for' loop initial declaration.
3777 * nptl/tst-initializers1.c: Use test-skeleton.c.
3779 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3782 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3784 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3787 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3788 (__ieee754_atanh): Force underflow exception for results with
3789 small absolute value.
3790 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3791 (__ieee754_atanhf): Force underflow exception for results with
3792 small absolute value.
3793 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3794 (__ieee754_atanh): Force underflow exception for results with
3795 small absolute value.
3796 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3797 (__ieee754_atanhf): Force underflow exception for results with
3798 small absolute value.
3799 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3800 (__ieee754_atanhl): Force underflow exception for results with
3801 small absolute value.
3802 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3803 (__ieee754_atanhl): Force underflow exception for results with
3804 small absolute value.
3805 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3806 (__ieee754_atanhl): Force underflow exception for results with
3807 small absolute value.
3808 * math/auto-libm-test-in: Do not allow missing underflow
3809 exceptions from atanh.
3810 * math/auto-libm-test-out: Regenerated.
3813 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3814 2**-28 as threshold for returning x or +/- 1/x.
3815 * math/auto-libm-test-in: Add more tests of tan.
3816 * math/auto-libm-test-out: Regenerated.
3819 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3820 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3821 * math/auto-libm-test-in: Add another test of lgamma.
3822 * math/auto-libm-test-out: Regenerated.
3824 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
3826 * stdio-common/printf_fp.c (___printf_fp): Use abs.
3827 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
3828 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3829 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3830 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
3831 (ADD2A): Use fabs. (SUB2A): Use fabs.
3832 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3833 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3834 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3835 (log1): Use fabs. (my_log2): Use fabs.
3836 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3837 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3838 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3839 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3840 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3841 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
3842 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
3843 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
3844 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
3845 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3846 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3848 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3851 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3852 as threshold for returning 1 - x.
3853 * math/auto-libm-test-in: Add more tests of erfc.
3854 * math/auto-libm-test-out: Regenerated.
3856 2015-05-14 Joseph Myers <joseph@codesourcery.com>
3859 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3860 threshold for large arguments.
3861 * math/auto-libm-test-in: Add another test of atan.
3862 * math/auto-libm-test-out: Regenerated.
3865 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3866 (__log1p): Force underflow exception for results with small
3868 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3869 (__log1pf): Force underflow exception for results with small
3871 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3872 (__log1p): Force underflow exception for results with small
3874 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3875 (__log1pf): Force underflow exception for results with small
3877 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3878 (__log1pl): Force underflow exception for results with small
3880 * math/auto-libm-test-in: Do not allow missing underflow
3881 exceptions from log1p.
3882 * math/auto-libm-test-out: Regenerated.
3884 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
3885 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3888 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3890 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
3892 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3893 (libmvec): New variable.
3894 * configure.ac: Added option for mathvec build.
3895 * configure: Regenerated.
3896 * mathvec/Depend: New file.
3897 * mathvec/Makefile: New file.
3898 * shlib-versions: Added libmvec.
3899 * math/Makefile: Added rule for libm.so installation.
3901 * bits/math-vector.h: New file.
3902 * bits/libm-simd-decl-stubs.h: New header.
3903 * math/Makefile (headers): Added new header
3904 libm-simd-decl-stubs.h.
3905 * math/math.h (__MATHCALL_VEC): New macro.
3907 * math/gen-libm-have-vector-test.sh: Script generates series of macros
3908 for conditions in testing functions.
3909 * math/Makefile: Added call of libm-have-vector-test.sh.
3910 * math/libm-test.inc (HAVE_VECTOR): New macros.
3912 * math/libm-test.inc: START refactored.
3913 * math/test-double.c (TEST_MATHVEC): Add define.
3914 * math/test-float.c: Likewise.
3915 * math/test-idouble.c: Likewise.
3916 * math/test-ifloat.c: Likewise.
3917 * math/test-ildoubl.c: Likewise.
3918 * math/test-ldouble.c: Likewise.
3919 * sysdeps/generic/math-tests-arch.h
3920 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3923 * math/test-double.c (FUNC_TEST): New macro.
3924 * math/test-float.c: Likewise.
3925 * math/test-idouble.c: Likewise.
3926 * math/test-ifloat.c: Likewise.
3927 * math/test-ildoubl.c: Likewise.
3928 * math/test-ldouble.c: Likewise.
3929 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3931 2015-05-13 Roland McGrath <roland@hack.frob.com>
3933 * sysdeps/nacl/fdopendir.c: New file.
3935 * dirent/scandir-tail.c: New file.
3936 * dirent/scandir64-tail.c: New file.
3937 * dirent/Makefile (routines): Add them.
3938 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3939 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3940 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3941 [!SCANDIR] (SCANDIR_TAIL): New macro.
3942 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3943 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3944 (SCANDIRAT): Macro removed.
3945 (SCANDIR_TAIL): New macro.
3946 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3947 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3948 (SCANDIRAT): Just call __opendirat and __scandir_tail.
3949 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3950 (READDIR): Macro removed.
3951 (SCANDIR_TAIL): New macro.
3952 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3953 (SCANDIR_TAIL): New macro.
3955 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3956 * dirent/scandir-cancel.c: ... to this new file.
3957 * dirent/Makefile (routines): Add it.
3958 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3959 * sysdeps/unix/sysv/linux/i386/scandir64.c
3960 (SKIP_SCANDIR_CANCEL): Macro removed.
3961 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3963 * dirent/tst-scandir.c: New file.
3964 * dirent/tst-scandir64.c: New file.
3965 * dirent/Makefile (tests): Add them.
3967 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
3970 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3972 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3974 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3977 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
3979 * benchtests/bench-strcoll.c: New benchmark.
3980 * benchtests/Makefile: Generate locales and run benchmark.
3981 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3982 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3983 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3984 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3985 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3986 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3987 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3988 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3989 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3990 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3991 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3992 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3993 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3994 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3995 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3996 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3997 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3998 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3999 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
4000 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
4001 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
4002 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
4003 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
4004 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
4006 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
4008 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
4009 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4011 2015-05-12 Roland McGrath <roland@hack.frob.com>
4013 * posix/uname-values.h: New file.
4014 * posix/uname.c: Include that instead of <config-name.h>.
4015 * sysdeps/nacl/uname-values.h: New file.
4016 * sysdeps/arm/nacl/uname-values.h: New file.
4018 2015-05-12 Joseph Myers <joseph@codesourcery.com>
4020 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
4021 splitting into fields.
4023 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
4025 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
4026 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
4027 * locale/localeinfo.h: Add enum collation_encoding_type.
4028 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
4029 * programs/ld-collate.c (collate_output): Add encoding type info.
4030 * string/strcoll_l.c (STRDIFF): New function.
4031 * (STRCOLL): Use STRDIFF to skip over equal prefix.
4032 * wcsmbs/wcscoll_l.c: Define STRDIFF.
4034 2015-05-11 Joseph Myers <joseph@codesourcery.com>
4037 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
4038 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
4039 <fpu_control.h> instead of <math/fpu_control.c>.
4040 * sysdeps/mips/mips32/fpu/Makefile: New file.
4042 2015-05-11 Andreas Schwab <schwab@suse.de>
4045 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
4047 (_nss_compat_endgrent): Call nss_endgrent.
4048 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
4050 (_nss_compat_endpwent): Call nss_endpwent.
4051 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
4052 needent, call nss_setspent only if non-zero.
4053 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
4054 (internal_endspent): Don't call nss_endspent.
4055 (_nss_compat_endspent): Call nss_endspent.
4056 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
4057 Remove. All uses removed.
4058 (internal_setent): Remove parameter stayopen, add parameter
4059 stream. Use it instead of global variable.
4060 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
4061 (internal_endent, internal_getent): Add parameter stream. Use it
4062 instead of global variable.
4063 (CONCAT(_nss_files_end,ENTNAME))
4064 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
4065 (_nss_files_get##name##_r): Pass local stream. Remove locking.
4066 * nss/nss_files/files-alias.c (position, last_use): Remove. All
4068 (internal_setent, internal_endent): Add parameter stream. Use it
4069 instead of global variable.
4070 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
4072 (get_next_alias): Add parameter stream.
4073 (_nss_files_getaliasent_r): Pass global stream.
4074 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
4075 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
4076 (_nss_files_gethostbyname4_r): Pass local stream to
4077 internal_setent, internal_getent and internal_endent. Remove
4080 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4082 * tst-strfmon1.c (tests): Update expected currency symbol.
4084 2015-05-08 Roland McGrath <roland@hack.frob.com>
4086 * sysdeps/nacl/gethostname.c: New file.
4088 2015-05-08 Joseph Myers <joseph@codesourcery.com>
4090 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4092 * math/auto-libm-test-out: Regenerated.
4093 * sysdeps/i386/fpu/libm-test-ulps: Update.
4094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4096 2015-05-08 Carlos O'Donell <carlos@redhat.com>
4099 * stdlib/tst-setcontext3.c: New file.
4100 * stdlib/tst-setcontext3.sh: New file.
4101 * stdlib/Makefile (tests): Add tst-setcontext3.
4102 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4103 to verify test program created output file.
4104 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4105 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4106 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4107 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4109 2015-05-06 Roland McGrath <roland@hack.frob.com>
4112 * elf/tst-tlsalign.c: New file.
4113 * elf/tst-tlsalign-static.c: New file.
4114 * elf/tst-tlsalign-lib.c: New file.
4115 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4116 (tests-static): Add tst-tlsalign-static.
4117 (modules-names): Add tst-tlsalign-lib.
4118 (test-xfail-tst-tlsalign): New variable.
4119 (test-xfail-tst-tlsalign-static): New variable.
4121 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4122 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4124 2015-05-06 Joseph Myers <joseph@codesourcery.com>
4126 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4127 csqrt, erfc, sin and sincos.
4128 * math/auto-libm-test-out: Regenerated.
4129 * sysdeps/i386/fpu/libm-test-ulps: Update.
4130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4132 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4134 * sysdeps/aarch64/libm-test-ulps: Update.
4136 2015-05-05 Joseph Myers <joseph@codesourcery.com>
4138 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4139 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4140 * math/auto-libm-test-out: Regenerated.
4141 * sysdeps/i386/fpu/libm-test-ulps: Update.
4142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4144 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
4147 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4148 (wcsncpy): Likewise.
4150 2015-05-05 Florian Weimer <fweimer@redhat.com>
4152 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4153 Assume __ASSUME_FALLOCATE is always true.
4154 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4155 (__posix_fallocate64_l64): Likweise.
4156 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4157 (posix_fallocate): Likewise.
4158 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4159 (__posix_fallocate64_l64): Likewise.
4160 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4161 [!__ASSUME_FALLOCATE]: Add comment.
4163 2015-05-05 Florian Weimer <fweimer@redhat.com>
4165 * sysdeps/unix/sysv/linux/i386/Makefile
4166 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4167 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4168 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4169 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4170 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4171 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4172 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4174 2015-05-02 Joseph Myers <joseph@codesourcery.com>
4176 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4177 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4179 * math/auto-libm-test-out: Regenerated.
4180 * sysdeps/i386/fpu/libm-test-ulps: Update.
4181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4183 2015-05-01 Joseph Myers <joseph@codesourcery.com>
4185 * math/auto-libm-test-in: Add more tests of tgamma.
4186 * math/auto-libm-test-out: Regenerated.
4187 * sysdeps/i386/fpu/libm-test-ulps: Update.
4188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4190 * math/auto-libm-test-in: Add more tests of tanh.
4191 * math/auto-libm-test-out: Regenerated.
4192 * sysdeps/i386/fpu/libm-test-ulps: Update.
4193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4195 * math/auto-libm-test-in: Add more tests of tan.
4196 * math/auto-libm-test-out: Regenerated.
4197 * sysdeps/i386/fpu/libm-test-ulps: Update.
4198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4200 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4201 * math/auto-libm-test-out: Regenerated.
4202 * sysdeps/i386/fpu/libm-test-ulps: Update.
4203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4205 * math/auto-libm-test-in: Add another test of pow.
4206 * math/auto-libm-test-out: Regenerated.
4207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4209 * math/auto-libm-test-in: Add more tests of lgamma.
4210 * math/auto-libm-test-out: Regenerated.
4211 * sysdeps/i386/fpu/libm-test-ulps: Update.
4212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4214 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4216 * math/auto-libm-test-out: Regenerated.
4217 * sysdeps/i386/fpu/libm-test-ulps: Update.
4218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4220 2015-05-01 Mark Wielaard <mjw@redhat.com>
4222 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4223 Elf64_Chdr structs and ELFCOMPRESS constants.
4225 2015-05-01 Joseph Myers <joseph@codesourcery.com>
4227 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4229 * math/auto-libm-test-out: Regenerated.
4230 * sysdeps/i386/fpu/libm-test-ulps: Update.
4231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4233 * math/auto-libm-test-in: Add more tests of erf and erfc.
4234 * math/auto-libm-test-out: Regenerated.
4235 * sysdeps/i386/fpu/libm-test-ulps: Update.
4236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4238 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
4240 * config.h.in (HAVE_AARCH64_BE): Add.
4242 2015-04-30 Joseph Myers <joseph@codesourcery.com>
4244 * math/auto-libm-test-in: Add more tests of csqrt.
4245 * math/auto-libm-test-out: Regenerated.
4246 * sysdeps/i386/fpu/libm-test-ulps: Update.
4247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4249 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4250 * math/auto-libm-test-out: Regenerated.
4251 * sysdeps/i386/fpu/libm-test-ulps: Update.
4252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4254 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4256 2015-04-29 Roland McGrath <roland@hack.frob.com>
4258 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4259 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4261 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4262 (euidaccess, eaccess): Define as weak aliases.
4264 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4265 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
4266 but __suseconds_t is often 'long int' so some sources assume that
4267 type is being used (e.g. they use %ld to print tv_usec).
4269 2015-04-29 Florian Weimer <fweimer@redhat.com>
4272 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4274 * nss/tst-nss-getpwent.c: New file.
4275 * nss/Makefile (tests): Add new test.
4277 2015-04-28 Joseph Myers <joseph@codesourcery.com>
4280 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4281 exponents less than 48 as cases where high part of mantissa needs
4282 examining to determine whether argument is integral.
4283 * math/libm-test.inc (round_test_data): Add more tests.
4285 2015-04-28 Mark Wielaard <mjw@redhat.com>
4287 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4289 2015-04-27 David S. Miller <davem@davemloft.net>
4291 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4293 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4295 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
4298 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4300 2015-04-27 Florian Weimer <fweimer@redhat.com>
4303 * time/tzset.c (parse_tzname): Return error on memory allocation
4305 * test-skeleton.c (struct temp_name_list): Change type of name
4306 member to non-const.
4307 (add_temp_file): Create a copy of the file name.
4308 (delete_temp_files): Deallocate memory.
4309 (create_temp_file): Add comment.
4311 2015-04-24 Florian Weimer <fweimer@redhat.com>
4313 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4314 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4316 2015-04-24 Roland McGrath <roland@hack.frob.com>
4318 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4319 * sysdeps/arm/configure: Regenerated.
4321 2015-04-24 Florian Weimer <fweimer@redhat.com>
4324 * time/tzfile.c (__tzfile_read): Check for large values of
4325 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
4326 * time/tzset.c (__tzstring_len): New function, based on the old
4327 __tzstring function.
4328 (__tzstring): Call __tzstring_len.
4329 (parse_tzname): New helper function extracted from
4330 __tzset_parse_tz. Call __tzstring_len, without making a copy of
4332 (parse_offset): New helper function extracted from
4333 __tzset_parse_tz. Replace switch with fallthrough with
4334 initialization before sscanf.
4335 (parse_rule): Likewise.
4336 (__tzset_parse_tz): Rewrite using the new helper functions. Use
4337 new-style function definition.
4338 * timezone/Makefile (tests): Add tst-tzset.
4339 (tst-tzset.out): Dependencies on time zone files.
4340 (tst-tzset-ENV): Set TZDIR.
4341 (testdata/XT%): Copy crafted time zone files.
4342 * timezone/README: Mention crafted time zone files.
4343 * timezone/testdata/XT1, timezone/testdata/XT2,
4344 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4346 * timezone/tst-tzset.c: New test.
4348 2015-04-24 Florian Weimer <fweimer@redhat.com>
4350 * Makeconfig (+gccwarn): Remove -Winline.
4352 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4354 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4356 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4358 * NEWS: Mention sysconf() cache information support for s390.
4359 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4361 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
4363 * math/k_casinh.c (__kernel_casinh): Use __copysign.
4364 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4365 (__nearbyint): Likewise.
4366 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4367 (copysignl): Likewise.
4369 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
4372 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4373 based on padding. (CVE-2015-1781)
4375 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4377 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4379 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4380 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4381 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4382 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4383 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4384 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4385 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4386 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4387 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4388 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4389 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4390 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4391 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4392 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4393 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4394 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4395 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4396 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4397 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4398 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4399 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4400 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4401 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4403 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
4405 * stdlib/setenv.c (__add_to_environ):
4406 Dump core quickly if setenv (..., NULL, ...) is called.
4407 This time, do it the right way, and pacify GCC with a pragma.
4409 2015-04-17 Roland McGrath <roland@hack.frob.com>
4411 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4412 IMAP->l_prev cannot be null, and #if out the code for the contrary
4413 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4414 believe that NS (&_dl_ns[NSID]) could point outside the array.
4416 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4417 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4418 before using NSID as an index.
4420 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
4423 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4424 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4425 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4427 2015-04-17 Roland McGrath <roland@hack.frob.com>
4429 Add preliminary port to Google Native Client on ARM.
4430 * abi-tags (.*-.*-nacl.*): New entry.
4431 * sysdeps/arm/nacl: New directory.
4432 * sysdeps/nacl: New directory.
4434 2015-04-16 David S. Miller <davem@davemloft.net>
4436 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4437 lowlevellock-futex.h
4439 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
4441 * sysdeps/tile/configure.ac: New file.
4442 * sysdeps/tile/configure: Regenerated.
4444 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4446 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
4447 conditionals for weak_alias and libc_hidden_weak.
4448 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4449 libc_hidden_weak and weak_alias.
4450 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4451 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4452 and weak_alias for static one.
4454 2015-04-15 David S. Miller <davem@davemloft.net>
4456 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4458 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4461 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4462 Use signed comparision instead of substraction to avoid
4464 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4465 Take the sign of ret.
4466 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4467 Do not expect precise return values. Only the sign matters.
4468 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4469 * wcsmbs/test-wcsncmp.c: New File.
4470 * string/test-strncmp.c: Add wcsncmp support.
4472 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4475 * math/w_log1p.c: New file.
4476 * math/w_log1pf.c: Likewise.
4477 * math/w_log1pl.c: Likewise.
4478 * math/Makefile (libm-calls): Add w_log1p.
4479 * math/s_log1pl.c (log1pl): Remove weak_alias.
4480 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4481 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4482 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4483 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4484 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4485 [NO_LONG_DOUBLE] (log1pl): Likewise.
4486 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4487 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4488 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4489 (log1p): Remove long_double_symbol.
4490 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4491 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4492 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4493 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4494 remove weak_alias for corresponding log1p function.
4495 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4496 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4497 * sysdeps/ia64/fpu/w_log1p.c: New file.
4498 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4499 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4500 * math/libm-test.inc (log1p_test_data): Add errno expectations.
4502 2015-04-10 Joseph Myers <joseph@codesourcery.com>
4505 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4506 decimal exponent by 1.
4507 * stdlib/tst-strtod-round-data: Add more tests.
4508 * stdlib/tst-strtod-round.c (tests): Regenerated.
4510 2015-04-09 Joseph Myers <joseph@codesourcery.com>
4512 * math/auto-libm-test-in: Add more tests of clog and clog10.
4513 * math/auto-libm-test-out: Regenerated.
4514 * sysdeps/i386/fpu/libm-test-ulps: Update.
4515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4517 2015-04-09 Roland McGrath <roland@hack.frob.com>
4519 * Makeconfig (module-cppflags): Exclude all .v.i files.
4520 (skip-module-cppflags): Variable removed.
4522 * configure.ac (libc_config_ok): Initialize before reading
4523 preconfigure scripts, not after.
4524 * configure: Regenerated.
4526 * test-skeleton.c (TIMEOUT): Move #define to top level.
4527 (main): Grok environment variable TEST_DIRECT. If set, print
4528 test expectation details into that file and then behave as if
4531 2015-04-09 Florian Weimer <fweimer@redhat.com>
4533 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4536 2015-04-08 David S. Miller <davem@davemloft.net>
4538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4540 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4542 * math/auto-libm-test-in: Add more tests of atanh.
4543 * math/auto-libm-test-out: Regenerated.
4544 * sysdeps/i386/fpu/libm-test-ulps: Update.
4545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4547 * math/auto-libm-test-in: Add more tests of atan.
4548 * math/auto-libm-test-out: Regenerated.
4549 * sysdeps/i386/fpu/libm-test-ulps: Update.
4550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4552 2015-04-08 Florian Weimer <fweimer@redhat.com>
4554 * elf/pldd.c (main): Rewrite to use struct
4555 scratch_buffer instead of extend_alloca.
4556 * elf/pldd-xx.c (find_maps): Likewise.
4557 * grp/initgroups.c: Include <scratch_buffer.h> instead of
4559 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4560 scratch_buffer instead of extend_alloca.
4561 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4562 grp/compat-initgroups.c.
4563 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4564 Rewrite to use struct scratch_buffer instead of extend_alloca.
4565 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4566 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4568 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4570 * math/auto-libm-test-in: Add more tests of cbrt.
4571 * math/auto-libm-test-out: Regenerated.
4572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4574 * math/auto-libm-test-in: Add more tests of cabs.
4575 * math/auto-libm-test-out: Regenerated.
4576 * sysdeps/i386/fpu/libm-test-ulps: Update.
4577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4581 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4582 (__ieee754_atan2): Set FE_TONEAREST mode for internal
4584 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4586 * math/auto-libm-test-out: Regenerated.
4587 * sysdeps/i386/fpu/libm-test-ulps: Update.
4588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4591 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4592 (atan): Set FE_TONEAREST mode for internal computations.
4593 * math/auto-libm-test-in: Add more tests of atan.
4594 * math/auto-libm-test-out: Regenerated.
4596 2015-04-07 James Cowgill <james410@cowgill.org.uk>
4599 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4601 2015-04-07 Florian Weimer <fweimer@redhat.com>
4603 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4605 2015-04-07 Florian Weimer <fweimer@redhat.com>
4607 * include/scratch_buffer.h: New file.
4608 * malloc/scratch_buffer_grow.c: Likewise.
4609 * malloc/scratch_buffer_grow_preserve.c: Likewise.
4610 * malloc/scratch_buffer_set_array_size.c: Likewise.
4611 * malloc/tst-scratch_buffer.c: Likewise.
4612 * malloc/Makefile (routines): Add scratch_buffer_grow.
4613 (tests): Add test case.
4614 * malloc/Versions (GLIBC_PRIVATE): Export
4615 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4616 __libc_scratch_buffer_set_array_size.
4618 2015-04-06 Richard Henderson <rth@redhat.com>
4620 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4621 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4623 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4624 unsigned int before printing.
4626 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4629 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4630 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4632 2015-04-02 Florian Weimer <fweimer@redhat.com>
4634 * include/libc-internal.h (libc_max_align_t): Define.
4636 2015-04-02 Andreas Schwab <schwab@suse.de>
4639 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4641 2015-04-02 Mel Gorman <mgorman@suse.de>
4644 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4645 as well as the main arena.
4647 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4650 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4651 sharing L2 cache to 2 for Silvermont/Knights Landing.
4653 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4656 * config.make.in (have-protected-data): New.
4657 * configure.ac: Check linker support for protected data symbol.
4658 * configure: Regenerated.
4659 * elf/Makefile (modules-names): Add tst-protected1moda and
4660 tst-protected1modb if $(have-protected-data) is yes.
4661 (tests): Add tst-protected1a and tst-protected1b if
4662 $(have-protected-data) is yes.
4663 ($(objpfx)tst-protected1a): New.
4664 ($(objpfx)tst-protected1b): Likewise.
4665 (tst-protected1modb.so-no-z-defs): Likewise.
4666 * elf/tst-protected1a.c: New file.
4667 * elf/tst-protected1b.c: Likewise.
4668 * elf/tst-protected1mod.h: Likewise.
4669 * elf/tst-protected1moda.c: Likewise.
4670 * elf/tst-protected1modb.c: Likewise.
4672 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4675 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4676 indicates it is called from do_lookup_x on relocation against
4677 protected data, skip the data definion in the executable from
4679 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4680 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4681 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4682 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4683 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4685 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4686 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4687 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4688 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4689 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4690 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4692 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
4694 * sysdeps/nptl/pthread.h: Remove duplicate definition of
4695 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4697 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
4699 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4701 * sysdeps/x86_64/nptl/tls.h: Ditto.
4703 2015-03-27 Roland McGrath <roland@hack.frob.com>
4705 * dlfcn/tststatic.c (main): Converted to ...
4706 (do_test): ... this.
4707 (TEST_FUNCTION): New macro.
4708 Include test-skeleton.c.
4710 2015-03-26 Alan Modra <amodra@gmail.com>
4712 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4713 Don't segfault if ifunc resolver returns a NULL. Do set plt to
4714 zero for undefined weak.
4715 (elf_machine_plt_conflict): Similarly.
4717 2015-03-25 Joseph Myers <joseph@codesourcery.com>
4719 * math/auto-libm-test-in: Add more tests of acosh, asinh and
4721 * math/auto-libm-test-out: Regenerated.
4722 * sysdeps/i386/fpu/libm-test-ulps: Update.
4723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4725 * math/auto-libm-test-in: Add another test of asin.
4726 * math/auto-libm-test-out: Regenerated.
4727 * sysdeps/i386/fpu/libm-test-ulps: Update.
4728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4730 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4732 (LLL_EBX_REG): Likewise.
4733 (LLL_ENTER_KERNEL): Likewise.
4735 * math/auto-libm-test-in: Add more tests of asin.
4736 * math/auto-libm-test-out: Regenerated.
4737 * sysdeps/i386/fpu/libm-test-ulps: Update.
4738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4741 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4742 libc_do_syscall_args): New structure.
4743 (INTERNAL_SYSCALL_MAIN_0): New macro.
4744 (INTERNAL_SYSCALL_MAIN_1): Likewise.
4745 (INTERNAL_SYSCALL_MAIN_2): Likewise.
4746 (INTERNAL_SYSCALL_MAIN_3): Likewise.
4747 (INTERNAL_SYSCALL_MAIN_4): Likewise.
4748 (INTERNAL_SYSCALL_MAIN_5): Likewise.
4749 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
4750 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4751 Replace conditional definitions by conditional definitions of ....
4752 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
4753 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4754 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4755 (libpthread-sysdep_routines): Add libc-do-syscall.
4756 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4757 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4758 to __NR_futex not 240.
4760 2015-03-25 Alan Modra <amodra@gmail.com>
4762 * NEWS: Advertise TLS optimization.
4763 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4764 (DT_PPC_NUM): Increment.
4765 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4766 (CHECK_STATIC_TLS): Use here.
4767 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4769 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4770 * sysdeps/powerpc/dl-tls.c: New file.
4771 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4772 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4773 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4774 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4779 2015-03-25 Alan Modra <amodra@gmail.com>
4781 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4782 for overlapping .opd entries" to "support...".
4783 * sysdeps/powerpc/powerpc64/configure: Regenerate
4785 2015-03-25 Joseph Myers <joseph@codesourcery.com>
4787 * math/auto-libm-test-in: Add more tests of acos.
4788 * math/auto-libm-test-out: Regenerated.
4789 * sysdeps/i386/fpu/libm-test-ulps: Update.
4790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4792 * math/auto-libm-test-in: Add more tests of expm1.
4793 * math/auto-libm-test-out: Regenerated.
4794 * sysdeps/i386/fpu/libm-test-ulps: Update.
4795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4797 2015-03-24 Joseph Myers <joseph@codesourcery.com>
4799 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4800 * math/auto-libm-test-out: Regenerated.
4801 * sysdeps/i386/fpu/libm-test-ulps: Update.
4802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4804 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4807 * math/auto-libm-test-in: Add more tests of log2.
4808 * math/auto-libm-test-out: Regenerated.
4809 * sysdeps/i386/fpu/libm-test-ulps: Update.
4810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4812 2015-03-23 Roland McGrath <roland@hack.frob.com>
4814 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4815 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
4816 _IO_IS_APPENDING bit in READ_WRITE instead.
4818 2015-03-23 Florian Weimer <fweimer@redhat.com>
4820 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4821 (__determine_cpumask_size): Replace extend_alloca with a
4822 variable-length array. Do not treat res == 0 as an error.
4824 2015-03-23 Florian Weimer <fweimer@redhat.com>
4827 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4828 and integer overflow.
4829 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4830 (main): Add integer overflow tests.
4831 * manual/pattern.texi (Calling Wordexp): Document additional use
4834 2015-03-23 Alan Modra <amodra@gmail.com>
4836 * config.h.in: Remove HAVE_ASM_PPC_REL16.
4837 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4838 and false branch of conditional.
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4842 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
4844 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4846 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4847 unused declaration of _hurd_intr_rpc_msg_in_trap.
4848 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4849 defined instead of whether it is non-zero.
4850 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4851 input constraint instead of both input and output constraint. Use ecx
4852 clobber instead of %ecx.
4853 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4854 mutex_unlock): Use a statement expression instead of an expression list.
4855 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4856 type to vm_size_t instead of vm_address_t.
4857 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4858 defined instead of whether it is non-zero.
4859 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4860 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4861 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4862 comparisons with mapaddr.
4863 * nscd/nscd-client.h: Include <time.h>.
4864 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4865 9th parameter to __vm_region instead of int.
4866 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4867 * scripts/check-local-headers.sh (exclude): Add device/,
4868 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4871 2015-03-19 Roland McGrath <roland@hack.frob.com>
4873 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4874 to account for alignment padding.
4875 * sysdeps/arm/memmove.S: Likewise.
4877 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
4879 * sysdeps/unix/sysv/linux/generic/README: New file.
4881 2015-03-18 Joseph Myers <joseph@codesourcery.com>
4884 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4885 (futex_abstimed_wait)
4886 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4887 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4888 of lll_futex_timed_wait.
4890 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
4893 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4895 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
4902 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4903 entries with Static TLS too. Skip entries past the end of the
4904 allocated DTV, from Alan Modra.
4905 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
4906 Static TLS DTV entry set up from...
4907 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4908 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4909 * nptl/allocatestack.c (init_one_static_tls): ... and here...
4910 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4912 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
4913 that the slot we find is associated with the given map before
4914 using its generation count.
4915 * nptl_db/db_info.c: Include ldsodefs.h.
4916 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4917 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4918 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4919 (link_map::l_tls_offset): New struct field.
4920 (dtv_t::counter): Likewise.
4921 (rtld_global): New struct.
4922 (_rtld_global): New rtld variable.
4923 (dl_tls_dtv_slotinfo_list): New rtld global field.
4924 (dtv_slotinfo_list): New struct.
4925 (dtv_slotinfo): Likewise.
4926 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4927 (td_lookup): Rename to...
4928 (td_mod_lookup): ... this. Use new mod parameter instead of
4930 * nptl_db/td_thr_tlsbase.c: Include link.h.
4931 (dtv_slotinfo_list, dtv_slotinfo): New functions.
4932 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
4933 addresses even if the DTV is out of date or missing them.
4934 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4935 index zero-length arrays.
4936 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4937 (td_lookup): Make it a macro implemented in terms of...
4938 (td_mod_lookup): ... this declaration.
4939 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4940 (DB_MAIN_VARIABLE): Likewise.
4942 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
4945 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4947 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
4949 * stdlib/setenv.c (__add_to_environ): Revert previous change.
4951 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
4954 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4955 (atomic_add, atomic_increment_and_test)
4956 (atomic_decrement_and_test): Fix 64-bit arithmetic.
4958 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
4960 * stdlib/setenv.c (__add_to_environ):
4961 Dump core quickly if setenv (..., NULL, ...) is called.
4963 2015-03-13 Roland McGrath <roland@hack.frob.com>
4965 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4966 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4967 all the necessary asm magic in one place.
4968 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4971 2015-03-13 Carlos O'Donell <carlos@redhat.com>
4974 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4975 traced file mtime. Use consistent log message.
4976 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4977 (register_traced_file): Call install_watches. Always set mtime.
4978 (invalidate_cache): Iterate over all trace files. Call install_watches.
4979 (inotify_check_files): Don't inline. Handle watching parent
4980 directories and configuration file movement in and out.
4981 (handle_inotify_events): New function.
4982 (main_loop_poll): Call handle_inotify_events.
4983 (main_loop_epoll): Likewise.
4984 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4985 (struct traced_file): Use array of inotify fds. Add parent directory,
4987 (struct database_dyn): Remove unused file_mtime.
4988 (init_traced_file): New inline function.
4989 (define_traced_file): New macro.
4990 * nss/nss_db/db-init.c: Use define_traced_file.
4991 (_nss_db_init): Use init_traced_file.
4992 * nss/nss_files/files-init.c: Use define_traced_file.
4993 (_nss_files_init): Use init_traced_file.
4995 2015-03-12 Joseph Myers <joseph@codesourcery.com>
4997 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4998 [_LIBC]: Do not include <stdlib.h>.
4999 [!_LIBC] (abort): Remove declaration.
5000 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
5001 _FP_STATIC_ASSERT instead of conditionally calling abort.
5002 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
5003 (_FP_EXTEND_CNAN): Likewise.
5004 (FP_TRUNC): Likewise.
5005 (__FP_CLZ): Likewise.
5006 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
5008 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
5010 * manual/string.texi (XPG basename): Fix prototype.
5012 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5015 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
5016 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5017 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
5018 (__setcontext): Likewise.
5019 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
5020 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
5021 Call rt_sigprocmask syscall one time to set new signal mask
5022 and retrieve the current signal mask instead of two calls.
5023 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
5024 (__swapcontext): Likewise.
5025 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
5026 * stdlib/tst-setcontext2.c: New file.
5028 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5030 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5032 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
5035 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
5038 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5041 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5043 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5045 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
5046 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
5048 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
5049 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
5050 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
5051 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
5052 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
5053 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
5055 * nptl_db/td_symbol_list.c (td_lookup): Remove
5056 HAVE_ASM_GLOBAL_DOT_NAME code.
5057 * sysdeps/powerpc/powerpc64/configure.ac: Remove
5058 HAVE_ASM_GLOBAL_DOT_NAME check.
5059 * sysdeps/powerpc/powerpc64/configure: Regenerate.
5060 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
5061 (DOT_LABEL): Remove define.
5062 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
5063 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
5064 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
5065 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
5066 (__TLS_GET_ADDR): Likewise.
5067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
5068 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
5070 2015-03-11 Carlos O'Donell <carlos@redhat.com>
5073 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
5074 (_FPU_SETCW): Initialize cw from fpsr before storing.
5075 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
5076 (fesetexceptflag): Rewrite using fpu_control.h.
5077 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
5079 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
5082 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
5084 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5086 2015-03-11 Joseph Myers <joseph@codesourcery.com>
5088 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
5089 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
5091 (_FP_FMA): Likewise.
5092 (_FP_DIV): Likewise.
5094 2015-03-10 Roland McGrath <roland@hack.frob.com>
5096 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5097 with 0 in that case.
5098 * Makefile (summarize-tests): New canned sequence, factored out of
5099 commands for targets tests and xtests. Display summary lines that
5100 don't start with PASS: or XFAIL: rather than ones that do start with
5101 ERROR: or FAIL:. Make the commands fail if any summary lines fail
5102 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5103 do start with ERROR: or FAIL:.
5104 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5105 (except for [$(build-shared) = yes]).
5106 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5107 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5108 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5109 * nptl/Makefile: Revert 2015-03-04 changes.
5110 [$(CXX) empty] (tests-unsupported): New variable.
5111 * debug/Makefile: Likewise.
5113 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5114 gnulib file. Replace __attribute with __attribute__ throughout.
5116 2015-03-10 Carlos O'Donell <carlos@redhat.com>
5118 * sysdeps/hppa/fpu/libm-test-ulps: Update.
5120 2015-03-10 Joseph Myers <joseph@codesourcery.com>
5123 * math/auto-libm-test-in: Add another test of pow.
5124 * math/auto-libm-test-out: Regenerated.
5126 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5128 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5129 $(config-cflags-nofma).
5131 2015-03-10 Joseph Myers <joseph@codesourcery.com>
5133 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5134 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5135 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5136 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5137 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5138 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5139 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5140 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5141 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5142 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5143 Add comment on closing #endif.
5145 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5147 * posix/wordexp.c (CHAR_IN_SET): New macro.
5148 (parse_param): Use it.
5150 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5152 * sysdeps/powerpc/fpu/libm-test-ulps: update.
5154 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5157 * posix/wordexp.c (parse_param): Fix buffer overflow.
5158 * posix/wordexp-test.c (test_case): Add test case.
5160 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5163 * posix/wordexp.c (parse_backtick): Fix off-by-one.
5164 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5166 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5169 * posix/wordexp-test.c (test_case): Add test for BZ #18043
5170 (do_bz18043): Delete.
5172 (testit): Refactor to have words at the edge of unreadable page.
5174 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5177 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5178 Cleanup read-only streams as well.
5179 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5181 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5183 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5186 2015-03-07 Joseph Myers <joseph@codesourcery.com>
5188 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
5190 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5191 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5192 * soft-fp/op-common.h (_FP_DECL): Likewise.
5194 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
5196 * elf/ifuncdep2.c (global): Replace
5197 __attribute__((visibility("protected"))) with
5198 asm (".protected global").
5199 * elf/ifuncmod1.c (global): Likewise.
5200 * elf/ifuncmod5.c (global): Likewise.
5202 2015-03-06 Joseph Myers <joseph@codesourcery.com>
5204 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5205 <asm/sfp-machine.h> instead of <sfp-machine.h>.
5207 2015-03-06 Roland McGrath <roland@hack.frob.com>
5209 * manual/install.texi (Configuring and compiling):
5210 Document test-wrapper-env-only.
5211 * INSTALL: Regenerated.
5213 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5216 * posix/wordexp.c (parse_param): Fix buffer overflow.
5217 * posix/wordexp-test.c (do_bz18043): Add test case.
5219 2015-03-06 Vincent Bernat <vincent@bernat.im>
5221 * time/tst-strptime2.c (do_test): Ensure failing tests are
5223 * time/tst-strptime3.c (do_test): Likewise.
5225 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
5227 Fix aio_error thread-safety.
5228 * sysdeps/pthread/aio_error.c: New file
5229 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5232 2015-03-06 Florian Weimer <fweimer@redhat.com>
5234 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5235 (group_number, vfprintf): Use it.
5236 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5237 (JUMP, REF): Use it.
5238 (WORK_BUFFER_SIZE): New enum constant.
5239 (process_arg, vfprintf): Use it.
5241 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
5243 * manual/errno.texi (Error Messages): Complete example function
5244 by adding missing #define.
5245 (program_invocation_name): Add statement indicating GNU
5246 extension and reference which header file declares the variable.
5247 (program_invocation_short_name): Likewise.
5249 2015-03-06 Mike Frysinger <vapier@gentoo.org>
5251 * manual/errno.texi (Error Messages): Delete strerror ISO C89
5254 2015-03-05 Roland McGrath <roland@hack.frob.com>
5256 * Makeconfig (test-wrapper-env-only): New variable.
5257 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5258 then use that with $(test-wrapper-env-only) rather than using
5259 $(test-wrapper-env) $(run-program-env) $($*-ENV).
5261 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
5264 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5265 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5266 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5267 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5268 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5269 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5270 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5271 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5273 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5274 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5276 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5278 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5280 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5282 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5283 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5285 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5287 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5288 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5290 2015-03-04 Roland McGrath <roland@hack.frob.com>
5292 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5293 (ETH_ALEN): New macro.
5294 (struct ether_addr): Use it for length of ether_addr_octet.
5296 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5297 (setdb): Don't call __nss_configure_lookup for "rpc".
5298 (do_test): Don't call test_rpc.
5299 (output_rpcent, test_rpc): Functions moved ...
5300 * sunrpc/test-rpcent.c: ... to this new file.
5301 * sunrpc/Makefile (tests): Add it.
5303 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5305 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5306 * nptl/tst-signal6.c: Likewise.
5307 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5308 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5310 * configure.ac (libc_cv_cxx_link_ok): New check.
5311 Reset CXX to empty if it fails to link.
5312 * configure: Regenerated.
5313 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5314 bug-atexit3-lib only if $(CXX) is nonempty.
5315 * nptl/Makefile (tests): Likewise for tst-cancel24.
5316 (tests, tests-static): Likewise for tst-cancel24-static.
5317 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5318 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5319 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5320 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5322 2015-03-04 Andreas Schwab <schwab@suse.de>
5325 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5326 for non-GCC compilers.
5327 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5330 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5333 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5334 integer before bitwise and assembly operations.
5335 (feclearexcept): Likewise.
5336 * math/test-fenvinline.c: New file.
5337 * math/Makefile: Add test-fenvinline test.
5339 2015-03-03 Alan Modra <amodra@gmail.com>
5342 * scripts/localplt.awk: Strip off symbol version.
5343 * NEWS: Mention bug fix.
5345 2015-03-02 Roland McGrath <roland@hack.frob.com>
5347 * sysdeps/pthread/timer_routines.c
5348 (timer_free_list, thread_free_list, thread_active_list): Make static.
5350 2015-03-02 Joseph Myers <joseph@codesourcery.com>
5353 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5354 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5356 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5357 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5359 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5360 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5363 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5366 * posix/fnmatch_loop.c (END): Detect invalid pattern.
5367 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5369 2015-03-02 Andreas Schwab <schwab@suse.de>
5371 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5374 2015-03-02 Florian Weimer <fweimer@redhat.com>
5376 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5377 Return error status.
5379 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
5382 * locale/findlocale.c (_nl_find_locale): Introduce const
5383 version of loc_name and drop unsafe type casts.
5385 2015-02-27 Roland McGrath <roland@hack.frob.com>
5387 * dlfcn/tststatic2.c (main): Converted to ...
5388 (do_test): ... this.
5389 (TEST_FUNCTION): New macro.
5390 Include test-skeleton.c.
5392 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
5395 * elf/Makefile (tests): Add vismain only if PIE is enabled.
5396 (tests-pie): Add vismain.
5397 (CFLAGS-vismain.c): New.
5398 * elf/vismain.c: Add comments for PIE requirement.
5400 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5404 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5405 0x1p-56L as threshold for just returning the argument.
5406 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5407 0x1p-32L as threshold for just returning the argument.
5408 * math/auto-libm-test-in: Add more tests of atanh.
5409 * math/auto-libm-test-out: Regenerated.
5410 * sysdeps/i386/fpu/libm-test-ulps: Update.
5411 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5413 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5415 * string/bcopy.c (bcopy): Call memmove for performance.
5417 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5419 * string/bzero.c (__bzero): Call memset for performance.
5421 2015-02-27 John David Anglin <dave.anglin@bell.net>
5424 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5427 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5429 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5431 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5433 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5434 (__kernel_standard): Use CSTR macro when setting exc.name.
5435 * sysdeps/ieee754/Makefile [$(subdir) = math]
5436 (CFLAGS-k_standard.c): Remove variable.
5438 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5439 setting p and q from "else if" to "else".
5441 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5443 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5445 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5447 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5449 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5454 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5455 return pi/2 for arguments below 0x1p-113L.
5456 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5457 return pi/2 for arguments below 0x1p-106L.
5458 * math/auto-libm-test-in: Add more tests of acos.
5459 * math/auto-libm-test-out: Regenerated.
5462 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5464 (__ieee754_asin): Force underflow exception for results with small
5466 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5468 (__ieee754_asinf): Force underflow exception for results with
5469 small absolute value.
5470 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5471 (__ieee754_asin): Force underflow exception for results with small
5473 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5474 (__ieee754_asinf): Force underflow exception for results with
5475 small absolute value.
5476 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5477 (__ieee754_asinl): Force underflow exception for results with
5478 small absolute value.
5479 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5480 (__ieee754_asinl): Force underflow exception for results with
5481 small absolute value.
5482 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5483 (__ieee754_asinl): Force underflow exception for results with
5484 small absolute value.
5485 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5487 * math/auto-libm-test-in: Do not mark underflow exceptions as
5488 possibly missing for bug 16351.
5489 * math/auto-libm-test-out: Regenerated.
5492 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5493 of power of 2 down when low part has opposite sign.
5494 * math/libm-test.inc (logb_test_data): Add more tests.
5496 2015-02-26 Andreas Schwab <schwab@suse.de>
5499 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5500 over collating symbol inside a bracket expression. Minor cleanup.
5501 * posix/tst-fnmatch3.c (do_test): Add test case.
5503 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5506 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5507 Adjust exponent of power of 2 down when low part has opposite
5509 * math/libm-test.inc (ilogb_test_data): Add more tests.
5511 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
5514 * locale/findlocale.c (_nl_find_locale): Fix constness error in
5515 the previous change.
5518 * locale/findlocale.c (_nl_find_locale): Retry archive search
5519 after alias expansion.
5521 2015-02-25 Roland McGrath <roland@hack.frob.com>
5523 * iconv/tst-iconv3.c (main): Converted to ...
5524 (do_test): ... this.
5525 (TEST_FUNCTION): New macro.
5526 Include test-skeleton.c.
5528 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5529 (convert): Make function static.
5530 (test_unalign): Likewise. Add const to argument pointee types.
5531 (main): Replace with static function do_test.
5532 Print "Succeeded." only if RET is zero.
5533 (TEST_FUNCTION): New macro.
5534 Include test-skeleton.c.
5536 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5537 returns a null pointer.
5539 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5541 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5542 to __memcpy_ppc only for static builds.
5544 2015-02-25 Joseph Myers <joseph@codesourcery.com>
5547 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5548 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5549 * math/auto-libm-test-in: Add more tests of asinh.
5550 * math/auto-libm-test-out: Regenerated.
5551 * sysdeps/i386/fpu/libm-test-ulps: Update.
5552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5554 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
5557 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5558 and ip6_mtuinfo definitions here.
5559 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5560 in this define too. Update comment.
5562 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
5564 * elf/sprof.c (load_shobj): Tweak error message to match others.
5566 2015-02-24 Kevin Easton <kevin@guarana.org>
5568 [BZ #16145] (partial fix)
5569 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5570 to reduce lock contention.
5572 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
5574 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5575 (struct timex): Update time comment.
5576 (ADJ_SETOFFSET): Define.
5578 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5581 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5582 2**56 not 2**28 as threshold for log (2x) formula.
5583 * math/auto-libm-test-in: Add more tests of acosh.
5584 * math/auto-libm-test-out: Regenerated.
5585 * sysdeps/i386/fpu/libm-test-ulps: Update.
5586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5588 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5590 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5591 parenthesis around the buf assignment.
5592 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5594 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5597 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5598 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5599 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5600 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5601 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5602 * math/libm-test.inc (scalb_test_data): Add more tests.
5604 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5607 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5608 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5610 2015-02-24 Eric Rannaud <e@nanocritical.com>
5613 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5614 * io/bits/fcntl2.h (open): Use it.
5616 * io/open.c (__libc_open): Likewise.
5617 * io/open64.c (__libc_open64): Likewise.
5618 * io/open64_2.c (__open64_2): Likewise.
5619 * io/open_2.c (__open_2): Likewise.
5620 * io/openat.c (__openat): Likewise.
5621 * io/openat64.c (__openat64): Likewise.
5622 * io/openat64_2.c (__openat64_2): Likewise.
5623 * io/openat_2.c (__openat_2): Likewise.
5624 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5625 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5626 * sysdeps/posix/open64.c (__libc_open64): Likewise.
5627 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5628 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5629 (__open_nocancel): Likewise.
5630 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5631 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5632 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5634 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5637 * resolv/gethnamaddr.c (getanswer): Skip logging if
5638 RES_USE_DNSSEC is set.
5639 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5641 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5643 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5645 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
5647 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5648 201304L, for Unicode 7.
5650 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
5653 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5654 shared library. Add gmon-start.os otherwise.
5655 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5656 $(objpfx)gmon-start.os if builing shared library.
5657 ($(objpfx)g$(static-start-installed-name)): Likewise.
5659 2015-02-23 Andreas Schwab <schwab@suse.de>
5661 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5663 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5666 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5667 (enlarge_userbuf): Likewise.
5669 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
5671 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5672 * math/atest-exp.c (TIMEOUT): Adjust to 200.
5673 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5674 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5676 2015-02-20 Joseph Myers <joseph@codesourcery.com>
5678 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5679 expression inside statement expression.
5681 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5683 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5684 <sysdeps/nptl/lowlevellock.h> and remove macros and
5685 functions that are now defined there.
5686 (SYS_futex): Remove.
5687 (lll_compare_and_swap): Remove.
5688 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5690 2015-02-19 Joseph Myers <joseph@codesourcery.com>
5693 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5694 instead of scandirat.
5695 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5696 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5697 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5699 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5700 (__scandirat): Declare. Use libc_hidden_proto.
5701 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5703 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5705 2015-02-18 Joseph Myers <joseph@codesourcery.com>
5708 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5710 (__ieee754_atan2): For results with small absolute value, force
5711 underflow exception and remove excess range and precision from
5713 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5715 (__ieee754_atan2f): For results with small absolute value, force
5716 underflow exception and remove excess range and precision from
5718 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5720 (__atan): For results with small absolute value, force underflow
5721 exception and remove excess range and precision from return value.
5722 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5724 (__atanf): For results with small absolute value, force underflow
5725 exception and remove excess range and precision from return value.
5726 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5728 (__ieee754_atan2): Force underflow exception for results with
5729 small absolute value.
5730 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5732 (atan): Force underflow exception for results with small absolute
5734 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5735 (__atanf): Force underflow exception for results with small
5737 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5739 (__atanl): Force underflow exception for results with small
5741 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5742 (__atanl): Force underflow exception for results with small
5744 * sysdeps/x86/fpu/bits/mathinline.h
5745 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5746 (__ieee754_atan2): Only define inline for long double.
5747 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5748 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5749 * math/auto-libm-test-in: Do not mark underflow exceptions as
5750 possibly missing for bug 15319. Add more tests of atan2.
5751 * math/auto-libm-test-out: Regenerated.
5752 * math/libm-test.inc (casin_test_data): Do not mark underflow
5753 exceptions as possibly missing for bug 15319.
5754 (casinh_test_data): Likewise.
5755 * sysdeps/i386/fpu/libm-test-ulps: Update.
5757 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
5759 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5760 * sysdeps/mips/bits/endian.h: Fix comments.
5762 2015-02-18 Joseph Myers <joseph@codesourcery.com>
5765 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5766 (hdestroy_r): Likewise.
5767 (hsearch_r): Likewise.
5768 (__hcreate_r): Declare and use libc_hidden_proto.
5769 (__hdestroy_r): Likewise.
5770 (__hsearch_r): Likewise.
5771 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5772 (hcreate): Call __hcreate_r instead of hcreate_r.
5773 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5774 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5775 as weak alias of __hcreate_r.
5776 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5778 (hsearch_r): Rename to __hsearch_r and define as weak alias of
5780 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5782 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5783 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5784 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5785 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5787 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5789 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5790 arena_lock into a single arena_get.
5792 2015-02-17 Carlos O'Donell <carlos@redhat.com>
5794 * dl-reloc.c: Inlucde libc-internal.h.
5795 (_dl_try_allocate_static_tls): Call ALIGN_UP.
5796 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5797 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5798 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5799 (grow_heap): Likewise.
5800 * malloc/malloc.c: Include libc-internal.h.
5801 (do_check_malloc): Call powerof2.
5802 (sysmalloc): Use pagesize. Call ALIGN_UP.
5803 (systrim): Use pagesize.
5804 (mremap_chunk): Use pagesize. Call ALIGN_UP.
5805 (__libc_valloc): Use pagesize.
5806 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5808 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5811 * include/sys/resource.h (__getrlimit64): Declare. Use
5813 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5814 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
5815 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5817 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5819 [!getrlimit64] (getrlimit64): Define as weak alias of
5820 __getrlimit64. Use libc_hidden_weak.
5821 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5822 using __getrlimit64 not __new_getrlimit64.
5823 (__GI_getrlimit64): Likewise.
5824 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5826 (__GI_getrlimit64): Likewise.
5827 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5829 (getrlimit): Add __getrlimit64 alias.
5830 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5832 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5834 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5835 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5837 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5839 * libio/fileops.c: Add missing sys/mman.h
5840 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5842 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5844 * manual/math.texi (Errors in Math Functions): Clarify goals
5845 regarding inexact and underflow exceptions.
5847 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5849 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5850 * sysdeps/mips/memset.S: Ditto.
5852 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5854 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5856 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5858 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5859 (__v1longjmp): Remove versioned symbol.
5860 (__v1siglongjmp): Remove alias and versioned symbol.
5861 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5862 (__v2siglongjmp): Likewise.
5864 2015-02-16 Torvald Riegel <triegel@redhat.com>
5866 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5868 2015-02-16 Mike Frysinger <vapier@gentoo.org>
5870 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5872 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5875 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5876 zero result does not depend on the sign resulting from
5878 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5880 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5881 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5882 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5883 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5884 * math/libm-test.inc (remquo_test_data): Add more tests.
5886 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
5888 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5889 Problem reported by J William Piggott.
5891 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5894 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5895 products 4 * y and 2 * y where those would overflow.
5896 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5898 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5899 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5900 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5901 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5902 * math/libm-test.inc (remquo_test_data): Add more tests.
5904 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5906 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5907 [defined _COMPILING_NEWLIB].
5908 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5909 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5911 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5912 [!defined __mips_isa_rev || __mips_isa_rev < 6].
5914 2015-02-16 Torvald Riegel <triegel@redhat.com>
5916 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5919 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
5922 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5923 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5924 HOST_STACK_END_ADDR): Likewise.
5926 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
5928 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5929 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5930 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5932 2015-02-13 Roland McGrath <roland@hack.frob.com>
5934 * sysdeps/generic/c++-types.data: New file.
5935 * sysdeps/generic/ld.abilist: New file.
5936 * sysdeps/generic/libBrokenLocale.abilist: New file.
5937 * sysdeps/generic/libanl.abilist: New file.
5938 * sysdeps/generic/libc.abilist: New file.
5939 * sysdeps/generic/libcrypt.abilist: New file.
5940 * sysdeps/generic/libdl.abilist: New file.
5941 * sysdeps/generic/libm.abilist: New file.
5942 * sysdeps/generic/libpthread.abilist: New file.
5943 * sysdeps/generic/libresolv.abilist: New file.
5944 * sysdeps/generic/librt.abilist: New file.
5946 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5949 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5950 Compute absolute value of x as modified by fmod, not original
5952 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5953 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
5954 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
5955 RUN_TEST_ffI_f1_mod8.
5956 (remquo_test_data): Add more tests.
5958 2015-02-13 Roland McGrath <roland@hack.frob.com>
5960 * sysdeps/init_array/pt-crti.S: New file.
5962 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5965 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5966 __builtin_fmaf instead of relying on contraction of a * b + c.
5968 2015-02-12 J William Piggott <elseifthen@gmx.com>
5971 * manual/time.texi: correct the zoneinfo path in the TZ Variable
5974 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5977 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5978 __builtin_fma instead of relying on contraction of a * b + c.
5980 2015-02-12 Roland McGrath <roland@hack.frob.com>
5982 * Makeconfig (ASFLAGS): Add -Werror=undef.
5983 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5984 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5985 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5987 * Makeconfig (after-link): New variable.
5988 (+link-pie, +link-pie-tests): Use it.
5989 (+link-static, +link-static-tests): Likewise.
5990 (+link, +link-tests): Likewise.
5991 * Makerules (build-module, build-module-asneeded): Likewise.
5992 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5994 * elf/Makefile ($(objpfx)ld.so): Likewise.
5996 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5999 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
6000 both struct timeval and struct timespec.
6002 2015-02-12 Joseph Myers <joseph@codesourcery.com>
6005 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6007 (__ieee754_exp2l): Do not multiply small fractional parts by
6009 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
6011 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6012 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6013 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
6014 * math/auto-libm-test-in: Add more tests of exp2.
6015 * math/auto-libm-test-out: Regenerated.
6017 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6019 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
6022 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6024 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
6027 2015-02-12 Andreas Schwab <schwab@suse.de>
6030 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
6031 Filter out elision flags from value returned in kind.
6032 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
6033 * nptl/tst-pthread-mutexattr.c: New file.
6035 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
6037 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
6038 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
6039 into gnu-gnu, and update comment to refer to abi-tags.
6041 2015-02-11 Joseph Myers <joseph@codesourcery.com>
6044 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
6045 (__sincos): Set errno to EDOM for infinite argument.
6046 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
6047 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
6048 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
6049 (__sincosl): Set errno to EDOM for infinite argument.
6050 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
6051 (__sincosl): Set errno to EDOM for infinite argument.
6052 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
6053 (__sincosl): Set errno to EDOM for infinite argument.
6054 * math/libm-test.inc (sincos_test_data): Test errno setting.
6056 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
6058 * string/strxfrm_l.c: Remove #define STRCMP.
6059 * string/strcoll_l.c: Remove #define STRLEN.
6060 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6061 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
6063 2015-02-10 Joseph Myers <joseph@codesourcery.com>
6065 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
6066 * sysdeps/mips/mips32/sfp-machine.h: ... here.
6067 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
6068 * sysdeps/mips/mips64/Makefile: ... here.
6069 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
6070 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
6071 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
6072 * sysdeps/mips/mips64/sfp-machine.h: ... here.
6073 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
6074 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
6075 * sysdeps/mips/mips64/n64/Implies: Likewise.
6077 2015-02-10 Roland McGrath <roland@hack.frob.com>
6079 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
6080 <sys/time.h>, <string.h>, and <errno.h>.
6081 (dest_offset, dest_address, value, zero): Remove unused variables.
6082 (ldouble): Remove typedef.
6083 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
6084 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
6086 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
6087 (check): Function removed.
6089 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
6090 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
6091 Don't call set_sigaction_FP and remove_sigaction_FP here.
6092 (ldouble_test): Just use 'long double' as macro argument, no need for
6093 the 'ldouble' typedef.
6094 (do_test): Set up SIGFPE handler at start, using plain signal rather
6095 than sigaction. Fix code style.
6097 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
6100 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6103 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6105 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6106 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6108 * sysdeps/powerpc/configure.ac: Remove file.
6109 * sysdeps/powerpc/configure: Likewise.
6111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6112 [sysdep_routines]: Remove wordcopy-power6 object.
6113 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6114 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6115 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6116 (__memmove_ppc32): Likewise.
6117 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6119 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6120 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6121 Remove preprocessor.
6123 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6124 [sysdep_routines]: Remove wide chars objects.
6125 [wcsmbs]: New rule for wide char objects.
6127 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6128 Remove wordcopy-power6 obejct.
6129 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6130 Use local call for wordcopy and memcpy symbols.
6131 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6132 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6133 implementation for loader.
6134 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6136 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6137 Remove wordcopy-power7 object.
6138 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6139 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6140 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6141 (_wordcopy_fwd_dest_aligned): Likewise.
6142 (_wordcopy_bwd_aligned): Likewise.
6143 (_wordcopy_bwd_dest_aligned): Likewise.
6145 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6146 Rewrite to call __memmove_ppc instead of include default
6149 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6150 Remove wide chars objects.
6151 [wcsmbs]: New rule for wide char objects.
6153 2015-02-09 Andreas Schwab <schwab@suse.de>
6156 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6157 in terms of __O_DIRECTORY.
6159 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6161 * time/getdate.c: Include <stdbool.h>.
6162 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6164 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6167 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
6169 Add ersatz _Static_assert on older C hosts
6170 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6171 pre-C11 C platform that is not known to support _Static_assert.
6173 2015-02-07 Richard Braun <rbraun@sceen.net>
6175 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6177 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6179 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6181 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6182 priority against unexistent AIO_PRIO_DELTA_MAX.
6183 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6185 * misc/fchflags.c (fchflags): Likewise.
6186 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6187 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6188 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6189 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6190 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6192 [__USE_MISC] (chflags, fchflags): Declare functions.
6193 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6194 EINVAL when nfds is greater than FD_SETSIZE.
6195 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6196 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6198 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6199 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6200 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6202 * hurd/hurd/signal.h (_hurd_self_sigstate,
6203 _hurd_critical_section_lock, _hurd_critical_section_unlock):
6204 Explicit casts from void *.
6205 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6206 * abi-tags: Rename gnu-gnu os into gnu.
6209 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6210 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6211 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6212 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6213 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6214 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6217 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6218 duplicates ADDR->sun_path with sockaddr LEN limitation.
6219 * sysdeps/mach/hurd/connect.c: Include <string.h>
6220 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6221 * sysdeps/mach/hurd/sendmsg.c: Likewise.
6222 * sysdeps/mach/hurd/sendto.c: Likewise.
6223 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6224 implementing it by hand.
6226 2015-02-06 Roland McGrath <roland@hack.frob.com>
6228 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6229 Use sfi_breg on ldr.
6230 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6233 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6235 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6236 Test SIGSETXID only if it's defined.
6238 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6240 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6241 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
6243 * nptl/tst-align2.c: Moved ...
6244 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6245 * nptl/Makefile (tests): Remove tst-align2.
6246 * sysdeps/unix/sysv/linux/Makefile
6247 [$(subdir) = nptl] (tests): Add tst-align-clone.
6248 * nptl/tst-getpid1.c: Moved ...
6249 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6250 * nptl/tst-getpid2.c: Moved ...
6251 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6252 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6253 * sysdeps/unix/sysv/linux/Makefile
6254 [$(subdir) = nptl] (tests): ... here.
6255 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6256 * sysdeps/unix/sysv/linux/Makefile
6257 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6259 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6260 Drop trailing \n from perror argument. Use return rather than exit.
6262 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6264 * nptl/tst-cancel21.c (do_test): Likewise.
6265 * debug/tst-backtrace6.c: Include <signal.h> first thing.
6266 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6267 [!SA_SIGINFO]: Make it a stub test.
6269 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6270 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6272 * posix/tst-getlogin.c: Move to ...
6273 * login/tst-getlogin.c: ... here.
6274 * posix/Makefile (tests): Move tst-getlogin to ...
6275 * login/Makefile (tests): ... here.
6277 * libio/tst-atime.c (do_test): Move local variables SV and E
6278 inside [ST_NOATIME] conditional.
6280 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6282 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6284 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6285 (wait_code): New function replaces macro.
6286 Call nanosleep rather than syscall.
6288 * nptl/pt-system.c: Rewritten. Put everything under
6289 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6290 Use IFUNC to redirect when possible.
6292 * nptl/pt-longjmp.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-fork.c: Rewritten. Put everything under
6297 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6298 Use IFUNC to redirect when possible.
6299 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6301 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6302 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6303 unconditionally nowadays. This included the only reference to
6304 __vdso_clock_gettime that appears outside libc proper.
6305 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6306 Remove version set (containing only __vdso_clock_gettime).
6307 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6308 Add attribute_hidden.
6309 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6310 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6311 libc_hidden_data_def.
6312 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6313 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6315 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6316 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6317 setrpcent, and getrpcport to ...
6318 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6319 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6320 getrpcbynumber_r, and getrpcent_r to ...
6321 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6322 * inet/getrpcbyname.c: Moved ...
6323 * sunrpc/getrpcbyname.c: ... here.
6324 * inet/getrpcbyname_r.c: Moved ...
6325 * sunrpc/getrpcbyname_r.c: ... here.
6326 * inet/getrpcbynumber.c: Moved ...
6327 * sunrpc/getrpcbynumber.c: ... here.
6328 * inet/getrpcbynumber_r.c: Moved ...
6329 * sunrpc/getrpcbynumber_r.c: ... here.
6330 * inet/getrpcent.c: Moved ...
6331 * sunrpc/getrpcent.c: ... here.
6332 * inet/getrpcent_r.c: Moved ...
6333 * sunrpc/getrpcent_r.c: ... here.
6334 * inet/Makefile (routines): Move those to ...
6335 * sunrpc/Makefile (routines): ... here.
6336 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6337 the $(subdirs) list.
6338 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
6339 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6340 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6341 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6343 * elf/Makefile (routines): Include $(all-dl-routines), not just
6345 (rtld-routines): Likewise. Use = rather than :=.
6346 * sysdeps/aarch64/Makefile [$(subdir) = elf]
6347 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6348 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6349 * sysdeps/arm/Makefile: Likewise.
6350 * sysdeps/i386/Makefile: Likewise.
6351 * sysdeps/x86_64/Makefile: Likewise.
6352 * sysdeps/hppa/Makefile [$(subdir) = elf]
6353 (sysdep_routines, sysdep-rtld-routines): Don't add
6354 $(sysdep-dl-routines) to these.
6355 * sysdeps/ia64/Makefile: Likewise.
6356 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6357 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6358 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6359 Don't add dl-static to these; sysdep-dl-routines alone is enough.
6360 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6361 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6362 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6363 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6364 * sysdeps/powerpc/Makefile [$(subdir) = elf]
6365 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6366 these; sysdep-dl-routines alone is enough.
6368 2015-02-06 Joseph Myers <joseph@codesourcery.com>
6371 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6372 where multiplication results in zero and third argument is finite
6374 * math/auto-libm-test-in: Add more tests of fma.
6375 * math/auto-libm-test-out: Regenerated.
6377 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6378 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6379 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6380 (_FP_CMP_EQ): Likewise.
6381 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6383 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6384 extra argument CHECK_NAN. Redefine as wrapper around
6387 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
6389 * version.h (RELEASE): Set to "stable".
6390 (VERSION): Set to "2.21"
6391 * include/features.h (__GLIBC_MINOR__): Set to 21.
6393 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6395 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6396 Paul Eggert <eggert@cs.ucla.edu>
6399 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6400 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6401 size in bytes. Store needed elements in wpmax. Use needed size
6402 in bytes for extend_alloca.
6404 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
6406 * manual/install.texi: Latest tested versions are GCC 4.9.2,
6407 binutls 2.25, and texinfo 5.2.
6408 * INSTALL: Regenerate.
6409 * sysdeps/nios2/configure: Regenerate.
6410 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6411 * manual/contrib.texi: Update.
6435 * po/pt_BR.po: Update.
6444 * po/zh_CN.po: Update.
6445 * po/zh_TW.po: Update.
6447 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6448 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6449 * sysdeps/hppa/dl-irel.h: Remove #warning.
6450 * sysdeps/hppa/entry.h: Provide prototype for
6451 __canonicalize_funcptr_for_compare and cast argument.
6452 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6453 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6454 * sysdeps/hppa/sotruss-lib.c: New file.
6455 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6456 (atomic_compare_and_exchange_val_acq): Use __typeof__.
6457 (atomic_compare_and_exchange_bool_acq): Likewise.
6458 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6459 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6461 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6462 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6463 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6465 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6467 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6468 called function in non-PIC case.
6470 2015-01-31 David S. Miller <davem@davemloft.net>
6472 * sysdeps/sparc/sparc32/bits/atomic.h
6473 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6474 unlock not after it.
6475 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6476 volatile register usage warnings from the compiler.
6478 * sysdeps/sparc/nptl/sem_init.c: Delete.
6479 * sysdeps/sparc/nptl/sem_post.c: Delete.
6480 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6481 * sysdeps/sparc/nptl/sem_wait.c: Delete.
6482 * sysdeps/sparc/sparc32/sem_init.c: New file.
6483 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6484 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6485 padding explicitly initialized.
6486 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6487 padding for in-semaphore spinlock.
6488 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6489 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6490 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6491 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6492 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6493 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6494 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6495 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6497 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6498 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6500 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
6503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6504 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6505 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6507 (index_AVX_Fast_Unaligned_Load): Likewise.
6508 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6509 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6510 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6511 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6512 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6513 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6514 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6515 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6516 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6518 2015-01-29 Andreas Schwab <schwab@suse.de>
6520 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6522 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6525 * nscd/nscd_stat.c (send_stats): Initialize DATA.
6527 2015-01-28 Martin Sebor <msebor@redhat.com>
6529 * math/README.libm-test: Clarify. Add "How to read the test output."
6531 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
6533 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6536 2015-01-28 Joseph Myers <joseph@codesourcery.com>
6538 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6539 (__HAVE_64B_ATOMICS): Define to 0.
6541 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6544 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6545 value to set as new flag.
6548 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6549 and use _ARCH_PPCSQ instead.
6550 (__ieee754_sqrt): Likewise.
6551 (__ieee754_sqrtf): Likewise.
6552 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6553 _ARCH_PPCSQ is defined.
6554 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6556 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6557 _ARCH_PPCSQ is defined.
6558 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6560 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6562 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6564 * iconv/loop.c: Suppress array out of bound warning caused by GCC
6565 bug (GCC BZ #64739).
6567 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
6569 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6570 Mark _retval as used.
6571 (lll_futex_wake_unlock): Likewise.
6572 (lll_futex_timed_wait_requeue_pi): Likewise.
6574 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6575 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6578 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6581 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6582 (__bswap_64): Mark as __always_inline.
6584 2015-01-25 Bram <bug_rh@spam.wizbit.be>
6587 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6588 when none of the search directories exist.
6590 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6593 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6594 power8 in .machine directive.
6597 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6598 set dependency from opd value.
6600 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6603 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6606 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6609 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6611 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6613 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6614 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6615 Replace 1UL with (uint64_t) 1.
6616 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6619 2015-01-23 Roland McGrath <roland@hack.frob.com>
6621 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6622 (if_freenameindex): Likewise.
6624 * resource/getrlimit64.c: Add missing libc_hidden_def.
6626 2015-01-22 Joseph Myers <joseph@codesourcery.com>
6628 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6630 (_FP_FMA): Likewise.
6631 (_FP_TO_INT_ROUND): Likewise.
6632 (_FP_FROM_INT): Likewise.
6634 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6637 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6638 Make code racy and cancel safe.
6640 2015-01-21 Carlos O'Donell <carlos@redhat.com>
6642 * sysdeps/arm/unwind-resume.h: Fix copyright year.
6643 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6646 * pwd/tst-getpw.c: Rewrite.
6649 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6650 (modules-names): Add moddummy1 and moddummy2.
6651 ($(objpfx)tst-rec-dlopen): Define.
6652 * dlfcn/moddummy1.c: New file.
6653 * dlfcn/moddummy2.c: New file.
6654 * dlfcn/tst-rec-dlopen.c: New file.
6655 * elf/dl-cache.c (_dl_load_cache_lookup):
6656 Return char*. Copy result with alloca/strcpy/strdup.
6657 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6658 returns char*. Free cached. If not saving realname
6660 * elf/dl-open.c (dl_open_worker): Do not assert that
6661 _r_debug->r_state is RT_CONSISTENT.
6662 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6665 2015-01-21 Torvald Riegel <triegel@redhat.com>
6666 Carlos O'Donell <carlos@redhat.com>
6669 * nptl/sem_waitcommon.c: New file.
6670 * nptl/sem_wait.c: Include sem_waitcommon.c.
6671 (__sem_wait_cleanup, do_futex_wait): Remove.
6672 (__new_sem_wait): Adapt.
6673 (__new_sem_trywait): New function.
6674 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6675 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6676 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6677 (sem_timedwait): Adapt.
6678 * nptl/sem_post.c (__new_sem_post): Adapt.
6679 (futex_wake): New function.
6680 (__old_sem_post): Add release MO fence.
6681 * nptl/sem_open.c (sem_open): Adapt.
6682 * nptl/sem_init.c (__new_sem_init): Adapt.
6683 (futex_private_if_supported): New function.
6684 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6685 (__old_sem_getvalue): Add using previous code.
6686 * sysdeps/nptl/internaltypes.h: Adapt.
6687 * nptl/tst-sem13.c (do_test): Adapt.
6688 * nptl/tst-sem11.c (main): Adapt.
6689 * nptl/sem_trywait.c: Remove.
6690 * nptl/DESIGN-sem.txt: Remove.
6691 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6692 (gen-as-const-headers): Remove structsem.sym.
6693 * nptl/structsem.sym: Remove.
6694 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6695 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6696 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6697 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6698 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6699 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6700 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6701 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6702 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6703 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6704 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6705 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6706 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6707 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6708 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6709 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6710 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6711 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6712 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6713 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6714 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6715 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6717 2015-01-20 Carlos O'Donell <carlos@redhat.com>
6719 * INSTALL: Regenerated.
6721 * po/libc.pot: Regenerated.
6723 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
6724 Sandra Loosemore <sandra@codesourcery.com>
6725 Andrew Jenner <andrew@codesourcery.com>
6726 Joseph Myers <joseph@codesourcery.com>
6727 Nathan Sidwell <nathan@codesourcery.com>
6729 * NEWS: Mention new Nios II port.
6730 * sysdeps/nios2/Implies: New file.
6731 * sysdeps/nios2/Makefile: New file.
6732 * sysdeps/nios2/Subdirs: New file.
6733 * sysdeps/nios2/Versions: New file.
6734 * sysdeps/nios2/__longjmp.S: New file.
6735 * sysdeps/nios2/abort-instr.h: New file.
6736 * sysdeps/nios2/backtrace.c: New file.
6737 * sysdeps/nios2/bits/endian.h: New file.
6738 * sysdeps/nios2/bits/fenv.h: New file.
6739 * sysdeps/nios2/bits/link.h: New file.
6740 * sysdeps/nios2/bits/setjmp.h: New file.
6741 * sysdeps/nios2/bsd-_setjmp.S: New file.
6742 * sysdeps/nios2/bsd-setjmp.S: New file.
6743 * sysdeps/nios2/configure: New generated file.
6744 * sysdeps/nios2/configure.ac: New file.
6745 * sysdeps/nios2/crti.S: New file.
6746 * sysdeps/nios2/crtn.S: New file.
6747 * sysdeps/nios2/dl-init.c: New file.
6748 * sysdeps/nios2/dl-machine.h: New file.
6749 * sysdeps/nios2/dl-sysdep.h: New file.
6750 * sysdeps/nios2/dl-tls.h: New file.
6751 * sysdeps/nios2/dl-trampoline.S: New file.
6752 * sysdeps/nios2/gccframe.h: New file.
6753 * sysdeps/nios2/gmp-mparam.h: New file.
6754 * sysdeps/nios2/jmpbuf-offsets.h: New file.
6755 * sysdeps/nios2/jmpbuf-unwind.h: New file.
6756 * sysdeps/nios2/ldsodefs.h: New file.
6757 * sysdeps/nios2/libc-tls.c: New file.
6758 * sysdeps/nios2/libm-test-ulps: New file.
6759 * sysdeps/nios2/machine-gmon.h: New file.
6760 * sysdeps/nios2/math-tests.h: New file.
6761 * sysdeps/nios2/math_private.h: New file.
6762 * sysdeps/nios2/memusage.h: New file.
6763 * sysdeps/nios2/nptl/Makefile: New file.
6764 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6765 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6766 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6767 * sysdeps/nios2/nptl/pthreaddef.h: New file.
6768 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6769 * sysdeps/nios2/nptl/tls.h: New file.
6770 * sysdeps/nios2/preconfigure: New file.
6771 * sysdeps/nios2/s_fma.c: New file.
6772 * sysdeps/nios2/s_fmaf.c: New file.
6773 * sysdeps/nios2/setjmp.S: New file.
6774 * sysdeps/nios2/sfp-machine.h: New file.
6775 * sysdeps/nios2/sotruss-lib.c: New file.
6776 * sysdeps/nios2/stackguard-macros.h: New file.
6777 * sysdeps/nios2/stackinfo.h: New file.
6778 * sysdeps/nios2/start.S: New file.
6779 * sysdeps/nios2/sysdep.h: New file.
6780 * sysdeps/nios2/tls-macros.h: New file.
6781 * sysdeps/nios2/tst-audit.h: New file.
6782 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6783 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6784 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6785 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6786 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6787 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6788 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6789 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6790 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6791 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6792 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6793 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6794 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6795 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6796 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6797 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6798 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6799 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6800 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6801 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6802 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6803 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6804 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6805 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6806 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6807 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6808 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6809 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6810 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6811 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6812 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6813 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6814 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6815 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6816 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6817 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6818 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6819 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6820 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6821 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6822 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6823 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6824 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6825 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6827 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6830 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6831 (getutent): Use weak_alias in non SHARED case
6832 and default_symbol_version in SHARED case.
6833 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6834 (getutent_r, pututline): Likewise.
6835 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6836 (getutid): Likewise.
6837 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6838 (getutid_r): Likewise.
6839 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6840 (getutline): Likewise.
6841 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6842 (getutline_r): Likewise.
6843 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6844 (updwtmp): Likewise.
6846 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6849 * sysdeps/s390/s390-32/memcmp.S
6850 (memcmp_g5): Rename to __memcmp_g5.
6851 * sysdeps/s390/s390-32/memcpy.S
6852 (memcpy_g5): Rename to __memcpy_g5.
6853 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6854 (memcpy_mvcle) Rename to __memcpy_mvcle.
6855 * sysdeps/s390/s390-32/memset.S
6856 (memset_g5): Rename to __memset_g5.
6857 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6858 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6859 and use prefixed functions.
6860 * sysdeps/s390/s390-32/multiarch/memcmp.S
6861 (memcmp_z196): Rename to __memcmp_z196.
6862 (memcmp_z10): Rename to __memcmp_z10.
6863 (memcmp): Set alias to __memcmp_g5.
6864 (bcmp): Set alias to __memcmp_g5.
6865 * sysdeps/s390/s390-32/multiarch/memcpy.S
6866 (memcpy_z196): Rename to __memcpy_z196.
6867 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6868 (memcpy_z10): Rename to __memcpy_z10.
6869 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6870 (memcpy): Set alias to __memcpy_g5.
6871 * sysdeps/s390/s390-32/multiarch/memset.S
6872 (memset_z196): Rename to __memset_z196.
6873 Jump to __memset_mvcle instead of memset_mvcle.
6874 (memset_z10): Rename to __memset_z10.
6875 Jump to __memset_mvcle instead of memset_mvcle.
6876 (memset_mvcle) Rename to __memset_mvcle.
6877 (memset): Set alias to __memset_g5.
6878 * sysdeps/s390/s390-64/memcmp.S
6879 (memcmp_z900): Rename to __memcmp_z900.
6880 * sysdeps/s390/s390-64/memcpy.S
6881 (memcpy_z900): Rename to __memcpy_z900.
6882 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6883 (memcpy_mvcle) Rename to __memcpy_mvcle.
6884 * sysdeps/s390/s390-64/memset.S
6885 (memset_z900): Rename to __memset_z900.
6886 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6887 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6888 and use prefixed functions.
6889 * sysdeps/s390/s390-64/multiarch/memcmp.S
6890 (memcmp_z196): Rename to __memcmp_z196.
6891 (memcmp_z10): Rename to __memcmp_z10.
6892 (memcmp): Set alias to __memcmp_z900.
6893 (bcmp): Set alias to __memcmp_z900.
6894 * sysdeps/s390/s390-64/multiarch/memcpy.S
6895 (memcpy_z196): Rename to __memcpy_z196.
6896 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6897 (memcpy_z10): Rename to __memcpy_z10.
6898 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6899 (memcpy): Set alias to __memcpy_z900.
6900 * sysdeps/s390/s390-64/multiarch/memset.S
6901 (memset_z196): Rename to __memset_z196.
6902 Jump to __memset_mvcle instead of memset_mvcle.
6903 (memset_z10): Rename to __memset_z10.
6904 Jump to __memset_mvcle instead of memset_mvcle.
6905 (memset_mvcle) Rename to __memset_mvcle.
6906 (memset): Set alias to __memset_z900.
6908 2015-01-14 Joseph Myers <joseph@codesourcery.com>
6911 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6912 __fesetenv instead of fesetenv.
6914 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6916 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6919 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6921 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6924 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6925 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6926 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6927 strncmp-power8 object.
6928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6929 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6930 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6933 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6934 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6936 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6937 trailing byte check.
6939 2015-01-13 David S. Miller <davem@davemloft.net>
6941 * include/signal.h (__sigreturn): Guard with __USE_MISC.
6943 2015-01-13 Roland McGrath <roland@hack.frob.com>
6945 * login/logout.c (logout): Use memset rather than bzero.
6946 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6947 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6948 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6949 (_gethtbyaddr): Likewise.
6950 * locale/programs/simple-hash.c (bcopy): Macro removed.
6952 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6954 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6955 Add strcmp-power8 object.
6956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6957 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6958 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6959 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6960 __strcmp_power8 implementation.
6961 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6964 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6965 Add strncpy-power8 and stpncpy-power8 objects.
6966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6967 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6969 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6970 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6971 __stpncpy_power8 implementation.
6972 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6973 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6974 __strncpy_power8 implementation.
6975 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6976 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6979 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6980 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6981 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6983 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6984 strncat-power8 object.
6985 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6986 __strcat_power8 implementation.
6987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6988 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6989 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6990 optimized strcat for power8.
6992 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6993 strcpy-power8 and stpcpy-power8 objects.
6994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6995 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6997 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6998 multiarch stpcpy implementation for POWER8.
6999 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
7000 multiarch strcpy implementation for POWER8.
7001 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
7002 __strcpy_power8 function.
7003 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
7005 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
7009 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
7012 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
7013 weights and rules. Use do_xfrm_cached if data fits in cache,
7014 do_xfrm otherwise. Moved former main loop to...
7015 * (do_xfrm_cached): New function.
7016 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
7017 find_idx, find_position and stack_push.
7018 * (find_idx): New function.
7019 * (find_position): Likewise.
7020 * localedata/sort-test.sh: Added test run for do_xfrm.
7021 * localedata/xfrm-test.c (main): Added command line option
7022 -nocache to run the test with strings that are too large for
7025 2015-01-13 Torvald Riegel <triegel@redhat.com>
7027 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
7028 variable to lll_futex_wake call, not the value itself.
7030 2015-01-12 Joseph Myers <joseph@codesourcery.com>
7033 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
7034 twom64. Adjust value to 0x1p-64L.
7035 (__scalblnl): Only return standard underflowing result for K <=
7036 -64 not K <= -63; adjust exponent for underflowing result by 64
7038 * math/libm-test.inc (scalbn_test_data): Add more tests.
7039 (scalbln_test_data): Likewise.
7042 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
7044 (__scalblnl): Get new exponent of adjusted subnormal value from ES
7046 * math/libm-test.inc (scalbn_test_data): Add more tests.
7047 (scalbln_test_data): Likewise.
7049 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7050 Stefani Seibold <stefani@seibold.net>
7052 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
7053 (sysdep_routines): Add dl-vdso here, ...
7054 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
7055 (sysdep_routines): ... not here.
7056 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
7057 fallback when vDSO is not presented.
7058 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7059 Define with libc_hidden_proto/libc_hidden_data_def definitions.
7060 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
7061 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
7062 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
7063 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
7064 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
7065 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
7066 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
7067 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
7068 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
7069 fallback configurable symbol when vDSO is not available.
7070 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
7071 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
7072 be able to redefine fallback symbol when vDSO is not available.
7073 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
7074 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
7076 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7078 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
7079 (TLS_INIT_TP): Add tm_capable initialization.
7080 (TLS_DEFINE_INIT_TP): Likewise.
7081 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
7083 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
7084 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
7086 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
7087 transactoion is lock elision is built and TCB tm_capable is set.
7088 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
7089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7090 (INTERNAL_SYSCALL_NCS): Likewise.
7091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7092 (INTERNAL_SYSCALL_NCS): Likewise.
7093 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7095 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7097 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7098 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7099 and remove it for 32 bits case.
7100 [pthread_rwlock_t] (__rwelision): New field for lock elision.
7101 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7103 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7104 Disable lock elision with rdlocks if elision is not available.
7106 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7107 (sysdep_routines): Add lock elision objects.
7108 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7109 [pthread_mutex_t] (__spins): Rework to add lock elision field.
7110 [pthread_mutex_t] (__elision): Add field.
7111 [__PTHREAD_SPINS]: Adjust to init lock elision field.
7112 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7113 elision definitions for powerpc.
7114 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7115 implementation of lock elision for powerpc.
7116 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7117 implementation of timed lock elision for powerpc.
7118 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7119 implementation of trylock with lock elision for powerpc.
7120 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7121 implementaion of unlock for lock elision for powerpc.
7122 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7123 automatic enable lock elision for mutexes.
7124 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7125 transaction execution definitions for powerpc.
7126 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7128 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7129 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7130 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7131 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7134 2015-01-09 Roland McGrath <roland@hack.frob.com>
7136 * sysdeps/posix/shm-directory.c: Use <> rather than ""
7137 for #include of <shm-directory.h>.
7139 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
7141 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7142 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7144 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
7147 * NEWS: Mention bug fix.
7148 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7149 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7150 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7152 2015-01-09 Torvald Riegel <triegel@redhat.com>
7154 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7156 2015-01-09 Torvald Riegel <triegel@redhat.com>
7158 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7160 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7162 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7163 pointer and cast to uintptr_t.
7165 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7167 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7169 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7171 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7173 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7176 2015-01-08 Roland McGrath <roland@hack.frob.com>
7178 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7179 <nptl/pthreadP.h> instead.
7180 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7182 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7184 [__SIGRTMIN] (init): Function removed.
7185 [__SIGRTMIN] (initialized): Variable removed.
7186 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7187 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7188 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7189 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7190 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7191 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7192 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7193 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7194 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7195 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7196 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7197 * sysdeps/nptl/allocrtsig.c: New file.
7198 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7199 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7200 * sysdeps/generic/testrtsig.h: File removed.
7202 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7203 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7205 * nptl/nptl-init.c (pthread_functions): Conditionalize
7206 .ptr__nptl_setxid initialization on [SIGSETXID].
7208 * sysdeps/nptl/sys/procfs.h: New file.
7209 * nptl_db/Makefile (headers): Add it.
7210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7212 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7213 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7214 * nptl/pthread_attr_setaffinity.c: Include it.
7215 * nptl/pthread_setattr_default_np.c: Likewise.
7216 * nptl/check-cpuset.h: New file.
7218 2015-01-08 Richard Henderson <rth@redhat.com>
7220 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7221 (CFLAGS-tst-execstack-prog.c): Likewise.
7222 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7224 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
7225 Sandra Loosemore <sandra@codesourcery.com>
7226 Andrew Jenner <andrew@codesourcery.com>
7227 Joseph Myers <joseph@codesourcery.com>
7228 Nathan Sidwell <nathan@codesourcery.com>
7230 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7231 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7232 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7233 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7234 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7235 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7236 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7237 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7238 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7239 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7240 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7241 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7242 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7243 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7244 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7245 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7246 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7248 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7250 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7251 timespec struct member in syscall macro.
7252 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7253 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7254 first timeval struct member in syscall macro.
7255 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7257 2015-01-07 Joseph Myers <joseph@codesourcery.com>
7260 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7261 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7262 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7263 __feupdateenv and define as weak alias of __feupdateenv. Use
7265 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7267 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7268 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
7269 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7270 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7272 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7273 __feupdateenv and define as weak alias of __feupdateenv. Use
7275 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7277 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7278 __feupdateenv and define as weak alias of __feupdateenv. Use
7280 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7282 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7283 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7284 (__feupdateenv): Likewise.
7285 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7286 __feupdateenv and define as weak alias of __feupdateenv. Use
7288 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7289 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7291 * sysdeps/tile/math_private.h (__feupdateenv): New inline
7293 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7295 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7296 __feupdateenv instead of feupdateenv.
7297 (default_libc_feupdateenv_test): Likewise.
7298 (libc_feresetround_ctx): Likewise.
7300 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7302 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7305 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
7307 * posix/regcomp.c (parse_bracket_exp): Initialize type to
7308 COLL_SYM in a couple of places to avoid uninitialized variable
7309 wanings on tilegx gcc 4.8.2.
7311 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
7313 * sysdeps/aarch64/strcpy.S: New file.
7314 * sysdeps/aarch64/stpcpy.S: New file.
7317 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
7319 * sysdeps/aarch64/strrchr.S: New file.
7322 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
7325 * stdlib/setenv.c: Fix memory leak when setting large,
7328 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
7331 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7332 and tabs from buffer before parsing fstab entry.
7333 * misc/tst-mntent.c (main): Add test for mount entry with
7334 trailing spaces and tabs.
7336 2015-01-06 Joseph Myers <joseph@codesourcery.com>
7339 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
7340 * math/fesetround.c (fesetround): Rename to __fesetround and
7341 define as weak alias of __fesetround. Use libm_hidden_weak.
7342 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7343 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7344 * sysdeps/arm/fesetround.c (fesetround): Likewise.
7345 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7346 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7347 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7348 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7349 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7350 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7351 __fesetround_inline.
7352 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7353 __fesetround_inline instead of __fesetround.
7354 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7355 __fesetround and define as weak alias of __fesetround. Use
7356 libm_hidden_weak. Call __fesetround_inline instead of
7358 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7359 __fesetround and define as weak alias of __fesetround. Use
7361 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7363 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7364 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7365 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7366 * sysdeps/tile/math_private.h (__fesetround): New inline function.
7367 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7368 __fesetround and define as weak alias of __fesetround. Use
7370 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7371 __fesetround instead of fesetround.
7372 (default_libc_feholdexcept_setround): Likewise.
7373 (libc_feholdsetround_ctx): Likewise.
7374 (libc_feholdsetround_noex_ctx): Likewise.
7377 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7378 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7379 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7380 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7381 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7382 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7383 define as weak alias of __fesetenv. Use libm_hidden_weak.
7384 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7385 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7386 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7387 define as weak alias of __fesetenv. Use libm_hidden_weak.
7388 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7389 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7390 define as weak alias of __fesetenv. Use libm_hidden_weak.
7391 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7393 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7394 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7396 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7397 define as weak alias of __fesetenv. Use libm_hidden_weak.
7398 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7399 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7400 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7401 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7402 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7403 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7404 __fesetenv instead of fesetenv.
7405 (libc_feresetround_noex_ctx): Likewise.
7406 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7407 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7408 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7409 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7410 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7411 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7412 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7413 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7414 (__feupdateenv): Likewise.
7415 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7416 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7417 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7418 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7420 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7423 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7424 addresses have been freed.
7426 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7428 * resolv/res_init.c (__res_vinit): Improve comments about nserv
7431 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
7433 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7434 Clean up check_pf allocation pattern. addresses
7436 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7438 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7439 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7440 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7441 * nptl/pthread_exit.c (__pthread_exit): Likewise.
7442 * nptl/pthread_join.c (pthread_join): Likewise.
7443 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7444 * sysdeps/posix/waitid.c (__waitid): Likewise.
7445 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7446 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7447 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7448 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7449 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7451 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7452 (__libc_pread64): Likewise.
7453 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7454 (__libc_pwrite): Likewise.
7455 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7456 (__libc_pwrite64): Likewsie.
7457 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7458 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7459 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7460 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7461 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7462 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7463 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7467 (__libc_pread64): Likewise.
7468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7471 (__libc_pwrite64): Likewise.
7472 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7473 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7474 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7475 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7476 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7477 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7478 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7479 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7480 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7481 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7482 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7483 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7484 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7485 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7486 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7487 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7490 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7492 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7493 (CFLAGS-test-double.c): Likewise.
7494 (CFLAGS-test-ldouble.c): Likewise.
7495 (CPPFLAGS-test-ifloat.c): Likewise.
7496 (CPPFLAGS-test-idouble.c): Likewise.
7497 (CPPFLAGS-test-ildoubl.c): Likewise.
7498 (CFLAGS-test-test-fenv.c): Remove variable.
7499 (CFLAGS-test-misc.c): Likewise.
7501 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
7504 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7505 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7506 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7507 CLOCKS_PER_SEC == 1000000.
7508 * time/clocktest.c (main): Replace %ld with %jd and cast to
7511 2015-01-05 Roland McGrath <roland@hack.frob.com>
7513 * sysdeps/generic/unwind-resume.h: New file.
7514 * sysdeps/gnu/unwind-resume.c: Include it.
7515 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7516 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7518 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7519 global rather than static.
7520 (_Unwind_Resume): Update user.
7521 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7522 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
7523 rather than static. Add __attribute__ ((cold)).
7524 (_Unwind_Resume, __gcc_personality_v0): Update callers.
7525 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7526 * sysdeps/arm/arm-unwind-resume.S: New file.
7527 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7528 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7529 * sysdeps/arm/Makefile [$(subdir) = csu]
7530 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7531 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7532 Add rt-arm-unwind-resume.
7534 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7535 Add pt-arm-unwind-resume.
7536 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7537 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7539 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7542 * include/fenv.h (__feholdexcept): Declare. Use
7544 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7545 define as weak alias of __feholdexcept. Use libm_hidden_weak.
7546 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7547 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7548 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7549 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7550 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7551 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7552 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7553 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7554 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7555 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7556 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7557 (feholdexcept): Likewise.
7558 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7559 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7560 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7561 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7562 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7563 __feholdexcept instead of feholdexcept.
7564 (default_libc_feholdexcept_setround): Likewise.
7566 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7568 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7569 to avoid using stl/str to align destination.
7571 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7573 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7575 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7578 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7579 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7580 Define as weak alias not strong alias.
7582 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7584 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7585 bltzal with addiupc.
7586 (RTLD_START): Ditto.
7588 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
7590 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7591 for __vdso_* functions in declarations.
7592 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7594 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7595 INTERNAL_VSYSCALL): Use struct return types to check for error.
7597 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7598 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7599 function with cast from llround().
7600 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7601 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7604 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7607 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7608 Define as weak alias not strong alias.
7611 * ctype/ctype-c99.c: New file. isblank implementation moved from
7613 * ctype/ctype-extn.c: ... here.
7614 (__isblank_l): Move to ...
7615 * ctype/ctype-c99_l.c: ... here. New file.
7616 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7617 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7619 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7620 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7621 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7622 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7623 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7626 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7627 (posix_fadvise64): Define as weak alias not strong alias.
7628 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7629 (posix_fallocate64): Likewise.
7630 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7632 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7633 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7634 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7635 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7636 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7638 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
7641 * NEWS: Mention bug fix.
7642 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7643 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7644 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7645 (HOST_STACK_END_ADDR): Likewise.
7647 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7650 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
7651 * math/fegetround.c (fegetround): Rename to __fegetround and
7652 define as weak alias of __fegetround. Use libm_hidden_weak.
7653 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7654 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7655 * sysdeps/arm/fegetround.c (fegetround): Likewise.
7656 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7657 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7658 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7659 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7660 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7661 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7662 Undefine after rather than before function definition; use
7663 parentheses around function name in definition.
7664 (__fegetround): Also undefine macro after function definition.
7665 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7666 __fegetround and define as weak alias of __fegetround. Use
7667 libm_hidden_weak. Do not undefine as macro.
7668 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7670 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7671 __fegetround and define as weak alias of __fegetround. Use
7673 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7674 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7675 * sysdeps/tile/math_private.h (__fegetround): New inline function.
7676 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7677 __fegetround and define as weak alias of __fegetround. Use
7679 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7680 __fegetround instead of fegetround.
7683 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7684 Condition macro definition on [__USE_MISC].
7687 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7688 (struct sigaction): Change type of sa_flags field to int.
7691 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7692 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7695 * nptl/version.c (banner): Use single year in copyright notice.
7697 * NEWS: Update copyright dates.
7698 * catgets/gencat.c (print_version): Likewise.
7699 * csu/version.c (banner): Likewise.
7700 * debug/catchsegv.sh: Likewise.
7701 * debug/pcprofiledump.c (print_version): Likewise.
7702 * debug/xtrace.sh (do_version): Likewise.
7703 * elf/ldconfig.c (print_version): Likewise.
7704 * elf/ldd.bash.in: Likewise.
7705 * elf/pldd.c (print_version): Likewise.
7706 * elf/sotruss.sh: Likewise.
7707 * elf/sprof.c (print_version): Likewise.
7708 * iconv/iconv_prog.c (print_version): Likewise.
7709 * iconv/iconvconfig.c (print_version): Likewise.
7710 * locale/programs/locale.c (print_version): Likewise.
7711 * locale/programs/localedef.c (print_version): Likewise.
7712 * login/programs/pt_chown.c (print_version): Likewise.
7713 * malloc/memusage.sh (do_version): Likewise.
7714 * malloc/memusagestat.c (print_version): Likewise.
7715 * malloc/mtrace.pl: Likewise.
7716 * manual/libc.texinfo: Likewise.
7717 * nptl/version.c (banner): Likewise.
7718 * nscd/nscd.c (print_version): Likewise.
7719 * nss/getent.c (print_version): Likewise.
7720 * nss/makedb.c (print_version): Likewise.
7721 * posix/getconf.c (main): Likewise.
7722 * scripts/test-installation.pl: Likewise.
7723 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7725 2015-01-02 Will Newton <will.newton@linaro.org>
7727 * sysdeps/arm/armv7/configure: Removed.
7728 * sysdeps/arm/armv7/configure.ac: Likewise.
7730 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7732 * All files with FSF copyright notices: Update copyright dates
7733 using scripts/update-copyrights.
7734 * intl/plural.c: Regenerated.
7735 * locale/programs/charmap-kw.h: Likewise.
7736 * locale/programs/locfile-kw.h: Likewise.
7738 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7740 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7742 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7745 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7746 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7747 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7748 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7749 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7750 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7751 define as weak alias of __fegetenv. Use libm_hidden_weak.
7752 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7753 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7754 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7755 define as weak alias of __fegetenv. Use libm_hidden_weak.
7756 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7757 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7758 define as weak alias of __fegetenv. Use libm_hidden_weak.
7759 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7761 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7762 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7764 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7765 define as weak alias of __fegetenv. Use libm_hidden_weak.
7766 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7767 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7768 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7769 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7770 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7771 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7772 __fegetenv instead of fegetenv.
7773 (libc_feholdsetround_noex_ctx): Likewise.
7775 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
7777 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7778 (Elf_MIPS_ABIFlags_v0): New structure.
7779 (EF_MIPS_FP64): Define.
7780 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7781 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7782 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7783 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7784 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7785 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7786 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7787 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7788 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7789 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7790 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7791 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7792 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7793 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7794 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7795 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7796 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7797 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7798 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7799 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7800 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7801 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7803 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7805 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7806 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7807 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7808 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7809 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7810 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7811 * sysdeps/mips/tst-abi-interlink.c: Likewise.
7812 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7813 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7814 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7815 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7816 record the current FP ABI extension.
7817 (mips-mode-switch): Define to show if kernel headers support mode
7819 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7820 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7821 supported SYSV ABI version to 3.
7822 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7825 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7826 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7828 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7830 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7832 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7834 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7835 __fegetround and redefine to call __fegetround. Remove condition
7836 on [!__NO_MATH_INLINES].
7837 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7839 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7840 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7842 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7843 instead of <fenv_libc.h>.
7844 (__llrintl): Call fegetround instead of __fegetround.
7845 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7846 instead of <fenv_libc.h>.
7847 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7848 (__lrintl): Call fegetround instead of __fegetround.
7849 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7850 instead of <fenv_libc.h>.
7851 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7852 (__rintl): Call fegetround instead of __fegetround.
7854 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7856 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7859 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7862 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7863 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7864 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7866 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7868 * sysdeps/i386/tls-macros.h: Include <features.h>.
7869 (TLS_LE): Use non-PIC version for GCC >= 5.0.
7873 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7874 define for GCC >= 5.0.
7876 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
7878 * math/test-fenv.c (test_single_exception, set_single_exc,
7879 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7880 feexcp_mask_test, feenable_test, fe_single_test): Add
7881 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7882 case where they are not used.
7883 * math/libm-test.inc: Likewise.
7884 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7885 unused in the absence of FP rounding/exception support.
7886 * stdio-common/tst-printf-round.c: Likewise.
7887 * stdlib/tst-strtod-round.c: Likewise.
7888 * stdlib/tst-strtod-underflow.c: Likewise.
7890 2014-12-30 Joseph Myers <joseph@codesourcery.com>
7893 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7894 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7895 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7896 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7898 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7899 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7900 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7902 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7903 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7905 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7907 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7908 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7909 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7911 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7913 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7914 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7915 (__feraiseexcept): Likewise.
7916 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7917 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7919 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7920 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7922 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7923 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7924 Use libm_hidden_def.
7925 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7927 (feraiseexcept): Define as weak not strong alias. Use
7929 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7930 New inline function. Factored out of ...
7931 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
7932 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7933 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7935 * math/w_acos.c (__acos): Likewise.
7936 * math/w_asin.c (__asin): Likewise.
7937 * math/w_ilogb.c (__ilogb): Likewise.
7938 * math/w_j0.c (y0): Likewise.
7939 * math/w_j1.c (y1): Likewise.
7940 * math/w_jn.c (yn): Likewise.
7941 * math/w_log.c (__log): Likewise.
7942 * math/w_log10.c (__log10): Likewise.
7943 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7944 * sysdeps/aarch64/fpu/math_private.h
7945 (libc_feupdateenv_test_aarch64): Likewise.
7946 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7947 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7948 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7949 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7950 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7951 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7952 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7953 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7954 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7955 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7957 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7960 * io/test-utime.c (main): Replace %ld with %jd and cast to
7962 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7963 * nptl/tst-mutex5.c: Include <stdint.h>.
7964 (do_test): Replace %ld with %jd and cast to intmax_t.
7965 * posix/tst-regex.c (run_test): Likewise.
7966 (run_test_backwards): Likewise.
7967 * rt/tst-clock.c: Include <stdint.h>.
7968 (clock_test): Replace %ld with %jd and cast to intmax_t.
7969 * rt/tst-cpuclock1.c: Include <stdint.h>.
7970 (do_test): Replace %lu with %ju and cast to uintmax_t.
7971 * rt/tst-cpuclock2.c: Include <stdint.h>.
7972 (do_test): Replace %lu with %ju and cast to uintmax_t.
7973 * rt/tst-mqueue1.c: Include <stdint.h>.
7974 (check_attrs): Replace %ld with %jd and cast to intmax_t.
7975 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7977 * rt/tst-mqueue4.c (do_test): Likewise.
7978 * rt/tst-timer4.c: Include <stdint.h>.
7979 (check_ts): Replace %ld with %jd and cast to intmax_t.
7980 (do_test): Likewise.
7981 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7982 and cast to intmax_t.
7983 * sysdeps/pthread/tst-timer.c (main): Likewise.
7984 * time/clocktest.c (main): Likewise.
7985 * time/tst-posixtz.c (do_test): Likewise.
7986 * timezone/tst-timezone.c (main): Likewise.
7988 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7989 H.J. Lu <hongjiu.lu@intel.com>
7991 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7992 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7993 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7994 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7995 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7996 version if bit_Fast_Unaligned_Load is set.
7997 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7998 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7999 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8000 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8001 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8002 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8004 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
8005 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
8006 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
8008 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
8009 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
8010 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
8011 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
8013 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
8015 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
8016 instead of #if to avoid a Wundef warning.
8017 * stdlib/tst-limits.c (do_test): Likewise.
8019 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
8020 parallel other exception macros.
8021 (fegetenv): Convert from macro to extern inline so that it applies
8022 retroactively to inline functions already seen by the compiler.
8023 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
8025 * posix/Makefile (before-compile): Use $(objpfx) for
8026 posix-conf-vars-def.h.
8028 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8030 * posix/getconf.c (main): Use size_t for type of I.
8031 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
8034 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8035 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
8036 * posix/posix-envs.def: Likewise.
8037 * sysdeps/posix/sysconf.c: Likewise.
8038 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
8039 (specs): Remove array.
8040 * scripts/gen-posix-conf-vars.awk: Support generation of specs
8043 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
8044 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
8045 (__sysconf): Use CONF_IS_* macros.
8047 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
8048 ($(objpfx)posix-conf-vars-def.h): New target.
8049 * posix/posix-conf-vars.list: New file.
8050 * posix/posix-conf-vars.h: New file.
8051 * posix/confstr.c: Include posix-conf-vars.h.
8052 (confstr): Use CONF_IS_* macros.
8053 * posix/posix-envs.def: Include posix-conf-vars.h. Use
8055 * scripts/gen-posix-conf-vars.awk: New file.
8057 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
8059 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
8060 fegetround): Add no-op macros to avoid linknamespace issues.
8062 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
8063 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
8065 * sysdeps/unix/sysv/linux/tile/sysdep.h
8066 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
8067 assembly-specific section to avoid a redefinition warning.
8069 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
8070 long before casting to pointer to avoid a cast warning.
8072 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
8074 * sysdeps/tile/tilegx/Implies: New file.
8076 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
8078 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
8080 2014-12-23 Florian Weimer <fweimer@redhat.com>
8082 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
8084 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8086 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
8088 * sysdeps/unix/sysv/linux/utimes.c: Do not include
8089 <kernel-features.h>.
8090 (__utimes) [__NR_utimes]: Make code unconditional.
8091 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
8092 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8093 (__ASSUME_UTIMES): Do not undefine.
8094 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8095 (__ASSUME_UTIMES): Likewise.
8096 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8097 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8098 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8099 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8101 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
8103 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8105 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
8108 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8109 alias to weak alias for j0l, y0l.
8110 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8111 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8114 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8117 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
8119 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8120 to zero if not already defined.
8122 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8125 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8126 (__kernel_standard_f): Remove. Moved to k_standardf.c.
8127 (__kernel_standard_l): Remove. Moved to k_standardl.c with
8128 (char *) casts added.
8129 * sysdeps/ieee754/k_standardf.c: New file.
8130 * sysdeps/ieee754/k_standardl.c: Likewise.
8131 * math/Makefile (libm-support): Remove k_standard.
8132 (libm-calls): Add k_standard.
8134 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8136 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8137 Optimize to avoid an unnecessary FPCR read.
8139 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8141 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8142 Optimize to reduce FPCR/FPSR accesses.
8144 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8146 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8147 Call libc_fetestexcept_aarch64.
8149 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8151 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8152 Call libc_fesetround_aarch64.
8154 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8157 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8158 (__bind): Do not define as weak alias.
8159 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8161 (__getsockname): Do not define as weak alias.
8163 2014-12-22 Will Newton <will.newton@linaro.org>
8165 * manual/install.texi: Document that we require bison 2.7
8167 * INSTALL: Regenerate.
8168 * configure.ac: Use AC_CHECK_PROG_VER instead of
8169 AC_PATH_PROG when checking for bison and check for
8170 version 2.7 or above.
8171 * configure: Regenerate.
8173 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
8176 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8177 * sysdeps/tile/ffsll.c (ffsll): To here.
8179 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8181 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
8183 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8185 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8187 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8188 hidden ___tls_get_addr.
8189 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8190 hidden __tls_get_addr.
8191 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8192 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8195 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
8197 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8200 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
8202 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8203 from "call _dl_init@PLT".
8204 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8206 2014-12-21 Anders Kaseorg <andersk@mit.edu>
8208 * manual/search.texi: (Array Sort Function): Clarify stable sorting
8211 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
8213 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8215 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
8218 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8221 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
8223 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8225 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8226 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8227 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8228 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8229 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8231 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
8233 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8234 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8235 (PTR_SUBU): Use subu for mips32r6/mips64r6.
8236 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8237 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8239 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8241 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
8243 * string/strncat.c (STRNCAT): Simplify implementation.
8245 2014-12-19 David S. Miller <davem@davemloft.net>
8247 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8248 access the quad as both a long double and as a series of 4 words.
8250 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8251 link_map->l_info array access.
8253 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
8255 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8257 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8258 * math/atest-exp2.c (TIMEOUT): Likewise.
8259 * math/atest-sincos.c (TIMEOUT): Likewise.
8261 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8263 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8264 -Wno-error with -fno-builtin-lround.
8266 2014-12-19 Torvald Riegel <triegel@redhat.com>
8268 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8269 Contains futex constants and functions moved over from ...
8270 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
8271 <lowlevellock-futex.h>.
8272 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8273 (lll_timedwait_tid): Add comments and parentheses around macro
8276 2014-12-19 Torvald Riegel <triegel@redhat.com>
8278 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8279 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
8280 (__lll_private_flag): Remove.
8281 (lll_futex_wait): Likewise.
8282 (lll_futex_timed_wait): Likewise.
8283 (lll_futex_wake): Likewise.
8284 (lll_futex_requeue): Likewise.
8285 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8286 (__lll_timedwait_tid): Spell out argument names.
8287 (lll_timedwait_tid): Add comments and parentheses around macro
8289 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8290 LLL_SHARED and LLL_PRIVATE usable from assembly code.
8292 2014-12-19 Torvald Riegel <triegel@redhat.com>
8294 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8295 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8296 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8297 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8298 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8299 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8300 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8301 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8302 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8303 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8304 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8305 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8306 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8307 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8308 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8309 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8310 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8311 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8312 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8314 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8316 * sysdeps/x86_64/x32/Makefile: New file.
8318 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8320 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8321 1L with (mp_limb_t) 1.
8323 2014-12-17 Roland McGrath <roland@hack.frob.com>
8325 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8326 * nptl/libc_pthread_init.c: ... here.
8327 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8328 * nptl/register-atfork.c: ... here.
8330 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8331 Use pthread_sigmask rather than INTERNAL_SYSCALL.
8332 Use assert_perror to check its return value.
8333 (__gai_create_helper_thread): Likewise.
8335 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8337 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8339 2014-12-17 Joseph Myers <joseph@codesourcery.com>
8342 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8344 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8346 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8348 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8350 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8351 (profil_counter): Likewise.
8352 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8353 (profil_counter): Likewise.
8354 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8356 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8358 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8359 (profil_counter): Likewise.
8360 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8362 [!__profil_counter] (profil_counter): Define as weak alias of
8364 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8365 (profil_counter): Rename to __profil_counter.
8366 [!__profil_counter] (profil_counter): Define as weak alias of
8368 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8369 (profil_counter): Rename to __profil_counter.
8370 [!__profil_counter] (profil_counter): Define as weak alias of
8372 * sysdeps/posix/profil.c: Update comment referring to
8374 (__profil): Use __profil_counter instead of profil_counter.
8375 * sysdeps/posix/sprofil.c (profil_counter): Rename to
8376 __profil_counter. Use __profil_counter_ushort and
8377 __profil_counter_uint in definitions.
8378 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8379 instead of profil_counter_uint and profil_counter_ushort.
8382 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8383 define as weak alias of __inet_makeaddr.
8384 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8385 as weak alias of __inet_addr.
8386 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8387 as weak alias of __inet_pton. Use libc_hidden_weak.
8388 * include/arpa/inet.h (__inet_pton): Declare. Use
8390 (inet_makeaddr): Don't use libc_hidden_proto.
8391 (__inet_makeaddr): Declare. Use libc_hidden_proto.
8392 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8393 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
8394 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8396 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8397 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8399 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
8401 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8403 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8405 * stdio-common/bug-vfprintf-nargs.c (do_test):
8406 Cast value to intptr_t to avoid format warning
8407 for usage with PRIdPTR printing macro.
8409 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8411 * libio/tst-widetext.c (do_test):
8412 Use format type %td instead of %Zd for ptrdiff_t
8413 in order to avoid format warning.
8415 2014-12-17 Andreas Schwab <schwab@suse.de>
8417 * nscd/mem.c (gc): Add size_t cast to match printf format.
8419 2014-12-16 Roland McGrath <roland@hack.frob.com>
8421 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8422 (init): Apply PTR_MANGLE to pointers before storing them.
8423 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8426 2014-12-16 Joseph Myers <joseph@codesourcery.com>
8429 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8430 define as weak alias of __memrchr.
8431 (__memrchr): Do not define as strong alias of memrchr.
8432 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8434 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8435 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8436 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8439 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8440 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
8441 (if_indextoname): Rename to __if_indextoname and define as weak
8442 alias of __if_indextoname. Use libc_hidden_weak.
8443 (if_freenameindex): Rename to __if_freenameindex and define as
8444 weak alias of __if_freenameindex.
8445 (if_nameindex): Rename to __if_nameindex and define as weak alias
8447 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8448 __if_nametoindex and define as weak alias of __if_nametoindex.
8449 Use libc_hidden_weak.
8450 (if_freenameindex): Rename to __if_freenameindex and define as
8451 weak alias of __if_freenameindex.
8452 (if_nameindex): Rename to __if_nameindex and define as weak alias
8454 (if_indextoname): Rename to __if_indextoname and define as weak
8455 alias of __if_indextoname. Use libc_hidden_weak.
8456 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8457 __if_nametoindex and define as weak alias of __if_nametoindex.
8458 Use libc_hidden_weak.
8459 (if_freenameindex): Rename to __if_freenameindex and define as
8460 weak alias of __if_freenameindex. Use libc_hidden_weak.
8461 (if_nameindex_netlink): Use __if_freenameindex instead of
8463 (if_nameindex): Rename to __if_nameindex and define as weak alias
8464 of __if_nameindex. Use libc_hidden_weak.
8465 (if_indextoname): Rename to __if_indextoname and define as weak
8466 alias of __if_indextoname. Use libc_hidden_weak.
8467 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8469 [!_ISOMAC] (__if_freenameindex): Likewise.
8470 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8472 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8474 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8475 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8476 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8477 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8478 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8479 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8480 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8482 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8484 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8485 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8487 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8489 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8490 subscript above bounds'
8492 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8495 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
8497 * libio/tst-fopenloc.c: Use test-skeleton.c.
8499 * stdlib/tst-bsearch.c: Use test-skeleton.c.
8500 (entry): Rename to ITEM.
8501 (do_test, comp): Adjust.
8503 * stdio-common/tst-fseek.c: Use test-skeleton.c.
8505 2014-12-16 Torvald Riegel <triegel@redhat.com>
8507 * string/tester.c: Include <libc-internal.h>.
8508 (test_memset): Ignore -Wmemset-transposed-args.
8510 2014-12-16 Torvald Riegel <triegel@redhat.com>
8512 * misc/tst-mntent2.c (do_test): Fix warning.
8514 2014-12-16 Torvald Riegel <triegel@redhat.com>
8516 * elf/tst-unique4lib.cc(a): Mark as used.
8518 2014-12-16 Florian Weimer <fweimer@redhat.com>
8521 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8524 2014-12-16 Allan McRae <allan@archlinux.org>
8526 * stdio-common/Makefile (tests): Re-add bug26.
8528 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
8531 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8534 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
8536 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8537 (__lll_lock_wait): Likewise.
8538 (__lll_timedlock_wait): Likewise.
8539 (__lll_timedwait_tid): Likewise.
8540 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8541 (__lll_robust_timedlock_wait): Likewise.
8542 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8543 (lll_cond_trylock): Likewise.
8544 (__lll_lock): Likewise.
8545 (__lll_robust_lock): Likewise.
8546 (__lll_cond_lock): Likewise.
8547 (lll_robust_cond_lock): Likewise.
8548 (__lll_timedlock): Likewise.
8549 (__lll_robust_timedlock): Likewise.
8550 (__lll_unlock): Likewise.
8551 (__lll_robust_unlock): Likewise.
8552 (lll_wait_tid): Likewise.
8553 (lll_timedwait_tid): Likewise.
8555 2014-12-15 Torvald Riegel <triegel@redhat.com>
8557 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8559 2014-12-15 Torvald Riegel <triegel@redhat.com>
8561 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8563 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8565 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8566 * stdio-common/tst-sprintf.c: Likewise.
8568 2014-12-15 Torvald Riegel <triegel@redhat.com>
8570 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8572 2014-12-15 Jeff Law <law@redhat.com>
8575 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8576 on the heap. (CVE-2012-3406)
8577 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8578 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
8579 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8581 2014-12-15 Will Newton <will.newton@linaro.org>
8583 * manual/install.texi: Bump required version of texinfo
8585 * INSTALL: Regenerated.
8586 * configure.ac: Check for makeinfo version 4.7 and above.
8587 * configure: Regenerated.
8589 2014-12-12 Roland McGrath <roland@hack.frob.com>
8591 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8592 PREFIX, string constant to insert between directory and name.
8593 * sysdeps/posix/shm_open.c: Update caller.
8594 * sysdeps/posix/shm_unlink.c: Likewise.
8595 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8596 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8597 (SEM_SHM_PREFIX): New macro.
8598 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8599 [$(have-thread-library) = no].
8600 * nptl/Makefile (libpthread-routines): Add shm-directory.
8601 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8602 * sysdeps/nptl/shm-directory.h: New file.
8603 * sysdeps/posix/shm-directory.c
8604 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8605 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8606 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8608 (__where_is_shmfs): Function removed.
8609 (mountpoint, defaultmount, defaultdir, __namedsem_once):
8611 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8613 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
8615 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8616 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8617 unconditional for use inside libpthread.
8618 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8620 2014-12-12 Roland McGrath <roland@hack.frob.com>
8622 * nptl/pthread_getaffinity.c: New file.
8623 * nptl/pthread_setaffinity.c: New file.
8624 * nptl/pthread_getname.c: New file.
8625 * nptl/pthread_setname.c: New file.
8627 * nptl/pthread_create.c (START_THREAD_DEFN)
8628 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8630 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8631 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8633 * resolv/res_send.c (send_vc): Disable warning resplen may
8634 be used uninitialized.
8636 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8639 (ATTR_NULL): New define checks ATTR against NULL.
8640 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8641 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8643 2014-12-11 James Lemke <jwlemke@codesourcery.com>
8647 (mem2mem_check): Revert my previous change.
8648 (malloc_check_get_size): Revert my previous change.
8649 (mem2chunk_check): Revert my previous change.
8651 2014-12-11 Roland McGrath <roland@hack.frob.com>
8653 * sysdeps/posix/shm-directory.c: New file.
8654 * sysdeps/posix/shm-directory.h: New file.
8655 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8656 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8657 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
8658 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8659 Transmute EPERM to EACCES.
8660 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8662 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
8663 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8665 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8667 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8668 pointer and cast to uintptr_t.
8669 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8670 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8671 Add cast to avoid warning.
8672 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8674 2014-12-11 Joseph Myers <joseph@codesourcery.com>
8676 * nptl/semaphore.h: Move to ...
8677 * sysdeps/pthread/semaphore.h: ... here.
8678 * Makefile (installed-headers): Change nptl/semaphore.h to
8679 sysdeps/pthread/semaphore.h.
8681 2014-12-11 Roland McGrath <roland@hack.frob.com>
8683 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8684 generated error format strings.
8686 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8687 -Wformat-extra-args warnings for scanf formats.
8688 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8689 test of zero-length format (duh).
8690 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8691 corner-case scanf format test.
8692 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8693 generated fprintf format string.
8694 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8695 corner-case sprintf format tests.
8696 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8697 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8698 -Wformat-extra-args warnings throughout.
8699 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8700 (CFLAGS-scanf4.c): Likewise.
8701 (CFLAGS-scanf7.c): Likewise.
8702 (CFLAGS-tst-sprintf.c): Likewise.
8703 (CFLAGS-tst-printf.c): Likewise.
8704 (CFLAGS-tst-printfsz.c): Likewise.
8706 2014-12-11 Joseph Myers <joseph@codesourcery.com>
8708 * include/cpio.h: New file.
8709 * include/fmtmsg.h: Likewise.
8711 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
8712 corresponding format argument to size_t.
8713 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
8715 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
8716 corresponding format argument to size_t.
8717 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
8719 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
8720 corresponding format argument to size_t.
8721 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8722 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8723 (CFLAGS-tst-mbswcs2.c): Likewise.
8724 (CFLAGS-tst-mbswcs3.c): Likewise.
8725 (CFLAGS-tst-mbswcs4.c): Likewise.
8726 (CFLAGS-tst-mbswcs5.c): Likewise.
8727 (CFLAGS-tst-trans.c): Likewise
8729 2014-12-11 Roland McGrath <roland@hack.frob.com>
8731 * posix/regexbug1.c (main): Use "%s" format with regerror results,
8732 rather than assuming they won't contain any '%'s.
8734 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
8736 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8737 inhibit_loop_to_libcall to avoid recursive calls.
8738 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8739 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8741 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8743 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8746 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
8748 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8749 integer value instead of boolean.
8751 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
8753 * malloc/malloc.c: Fix powerof2 check.
8755 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8757 * locale/programs/locfile.h (maybe_swap_uint32):
8758 Remove inline and add unused attribute.
8760 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8762 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8763 Truncating assembler expression to a .long expression.
8765 2014-12-11 Andreas Schwab <schwab@suse.de>
8767 * elf/rtld.c (struct map_args): Constify str member.
8768 (do_preload): Constify fname argument.
8770 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8772 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8773 constants definition.
8775 2014-12-11 Andreas Schwab <schwab@suse.de>
8778 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8779 FORCE_ELISION instead of DO_ELISION.
8780 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8782 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8785 * iconvdata/gconv-modules: Remove duplicate entry.
8787 2014-12-11 Will Newton <will.newton@linaro.org>
8789 Merge gettext 0.19.3 into intl/.
8791 This involves a number of cosmetic changes to comments
8792 and ANSI function definitions and prototypes throughout
8793 all the files. The gettext copyright header is used but
8794 with the date ranges taken from the glibc copy.
8796 * NEWS: Add gettext merge to 2.21.
8797 * intl/bindtextdom.c: Switch to gettext copyright.
8798 Use ANSI definitions and prototypes.
8799 Use gl_* locking primitives rather than __libc_* ones.
8800 Use __builtin_expect rather than __glibc_likely/unlikely.
8801 * intl/dcgettext.c: Switch to gettext copyright.
8802 Use ANSI definitions and prototypes.
8803 * intl/dcigettext.c: Switch to gettext copyright.
8804 Use ANSI definitions and prototypes.
8805 (INTDIV0_RAISES_SIGFPE): New define.
8806 Use gl_* locking primitives rather than __libc_* ones.
8807 Include eval-plural.h instead of plural-eval.c.
8808 Use __builtin_expect rather than __glibc_likely/unlikely.
8809 * intl/dcngettext.c: Switch to gettext copyright.
8810 Use ANSI definitions and prototypes.
8811 * intl/dgettext.c: Likewise.
8812 * intl/dngettext.c: Likewise.
8813 * intl/plural-eval.c: Renamed to...
8814 * intl/eval-plural.h: ...this.
8815 * intl/explodename.c: Switch to gettext copyright.
8816 Use ANSI definitions and prototypes.
8817 (_nl_explode_name): Use strchr instead of __rawmemchr.
8818 * intl/finddomain.c: Switch to gettext copyright.
8819 Use ANSI definitions and prototypes.
8820 Use gl_* locking primitives rather than __libc_* ones.
8821 (_nl_find_domain): Use malloc rather than alloca for
8822 allocation of temporary locale name.
8823 * intl/gettext.c: Switch to gettext copyright.
8824 Use ANSI definitions and prototypes.
8825 * intl/gettextP.h: Switch to gettext copyright.
8826 Use ANSI definitions and prototypes.
8827 Use gl_* locking primitives rather than __libc_* ones.
8828 * intl/gmo.h: Switch to gettext copyright.
8829 (struct sysdep_string): Move struct segment_pair outside of
8831 * intl/hash-string.c: Use ANSI definitions and prototypes.
8832 * intl/hash-string.h: Switch to gettext copyright.
8833 Use ANSI definitions and prototypes.
8834 * intl/l10nflist.c: Switch to gettext copyright.
8835 Use ANSI definitions and prototypes.
8836 (_nl_normalize_codeset): Avoid integer overflow.
8837 * intl/loadinfo.h: Switch to gettext copyright.
8838 Use ANSI definitions and prototypes.
8839 (LIBINTL_DLL_EXPORTED): New define.
8840 (PATH_SEPARATOR): New define.
8841 * intl/loadmsgcat.c: Switch to gettext copyright.
8842 * intl/localealias.c: Switch to gettext copyright.
8843 Use ANSI definitions and prototypes.
8844 (_nl_expand_alias): Use PATH_SEPARATOR.
8845 * intl/ngettext.c: Switch to gettext copyright.
8846 Use ANSI definitions and prototypes.
8847 * intl/plural-exp.c: Likewise.
8848 * intl/plural-exp.h: Switch to gettext copyright.
8849 Use ANSI definitions and prototypes.
8850 (struct expression): Move definition of enum operator outside
8851 of struct definition.
8852 * intl/plural.c: Regenerate.
8853 * intl/plural.y: Switch to gettext copyright.
8854 Use ANSI definitions and prototypes.
8856 * intl/textdomain.c: Switch to gettext copyright.
8857 Use ANSI definitions and prototypes.
8858 Use gl_* locking primitives rather than __libc_* ones.
8860 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
8862 * debug/warning-nop.c: Add used atrribute.
8864 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8866 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8868 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8869 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8870 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8872 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8873 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8876 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8877 Undefine after defining function. Define as weak alias of
8878 __wcschr. Use libc_hidden_weak.
8879 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
8880 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8881 (libc_hidden_def): Also define __GI___wcschr alias.
8882 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8883 __wcschr and define as weak alias of __wcschr.
8884 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8886 [!WCSCHR] (DEFAULT_WCSCHR): Define.
8887 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8888 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
8889 libc_hidden_weak. Do not use libc_hidden_def.
8890 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8891 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8892 __GI___wcschr alias.
8893 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8894 [IS_IN (libc)] (wcschr): Define as macro expanding to
8896 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8897 [IS_IN (libc)] (__wcschr_power6): Likewise.
8898 [IS_IN (libc)] (__wcschr_power7): Likewise.
8899 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
8901 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8903 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8904 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8905 __wcschr and define as weak alias of __wcschr. Use
8906 libc_hidden_builtin_def.
8907 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8908 as weak alias of __wcschr. Use libc_hidden_weak.
8909 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8911 * time/era.c (_nl_init_era_entries): Likewise.
8912 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8914 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8915 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8917 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8919 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8920 format for long int variable.
8922 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
8925 * manual/search.texi: (Array Sort Function): Remove claim how to make
8928 2014-12-10 Andreas Schwab <schwab@suse.de>
8931 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8932 user-controlled locks.
8934 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
8936 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8939 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8941 * configure.ac (--disable-werror): New configure option.
8942 (enable_werror): New AC_SUBST.
8943 * configure: Regenerated.
8944 * config.make.in (enable-werror): New variable.
8945 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8947 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8948 * manual/install.texi (Configuring and compiling): Document
8950 * INSTALL: Regenerated.
8951 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8952 (CFLAGS-tst-chk2.c): Likewise.
8953 (CFLAGS-tst-chk3.c): Likewise.
8954 (CFLAGS-tst-chk4.cc): Likewise.
8955 (CFLAGS-tst-chk5.cc): Likewise.
8956 (CFLAGS-tst-chk6.cc): Likewise.
8957 (CFLAGS-tst-lfschk1.c): Likewise.
8958 (CFLAGS-tst-lfschk2.c): Likewise.
8959 (CFLAGS-tst-lfschk3.c): Likewise.
8960 (CFLAGS-tst-lfschk4.cc): Likewise.
8961 (CFLAGS-tst-lfschk5.cc): Likewise.
8962 (CFLAGS-tst-lfschk6.cc): Likewise.
8964 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8965 (main): Disable -Wdeprecated-declarations around calls to
8966 register_printf_function.
8968 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8969 (do_test): Disable -Wdiv-by-zero around some calls to
8970 fwrite_unlocked and fread_unlocked.
8972 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8973 (DIAG_POP_NEEDS_COMMENT): Likewise.
8974 (_DIAG_STR1): Likewise.
8975 (_DIAG_STR): Likewise.
8976 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8977 * stdio-common/bug21.c: Include <libc-internal.h>.
8978 (do_test): Disable -Wformat around call to sscanf.
8979 * stdio-common/scanf14.c: Include <libc-internal.h>.
8980 (main): Disable -Wformat around some calls to scanf functions.
8982 2014-12-09 Torvald Riegel <triegel@redhat.com>
8984 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8986 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8988 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8989 stack variable alignment.
8991 2014-12-06 Joseph Myers <joseph@codesourcery.com>
8994 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8995 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8996 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8997 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8998 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8999 __getrlimit instead of getrlimit.
9000 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
9001 __gettimeofday instead of gettimeofday.
9002 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9004 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9006 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9007 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
9009 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9010 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9012 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9014 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
9015 for wide-character tests.
9017 2014-12-04 Roland McGrath <roland@hack.frob.com>
9019 * io/openat64.c: #include <libc-internal.h>
9020 (__openat64): Prototypify. Use ignore_value on MODE.
9021 * io/openat.c: Likewise.
9022 * misc/reboot.c: #include <libc-internal.h>
9023 (reboot): Prototypify. Use ignore_value on HOWTO.
9024 * misc/ptrace.c: #include <libc-internal.h>
9025 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
9027 2014-12-04 Joseph Myers <joseph@codesourcery.com>
9029 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
9030 XPG4, UNIX98 and XOPEN2K.
9031 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
9033 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9035 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9037 * libio/fileops.c: Use ISO C style for function definitions.
9038 * libio/iofopen.c: Likewise.
9039 * libio/wfileops.c: Likewise.
9042 * libio/fileops.c (_IO_new_file_underflow): Unset cached
9044 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
9045 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
9046 (fgets_func): Function pointer to fgets and fgetws.
9047 (do_ftell_test): Add test to verify ftell value after read
9049 (do_test): Set fgets_func.
9051 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
9052 O_TRUNC flag for w and w+ modes.
9053 (do_rewind_test): Likewise.
9054 (do_ftell_test): Likewise.
9055 (do_write_test): Likewise.
9058 * libio/fileops.c (do_ftell): Seek only when there are
9060 * libio/wfileops.c (do_ftell_wide): Likewise.
9061 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
9063 (do_one_test): Call it.
9065 2014-12-03 Joseph Myers <joseph@codesourcery.com>
9067 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
9068 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
9069 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
9071 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9072 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9073 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9075 2014-12-02 Joseph Myers <joseph@codesourcery.com>
9077 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
9079 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9082 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
9083 as weak alias of __getifaddrs. Use libc_hidden_weak.
9084 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9085 __freeifaddrs. Use libc_hidden_weak.
9086 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
9087 define 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/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
9091 __getifaddrs and define as weak alias of __getifaddrs. Use
9093 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
9094 __freeifaddrs. Use libc_hidden_weak.
9095 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9097 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9098 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9100 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
9103 * sysdeps/mips/start.S (__start): Use indirect jump to call
9106 2014-12-02 Joseph Myers <joseph@codesourcery.com>
9108 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9110 * nptl/tst-mutex1.c: Include <stdbool.h>.
9111 [!ATTR] (ATTR_NULL): New macro.
9112 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9113 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9114 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9116 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9120 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9121 Change conditional to [__USE_MISC].
9124 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9126 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9128 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9130 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9132 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9133 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9134 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9135 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9136 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9137 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9138 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9139 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9140 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9142 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9144 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9146 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9147 Remove strpbrk objects.
9148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9149 (__libc_ifunc_impl_list): Remove strpbrk implementation.
9150 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9151 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9152 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9153 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9155 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9156 Remove strcspn objects.
9157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9158 (__libc_ifunc_impl_list): Remove strcspn implementation.
9159 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9160 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9161 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9162 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9164 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9165 Remove strspn objetcs.
9166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9167 (__libc_ifunc_impl_list): Remove strspn implementation.
9168 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9169 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9170 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9171 * sysdeps/powerpc/powerpc64/strspn.S: New file.
9173 2014-12-01 James Lemke <jwlemke@codesourcery.com>
9177 (mem2mem_check): Add a terminator to the chain of checking blocks.
9178 (malloc_check_get_size): Use it here.
9179 (mem2chunk_check): Ditto.
9181 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9183 * sysdeps/powerpc/powerpc64/strtok.S: New file.
9184 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9186 2014-11-29 Carlos O'Donell <carlos@redhat.com>
9188 * bits/ioctl-types.h: Indent preprocessor directives correctly.
9190 * nptl/nptl-init.c: Include libc-internal.h.
9191 (__pthread_initialize_minimal_internal): Use ROUND_UP.
9193 * elf/ldconfig.c (search_dir): Expand comment.
9195 2014-11-29 Joseph Myers <joseph@codesourcery.com>
9197 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9199 (linknamespace-symlist-stdlibs-tests): Likewise.
9200 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9201 instead of $(objpfx)symlist-stdlibs.
9202 (linknamespace-libs-isoc): New variable.
9203 (linknamespace-libs): Use $(linknamespace-libs-isoc).
9204 (linknamespace-libs-ISO): New variable.
9205 (linknamespace-libs-ISO99): Likewise.
9206 (linknamespace-libs-ISO11): Likewise.
9207 (linknamespace-libs-XPG3): Likewise.
9208 (linknamespace-libs-XPG4): Likewise.
9209 (linknamespace-libs-POSIX): Likewise.
9210 (linknamespace-libs-UNIX98): Likewise.
9211 (linknamespace-libs-XOPEN2K): Likewise.
9212 (linknamespace-libs-POSIX2008): Likewise.
9213 (linknamespace-libs-XOPEN2K8): Likewise.
9214 ($(objpfx)symlist-stdlibs): Replace by
9215 $(linknamespace-symlist-stdlibs-tests). Use
9216 $(linknamespace-libs-$*) as set of libraries.
9217 ($(linknamespace-header-tests)): Update dependencies. Use
9218 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9219 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9220 * conform/linknamespace.pl: Remove comment about considering
9221 definitions of symbols from irrelevant libraries.
9223 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
9226 * elf/dl-tls.c: Include <atomic.h>.
9227 (oom): Remove #ifdef SHARED/#endif.
9228 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9229 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
9230 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9232 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9233 * nptl/Makefile (tests): Add tst-stack4.
9234 (modules-names): Add tst-stack4mod.
9235 ($(objpfx)tst-stack4): New.
9236 (tst-stack4mod.sos): Likewise.
9237 ($(objpfx)tst-stack4.out): Likewise.
9238 ($(tst-stack4mod.sos)): Likewise.
9240 * nptl/tst-stack4.c: New file.
9241 * nptl/tst-stack4mod.c: Likewise.
9243 2014-11-27 J. Brown <jb999@gmx.de>
9245 * sysdeps/x86/bits/string.h: Add recent CPUs.
9247 2014-11-27 Joseph Myers <joseph@codesourcery.com>
9249 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9252 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9255 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9258 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
9260 * nscd/connections.c: Include libc-internal.h because of macro
9263 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9265 * string/bits/string3.h (__warn_memset_zero_len): Don't
9266 declare for gcc newer than 5.0.
9267 (memset): Don't test for zero-length __LEN for gcc newer than
9270 2014-11-27 Joseph Myers <joseph@codesourcery.com>
9272 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9273 size_t for %zu format.
9275 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9276 difference, not %ju.
9278 2014-11-26 Joseph Myers <joseph@codesourcery.com>
9280 * include/libc-internal.h (ignore_value): New macro.
9281 * nscd/connections.c (restart): Wrap calls to setuid and setgid
9284 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9287 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9288 pthread_cleanup_push to void *.
9290 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9295 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9296 instead of 1L << 52.
9298 * libio/bug-rewind.c (do_test): Check fwscanf return values.
9299 * libio/bug-rewind2.c (do_test): Likewise.
9301 * debug/test-stpcpy_chk-ifunc.c: Remove file.
9302 * debug/test-strcpy_chk-ifunc.c: Likewise.
9303 * wcsmbs/test-wcschr-ifunc.c: Likewise.
9304 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9305 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9306 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9307 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9308 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9309 * Rules [$(multi-arch) = no] (tests): Do not filter out
9311 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9312 * debug/Makefile (tests-ifunc): Remove variable.
9313 (tests): Do not add $(tests-ifunc).
9314 * wcsmbs/Makefile (tests-ifunc): Remove variable.
9315 (tests): Do not add $(tests-ifunc).
9316 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9317 [TEST_IFUNC]: Remove conditionals.
9318 * string/test-string.h (TEST_IFUNC): Remove macro.
9319 [TEST_IFUNC]: Remove conditionals.
9321 * string/test-strchr.c [!WIDE] (L): New macro.
9322 [WIDE] (L): Likewise.
9323 (check1): Use CHAR instead of char. Use L on string and character
9326 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
9328 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9330 * sysdeps/powerpc/bits/atomic.h
9331 (__arch_atomic_exchange_and_add_32_acq): Add definition.
9332 (__arch_atomic_exchange_and_add_32_rel): Likewise.
9333 (atomic_exchange_and_add_acq): Likewise.
9334 (atomic_exchange_and_add_rel): Likewise.
9335 * sysdeps/powerpc/powerpc32/bits/atomic.h
9336 (__arch_atomic_exchange_and_add_64_acq): Add definition.
9337 (__arch_atomic_exchange_and_add_64_rel): Likewise.
9338 * sysdeps/powerpc/powerpc64/bits/atomic.h
9339 (__arch_atomic_exchange_and_add_64_acq): Add definition.
9340 (__arch_atomic_exchange_and_add_64_rel): Likewise.
9342 2014-11-26 Torvald Riegel <triegel@redhat.com>
9344 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9345 Change synchronization of __sched_fifo_min_prio and
9346 __sched_fifo_max_prio.
9347 * nptl/pthread_mutexattr_getprioceiling.c
9348 (pthread_mutexattr_getprioceiling): Likewise.
9349 * nptl/pthread_mutexattr_setprioceiling.c
9350 (pthread_mutexattr_setprioceiling): Likewise.
9351 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9352 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9355 2014-11-26 Joseph Myers <joseph@codesourcery.com>
9357 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9360 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9362 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9363 third argument const.
9365 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
9367 fnmatch: work around GCC compiler warning bug with uninit var
9368 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9369 This works around a bug with x86-64 GCC 4.9.2 and earlier
9370 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9371 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9372 used uninitialized in this function [-Wmaybe-uninitialized]".
9374 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9376 * posix/bug-regex31.c (main): Return RES not 0.
9378 2014-11-25 Anton Blanchard <anton@samba.org>
9380 * sysdeps/powerpc/bits/atomic.h
9381 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9383 2014-11-24 Sterling Augustine <saugustine@google.com>
9385 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9387 2014-11-24 Ryan Cumming <etaoins@gmail.com>
9390 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9392 2014-11-24 Joseph Myers <joseph@codesourcery.com>
9395 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9396 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9398 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9399 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9401 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9403 * string/strncpy.c (strncpy): Improve performance by using memset.
9405 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9407 * string/strcpy.c (strcpy):
9408 Improve performance by using strlen and memcpy.
9410 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
9412 * string/strcoll_l.c (get_next_seq): __always_inline.
9413 * string/strcoll_l.c (do_compare): __always_inline.
9415 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9417 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9419 * include/mqueue.h: Likewise.
9420 * include/stdlib.h: Likewise.
9422 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9423 (get_null_defines): Adjust.
9424 * sunrpc/Makefile: Adjust comment.
9425 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9426 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9427 (CFLAGS-interp.c): Likewise.
9428 (CFLAGS-ldconfig.c): Likewise.
9429 (CPPFLAGS-.os): Likewise.
9430 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9431 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9432 * extra-modules.mk (extra-modules.mk): Likewise.
9433 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9434 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9435 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9436 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9437 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9438 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9439 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9440 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9441 * iconvdata/Makefile (CPPFLAGS): Likewise.
9442 (cpp-srcs-left): Add libof for all iconvdata routines.
9443 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9444 * include/assert.h: Likewise.
9445 * include/ctype.h: Likewise.
9446 * include/errno.h: Likewise.
9447 * include/libc-symbols.h: Likewise.
9448 * include/math.h: Likewise.
9449 * include/netdb.h: Likewise.
9450 * include/resolv.h: Likewise.
9451 * include/stdio.h: Likewise.
9452 * include/stdlib.h: Likewise.
9453 * include/string.h: Likewise.
9454 * include/sys/stat.h: Likewise.
9455 * include/wctype.h: Likewise.
9456 * intl/l10nflist.c: Likewise.
9457 * libidn/idn-stub.c: Likewise.
9458 * libio/libioP.h: Likewise.
9459 * nptl/libc_multiple_threads.c: Likewise.
9460 * nptl/pthreadP.h: Likewise.
9461 * posix/regex_internal.h: Likewise.
9462 * resolv/res_hconf.c: Likewise.
9463 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9464 * sysdeps/arm/memmove.S: Likewise.
9465 * sysdeps/arm/sysdep.h: Likewise.
9466 * sysdeps/generic/_itoa.h: Likewise.
9467 * sysdeps/generic/symbol-hacks.h: Likewise.
9468 * sysdeps/gnu/errlist.awk: Likewise.
9469 * sysdeps/gnu/errlist.c: Likewise.
9470 * sysdeps/i386/i586/memcpy.S: Likewise.
9471 * sysdeps/i386/i586/memset.S: Likewise.
9472 * sysdeps/i386/i686/memcpy.S: Likewise.
9473 * sysdeps/i386/i686/memmove.S: Likewise.
9474 * sysdeps/i386/i686/mempcpy.S: Likewise.
9475 * sysdeps/i386/i686/memset.S: Likewise.
9476 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9477 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9478 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9479 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9480 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9481 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9482 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9483 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9484 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9485 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9486 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9487 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9488 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9489 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9490 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9491 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9492 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9493 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9494 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9495 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9496 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9497 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9498 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9499 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9500 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9501 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9502 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9503 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9504 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9505 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9506 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9507 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9508 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9509 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9510 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9511 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9512 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9513 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9514 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9516 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9517 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9518 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9519 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9520 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9521 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9522 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9523 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9524 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9525 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9526 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9527 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9528 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9529 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9530 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9531 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9532 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9533 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9534 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9535 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9536 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9537 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9538 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9539 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9540 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9541 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9542 * sysdeps/posix/closedir.c: Likewise.
9543 * sysdeps/posix/opendir.c: Likewise.
9544 * sysdeps/posix/readdir.c: Likewise.
9545 * sysdeps/posix/rewinddir.c: Likewise.
9546 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9547 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9548 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9549 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9550 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9551 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9552 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9553 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9554 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9555 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9556 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9557 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9558 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9559 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9560 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9561 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9562 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9563 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9564 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9565 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9566 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9567 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9568 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9569 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9570 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9571 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9572 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9573 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9574 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9575 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9576 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9577 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9578 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9580 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9581 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9582 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9583 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9584 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9585 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9586 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9587 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9588 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9589 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9590 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9591 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9592 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9593 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9594 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9595 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9596 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9597 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9598 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9599 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9600 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9601 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9602 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9603 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9604 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9605 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9606 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9607 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9608 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9609 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9610 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9611 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9612 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9613 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9614 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9615 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9616 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9617 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9618 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9619 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9620 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9621 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9622 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9623 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9624 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9625 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9626 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9627 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9628 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9629 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9630 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9631 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9632 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9633 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9634 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9635 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9636 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9637 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9638 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9639 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9640 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9641 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9642 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9643 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9644 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9645 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9646 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9647 * sysdeps/unix/alpha/sysdep.S: Likewise.
9648 * sysdeps/unix/alpha/sysdep.h: Likewise.
9649 * sysdeps/unix/make-syscalls.sh: Likewise.
9650 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9651 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9652 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9653 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9654 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9655 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9656 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9657 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9658 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9659 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9660 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9661 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9662 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9663 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9664 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9665 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9666 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9667 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9668 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9669 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9670 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9671 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9672 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9673 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9674 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9675 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9676 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9679 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9680 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9681 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9682 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9683 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9684 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9685 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9687 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9688 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9689 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9690 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9691 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9692 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9693 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9694 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9695 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9696 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9697 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9699 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9700 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9701 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9702 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9703 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9704 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9705 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9706 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9708 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9709 * sysdeps/x86_64/memcpy.S: Likewise.
9710 * sysdeps/x86_64/memmove.c: Likewise.
9711 * sysdeps/x86_64/memset.S: Likewise.
9712 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9713 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9714 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9715 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9716 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9717 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9718 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9719 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9720 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9721 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9722 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9723 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9724 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9725 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9726 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9727 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9728 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9729 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9730 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9731 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9732 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9733 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9734 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9735 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9736 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9737 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9738 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9739 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9740 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9741 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9742 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9743 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9744 * sysdeps/x86_64/strcmp.S: Likewise.
9746 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9748 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9749 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9750 * elf/rtld-Rules: Likewise.
9751 * elf/setup-vdso.h: Likewise.
9752 * include/assert.h: Likewise.
9753 * include/bits/stdlib-float.h: Likewise.
9754 * include/errno.h: Likewise.
9755 * include/sys/stat.h: Likewise.
9756 * include/unistd.h: Likewise.
9757 * sysdeps/aarch64/setjmp.S: Likewise.
9758 * sysdeps/alpha/setjmp.S: Likewise.
9759 * sysdeps/arm/__longjmp.S: Likewise.
9760 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9761 * sysdeps/arm/setjmp.S: Likewise.
9762 * sysdeps/arm/sysdep.h: Likewise.
9763 * sysdeps/generic/_itoa.h: Likewise.
9764 * sysdeps/generic/dl-sysdep.h: Likewise.
9765 * sysdeps/generic/ldsodefs.h: Likewise.
9766 * sysdeps/i386/dl-tls.h: Likewise.
9767 * sysdeps/i386/setjmp.S: Likewise.
9768 * sysdeps/m68k/setjmp.c: Likewise.
9769 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9770 * sysdeps/mach/hurd/opendir.c: Likewise.
9771 * sysdeps/posix/getcwd.c: Likewise.
9772 * sysdeps/posix/opendir.c: Likewise.
9773 * sysdeps/posix/profil.c: Likewise.
9774 * sysdeps/powerpc/dl-procinfo.h: Likewise.
9775 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9776 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9777 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9778 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9779 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9780 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9781 * sysdeps/s390/dl-tls.h: Likewise.
9782 * sysdeps/s390/s390-32/setjmp.S: Likewise.
9783 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9784 * sysdeps/sh/sh3/setjmp.S: Likewise.
9785 * sysdeps/sh/sh4/setjmp.S: Likewise.
9786 * sysdeps/unix/alpha/sysdep.h: Likewise.
9787 * sysdeps/unix/arm/sysdep.S: Likewise.
9788 * sysdeps/unix/i386/sysdep.S: Likewise.
9789 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9790 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9791 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9792 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9793 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9794 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9795 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9796 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9797 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9798 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9799 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9800 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9801 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9804 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9805 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9806 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9807 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9808 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9809 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9810 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9811 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9812 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9813 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9814 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9815 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9816 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9817 * sysdeps/x86_64/setjmp.S: Likewise.
9819 * include/math.h: Use IS_IN instead of IS_IN_libm.
9820 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9821 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9822 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9823 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9824 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9825 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9826 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9827 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9828 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9829 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9830 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9831 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9832 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9833 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9834 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9835 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9836 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9837 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9838 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9839 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9840 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9841 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9842 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9843 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9844 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9845 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9846 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9847 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9848 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9849 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9850 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9851 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9852 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9863 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9864 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9865 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9866 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9867 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9868 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9874 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9875 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9876 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9877 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9878 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9879 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9880 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9881 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9882 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9883 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9884 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9885 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9886 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9887 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9889 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9891 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9892 * nptl/pthreadP.h: Likewise.
9893 * nptl_db/structs.def: Likewise.
9894 * sysdeps/arm/sysdep.h: Likewise.
9895 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9896 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9897 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9898 * sysdeps/unix/alpha/sysdep.h: Likewise.
9899 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9900 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9901 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9902 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9903 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9904 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9905 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9906 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9907 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9908 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9909 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9910 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9911 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9912 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9915 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9917 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9918 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9920 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9921 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9922 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9923 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9924 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9926 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9927 * nptl/pthreadP.h: Likewise.
9928 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9929 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9930 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9931 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9932 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9933 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9934 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9935 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9936 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9937 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9938 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9939 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9944 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9945 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9946 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9947 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9948 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9949 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9950 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9951 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9953 * dlfcn/dladdr.c: Use IS_IN.
9954 * dlfcn/dladdr1.c: Likewise.
9955 * dlfcn/dlclose.c: Likewise.
9956 * dlfcn/dlerror.c: Likewise.
9957 * dlfcn/dlinfo.c: Likewise.
9958 * dlfcn/dlmopen.c: Likewise.
9959 * dlfcn/dlopen.c: Likewise.
9960 * dlfcn/dlsym.c: Likewise.
9961 * dlfcn/dlvsym.c: Likewise.
9963 * include/ifaddrs.h: Use IS_IN.
9964 * inet/check_pf.c: Likewise.
9965 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9966 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9968 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9970 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9971 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9973 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9974 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9977 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9979 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9980 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9981 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9982 * include/libc-symbols.h (IS_IN_LIB): New macro.
9983 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9984 * include/netdb.h: Likewise.
9985 * include/stap-probe.h: Remove all uses of IN_LIB.
9987 * Makeconfig (module-cppflags-real): Define MODULE_NAME
9988 instead of IN_MODULE.
9989 * include/libc-symbols.h (IN_MODULE): Define using
9991 (PASTE_NAME, PASTE_NAME1): New macros.
9992 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9994 (STAP_PROBE_ASM): Likewise.
9996 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
9998 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9999 __mach_init in dlopened libc.
10001 2014-11-22 Mike Frysinger <vapier@gentoo.org>
10003 * sysdeps/arm/preconfigure.ac: Delete EABI check.
10004 * sysdeps/arm/preconfigure: Regenerate.
10006 2014-11-21 Roland McGrath <roland@hack.frob.com>
10008 * nptl/pthread_create.c (__pthread_create_2_1): Set
10009 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
10010 when copying values from IATTR into PD.
10012 2014-11-21 Will Newton <will.newton@linaro.org>
10013 Andrew Pinski <andrew.pinski@caviumnetworks.com>
10015 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
10016 Refactor inline-asm. Also add comment.
10018 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
10019 ElfW macro instead of hardcoded Elf64 types.
10020 (la_aarch64_gnu_pltenter): Likewise.
10021 * sysdeps/aarch64/dl-machine.h
10022 (elf_machine_runtime_setup): Use ElfW(Addr).
10024 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
10025 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
10026 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
10027 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
10028 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
10029 (R_AARCH64_TLS_DTPMOD64): Rename to ..
10030 (R_AARCH64_TLS_DTPMOD): This.
10031 (R_AARCH64_TLS_DTPREL64): Rename to ...
10032 (R_AARCH64_TLS_DTPREL): This.
10033 (R_AARCH64_TLS_TPREL64): Rename to ...
10034 (R_AARCH64_TLS_TPREL): This.
10035 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
10036 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
10037 R_AARCH64_TLS_TPREL64.
10038 (elf_machine_rela): Likewise.
10040 2014-11-21 Torvald Riegel <triegel@redhat.com>
10042 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
10043 by setting it to 0. 64b atomics are not supported currently.
10045 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10048 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10049 search domain names.
10051 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10055 * resolv/res_query.c (__libc_res_nquerydomain): Retain
10057 * posix/tst-getaddrinfo5.c: New.
10058 * posix/Makefile (tests): Add it.
10060 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10064 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
10065 after parsing line but before break_if_match.
10066 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
10067 if there is a protocol mismatch.
10069 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
10071 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
10072 because the potential race is on the user-supplied stream.
10074 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10076 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
10077 string literal if not passed a buffer.
10078 * manual/job.texi (ctermid): Update reasoning, note deviation
10079 from posix, suggest mtasurace when not passed a buffer, for
10080 future non-preliminary safety notes.
10082 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10084 * manual/users.texi (cuserid): Fix MT-Safety note for the case
10085 of not passing it a buffer.
10086 Reported by Peng Haitao.
10088 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
10090 * manual/Makefile ($(objpfx)stamp-summary): Require
10091 check-safety.sh to pass.
10092 * manual/check-safety.sh: Wish for verification that every
10093 @deftypefn and @deftypefun is followed by a @safety remark.
10095 2014-11-20 Roland McGrath <roland@hack.frob.com>
10097 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10099 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10100 PTHREAD_CANCEL_ASYNCHRONOUS.
10101 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10104 * nptl/default-sched.h: New file.
10105 * sysdeps/unix/sysv/linux/default-sched.h: New file.
10106 * nptl/pthread_create.c: Include it.
10107 (__pthread_create_2_1): Use collect_default_sched instead of making
10108 Linux syscalls here directly.
10110 2014-11-20 Torvald Riegel <triegel@redhat.com>
10112 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10113 __pthread_once): Use C11 atomics.
10115 2014-11-20 Torvald Riegel <triegel@redhat.com>
10117 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10119 2014-11-20 Torvald Riegel <triegel@redhat.com>
10121 * include/atomic.h (__atomic_link_error, __atomic_check_size,
10122 atomic_thread_fence_acquire, atomic_thread_fence_release,
10123 atomic_thread_fence_seq_cst, atomic_load_relaxed,
10124 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10125 atomic_compare_exchange_weak_relaxed,
10126 atomic_compare_exchange_weak_acquire,
10127 atomic_compare_exchange_weak_release,
10128 atomic_exchange_acquire, atomic_exchange_release,
10129 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10130 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10131 atomic_fetch_and_acquire,
10132 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10134 2014-11-20 Torvald Riegel <triegel@redhat.com>
10136 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10137 USE_ATOMIC_COMPILER_BUILTINS): Define.
10138 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10139 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10140 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10141 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10142 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10143 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10144 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10145 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10146 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10147 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10148 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10149 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10150 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10151 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10152 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10153 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10154 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10155 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10156 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10157 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10158 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10159 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10160 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10161 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10162 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10163 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10164 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10165 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10166 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10167 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10168 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10169 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10170 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10171 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10172 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10173 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10174 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10175 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10176 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10177 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10179 2014-11-19 Roland McGrath <roland@hack.frob.com>
10181 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10182 the sched_priority value here. It was already checked when the user
10183 called pthread_attr_setschedparam.
10185 * nptl/tst-bad-schedattr.c: New file.
10186 * nptl/Makefile (tests): Add it.
10188 2014-11-19 Carlos O'Donell <carlos@redhat.com>
10189 Florian Weimer <fweimer@redhat.com>
10190 Joseph Myers <joseph@codesourcery.com>
10191 Adam Conrad <adconrad@0c3.net>
10192 Andreas Schwab <schwab@suse.de>
10193 Brooks <bmoses@google.com>
10196 * wordexp-test.c (__dso_handle): Add prototype.
10197 (__register_atfork): Likewise.
10198 (__app_register_atfork): New function.
10199 (registered_forks): New global.
10200 (register_fork): New function.
10201 (test_case): Add 3 new tests for WRDE_CMDSUB.
10202 (main): Call __app_register_atfork.
10203 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10204 fork count is non-zero fail the test.
10205 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10207 (parse_dollars): Remove check for WRDE_NOCMD.
10208 (parse_dquote): Likewise.
10210 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10212 * Makeconfig (built-modules): List non-library modules to be
10214 (module-cppflags): Include libc-modules.h for
10215 everything except shlib-versions.v.i.
10216 (CPPFLAGS): Use it.
10217 (before-compile): Add libc-modules.h.
10218 ($(common-objpfx)libc-modules.h,
10219 $(common-objpfx)libc-modules.stmp): New targets.
10220 (common-generated): Add libc-modules.h and libc-modules.stmp.
10221 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10222 * include/libc-symbols.h: Don't include libc-modules.h.
10223 * include/libc-modules.h: Remove file.
10224 * scripts/gen-libc-modules.awk: New script to generate
10226 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10227 Depend on libc-modules.stmp.
10229 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10231 * Makeconfig (in-module): Get value of libof set for the
10233 (CPPFLAGS): Use $(in-module).
10234 * Makerules: Don't suffix routine names for nonlib.
10235 * include/libc-modules.h: New file.
10236 * include/libc-symbols.h: Include libc-modules.h
10237 (IS_IN): New macro to replace IS_IN_* macros.
10238 * elf/Makefile: Set libof-* for each routine.
10239 * elf/rtld-Rules: Likewise.
10240 * extra-modules.mk: Likewise.
10241 * iconv/Makefile: Likewise.
10242 * iconvdata/Makefile: Likewise.
10243 * locale/Makefile: Likewise.
10244 * malloc/Makefile: Likewise.
10245 * nss/Makefile: Likewise.
10246 * sysdeps/gnu/Makefile: Likewise.
10247 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10248 * sysdeps/unix/sysv/linux/Makefile: Likewise.
10249 * sysdeps/s390/s390-64/Makefile: Likewise.
10250 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
10251 CPPFLAGS for nscd instead of nonlib.
10253 2014-11-18 Roland McGrath <roland@hack.frob.com>
10255 * nptl/createthread.c: New file.
10257 * nptl/createthread.c: Moved ...
10258 * sysdeps/unix/sysv/linux/createthread.c: ... here.
10260 * nptl/createthread.c: Add proper top-line comment.
10261 (do_clone): Folded into ...
10262 (create_thread): ... here. Take new arguments STOPPED_START and
10263 THREAD_RAN. Always set PD->stopped_start to something here. Don't
10264 increment __nptl_threads, do event-reporting logic, do
10265 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10266 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
10267 resource cleanup if sched_setaffinity or sched_setscheduler fails,
10268 just send SIGCANCEL.
10269 * nptl/pthread_create.c: Forward-declare create_thread before
10270 including createthread.c.
10271 (start_thread): Use new macro START_THREAD_DEFN to replace defining
10272 declaration, and new macro START_THREAD_SELF to replace argument.
10273 Remove return statement.
10274 (report_thread_creation): New function.
10275 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
10276 synchronization logic, and __nptl_nthreads increment here, around
10277 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
10278 PD->parent_cancelhandling here, before create_thread. When
10279 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10280 __deallocate_stack, and ENOMEM translation here.
10282 2014-11-18 Joseph Myers <joseph@codesourcery.com>
10285 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10286 (mptwo): Rename to __mptwo.
10287 (__inv): Use __mptwo instead of mptwo.
10288 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10289 (mptwo): Rename to __mptwo.
10290 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10291 of mpone and __mptwo instead of mptwo.
10292 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10294 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10295 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10296 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10297 of mpone and __mptwo instead of mptwo.
10298 (__mpranred): Use __mpone instead of mpone.
10299 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10301 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10302 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10303 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10304 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10305 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10306 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10307 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10308 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10309 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10310 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10311 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10312 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10313 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10314 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10315 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10316 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10317 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10318 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10319 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10321 2014-11-18 Tom de Vries <tom@codesoucery.com>
10323 * manual/signal.texi (Primitives Interrupted by Signals): In section,
10324 replace BSD Handler xref with BSD Signal Handling.
10326 2014-11-17 Richard Henderson <rth@redhat.com>
10328 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10329 (_FP_PACK_RAW_2): Remove.
10330 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10331 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10332 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10333 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10334 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10335 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10336 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10337 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10338 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10339 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10340 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10341 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10342 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10343 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10344 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10345 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10347 2014-11-14 Roland McGrath <roland@hack.frob.com>
10349 * signal/signal.h [__USE_MISC]
10350 (struct sigvec): Remove type.
10351 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10352 (sigvec): Remove declaration.
10353 * sysdeps/posix/sigvec.c: Moved ...
10354 * signal/sigvec.c: ... here, replacing old file.
10355 (struct sigvec): New type, copied from old signal.h definition.
10356 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10357 (__sigvec): Convert definition to prototype.
10358 (sigvec): Replace weak_alias with compat_symbol.
10359 * signal/Versions (libc: GLIBC_2.21): New version set.
10360 * include/signal.h: Remove __sigvec declaration.
10361 * sysdeps/unix/bsd/sigvec.c: Remove file.
10362 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10363 * manual/signal.texi (BSD Handler): Remove subsection.
10364 Move siginterrupt up to ...
10365 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
10366 (Blocking in BSD): Fold subsection into its parent.
10367 * NEWS: Mention sigvec removal.
10369 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10371 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10372 (DLA_FMS): Make definition conditional only on [__FMA4__].
10373 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10376 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10377 Make definition conditional only on [PROF].
10378 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10380 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10381 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10383 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10385 * include/signal.h (__sigpause): Move declaration above call to
10387 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10389 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10390 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10392 2014-11-14 David S. Miller <davem@davemloft.net>
10394 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10395 Define before including <string/memcpy.c> and <string/mempcpy.c>.
10397 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10399 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10400 * configure: Regenerated.
10401 * manual/install.texi (Tools for Compilation): Document a
10402 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10403 compiler verified to work.
10404 * INSTALL: Regenerated.
10406 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10407 redeclare with asm name.
10408 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10409 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10410 including <string.h>.
10411 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10412 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10413 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10414 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10415 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10416 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10417 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10419 2014-11-13 Joseph Myers <joseph@codesourcery.com>
10421 * stdlib/strtol.c (__strtol): Use prototype definition.
10424 * stdlib/strtol.c (SYM__): New macro.
10425 (SYM__1): Likewise.
10426 (__strtol): Likewise.
10427 (strtol): Rename to __strtol and define as weak alias of
10428 __strtol. Use libc_hidden_weak.
10430 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10432 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10433 Use numbered labels in inline assembly.
10435 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10437 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10438 Add setjmp LIBC_PROBE.
10439 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10441 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10442 Add longjmp, longjmp_target LIBC_PROBE.
10443 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10446 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10448 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10449 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10450 to get rid of unused variable warning.
10452 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10454 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10455 Check for unwind_backtrace == NULL only in SHARED case.
10456 (__backchain_backtrace): Compile only in SHARED case.
10457 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10459 (__backchain_backtrace): Declare as static.
10461 2014-11-12 Roland McGrath <roland@hack.frob.com>
10463 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10464 (__libc_multiple_threads_ptr): Variable moved ...
10465 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10467 2014-11-12 Joseph Myers <joseph@codesourcery.com>
10469 * conform/GlibcConform.pm: New file.
10470 * conform/conformtest.pl: Use GlibcConform module.
10471 * conform/linknamespace.pl: New file.
10472 * conform/list-header-symbols.pl: Likewise.
10473 * conform/Makefile (linknamespace-symlists-base): New variable.
10474 (linknamespace-symlists-tests): Likewise.
10475 (linknamespace-header-base): Likewise.
10476 (linknamespace-header-tests): Likewise.
10477 (tests-special): Add new tests.
10478 ($(linknamespace-symlists-tests)): New rule.
10479 (linknamespace-libs): New variable.
10480 ($(objpfx)symlist-stdlibs): New rule.
10481 ($(linknamespace-header-tests)): Likewise.
10482 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10483 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10484 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10485 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10486 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10487 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10488 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10489 (test-xfail-ISO/math.h/linknamespace): Likewise.
10490 (test-xfail-ISO/signal.h/linknamespace): Likewise.
10491 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10492 (test-xfail-ISO/time.h/linknamespace): Likewise.
10493 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10494 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10495 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10496 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10497 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10498 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10499 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10500 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10501 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10502 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10503 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10504 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10505 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10506 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10507 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10508 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10509 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10510 (test-xfail-XPG3/search.h/linknamespace): Likewise.
10511 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10512 (test-xfail-XPG3/time.h/linknamespace): Likewise.
10513 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10514 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10515 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10516 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10517 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10518 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10519 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10520 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10521 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10522 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10523 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10524 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10525 (test-xfail-XPG4/search.h/linknamespace): Likewise.
10526 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10527 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10528 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10529 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10530 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10531 (test-xfail-XPG4/time.h/linknamespace): Likewise.
10532 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10533 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10534 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10535 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10536 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10537 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10538 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10539 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10540 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10541 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10542 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10543 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10544 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10545 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10546 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10547 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10548 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10549 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10550 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10551 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10552 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10553 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10554 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10555 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10556 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10557 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10558 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10559 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10560 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10561 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10562 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10563 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10564 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10565 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10566 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10567 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10568 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10569 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10570 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10571 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10572 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10573 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10574 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10575 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10576 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10577 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10578 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10579 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10580 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10581 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10582 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10583 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10584 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10585 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10586 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10587 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10588 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10589 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10590 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10591 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10592 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10593 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10594 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10595 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10596 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10597 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10598 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10599 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10600 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10601 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10602 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10603 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10604 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10605 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10606 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10607 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10608 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10609 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10610 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10611 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10612 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10613 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10614 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10615 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10616 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10617 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10618 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10619 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10620 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10621 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10622 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10623 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10624 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10625 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10626 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10627 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10628 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10629 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10630 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10631 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10632 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10633 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10634 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10635 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10636 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10637 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10638 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10639 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10640 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10641 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10642 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10645 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10649 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10650 (memmem): Rename to __memmem and define as weak alias of
10651 __memmem. Use libc_hidden_weak.
10652 (__memmem): Use libc_hidden_def.
10653 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
10654 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10658 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10659 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
10660 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10661 and define as weak alias of __fgets_unlocked. Use
10663 (__fgets_unlocked): Use libc_hidden_def.
10664 * include/stdio.h (__fgets_unlocked): Declare. Use
10666 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10667 __fgets_unlocked instead of fgets_unlocked.
10668 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10669 (GET_NPROCS_CONF_PARSER): Likewise.
10670 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10671 (GET_NPROCS_CONF_PARSER): Likewise.
10674 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10675 weak alias of __wmemset. Use libc_hidden_weak.
10676 (__wmemset): Use libc_hidden_def.
10677 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
10678 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10682 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10683 with asm name __mempcpy.
10684 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10687 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10688 and define as weak alias of __rawmemchr.
10689 (__rawmemchr): Do not define as strong alias of rawmemchr.
10692 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10693 alias of __qsort_r.
10694 (qsort): Call __qsort_r instead of qsort_r.
10695 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10696 (__qsort_r): Declare. Call libc_hidden_proto.
10697 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10698 instead of qsort_r.
10699 * nscd/gai.c (__qsort_r): Define to qsort_r.
10700 * posix/tst-rfc3484.c (__qsort_r): Likewise.
10701 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10702 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10705 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10706 define as weak alias of __malloc_info.
10709 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10710 as weak alias of __rewinddir. Don't use libc_hidden_def.
10711 (__rewinddir): Use libc_hidden_def.
10712 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10713 as weak alias of __rewinddir. Don't use libc_hidden_def.
10714 (__rewinddir): Use libc_hidden_def.
10715 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10716 weak alias of __rewinddir. Don't use libc_hidden_def.
10717 (__rewinddir): Use libc_hidden_def.
10718 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10719 (__rewinddir): Use libc_hidden_proto.
10720 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10722 (__getcwd): Use __rewinddir instead of rewinddir.
10725 * libio/fileno.c (fileno): Rename to __fileno and define as weak
10726 alias of __fileno. Use libc_hidden_weak.
10727 (__fileno): Use libc_hidden_def.
10728 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10729 * libio/ftello.c (ftello): Rename to __ftello and define as weak
10731 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10733 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10734 (__fread_unlocked): Define as strong alias of _IO_fread. Use
10736 (fread_unlocked): Don't use libc_hidden_ver.
10737 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10738 and define as weak alias of __fread_unlocked. Don't use
10740 (__fread_unlocked): Use libc_hidden_def.
10741 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
10742 (ftello): Don't use libc_hidden_proto.
10743 (__ftello): Declare. Use libc_hidden_proto.
10744 (fread_unlocked): Don't use libc_hidden_proto.
10745 (__fread_unlocked): Declare. Use libc_hidden_proto.
10746 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10747 and __ftello instead of fileno, fread_unlocked and ftello.
10749 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10751 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10753 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10755 (_dl_start_user): Likewise.
10756 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10758 2014-11-12 Carlos O'Donell <carlos@redhat.com>
10759 Siddhesh Poyarekar <siddhesh@redhat.com>
10761 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10762 Move argv and envp down instead of moving argc up.
10763 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10765 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
10768 * test-skeleton.c (main): Return successful if one of
10769 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10770 * string/tst-strcoll-overflow.c: Define expected status.
10772 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
10775 * locale/iso-639.def: Define Bhili and Tulu language codes.
10777 2014-11-11 Alan Hayward <alan.hayward@arm.com>
10779 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10781 2014-11-10 Renlin Li <Renlin.Li@arm.com>
10784 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10786 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10788 * configure.ac: Updated check of minimal required version to
10790 * manual/install.texi (Tools for Compilation): Updated version
10792 * configure: Regenerated.
10793 * INSTALL: Likewise.
10795 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
10797 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10800 2014-11-07 Joseph Myers <joseph@codesourcery.com>
10802 * include/sys/wait.h (__libc_waitpid): Remove declaration.
10803 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10804 (__waitpid): Don't define as alias. Use libc_hidden_def not
10806 (waitpid): Define as alias of __waitpid.
10807 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10809 (__waitpid): Don't define as alias. Use libc_hidden_def not
10811 (waitpid): Define as alias of __waitpid.
10812 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10813 __libc_waitpid alias.
10814 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10815 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10817 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10818 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10819 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10821 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10823 (__waitpid): Don't define as alias. Use libc_hidden_def not
10825 (waitpid): Define as alias of __waitpid.
10827 2014-11-06 Carlos O'Donell <carlos@redhat.com>
10829 * manual/llio.texi: Add comment that write safety has been
10832 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10833 (localplt-build-dso): Add elf/ld.so.
10834 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10835 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10836 and free for ld.so.
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10838 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10843 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10844 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10845 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10846 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10847 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10848 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10849 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10850 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10851 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10852 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10853 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10855 2014-11-05 Joseph Myers <joseph@codesourcery.com>
10858 * include/libc-symbols.h (INTUSE): Remove macro.
10859 (INTDEF): Likewise.
10860 (INTVARDEF): Likewise.
10861 (_INTVARDEF): Likewise.
10862 (INTDEF2): Likewise.
10863 (INTVARDEF2): Likewise.
10864 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10865 rtld_hidden_def instead of INTVARDEF.
10866 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10867 (_dl_starting_up_internal): Remove declaration.
10868 (_dl_starting_up): Use rtld_hidden_proto.
10869 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10871 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10872 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10874 * elf/dl-writev.h (_dl_writev): Likewise.
10875 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10876 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10877 _dl_starting_up_internal.
10879 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10881 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10884 2014-11-05 Will Newton <will.newton@linaro.org>
10886 * benchtests/Makefile: (bench-malloc): Add malloc thread
10887 scalability benchmark.
10888 * benchtests/bench-malloc-threads.c: New file.
10890 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
10892 * sysdeps/aarch64/strchrnul.S: New file.
10894 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10896 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10898 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10900 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10902 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10904 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10906 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10909 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
10911 * catgets/test-gencat.c: Use test-skeleton.c.
10912 * catgets/tst-catgets.c: Likewise.
10913 * csu/tst-empty.c: Likewise.
10914 * elf/tst-audit2.c: Likewise.
10915 * elf/tst-global1.c: Likewise.
10916 * elf/tst-pathopt.c: Likewise.
10917 * elf/tst-piemod1.c: Likewise.
10918 * elf/tst-tls10.c: Likewise.
10919 * elf/tst-tls11.c: Likewise.
10920 * elf/tst-tls12.c: Likewise.
10921 * gnulib/tst-gcc.c: Likewise.
10922 * iconvdata/tst-e2big.c: Likewise.
10923 * iconvdata/tst-loading.c: Likewise.
10924 * iconv/tst-iconv1.c: Likewise.
10925 * iconv/tst-iconv2.c: Likewise.
10926 * inet/test-inet6_opt.c: Likewise.
10927 * inet/tst-gethnm.c: Likewise.
10928 * inet/tst-network.c: Likewise.
10929 * inet/tst-ntoa.c: Likewise.
10930 * intl/tst-codeset.c: Likewise.
10931 * intl/tst-gettext2.c: Likewise.
10932 * intl/tst-gettext3.c: Likewise.
10933 * intl/tst-ngettext.c: Likewise.
10934 * intl/tst-translit.c: Likewise.
10935 * io/test-stat.c: Likewise.
10936 * libio/test-fmemopen.c: Likewise.
10937 * libio/tst-freopen.c: Likewise.
10938 * libio/tst-sscanf.c: Likewise.
10939 * libio/tst-ungetwc1.c: Likewise.
10940 * libio/tst-ungetwc2.c: Likewise.
10941 * libio/tst-widetext.c: Likewise.
10942 * localedata/tst-ctype.c: Likewise.
10943 * localedata/tst-digits.c: Likewise.
10944 * localedata/tst-leaks.c: Likewise.
10945 * localedata/tst-mbswcs1.c: Likewise.
10946 * localedata/tst-mbswcs2.c: Likewise.
10947 * localedata/tst-mbswcs3.c: Likewise.
10948 * localedata/tst-mbswcs4.c: Likewise.
10949 * localedata/tst-mbswcs5.c: Likewise.
10950 * localedata/tst-setlocale.c: Likewise.
10951 * localedata/tst-trans.c: Likewise.
10952 * localedata/tst-wctype.c: Likewise.
10953 * localedata/tst-xlocale1.c: Likewise.
10954 * login/tst-grantpt.c: Likewise.
10955 * malloc/tst-calloc.c: Likewise.
10956 * malloc/tst-malloc.c: Likewise.
10957 * malloc/tst-mallocstate.c: Likewise.
10958 * malloc/tst-mcheck.c: Likewise.
10959 * malloc/tst-mtrace.c: Likewise.
10960 * malloc/tst-obstack.c: Likewise.
10961 * math/atest-exp2.c: Likewise.
10962 * math/atest-exp.c: Likewise.
10963 * math/atest-sincos.c: Likewise.
10964 * math/test-matherr.c: Likewise.
10965 * math/test-misc.c: Likewise.
10966 * math/test-powl.c: Likewise.
10967 * math/tst-definitions.c: Likewise.
10968 * misc/tst-dirname.c: Likewise.
10969 * misc/tst-efgcvt.c: Likewise.
10970 * misc/tst-fdset.c: Likewise.
10971 * misc/tst-hsearch.c: Likewise.
10972 * misc/tst-mntent2.c: Likewise.
10973 * nptl/tst-sem7.c: Likewise.
10974 * nptl/tst-sem8.c: Likewise.
10975 * nptl/tst-sem9.c: Likewise.
10976 * nss/test-netdb.c: Likewise.
10977 * posix/tst-fnmatch.c: Likewise.
10978 * posix/tst-getlogin.c: Likewise.
10979 * posix/tst-gnuglob.c: Likewise.
10980 * posix/tst-mmap.c: Likewise.
10981 * pwd/tst-getpw.c: Likewise.
10982 * resolv/tst-inet_ntop.c: Likewise.
10983 * rt/tst-timer.c: Likewise.
10984 * stdio-common/test-fseek.c: Likewise.
10985 * stdio-common/test-popen.c: Likewise.
10986 * stdio-common/test-vfprintf.c: Likewise.
10987 * stdio-common/tst-cookie.c: Likewise.
10988 * stdio-common/tst-fileno.c: Likewise.
10989 * stdio-common/tst-gets.c: Likewise.
10990 * stdio-common/tst-obprintf.c: Likewise.
10991 * stdio-common/tst-perror.c: Likewise.
10992 * stdio-common/tst-sprintf2.c: Likewise.
10993 * stdio-common/tst-sprintf3.c: Likewise.
10994 * stdio-common/tst-sprintf.c: Likewise.
10995 * stdio-common/tst-swprintf.c: Likewise.
10996 * stdio-common/tst-tmpnam.c: Likewise.
10997 * stdio-common/tst-unbputc.c: Likewise.
10998 * stdio-common/tst-wc-printf.c: Likewise.
10999 * stdlib/tst-environ.c: Likewise.
11000 * stdlib/tst-fmtmsg.c: Likewise.
11001 * stdlib/tst-limits.c: Likewise.
11002 * stdlib/tst-rand48-2.c: Likewise.
11003 * stdlib/tst-rand48.c: Likewise.
11004 * stdlib/tst-random2.c: Likewise.
11005 * stdlib/tst-random.c: Likewise.
11006 * stdlib/tst-strtol.c: Likewise.
11007 * stdlib/tst-strtoll.c: Likewise.
11008 * stdlib/tst-tls-atexit.c: Likewise.
11009 * stdlib/tst-xpg-basename.c: Likewise.
11010 * string/test-ffs.c: Likewise.
11011 * string/tst-bswap.c: Likewise.
11012 * string/tst-inlcall.c: Likewise.
11013 * string/tst-strtok.c: Likewise.
11014 * string/tst-strxfrm.c: Likewise.
11015 * sysdeps/x86_64/tst-audit10.c: Likewise.
11016 * sysdeps/x86_64/tst-audit3.c: Likewise.
11017 * sysdeps/x86_64/tst-audit4.c: Likewise.
11018 * sysdeps/x86_64/tst-audit5.c: Likewise.
11019 * time/tst-ftime_l.c: Likewise.
11020 * time/tst-getdate.c: Likewise.
11021 * time/tst-mktime3.c: Likewise.
11022 * time/tst-mktime.c: Likewise.
11023 * time/tst-posixtz.c: Likewise.
11024 * time/tst-strptime2.c: Likewise.
11025 * time/tst-strptime3.c: Likewise.
11026 * wcsmbs/tst-btowc.c: Likewise.
11027 * wcsmbs/tst-mbrtowc.c: Likewise.
11028 * wcsmbs/tst-mbsrtowcs.c: Likewise.
11029 * wcsmbs/tst-wchar-h.c: Likewise.
11030 * wcsmbs/tst-wcpncpy.c: Likewise.
11031 * wcsmbs/tst-wcrtomb.c: Likewise.
11032 * wcsmbs/tst-wcsnlen.c: Likewise.
11033 * wcsmbs/tst-wcstof.c: Likewise.
11035 2014-11-04 Joseph Myers <joseph@codesourcery.com>
11038 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
11040 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
11042 (_dl_mcount): Use rtld_hidden_proto.
11043 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
11045 * elf/rtld.c (_rtld_global_ro): Likewise.
11048 * elf/dl-init.c (_dl_init): Don't use INTDEF.
11049 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
11050 of _dl_init_internal.
11051 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
11052 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
11053 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
11054 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
11055 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
11056 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
11057 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
11058 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
11059 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
11060 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
11061 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
11062 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
11063 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11064 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11065 * sysdeps/tile/dl-start.S (_start): Likewise.
11066 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
11067 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
11070 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
11071 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
11072 (rtld_progname): Make macro definition unconditional.
11073 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
11075 (dlmopen_doit): Do not use INTUSE with _dl_argv.
11076 (dl_main): Likewise.
11077 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11078 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
11079 instead of _dl_argv_internal.
11080 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
11081 __GI__dl_argv instead of INTUSE(_dl_argv).
11082 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
11083 __GI__dl_argv instead of _dl_argv_internal.
11085 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
11086 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
11088 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
11089 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
11091 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
11092 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
11094 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11095 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11097 2014-11-04 Andreas Schwab <schwab@suse.de>
11099 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11101 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11103 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11104 mtvsrd instruction in binary form.
11106 2014-11-03 Andreas Schwab <schwab@suse.de>
11109 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11110 for less than MB_LEN_MAX use a local buffer of that size.
11111 * libio/tst-fputws.c: New file.
11112 * libio/Makefile (tests): Add tst-fputws.
11114 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
11116 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11117 the size of the fpu_fr.fpu_dregs[] array.
11119 2014-11-01 Joseph Myers <joseph@codesourcery.com>
11121 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11122 (__nanosleep): Do not define as alias.
11123 (nanosleep): Define as alias of __nanosleep.
11124 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11125 __libc_nanosleep name.
11127 2014-10-31 Joseph Myers <joseph@codesourcery.com>
11129 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11130 install.texi in comment.
11132 2014-10-31 Torvald Riegel <triegel@redhat.com>
11134 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11135 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11136 ... add here and use lwsync or sync ...
11137 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11138 ... and add here using lwsync.
11140 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
11142 * elf/dl-machine-reject-phdr.h: New file.
11143 * elf/dl-load.c: #include that.
11144 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11145 if that returned true.
11147 2014-10-31 Roland McGrath <roland@hack.frob.com>
11150 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11151 gen-as-const-headers chunk. Add a big scare comment after the last
11152 safe place to touch before-compile.
11154 2014-10-31 Joseph Myers <joseph@codesourcery.com>
11156 * manual/install.texi (Tools for Compilation): Update autoconf
11157 version requirements.
11158 * INSTALL: Regenerated.
11160 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11161 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11162 (__libc_pselect): Likewise.
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11170 2014-10-31 Torvald Riegel <triegel@redhat.com>
11172 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11173 correct barrier instruction.
11174 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11176 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11179 2014-10-30 Roland McGrath <roland@hack.frob.com>
11181 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11182 after defining inlines. Instead, just use parens to defeat macro
11183 expansion of __isctype in its declaration.
11185 2014-10-30 Joseph Myers <joseph@codesourcery.com>
11187 * include/sys/uio.h (__libc_readv): Remove declaration.
11188 (__libc_writev): Likewise.
11189 * misc/readv.c (__libc_readv): Rename to __readv.
11190 (__readv): Do not define as alias.
11191 (readv): Define as alias of __readv.
11192 * misc/writev.c (__libc_writev): Rename to __writev.
11193 (__writev): Do not define as alias.
11194 (writev): Define as alias of __writev.
11195 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11196 (__readv): Do not define as alias.
11197 (readv): Define unconditionally as alias of __readv.
11198 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11199 (__writev): Do not define as alias.
11200 (writev): Define unconditionally as alias of __writev.
11201 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11203 (writev): Do not define __libc_writev name.
11205 2014-10-30 Roland McGrath <roland@hack.frob.com>
11207 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11208 (convert_charseq): New function, broken out of ...
11209 (use_from_charmap): ... here. Call it.
11210 (use_to_charmap): Use convert_charseq and free instead of duplicating
11211 its code with a variable-length stack struct.
11213 2014-10-30 Joseph Myers <joseph@codesourcery.com>
11215 * include/fcntl.h (__libc_creat): Remove declaration.
11216 * io/creat.c (__libc_creat): Rename to creat.
11217 (creat): Do not define as alias.
11218 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11219 of creat instead of __libc_creat.
11220 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11222 (creat): Do not define as alias.
11223 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11225 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11227 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11230 2014-10-29 Carlos O'Donell <carlos@redhat.com>
11232 * manual/llio.texi: Add comments discussing why write() may be
11233 considered MT-unsafe on Linux.
11235 2014-10-28 Carlos O'Donell <carlos@redhat.com>
11237 * dl-load.c (local_strdup): Remove.
11238 (expand_dynamic_string_token): Use __strdup.
11239 (decompose_rpath): Likewise.
11240 (_dl_map_object): Likewise.
11242 2014-10-28 Joseph Myers <joseph@codesourcery.com>
11245 * sysdeps/generic/unwind-dw2-fde.c
11246 (__register_frame_info_bases_internal): Do not declare.
11247 (__register_frame_info_table_bases_internal): Likewise.
11248 (__deregister_frame_info_bases_internal): Likewise.
11249 (__register_frame_info_bases): Declare and use hidden_proto before
11250 definition. Use hidden_def instead of INTDEF.
11251 (__register_frame_info_table_bases): Likewise.
11252 (__deregister_frame_info_bases): Likewise.
11253 (__register_frame_info): Do not use INTUSE.
11254 (__register_frame): Likewise.
11255 (__register_frame_info_table): Likewise.
11256 (__register_frame_table): Likewise.
11257 (__deregister_frame_info): Likewise.
11258 (__deregister_frame): Likewise.
11260 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
11262 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11263 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11265 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11267 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11270 2014-10-27 Joseph Myers <joseph@codesourcery.com>
11273 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11274 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11275 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11276 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11277 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11278 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11279 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11280 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11281 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11282 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11283 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11284 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11285 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11287 (setfsuid): Likewise.
11288 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11289 (setfsuid): Likewise.
11290 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11291 (setfsuid): Likewise.
11292 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11294 (setfsuid): Likewise.
11295 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11296 (setfsuid): Likewise.
11297 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11299 (setfsuid): Likewise.
11301 2014-10-27 Andreas Schwab <schwab@suse.de>
11304 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11305 check for Slow_SSE4_2 feature bit.
11306 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11307 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11308 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11309 Likewise. Fix check for Fast_Unaligned_Load feature bit.
11311 2014-10-24 Roland McGrath <roland@hack.frob.com>
11313 * configure.ac: Validate compiler version with a empirical test of
11314 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11316 * configure: Regenerated.
11318 * inet/htons.c (htons): Prototypify.
11319 * inet/htonl.c (htonl): Likewise.
11321 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11323 * string/strncat.c (strncat): Improve performance by using strlen.
11325 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11327 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11329 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11331 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11332 Call libc_fetestexcept_aarch64.
11334 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11336 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11337 Call libc_feholdexcept_aarch64.
11339 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11341 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11342 Call get_rounding_mode.
11344 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11346 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11349 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11351 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11354 2014-10-24 Joseph Myers <joseph@codesourcery.com>
11357 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11358 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11359 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11360 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11361 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11362 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11363 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11364 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11365 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11366 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11367 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11368 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11369 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11370 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11371 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11372 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11373 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11374 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11375 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11376 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11377 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11378 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11379 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11380 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11381 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11382 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11383 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11384 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11385 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11386 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11387 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11388 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11389 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11390 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11391 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11392 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11393 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11394 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11395 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11396 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11397 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11399 (geteuid): Likewise.
11400 (getgid): Likewise.
11401 (getuid): Likewise.
11402 (getresgid): Likewise.
11403 (getresuid): Likewise.
11404 (getgroups): Likewise.
11405 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11406 (geteuid): Likewise.
11407 (getgid): Likewise.
11408 (getuid): Likewise.
11409 (getresgid): Likewise.
11410 (getresuid): Likewise.
11411 (getgroups): Likewise.
11412 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11413 (geteuid): Likewise.
11414 (getgid): Likewise.
11415 (getuid): Likewise.
11416 (getresgid): Likewise.
11417 (getresuid): Likewise.
11418 (getgroups): Likewise.
11419 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11421 (geteuid): Likewise.
11422 (getgid): Likewise.
11423 (getuid): Likewise.
11424 (getresgid): Likewise.
11425 (getresuid): Likewise.
11426 (getgroups): Likewise.
11427 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11428 (geteuid): Likewise.
11429 (getgid): Likewise.
11430 (getuid): Likewise.
11431 (getresgid): Likewise.
11432 (getresuid): Likewise.
11433 (getgroups): Likewise.
11434 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11436 (geteuid): Likewise.
11437 (getgid): Likewise.
11438 (getuid): Likewise.
11439 (getgroups): Likewise.
11442 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11443 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11444 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11445 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11446 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11447 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11448 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11449 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11450 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11451 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11452 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11453 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11454 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11456 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11457 (lchown): Likewise.
11458 (fchown): Likewise.
11459 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11461 (lchown): Likewise.
11462 (fchown): Likewise.
11463 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11464 (lchown): Likewise.
11465 (fchown): Likewise.
11466 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11468 (lchown): Likewise.
11469 (fchown): Likewise.
11471 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11473 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11476 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11478 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11481 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11483 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11484 Remove unused include.
11486 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11488 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11489 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11490 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11491 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11493 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
11494 Helge Deller <deller@gmx.de>
11497 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11498 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11499 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11501 2014-10-23 Joseph Myers <joseph@codesourcery.com>
11504 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11505 Remove macro definition.
11506 (__ashrdi3_v_glibc20): Likewise.
11507 (__lshrdi3_v_glibc20): Likewise.
11508 (__cmpdi2_v_glibc20): Likewise.
11509 (__ucmpdi2_v_glibc20): Likewise.
11510 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11511 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11512 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11513 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11514 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11515 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11517 2014-10-22 Roland McGrath <roland@hack.frob.com>
11519 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11520 old GNU extension [0] syntax.
11521 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11522 alloca rather than an array member with variable length.
11523 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11524 * nscd/nscd.c (invalidate_db): New function, broken out of ...
11525 (parse_opt): ... here. Likewise use alloca there.
11526 Validate the -i argument before checking for rootness.
11527 (send_shutdown): New function, broken out of ...
11528 (parse_opt): ... here.
11530 2014-10-22 Roland McGrath <roland@hack.frob.com>
11532 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11533 macro to get at the _rt_local_ro field.
11534 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11535 ([PIC] case) or _dl_hwcap ([!PIC] case).
11536 * sysdeps/arm/setjmp.S: Likewise.
11538 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11539 * sysdeps/arm/configure.ac: New check to define it.
11540 * sysdeps/arm/configure: Regenerated.
11541 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11542 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11543 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11544 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11545 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11546 Use move/movt pair instead of a load.
11547 (LDST_GLOBAL): Macro removed.
11548 (LDR_GLOBAL): New macro replaces it.
11549 (LDR_HIDDEN): New macro.
11550 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11551 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11553 * setjmp/tst-setjmp-static.c: New file.
11554 * setjmp/Makefile (tests): Add it.
11555 (tests-static): New variable.
11557 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
11560 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11562 2014-10-21 Joseph Myers <joseph@codesourcery.com>
11565 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11567 2014-10-21 Roland McGrath <roland@hack.frob.com>
11569 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11571 2014-10-20 Roland McGrath <roland@hack.frob.com>
11573 * io/fts.c (dirent_not_directory): New function.
11574 (fts_build): Call it.
11576 2014-10-20 Roland McGrath <roland@hack.frob.com>
11578 * nptl/version.c (__nptl_main): Use normal __write rather than
11580 (banner): Update copyright years.
11582 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11584 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11585 * nptl/pthread_cond_timedwait.c: Likewise.
11586 * nptl/pthread_mutex_timedlock.c: Likewise.
11587 * nptl/sem_timedwait.c: Likewise.
11589 * sysdeps/nptl/bits/libc-lock.h
11590 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11591 (__libc_lock_init_recursive): Return void, not 0.
11592 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11593 (__libc_rwlock_init): Likewise.
11594 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11596 2014-10-20 Torvald Riegel <triegel@redhat.com>
11599 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11600 (__pthread_once_slow): ... here.
11601 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11602 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11604 2014-10-20 Torvald Riegel <triegel@redhat.com>
11607 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11608 __PTHREAD_ONCE_FORK_GEN_INCR): New.
11609 * sysdeps/nptl/fork.c (__libc_fork): Use them.
11610 * nptl/pthread_once.c (__pthread_once): Likewise.
11613 2014-10-20 Joseph Myers <joseph@codesourcery.com>
11616 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11618 (writev): Use __libc_writev as strong name.
11619 * sysdeps/unix/sysv/linux/readv.c: Remove file.
11620 * sysdeps/unix/sysv/linux/writev.c: Likewise.
11622 2014-10-17 Roland McGrath <roland@hack.frob.com>
11624 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11626 * sysdeps/i386/nptl/tls.h
11627 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11628 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11630 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11631 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11632 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11633 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11634 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11635 Call CHECK_THREAD_SYSINFO instead of doing an assert.
11637 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11638 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11640 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11642 (__pthread_mutex_init): ... here. Call it.
11643 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11644 Conditionalize PI cases on [__NR_futex].
11645 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11646 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11647 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11649 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11650 conditional on [SIGSETXID].
11651 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11652 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11653 is defined. Likewise for SIGSETXID.
11654 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11655 Conditionalize definitions on [SIGSETXID].
11656 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11657 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11658 unblocking on [SIGCANCEL].
11660 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11661 [__NR_set_robust_list].
11663 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11665 * string/strcoll_l.c (get_next_seq): Fix up formatting.
11666 (do_compare): Likewise.
11668 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
11671 * string/strcoll_l.c: Don't include stdio.h.
11672 (coll_seq): Remove members idxarr and rulearr.
11673 (get_next_seq_cached): Remove function.
11674 (get_next_seq): Likewise.
11675 (get_next_seq_nocache): Rename to get_next_seq.
11676 (do_compare): Remove function.
11677 (do_compare_nocache): Rename to do_compare.
11678 (STRCOLL): Remove weight and rules cache.
11680 2014-10-16 Roland McGrath <roland@hack.frob.com>
11682 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11683 * sysdeps/arm/sfp-machine.h: ... to here.
11684 * sysdeps/arm/Implies: Remove arm/soft-fp.
11686 2014-10-14 Joseph Myers <joseph@codesourcery.com>
11688 * conform/data/sys/utsname.h-data (*_t): Allow.
11689 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11690 [POSIX] (WEXITED): Do not expect constant.
11691 [POSIX] (WSTOPPED): Likewise.
11692 [POSIX] (WNOHANG): Likewise.
11693 [POSIX] (WNOWAIT): Likewise.
11694 [POSIX] (siginfo_t): Do not expect type or elements.
11695 [POSIX] (pid_t): Do not expect type.
11696 [POSIX] (signal.h): Do not allow header.
11697 [POSIX] (sys/resource.h): Likewise.
11698 [POSIX] (si_*): Do not allow pattern.
11699 [POSIX] (W*): Likewise.
11700 [POSIX] (P_*): Likewise.
11701 [POSIX] (BUS_*): Likewise.
11702 [POSIX] (CLD_*): Likewise.
11703 [POSIX] (FPE_*): Likewise.
11704 [POSIX] (ILL_*): Likewise.
11705 [POSIX] (POLL_*): Likewise.
11706 [POSIX] (SEGV_*): Likewise.
11707 [POSIX] (SI_*): Likewise.
11708 [POSIX] (TRAP_*): Likewise.
11709 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11712 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
11715 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11716 infinite loop when __recvmsg returns 0.
11718 2014-10-10 Joseph Myers <joseph@codesourcery.com>
11720 * CANCEL-FCT-WAIVE: Remove file.
11721 * CANCEL-FILE-WAIVE: Likewise.
11724 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11725 instead of INTVARDEF.
11726 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11727 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11728 rtld_hidden_data_def instead of INTVARDEF.
11729 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11730 * elf/dl-deps.c (expand_dst): Likewise.
11731 * elf/dl-load.c (_dl_dst_count): Likewise.
11732 (_dl_dst_substitute): Likewise.
11733 (decompose_rpath): Likewise.
11734 (_dl_init_paths): Likewise.
11735 (open_path): Likewise.
11736 (_dl_map_object): Likewise.
11737 * elf/rtld.c (dl_main): Likewise.
11738 (process_dl_audit): Likewise.
11739 (process_envvars): Likewise.
11740 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11741 Remove declaration.
11742 (__libc_enable_secure): Use rtld_hidden_proto.
11744 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11747 (add_path): New function broken out of _dl_rtld_di_serinfo.
11748 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
11750 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11752 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11753 parentheses around macro arguments.
11754 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11755 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11756 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11757 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11758 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11759 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11760 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11761 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11762 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11763 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11764 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11765 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11766 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11767 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11768 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11769 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11770 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11771 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11772 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11773 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11774 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11775 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11776 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11777 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11778 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11779 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11780 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11781 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11782 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11783 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11784 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11785 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11786 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11787 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11788 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11789 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11791 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11792 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11793 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11794 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11795 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11796 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11797 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11798 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11799 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11800 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11801 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11802 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11803 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11804 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11805 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11806 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11807 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11808 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11809 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11810 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11811 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11812 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11813 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11814 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11815 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11816 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11817 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11818 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11819 (_FP_FRAC_SRS_1): Likewise.
11820 (_FP_FRAC_CLZ_1): Likewise.
11821 (_FP_MUL_MEAT_1_imm): Likewise.
11822 (_FP_MUL_MEAT_1_wide): Likewise.
11823 (_FP_MUL_MEAT_1_hard): Likewise.
11824 (_FP_SQRT_MEAT_1): Likewise.
11825 (_FP_FRAC_ASSEMBLE_1): Likewise.
11826 (_FP_FRAC_DISASSEMBLE_1): Likewise.
11827 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11828 (__FP_CLZ_2): Likewise.
11829 (_FP_MUL_MEAT_2_wide): Likewise.
11830 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11831 (_FP_MUL_MEAT_2_gmp): Likewise.
11832 (_FP_MUL_MEAT_2_120_240_double): Likewise.
11833 (_FP_SQRT_MEAT_2): Likewise.
11834 (_FP_FRAC_ASSEMBLE_2): Likewise.
11835 (_FP_FRAC_DISASSEMBLE_2): Likewise.
11836 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11837 (_FP_FRAC_CLZ_4): Likewise.
11838 (_FP_MUL_MEAT_4_wide): Likewise.
11839 (_FP_MUL_MEAT_4_gmp): Likewise.
11840 (_FP_SQRT_MEAT_4): Likewise.
11841 (_FP_FRAC_ASSEMBLE_4): Likewise.
11842 (_FP_FRAC_DISASSEMBLE_4): Likewise.
11843 * soft-fp/op-common.h (_FP_CMP): Likewise.
11844 (_FP_CMP_EQ): Likewise.
11845 (_FP_CMP_UNORD): Likewise.
11846 (_FP_TO_INT): Likewise.
11847 (_FP_FROM_INT): Likewise.
11848 [!__FP_CLZ] (__FP_CLZ): Likewise.
11849 (_FP_DIV_HELP_imm): Likewise.
11850 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11852 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11853 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11854 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11855 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11856 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11857 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11858 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11859 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11860 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11861 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11862 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11863 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11864 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11865 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11866 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11867 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11868 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11869 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11870 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11871 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11872 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11873 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11874 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11875 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11876 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11877 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11878 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11879 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11880 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11881 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11882 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11883 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11884 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11885 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11886 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11887 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11888 (FP_UNPACK_RAW_SP): Likewise.
11889 (FP_PACK_RAW_S): Likewise.
11890 (FP_PACK_RAW_SP): Likewise.
11891 (FP_UNPACK_S): Likewise.
11892 (FP_UNPACK_SP): Likewise.
11893 (FP_UNPACK_SEMIRAW_S): Likewise.
11894 (FP_UNPACK_SEMIRAW_SP): Likewise.
11895 (FP_PACK_S): Likewise.
11896 (FP_PACK_SP): Likewise.
11897 (FP_PACK_SEMIRAW_S): Likewise.
11898 (FP_PACK_SEMIRAW_SP): Likewise.
11899 (_FP_SQRT_MEAT_S): Likewise.
11900 (FP_CMP_S): Likewise.
11901 (FP_CMP_EQ_S): Likewise.
11902 (FP_CMP_UNORD_S): Likewise.
11903 (FP_TO_INT_S): Likewise.
11904 (FP_FROM_INT_S): Likewise.
11906 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11908 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11909 (FP_EX_INVALID_IMZ): Likewise.
11910 (FP_EX_INVALID_IMZ_FMA): Likewise.
11911 (FP_EX_INVALID_ISI): Likewise.
11912 (FP_EX_INVALID_ZDZ): Likewise.
11913 (FP_EX_INVALID_IDI): Likewise.
11914 (FP_EX_INVALID_SQRT): Likewise.
11915 (FP_EX_INVALID_CVI): Likewise.
11916 (FP_EX_INVALID_VC): Likewise.
11917 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11918 "invalid" exceptions.
11919 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11920 (_FP_ADD_INTERNAL): Likewise.
11921 (_FP_MUL): Likewise.
11922 (_FP_FMA): Likewise.
11923 (_FP_DIV): Likewise.
11924 (_FP_CMP_CHECK_NAN): Likewise.
11925 (_FP_SQRT): Likewise.
11926 (_FP_TO_INT): Likewise.
11927 (FP_EXTEND): Likewise.
11929 2014-10-09 Allan McRae <allan@archlinux.org>
11931 * po/fr.po: Update French translation from translation project.
11933 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11936 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11938 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11939 (__cxa_atexit): Use libc_hidden_proto.
11940 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11943 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11945 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11946 [!_ISOMAC] (__iswspace_l_internal): Likewise.
11947 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11948 [!_ISOMAC] (__iswctype_internal): Likewise.
11949 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11950 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11952 (fcntl): Remove __fcntl_internal alias.
11953 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11954 __connect_internal alias.
11955 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11958 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11959 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11961 (_FP_CHECK_FLUSH_ZERO): New macro.
11962 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11963 (_FP_CMP): Likewise.
11964 (_FP_CMP_EQ): Likewise.
11965 (_FP_TO_INT): Do not set inexact for subnormal arguments if
11967 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11968 (FP_TRUNC): Likewise.
11970 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11971 treated as invalid conversion, not as normal exponent.
11973 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11974 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
11975 (_FP_CMP_EQ): Likewise.
11976 (_FP_CMP_UNORD): Likewise.
11977 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11978 (FP_CMP_EQ_D): Likewise.
11979 (FP_CMP_UNORD_D): Likewise.
11980 * soft-fp/extended.h (FP_CMP_E): Likewise.
11981 (FP_CMP_EQ_E): Likewise.
11982 (FP_CMP_UNORD_E): Likewise.
11983 * soft-fp/quad.h (FP_CMP_Q): Likewise.
11984 (FP_CMP_EQ_Q): Likewise.
11985 (FP_CMP_UNORD_Q): Likewise.
11986 * soft-fp/single.h (FP_CMP_S): Likewise.
11987 (FP_CMP_EQ_S): Likewise.
11988 (FP_CMP_UNORD_S): Likewise.
11989 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11990 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11991 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11992 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11993 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11994 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11995 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11996 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11997 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11998 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11999 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
12000 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
12001 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
12003 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
12005 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
12006 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
12008 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
12010 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
12011 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
12012 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
12013 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
12015 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
12017 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
12018 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
12020 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
12022 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
12023 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
12024 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
12025 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
12028 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
12029 a subnormal result, set the underflow exception if trapping on
12030 underflow is enabled.
12031 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
12032 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
12033 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
12035 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
12036 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12037 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
12038 * soft-fp/extendxftf2.c (__extendxftf2): Use
12039 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
12041 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
12042 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
12043 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12044 FP_HANDLE_EXCEPTIONS.
12045 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
12046 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12047 FP_HANDLE_EXCEPTIONS.
12048 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
12049 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12050 FP_HANDLE_EXCEPTIONS.
12051 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
12052 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
12053 FP_HANDLE_EXCEPTIONS.
12055 2014-10-08 Joseph Myers <joseph@codesourcery.com>
12058 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
12059 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
12061 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
12062 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
12064 (__adjtimex): Define using libc_hidden_ver.
12065 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
12066 Remove declaration.
12067 (ntp_gettime): Call __adjtimex directly.
12068 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
12069 Remove declaration.
12070 (ntp_gettimex): Call __adjtimex directly.
12071 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
12072 __adjtimex_internal alias.
12074 2014-10-08 Roland McGrath <roland@hack.frob.com>
12077 * nscd/nscd.c (more_help): Rewrite list of tables collection
12078 using xstrdup and asprintf.
12080 * nscd/nscd_conf.c: Remove local xstrdup declaration.
12082 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12083 Roland McGrath <roland@hack.frob.com>
12085 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
12086 (do_lookup_unique): ... local function 'enter' here; update callers.
12088 2014-10-06 Joseph Myers <joseph@codesourcery.com>
12090 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
12091 compat_symbol calls on [SHARED].
12092 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
12093 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12095 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12096 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12097 (oldsetrlimit): Remove.
12098 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12100 (lchown): New syscall entry.
12101 (oldsetrlimit): Remove.
12102 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12103 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12104 (oldsetrlimit): Remove.
12105 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12108 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12109 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12110 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12111 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12112 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12113 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12114 (fchown): Likewise.
12115 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12116 (fchown): Likewise.
12117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12120 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12122 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12123 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12124 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12125 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12126 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12128 (__old_sem_post): Likewise.
12130 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
12132 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12133 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12134 HAVE_CLOCK_GETTIME_VSYSCALL macros.
12135 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12136 Use INLINE_VSYSCALL macro.
12137 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12138 __vdso_clock_gettime.
12139 * sysdeps/unix/sysv/linux/tile/init-first.c
12140 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12141 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12142 __vdso_clock_gettime.
12144 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12145 to set up frame more cleanly.
12147 * sysdeps/tile/memcmp.c: New file.
12149 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12151 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12152 * sysdeps/tile/tilegx/strcasestr.c: New file.
12153 * sysdeps/tile/tilegx/strnlen.c: New file.
12154 * sysdeps/tile/tilegx/strstr.c: New file.
12156 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12158 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
12160 * nptl/tst-setuid3.c: Write errors to stdout.
12162 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12165 (preload): New functions broken out of _dl_map_object_deps.
12166 (_dl_map_object_deps): Remove a nested function. Update call sites.
12168 2014-10-01 Joseph Myers <joseph@codesourcery.com>
12171 * sysdeps/unix/sysv/linux/execve.c: Remove file.
12172 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12174 2014-10-01 Steve Ellcey <sellcey@mips.com>
12176 * sysdeps/mips/strcmp.S: New.
12178 2014-09-30 Joseph Myers <joseph@codesourcery.com>
12181 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12182 (linkat): Likewise.
12183 (mkdirat): Likewise.
12184 (readlinkat): Likewise.
12185 (renameat): Likewise.
12186 (symlinkat): Likewise.
12187 (unlinkat): Likewise.
12188 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12189 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12190 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12191 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12192 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12193 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12194 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12196 2014-09-30 Will Newton <will.newton@linaro.org>
12198 * math/math.h: Define long double math functions if
12199 _LIBC_TEST is defined.
12200 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12202 * localedata/Makefile: Move assignment to tests-special
12203 into an ifdef testing run-built-tests.
12204 * timezone/Makefile: Likewise.
12206 2014-09-29 Joseph Myers <joseph@codesourcery.com>
12208 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12209 with $(BASH) not $(SHELL).
12211 2014-09-29 Carlos O'Donell <carlos@redhat.com>
12212 Matthew LeGendre <legendre1@llnl.gov>
12215 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12218 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12220 * stdio-common/printf_fp.c
12221 (hack_digit): New function, broken out of ...
12222 (__printf_fp): ... local function here. Update call sites.
12223 hack_digit now takes an additional parameter that is a pointer
12224 to a struct of the referenced locals. Those locals moved inside
12225 the struct and references updated.
12227 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
12229 * aclocal.m4: Require autoconf 2.69.
12230 * configure: Regenerated.
12231 * sysdeps/aarch64/configure: Likewise.
12232 * sysdeps/alpha/configure: Likewise.
12233 * sysdeps/arm/armv7/configure: Likewise.
12234 * sysdeps/arm/configure: Likewise.
12235 * sysdeps/ia64/configure: Likewise.
12236 * sysdeps/mach/configure: Likewise.
12237 * sysdeps/mips/configure: Likewise.
12238 * sysdeps/s390/configure: Likewise.
12239 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12242 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12244 * sysdeps/ia64/configure.ac: Likewise.
12246 2014-09-26 Joseph Myers <joseph@codesourcery.com>
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12249 specify symbol version for ld.so. Do not include entry for
12251 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12252 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12253 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12256 * Makeconfig [$(build-shared) = yes]
12257 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12259 [$(build-shared) = yes && $(soversions.mk-done) = t]
12260 ($(common-objpfx)gnu/lib-names.h): Remove rule.
12261 [$(build-shared) = yes && $(soversions.mk-done) = t]
12262 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
12264 [$(build-shared) = yes && $(soversions.mk-done) = t]
12265 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12267 [$(build-shared) = yes && $(soversions.mk-done) = t]
12268 (common-generated): Don't append gnu/lib-names.h and
12269 gnu/lib-names.stmp here.
12270 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12271 (lib-names-h-abi): New variable.
12272 [$(build-shared) = yes && $(soversions.mk-done) = t]
12273 (lib-names-stmp-abi): Likewise.
12274 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12275 abi-variants] (before-compile): Append
12276 $(common-objpfx)$(lib-names-h-abi).
12277 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12278 abi-variants] (common-generated): Append gnu/lib-names.h.
12279 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12280 abi-variants] (install-others-nosubdir): Depend on
12281 $(inst_includedir)/$(lib-names-h-abi).
12282 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12283 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12284 [$(build-shared) = yes && $(soversions.mk-done) = t]
12285 ($(common-objpfx)$(lib-names-h-abi)): New rule.
12286 [$(build-shared) = yes && $(soversions.mk-done) = t]
12287 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12288 [$(build-shared) = yes && $(soversions.mk-done) = t]
12289 (common-generated): Append $(lib-names-h-abi) and
12290 $(lib-names-stmp-abi).
12291 * scripts/lib-names.awk: Do not handle multi being set.
12292 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12294 (abi-lp64_be-ld-soname): Likewise.
12295 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12297 (abi-hard-ld-soname): Likewise.
12298 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12299 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12301 (abi-o32_hard-ld-soname): Likewise.
12302 (abi-o32_soft_2008-ld-soname): Likewise.
12303 (abi-o32_hard_2008-ld-soname): Likewise.
12304 (abi-n32_soft-ld-soname): Likewise.
12305 (abi-n32_hard-ld-soname): Likewise.
12306 (abi-n32_soft_2008-ld-soname): Likewise.
12307 (abi-n32_hard_2008-ld-soname): Likewise.
12308 (abi-n64_soft-ld-soname): Likewise.
12309 (abi-n64_hard-ld-soname): Likewise.
12310 (abi-n64_soft_2008-ld-soname): Likewise.
12311 (abi-n64_hard_2008-ld-soname): Likewise.
12312 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12314 (abi-64-v2-ld-soname): Likewise.
12315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12317 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12319 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12321 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12323 (abi-64-ld-soname): Likewise.
12324 (abi-x32-ld-soname): Likewise.
12325 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12327 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12329 2014-09-23 Joseph Myers <joseph@codesourcery.com>
12332 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12333 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12334 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12335 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12336 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12337 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12338 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12339 syscall entry for GLIBC_2.2 symbol version.
12340 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12343 (setrlimit): Likewise.
12344 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12347 2014-09-23 Will Newton <will.newton@linaro.org>
12349 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12350 _LINUX_ARM_SYSDEP_H include guard too.
12351 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12354 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12356 * sysdeps/unix/sysv/linux/eventfd.c:
12357 Make first argument unsigned.
12358 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12359 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12361 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
12363 * socket/recvmmsg.c (recvmmsg): Drop const argument.
12364 * socket/sys/socket.h: Likewise
12365 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12367 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12369 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12371 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
12373 * time/tst-ftime.c: New test.
12374 * time/Makefile (tests): Add tst-ftime.
12376 2014-09-17 Joseph Myers <joseph@codesourcery.com>
12378 * soft-fp/extended.h: Fix comment formatting.
12379 * soft-fp/op-1.h: Likewise.
12380 * soft-fp/op-2.h: Likewise.
12381 * soft-fp/op-4.h: Likewise.
12382 * soft-fp/op-8.h: Likewise.
12383 * soft-fp/op-common.h: Likewise.
12384 * soft-fp/soft-fp.h: Likewise.
12386 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12388 2014-09-16 Joseph Myers <joseph@codesourcery.com>
12391 * Makeconfig (soversions-default-setname): Remove variable.
12392 ($(common-objpfx)soversions.i): Don't pass default_setname to
12394 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12395 oldest_abi to abi-versions.awk.
12396 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12397 * config.make.in (oldest-abi): Remove variable.
12398 * configure.ac (--enable-oldest-abi): Remove configure option.
12399 * configure: Regenerated.
12400 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12402 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12403 * scripts/soversions.awk: Do not handle default_setname variable.
12404 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12406 * sysdeps/mach/hurd/configure: Regenerated.
12407 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12409 * sysdeps/unix/sysv/linux/configure: Regenerated.
12411 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12413 * elf/Makefile (CFLAGS-interp.c): Remove.
12414 ($(elf-objpfx)runtime-linker.h): Generate header with linker
12416 * elf/interp.c: Include generated runtime-linker.h
12418 * Makerules (lib%.so): Don't include $(+interp) in
12420 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12421 * dlfcn/eval.c: Remove file.
12423 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12427 * misc/sys/cdefs.h: Define __extern_always_inline for clang
12431 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12433 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12434 Jakub Jelinek <jakub@redhat.com>
12437 * libio/stdio.h: Check definition of __fortify_function
12438 instead of __extern_always_inline to include bits/stdio2.h.
12439 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12440 check if __extern_always_inline is defined.
12441 [__USE_MISC || __USE_XOPEN]: Likewise.
12442 [__USE_ISOC99] Likewise.
12443 * misc/sys/cdefs.h (__fortify_function): Define only if
12444 __extern_always_inline is defined.
12445 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12446 __extern_always_inline and __extern_inline only for g++-4.3
12447 and newer or a compatible gcc.
12449 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
12452 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12453 last change to handle zero prefix length.
12455 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12457 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12460 * posix/getconf.c (vars): Add _POSIX_IPV6 and
12461 _POSIX_RAW_SOCKETS.
12463 2014-09-13 Allan McRae <allan@archlinux.org>
12465 * po/ru.po: Update Russian translation from translation project.
12467 2014-09-12 Roland McGrath <roland@hack.frob.com>
12469 * locale/programs/locale.c (show_locale_vars): Inline local function
12470 into its sole call site. Clean up some style nits.
12471 (print_item): New function, broken out of ...
12472 (show_info): ... local function here. Clean up style nits.
12474 * locale/programs/ld-ctype.c (set_one_default): New function, broken
12476 (set_class_defaults): ... local function set_default here.
12477 Define set_default as a macro locally to pass constant parameters.
12478 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12479 rather than a shared local.
12481 * stdlib/rpmatch.c (try): New function, broken out of ...
12482 (rpmatch): ... local function here. Also, prototypify definition.
12484 2014-09-12 Joseph Myers <joseph@codesourcery.com>
12486 * scripts/soversions.awk: Do not handle configuration names.
12487 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12488 vendor and os variables to soversions.awk.
12489 * configure.ac: Do not modify gnu-* host_os.
12490 * configure: Regenerated
12491 * shlib-versions: Remove first column with configuration names.
12492 * nptl/shlib-versions: Likewise.
12493 * nptl_db/shlib-versions: Likewise.
12494 * sysdeps/hppa/shlib-versions: Likewise.
12495 * sysdeps/m68k/shlib-versions: Likewise.
12496 * sysdeps/mach/hurd/shlib-versions: Likewise.
12497 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12498 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12499 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12500 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12501 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12502 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12503 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12504 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12507 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12508 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12509 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12510 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12511 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12512 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12513 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12514 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12517 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12520 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12522 Condition symbol version definitions on [HAVE_ELFV2_ABI].
12524 * shlib-versions: Remove OS-specific entries. Moved to files in
12526 * sysdeps/mach/hurd/shlib-versions: New file.
12527 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12529 * nptl/shlib-versions: Remove architecture-specific entries.
12530 Moved to files in sysdeps.
12531 * shlib-versions: Likewise.
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12534 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12535 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12536 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12537 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12539 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12540 (UDP_NO_CHECK6_RX): Likewise.
12542 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12544 * sysdeps/posix/sysconf.c (__sysconf): Spell
12545 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12547 2014-08-12 Florian Weimer <fweimer@redhat.com>
12549 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12551 * iconv/Versions (__gconv_transliterate): Export for use from
12553 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12554 (struct __gconv_trans_data, __gconv_trans_fct,
12555 __gconv_trans_context_fct, __gconv_trans_query_fct,
12556 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12558 (struct __gconv_step_data): Remove __trans member.
12559 (__gconv_transliterate): Declaration moved from gconv_int.h. No
12560 longer hidden. Remove unused trans_data argument.
12561 * iconv/gconv_int.h (struct trans_struct): Remove definition.
12562 (__gconv_translit_find): Remove declaration.
12563 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
12565 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12566 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12567 trans_data argument. Add hidden definition.
12568 (__gconv_translit_find): Remove.
12569 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12570 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12571 * iconv/skeleton.c: Remove transliteration initialization.
12572 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12573 __gconv_step_data initialization.
12574 * libio/iofwide.c (__libio_translit_): Remove.
12575 (_IO_fwide): Adjust struct __gconv_step_data initialization.
12576 * wcsmbs/btowc.c (__btowc): Likewise.
12577 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12578 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12579 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12580 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12581 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12582 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12583 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12584 * wcsmbs/wctob.c (wctob): Likewise.
12586 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12589 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12590 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
12592 * sysdeps/x86/Makefile: Adjust.
12594 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12595 Roland McGrath <roland@hack.frob.com>
12597 * locale/weight.h: Add include guard.
12598 (findidx): Make static rather than auto; take new parameters
12599 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12600 * locale/weightwc.h: Likewise.
12601 * posix/fnmatch_loop.c
12602 (FCT): Change type of EXTRA from int32_t to wint_t.
12603 Don't include either header inside the function.
12604 Call FINDIDX rather than findidx, and pass new arguments.
12605 #undef FINDIDX at the end of the file.
12606 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12607 FINDIDX before including fnmatch_loop.c for the non-wide version.
12608 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12609 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12610 for the wide version.
12611 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12612 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12613 Pass new arguments to findidx.
12614 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12615 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12616 Don't #include it inside the function. Pass new arguments to findidx.
12617 * posix/regex_internal.h
12618 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12619 (re_string_elem_size_at): Don't #include it inside the function.
12620 Pass new arguments to findidx.
12621 * string/strcoll_l.c: #include WEIGHT_H at top level.
12622 (get_next_seq): Don't #include it inside the function.
12623 Pass new arguments to findidx.
12624 (get_next_seq_nocache): Likewise.
12625 * string/strxfrm_l.c: #include WEIGHT_H at top level.
12626 (STRXFRM): Don't #include it inside the function.
12627 Pass new arguments to findidx.
12629 2014-09-11 Florian Weimer <fweimer@redhat.com>
12632 * malloc/malloc.c (unlink): Turn asserts into a call to
12635 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
12638 * libio/wfileops (do_ftell_wide): Free OUT.
12640 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
12642 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12644 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12647 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12648 group if the current group is empty.
12650 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12652 * benchtests/bench-memset.c (test_main): Add more test from size
12653 from 32 to 512 bytes.
12654 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12655 Add POWER8 memset object.
12656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12657 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12658 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12660 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12662 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12663 multiarch POWER8 memset optimization.
12664 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12665 POWER8 memset optimization.
12667 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12668 Remove bzero multiarch objects.
12669 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12670 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12671 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12672 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12674 [__bzero]: Redefine to specific name.
12675 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12676 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12677 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12679 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12680 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12682 2014-09-10 Florian Weimer <fweimer@redhat.com>
12684 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12685 warnings into errors.
12687 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12688 __cxa_thread_atexit_impl prototype.
12690 2014-09-09 Steve Ellcey <sellcey@mips.com>
12692 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12693 Fix capitalization of error message.
12695 2014-09-09 Steve Ellcey <sellcey@mips.com>
12697 * sysdeps/mips/preconfigure: Modify ABI tests.
12699 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
12701 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12703 2014-09-07 Roland McGrath <roland@hack.frob.com>
12704 Carlos O'Donell <carlos@systemhalted.org>
12706 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12707 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12708 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12709 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12710 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12711 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12712 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12713 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12714 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12715 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12716 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12717 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12718 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12719 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12720 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12721 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12722 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12723 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12724 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12725 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12726 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12727 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12728 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12729 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12730 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12731 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12732 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12733 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12734 Deconditionalize the code that was previously under [RESET_PID].
12735 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12736 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12737 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12738 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12741 2014-09-08 Allan McRae <allan@archlinux.org>
12743 * version.h (RELEASE): Set to "development".
12744 (VERSION): Set to "2.20.90"
12746 2014-09-07 Allan McRae <allan@archlinux.org
12748 * version.h (RELEASE): Set to "stable".
12749 (VERSION): Set to "2.20"
12750 * include/features.h (__GLIBC_MINOR__): Set to 20.
12752 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12755 * po/ko.po: Update Korean translation from translation project.
12757 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
12760 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12761 macro for handling signed relocations.
12763 2014-09-03 Florian Weimer <fweimer@redhat.com>
12766 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12767 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12769 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12770 * iconvdata/ibm935.c (BODY): Likewise.
12771 * iconvdata/ibm937.c (BODY): Likewise.
12772 * iconvdata/ibm939.c (BODY): Likewise.
12773 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12775 * iconvdata/Makefile (iconv-test.out): Pass module list to test
12777 * iconvdata/run-iconv-test.sh: New test loop for checking for
12780 2014-09-02 Khem Raj <raj.khem@gmail.com>
12782 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12785 2014-09-01 Allan McRae <allan@archlinux.org>
12787 * po/eo.po: Update Esperanto translation from translation project.
12789 * po/ca.po: Update Catalan translation from translation project.
12791 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12793 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12794 __proc_dostop call.
12796 2014-08-27 Mark Wielaard <mjw@redhat.com>
12799 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12800 to call set_thread_area instead of hand written asm.
12801 (__NR_set_thread_area): Removed define.
12802 (TLS_FLAG_WRITABLE): Likewise.
12803 (__ASSUME_SET_THREAD_AREA): Remove check.
12804 (TLS_EBX_ARG): Remove define.
12805 (TLS_LOAD_EBX): Likewise.
12807 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12809 Simplify atomicity of socket creation in bind.
12811 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12812 looking up the name after linking the file.
12814 2014-08-27 Allan McRae <allan@archlinux.org>
12816 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12818 2014-08-26 Florian Weimer <fweimer@redhat.com>
12821 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12822 trans_compare, open_translit, __gconv_translit_find):
12823 Remove module loading code.
12825 2014-08-26 Allan McRae <allan@archlinux.org>
12827 * po/vi.po: Update Vietnamese translation from translation project.
12829 * po/uk.po: Update Ukrainian translation from translation project.
12831 * po/fr.po: Update French translation from translation project.
12833 * po/ru.po: Update Russian translation from translation project.
12835 * po/pl.po: Update Polish translation from translation project.
12837 * po/cs.po: Update Czech translation from translation project.
12839 * po/de.po: Update German translation from translation project.
12841 * po/bg.po: Update Bulgarian translation from translation project.
12843 * po/sv.po: Update Sweedish translation from translation project.
12845 * po/nl.po: Update Dutch translation from translation project.
12847 * po/es.po: Update Spanish translation from translation project.
12849 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12851 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12853 * catgets/Makefile (CPPFLAGS-gencat): Remove.
12854 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12855 (CPPFLAGS-iconvconfig): Likewise.
12856 * timezone/Makefile (CPPFLAGS-zic): Likewise.
12858 * include/libc-symbols.h: Remove unnecessary check for
12860 * nptl/pthreadP.h: Likewise.
12861 * sysdeps/aarch64/setjmp.S: Likewise.
12862 * sysdeps/alpha/setjmp.S: Likewise.
12863 * sysdeps/arm/sysdep.h: Likewise.
12864 * sysdeps/i386/setjmp.S: Likewise.
12865 * sysdeps/m68k/setjmp.c: Likewise.
12866 * sysdeps/posix/getcwd.c: Likewise.
12867 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12868 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12869 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12870 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12871 * sysdeps/sh/sh3/setjmp.S: Likewise.
12872 * sysdeps/sh/sh4/setjmp.S: Likewise.
12873 * sysdeps/unix/alpha/sysdep.h: Likewise.
12874 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12875 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12876 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12877 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12880 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12881 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12882 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12883 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12884 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12885 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12886 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12887 * sysdeps/x86_64/setjmp.S: Likewise.
12889 2014-08-13 Joseph Myers <joseph@codesourcery.com>
12892 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12894 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12895 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12897 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12899 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12902 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12903 and __x86_64__ when disabling x87 inline functions.
12905 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
12908 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12909 asm statement with __cpuid_count.
12911 2014-08-12 Mike Frysinger <vapier@gentoo.org>
12913 * configure.ac: Change __ehdr_start code to dereference the struct.
12914 Run readelf on the output to look for relocations.
12915 * configure: Regenerated.
12917 2014-08-12 Joseph Myers <joseph@codesourcery.com>
12920 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12922 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12924 2014-08-12 Roland McGrath <roland@hack.frob.com>
12926 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12928 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
12931 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12932 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12934 2014-08-12 Sean Anderson <seanga2@gmail.com>
12936 * malloc/malloc.c: Fix typo in comment.
12938 2014-08-09 Allan McRae <allan@archlinux.org>
12940 * Regenerate libc.po.
12942 2014-08-08 Mike Frysinger <vapier@gentoo.org>
12944 * intl/tst-gettext2.sh: Check every lang file for creation.
12946 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12948 * sysdeps/aarch64/fpu/math_private.h
12949 (libc_feholdsetround_noex_aarch64_ctx): New function.
12951 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12953 * sysdeps/arm/armv6/strcpy.S (strcpy):
12954 Fix performance issue in misaligned cases.
12956 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12958 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12959 Move definition from termios.h.
12960 (struct termio): Likewise.
12961 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12962 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12963 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12964 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12966 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12967 Move definition to ioctl-types.h
12968 (struct termio): Likewise.
12969 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12970 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12971 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12972 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12975 2014-08-05 Richard Henderson <rth@redhat.com>
12977 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12979 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12981 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12982 Use __feraiseexcept.
12983 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12984 Protect libm symbols with IS_IN_libm.
12986 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12988 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
12990 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12992 2014-08-04 Will Newton <will.newton@linaro.org>
12994 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12997 2014-08-04 Mike Frysinger <vapier@gentoo.org>
12999 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13000 variants for each function.
13002 2014-08-04 Roland McGrath <roland@hack.frob.com>
13004 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
13006 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
13007 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
13009 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
13010 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
13011 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
13012 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
13013 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
13014 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
13015 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
13016 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
13017 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
13018 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
13019 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
13020 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
13021 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
13022 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
13023 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
13024 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
13025 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
13026 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
13027 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
13028 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
13029 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
13030 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
13031 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
13032 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
13033 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
13034 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
13035 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
13036 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
13037 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
13038 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
13039 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
13040 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
13041 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
13042 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
13043 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
13044 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
13045 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
13046 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
13047 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
13048 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
13049 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
13050 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
13051 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
13052 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
13053 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
13054 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
13055 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
13056 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
13057 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
13058 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
13059 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
13060 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
13061 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
13063 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
13064 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
13066 2014-08-04 Roland McGrath <roland@hack.frob.com>
13068 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
13069 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
13070 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
13071 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
13072 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
13073 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
13075 2014-08-04 Roland McGrath <roland@hack.frob.com>
13077 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
13078 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
13079 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13080 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
13082 2014-08-04 Roland McGrath <roland@hack.frob.com>
13084 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
13085 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
13086 (__libc_vfork): Define function under this name.
13087 (__vfork): Define as an alias.
13088 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
13089 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
13091 2014-08-04 Roland McGrath <roland@hack.frob.com>
13093 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
13094 that was previously under [RESET_PID].
13095 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13097 2014-08-04 Andreas Schwab <schwab@suse.de>
13099 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13101 2014-08-03 Mike Frysinger <vapier@gentoo.org>
13103 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13106 2014-08-01 Roland McGrath <roland@hack.frob.com>
13108 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13110 2014-08-01 Richard Henderon <rth@redhat.com>
13112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13113 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13114 typo in exact zero test.
13115 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13116 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13117 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13119 2014-08-01 Roland McGrath <roland@hack.frob.com>
13121 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13122 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13123 * sysdeps/arm/sysdep.h: ... here.
13124 [!__ASSEMBLER__]: Include <stdint.h>.
13126 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13128 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13129 (HAVE_WCTYPE_H): Likewise.
13130 (HAVE_ISWCTYPE): Likewise.
13131 (ENABLE_NLS): Likewise.
13132 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13133 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13135 * posix/regex_internal.c: Check if DEBUG is defined and is
13138 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13139 (HAVE_MBSRTOWCS): Likewise.
13140 * posix/fnmatch.c: Include string.h unconditionally.
13142 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13144 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13147 2014-07-31 Roland McGrath <roland@hack.frob.com>
13149 * sysdeps/generic/safe-fatal.h: New file.
13150 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13151 * nptl/forward.c: Include it.
13152 (__pthread_unwind): Use __safe_fatal as default action, rather
13153 than a bogus use of INTERNAL_SYSCALL that could never work.
13155 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13156 * configure.ac (libc_cv_builtin_trap): New test.
13157 * configure: Regenerated.
13158 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13159 (ABORT_INSTRUCTION): Define using __builtin_trap.
13161 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13162 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13163 * sysdeps/nptl/nptl-signals.h: New file.
13164 * nptl/pthreadP.h: Include <nptl-signals.h>.
13166 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13168 * sysdeps/s390/s390-64/utf16-utf32-z9.c
13169 (ONE_DIRECTION): Define.
13170 * sysdeps/s390/s390-64/utf8-utf16-z9.c
13171 (ONE_DIRECTION): Define.
13172 * sysdeps/s390/s390-64/utf8-utf32-z9.c
13173 (ONE_DIRECTION): Define.
13175 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13177 * sysdeps/s390/Makefile: Delete file.
13178 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13179 * sysdeps/s390/__longjmp.c: Delete file.
13180 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13181 Remove fields __flags and __reserved.
13182 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13183 and add versioning.
13184 * sysdeps/s390/rtld-__longjmp.c: Delete file.
13185 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13186 * sysdeps/s390/rtld-setjmp.S: Likewise.
13187 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13188 * sysdeps/s390/s390-32/__longjmp.c: ... here.
13189 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13190 * sysdeps/s390/s390-32/setjmp.S: ... here.
13192 (__sigsetjmp): Remove setting __flags field.
13193 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13194 * sysdeps/s390/s390-64/__longjmp.c: ... here.
13195 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13196 * sysdeps/s390/s390-64/setjmp.S: ... here.
13198 (__sigsetjmp): Remove setting __flags field.
13199 * sysdeps/s390/setjmp.S: Delete file.
13200 * sysdeps/s390/sigjmp.c: Likewise.
13201 * sysdeps/s390/v1-longjmp.c: Likewise.
13202 * sysdeps/s390/v1-setjmp.h: Likewise.
13203 * sysdeps/s390/v1-sigjmp.c: Likewise.
13204 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13205 Remove v1-longjmp_chk.
13206 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13207 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13208 Include debug/longjmp_chk.c and add versioning.
13209 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13210 Include nptl/pt-longjmp.c and add versioning.
13211 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13212 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13213 Include __longjmp.c.
13214 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13216 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13217 (__getcontext): Remove setting __flags field.
13219 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13220 Don't restore upper high grps.
13221 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13223 (__swapcontext): Remove setting uc_flags field.
13224 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13226 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13227 Include __longjmp.c.
13228 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13230 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13231 (__getcontext): Remove setting __flags field.
13233 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13234 (__swapcontext): Remove setting uc_flags field.
13235 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13236 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13237 Remove fields uc_high_gprs and __reserved.
13238 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13239 New file with reverted content.
13240 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13241 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13243 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13246 2014-07-31 Andreas Schwab <schwab@suse.de>
13248 * config.h.in (HAVE_IFUNC): Define to 0.
13249 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13252 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
13254 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13255 memmove-avx-unaligned, memcpy-avx-unaligned and
13256 mempcpy-avx-unaligned.
13257 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13258 Add tests for AVX memcpy functions.
13259 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13260 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13262 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13263 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13265 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13266 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13268 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13269 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13270 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13272 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13275 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13278 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
13281 * manual/llio.texi: Add section about open file description locks.
13282 * manual/examples/ofdlocks.c: Example of open file description
13284 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13285 F_OFD_SETLK, and F_OFD_SETLKW.
13287 2014-07-23 Allan McRae <allan@archlinux.org>
13289 * po/es.po: Update Spanish translation from translation project.
13291 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
13293 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13295 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
13298 * sysdeps/arm/dl-machine.h (elf_machine_rela)
13299 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13300 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13302 2014-07-17 Joseph Myers <joseph@codesourcery.com>
13305 * math/fesetenv.c (__fesetenv)
13306 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13307 * math/feupdateenv.c (__feupdateenv)
13308 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13310 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13311 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13312 (__ASSUME_SOCKETCALL): Do not define.
13314 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13315 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13316 (__ASSUME_SOCKETCALL): Do not define.
13317 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13318 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13319 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13320 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13321 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13322 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13323 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13324 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13326 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13327 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13328 (__ASSUME_SOCKETCALL): Do not define.
13329 (__ASSUME_IPC64): Define unconditionally.
13330 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13331 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13332 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13333 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13334 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13335 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13336 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13339 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13340 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13341 (__ASSUME_SOCKETCALL): Do not define.
13342 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13343 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13344 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13345 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13346 (__ASSUME_REQUEUE_PI): Define unconditionally.
13347 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13348 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13349 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13350 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13351 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13352 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13354 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13355 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13356 (__ASSUME_SOCKETCALL): Do not define.
13357 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13358 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13359 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13360 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13361 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13362 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13364 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13365 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13366 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13367 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13368 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13369 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13370 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13371 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13372 (__ASSUME_GETCPU_SYSCALL): Likewise.
13374 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13375 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
13376 cases for individual architectures.
13377 * sysdeps/gnu/configure: Regenerated.
13378 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13379 LIBC_SLIBDIR_RTLDDIR.
13380 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13381 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13382 LIBC_SLIBDIR_RTLDDIR.
13383 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13385 LIBC_SLIBDIR_RTLDDIR.
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13388 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13389 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13391 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13392 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13394 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13395 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13396 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13397 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13399 * sysdeps/aarch64/shlib-versions: Move to ...
13400 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13401 * sysdeps/alpha/shlib-versions: Move to ...
13402 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13403 * sysdeps/arm/shlib-versions: Move to ...
13404 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13405 * sysdeps/hppa/shlib-versions: Move all contents except for
13406 libgcc_s entry to ...
13407 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
13409 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
13410 * sysdeps/ia64/shlib-versions: Move to ...
13411 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
13413 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
13414 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13415 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13416 * sysdeps/microblaze/shlib-versions: Move to ...
13417 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13418 * sysdeps/mips/shlib-versions: Move to ...
13419 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
13421 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
13422 * sysdeps/tile/shlib-versions: Move to ...
13423 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13424 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13426 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
13427 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13429 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
13431 2014-07-17 Will Newton <will.newton@linaro.org>
13433 * sysdeps/arm/bits/atomic.h
13434 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13435 (__arch_compare_and_exchange_bool_16_int): Likewise.
13436 (__arch_compare_and_exchange_bool_64_int): Likewise.
13438 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13439 into an #else block.
13441 2014-07-16 Roland McGrath <roland@hack.frob.com>
13443 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13444 just Linux configurations. Test empirically that the compiler sets
13445 __ARM_EABI__, rather than using the tuple to decide.
13446 * sysdeps/arm/preconfigure: Regenerated.
13447 * sysdeps/unix/sysv/linux/arm/configure: File removed.
13448 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13449 contents appended ...
13450 * sysdeps/arm/configure.ac: ... here.
13451 * sysdeps/arm/configure: Regenerated.
13453 2014-07-15 Roland McGrath <roland@hack.frob.com>
13455 * nptl/pthread_kill.c: New file.
13456 * nptl/pthread_sigmask.c: New file.
13457 * nptl/pthread_sigqueue.c: New file.
13459 * sysdeps/nptl/lowlevellock.h: New file.
13460 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13461 * sysdeps/nptl/lowlevellock-futex.h: New file.
13463 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13464 Remove dead declarations.
13466 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
13468 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13469 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13470 config-cflags-avx2.
13471 * sysdeps/x86_64/configure.ac: Likewise.
13472 * sysdeps/i386/configure: Regenerated.
13473 * sysdeps/x86_64/configure: Likewise.
13474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13475 memset-avx2 only if config-cflags-avx2 is yes.
13476 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13477 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13479 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13480 only if HAVE_AVX2_SUPPORT is defined.
13481 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13483 2014-07-14 Alan Modra <amodra@gmail.com>
13486 * elf/elf.h (DT_PPC64_NUM): Correct value.
13487 * NEWS: Add to fixed bug list.
13489 2014-07-13 Jim Meyering <meyering@fb.com>
13492 regex: don't deref NULL upon heap allocation failure
13493 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13494 failure in one more place.
13495 To trigger the segfault, configure grep -with-included-regex,
13496 build it, and run these commands:
13497 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13499 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
13501 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13503 2014-07-11 Richard Henderson <rth@redhat.com>
13505 * sysdeps/aarch64/libm-test-ulps: Update.
13507 2014-07-10 Florian Weimer <fweimer@redhat.com>
13510 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13511 * nptl/allocatestack.c (__nptl_setxid_error): New function.
13512 (__nptl_setxid): Initialize error member. Call
13513 __nptl_setxid_error.
13514 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13515 * nptl/descr.h (struct xid_command): Add error member.
13516 * nptl/tst-setuid3.c: New file.
13517 * nptl/Makefile (tests): Add it.
13519 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13521 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13523 (__lll_trylock): Use __lll_base_trylock.
13524 (__lll_cond_trylock): Likewise.
13526 2014-07-10 Roland McGrath <roland@hack.frob.com>
13528 * nptl/pthread_create.c (start_thread): Use atomic_or and
13529 lll_futex_wake directly rather than lll_robust_dead.
13530 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13531 (lll_robust_dead): Macro removed.
13532 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13533 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13534 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13535 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13536 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13537 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13538 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13539 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13540 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13541 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13542 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13543 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13544 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13545 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13546 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13548 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13549 Use atomic_compare_and_exchange_val_acq directly rather than
13550 lll_robust_trylock.
13551 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13552 (__lll_robust_trylock, lll_robust_trylock): Removed.
13553 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13554 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13555 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13556 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13557 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13558 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13559 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13560 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13561 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13562 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13563 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13564 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13565 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13566 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13568 2014-07-02 Florian Weimer <fweimer@redhat.com>
13570 * manual/locale.texi (Locale Names): New section documenting
13571 locale name syntax. Adjust menu and node chaining accordingly.
13572 (Choosing Locale): Reference Locale Names, Locale Categories.
13573 Mention setting LC_ALL=C. Reflect that name syntax is now
13575 (Locale Categories): New section title. Reference Locale Names.
13576 LC_ALL is an environment variable, but not a category.
13577 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13578 description, now in Locale Name. Reference that section. Locale
13579 name syntax is now documented.
13581 2014-07-02 Florian Weimer <fweimer@redhat.com>
13584 * locale/findlocale.c (name_present, valid_locale_name): New
13586 (_nl_find_locale): Use the loc_name variable to store name
13587 candidates. Call name_present and valid_locale_name to check and
13588 validate locale names. Return an error if the locale is invalid.
13590 2014-07-02 Florian Weimer <fweimer@redhat.com>
13592 * locale/setlocale.c (setlocale): Use strdup for allocating
13593 composite name copy.
13595 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13597 Sync up with gnulib.
13598 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13599 [!_LIBC && ENABLE_NLS]: Include gettext.h.
13600 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13601 and _GL_ARG_NONNULL.
13602 [USE_UNLOCKED_IO]: Include unlocked-io.h.
13603 [!_LIBC]: Include code for Windows and Cygwin.
13604 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13605 Include prototype for int strerror_r.
13606 [!_LIBC] (is_open): New function.
13607 (flush_stdout): New function.
13608 (print_errno_message): Use it.
13610 (error_at_line): Likewise.
13611 (error_tail) Add function attribute macros. Use
13614 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13616 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13618 * io/ftw.c: Include sys/param.h unconditionally.
13620 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13623 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13625 (freecache): New function to free CACHE on exit.
13627 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13630 2014-07-09 David S. Miller <davem@davemloft.net>
13632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13634 * sysdeps/sparc/nptl/internaltypes.h: Delete.
13635 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13636 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13637 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13638 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13639 * sysdeps/sparc/nptl/sem_init.c: Likewise.
13640 * sysdeps/sparc/nptl/sem_post.c: Likewise.
13641 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13642 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13643 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13644 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13645 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13646 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13648 2014-07-09 Andreas Schwab <schwab@suse.de>
13650 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13652 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13653 (do_test): Likewise.
13655 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13657 2014-07-09 Will Newton <will.newton@linaro.org>
13659 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13660 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13661 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13662 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13663 * sysdeps/hppa/start.S (_start): Likewise.
13665 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13667 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13669 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13672 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13674 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13675 after checking that it is non-NULL.
13677 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13679 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13681 * sysdeps/powerpc/memmove.c: Remove file.
13682 * sysdeps/powerpc/powerpc32/power4/memcopy.h
13683 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13684 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13685 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13686 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13687 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13688 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13689 string memmove instead of removed powerpc one.
13691 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13692 [weak_alias]: Fix compiler warning due trailing data.
13693 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13694 [weak_alias]: Likewise.
13695 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13696 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13698 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13699 (__libc_ifunc_impl_list): Add memmove functions.
13701 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13703 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13705 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13707 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13709 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13711 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13713 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13715 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13717 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13719 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13721 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13723 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13725 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13727 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13729 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13731 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13733 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13735 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13738 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13740 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13741 to avoid alignment traps in non-cacheable memory.
13742 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13744 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13746 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13747 file: multiarch power7 memmove.
13748 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13749 multiarch default memmove.
13750 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13751 multiarch memove for powerpc32/power4.
13753 * string/bcopy.c: Use full path to include memmove.c.
13754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13756 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13757 bcopy for powerpc64.
13758 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13759 bcopy for powerpc64.
13760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13761 and memmove implementations.
13762 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13763 optimized multiarch memmove for POWER7/powerpc64.
13764 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13765 default multiarch memmove for powerpc64.
13766 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13767 multiarch for powerpc64.
13768 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13769 for POWER7/powerpc64.
13770 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13771 memmove for POWER7/powerpc64.
13773 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13776 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13777 __ELF_NATIVE_CLASS equal to 64.
13779 2014-07-07 Roland McGrath <roland@hack.frob.com>
13781 * sysdeps/nptl/lowlevellock.h: File removed.
13783 * NEWS: NPTL is no longer an add-on!
13784 * nptl/internaltypes.h: Moved ...
13785 * sysdeps/nptl/internaltypes.h: ... here.
13786 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13787 * sysdeps/nptl/fork.c: Likewise.
13788 * sysdeps/nptl/gai_misc.h: Likewise.
13789 * sysdeps/nptl/librt-cancellation.c: Likewise.
13790 * sysdeps/nptl/jmp-unwind.c: Likewise.
13791 * sysdeps/nptl/setxid.h: Likewise.
13792 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13793 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13794 * sysdeps/unix/sysv/linux/arm/Implies: New file.
13795 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13796 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13797 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13798 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13799 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13800 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13801 * sysdeps/unix/sysv/linux/mips/Implies: New file.
13802 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13803 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13804 * sysdeps/unix/sysv/linux/sh/Implies: New file.
13805 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13806 * sysdeps/unix/sysv/linux/tile/Implies: New file.
13807 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13808 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13809 * nptl/Makeconfig: Moved ...
13810 * sysdeps/nptl/Makeconfig: ... here.
13811 * nptl/configure: File removed.
13812 * nptl/ANNOUNCE: File removed.
13813 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13814 * sysdeps/unix/sysv/linux/configure: Regenerated.
13816 * nptl/Makefile (routines): Add libc_pthread_init,
13817 libc_multiple_threads, register-atfork and unregister-atfork.
13818 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13819 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13820 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13821 pthread-pi-defines.sym, structsem.sym.
13822 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13823 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13824 [$(subdir) = nptl] (tests): Add tst-setgetname.
13825 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13826 * sysdeps/unix/sysv/linux/sigaction.c: Just include
13827 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13828 [!LIBC_SIGACTION]: Remove aliases.
13829 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13830 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13831 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13832 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13833 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13834 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13835 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13836 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13837 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13838 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13839 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13840 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13841 __libc_allocate_rtsig_private.
13842 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13843 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13844 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13845 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13846 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13847 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13848 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13849 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13850 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13851 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13852 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13853 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13854 * nptl/internaltypes.h: ... here.
13855 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13856 * sysdeps/nptl/jmp-unwind.c: ... here.
13857 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13858 * nptl/libc-lowlevellock.c: ... here.
13859 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13860 * nptl/libc_multiple_threads.c: ... here.
13861 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13862 * nptl/libc_pthread_init.c: ... here.
13863 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13864 * nptl/lowlevelbarrier.sym: ... here.
13865 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13866 * nptl/lowlevelcond.sym: ... here.
13867 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13868 * nptl/lowlevellock.c: ... here.
13869 * nptl/lowlevellock.h: Moved ...
13870 * sysdeps/nptl/lowlevellock.h: ... here.
13871 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13872 * nptl/lowlevelrobustlock.c: ... here.
13873 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13874 * nptl/lowlevelrobustlock.sym: ... here.
13875 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13876 * nptl/lowlevelrwlock.sym: ... here.
13877 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13878 * nptl/pt-fork.c: ... here.
13879 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13880 * nptl/pthread-pi-defines.sym: ... here.
13881 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13882 * nptl/pthread_attr_getaffinity.c: ... here.
13883 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13884 * nptl/pthread_attr_setaffinity.c: ... here.
13885 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13886 * nptl/pthread_mutex_cond_lock.c: ... here.
13887 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13889 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13890 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13891 * nptl/pthread_once.c: ... here, replacing old file.
13892 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13893 * nptl/pthread_yield.c: ... here.
13894 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13895 * nptl/register-atfork.c: ... here.
13896 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13897 * nptl/sem_post.c: ... here.
13898 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13899 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13900 * nptl/sem_timedwait.c: ... here.
13901 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13902 * nptl/sem_trywait.c: ... here.
13903 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13904 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13905 * nptl/sem_wait.c: ... here.
13906 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13907 * nptl/structsem.sym: ... here.
13908 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13909 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13910 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13911 * nptl/unregister-atfork.c: ... here.
13912 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13913 * nptl/unwindbuf.sym: ... here.
13914 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13915 * sysdeps/nptl/fork.c: ... here.
13916 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13917 * sysdeps/nptl/fork.h: ... here.
13918 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13919 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13920 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13921 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13922 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13923 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13924 * sysdeps/unix/sysv/linux/getpid.c: ... here.
13925 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13926 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13927 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13928 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13929 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13930 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13931 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13932 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13933 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13934 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13935 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13936 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13937 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13938 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13939 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13940 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13941 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13942 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13943 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13944 * sysdeps/unix/sysv/linux/raise.c: ... here.
13945 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13946 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13947 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13948 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13949 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13950 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13951 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13952 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13953 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13954 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13955 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13956 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13957 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13958 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13959 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13961 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13963 * sysdeps/generic/memcopy.h: Add comment for
13964 MEMCPY_OK_FOR_FWD_MEMMOVE.
13966 2014-07-04 Will Newton <will.newton@linaro.org>
13968 * string/memchr.c: Merge from gnulib.
13969 [_LIBC]: Remove conditionals.
13970 (__ptr_t): Remove define.
13971 (LONG_MAX_32_BITS): Likewise.
13972 (LONG_MAX): Likewise.
13973 (MEMCHR): Use ANSI prototype and optimize algorithm.
13975 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13977 2014-07-03 Roland McGrath <roland@hack.frob.com>
13979 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13980 (lll_futex_timed_wait_bitset): Fix syscall argument count.
13982 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13983 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13984 in a bare environment with no <stdlib.h> installed.
13985 * sysdeps/nptl/configure: Regenerated.
13987 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13989 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13990 AC_EGREP_CPP for kernel header checks, so they only succeed if
13991 including <linux/version.h> actually works right.
13992 * sysdeps/unix/sysv/linux/configure: Regenerated.
13994 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13995 value so it's not diagnosed as unused.
13997 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13998 thing) with "ifeq ($(subdir),rt)".
14000 2014-07-03 Richard Henderson <rth@redhat.com>
14002 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
14003 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
14004 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
14006 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
14007 (math_force_eval): New.
14009 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
14010 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
14012 * sysdeps/alpha/fpu/s_round.c: Remove file.
14013 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
14015 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
14016 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
14017 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
14018 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
14019 (_dl_start, print_statistics): Likewise.
14020 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
14021 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
14023 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14024 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14025 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14026 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14027 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14028 (HP_SMALL_TIMING_AVAIL): Define.
14029 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14030 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14031 (HP_SMALL_TIMING_AVAIL): Define.
14032 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14033 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
14035 * sysdeps/aarch64/hp-timing.h: New file.
14037 * sysdeps/generic/hp-timing.h: Remove dead comment.
14038 * sysdeps/generic/hp-timing-common.h: New file.
14039 * sysdeps/alpha/hp-timing.h: Include it.
14040 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
14041 * sysdeps/i386/i686/hp-timing.h: Likewise.
14042 * sysdeps/ia64/hp-timing.h: Likewise.
14043 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14044 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14045 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14046 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14047 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
14048 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
14049 (hp_timing_t): New.
14051 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
14052 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
14053 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
14054 * elf/rtld.c (_dl_start_final): Likewise.
14055 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
14056 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14057 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14058 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14059 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14060 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14061 (HP_TIMING_DIFF_INIT): Remove.
14062 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14063 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
14064 (HP_TIMING_DIFF_INIT): Remove.
14065 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
14066 * sysdeps/i386/i686/hp-timing.c: Remove file.
14067 * sysdeps/x86_64/hp-timing.c: Remove file.
14068 * sysdeps/ia64/hp-timing.c: Remove file.
14069 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
14070 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
14071 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
14072 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
14074 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
14075 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
14076 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
14077 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14078 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
14079 (HP_TIMING_ACCUM): Remove.
14080 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14081 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
14082 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
14084 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
14085 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
14086 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
14087 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
14088 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
14089 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14090 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
14091 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
14093 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14095 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
14097 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14099 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14101 Sync up with gettext.
14102 * intl/loadmsgcat.c: Define O_BINARY if not defined.
14103 [_MSC_VER]: Include malloc.h
14104 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14105 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14106 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
14107 TEMP_FAILURE_RETRY. Cast return of alloca.
14108 [!_LIBC] Call gl_rwlock_init.
14109 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14111 2014-07-02 Roland McGrath <roland@hack.frob.com>
14113 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14114 before checking its value.
14116 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14118 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14120 * debug/memcpy_chk.c: Don't include pagecopy.h.
14121 * debug/mempcpy_chk.c: Likewise.
14122 * string/memcpy.c: Likewise.
14123 * string/memmove.c: Likewise.
14124 * sysdeps/powerpc/memmove.c: Likewise.
14125 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
14126 definition of PAGE_COPY_FWD_MAYBE here...
14127 * sysdeps/generic/pagecopy.h: ... from here.
14128 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14130 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14131 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14133 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14137 (__libc_ifunc_impl_list): Likewise.
14138 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14139 multiarch strcat for PPC64.
14140 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14141 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14143 2014-07-02 Roland McGrath <roland@hack.frob.com>
14145 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14147 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14149 * intl/loadmsgcat.c: Remove declaration of
14150 get_sysdep_segment_value.
14151 (get_sysdep_segment_value): Use ISO C style.
14152 (_nl_load_domain): Use ISO C style. Get rid of redundant
14153 semicolon. Fix typo and formatting in comment.
14154 (_nl_unload_domain): Use ISO C style.
14156 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14158 2014-07-02 Will Newton <will.newton@linaro.org>
14160 * malloc/obstack.c: Merge from gnulib master.
14161 [HAVE_CONFIG_H]: Remove conditional code.
14162 [!_LIBC]: Include config.h.
14163 [!ELIDE_CODE]: Don't include inttypes.h, include
14164 stdint.h unconditionally.
14165 (print_and_abort): Mark as _Noreturn.
14166 (_obstack_allocated_p): Mark as __attribute_pure__.
14167 (obstack_free): Rename to __obstack_free.
14168 [!__attribute__]: Remove conditional code.
14169 * malloc/obstack.h: Merge from gnulib master.
14170 [__cplusplus]: Move conditional down.
14171 [!__attribute_pure__]: Define __attribute_pure__ here
14172 if it is not already defined.
14173 (_obstack_memory_used): Mark as __attribute_pure__.
14174 [!__obstack_free]: Define as obstack_free.
14175 [__GNUC__]: Remove check for ancient NeXT gcc.
14177 2014-07-02 Will Newton <will.newton@linaro.org>
14178 Paul Eggert <eggert@cs.ucla.edu>
14180 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14182 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14184 * resolv/gethnamaddr.c: Add comment warning that the file is
14187 2014-07-01 Carlos O'Donell <carlos@redhat.com>
14189 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14192 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14193 entry for aio_cancel and aio_cancel64.
14194 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14195 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14196 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14197 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14198 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14199 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14200 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14201 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14202 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14203 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14204 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14205 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14206 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14208 2014-07-01 Roland McGrath <roland@hack.frob.com>
14210 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14211 * nptl/pthread_mutex_lock.c: Likewise.
14212 * nptl/pthread_mutex_timedlock.c: Likewise.
14213 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14215 2014-07-01 Richard henderson <rth@redhat.com>
14217 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14218 (__isnan, __isnanl): Remove.
14219 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14221 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14223 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
14225 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14227 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14229 * resolv/nss_dns/dns-host.c (getanswer_r)
14230 [MULTI_PTRS_ARE_ALIASES]: Remove code.
14232 2014-07-01 Joseph Myers <joseph@codesourcery.com>
14234 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14235 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14237 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14238 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14240 2014-07-01 Roland McGrath <roland@hack.frob.com>
14242 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14243 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14245 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14246 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14248 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14249 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14251 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14252 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14254 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14255 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14256 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14257 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14259 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14260 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14261 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14262 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14263 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14265 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14267 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14268 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14269 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14270 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14271 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14272 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14273 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14274 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14275 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14276 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14277 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14278 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14279 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14280 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14281 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14282 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14283 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14284 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14285 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14286 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14288 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14289 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14290 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14291 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14292 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14293 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14294 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14295 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14297 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
14299 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14300 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14301 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14304 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14308 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14310 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14311 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14313 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14315 * sysdeps/arm/libm-test-ulps: Regenerated.
14317 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14318 Roland McGrath <roland@hack.frob.com>
14320 * test-skeleton.c (signal_handler): Kill the whole process group
14321 before killing the child individually.
14322 (main): Report any failure on `setpgid'.
14324 2014-06-30 Roland McGrath <roland@hack.frob.com>
14326 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14327 from _TLS_H to _ARM_NPTL_TLS_H.
14328 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14329 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14331 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14334 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14335 (__expm1l): Return argument unchanged when small but not
14338 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14339 include macro name.
14340 (_FP_UNPACK_RAW_1_P): Likewise.
14341 (_FP_PACK_RAW_1): Likewise.
14342 (_FP_PACK_RAW_1_P): Likewise.
14343 (_FP_MUL_MEAT_1_wide): Likewise.
14344 (_FP_MUL_MEAT_DW_1_hard): Likewise.
14345 (_FP_MUL_MEAT_1_hard): Likewise.
14346 (_FP_DIV_MEAT_1_imm): Likewise.
14347 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14348 (_FP_DIV_MEAT_1_udiv): Likewise.
14349 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14350 (_FP_UNPACK_RAW_2): Likewise.
14351 (_FP_UNPACK_RAW_2_P): Likewise.
14352 (_FP_PACK_RAW_2): Likewise.
14353 (_FP_PACK_RAW_2_P): Likewise.
14354 (_FP_MUL_MEAT_DW_2_wide): Likewise.
14355 (_FP_MUL_MEAT_2_wide): Likewise.
14356 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14357 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14358 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14359 (_FP_MUL_MEAT_2_gmp): Likewise.
14360 (_FP_DIV_MEAT_2_udiv): Likewise.
14361 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14362 (_FP_FRAC_SRL_4): Likewise.
14363 (_FP_FRAC_SRST_4): Likewise.
14364 (_FP_FRAC_SRS_4): Likewise.
14365 (_FP_UNPACK_RAW_4): Likewise.
14366 (_FP_UNPACK_RAW_4_P): Likewise.
14367 (_FP_PACK_RAW_4): Likewise.
14368 (_FP_PACK_RAW_4_P): Likewise.
14369 (_FP_MUL_MEAT_DW_4_wide): Likewise.
14370 (_FP_MUL_MEAT_4_wide): Likewise.
14371 (_FP_MUL_MEAT_4_gmp): Likewise.
14372 (umul_ppppmnnn): Likewise.
14373 (_FP_DIV_MEAT_4_udiv): Likewise.
14374 (__FP_FRAC_ADD_4): Likewise.
14375 (__FP_FRAC_SUB_3): Likewise.
14376 (__FP_FRAC_SUB_4): Likewise.
14377 (__FP_FRAC_DEC_3): Likewise.
14378 (__FP_FRAC_DEC_4): Likewise.
14379 (__FP_FRAC_ADDI_4): Likewise.
14380 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14381 (_FP_FRAC_SRL_8): Likewise.
14382 (_FP_FRAC_SRS_8): Likewise.
14384 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14385 include macro name.
14386 (FP_UNPACK_RAW_EP): Likewise.
14387 (FP_PACK_RAW_E): Likewise.
14388 (FP_PACK_RAW_EP): Likewise.
14389 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14390 (_FP_ISSIGNAN): Likewise.
14391 (_FP_ADD_INTERNAL): Likewise.
14392 (_FP_FMA): Likewise.
14393 (_FP_CMP): Likewise.
14394 (_FP_SQRT): Likewise.
14395 (_FP_TO_INT): Likewise.
14396 (_FP_FROM_INT): Likewise.
14397 (FP_EXTEND): Likewise.
14398 (_FP_DIV_MEAT_N_loop): Likewise.
14400 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14402 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14405 2014-06-29 Joseph Myers <joseph@codesourcery.com>
14408 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14409 result with correct sign in case of exponents that produce
14410 overflow except for X very close to 1.
14412 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
14414 mktime: merge #if/#ifdef usage from glibc
14415 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14416 as that works with both Glibc's and Gnulib's style.
14417 See thread starting at Siddhesh Poyarekar's bug report at:
14418 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14420 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14422 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14423 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14424 * sysdeps/tile/tilegx/memmove.c: Remove file.
14426 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14428 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14429 abi-name definition.
14430 * scripts/soversions.awk: Do not handle or generate ABI lines.
14431 * shlib-versions: Remove ABI entries.
14432 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14433 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14435 2014-06-27 Roland McGrath <roland@hack.frob.com>
14437 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14438 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14439 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14440 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14441 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14442 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14445 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14447 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14448 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14449 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14450 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14451 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14452 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14453 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14454 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14455 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14456 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14457 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14458 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14459 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14461 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14462 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14463 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14464 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14465 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14466 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14468 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14469 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14471 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14472 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14473 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14474 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14476 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14477 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14478 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14479 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14480 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14481 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14482 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14483 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14485 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14487 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14488 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14490 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14491 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14493 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14494 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14495 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14496 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14498 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14500 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14501 Identical file removed.
14502 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14504 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14505 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14506 Identical file removed.
14507 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14508 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14509 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14511 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14512 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14513 Identical file removed.
14514 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14515 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14516 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14517 Identical file removed.
14518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14519 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14520 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14521 Identical file removed.
14522 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14523 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14524 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14525 Identical file removed.
14526 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14528 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14529 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14530 Identical file removed.
14531 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14533 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14534 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14535 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14536 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14537 Identical file removed.
14538 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14540 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14542 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14543 Identical file removed.
14544 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14546 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14547 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14548 Identical file removed.
14549 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14551 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14552 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14553 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14554 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14555 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14556 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14558 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14559 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14560 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14562 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14563 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14564 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14565 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14566 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14568 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
14571 * nscd/nscd.c (monitor_child): Return exit status of child
14572 instead of return value from wait syscall.
14574 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14576 * configure.ac (libc_commonpagesize): Remove variable.
14577 (libc_relro_required): Likewise.
14578 (libc_cv_z_relro): Remove configure test.
14579 * configure: Regenerated.
14580 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14582 (libc_relro_required): Likewise.
14583 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14584 (libc_relro_required): Likewise.
14585 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14586 (libc_relro_required): Likewise.
14587 * sysdeps/arm/preconfigure: Regenerated.
14588 * sysdeps/ia64/preconfigure: Remove file.
14589 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14591 (libc_relro_required): Likewise.
14595 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14596 (__ieee754_yn): Set FE_TONEAREST mode internally and then
14597 recompute overflowing results in original rounding mode.
14598 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14599 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14600 recompute overflowing results in original rounding mode.
14601 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14602 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14603 recompute overflowing results in original rounding mode.
14604 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14605 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14606 recompute overflowing results in original rounding mode.
14607 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14608 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14609 recompute overflowing results in original rounding mode.
14610 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14611 (libc_feholdsetround_ctx): New macro.
14612 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14613 * sysdeps/i386/fpu/libm-test-ulps: Update.
14614 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14616 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14618 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14619 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14620 corresponding .cpsetup call.
14622 2014-06-26 Roland McGrath <roland@hack.frob.com>
14624 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14625 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14626 * sysdeps/arm/Makefile [$(subdir) = csu]
14627 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14628 (static-only-routines): Add aeabi_read_tp here.
14629 (shared-only-routines): Add libc-aeabi_read_tp here.
14630 (CFLAGS-libc-start.c): Add -fexceptions here.
14631 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14632 (sysdep_routines, static-only-routines, shared-only-routines):
14633 Don't add to these here.
14634 (CFLAGS-libc-start.c): Likewise.
14636 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14637 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14638 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14639 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14640 * sysdeps/arm/Makefile [$(subdir) = rt]
14641 (librt-sysdep_routines, librt-shared-only-routines):
14642 Append rt-aeabi_unwind_cpp_pr1 here.
14643 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14644 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14645 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14646 (libpthread-sysdep_routines, libpthread-shared-only-routines):
14647 Append nptl-aeabi_unwind_cpp_pr1 here.
14648 (tests): Filter out tst-cleanupx4 here.
14649 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14650 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14651 Don't do those here.
14653 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14655 * scripts/list-sources.sh: Do not handle ports specially.
14657 2014-06-26 Roland McGrath <roland@hack.frob.com>
14659 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14660 * sysdeps/arm/feupdateenv.c: Likewise.
14662 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14664 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14666 * manual/texinfo.tex: Update to version 2014-05-05.10 with
14667 trailing whitespace removed.
14668 * scripts/config.guess: Update to version 2014-03-23.
14669 * scripts/config.sub: Update to version 2014-05-01
14670 * scripts/install-sh: Update to version 2013-12-25.23.
14671 * scripts/move-if-change: Update from gnulib.
14673 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14675 * debug/memmove_chk.c: Remove pagecopy.h include.
14677 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
14679 * time/mktime.c (leapyear): Remove inline keyword. The code is now
14680 identical to gnulib mktime.
14682 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14684 * configure.ac: Do not test for machine being rs6000. Do not test
14685 for powerpc*-*soft.
14686 * configure: Regenerated.
14689 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14691 * configure: Regenerated.
14692 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14693 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14694 Remove configure test.
14695 * sysdeps/arm/configure: Regenerated.
14696 * sysdeps/nptl/configure.ac: Do not check
14697 libc_cv_asm_cfi_directives.
14698 * sysdeps/nptl/configure: Regenerated.
14699 * sysdeps/x86_64/nptl/configure.ac: Remove file.
14700 * sysdeps/x86_64/nptl/configure: Remove generated file.
14701 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14703 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14705 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14707 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14708 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14709 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14712 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14713 instead of whether it is defined.
14714 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14715 * sysdeps/hppa/dl-machine.h: Likewise.
14716 * sysdeps/ia64/dl-machine.h: Likewise.
14717 * sysdeps/m68k/dl-machine.h: Likewise.
14718 * sysdeps/microblaze/dl-machine.h: Likewise.
14719 * sysdeps/mips/dl-machine.: Likewise.
14720 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14721 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14722 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14723 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14724 * sysdeps/sh/dl-machine.h: Likewise.
14725 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14726 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14727 * sysdeps/tile/dl-machine.h: Likewise.
14728 * sysdeps/x86_64/dl-machine.h: Likewise.
14730 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14732 (verify_persistent_db): Likewise.
14734 2014-06-26 Roland McGrath <roland@hack.frob.com>
14736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14737 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14739 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14742 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14745 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14747 Identical file removed.
14748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14749 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14751 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14753 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14755 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14757 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14760 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14762 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14764 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14767 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14769 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14771 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14773 Identical file removed.
14774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14775 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14777 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14780 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14783 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14785 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14787 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14789 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14791 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14794 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14797 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14799 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14802 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14804 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14806 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14808 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14809 * sysdeps/unix/sysv/linux/s390/Versions
14810 (libpthread: GLIBC_2.19): New version set.
14811 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14812 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14813 (librt: GLIBC_2.3.3): New version set.
14814 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14815 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14816 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14817 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14818 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14819 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14820 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14821 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14822 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14823 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14824 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14825 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14826 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14827 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14828 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14829 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14830 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14831 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14832 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14833 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14834 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14835 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14836 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14837 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14838 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14839 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14840 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14841 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14842 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14843 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14844 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14845 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14847 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14848 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14849 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14850 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14851 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14852 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14853 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14854 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14855 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14856 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14857 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14858 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14860 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14861 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14862 (__libc_vfork): Define the function under this name.
14863 [!NOT_IN_libc] (__vfork): Make this an alias.
14864 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14865 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14866 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14867 (__libc_vfork): Define the function under this name.
14868 [!NOT_IN_libc] (__vfork): Make this an alias.
14869 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14870 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14871 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14872 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14873 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14874 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14876 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14877 code that was previously under [RESET_PID].
14878 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14879 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14880 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14882 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14883 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14884 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14885 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14886 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14887 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14888 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14889 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14890 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14891 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14892 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14894 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14895 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14896 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14897 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14898 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14899 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14900 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14901 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14902 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14903 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14904 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14905 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14906 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14907 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14908 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14909 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14910 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14911 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14912 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14913 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14914 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14915 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14916 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14917 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14918 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14919 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14920 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14921 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14922 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14924 2014-06-25 Roland McGrath <roland@hack.frob.com>
14926 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14927 that was previously under [RESET_PID].
14928 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14930 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14932 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14933 not undefine and redefine.
14934 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14935 [O_CLOEXEC]: Make code unconditional.
14936 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14937 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14938 <kernel-features.h>.
14939 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14940 conditional variable definition.
14941 (shm_open) [O_CLOEXEC]: Make code unconditional.
14942 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14945 * configure.ac (USE_REGPARMS): Don't define here.
14946 * configure: Regenerated.
14947 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14948 * sysdeps/i386/configure: Regenerated.
14950 * nptl/createthread.c: Don't include kernel-features.h.
14951 * nptl/pthread_cancel.c: Likewise.
14952 * nptl/pthread_condattr_setclock.c: Likewise.
14953 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14954 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14955 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14956 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14957 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14958 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14959 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14960 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14961 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14962 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14963 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14964 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14965 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14966 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14967 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14968 * nscd/gai.c: Likewise.
14969 * nss/nss_db/db-open.c: Likewise.
14970 * sysdeps/generic/ldsodefs.h: Likewise.
14971 * sysdeps/sh/nptl/tls.h: Likewise.
14972 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14973 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14974 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14975 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14976 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14977 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14978 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14979 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14980 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14981 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14982 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14983 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14984 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14985 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14986 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14987 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14988 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14989 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14990 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14991 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14992 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14993 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14994 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14995 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14996 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14997 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14998 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14999 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
15000 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
15001 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
15002 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
15003 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15004 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15005 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15006 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15007 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15008 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15009 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15010 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
15011 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15012 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15013 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
15014 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
15015 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15016 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
15017 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
15018 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
15019 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
15020 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
15021 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15022 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15023 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15024 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15025 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15026 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
15027 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15028 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
15029 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
15030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
15032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
15034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
15035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
15041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
15042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
15043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
15044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
15051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
15052 * sysdeps/unix/sysv/linux/pread.c: Likewise.
15053 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
15054 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
15055 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
15056 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
15057 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
15058 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
15059 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
15060 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
15061 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15062 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15063 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15064 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
15065 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
15066 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
15067 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
15068 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15069 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
15070 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
15071 * sysdeps/unix/sysv/linux/system.c: Likewise.
15072 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
15073 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15074 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
15075 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
15076 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15077 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15078 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15080 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
15081 * configure: Regenerated.
15082 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
15084 * configure.ac (base_machine): Do not set specially for particular
15086 * configure: Regenerated.
15087 * sysdeps/powerpc/preconfigure: Move machine and base_machine
15088 settings from configure.ac.
15089 * sysdeps/i386/preconfigure: New file.
15090 * sysdeps/s390/preconfigure: Likewise.
15091 * sysdeps/sh/preconfigure: Likewise.
15092 * sysdeps/sparc/preconfigure: Likewise.
15094 2014-06-25 Roland McGrath <roland@hack.frob.com>
15096 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15097 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15098 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15099 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15100 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15101 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15102 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15103 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15104 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15105 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15106 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15107 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15108 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15109 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15110 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15111 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15112 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15113 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15114 * sysdeps/sparc/sparc64/Makefile: ... appended here.
15116 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15117 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15118 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15119 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15120 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15121 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15122 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15123 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15124 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15125 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15126 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15127 * sysdeps/sparc/sparc32/sem_post.c: ... here.
15128 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15129 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15130 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15131 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15132 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15133 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15134 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15135 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15136 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15137 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15138 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15139 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15140 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15141 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15142 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15143 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15144 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15145 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15146 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15147 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15148 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15149 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15150 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15151 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15152 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15153 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15156 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15158 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15161 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15164 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15166 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15169 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15171 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15173 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15175 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15178 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15181 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15183 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15186 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15188 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15190 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15192 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15194 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15197 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15200 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15202 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15205 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15207 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15209 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15211 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15214 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15217 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15219 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15222 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15224 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15226 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15228 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15230 * timezone/checktab.awk: Update from tzcode 2014e.
15231 * timezone/private.h: Likewise.
15232 * timezone/tzfile.h: Likewise.
15233 * timezone/zdump.c: Likewise.
15234 * timezone/zic.c: Likewise.
15236 * sysdeps/unix/sysv/linux/kernel-features.h
15237 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15238 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15239 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15240 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15241 Remove conditional code.
15243 2014-06-25 Will Newton <will.newton@linaro.org>
15245 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15246 (_dl_arm_cap_flags): Add HWCAP2 values.
15247 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15248 (_DL_HWCAP_COUNT): Increase to 37.
15249 (_DL_HWCAP_LAST): New define.
15250 (_DL_HWCAP2_LAST): New define.
15251 (_dl_procinfo): Add support for printing
15253 (_dl_string_hwcap): Use _dl_hwcap_string.
15255 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15259 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15261 * README: Do not mention ports directory.
15263 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15265 * sysdeps/unix/sysv/linux/futimes.c: Do not include
15266 <kernel-features.h>.
15267 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15268 conditional variable definition.
15269 (__futimes): Update comment.
15270 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15271 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15274 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15275 arguments close to 0.
15276 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15278 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15280 * math/auto-libm-test-in: Add more tests of exp10.
15281 * math/auto-libm-test-out: Regenerated.
15282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15284 * sysdeps/unix/sysv/linux/kernel-features.h
15285 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15286 * sysdeps/unix/sysv/linux/readv.c: Do not include
15287 <kernel-features.h>.
15288 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15289 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15290 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15292 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15294 * sysdeps/unix/sysv/linux/writev.c: Do not include
15295 <kernel-features.h>.
15296 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15297 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15298 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15300 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15303 2014-06-25 Will Newton <will.newton@linaro.org>
15305 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15306 comment changes throughout the file. Remove checks
15307 for HAVE_*_H definitions that are not required.
15308 (__gen_tempname): Call abort if an unknown kind value is
15311 2014-06-25 Andreas Schwab <schwab@suse.de>
15314 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15315 scalbln, scalblnf, scalblnl in libc.
15317 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15320 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15321 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15322 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15324 2014-06-24 Roland McGrath <roland@hack.frob.com>
15326 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15327 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15328 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15329 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15331 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15332 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15334 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15335 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15336 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15337 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15338 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15339 * sysdeps/x86/bits/pthreadtypes.h: ... here.
15340 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15341 * sysdeps/x86/bits/semaphore.h: ... here.
15342 * sysdeps/x86/nptl/elide.h: Moved ...
15343 * sysdeps/x86/elide.h: ... here.
15344 * sysdeps/x86_64/nptl/Implies: File removed.
15345 * sysdeps/i386/nptl/Implies: File removed.
15347 2014-06-24 Joseph Myers <joseph@codesourcery.com>
15350 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15351 return the argument for normal arguments with exponent below -64.
15352 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15354 * math/auto-libm-test-in: Add another test of expm1.
15355 * math/auto-libm-test-out: Regenerated.
15358 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15359 calling __erfcl for arguments at least 16.
15360 * math/auto-libm-test-in: Add more tests of erf.
15361 * math/auto-libm-test-out: Regenerated.
15363 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15364 individual architectures.
15365 * sysdeps/unix/sysv/linux/configure: Regenerated.
15366 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15367 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15368 * sysdeps/unix/sysv/linux/powerpc/configure.ac
15369 (ldd_rewrite_script): Define variable.
15370 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15375 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15376 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15377 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15378 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15379 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15380 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15381 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15382 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15384 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15387 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15388 Rename member __data.d to __data.__elision_data.
15390 2014-06-24 Wilco <wdijkstr@arm.com>
15392 * NEWS: Add 16918 to fixed bug list.
15394 2014-06-24 Wilco <wdijkstr@arm.com>
15396 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15398 2014-06-24 Wilco <wdijkstr@arm.com>
15400 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15401 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15402 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15403 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15404 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15405 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15406 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15409 2014-06-24 Wilco <wdijkstr@arm.com>
15411 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15413 2014-06-24 Wilco <wdijkstr@arm.com>
15415 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15416 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15417 * sysdeps/arm/fesetround.c (fesetround): Remove space.
15418 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15420 2014-06-24 Wilco <wdijkstr@arm.com>
15423 * sysdeps/arm/feupdateenv.c (feupdateenv):
15424 Rewrite to reduce FPSCR accesses and fix return value.
15426 2014-06-24 Wilco <wdijkstr@arm.com>
15428 * sysdeps/arm/fclrexcpt.c (feclearexcept):
15429 Optimize to avoid unnecessary FPSCR writes.
15430 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15431 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15432 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15433 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15435 2014-06-24 Wilco <wdijkstr@arm.com>
15437 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15438 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15439 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15440 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15441 Call libc_fetestexcept_vfp.
15442 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15443 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15444 __SOFTFP__ ifdef so that they can be built for softfp.
15446 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15448 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15449 argument type signed char.
15451 * Makerules (check-abi): Dump diff of symlist if the test
15454 2014-06-23 Roland McGrath <roland@hack.frob.com>
15456 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15459 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15460 Remove unused variable ST.
15462 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15466 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15467 small arguments before calling __expm1.
15468 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15469 small arguments before calling __expm1f.
15470 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15471 small arguments before calling __expm1l.
15472 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15474 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15475 * math/auto-libm-test-in: Add more cosh tests. Do not allow
15476 spurious underflow for some cosh tests.
15477 * math/auto-libm-test-out: Regenerated.
15478 * sysdeps/i386/fpu/libm-test-ulps: Update.
15481 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15482 (__ieee754_y1): Set errno if return value overflows.
15483 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15484 (__ieee754_y1f): Set errno if return value overflows.
15485 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15486 (__ieee754_y1l): Set errno if return value overflows.
15487 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15488 (__ieee754_y1l): Set errno if return value overflows.
15489 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15490 * math/auto-libm-test-out: Regenerated.
15492 * math/gen-auto-libm-tests.c: Document use of
15493 ignore-zero-inf-sign.
15494 (input_flag_type): Add value flag_ignore_zero_inf_sign.
15495 (input_flags): Add ignore-zero-inf-sign.
15496 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15497 * math/gen-libm-test.pl (generate_testfile): Handle
15498 ignore-zero-inf-sign.
15499 * math/auto-libm-test-in: Mark some cpow tests with
15500 ignore-zero-inf-sign and some with xfail-rounding.
15501 * math/auto-libm-test-out: Regenerated.
15502 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15503 * sysdeps/i386/fpu/libm-test-ulps: Update.
15504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15507 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15508 overflowing or underflowing operations take place with sign of
15510 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15511 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15512 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15513 (__ieee754_pow): Recompute overflowing and underflowing results in
15514 original rounding mode.
15515 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15516 (__powl_helper): Allow negative argument X and scale negated value
15517 as needed. Avoid passing value outside [-1, 1] to f2xm1.
15518 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15519 overflowing or underflowing operations take place with sign of
15521 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15523 * math/auto-libm-test-in: Add more tests of pow.
15524 * math/auto-libm-test-out: Regenerated.
15525 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15526 (pow_tonearest_test_data): Remove.
15527 (pow_test_tonearest): Likewise.
15528 (pow_towardzero_test_data): Likewise.
15529 (pow_test_towardzero): Likewise.
15530 (pow_downward_test_data): Likewise.
15531 (pow_test_downward): Likewise.
15532 (pow_upward_test_data): Likewise.
15533 (pow_test_upward): Likewise.
15534 (main): Don't call removed functions.
15535 * sysdeps/i386/fpu/libm-test-ulps: Update.
15536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15538 2014-06-23 Roland McGrath <roland@hack.frob.com>
15540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15714 2014-06-23 Will Newton <will.newton@linaro.org>
15715 Wilco <wdijkstr@arm.com>
15717 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15718 implementation. Include get-rounding-mode.h.
15719 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15720 [!libc_feholdsetround_noex_ctx]: Define
15721 libc_feholdsetround_noex_ctx.
15722 [!libc_feholdsetround_noexf_ctx]: Define
15723 libc_feholdsetround_noexf_ctx.
15724 [!libc_feholdsetround_noexl_ctx]: Define
15725 libc_feholdsetround_noexl_ctx.
15726 (libc_feholdsetround_ctx): New function.
15727 (libc_feresetround_ctx): New function.
15728 (libc_feholdsetround_noex_ctx): New function.
15729 (libc_feresetround_noex_ctx): New function.
15731 2014-06-23 Roland McGrath <roland@hack.frob.com>
15733 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15734 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15735 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15736 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15737 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15738 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15740 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15741 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15742 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15743 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15744 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15745 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15746 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15747 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15748 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15749 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15750 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15752 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15754 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15755 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15756 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15757 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15758 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15760 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15761 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15762 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15763 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15764 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15765 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15766 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15767 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15769 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15770 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15772 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15773 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15774 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15775 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15777 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15778 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15779 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15780 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15781 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15782 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15783 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15784 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15785 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15786 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15788 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15790 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15791 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15792 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15793 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15794 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15795 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15796 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15797 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15798 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15799 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15800 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15801 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15802 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15804 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15805 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15806 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15808 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15809 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15811 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15812 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15813 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15814 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15815 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15817 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15818 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15819 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15820 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15821 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15822 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15823 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15824 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15825 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15826 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15827 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15828 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15829 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15830 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15831 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15832 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15833 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15834 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15835 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15836 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15837 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15838 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15839 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15840 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15841 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15842 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15843 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15844 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15846 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15848 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15849 (FALLOC_FL_COLLAPSE_RANGE): New macro.
15850 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15851 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15852 (IPV6_PMTUDISC_INTERFACE): Likewise.
15853 (IPV6_PMTUDISC_OMIT): Likewise.
15855 2014-06-23 Andreas Schwab <schwab@suse.de>
15857 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15858 Remove unused errout label.
15860 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15862 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15863 macro: hardware supports Vector Crypto instructions.
15865 2014-06-23 Will Newton <will.newton@linaro.org>
15867 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15868 rather than __builtin_expect.
15870 * elf/dl-lookup.c (undefined_msg): Remove variable.
15871 (_dl_lookup_symbol_x): Replace undefined_msg with string
15874 * elf/dl-lookup.c (do_lookup_unique): New function.
15875 (do_lookup_x): Move STB_GNU_UNIQUE handling code
15876 to a separate function.
15878 2014-06-23 Andreas Schwab <schwab@suse.de>
15881 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15882 before reading the next line.
15884 2014-06-23 Will Newton <will.newton@linaro.org>
15886 * test-skeleton.c (signal_handler): Use printf and %m
15887 rather than perror. Use printf rather than fprintf to
15888 stderr. Use puts rather than fputs to stderr.
15891 2014-06-22 Ludovic Courtès <ludo@gnu.org>
15893 * nscd/nscd.c (thread_info_t): Remove typedef.
15894 (thread_info): Remove variable.
15896 2014-06-21 Allan McRae <allan@archlinux.org>
15898 * NEWS: Mention CVE-2014-4043.
15900 2014-06-20 Roland McGrath <roland@hack.frob.com>
15902 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15903 * nptl/smp.h: ... here.
15905 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15907 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15908 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15909 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15910 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15912 * nptl/allocatestack.c: Include <stack-aliasing.h>.
15913 * nptl/stack-aliasing.h: New file.
15914 * sysdeps/i386/i686/stack-aliasing.h: New file.
15915 * sysdeps/i386/i686/nptl/Makefile: File removed.
15916 * sysdeps/x86_64/stack-aliasing.h: New file.
15917 * sysdeps/x86_64/nptl/Makefile
15918 (CFLAGS-pthread_create.c): Variable removed.
15920 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15921 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15923 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15924 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15927 2014-06-21 Joseph Myers <joseph@codesourcery.com>
15929 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15930 (__ASSUME_SIGFRAME_V2): Remove macro.
15931 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15932 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15933 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15934 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15935 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15936 Declare as function. Remove conditional macro definitions.
15937 (__default_rt_sa_restorer): Likewise.
15938 (__default_sa_restorer_v1): Remove declaration.
15939 (__default_sa_restorer_v2): Likewise.
15940 (__default_rt_sa_restorer_v1): Likewise.
15941 (__default_rt_sa_restorer_v2): Likewise.
15942 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15943 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15944 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15946 2014-06-20 Roland McGrath <roland@hack.frob.com>
15948 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15949 (libpthread-routines): Add sysdep.
15950 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15951 * sysdeps/unix/sysv/linux/sparc/Versions
15952 (libpthread: GLIBC_2.3.3): New version set.
15953 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15954 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15955 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15956 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15957 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
15958 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15960 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15961 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15962 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15963 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15964 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15965 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15966 * sysdeps/sparc/nptl/sem_init.c: ... here.
15967 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15968 * sysdeps/sparc/nptl/sem_post.c: ... here.
15969 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15970 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15971 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15972 * sysdeps/sparc/nptl/sem_wait.c: ... here.
15973 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15974 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15975 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15976 (libpthread-routines): Add cpu_relax.
15977 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15979 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15980 (librt: GLIBC_2.3.3): New version set.
15981 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15982 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15983 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15984 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15985 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15987 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15990 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15992 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15994 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15996 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15998 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
16001 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
16003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
16005 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
16007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
16009 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
16011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
16013 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
16015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
16017 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
16019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
16021 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
16023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
16024 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
16025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
16026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
16027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
16028 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
16029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
16030 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
16031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
16032 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
16033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16035 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
16036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
16037 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
16038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
16039 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
16041 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16043 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
16044 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
16045 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
16046 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
16047 * nscd/nscd.c: Likewise.
16048 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
16049 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
16050 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
16051 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
16053 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
16054 <kernel-features.h>.
16055 (init_mq_netlink): Remove conditional have_sock_cloexec
16056 definitions. Remove code conditional on have_sock_cloexec < 0.
16057 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
16058 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
16059 * sysdeps/unix/sysv/linux/opensock.c: Do not include
16060 <kernel-features.h>.
16061 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
16062 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
16064 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
16066 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16067 Add tests for memset_chk and memset.
16069 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
16072 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
16075 * elf/tst-dl-iter-static.c: New file.
16076 * elf/Makefile (tests-static): Add tst-dl-iter-static.
16078 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
16081 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16083 * sysdeps/unix/sysv/linux/kernel-features.h
16084 (__ASSUME_F_GETOWN_EX): Remove macro.
16085 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
16086 <kernel-features.h>.
16087 (miss_F_GETOWN_EX): Remove variable or macro.
16088 (do_fcntl): Do not check miss_F_GETOWN_EX.
16089 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
16091 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
16093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
16094 [!__ASSUME_AT_RANDOM]: Remove conditional code.
16095 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16097 * sysdeps/unix/sysv/linux/kernel-features.h
16098 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16099 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16100 [ADJ_OFFSET_SS_READ]: Make code unconditional.
16101 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16103 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
16106 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16107 Fix calculation of the symbol's value.
16108 * sysdeps/arm/tst-armtlsdescloc.c: New file.
16109 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16110 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16111 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16112 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16113 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16114 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16115 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16116 (modules-names): Add `tst-armtlsdescmod',
16117 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16118 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16119 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16120 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16121 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16122 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16123 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16124 ($(objpfx)tst-armtlsdescloc): New dependency.
16125 ($(objpfx)tst-armtlsdescextnow): Likewise.
16126 ($(objpfx)tst-armtlsdescextlazy): Likewise.
16127 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16128 TLS scheme support.
16129 * sysdeps/arm/configure: Regenerate.
16131 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16133 * include/fcntl.h (__atfct_seterrno): Remove prototype.
16134 (__atfct_seterrno_2): Likewise.
16135 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16136 <kernel-features.h>.
16137 (__ASSUME_ATFCTS): Do not undefine and redefine.
16138 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16139 (__have_atfcts): Remove conditional definition.
16140 (__fxstatat([__NR_fstatat64]: Make code unconditional.
16141 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16142 unreachable if [__ASSUME_ATFCTS].
16143 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16144 not undefine and redefine.
16145 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16146 <kernel-features.h>.
16147 (faccessat) [__NR_faccessat]: Make code unconditional.
16148 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16149 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16150 <kernel-features.h>.
16151 (fchmodat) [__NR_fchmodat]: Make code unconditional.
16152 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16153 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16154 <kernel-features.h>.
16155 (fchownat) [__NR_fchownat]: Make code unconditional.
16156 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16157 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16158 <kernel-features.h>.
16159 (futimesat) [__NR_futimesat]: Make code unconditional.
16160 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16161 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16162 <kernel-features.h>.
16163 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16164 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16165 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16166 <kernel-features.h>.
16167 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16168 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16169 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16170 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16171 <kernel-features.h>.
16172 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16173 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16174 * sysdeps/unix/sysv/linux/linkat.c: Do not include
16175 <kernel-features.h>.
16176 (linkat) [__NR_linkat]: Make code unconditional.
16177 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16178 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16179 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16180 <kernel-features.h>.
16181 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16182 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16183 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16184 <kernel-features.h>.
16185 (mkdirat) [__NR_mkdirat]: Make code unconditional.
16186 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16187 * sysdeps/unix/sysv/linux/openat.c: Do not include
16188 <kernel-features.h>.
16189 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16190 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16191 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16192 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16193 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16194 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16195 <kernel-features.h>.
16196 (readlinkat) [__NR_readlinkat]: Make code unconditional.
16197 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
16198 result of INLINE_SYSCALL directly, not via int variable.
16199 * sysdeps/unix/sysv/linux/renameat.c: Do not include
16200 <kernel-features.h>.
16201 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16202 (renameat) [__NR_renameat]: Make code unconditional.
16203 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16204 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16205 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16206 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16207 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16208 (__ASSUME_ATFCTS): Do not undefine and redefine.
16209 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16210 <kernel-features.h>.
16211 (symlinkat) [__NR_symlinkat]: Make code unconditional.
16212 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16213 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16214 <kernel-features.h>.
16215 (unlinkat) [__NR_unlinkat]: Make code unconditional.
16216 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16217 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16218 (__ASSUME_ATFCTS): Do not undefine and redefine.
16219 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16220 <kernel-features.h>.
16221 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16222 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16223 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16224 <kernel-features.h>.
16225 (__xmknodat) [__NR_mknodat]: Make code unconditional.
16226 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16228 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
16230 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16232 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
16235 * posix/regcomp.c (parse_reg_exp): Deallocate partially
16236 constructed tree before returning error.
16237 * posix/bug-regexp36.c: Expand test case.
16239 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
16242 * math/libm-test.inc (scalbln_test_date):
16243 Add errno expectations.
16244 * math/w_scalblnf.c: New File.
16245 Add wrapper which checks for setting errno to ERANGE.
16246 Add weak_alias for corresponding scalbln function.
16247 * math/w_scalbln.c: Likewise.
16248 * math/w_scalblnl.c: Likewise.
16249 * math/Makefile (libm-calls): Add w_scalbln.
16250 * sysdeps/ieee754/flt-32/s_scalblnf.c:
16251 Remove weak_alias for corresponding scalbln function.
16252 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16254 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16255 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16256 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16257 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16258 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16259 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16260 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16261 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16262 Remove long_double_symbol for scalblnl function in libm, libc.
16263 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16264 Add wrapper which checks for setting errno to ERANGE.
16265 Add long_double_symbol for scalblnl function in libm, libc.
16266 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16267 Remove long_double_symbol for scalblnl in libm.
16268 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16269 Add wrapper which checks for setting errno to ERANGE.
16270 Add long_double_symbol for scalblnl function in libm.
16271 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16272 Do not use wrapper because of own implementation.
16274 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
16276 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16277 3 bytes for __pad1 for x32.
16278 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16280 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
16281 H.J. Lu <hongjiu.lu@intel.com>
16283 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16284 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16285 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16286 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16287 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16289 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
16292 * posix/regcomp.c (parse_expression): Deallocate partially
16293 constructed tree before returning error.
16294 * posix/Makefile.c (tests): Add bug-regex36.
16295 (generated): Add bug-regex36.mtrace.
16296 (tests-special): Add $(objpfx)bug-regex36-mem.out
16297 (bug-regex36-ENV): New variable.
16298 ($(objpfx)bug-regex36-mem.out): New rule.
16299 * posix/bug-regex36.c: New file.
16301 2014-06-19 Will Newton <will.newton@linaro.org>
16303 * malloc/malloc.c (systrim): If extra is zero then return
16306 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16308 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16310 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
16312 * sysdeps/aarch64/strchr.S: New file.
16314 2014-06-18 Joseph Myers <joseph@codesourcery.com>
16317 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16318 from arguments -2 or below.
16319 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16320 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16322 2014-06-18 Andreas Schwab <schwab@suse.de>
16325 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16326 of a bracket expr not to run off the end of the string.
16327 * posix/Makefile (tests): Add tst-fnmatch3.
16328 * posix/tst-fnmatch3.c: New file.
16330 2014-06-18 Joseph Myers <joseph@codesourcery.com>
16332 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16333 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16334 [$(cross-compiling) = no]: Likewise.
16335 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16336 [$(cross-compiling) = no]: Likewise.
16338 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16341 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16342 double, adjusted for any remainder from the high double.
16343 * math/libm-test.inc (nearbyint): Add tests.
16346 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16348 * nptl/sysdeps/powerpc/Makefile: Moved ...
16349 * sysdeps/powerpc/nptl/Makefile: ... here.
16350 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16351 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16352 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16353 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16354 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16355 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16356 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16357 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16358 * nptl/sysdeps/powerpc/tls.h: Moved ...
16359 * sysdeps/powerpc/nptl/tls.h: ... here.
16361 2014-06-16 Joseph Myers <joseph@codesourcery.com>
16364 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16365 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16366 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16367 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16368 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16369 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16370 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16371 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16372 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16374 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
16376 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16378 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
16380 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16383 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16386 2014-06-16 Florian Weimer <fweimer@redhat.com>
16389 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16390 non-executed part of the test.
16392 2014-06-16 Andreas Schwab <schwab@suse.de>
16394 * string/bits/string2.h (strdup, strndup): Update feature guard.
16396 2014-06-14 David S. Miller <davem@davemloft.net>
16398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16400 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
16402 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16403 that was previously under [RESET_PID].
16404 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16406 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16407 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16408 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16409 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16410 (__libc_vfork): New strong alias.
16411 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16413 2014-06-14 Andi Kleen <ak@linux.intel.com>
16415 * sysdeps/generic/elide.h: New file.
16417 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
16419 * Makefile (installed-headers): Adjust path of pthread.h header.
16421 2014-06-13 Roland McGrath <roland@hack.frob.com>
16423 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16424 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16425 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16426 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16428 * nptl/sysdeps/s390/Makefile: Moved ...
16429 * sysdeps/s390/nptl/Makefile: ... here.
16430 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16431 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16432 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16433 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16434 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16435 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16436 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16437 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16438 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16439 * sysdeps/s390/nptl/pthreaddef.h: ... here.
16440 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16441 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16442 * nptl/sysdeps/s390/tls.h: Moved ...
16443 * sysdeps/s390/nptl/tls.h: ... here.
16445 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16446 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16448 2014-06-13 David S. Miller <davem@davemloft.net>
16450 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16451 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16453 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16455 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16457 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16458 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16459 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16460 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16461 Remove RESET_PID cpp guards.
16462 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16463 Remove RESET_PID cpp guards.
16464 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16466 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
16468 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16471 2014-06-13 Andi Kleen <ak@linux.intel.com>
16473 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16474 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16475 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16476 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16477 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16478 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16479 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16480 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16481 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16482 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16483 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16484 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16485 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16486 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16487 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16488 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16489 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16490 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16491 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16492 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16494 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16495 (pthread_rwlock_rdlock): Add elision.
16496 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16497 (pthread_rwlock_wrlock): Add elision.
16498 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16499 (pthread_rwlock_trywrlock): Add elision.
16500 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16501 (pthread_rwlock_tryrdlock): Add elision.
16502 * nptl/pthread_rwlock_unlock.c: Include elide.h.
16503 (pthread_rwlock_tryrdlock): Add elision unlock.
16504 * nptl/sysdeps/pthread/pthread.h:
16505 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16506 (PTHREAD_RWLOCK_INITIALIZER,
16507 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16508 Handle new elision field.
16509 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16510 * sysdeps/arm/nptl/bits/pthreadtypes.h
16511 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16512 * sysdeps/sh/nptl/bits/pthreadtypes.h
16513 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16514 * sysdeps/tile/nptl/bits/pthreadtypes.h
16515 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16516 * sysdeps/a/nptl/bits/pthreadtypes.h
16517 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16518 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16519 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16520 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16521 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16522 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16523 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16524 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16525 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16526 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16527 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16528 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16529 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16530 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16531 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16532 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16533 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16534 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16535 (elision_init): Set try_xbegin to zero when no RTM.
16536 * sysdeps/x86/nptl/bits/pthreadtypes.h
16537 (pthread_rwlock_t): Change __pad1 to __rwelision.
16538 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16540 2014-06-13 Andi Kleen <ak@linux.intel.com>
16542 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16543 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16544 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16545 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16547 2014-06-13 Meador Inge <meadori@codesourcery.com>
16550 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16551 that the cached result has been set before returning it.
16553 2014-06-12 Roland McGrath <roland@hack.frob.com>
16555 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16556 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16557 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16558 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16559 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16560 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16562 * nptl/sysdeps/sparc/Makefile: Moved ...
16563 * sysdeps/sparc/nptl/Makefile: ... here.
16564 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16565 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16566 * nptl/sysdeps/sparc/tls.h: Moved ...
16567 * sysdeps/sparc/nptl/tls.h: ... here.
16568 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16569 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16570 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16571 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16572 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16573 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16574 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16575 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16576 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16577 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16578 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16579 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16580 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16581 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16582 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16583 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16584 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16585 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16587 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16588 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16590 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16591 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16593 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16594 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16597 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16599 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16600 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16602 * sysdeps/pthread/posix-timer.h: Include <list.h>.
16603 (struct list_links): Type removed.
16604 (struct thread_node, struct timer_node): Replace struct list_links
16605 with struct list_head.
16606 (list_unlink_ip): Likewise.
16607 * sysdeps/pthread/timer_routines.c
16608 (timer_free_list, thread_free_list, thread_active_list): Likewise.
16609 (list_append, list_insbefore): Likewise.
16610 (list_init): Function removed.
16611 (thread_init, init_module): Use INIT_LIST_HEAD instead.
16612 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16613 * sysdeps/pthread/Makefile: ... here, new file.
16615 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16616 * sysdeps/nptl/Implies: ... here.
16617 * sysdeps/unix/sysv/linux/Implies: Add nptl.
16618 * nptl/sysdeps/pthread/list.h: Moved ...
16619 * include/list.h: ... here.
16620 * nptl/sysdeps/pthread/createthread.c: Moved ...
16621 * nptl/createthread.c: ... here.
16622 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16623 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16624 * nptl/pt-longjmp.c: ... here.
16625 * nptl/sysdeps/pthread/Makefile: Moved ...
16626 * sysdeps/nptl/Makefile: ... here.
16627 * nptl/sysdeps/pthread/Subdirs: Moved ...
16628 * sysdeps/nptl/Subdirs: ... here.
16629 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16630 * sysdeps/nptl/aio_misc.h: ... here.
16631 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16632 * sysdeps/nptl/bits/libc-lock.h: ... here.
16633 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16634 * sysdeps/nptl/bits/libc-lockP.h: ... here.
16635 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16636 * sysdeps/nptl/bits/stdio-lock.h: ... here.
16637 * nptl/sysdeps/pthread/configure: Moved ...
16638 * sysdeps/nptl/configure: ... here.
16639 * nptl/sysdeps/pthread/configure.ac: Moved ...
16640 * sysdeps/nptl/configure.ac: ... here.
16641 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16642 * sysdeps/nptl/gai_misc.h: ... here.
16643 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16644 * sysdeps/nptl/librt-cancellation.c: ... here.
16645 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16646 * sysdeps/nptl/malloc-machine.h: ... here.
16647 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16648 * sysdeps/nptl/pthread-functions.h: ... here.
16649 * nptl/sysdeps/pthread/pthread.h: Moved ...
16650 * sysdeps/nptl/pthread.h: ... here.
16651 * nptl/sysdeps/pthread/setxid.h: Moved ...
16652 * sysdeps/nptl/setxid.h: ... here.
16653 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16654 * sysdeps/nptl/sigfillset.c: ... here.
16655 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16656 * sysdeps/nptl/tcb-offsets.h: ... here.
16657 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16658 * sysdeps/nptl/tst-mqueue8x.c: ... here.
16659 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16660 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16661 * nptl/sysdeps/pthread/allocalim.h: Moved ...
16662 * sysdeps/pthread/allocalim.h: ... here.
16663 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16664 * sysdeps/pthread/bits/sigthread.h: ... here.
16665 * nptl/sysdeps/pthread/flockfile.c: Moved ...
16666 * sysdeps/pthread/flockfile.c: ... here.
16667 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16668 * sysdeps/pthread/ftrylockfile.c: ... here.
16669 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16670 * sysdeps/pthread/funlockfile.c: ... here.
16671 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16672 * sysdeps/pthread/posix-timer.h: ... here.
16673 * nptl/sysdeps/pthread/timer_create.c: Moved ...
16674 * sysdeps/pthread/timer_create.c: ... here.
16675 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16676 * sysdeps/pthread/timer_delete.c: ... here.
16677 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16678 * sysdeps/pthread/timer_getoverr.c: ... here.
16679 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16680 * sysdeps/pthread/timer_gettime.c: ... here.
16681 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16682 * sysdeps/pthread/timer_routines.c: ... here.
16683 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16684 * sysdeps/pthread/timer_settime.c: ... here.
16685 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16686 * sysdeps/pthread/tst-timer.c: ... here.
16687 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16688 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16690 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16691 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16693 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16694 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16695 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16696 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16697 Update #include target.
16698 * nptl/sysdeps/i386/i686/Makefile: Moved ...
16699 * sysdeps/i386/i686/nptl/Makefile: ... here.
16700 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16701 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16702 Update #include target.
16703 * nptl/sysdeps/i386/i686/tls.h: Moved ...
16704 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
16705 * nptl/sysdeps/i386/Makefile: Moved ...
16706 * sysdeps/i386/nptl/Makefile: ... here.
16707 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16708 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16709 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16710 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16711 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16712 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16713 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16714 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16715 * sysdeps/i386/nptl/pthreaddef.h: ... here.
16716 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16717 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16718 * nptl/sysdeps/i386/tls.h: Moved ...
16719 * sysdeps/i386/nptl/tls.h: ... here.
16721 * sysdeps/sh/Makefile [$(subdir) = csu]
16722 (gen-as-const-headers): Add tcb-offsets.sym.
16723 * nptl/sysdeps/sh/Makefile: File removed.
16724 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16725 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16726 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16727 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16728 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16729 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16730 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16731 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16732 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16733 * sysdeps/sh/nptl/pthreaddef.h: ... here.
16734 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16735 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16736 * nptl/sysdeps/sh/tls.h: Moved ...
16737 * sysdeps/sh/nptl/tls.h: ... here.
16738 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16739 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16740 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16741 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16742 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16743 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16744 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16745 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16746 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16747 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16748 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16749 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16750 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16751 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16752 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16753 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16754 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16755 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16756 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16757 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16758 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16759 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16760 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16761 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16762 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16764 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16765 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16767 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16768 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16769 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16770 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16771 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16772 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16773 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16774 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16775 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16776 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16777 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16778 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16779 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16780 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16781 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16782 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16783 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16784 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16785 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16787 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16789 * posix/spawn_faction_addopen.c: Include string.h.
16791 2014-06-11 Roland McGrath <roland@hack.frob.com>
16793 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16794 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16795 * nptl/sysdeps/x86_64/Makefile: Moved ...
16796 * sysdeps/x86_64/nptl/Makefile: ... here.
16797 * nptl/sysdeps/x86_64/configure: Moved ...
16798 * sysdeps/x86_64/nptl/configure: ... here.
16799 * nptl/sysdeps/x86_64/configure.ac: Moved ...
16800 * sysdeps/x86_64/nptl/configure.ac: ... here.
16801 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16802 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16803 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16804 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16805 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16806 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16807 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16808 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16809 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16810 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16811 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16812 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16813 * nptl/sysdeps/x86_64/tls.h: Moved ...
16814 * sysdeps/x86_64/nptl/tls.h: ... here.
16815 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16816 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16817 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16818 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16820 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16822 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16826 2014-06-11 Joseph Myers <joseph@codesourcery.com>
16828 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16830 [POSIX] (off_t): Likewise.
16831 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16832 [POSIX] (S_ISBLK): Require macro.
16833 [POSIX] (S_ISCHR): Likewise.
16834 [POSIX] (S_ISDIR): Likewise.
16835 [POSIX] (S_ISFIFO): Likewise.
16836 [POSIX] (S_ISREG): Likewise.
16837 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16839 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16841 [POSIX] (time_t): Likewise.
16842 [POSIX] (timer_t): Likewise.
16844 2014-06-11 Florian Weimer <fweimer@redhat.com>
16847 * posix/spawn_int.h (struct __spawn_action): Make the path string
16848 non-const to support deallocation.
16849 * posix/spawn_faction_addopen.c
16850 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16851 * posix/spawn_faction_destroy.c
16852 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
16853 path in all spawn_do_open actions.
16854 * posix/tst-spawn.c (do_test): Exercise the copy operation in
16855 posix_spawn_file_actions_addopen.
16857 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
16859 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16860 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16861 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16862 conditional code always true.
16863 (__libc_vfork): New alias.
16865 2014-06-11 Roland McGrath <roland@hack.frob.com>
16867 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16868 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16870 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16872 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16873 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16875 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16876 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16878 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16879 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16881 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16883 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16884 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16885 multiarch strcmp for PPC64.
16886 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16887 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16889 multiarch optimizations.
16890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16891 (__libc_ifunc_impl_list): Likewise.
16893 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16895 * benchtests/scripts/validate_benchout.py: New script.
16896 * benchtests/Makefile (bench-func): Call it.
16897 * benchtests/scripts/benchout.schema.json: New file.
16899 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
16901 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16902 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16903 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16904 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16905 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16906 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16907 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16908 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16909 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16910 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16911 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16912 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16913 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16914 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16915 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16916 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
17001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
17003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
17005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
17007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
17009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
17011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
17012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
17014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
17016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
17018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
17020 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
17021 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
17022 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
17023 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
17024 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
17026 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
17028 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
17029 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
17030 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
17031 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
17032 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
17033 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
17034 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
17035 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
17036 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
17037 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
17038 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
17039 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
17040 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
17042 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
17043 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
17045 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
17046 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
17047 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
17048 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
17050 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
17051 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
17052 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
17053 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
17054 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
17055 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
17056 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
17058 2014-06-10 Wilco <wdijkstr@arm.com>
17060 * math/test-fenv-return.c: New file.
17061 * math/Makefile: Add new test test-fenv-return.
17063 2014-06-10 Joseph Myers <joseph@codesourcery.com>
17066 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
17067 when x - 1 is zero.
17068 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
17069 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17070 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
17071 0.0L for an argument of 1.0L.
17072 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17074 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
17075 value when x - 1 is zero.
17076 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
17077 * sysdeps/i386/fpu/libm-test-ulps: Update.
17078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17080 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
17083 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
17085 2014-06-09 Roland McGrath <roland@hack.frob.com>
17087 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
17088 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
17090 2014-06-09 Roland McGrath <roland@hack.frob.com>
17092 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17093 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17095 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17096 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17098 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17099 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17101 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17102 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17104 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17105 if not already defined.
17106 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17107 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17108 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17109 (TLS_INIT_TP): Use it.
17110 (TLS_DEFINE_INIT_TP): New macro.
17111 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17113 2014-06-09 Joseph Myers <joseph@codesourcery.com>
17115 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17117 [POSIX] (IXANY): Likewise.
17118 [POSIX] (OLCUC): Likewise.
17119 [POSIX || POSIX2008] (CBAUD): Do not allow.
17120 [POSIX || POSIX2008] (DEFECHO): Likewise.
17121 [POSIX || POSIX2008] (ECHOCTL): Likewise.
17122 [POSIX || POSIX2008] (ECHOKE): Likewise.
17123 [POSIX || POSIX2008] (ECHOPRT): Likewise.
17124 [POSIX || POSIX2008] (EXTA): Likewise.
17125 [POSIX || POSIX2008] (EXTB): Likewise.
17126 [POSIX || POSIX2008] (FLUSHO): Likewise.
17127 [POSIX || POSIX2008] (LOBLK): Likewise.
17128 [POSIX || POSIX2008] (PENDIN): Likewise.
17129 [POSIX || POSIX2008] (SWTCH): Likewise.
17130 [POSIX || POSIX2008] (VDISCARD): Likewise.
17131 [POSIX || POSIX2008] (VDSUSP): Likewise.
17132 [POSIX || POSIX2008] (VLNEXT): Likewise.
17133 [POSIX || POSIX2008] (VREPRINT): Likewise.
17134 [POSIX || POSIX2008] (VSTATUS): Likewise.
17135 [POSIX || POSIX2008] (VWERASE): Likewise.
17136 (B*): Change to B[0123456789]*.
17137 * conform/data/time.h-data [POSIX || UNIX98]
17138 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17139 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17140 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17141 [POSIX] (tm_*): Do not allow.
17143 2014-06-07 Joseph Myers <joseph@codesourcery.com>
17145 * Makefile (install): Don't set LANGUAGE.
17146 * Makefile.in (install): Likewise.
17147 * assert/Makefile (test-assert-ENV): Remove variable.
17148 (test-assert-perr-ENV): Likewise.
17149 * elf/Makefile (neededtest4-ENV): Likewise.
17150 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17151 [$(cross-compiling) = no]: Don't set LANGUAGE.
17152 * io/ftwtest-sh (LANG): Remove variable.
17153 * libio/Makefile (tst-widetext-ENV): Likewise.
17154 * manual/install.texi (Running make install): Don't refer to
17155 environment settings for make install.
17156 * INSTALL: Regenerated.
17157 * nptl/tst-tls6.sh: Don't set LANG.
17158 * posix/globtest.sh (LANG): Remove variable.
17159 * string/Makefile (tester-ENV): Likewise.
17160 (inl-tester-ENV): Likewise.
17161 (noinl-tester-ENV): Likewise.
17162 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17163 [$(cross-compiling) = no]: Don't set LANGUAGE.
17164 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17165 without explicit environment settings.
17167 2014-06-06 Roland McGrath <roland@hack.frob.com>
17169 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17170 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17171 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17172 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17174 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
17176 * crypt/crypt-private.h [DOS]: Add some includes taken from the
17177 other files in the crypt directory.
17178 * crypt/crypt.c: Remove duplicate includes.
17179 * crypt/crypt-entry.c: Likewise.
17180 * crypt/crypt_util.c: Likewise.
17182 2014-06-06 Joseph Myers <joseph@codesourcery.com>
17184 * Makeconfig (run-program-env): New variable.
17185 (run-program-prefix-before-env): Likewise.
17186 (run-program-prefix-after-env): Likewise.
17187 (run-program-prefix): Define in terms of new variables.
17188 (built-program-cmd-before-env): New variable.
17189 (built-program-cmd-after-env): Likewise.
17190 (built-program-cmd): Define in terms of new variables.
17191 (test-program-prefix-before-env): New variable.
17192 (test-program-prefix-after-env): Likewise.
17193 (test-program-prefix): Define in terms of new variables.
17194 (test-program-cmd-before-env): New variable.
17195 (test-program-cmd-after-env): Likewise.
17196 (test-program-cmd): Define in terms of new variables.
17197 * Rules (make-test-out): Use $(run-program-env).
17198 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17199 (help): Do not mention environment variables. Mention
17200 --timeoutfactor option.
17201 (timeoutfactor): New variable.
17202 (blacklist_exports): Remove function.
17203 (exports): Remove variable.
17204 (command): Do not include ${exports}.
17205 * manual/install.texi (Configuring and compiling): Do not mention
17206 test wrappers preserving environment variables. Mention that last
17207 assignment to a variable must take precedence.
17208 * INSTALL: Regenerated.
17209 * benchtests/Makefile (run-bench): Use $(run-program-env).
17210 * catgets/Makefile ($(objpfx)test1.cat): Use
17211 $(built-program-cmd-before-env), $(run-program-env) and
17212 $(built-program-cmd-after-env).
17213 ($(objpfx)test2.cat): Do not specify environment variables
17215 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17216 $(run-program-env) and $(built-program-cmd-after-env).
17217 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17218 $(run-program-env) and $(test-program-cmd-after-env).
17219 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17221 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17222 run_program_env and test_program_cmd_after_env arguments.
17223 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17224 * elf/tst-pathopt.sh: Use run_program_env argument.
17225 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17226 $(test-wrapper-env) and $(run-program-env).
17227 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17228 run_program_env arguments.
17229 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17230 * intl/Makefile ($(objpfx)tst-gettext.out): Use
17231 $(test-program-prefix-before-env), $(run-program-env) and
17232 $(test-program-prefix-after-env).
17233 ($(objpfx)tst-gettext2.out): Likewise.
17234 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17235 run_program_env and test_program_prefix_after_env arguments.
17236 * intl/tst-gettext2.sh: Likewise.
17237 * intl/tst-gettext4.sh: Do not set environment variables
17239 * intl/tst-gettext6.sh: Likewise.
17240 * intl/tst-translit.sh: Likewise.
17241 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17242 $(test-program-prefix-before-env), $(run-program-env) and
17243 $(test-program-prefix-after-env).
17244 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17245 run_program_env and test_program_prefix_after_env arguments.
17246 * math/Makefile (run-regen-ulps): Use $(run-program-env).
17247 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17248 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
17249 explicitly with each use of ${test_wrapper_env}.
17250 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17251 $(test-program-prefix-before-env), $(run-program-env) and
17252 $(test-program-prefix-after-env).
17253 * posix/tst-getconf.sh: Do not set environment variables
17255 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17256 run_program_env and test_program_prefix_after_env arguments.
17257 * stdio-common/tst-printf.sh: Do not set environment variables
17259 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17260 $(test-program-prefix-before-env), $(run-program-env) and
17261 $(test-program-prefix-after-env).
17262 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17263 run_program_env and test_program_prefix_after_env arguments.
17264 Split $test calls into $test_pre and $test.
17265 * timezone/Makefile (build-testdata): Use
17266 $(built-program-cmd-before-env), $(run-program-env) and
17267 $(built-program-cmd-after-env).
17269 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17271 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17272 strlen for non SHARED builds.
17274 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17276 * nptl/allocatestack.c (check_list): Inlined function...
17277 (__reclaim_stacks): ... here.
17279 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
17282 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17285 2014-06-05 Joseph Myers <joseph@codesourcery.com>
17287 * Rules (make-test-out): Include
17288 LOCPATH=$(common-objpfx)localedata in default environment.
17289 * debug/Makefile (tst-chk1-ENV): Remove variable.
17290 (tst-chk2-ENV): Likewise.
17291 (tst-chk3-ENV): Likewise.
17292 (tst-chk4-ENV): Likewise.
17293 (tst-chk5-ENV): Likewise.
17294 (tst-chk6-ENV): Likewise.
17295 (tst-lfschk1-ENV): Likewise.
17296 (tst-lfschk2-ENV): Likewise.
17297 (tst-lfschk3-ENV): Likewise.
17298 (tst-lfschk4-ENV): Likewise.
17299 (tst-lfschk5-ENV): Likewise.
17300 (tst-lfschk6-ENV): Likewise.
17301 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17302 (tst-iconv7-ENV): Likewise.
17303 * intl/Makefile (LOCPATH-ENV): Likewise.
17304 (tst-codeset-ENV): Likewise.
17305 (tst-gettext3-ENV): Likewise.
17306 (tst-gettext5-ENV): Likewise.
17307 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17308 (tst-fopenloc-ENV): Likewise.
17309 (tst-fgetws-ENV): Remove variable.
17310 (tst-ungetwc1-ENV): Likewise.
17311 (tst-ungetwc2-ENV): Likewise.
17312 (bug-ungetwc2-ENV): Likewise.
17313 (tst-swscanf-ENV): Likewise.
17314 (bug-ftell-ENV): Likewise.
17315 (tst-fgetwc-ENV): Likewise.
17316 (tst-fseek-ENV): Likewise.
17317 (tst-ftell-partial-wide-ENV): Likewise.
17318 (tst-ftell-active-handler-ENV): Likewise.
17319 (tst-ftell-append-ENV): Likewise.
17320 * posix/Makefile (tst-fnmatch-ENV): Likewise.
17321 (tst-regexloc-ENV): Likewise.
17322 (bug-regex1-ENV): Likewise.
17323 (tst-regex-ENV): Likewise.
17324 (tst-regex2-ENV): Likewise.
17325 (bug-regex5-ENV): Likewise.
17326 (bug-regex6-ENV): Likewise.
17327 (bug-regex17-ENV): Likewise.
17328 (bug-regex18-ENV): Likewise.
17329 (bug-regex19-ENV): Likewise.
17330 (bug-regex20-ENV): Likewise.
17331 (bug-regex22-ENV): Likewise.
17332 (bug-regex23-ENV): Likewise.
17333 (bug-regex25-ENV): Likewise.
17334 (bug-regex26-ENV): Likewise.
17335 (bug-regex30-ENV): Likewise.
17336 (bug-regex32-ENV): Likewise.
17337 (bug-regex33-ENV): Likewise.
17338 (bug-regex34-ENV): Likewise.
17339 (bug-regex35-ENV): Likewise.
17340 (tst-rxspencer-ENV): Likewise.
17341 (tst-rxspencer-no-utf8-ENV): Likewise.
17342 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17343 (tst-sscanf-ENV): Likewise.
17344 (tst-swprintf-ENV): Likewise.
17345 (tst-swscanf-ENV): Likewise.
17346 (test-vfprintf-ENV): Likewise.
17347 (scanf13-ENV): Likewise.
17348 (bug14-ENV): Likewise.
17349 (tst-grouping-ENV): Likewise.
17350 * stdlib/Makefile (tst-strtod-ENV): Likewise.
17351 (tst-strtod3-ENV): Likewise.
17352 (tst-strtod4-ENV): Likewise.
17353 (tst-strtod5-ENV): Likewise.
17354 (testmb2-ENV): Likewise./
17355 * string/Makefile (tst-strxfrm-ENV): Likewise.
17356 (tst-strxfrm2-ENV): Likewise.
17357 (bug-strcoll1-ENV): Likewise.
17358 (test-strcasecmp-ENV): Likewise.
17359 (test-strncasecmp-ENV): Likewise.
17360 * time/Makefile (tst-strptime-ENV): Likewise.
17361 (tst-ftime_l-ENV): Likewise.
17362 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17363 (tst-mbrtowc-ENV): Likewise.
17364 (tst-wcrtomb-ENV): Likewise.
17365 (tst-mbrtowc2-ENV): Likewise.
17366 (tst-c16c32-1-ENV): Likewise.
17367 (tst-mbsnrtowcs-ENV): Likewise.
17369 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
17371 * manual/resource.texi (How to get information about the memory
17372 subsystem?): Fix typo.
17373 Reported by Peon de la Parra Ivan <peon@keba.com>
17375 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
17378 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17379 (pthread_spin_lock): Branch out of spin loop to proper location.
17380 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17381 (pthread_spin_lock): Likewise.
17383 * nptl/tst-spin4.c: New test.
17384 * nptl/Makefile (tests): Add tst-spin4.
17386 2014-06-03 Andreas Schwab <schwab@suse.de>
17389 * resolv/res_send.c (send_dg): Reload file descriptor after
17392 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
17394 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17396 2014-06-03 Richard Henderson <rth@redhat.com>
17398 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17399 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17400 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17401 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
17402 in the SAVE_PID block.
17403 (__libc_vfork): New alias.
17404 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17406 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17407 child in registers, not on the stack. Remove RESET_PID conditionals.
17408 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17410 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
17412 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17414 2014-06-03 Wilco <wdijkstr@arm.com>
17416 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17417 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17418 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17419 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17420 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17423 2014-06-03 Wilco <wdijkstr@arm.com>
17425 * sysdeps/aarch64/fpu/math_private.h
17426 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17427 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17428 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17429 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17432 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17434 * crypt/crypt-private.h: Include ufc-crypt.h.
17435 (__b64_from_24bit): Declare extern.
17436 * crypt/crypt_util.c(__b64_from_24bit): New function.
17437 (b64t): New static const variable.
17438 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17439 (b64t): Remove variable.
17440 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17441 * crypt/sha256-crypt.c: Include crypt-private.h.
17442 (b64t): Remove variable.
17443 (__sha256_crypt_r): Remove b64_from_24bit and replace
17444 with __b64_from_24bit.
17445 * crypt/sha512-crypt.c: Likewise.
17447 2014-06-02 Roland McGrath <roland@hack.frob.com>
17449 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17450 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17451 Label the code __libc_vfork rather than __vfork.
17452 [!NOT_IN_libc] (vfork): Define as weak alias.
17453 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17454 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17455 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17457 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17459 * malloc/malloc.c (malloc_info): Fix format specifier for
17462 2014-06-02 Wilco <wdijkstr@arm.com>
17464 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17467 2014-06-02 Wilco <wdijkstr@arm.com>
17470 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17471 Rewrite to reduce FPCR/FPSR accesses.
17473 2014-06-01 David S. Miller <davem@davemloft.net>
17475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17477 2014-05-31 David S. Miller <davem@davemloft.net>
17479 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17480 to occur in round to nearest mode when |x| >= 2.0
17482 2014-05-30 Richard Henderson <rth@twiddle.net>
17484 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17485 (PSEUDO_RET_NOERRNO): Remove.
17486 (ret): Don't redefine.
17487 (ret_NOERRNO): Define in terms of ret.
17488 (ret_ERRVAL): Likewise.
17490 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17491 use of PSEUDO_RET; perform the error check directly.
17493 2014-05-30 Marko Myllynen <myllynen@redhat.com>
17495 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17498 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17500 * malloc/malloc (malloc_info): Fix formatting.
17502 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17503 Roland McGrath <roland@hack.frob.com>
17505 * malloc/malloc (malloc_info): Also print mmapped statistics.
17507 2014-05-30 Roland McGrath <roland@hack.frob.com>
17509 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17510 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17512 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
17514 * malloc/malloc.c (malloc_info): Inline mi_arena.
17516 2014-05-29 Richard Henderson <rth@twiddle.net>
17518 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17519 Remove comma before expanding ASM_ARGS_##nr.
17520 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17521 Make _x0 a strict output; make _x8 a strict input; adjust expansion
17523 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17524 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17525 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17526 (ASM_ARGS_1): Add leading comma.
17528 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17529 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17530 to __errno_location.
17531 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17532 Remove the expected plt for __errno_location.
17534 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17535 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17538 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17539 Always allocate 64 bytes of stack frame. Use ldp/stp to create
17540 it and break it down.
17541 (DOCARGS_0, DOCARGS_1): Do nothing.
17542 (DOCARGS_2): Update to store into the new stack frame.
17543 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17544 (UNDOCARGS_1): Update to restore from the new stack frame.
17545 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17546 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17548 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17549 (SINGLE_THREAD_P): New parameter for result regno.
17550 (PSEUDO): Update to match; use cbz instead of beq.
17552 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17553 Use ENTRY to define the _nocancel entry point. Share the syscall
17554 and syscall error check paths with the cancel path.
17557 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17558 whitespace; tabs before and after asm mnemonics.
17560 2014-05-29 Eric Wong <normalperson@yhbt.net>
17563 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17564 Call fstat64 or stat64 internally, depending on arguments passed.
17565 Replace stat buffer argument with file descriptor argument.
17566 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17567 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17568 Pass fd to __internal_statvfs instead of calling fstat64.
17569 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17570 Pass fd to __internal_statvfs64 instead of calling fstat64.
17571 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17572 Pass -1 to __internal_statvfs instead of calling stat64.
17573 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17574 Pass -1 to __internal_statvfs64 instead of calling stat64.
17576 2014-05-28 Roland McGrath <roland@hack.frob.com>
17578 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17579 that was previously under [RESET_PID].
17580 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17582 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17583 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17585 2014-05-27 Roland McGrath <roland@hack.frob.com>
17587 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17589 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17590 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17592 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
17594 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17596 2014-05-27 Andreas Schwab <schwab@suse.de>
17598 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17600 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17601 * elf/rtld.c (init_tls, dl_main): Likewise.
17602 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17603 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17604 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17605 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17606 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17607 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17608 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17609 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17610 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17611 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17612 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17613 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17614 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17615 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17616 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17617 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17618 * sysdeps/generic/tls.h: Update description.
17620 2014-05-27 Will Newton <will.newton@linaro.org>
17623 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17624 and restore r2 rather than just restoring.
17626 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17629 * libio/tst-ftell-append.c: New test case.
17630 * libio/Makefile (tests): Add test case.
17631 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17633 * libio/wfileops.c (do_ftell_wide): Likewise.
17635 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17639 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17643 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17644 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17645 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17646 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17647 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17648 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17649 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17652 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17655 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17656 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17657 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17658 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17659 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17661 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17662 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17664 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17666 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17668 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17669 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17670 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17672 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17673 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17674 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17675 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17677 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17680 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17683 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17686 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17690 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17693 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17698 conditional [RESET_PID].
17699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17700 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17702 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17707 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17708 (__libc_vfork): New strong alias.
17709 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17711 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17716 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17717 (__libc_vfork): New strong alias.
17718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17720 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17723 2014-05-26 Carlos O'Donell <carlos@redhat.com>
17725 * malloc/malloc.c (mi_arena): New function.
17726 (malloc_info): Remove nested function mi_arena. Call non-nosted
17729 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17731 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17733 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17734 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17735 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17736 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17737 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17738 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17739 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17741 2014-05-26 Andreas Schwab <schwab@suse.de>
17744 * locale/programs/repertoire.c (repertoire_read): Add slash
17745 between I18NPATH element and file name.
17746 * locale/programs/locfile.c (locfile_read): Likewise.
17748 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17750 * nptl/pthread_mutexattr_settype.c
17751 (__pthread_mutexattr_settype):
17752 Disable lock elision for PTHREAD_MUTEX_NORMAL.
17754 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17756 * nptl/tst-mutex5 (do_test):
17757 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17759 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17761 * benchtests/README: Document 'init' directive.
17762 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17764 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17765 (parse_file): Recognize 'init' directive.
17767 2014-05-26 Kyle McMartin <kyle@redhat.com>
17770 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17771 alignment of struct pthread.
17773 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17776 * nscd/netgroupcache.c (addgetnetgrentX): Look for
17777 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17778 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17779 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17781 2014-05-25 Richard Henderson <rth@twiddle.net>
17783 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17784 (SINGLE_THREAD_P_PIC): Remove.
17785 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17786 (SINGLE_THREAD_P_PIC): Remove.
17788 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17789 branch to syscall error ...
17790 (PSEUDO): ... here.
17791 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17792 from __local_syscall_error to .Lsyscall_error.
17793 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17794 (SYSCALL_ERROR): Update label name.
17796 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17797 Do not use DOARGS/UNDOARGS.
17798 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17799 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17800 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17801 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17802 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17804 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17807 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17808 define if !NOT_IN_libc.
17809 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17810 define with non-default symbol versions.
17812 2014-05-23 Richard Henderson <rth@twiddle.net>
17814 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17815 (vfork, __vfork): Define via compat_symbol.
17817 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17818 [!HAVE_IFUNC] (vfork_compat): Remove.
17819 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17821 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17824 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17825 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17828 2014-05-23 Richard Henderson <rth@twiddle.net>
17830 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17831 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17832 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17833 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17835 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17836 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17837 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17838 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17839 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17840 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17841 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17842 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17843 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17844 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17845 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17846 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17847 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17848 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17849 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17850 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17851 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17852 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17853 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17854 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17855 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17856 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17857 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17858 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17859 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17860 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17861 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17862 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17863 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17864 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17865 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17866 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17867 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17868 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17869 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17870 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17871 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17872 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17873 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17874 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17875 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17876 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17877 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17878 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17879 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17880 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17881 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17882 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17883 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17884 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17885 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17886 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17887 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17888 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17889 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17890 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17892 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17893 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17894 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
17895 before exiting on error.
17896 (__libc_vfork): New strong alias.
17897 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17898 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17900 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17901 that was previously under [RESET_PID].
17902 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17904 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17906 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17909 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17910 value when x - 1 is zero.
17911 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17912 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17913 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17914 0.0L for an argument of 1.0L.
17915 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17917 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17918 value when x - 1 is zero.
17919 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17920 * sysdeps/i386/fpu/libm-test-ulps: Update.
17921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17923 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
17925 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17926 alphasort and versionsort.
17928 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17930 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17932 [copysignf]: Likewise.
17934 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17936 * crypt/md5-crypt.c: Fix formatting.
17938 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17940 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17941 (b64_from_24bit): New function.
17943 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17945 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17946 libc_hidden_builtin_def to ifunc.
17947 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17948 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17950 2014-05-21 Roland McGrath <roland@hack.frob.com>
17952 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17953 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17955 2014-05-21 Joseph Myers <joseph@codesourcery.com>
17957 * nscd/Depend (linuxthreads): Remove.
17959 * resolv/Depend (linuxthreads): Remove.
17960 * rt/Depend (linuxthreads): Remove.
17962 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17963 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17964 $(common-objpfx)elf/.
17965 (link-libc-before-gnulib): Likewise.
17966 (elfobjdir): Remove variable.
17967 * Makefile (install): Use $(elf-objpfx) instead of
17968 $(common-objpfx)elf/.
17969 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17971 (link-libc-deps): Likewise.
17972 ($(common-objpfx)libc.so): Likewise.
17973 ($(common-objpfx)linkobj/libc.so): Likewise.
17974 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17975 instead of $(common-objpfx)elf/.
17976 (symbolic-link-list): Likewise.
17977 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17978 [$(cross-compiling) = no]: Likewise.
17979 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17981 (static-gnulib-arch): Likewise.
17982 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17983 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17984 $(common-objpfx)elf/.
17986 2014-05-21 Richard Henderson <rth@redhat.com>
17988 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17989 (SINGLE_THREAD_P): Use the correct width load. Fold
17990 into the ldr offset.
17992 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17993 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17995 2014-05-20 Joseph Myers <joseph@codesourcery.com>
17997 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17998 (libgcc_s_resume): Use __attribute_used__.
17999 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
18002 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18004 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
18005 optimization when used with float constants.
18007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18009 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
18012 * locale/nl_langinfo_l.c: Make direct reference to every
18013 _nl_current_CATEGORY symbol.
18014 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
18015 (tests-static): Add tst-langinfo-static.
18016 (tests-special): Add tst-langinfo-static.out.
18017 ($(objpfx)tst-langinfo.out): Redirect output.
18018 ($(objpfx)tst-langinfo-static.out): New.
18019 * localedata/tst-langinfo.sh: Send output to stdout.
18020 * localedata/tst-langinfo-static.c: New file.
18023 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
18024 when the shift amount is modulo the limb size.
18026 2014-05-20 Richard Henderson <rth@redhat.com>
18029 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
18030 Change type of sa_flags from unsigned int to int.
18033 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
18035 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
18037 2014-05-20 Will Newton <will.newton@linaro.org>
18039 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18040 Test the return value of the system call in the nocancel case.
18042 2014-05-20 Will Newton <will.newton@linaro.org>
18043 Yvan Roux <yvan.roux@linaro.org>
18045 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
18046 #include of asm/ptrace.h.
18047 (PTRACE_GET_THREAD_AREA): Remove #undef.
18048 (PTRACE_GETHBPREGS): Likewise.
18049 (PTRACE_SETHBPREGS): Likewise.
18050 (struct user_regs_struct): New structure.
18051 (struct user_fpsimd_struct): New structure.
18052 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
18053 #include of asm/ptrace.h and second #include of sys/user.h.
18054 (PTRACE_GET_THREAD_AREA): Remove #undef.
18055 (PTRACE_GETHBPREGS): Likewise.
18056 (PTRACE_SETHBPREGS): Likewise.
18057 (ELF_NGREG): Use new struct user_regs_struct.
18058 (elf_fpregset_t): Use new struct user_fpsimd_struct.
18060 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18062 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
18063 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
18065 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
18068 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
18069 membar to avoid block loads/stores to overlap previous stores.
18071 2014-05-17 Richard Henderson <rth@redhat.com>
18073 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
18074 Create the __##syscall_name##_nocancel entry point.
18075 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
18076 Remove; let the sysdep-cancel.h code create it.
18078 2014-05-17 David S. Miller <davem@davemloft.net>
18080 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
18081 Protect with __USE_GNU.
18082 (TIOCSET_TEMPT): Likewise.
18083 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
18084 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
18085 these are already provided in bits/ioctl-types.h
18087 2014-05-16 Roland McGrath <roland@hack.frob.com>
18089 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
18090 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
18092 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
18093 Use wait4 regardless of [__NR_waitpid].
18095 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18098 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18099 (_FP_NANSIGN_Q): Set the quiet bit.
18101 2014-05-16 Joseph Myers <joseph@codesourcery.com>
18103 * benchtests/Makefile
18104 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18105 not $(common-objpfx)math/libm.so.
18106 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18107 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18108 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18109 $(common-objpfx)dlfcn/libdl.so.
18110 ($(objpfx)tst-audit8): Depend on $(libm), not
18111 $(common-objpfx)math/libm.so.
18112 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18113 not $(common-objpfx)dlfcn/libdl.so.
18115 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18116 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
18117 [$(build-shared) = yes].
18118 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18119 $(common-objpfx)nptl/libpthread.so.
18120 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18121 $(common-objpfx)math/libm.so$(libm.so-version) or
18122 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18123 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18124 $(common-objpfx)dlfcn/libdl.so.
18125 * setjmp/Makefile (link-libm): Remove variable.
18126 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18127 * stdio-common/Makefile (link-libm): Remove variable.
18128 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18129 * stdlib/Makefile (link-libm): Remove variable.
18130 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18131 ($(objpfx)tst-strtod-round): Likewise.
18132 ($(objpfx)tst-tininess): Likewise.
18133 ($(objpfx)tst-strtod-underflow): Likewise.
18134 ($(objpfx)tst-strtod6): Likewise.
18135 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18136 $(libdl), not $(common-objpfx)nptl/libpthread.so and
18137 $(common-objpfx)dlfcn/libdl.so.
18139 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18141 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18142 BSD terminal modes definitions.
18144 2014-05-16 Roland McGrath <roland@hack.frob.com>
18146 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18147 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18149 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18150 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18151 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18152 Don't do #include_next.
18153 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18154 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18155 Don't do #include_next.
18156 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18157 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18158 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18159 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18161 2014-05-16 Allan McRae <allan@archlinux.org>
18163 * po/sv.po: Update Swedish translation from translation project.
18165 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18168 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
18171 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18172 errno if the TIOCGPTN ioctl fails with an error different than
18174 * login/tst-ptsname.c: New file.
18175 * login/Makefile (tests): Add tst-ptsname.
18178 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18181 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18184 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18185 herrno to return EAI_AGAIN.
18187 2014-05-14 Roland McGrath <roland@hack.frob.com>
18189 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18190 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18191 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18192 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18193 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18194 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18195 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18196 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18197 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18198 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18199 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18200 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18201 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18202 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18203 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18204 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18205 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18206 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18207 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18208 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18209 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18210 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18211 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18212 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18213 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18214 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18215 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18216 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18217 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18218 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18220 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18222 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18225 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18227 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18229 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18231 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18233 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18235 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18237 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18239 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18241 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18243 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18245 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18247 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18249 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18251 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18254 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18256 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18258 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18260 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18262 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18264 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18266 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18268 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18270 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18272 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18275 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18277 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18279 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18280 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18281 (libpthread-sysdep_routines): Add elision-related stuff here instead.
18282 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18283 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18284 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18285 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18286 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18287 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18288 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18289 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18290 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18291 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18292 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18293 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18294 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18295 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18296 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18297 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18298 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18299 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18300 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18301 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18302 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18303 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18304 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18305 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18306 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18307 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18308 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18309 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18311 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18312 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18314 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18315 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18316 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18317 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18318 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18319 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18321 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18322 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18324 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18325 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18327 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18328 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18330 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18331 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18332 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18333 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18335 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18336 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18337 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18338 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18339 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18340 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18341 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18342 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18344 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18345 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18347 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18349 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18350 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18351 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18352 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18353 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18355 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18357 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18359 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18360 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18361 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18362 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18363 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18364 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18366 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18367 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18369 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18370 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18372 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18373 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18375 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18376 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18377 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18378 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18380 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18381 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18382 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18383 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18384 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18385 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18386 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18387 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18389 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18390 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18392 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18394 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18395 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18396 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18397 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18398 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18400 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18402 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18404 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18405 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18406 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18407 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18408 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18409 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18410 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18411 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18412 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18413 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18415 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18416 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18418 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18419 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18421 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18422 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18424 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18425 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18426 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18427 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18428 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18429 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18431 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18432 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18433 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18434 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18435 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18436 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18437 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18438 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18440 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18441 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18443 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18445 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18446 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18447 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18448 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18449 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18451 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18453 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18455 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18456 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18457 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18458 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18459 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18460 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18461 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18462 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18463 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18464 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18465 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18467 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18468 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18470 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18471 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18473 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18474 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18475 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18476 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18477 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18478 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18479 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18480 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18481 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18482 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18483 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18484 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18485 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18486 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18487 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18488 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18489 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18490 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18492 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18493 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18494 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18495 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18497 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18498 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18499 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18500 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18501 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18502 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18503 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18504 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18506 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18507 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18509 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18510 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18511 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18512 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18513 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18514 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18515 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18516 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18517 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18518 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18519 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18520 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18521 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18522 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18523 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18524 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18525 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18527 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18528 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18529 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18530 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18531 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18533 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18534 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18535 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18536 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18537 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18538 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18539 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18540 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18541 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18542 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18544 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18545 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18547 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18548 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18549 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18550 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18551 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18552 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18553 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18554 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18555 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18556 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18557 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18558 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18559 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18560 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18561 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18563 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18565 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18567 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18569 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18579 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18581 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18582 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18583 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18584 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18585 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18586 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18587 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18588 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18589 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18590 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18591 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18592 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18593 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18594 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
18595 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
18597 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18598 that was previously under [RESET_PID].
18599 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18600 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18601 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18603 * sysdeps/i386/nptl/Implies: New file.
18604 * sysdeps/x86_64/nptl/Implies: New file.
18605 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18606 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18607 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18608 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18610 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18611 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18612 (__libc_vfork): New strong alias.
18613 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18614 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18616 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18617 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18618 (__libc_vfork): New strong alias.
18619 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18620 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18622 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18623 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18624 (__libc_vfork): New strong alias.
18625 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18626 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18627 * nptl/pt-vfork.c: New file.
18628 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18629 (libpthread: GLIBC_2.20): New version set (empty).
18631 2014-05-14 Will Newton <will.newton@linaro.org>
18633 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18636 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18639 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18640 arguments with exponent 65 or above.
18641 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18642 arguments 0x1p113L or above.
18643 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18644 to arguments 0x1p107L or above.
18645 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18646 positive arguments with exponent 65 or above.
18647 * math/auto-libm-test-in: Add more tests of log1p.
18648 * math/auto-libm-test-out: Regenerated.
18651 * math/s_cacos.c (__cacos): Ensure zero real part of result from
18652 non-finite arguments is +0.
18653 * math/s_cacosf.c (__cacosf): Likewise.
18654 * math/s_cacosl.c (__cacosl): Likewise.
18655 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18656 * sysdeps/i386/fpu/libm-test-ulps: Update.
18657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18660 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18662 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18663 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18664 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18665 for explicit high bit of mantissa when testing for argument equal
18667 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18668 * sysdeps/i386/fpu/libm-test-ulps: Update.
18669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18672 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18673 (__erf): Scale by 16 instead of 8 in potentially underflowing
18674 case. Ensure exception if result actually underflows.
18675 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18676 (__erff): Scale by 16 instead of 8 in potentially underflowing
18677 case. Ensure exception if result actually underflows.
18678 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18679 (efx8): Remove variable.
18680 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18681 case. Ensure exception if result actually underflows.
18682 * sysdeps/ieee754/ldbl-128ibm/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-96/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 * math/auto-libm-test-in: Add more tests of erf.
18691 * math/auto-libm-test-out: Regenerated.
18693 2014-05-14 Andreas Schwab <schwab@suse.de>
18695 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18696 Remove code conditionalized on USE___THREAD.
18698 * config.h.in (HAVE_PT_CHOWN): Define as 0.
18699 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18702 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18704 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18705 Define unconditionally.
18706 (__ASSUME_O_CLOEXEC): Likewise.
18707 (__ASSUME_SOCK_CLOEXEC): Likewise.
18708 (__ASSUME_IN_NONBLOCK): Likewise.
18709 (__ASSUME_PIPE2): Likewise.
18710 (__ASSUME_EVENTFD2): Likewise.
18711 (__ASSUME_SIGNALFD4): Likewise.
18712 (__ASSUME_DUP3): Likewise.
18713 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18714 (__ASSUME_DUP3): Do not define.
18715 (__ASSUME_EVENTFD2): Likewise.
18716 (__ASSUME_IN_NONBLOCK): Likewise.
18717 (__ASSUME_O_CLOEXEC): Likewise.
18718 (__ASSUME_PIPE2): Likewise.
18719 (__ASSUME_SIGNALFD4): Likewise.
18720 (__ASSUME_SOCK_CLOEXEC): Likewise.
18721 (__ASSUME_UTIMES): Undefine.
18722 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18723 (__ASSUME_UTIMES): Do not define.
18724 (__ASSUME_O_CLOEXEC): Likewise.
18725 (__ASSUME_SOCK_CLOEXEC): Likewise.
18726 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18727 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18729 (__ASSUME_PIPE2): Likewise.
18730 (__ASSUME_EVENTFD2): Likewise.
18731 (__ASSUME_SIGNALFD4): Likewise.
18732 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18733 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18735 (__ASSUME_EVENTFD2): Likewise.
18736 (__ASSUME_SIGNALFD4): Likewise.
18737 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18738 (__ASSUME_32BITUIDS): Likewise.
18739 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18740 (__ASSUME_IPC64): Likewise.
18741 (__ASSUME_ST_INO_64_BIT): Likewise.
18742 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18743 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18744 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18745 (__ASSUME_UTIMES): Do not define.
18746 (__ASSUME_PSELECT): Likewise.
18747 (__ASSUME_PPOLL): Likewise.
18748 (__ASSUME_O_CLOEXEC): Likewise.
18749 (__ASSUME_SOCK_CLOEXEC): Likewise.
18750 (__ASSUME_IN_NONBLOCK): Likewise.
18751 (__ASSUME_PIPE2): Likewise.
18752 (__ASSUME_EVENTFD2): Likewise.
18753 (__ASSUME_SIGNALFD4): Likewise.
18754 (__ASSUME_DUP3): Likewise.
18755 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18756 (__ASSUME_UTIMES): Likewise.
18757 (__ASSUME_O_CLOEXEC): Likewise.
18758 (__ASSUME_SOCK_CLOEXEC): Likewise.
18759 (__ASSUME_IN_NONBLOCK): Likewise.
18760 (__ASSUME_PIPE2): Likewise.
18761 (__ASSUME_EVENTFD2): Likewise.
18762 (__ASSUME_SIGNALFD4): Likewise.
18763 (__ASSUME_DUP3): Likewise.
18764 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18765 (__ASSUME_UTIMES): Likewise.
18766 (__ASSUME_O_CLOEXEC): Likewise.
18767 (__ASSUME_SOCK_CLOEXEC): Likewise.
18768 (__ASSUME_IN_NONBLOCK): Likewise.
18769 (__ASSUME_PIPE2): Likewise.
18770 (__ASSUME_EVENTFD2): Likewise.
18771 (__ASSUME_SIGNALFD4): Likewise.
18772 (__ASSUME_DUP3): Likewise.
18773 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18775 (__ASSUME_UTIMES): Likewise.
18776 (__ASSUME_EVENTFD2): Likewise.
18777 (__ASSUME_SIGNALFD4): Likewise.
18778 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18779 (__ASSUME_O_CLOEXEC): Likewise.
18780 (__ASSUME_SOCK_CLOEXEC): Likewise.
18781 (__ASSUME_IN_NONBLOCK): Likewise.
18782 (__ASSUME_PIPE2): Likewise.
18783 (__ASSUME_EVENTFD2): Likewise.
18784 (__ASSUME_SIGNALFD4): Likewise.
18785 (__ASSUME_DUP3): Likewise.
18786 (__ASSUME_UTIMES): Undefine.
18788 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18789 feclearexcept. Remove symbol versioning code.
18790 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
18791 symbol versioning code.
18792 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
18793 symbol versioning code.
18794 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18795 feupdateenv. Remove symbol versioning code.
18796 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18797 fegetexceptflag. Remove symbol versioning code.
18798 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18799 fesetexceptflag. Remove symbol versioning code.
18800 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18801 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
18802 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18803 (__posix_fadvise64_l32): Remove prototype.
18804 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18807 2014-05-13 Roland McGrath <roland@hack.frob.com>
18809 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18810 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18811 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18812 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18814 2014-05-13 Sami Kerola <kerolasa@iki.fi>
18816 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18817 current working directory
18819 2014-05-13 Roland McGrath <roland@hack.frob.com>
18821 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18822 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18823 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18824 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18825 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18826 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18827 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18828 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18829 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18830 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18831 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18832 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18833 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18834 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18835 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18836 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18837 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18838 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18839 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18840 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18841 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18842 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18843 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18844 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18845 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18846 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18847 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18848 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18849 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18850 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18851 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18852 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18853 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18854 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18855 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18856 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18857 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18858 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18859 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18860 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18861 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18862 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18864 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18865 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18867 * sysdeps/unix/sysv/linux/arm/Makefile
18868 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18869 Add rt-aeabi_unwind_cpp_pr1.
18870 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18871 Add nptl-aeabi_unwind_cpp_pr1.
18872 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18873 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18874 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18875 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18876 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18877 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18879 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18880 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18881 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18882 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18884 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18885 Deconditionalize the code that was previously under [RESET_PID].
18886 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18888 * sysdeps/generic/exit-thread.h: New file.
18889 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18890 * include/unistd.h (__exit_thread): Remove declaration.
18891 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18892 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18893 * csu/libc-start.c: Include <exit-thread.h>.
18894 (LIBC_START_MAIN): Pass no argument to __exit_thread.
18895 * nptl/pthread_create.c: Include <exit-thread.h>.
18896 (start_thread): Call __exit_thread in place of __exit_thread_inline.
18897 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18898 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18899 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18900 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18901 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18902 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18903 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18904 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18905 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18906 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18907 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18908 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18909 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18910 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18911 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18912 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18914 2014-05-13 Andreas Schwab <schwab@suse.de>
18916 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18918 2014-05-12 Joseph Myers <joseph@codesourcery.com>
18920 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18921 (__ASSUME_UTIMES): Do not condition on kernel version.
18922 (__ASSUME_PSELECT): Define unconditionally.
18923 (__ASSUME_PPOLL): Likewise.
18924 (__ASSUME_ATFCTS): Likewise.
18925 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18926 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18927 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18928 (__ASSUME_UTIMENSAT): Define unconditionally.
18929 (__ASSUME_PRIVATE_FUTEX): Likewise.
18930 (__ASSUME_FALLOCATE): Likewise.
18931 (__ASSUME_O_CLOEXEC): Likewise.
18932 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18933 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18934 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18935 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18936 (__ASSUME_IN_NONBLOCK): Likewise.
18937 (__ASSUME_PIPE2): Likewise.
18938 (__ASSUME_EVENTFD2): Likewise.
18939 (__ASSUME_SIGNALFD4): Likewise.
18940 (__ASSUME_DUP3): Likewise.
18941 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18942 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18943 (__ASSUME_AT_RANDOM): Likewise.
18944 (__ASSUME_PREADV): Likewise.
18945 (__ASSUME_PWRITEV): Likewise.
18946 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18947 (__ASSUME_F_GETOWN_EX): Define unconditionally.
18948 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18949 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18950 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18951 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18952 (__ASSUME_O_CLOEXEC): Define unconditionally.
18953 (__ASSUME_PSELECT): Do not undefine conditionally.
18954 (__ASSUME_PPOLL): Likewise.
18955 (__ASSUME_ATFCTS): Likewise.
18956 (__ASSUME_SET_ROBUST_LIST): Likewise.
18957 (__ASSUME_UTIMENSAT): Likewise.
18958 (__ASSUME_FDATASYNC): Define unconditionally.
18959 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18960 (__ASSUME_SIGFRAME_V2): Likewise.
18961 )__ASSUME_EVENTFD2): Likewise.
18962 (__ASSUME_SIGNALFD4): Likewise.
18963 (__ASSUME_PSELECT): Do not undefine conditionally.
18964 (__ASSUME_PPOLL): Likewise.
18965 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18966 (__ASSUME_PSELECT): Define unconditionally.
18967 (__ASSUME_PPOLL): Likewise.
18968 (__ASSUME_O_CLOEXEC): Likewise.
18969 (__ASSUME_SOCK_CLOEXEC): Likewise.
18970 (__ASSUME_IN_NONBLOCK): Likewise.
18971 (__ASSUME_PIPE2): Likewise.
18972 (__ASSUME_EVENTFD2): Likewise.
18973 (__ASSUME_SIGNALFD4): Likewise.
18974 (__ASSUME_DUP3): Likewise.
18975 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18976 (__ASSUME_O_CLOEXEC): Likewise.
18977 (__ASSUME_SOCK_CLOEXEC): Likewise.
18978 (__ASSUME_IN_NONBLOCK): Likewise.
18979 (__ASSUME_PIPE2): Likewise.
18980 (__ASSUME_EVENTFD2): Likewise.
18981 (__ASSUME_SIGNALFD4): Likewise.
18982 (__ASSUME_DUP3): Likewise.
18983 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18984 (__ASSUME_EVENTFD2): Likewise.
18985 (__ASSUME_SIGNALFD4): Likewise.
18986 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18988 2014-05-12 Andreas Schwab <schwab@suse.de>
18991 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18992 (_nss_nis_gethostbyname4_r): Return error if item length is larger
18993 than maximum RPC packet size.
18994 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18995 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18996 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18997 (_nss_nis_getservbyport_r): Likewise.
18999 2014-05-12 Will Newton <will.newton@linaro.org>
19001 * malloc/Makefile (tests): Add tst-mallopt.
19002 * malloc/tst-mallopt.c: New file.
19004 2014-05-09 Roland McGrath <roland@hack.frob.com>
19006 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
19007 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
19009 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19011 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
19012 (tst-tlsmod6.so): Likewise.
19014 2014-05-09 Roland McGrath <roland@hack.frob.com>
19016 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
19018 2014-05-09 Joseph Myers <joseph@codesourcery.com>
19021 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
19022 and <dl-procinfo.h>.
19023 (__fegetenv): Save SSE state in envp->__eip if supported.
19024 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
19025 envp->__eip if supported.
19026 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
19027 and <dl-procinfo.h>.
19028 (__fesetenv): Always set __eip, __cs_selector, __opcode,
19029 __data_offset and __data_selector in environment to 0. Set SSE
19030 state if supported.
19031 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19033 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
19035 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
19037 2014-05-09 Will Newton <will.newton@linaro.org>
19039 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
19040 and libc_relro_required for ARM.
19041 * sysdeps/arm/preconfigure: Regenerate.
19043 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
19044 Stefan Liebler <stli@linux.vnet.ibm.com>
19046 * config.make.in (enable-lock-elision): New Makefile variable.
19047 * configure.ac: Likewise.
19048 * configure: Regenerate.
19049 * sysdeps/s390/configure.ac:
19050 Add check for gcc transactions support.
19051 * sysdeps/s390/configure: Regenerate.
19052 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
19053 Build elision files if enabled.
19054 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
19055 Add lock elision support for s390.
19056 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
19057 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
19058 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
19059 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19060 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
19061 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
19062 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
19064 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
19066 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
19068 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
19070 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
19071 (__lll_timedlock_elision, __lll_lock_elision)
19072 (__lll_unlock_elision, __lll_trylock_elision)
19073 (lll_timedlock_elision, lll_lock_elision)
19074 (lll_unlock_elision, lll_trylock_elision): Add.
19075 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19076 (pthread_mutex_t): Add lock elision support for s390.
19078 2014-05-14 Wilco <wdijkstr@arm.com>
19080 * sysdeps/arm/fclrexcpt.c: Cleanup.
19081 * sysdeps/arm/fedisblxcpt.c: Cleanup.
19082 * sysdeps/arm/feenablxcpt.c: Cleanup.
19083 * sysdeps/arm/fegetenv.c: Cleanup.
19084 * sysdeps/arm/fegetexcept.c: Cleanup.
19085 * sysdeps/arm/fegetround.c: Cleanup.
19086 * sysdeps/arm/feholdexcpt.c: Cleanup.
19087 * sysdeps/arm/fesetenv.c: Cleanup.
19088 * sysdeps/arm/fesetround.c: Cleanup.
19089 * sysdeps/arm/feupdateenv.c: Cleanup.
19090 * sysdeps/arm/fgetexcptflg.c: Cleanup.
19091 * sysdeps/arm/fraiseexcpt.c: Cleanup.
19092 * sysdeps/arm/fsetexcptflg.c: Cleanup.
19093 * sysdeps/arm/ftestexcept.c: Cleanup.
19094 * sysdeps/arm/get-rounding-mode.h: Cleanup.
19095 * sysdeps/arm/setfpucw.c: Cleanup.
19097 2014-05-09 Will Newton <will.newton@linaro.org>
19099 * sysdeps/arm/armv7/strcmp.S: New file.
19100 * NEWS: Mention addition of ARMv7 optimized strcmp.
19102 2014-05-08 Roland McGrath <roland@hack.frob.com>
19104 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19105 look for %.ac rather than %.in.
19107 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19108 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19109 * sysdeps/mach/hurd/configure: Regenerated.
19110 * sysdeps/unix/sysv/linux/configure: Regenerated.
19112 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19114 2014-05-07 Steve Ellcey <sellcey@mips.com>
19117 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19121 2014-05-07 Andreas Schwab <schwab@suse.de>
19123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19124 when skipping over non-matching result from nscd.
19126 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
19129 * nptl/sockperf.c (client): Check socket return value.
19132 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19133 nscd security class.
19135 2014-05-06 Roland McGrath <roland@hack.frob.com>
19137 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19138 * sysdeps/arm/unwind.h: ... here.
19140 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
19143 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19146 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19148 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19149 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19150 multiarch strncpy for PPC64.
19151 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19152 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19154 multiarch optimizations.
19155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19156 (__libc_ifunc_impl_list): Likewise.
19157 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19158 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19159 multiarch stpncpy for PPC64.
19160 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19161 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19163 2014-05-06 Andreas Schwab <schwab@suse.de>
19166 * gmon/mcount.c (_MCOUNT_DECL): Use
19167 atomic_compare_and_exchange_bool_acq instead of
19168 catomic_compare_and_exchange_bool_acq.
19170 2014-05-05 Roland McGrath <roland@hack.frob.com>
19172 * elf/Makefile (others, install-bin): Remove pldd.
19173 (pldd-modules): Variable removed.
19174 ($(objpfx)pldd): Target removed.
19175 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19176 (others, install-bin): Append pldd here.
19177 ($(objpfx)pldd): New target.
19179 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19180 to 0, so the first #if test emitted later doesn't see it undefined.
19181 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19182 * sysdeps/gnu/errlist.c: Regenerated.
19184 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19186 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19187 [libc_hidden_builtin_def]: Define to empty value.
19188 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19189 [libc_hidden_builtin_def]: Likewise.
19190 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19191 [libc_hidden_builtin_def]: Likewise.
19192 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19193 [libc_hidden_builtin_def]: Likewise.
19194 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19195 __redirect_memcpy and define ifunc as default hidden symbol.
19196 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19197 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19199 2014-05-04 Adam Conrad <adconrad@0c3.net>
19201 * locale/iso-4217.def: Reintroduce XDR currency.
19203 2014-05-04 Allan McRae <allan@archlinux.org>
19205 * po/eo.po: Update Esperanto translation from translation project.
19207 2014-05-02 Carlos O'Donell <carlos@redhat.com>
19209 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19210 and FEATURE_INDEX_MAX to 1.
19211 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19213 2014-05-01 Steve Ellcey <sellcey@mips.com>
19215 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19216 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19217 * iconvdata/big5.c (ONE_DIRECTION): Define.
19218 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19219 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19220 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19221 * iconvdata/cp932.c (ONE_DIRECTION): Define.
19222 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19223 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19224 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19225 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19226 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19227 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19228 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19229 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19230 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19231 * iconvdata/gbk.c (ONE_DIRECTION): Define.
19232 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19233 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19234 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19235 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19236 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19237 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19238 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19239 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19240 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19241 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19242 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19243 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19244 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19245 * iconvdata/iso646.c (ONE_DIRECTION): Define.
19246 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19247 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19248 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19249 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19250 * iconvdata/johab.c (ONE_DIRECTION): Define.
19251 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19252 * iconvdata/sjis.c (ONE_DIRECTION): Define.
19253 * iconvdata/t.61.c (ONE_DIRECTION): Define.
19254 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19255 * iconvdata/tscii.c (ONE_DIRECTION): Define.
19256 * iconvdata/uhc.c (ONE_DIRECTION): Define.
19257 * iconvdata/unicode.c (ONE_DIRECTION): Define.
19258 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19259 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19260 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19262 2014-05-01 Roland McGrath <roland@hack.frob.com>
19264 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19265 (_IO_JUMPS_OFFSET): Define to 0.
19267 * nptl/sysdeps/pthread/bits/libc-lock.h
19268 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19269 (__libc_lock_define_initialized_recursive): Always define using
19270 initializer. Modern compilers treat uninitialized (implicit zero) and
19271 explicit zero initializers the same (i.e. put the datum in bss).
19273 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
19275 * nscd/nscd-client.h: Include <string.h>.
19277 2014-05-01 David S. Miller <davem@davemloft.net>
19280 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19281 multiple zero bytes exist at the end of a string.
19282 Reported by Aurelien Jarno <aurelien@aurel32.net>
19284 * string/test-strcmp.c (check): Add explicit test for situations where
19285 there are multiple zero bytes after the first.
19287 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
19290 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19291 when compiling wprintf.
19292 * stdio-common/tstdiomisc.c (t3): New function.
19295 2014-05-01 Steve Ellcey <sellcey@mips.com>
19297 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19298 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19299 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19300 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19302 2014-05-01 Steve Ellcey <sellcey@mips.com>
19304 * stdlib/longlong.h: Updated from GCC.
19306 2014-05-01 Will Newton <will.newton@linaro.org>
19307 Bernard Ogden <bernie.ogden@linaro.org>
19309 * NEWS: Update fixed bug list.
19312 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19314 2014-04-30 David S. Miller <davem@davemloft.net>
19316 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19317 (libc_feholdexcept_setround_sparc_ctx): New function.
19318 (libc_fesetenv_sparc_ctx): Likewise.
19319 (libc_feupdateenv_sparc_ctx): Likewise.
19320 (libc_feholdsetround_sparc_ctx): Likewise.
19321 (libc_feholdexcept_setround_ctx): Define.
19322 (libc_feholdexcept_setroundf_ctx): Likewise.
19323 (libc_feholdexcept_setroundl_ctx): Likewise.
19324 (libc_fesetenv_ctx): Likewise.
19325 (libc_fesetenvf_ctx): Likewise.
19326 (libc_fesetenvl_ctx): Likewise.
19327 (libc_feupdateenv_ctx): Likewise.
19328 (libc_feupdateenvf_ctx): Likewise.
19329 (libc_feupdateenvl_ctx): Likewise.
19330 (libc_feresetround_ctx): Likewise.
19331 (libc_feresetroundf_ctx): Likewise.
19332 (libc_feresetroundl_ctx): Likewise.
19333 (libc_feholdsetround_ctx): Likewise.
19334 (libc_feholdsetroundf_ctx): Likewise.
19335 (libc_feholdsetroundl_ctx): Likewise.
19337 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19338 with __USE_GNU instead of XOPEN cpp guards.
19340 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19343 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19344 with XOPEN cpp guards.
19346 2014-04-30 Julian Brown <julian@codesourcery.com>
19349 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19352 2014-04-30 Joseph Myers <joseph@codesourcery.com>
19355 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19357 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19358 * sysdeps/unix/sysv/linux/configure: Regenerated.
19359 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19360 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19361 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19362 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19363 * README: Update reference to required Linux kernel version.
19364 * manual/install.texi (Linux): Update reference to required Linux
19365 kernel headers version.
19366 * INSTALL: Regenerated.
19368 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19370 [POSIX] (limits.h): Likewise.
19371 [POSIX] (math.h): Likewise.
19372 [POSIX] (sys/wait.h): Likewise.
19373 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19375 [POSIX] (stddef.h): Do not allow header inclusion.
19377 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19379 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19381 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
19383 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19384 Return immediately after lll_futex_wake.
19386 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19389 * nscd/nscd-client.h (datahead_init_common): Initialize entire
19391 (datahead_init_pos): Call datahead_init_common early.
19392 (datahead_init_neg): Likewise.
19394 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19395 datahead_init_neg): New functions.
19396 * nscd/aicache.c (addhstaiX): Use them.
19397 * nscd/grpcache.c (cache_addgr): Likewise.
19398 * nscd/hstcache.c (cache_addhst): Likewise.
19399 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19400 * nscd/netgroupcache.c (do_notfound): Likewise.
19401 (addgetnetgrentX): Likewise.
19402 (addinnetgrX): Likewise.
19403 * nscd/pwdcache.c (cache_addpw): Likewise.
19404 * nscd/servicescache.c (cache_addserv): Likewise.
19406 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19407 Atsushi Onoe <atsushi@onoe.org>
19412 * resolv/res_query.c (__libc_res_nsearch): Return if at least
19413 one response is valid.
19414 * resolv/res_send.c (send_dg): Check for validity of other
19415 response if the current response is a referral.
19417 2014-04-29 Steve Ellcey <sellcey@mips.com>
19419 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19421 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
19424 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19425 Always divide by positive zero when computing -Inf result.
19426 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19427 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19429 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19431 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19432 FPSCR if value do not change.
19433 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19434 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19435 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19436 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19437 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19438 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19441 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
19443 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19444 * sysdeps/unix/sysv/linux/hppa: Move directory from
19445 ports/systeps/unix/sysv/linux/hppa.
19446 * README: Update listing for hppa-*-linux-gnu.
19448 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
19451 * manual/stdio.texi (Hook functions): Fix types of stream hook
19454 * socket/sys/socket.h: Fix typo in comment.
19456 2014-04-28 Wilco <wdijkstr@arm.com>
19458 * sysdeps/arm/fenv_private.h: New file.
19459 * sysdeps/arm/math_private.h: New file.
19460 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19462 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
19464 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19466 (La_x86_64_retval): Likewise.
19468 2014-04-24 Ian Bolton <ian.bolton@arm.com>
19470 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19471 fpsr if value didn't change.
19472 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19473 to fpcr if value didn't change.
19474 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19475 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19476 fpsr or fpcr if value didn't change.
19477 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19478 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19479 fpcr if value didn't change.
19480 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19481 to fpsr if value didn't change.
19483 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19485 * nptl/tst-sem3.c: Use test-skeleton.c
19486 (main): Rename to do_test. Use return instead of
19488 * nptl/tst-sem4.c: Use test-skeleton.c
19489 (main): Rename to do_test.
19491 2014-04-22 David S. Miller <davem@davemloft.net>
19493 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19494 (struct sigaction): New struct member __glibc_reserved0, change
19495 type of sa_flags to int.
19497 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
19499 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19500 (COUNT_LEADING_ZEROS_0): Define for AArch64.
19502 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19504 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19505 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19507 2014-04-22 Will Newton <will.newton@linaro.org>
19508 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
19510 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19511 (__longjmp): Add longjmp and longjmp_target SystemTap
19513 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19514 (__sigsetjmp): Add setjmp SystemTap probe.
19516 2014-04-17 Carlos O'Donell <carlos@redhat.com>
19518 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19519 match manual order.
19521 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19523 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19525 * sysdeps/powerpc/fpu/fenv_private.h
19526 (libc_feholdexcept_setroundl_ctx): Define to
19527 libc_feholdexcept_setround_ppc_ctx.
19528 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19529 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19530 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19531 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19533 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19535 * sysdeps/aarch64/math-tests.h: New file.
19537 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
19539 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19542 Check and set bit_AVX2_Usable.
19543 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19545 (bit_AVX2): Likewise.
19546 (index_AVX2_Usable): Likewise.
19547 (CPUID_AVX2): Likewise.
19548 (HAS_AVX2): Likewise.
19550 2014-04-17 Will Newton <will.newton@linaro.org>
19552 * manual/setjmp.texi (System V contexts): Add note that
19553 calling setcontext on a context created by a call to a
19554 signal handler is undefined. Update text to note that
19555 setcontext from a signal handler is possible but not
19559 * stdlib/tst-setcontext.c: Include signal.h.
19560 (main): Check that the signal stack before and
19561 after swapcontext is the same.
19563 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19564 Re-implement to restore registers in user code and avoid
19565 rt_sigreturn system call.
19567 2014-04-17 Wilco <wdijkstr@arm.com>
19569 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19570 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19571 * math/test-fenv.c: Skip exception trap tests on targets which only
19572 support non-stop mode.
19574 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19575 Wilco Dijkstra <wilco.dijkstra@arm.com>
19577 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19578 (libc_feholdsetround_aarch64_ctx)
19579 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19580 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19581 (libc_feresetround_ctx, libc_feresetroundf_ctx)
19582 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19583 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19584 (libc_feresetround_noexl_ctx): Define.
19586 2014-04-16 Richard Henderson <rth@redhat.com>
19588 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19590 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19593 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19594 const from the non-libc, non-ldso copy.
19596 * sysdeps/alpha/libm-test-ulps: Regenerate.
19598 2014-04-16 Ian Bolton <ian.bolton@arm.com>
19599 Wilco Dijkstra <wilco.dijkstra@arm.com>
19601 * sysdeps/aarch64/fpu/math_private.h: New file.
19603 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
19605 * sysdeps/aarch64/libm-test-ulps: Regenerate.
19607 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
19610 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19611 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19612 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19613 Intel MPX bound registers before _dl_profile_fixup.
19614 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19615 registers after _dl_profile_fixup. Save and restore bound
19616 registers bnd0/bnd1 when calling _dl_call_pltexit.
19617 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19618 (LR_BND_OFFSET): Likewise.
19619 (LRV_BND0_OFFSET): Likewise.
19620 (LRV_BND1_OFFSET): Likewise.
19622 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19624 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19626 * sysdeps/mach/hurd/i386/tls.h: ... here.
19627 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19628 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19631 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19633 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19635 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19637 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19639 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19642 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19643 * sysdeps/s390/configure: Regenerate.
19646 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19647 Set round-to-nearest internally to reduce error accumulation.
19649 2014-04-16 Alan Modra <amodra@gmail.com>
19653 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19654 * math/libm-test.inc (frexp_test_data): Add tests.
19655 * NEWS: Update fixed bug list.
19657 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19659 * benchtests/Makefile: Depend on libraries in build directory.
19660 (bench-math): Separate out math tests.
19661 (bench-pthread): Separate out pthread tests.
19662 (bench): Include math and pthread tests.
19664 2014-04-14 Carlos O'Donell <carlos@redhat.com>
19667 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19668 _dl_debug_initialize.
19670 * configure.ac: Remove SELinux header check.
19671 * configure: Regenerate.
19672 * nscd/selinux.c (perms): Array of const char* to permission names.
19673 (nscd_request_avc_has_perm): Call security_deny_unknown to find
19674 default policy. Call string_to_security_class and string_to_av_perm to
19675 translate strings. Enforce default policy and call avs_has_perm with
19676 results of translated strings.
19678 2014-04-13 David S. Miller <davem@davemloft.net>
19680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19682 2014-04-12 Allan McRae <allan@archlinux.org>
19685 * manual/string.texi (Collation Functions): Fix qsort argument
19687 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19689 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
19691 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19692 Make the test a no-op if there are no exceptions defined.
19694 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19696 * elf/Makefile (tests): make tst-dlopen-aout conditional on
19697 enable-hardcoded-path-in-tests
19699 2014-04-11 Will Newton <will.newton@linaro.org>
19701 * benchtests/Makefile (extra-objs): Add json-lib.o.
19702 (bench-func): Tidy up JSON output.
19703 * benchtests/bench-skeleton.c: Include json-lib.h.
19704 (main): Use JSON library functions to do output of
19706 * benchtests/bench-timing-type.c (main): Output the
19707 timing type simply, leaving formatting to the user.
19708 * benchtests/json-lib.c: New file.
19709 * benchtests/json-lib.h: Likewise.
19711 2014-04-11 Torvald Riegel <triegel@redhat.com>
19714 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19715 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
19716 memory barriers. Add comments.
19717 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19718 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19719 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19720 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19721 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19722 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19724 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19726 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19727 * sysdeps/s390/s390-64/configure.ac: ... this ...
19728 * sysdeps/s390/configure.ac: ... to here.
19729 * sysdeps/s390/s390-32/configure: Delete file.
19730 * sysdeps/s390/s390-64/configure: Delete file.
19731 * sysdeps/s390/configure: Regenerate.
19733 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
19735 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19737 2014-04-11 Will Newton <will.newton@linaro.org>
19739 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19740 to zero if it is not defined elsewhere. (mtrim): Test
19741 the value of MALLOC_DEBUG with #if rather than #ifdef.
19743 2014-04-10 Torvald Riegel <triegel@redhat.com>
19745 * benchtests/pthread_once-inputs: New file.
19746 * benchtests/pthread_once-source.c: New file.
19747 * benchtests/README: Update documentation.
19749 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
19750 H.J. Lu <hongjiu.lu@intel.com>
19753 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19754 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19755 * sysdeps/x86_64/configure: Regenerated.
19756 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19758 (REGISTER_SAVE_RAX): Likewise.
19759 (REGISTER_SAVE_RCX): Likewise.
19760 (REGISTER_SAVE_RDX): Likewise.
19761 (REGISTER_SAVE_RSI): Likewise.
19762 (REGISTER_SAVE_RDI): Likewise.
19763 (REGISTER_SAVE_R8): Likewise.
19764 (REGISTER_SAVE_R9): Likewise.
19765 (REGISTER_SAVE_BND0): Likewise.
19766 (REGISTER_SAVE_BND1): Likewise.
19767 (REGISTER_SAVE_BND2): Likewise.
19768 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
19769 bound registers when calling _dl_fixup.
19771 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19773 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19774 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19776 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19777 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19778 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19779 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19780 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19781 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19782 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19784 2014-04-09 Peter Brett <peter@peter-b.co.uk>
19787 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19788 pathconf(_PC_NAME_MAX).
19790 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19792 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19793 Remove macro usage.
19794 (__PTHREAD_SPINS): Move definition to ...
19795 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19796 (__PTHREAD_SPINS): ... here.
19797 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19798 (__PTHREAD_SPIN): Likewise.
19799 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19800 (__PTHREAD_SPIN): Likewise.
19801 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19802 (__PTHREAD_SPIN): Likewise.
19803 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19804 (__PTHREAD_SPIN): Likewise.
19805 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19806 (__PTHREAD_SPIN): Likewise.
19807 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19808 (__PTHREAD_SPIN): Likewise.
19809 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19810 (__PTHREAD_SPIN): Likewise.
19811 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19812 (__PTHREAD_SPIN): Likewise.
19813 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19814 (__PTHREAD_SPIN): Likewise.
19815 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19816 (__PTHREAD_SPIN): Likewise.
19817 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19818 (__PTHREAD_SPIN): Likewise.
19819 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19820 (__PTHREAD_SPIN): Likewise.
19822 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19823 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19824 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19825 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19827 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19828 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19829 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19830 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19831 correct imply path.
19832 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19833 strlen symbol for non multi-arch builds.
19834 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19835 missing hidden_def and weak_alias.
19837 2014-04-08 Carlos O'Donell <carlos@redhat.com>
19839 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19841 2014-04-07 Will Newton <will.newton@linaro.org>
19843 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19844 and contents. [!_LIBC] Remove #ifndef and contents.
19845 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
19846 * string/memccpy.c (__memccpy): Use ANSI prototype.
19847 * string/memfrob.c (memfrob): Likewise.
19848 * string/strcoll.c (STRCOLL): Likewise.
19849 * string/strlen.c (strlen): Likewise.
19850 * string/strtok.c (STRTOK): Likewise.
19851 * string/strcat.c: Remove unused #include of memcopy.h.
19852 (strcat): Use ANSI prototype.
19853 * string/strchr.c: Remove unused #include of memcopy.h.
19854 (strchr): Use ANSI prototype.
19855 * string/strcmp.c: Remove unused #include of memcopy.h.
19856 (strcmp): Use ANSI prototype.
19857 * string/strcpy.c: Remove unused #include of memcopy.h.
19858 (strcpy): Use ANSI prototype.
19860 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19862 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19863 * config.make.in (config-extra-cppflags): Set it from
19864 libc_extra_cppflags.
19865 * configure.ac (libc_extra_cflags): Make it accumulate over
19866 configure fragments.
19867 (libc_extra_cppflags): New flag.
19868 * configure. Regenerate.
19869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19870 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19871 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19875 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19876 result for FE_DOWNWARD rounding mode.
19877 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19881 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
19883 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19884 in function argument name.
19886 2014-04-03 David Svoboda <svoboda@cert.org>
19889 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19892 2014-04-03 Roland McGrath <roland@hack.frob.com>
19894 * elf/dl-unmap-segments.h: New file.
19895 * sysdeps/generic/ldsodefs.h
19896 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19897 * elf/dl-close.c: Include <dl-unmap-segments.h>.
19898 * elf/dl-fptr.c: Likewise.
19899 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19900 * sysdeps/aarch64/tlsdesc.c: Likewise.
19901 * sysdeps/arm/tlsdesc.c: Likewise.
19902 * sysdeps/i386/tlsdesc.c: Likewise.
19903 * sysdeps/tile/dl-runtime.c: Likewise.
19904 * sysdeps/x86_64/tlsdesc.c: Likewise.
19905 * elf/dl-load.h: New file.
19906 * elf/dl-load.c: Include it.
19907 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19908 Macros moved to dl-load.h.
19909 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19910 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19911 Use _dl_unmap_segments in place of __munmap.
19912 Break out segment-mapping loop into ...
19913 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19915 2014-04-03 Will Newton <will.newton@linaro.org>
19917 * elf/dl-lookup.c (do_lookup_x): Remove comment
19918 referring to nested function and move variable
19919 declarations down to before first use.
19921 2014-04-02 Joseph Myers <joseph@codesourcery.com>
19925 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19927 * math/s_catanf.c (__catanf): Likewise.
19928 * math/s_catanh.c (__catanh): Likewise.
19929 * math/s_catanhf.c (__catanhf): Likewise.
19930 * math/s_catanhl.c (__catanhl): Likewise.
19931 * math/s_catanl.c (__catanl): Likewise.
19932 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19933 by positive zero when computing -Inf result.
19934 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19935 (catanh_test): Likewise.
19936 * sysdeps/i386/fpu/libm-test-ulps: Update.
19937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19940 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19941 instead of using underflowing value in computing result.
19942 * math/s_clog10.c (__clog10): Likewise.
19943 * math/s_clog10f.c (__clog10f): Likewise.
19944 * math/s_clog10l.c (__clog10l): Likewise.
19945 * math/s_clogf.c (__clogf): Likewise.
19946 * math/s_clogl.c (__clogl): Likewise.
19947 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19948 (clog10_test): Likewise.
19949 * sysdeps/i386/fpu/libm-test-ulps: Update.
19950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19952 2014-04-02 Alan Modra <amodra@gmail.com>
19955 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19956 output when value is near a power of two. Use int64_t for lx and
19957 remove casts. Use decimal rather than hex exponent constants.
19958 Don't use long double multiplication when double will suffice.
19959 * math/libm-test.inc (nextafter_test_data): Add tests.
19960 * NEWS: Add 16739 and 16786 to bug list.
19962 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19964 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19966 2014-04-01 Will Newton <will.newton@linaro.org>
19968 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19969 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
19971 2014-04-01 Florian Weimer <fweimer@redhat.com>
19974 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19975 * nptl/tst-setuid2.c: New file.
19976 * nptl/Makefile (xtests): Add tst-setuid2.
19978 2014-04-01 Alan Modra <amodra@gmail.com>
19981 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19983 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19987 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19988 set errno as appropriate.
19989 * math/w_scalbf.c (__scalbf): Likewise.
19990 * math/w_scalbl.c (__scalbl): Likewise.
19991 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19992 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19993 * math/libm-test.inc (scalb_test_data): Add errno expectations.
19994 Add more NaN tests.
19997 * math/w_atan2.c: Include <errno.h>.
19998 (__atan2): Set errno for result underflowing to zero.
19999 * math/w_atan2f.c: Include <errno.h>.
20000 (__atan2f): Set errno for result underflowing to zero.
20001 * math/w_atan2l.c: Include <errno.h>.
20002 (__atan2l): Set errno for result underflowing to zero.
20003 * math/auto-libm-test-in: Don't allow missing errno for some atan2
20005 * math/auto-libm-test-out: Regenerated.
20007 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20009 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20010 Encode instruction correctly in little endian.
20011 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20013 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20015 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20017 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20020 2014-03-31 Joseph Myers <joseph@codesourcery.com>
20023 * sysdeps/unix/sysv/linux/kernel-features.h
20024 [__sparc__ && !__arch64__ && !__sparc_v9__]
20025 (__ASSUME_SET_ROBUST_LIST): Do not define.
20026 [__sparc__ && !__arch64__ && !__sparc_v9__]
20027 (__ASSUME_FUTEX_LOCK_PI): Likewise.
20028 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
20030 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20031 (__ASSUME_FUTEX_LOCK_PI): Undefine.
20032 (__ASSUME_REQUEUE_PI): Likewise.
20033 (__ASSUME_SET_ROBUST_LIST): Likewise.
20034 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20035 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
20037 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20038 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
20040 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
20042 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
20044 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20045 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
20047 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
20048 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
20052 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20053 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
20054 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
20056 2014-03-31 Will Newton <will.newton@linaro.org>
20058 * benchtests/Makefile (bench): Add ffs and ffsll to list
20060 * benchtests/ffs-inputs: New file.
20061 * benchtests/ffsll-inputs: Likewise.
20063 2014-03-29 Joseph Myers <joseph@codesourcery.com>
20066 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
20067 too large before casting to int.
20068 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
20069 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
20070 * math/libm-test.inc (scalb_test_data): Add more tests.
20072 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20074 * benchtests/Makefile (DETAILED_OPT): New make option.
20075 (bench-func): Run benchmark program with -d if DETAILED_OPT is
20077 * benchtests/bench-skeleton.c: Include stdbool.h.
20078 (main): Store and print timings per input.
20079 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
20080 member to each argument value.
20081 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
20082 (_print_arg_data): Initialize per-input timing to 0.
20084 * benchtests/Makefile (timing-type): New binary.
20085 (bench-clean): Also remove bench-timing-type.
20086 (bench): New target for timing-type.
20087 (bench-func): Print output in JSON format.
20088 * benchtests/bench-skeleton.c (main): Print output in JSON
20090 * benchtests/bench-timing-type.c: New file.
20091 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
20092 (TIMING_PRINT_STATS): Remove.
20093 * benchtests/scripts/bench.py (_print_arg_data): Store variant
20096 * benchtests/bench-modf.c: Remove.
20097 * benchtests/modf-inputs: New inputs file.
20099 2014-03-28 Joseph Myers <joseph@codesourcery.com>
20102 * math/s_clog10.c (M_PI_LOG10E): New macro.
20103 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20104 imaginary parts are 0.
20105 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20106 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20107 imaginary parts are 0.
20108 * math/s_clog10l.c (M_PI_LOG10El): New macro.
20109 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20110 imaginary parts are 0.
20111 * math/libm-test.inc (clog10_test_data): Update expected results
20112 for when real and imaginary parts are 0.
20114 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
20116 * elf/dl-load.c: Finish conversion of __builtin_expect into
20117 __glibc_{un}likely.
20119 2014-03-27 Joseph Myers <joseph@codesourcery.com>
20122 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20123 1+x for argument with exponent below -67.
20124 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20126 * math/auto-libm-test-in: Add more tests of exp.
20127 * math/auto-libm-test-out: Regenerated.
20129 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20132 * inet/getnetgrent_r.c (get_nonempty_val): New function.
20133 (nscd_getnetgrent): Use it.
20136 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20139 2014-03-27 Andi Kleen <ak@linux.intel.com>
20141 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20142 (lll_robust_lock, lll_cond_lock, lll_timedlock)
20143 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20144 (lll_robust_unlock): Remove out of line section. Use cfi
20146 (LLL_STUB_UNWIND_INFO*): Remove.
20147 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20148 (lll_robust_lock, lll_cond_lock, lll_timedlock)
20149 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20150 (lll_robust_unlock): Remove out of line section. Use cfi
20152 (LLL_STUB_UNWIND_INFO*): Remove.
20154 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20157 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20160 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
20162 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20164 2014-03-26 Joseph Myers <joseph@codesourcery.com>
20167 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20169 * math/test-fenv-preserve.c: New file.
20170 * math/Makefile (tests): Add test-fenv-preserve.
20172 2014-03-26 Will Newton <will.newton@linaro.org>
20174 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20176 2014-03-25 Roland McGrath <roland@hack.frob.com>
20178 * scripts/versionlist.awk: Partition the version sets and emit all
20179 GLIBC_* (sorted) before all others (sorted).
20181 2014-03-25 Joseph Myers <joseph@codesourcery.com>
20183 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20184 GLIBC_2.2.5 version.
20186 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20188 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20191 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20196 2014-03-25 Andreas Schwab <schwab@suse.de>
20198 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20199 label to be used after in6ailist is initialized.
20201 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20203 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20204 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20206 2014-03-25 Joseph Myers <joseph@codesourcery.com>
20210 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20212 (fp_formats): Update initializers.
20213 (init_fp_formats): Initialize new field.
20214 (output_for_one_input_case): Allow underflow for results up to
20216 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20217 * math/auto-libm-test-in: Don't mark some underflows from asin and
20219 * math/auto-libm-test-out: Regenerated.
20220 * sysdeps/i386/fpu/libm-test-ulps: Update.
20221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20223 2014-03-25 Andreas Schwab <schwab@suse.de>
20225 * libio/Makefile (tst-ftell-partial-wide-ENV)
20226 (tst-ftell-active-handler-ENV): Define.
20228 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20230 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20232 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20234 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20236 2014-03-24 Joseph Myers <joseph@codesourcery.com>
20238 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20239 * sysdeps/x86_64/fpu/multiarch/e_exp.c
20240 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20242 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20245 * elf/dl-load.c (open_verify): Add mode parameter.
20246 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20247 (open_path): Change from boolean 'secure' to complete flag 'mode'
20248 (_dl_map_object): Adjust.
20249 * elf/Makefile (tests): Add tst-dlopen-aout.
20250 * elf/tst-dlopen-aout.c: New test.
20252 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20255 * sysdeps/unix/sysv/linux/s390/bits/stat.h
20256 (struct stat): Rename member pad0 to __glibc_reserved0.
20259 * sysdeps/s390/s390-32/bits/wordsize.h
20260 (__WORDSIZE32_SIZE_ULONG): New define.
20261 * sysdeps/s390/s390-64/bits/wordsize.h
20262 (__WORDSIZE32_SIZE_ULONG): Likewise.
20263 * sysdeps/generic/stdint.h (SIZE_MAX):
20264 Define as UL if __WORDSIZE32_SIZE_ULONG.
20267 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20268 (__glibc_reserved0): New variable.
20269 (sa_flags): Change type to int.
20271 * posix/Makefile (before-compile): Use += before-compile instead
20274 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20275 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20277 2014-03-20 Andreas Schwab <schwab@suse.de>
20280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20281 non-matching result from nscd.
20283 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20285 * scripts/bench.py: Moved to ...
20286 * benchtests/scripts/bench.py: ... here.
20287 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20289 2014-03-24 Andreas Schwab <schwab@suse.de>
20292 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20293 alloca_account and account alloca use for struct in6ailist.
20295 2014-03-24 Joseph Myers <joseph@codesourcery.com>
20298 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20299 rounding mode to recompute results that overflow to infinity or
20301 * math/auto-libm-test-in: Don't mark tests as expected to fail for
20303 * math/auto-libm-test-out: Regenerated.
20304 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20305 (ccosh_test): Likewise.
20306 (csin_test_data): Use plus_oflow.
20307 (csin_test): Use ALL_RM_TEST.
20308 (csinh_test_data): Use plus_oflow.
20309 (csinh_test): Use ALL_RM_TEST.
20310 * sysdeps/i386/fpu/libm-test-ulps: Update.
20311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20313 2014-03-21 Joseph Myers <joseph@codesourcery.com>
20315 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20316 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20317 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20320 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20321 when x - 1 is zero.
20322 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20323 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20324 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20325 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20327 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20328 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20330 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20331 * sysdeps/i386/fpu/libm-test-ulps: Update.
20332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20334 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20336 * scripts/bench.pl: Remove file.
20337 * scripts/bench.py: New benchmark script.
20338 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20339 * benchtests/README: Mention python dependency.
20340 * scripts/pylintrc: New file.
20341 * scripts/pylint: New file.
20343 * bits/mathdef.h: Use #ifdef instead of #if.
20344 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20345 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20346 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20347 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20348 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20349 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20351 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20352 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20354 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20356 and strpbrk-ppc64 objects.
20357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20358 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20359 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20360 multiarch strpbrk for POWER7.
20361 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20362 multiarch strpbrk for PPC64.
20363 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20365 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20366 strpbrk for POWER7.
20368 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20370 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20371 (atan_test): Likewise.
20372 (atanh_test_data): Use NO_TEST_INLINE for two tests.
20373 (atanh_test): Use ALL_RM_TEST.
20374 (atan2_test_data): Likewise.
20375 (cabs_test): Likewise.
20376 (cacosh_test): Likewise.
20377 (carg_test): Likewise.
20378 (casin_test): Likewise.
20379 (casinh_test): Likewise.
20380 (cbrt_test): Likewise.
20381 (csqrt_test): Likewise.
20382 (erf_test): Likewise.
20383 (erfc_test): Likewise.
20384 (pow10_test): Likewise.
20385 (exp2_test): Likewise.
20386 (hypot_test): Likewise.
20387 (j0_test): Likewise.
20388 (j1_test): Likewise.
20389 (lgamma_test): Likewise.
20390 (gamma_test): Likewise.
20391 (sincos_test): Likewise.
20392 (tanh_test): Likewise.
20393 (y0_test): Likewise.
20394 (y1_test): Likewise.
20395 * sysdeps/i386/fpu/libm-test-ulps: Update.
20396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20398 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20400 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20402 and strcspn-ppc64 objects.
20403 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20404 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20405 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20406 multiarch strcspn for POWER7.
20407 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20408 multiarch strcspn for PPC64.
20409 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20411 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20412 strcspn for POWER7.
20414 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20416 * math/gen-libm-test.pl (generate_testfile): Expect only function
20417 name as argument to AUTO_TESTS_* and pass results for all rounding
20418 modes to parse_args.
20419 (parse_auto_input): Separate inputs of automatic tests from
20420 outputs before storing in %auto_tests.
20421 * math/libm-test.inc (acos_test_data): Update call to
20423 (acos_test): Use ALL_RM_TEST.
20424 (acos_tonearest_test_data): Remove.
20425 (acos_test_tonearest): Likewise.
20426 (acos_towardzero_test_data): Likewise.
20427 (acos_test_towardzero): Likewise.
20428 (acos_downward_test_data): Likewise.
20429 (acos_test_downward): Likewise.
20430 (acos_upward_test_data): Likewise.
20431 (acos_test_upward): Likewise.
20432 (acosh_test_data): Update call to AUTO_TESTS_f_f.
20433 (asin_test_data): Likewise.
20434 (asin_test): Use ALL_RM_TEST.
20435 (asin_tonearest_test_data): Remove.
20436 (asin_test_tonearest): Likewise.
20437 (asin_towardzero_test_data): Likewise.
20438 (asin_test_towardzero): Likewise.
20439 (asin_downward_test_data): Likewise.
20440 (asin_test_downward): Likewise.
20441 (asin_upward_test_data): Likewise.
20442 (asin_test_upward): Likewise.
20443 (asinh_test_data): Update call to AUTO_TESTS_f_f.
20444 (atan_test_data): Likewise.
20445 (atanh_test_data): Likewise.
20446 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20447 (cabs_test_data): Update call to AUTO_TESTS_c_f.
20448 (carg_test_data): Likewise.
20449 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20450 (ccos_test_data): Update call to AUTO_TESTS_c_c.
20451 (ccosh_test_data): Likewise.
20452 (cexp_test_data): Likewise.
20453 (clog_test_data): Likewise.
20454 (clog10_test_data): Likewise.
20455 (cos_test_data): Update call to AUTO_TESTS_f_f.
20456 (cos_test): Use ALL_RM_TEST.
20457 (cos_tonearest_test_data): Remove.
20458 (cos_test_tonearest): Likewise.
20459 (cos_towardzero_test_data): Likewise.
20460 (cos_test_towardzero): Likewise.
20461 (cos_downward_test_data): Likewise.
20462 (cos_test_downward): Likewise.
20463 (cos_upward_test_data): Likewise.
20464 (cos_test_upward): Likewise.
20465 (cosh_test_data): Update call to AUTO_TESTS_f_f.
20466 (cosh_test): Use ALL_RM_TEST.
20467 (cosh_tonearest_test_data): Remove.
20468 (cosh_test_tonearest): Likewise.
20469 (cosh_towardzero_test_data): Likewise.
20470 (cosh_test_towardzero): Likewise.
20471 (cosh_downward_test_data): Likewise.
20472 (cosh_test_downward): Likewise.
20473 (cosh_upward_test_data): Likewise.
20474 (cosh_test_upward): Likewise.
20475 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20476 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20477 (ctan_test_data): Likewise.
20478 (ctan_test): Use ALL_RM_TEST.
20479 (ctan_tonearest_test_data): Remove.
20480 (ctan_test_tonearest): Likewise.
20481 (ctan_towardzero_test_data): Likewise.
20482 (ctan_test_towardzero): Likewise.
20483 (ctan_downward_test_data): Likewise.
20484 (ctan_test_downward): Likewise.
20485 (ctan_upward_test_data): Likewise.
20486 (ctan_test_upward): Likewise.
20487 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20488 (ctanh_test): Use ALL_RM_TEST.
20489 (ctanh_tonearest_test_data): Remove.
20490 (ctanh_test_tonearest): Likewise.
20491 (ctanh_towardzero_test_data): Likewise.
20492 (ctanh_test_towardzero): Likewise.
20493 (ctanh_downward_test_data): Likewise.
20494 (ctanh_test_downward): Likewise.
20495 (ctanh_upward_test_data): Likewise.
20496 (ctanh_test_upward): Likewise.
20497 (erf_test_data): Update call to AUTO_TESTS_f_f.
20498 (erfc_test_data): Likewise.
20499 (exp_test_data): Likewise.
20500 (exp_test): Use ALL_RM_TEST.
20501 (exp_tonearest_test_data): Remove.
20502 (exp_test_tonearest): Likewise.
20503 (exp_towardzero_test_data): Likewise.
20504 (exp_test_towardzero): Likewise.
20505 (exp_downward_test_data): Likewise.
20506 (exp_test_downward): Likewise.
20507 (exp_upward_test_data): Likewise.
20508 (exp_test_upward): Likewise.
20509 (exp10_test_data): Update call to AUTO_TESTS_f_f.
20510 (exp10_test): Use ALL_RM_TEST.
20511 (exp10_tonearest_test_data): Remove.
20512 (exp10_test_tonearest): Likewise.
20513 (exp10_towardzero_test_data): Likewise.
20514 (exp10_test_towardzero): Likewise.
20515 (exp10_downward_test_data): Likewise.
20516 (exp10_test_downward): Likewise.
20517 (exp10_upward_test_data): Likewise.
20518 (exp10_test_upward): Likewise.
20519 (exp2_test_data): Update call to AUTO_TESTS_f_f.
20520 (expm1_test_data): Likewise.
20521 (expm1_test): Use ALL_RM_TEST.
20522 (expm1_tonearest_test_data): Remove.
20523 (expm1_test_tonearest): Likewise.
20524 (expm1_towardzero_test_data): Likewise.
20525 (expm1_test_towardzero): Likewise.
20526 (expm1_downward_test_data): Likewise.
20527 (expm1_test_downward): Likewise.
20528 (expm1_upward_test_data): Likewise.
20529 (expm1_test_upward): Likewise.
20530 (fma_test_data): Update call to AUTO_TESTS_fff_f.
20531 (fma_test): Use ALL_RM_TEST.
20532 (fma_towardzero_test_data): Remove.
20533 (fma_test_towardzero): Likewise.
20534 (fma_downward_test_data): Likewise.
20535 (fma_test_downward): Likewise.
20536 (fma_upward_test_data): Likewise.
20537 (fma_test_upward): Likewise.
20538 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20539 (j0_test_data): Update call to AUTO_TESTS_f_f.
20540 (j1_test_data): Likewise.
20541 (jn_test_data): Update call to AUTO_TESTS_if_f.
20542 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20543 (log_test_data): Update call to AUTO_TESTS_f_f.
20544 (log10_test_data): Likewise.
20545 (log1p_test_data): Likewise.
20546 (log2_test_data): Likewise.
20547 (pow_test_data): Update call to AUTO_TESTS_ff_f.
20548 (pow_tonearest_test_data): Likewise.
20549 (sin_test_data): Update call to AUTO_TESTS_f_f.
20550 (sin_test): Use ALL_RM_TEST.
20551 (sin_tonearest_test_data): Remove.
20552 (sin_test_tonearest): Likewise.
20553 (sin_towardzero_test_data): Likewise.
20554 (sin_test_towardzero): Likewise.
20555 (sin_downward_test_data): Likewise.
20556 (sin_test_downward): Likewise.
20557 (sin_upward_test_data): Likewise.
20558 (sin_test_upward): Likewise.
20559 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20560 (sinh_test_data): Update call to AUTO_TESTS_f_f.
20561 (sinh_test): Use ALL_RM_TEST.
20562 (sinh_tonearest_test_data): Remove.
20563 (sinh_test_tonearest): Likewise.
20564 (sinh_towardzero_test_data): Likewise.
20565 (sinh_test_towardzero): Likewise.
20566 (sinh_downward_test_data): Likewise.
20567 (sinh_test_downward): Likewise.
20568 (sinh_upward_test_data): Likewise.
20569 (sinh_test_upward): Likewise.
20570 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20571 (sqrt_test): Use ALL_RM_TEST.
20572 (sqrt_tonearest_test_data): Remove.
20573 (sqrt_test_tonearest): Likewise.
20574 (sqrt_towardzero_test_data): Likewise.
20575 (sqrt_test_towardzero): Likewise.
20576 (sqrt_downward_test_data): Likewise.
20577 (sqrt_test_downward): Likewise.
20578 (sqrt_upward_test_data): Likewise.
20579 (sqrt_test_upward): Likewise.
20580 (tan_test_data): Update call to AUTO_TESTS_f_f.
20581 (tan_test): Use ALL_RM_TEST.
20582 (tan_tonearest_test_data): Remove.
20583 (tan_test_tonearest): Likewise.
20584 (tan_towardzero_test_data): Likewise.
20585 (tan_test_towardzero): Likewise.
20586 (tan_downward_test_data): Likewise.
20587 (tan_test_downward): Likewise.
20588 (tan_upward_test_data): Likewise.
20589 (tan_test_upward): Likewise.
20590 (tanh_test_data): Update call to AUTO_TESTS_f_f.
20591 (tgamma_test_data): Likewise.
20592 (y0_test_data): Likewise.
20593 (y1_test_data): Likewise.
20594 (yn_test_data): Update call to AUTO_TESTS_if_f.
20595 (main): Do not call removed functions.
20597 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20599 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20600 (ldexp_test_data): Remove.
20601 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
20603 (scalb_test): Use ALL_RM_TEST.
20605 2014-03-19 Andreas Schwab <schwab@suse.de>
20607 * nscd/nscd.service: Also invalidate netgroup cache on reload.
20609 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20612 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20613 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20614 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20615 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20616 (__ASSUME_PREADV): Undefine.
20617 (__ASSUME_PWRITEV): Likewise.
20619 2014-03-18 Roland McGrath <roland@hack.frob.com>
20621 * bits/mman-linux.h: Add comment about non-Linux use.
20622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20623 bits/mman-linux.h resting place.
20625 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20626 * bits/mman-linux.h: ... here.
20628 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20630 * conform/conformtest.pl: Add standard definition when calling C
20631 preprocessor on data files.
20632 (checknamespace): Remove unused variable.
20634 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20636 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20637 minus_oflow, plus_uflow and minus_uflow in expected results.
20638 * math/libm-test.inc (scalbn_test_data): Add more tests of
20639 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
20641 (scalbn_test): Use ALL_RM_TEST.
20642 (scalbln_test_data): Add more tests of negative arguments. Use
20643 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20644 (scalbln_test): Use ALL_RM_TEST.
20646 2014-03-18 Roland McGrath <roland@hack.frob.com>
20648 * scripts/abilist.awk: Ignore symbols marked with .hidden.
20650 2014-03-18 Will Newton <will.newton@linaro.org>
20652 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20653 inaccurate comment.
20655 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20657 * Makerules [!subdir] (check-abi): Exit with error status if a
20660 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20662 * math/libm-test.inc (nearbyint_test_data): Include all tests used
20663 for rint. Include results for all rounding modes.
20664 (nearbyint_test): Use ALL_RM_TEST.
20665 (rint_test_data): Include all tests used for nearbyint.
20667 2014-03-17 Will Newton <will.newton@linaro.org>
20669 * nptl/sysdeps/pthread/pthread.h: Revert previous
20672 * sysdeps/generic/ldsodefs.h: Revert previous
20675 * libio/genops.c: Revert previous change.
20676 * libio/libioP.h: Likewise.
20677 * stdio-common/vfprintf.c: Likewise.
20679 * sysdeps/generic/math_private.h: Revert previous
20682 * sysdeps/generic/math_private.h: Check whether
20683 HAVE_RM_CTX is defined with #ifdef rather
20686 * argp/argp-fmtstream.h: Check whether
20687 __STRICT_ANSI__ is defined with #ifdef rather
20689 * argp/argp.h: Likewise.
20691 * libio/genops.c: Check whether
20692 _IO_JUMPS_OFFSET is defined with #ifdef rather
20694 * libio/libioP.h: Likewise.
20695 * stdio-common/vfprintf.c: Likewise.
20697 * sysdeps/generic/ldsodefs.h: Check whether
20698 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20701 * nptl/sysdeps/pthread/pthread.h: Check
20702 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20705 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20707 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20709 * libio/tst-ftell-active-handler.c (do_append_test): Add a
20713 * libio/fileops.c (_IO_file_open): Seek to end of file but
20714 don't cache the offset.
20715 (get_file_offset): Remove function.
20716 (do_ftell): Use cached offset when available.
20717 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20718 don't cache the offset.
20719 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20721 (do_one_test): Call it.
20722 (do_ftell_test): Fix up expected old offset for a+ mode.
20723 * libio/wfileops.c (do_ftell_wide): Used cached offset when
20726 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20727 up test status with function return status.
20728 (do_write_test): Likewise.
20729 (do_append_test): Likewise.
20731 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20732 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20735 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20737 * math/gen-libm-test.pl (parse_args): Handle results specified for
20738 each rounding mode separately.
20739 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20740 tests and results from lrint_tonearest_test_data,
20741 lrint_towardzero_test_data, lrint_downward_test_data and
20742 lrint_upward_test_data.
20743 (lrint_test): Use ALL_RM_TEST.
20744 (lrint_tonearest_test_data): Remove.
20745 (lrint_test_tonearest): Likewise.
20746 (lrint_towardzero_test_data): Likewise.
20747 (lrint_test_towardzero): Likewise.
20748 (lrint_downward_test_data): Likewise.
20749 (lrint_test_downward): Likewise.
20750 (lrint_upward_test_data): Likewise.
20751 (lrint_test_upward): Likewise.
20752 (llrint_test_data): Merge in per-rounding-mode tests and results
20753 from llrint_tonearest_test_data, llrint_towardzero_test_data,
20754 llrint_downward_test_data and llrint_upward_test_data.
20755 (llrint_test): Use ALL_RM_TEST.
20756 (llrint_tonearest_test_data): Remove.
20757 (llrint_test_tonearest): Likewise.
20758 (llrint_towardzero_test_data): Likewise.
20759 (llrint_test_towardzero): Likewise.
20760 (llrint_downward_test_data): Likewise.
20761 (llrint_test_downward): Likewise.
20762 (llrint_upward_test_data): Likewise.
20763 (llrint_test_upward): Likewise.
20764 (rint_test_data): Merge in per-rounding-mode tests and results
20765 from rint_tonearest_test_data, rint_towardzero_test_data,
20766 rint_downward_test_data and rint_upward_test_data. Add
20767 per-rounding-mode results for tests not in those arrays.
20768 (rint_test): Use ALL_RM_TEST.
20769 (rint_tonearest_test_data): Remove.
20770 (rint_test_tonearest): Likewise.
20771 (rint_towardzero_test_data): Likewise.
20772 (rint_test_towardzero): Likewise.
20773 (rint_downward_test_data): Likewise.
20774 (rint_test_downward): Likewise.
20775 (rint_upward_test_data): Likewise.
20776 (rint_test_upward): Likewise.
20777 (main): Don't call removed functions.
20779 2014-03-14 Roland McGrath <roland@hack.frob.com>
20781 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20782 "Compiled on ..." crapola. It is anti-useful.
20784 2014-03-14 Joseph Myers <joseph@codesourcery.com>
20786 * scripts/evaluate-test.sh: Handle fourth argument to determine
20787 whether test run should stop on failure.
20788 * Makeconfig (stop-on-test-failure): New variable.
20789 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20790 $(stop-on-test-failure).
20791 * Makefile (tests): Give a summary of results from testing and
20792 exit with failure status if they include an ERROR or FAIL.
20793 (xtests): Likewise.
20794 * manual/install.texi (Configuring and compiling): Mention
20795 stop-on-test-failure=y.
20796 * INSTALL: Regenerated.
20798 2014-03-14 Roland McGrath <roland@hack.frob.com>
20800 * scripts/versionlist.awk: New file.
20801 * Makerules [$(build-shared) = yes]
20802 (postclean-generated): Add Versions.def, not Versions.def.v and
20804 ($(common-objpfx)Versions.def.v.i): Target removed.
20805 ($(common-objpfx)Versions.def): New target.
20806 ($(common-objpfx)Versions.all): Depend on that rather that
20807 $(common-objpfx)Versions.def.v.
20808 * Versions.def: File removed.
20810 * Makeconfig (+gccwarn): Add -Wundef.
20811 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20812 a dl-sysdep.h breaking its contract.
20813 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20814 * include/stackinfo.h: New file.
20815 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20816 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20817 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20818 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20819 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20820 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20821 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20822 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20823 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20824 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20825 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20826 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20827 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20828 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20829 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20831 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20834 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20836 * math/libm-test.inc (round_test_data): Add more tests.
20839 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20841 * math/libm-test.inc (nearbyint_test_data): Add more tests.
20844 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20846 * math/libm-test.inc (ceil_test_data): Add more tests.
20848 * math/libm-test.inc (trunc_test_data): Add more tests related to
20851 2014-03-14 Roland McGrath <roland@hack.frob.com>
20853 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20854 with #if rather than #ifdef.
20855 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20857 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
20859 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20860 first. Disable AVX-512 GCC support if assembler doesn't support
20862 * sysdeps/x86_64/configure: Regenerated.
20864 2014-03-13 Carlos O'Donell <carlos@redhat.com>
20866 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20867 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20868 (__old_pthread_attr_setstack): Likewise.
20869 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20870 [!_STACK_GROWS_DOWN]: Likewise.
20872 2014-03-13 Mike Frysinger <vapier@gentoo.org>
20874 * config.make.in (have-bash2): Delete.
20875 * configure.ac (libc_cv_have_bash2): Delete.
20876 * configure: Regenerate.
20877 * elf/Makefile (common-ldd-rewrite): Rename to ...
20878 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
20879 (sh-ldd-rewrite): Delete.
20880 (bash-ldd-rewrite): Delete.
20881 (have-bash2): Delete checks.
20882 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20885 * config.make.in (have-ksh): Delete.
20887 * configure.ac (libc_cv_have_ksh): Delete.
20888 * configure: Regenerate.
20890 * elf/Makefile: Delete $(have-ksh) check.
20891 ($(objpfx)sotruss): Change KSH to BASH.
20892 * elf/sotruss.ksh: Rename to ...
20893 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
20894 function style to match POSIX. Drop ksh vim mode setting.
20896 * manual/time.texi (Specifying the Time Zone with TZ): Change
20897 Tuesday to Thursday.
20899 * debug/tst-longjmp_chk2.c: Update header comment.
20900 (stackoverflow_handler): Add comment. Call assert on pass value.
20902 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
20905 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20906 (HAVE_AVX512_ASM_SUPPORT): Likewise.
20907 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20908 (La_x86_64_vector): Add zmm.
20909 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20910 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20911 ($(objpfx)tst-audit10): New target.
20912 ($(objpfx)tst-audit10.out): Likewise.
20913 (tst-audit10-ENV): New.
20914 (AVX512-CFLAGS): Likewise.
20915 (CFLAGS-tst-audit10.c): Likewise.
20916 (CFLAGS-tst-auditmod10a.c): Likewise.
20917 (CFLAGS-tst-auditmod10b.c): Likewise.
20918 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20919 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20920 * sysdeps/x86_64/configure: Regenerated.
20921 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20922 AVX-512 zmm register support.
20923 (_dl_x86_64_save_sse): Likewise.
20924 (_dl_x86_64_restore_sse): Likewise.
20925 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20926 size vector registers.
20927 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20928 (ZMM_SIZE): Likewise.
20929 * sysdeps/x86_64/tst-audit10.c: New file.
20930 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20931 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20933 2014-03-13 Roland McGrath <roland@hack.frob.com>
20935 * configure.ac (HAVE_EHDR_START): New check.
20936 * configure: Regenerated.
20937 * config.h.in (HAVE_EHDR_START): New #undef.
20938 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20939 assuming the lowest-addressed segment maps the start of the file.
20941 2014-03-13 Joseph Myers <joseph@codesourcery.com>
20943 * INSTALL: Regenerated.
20945 2014-03-13 Will Newton <will.newton@linaro.org>
20947 * manual/setjmp.texi (System V contexts): Improve
20948 clarity and grammar of documentation.
20950 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
20953 * elf/Makefile (tests): Add tst-pie2.
20954 (tests-pie): Add tst-pie2.
20955 * elf/tst-pie2.c: New file.
20956 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20958 * elf/rtld.c (map_doit): Load executable as lt_executable.
20959 (dl_main): Likewise.
20961 2014-03-12 Joseph Myers <joseph@codesourcery.com>
20964 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20965 (__ASSUME_PSELECT): Undefine.
20967 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20970 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20971 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20973 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20974 selector for static builds.
20976 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20979 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20982 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20984 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20985 IFUNC selector for static builds.
20987 2014-03-11 Joseph Myers <joseph@codesourcery.com>
20989 * sysdeps/mips/math_private.h [__mips_hard_float]
20990 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20991 libc_feresetround_mips_ctx.
20992 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20993 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20994 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20997 * math/s_nextafter.c (__nextafter): Do not return value from
20998 overflowing computation.
20999 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
21000 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
21001 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
21003 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21005 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
21006 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
21008 2014-03-11 Roland McGrath <roland@hack.frob.com>
21010 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
21011 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
21012 Move sfi_sp use from the load-multiple (that no longer sets sp) to
21013 the new mov targetting sp.
21015 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21018 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
21019 Define it for static builds as well.
21020 (NO_BZERO_IMPL): Likewise.
21022 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21024 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
21025 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
21026 multiarch strspn for PPC64.
21027 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
21028 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
21029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21030 (__libc_ifunc_impl_list): Likewise.
21031 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
21032 multiarch optimizations
21033 * string/strspn.c (strspn): Using macro to redefine symbol name.
21035 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21036 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21038 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
21039 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
21040 multiarch strncat for PPC64.
21041 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
21042 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
21043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21044 (__libc_ifunc_impl_list): Likewise.
21045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
21046 multiarch optimizations
21048 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21051 * nscd/nscd.service: Make service type forking.
21053 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21055 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
21056 sign in non default rounding modes.
21057 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
21059 2014-03-08 Joseph Myers <joseph@codesourcery.com>
21061 * math/libm-test.inc (ALL_RM_TEST): New macro.
21062 (ceil_test): Use ALL_RM_TEST.
21063 (cimag_test): Likewise.
21064 (conj_test): Likewise.
21065 (copysign_test): Likewise.
21066 (cproj_test): Likewise.
21067 (creal_test): Likewise.
21068 (fabs_test): Likewise.
21069 (floor_test): Likewise.
21070 (fmax_test): Likewise.
21071 (fmin_test): Likewise.
21072 (fmod_test): Likewise.
21073 (fpclassify_test): Likewise.
21074 (frexp_test): Likewise.
21075 (ilogb_test): Likewise.
21076 (isfinite_test): Likewise.
21077 (finite_test): Likewise.
21078 (isgreater_test): Likewise.
21079 (isgreaterequal_test): Likewise.
21080 (isinf_test): Likewise.
21081 (isless_test): Likewise.
21082 (islessequal_test): Likewise.
21083 (islessgreater_test): Likewise.
21084 (isnan_test): Likewise.
21085 (isnormal_test): Likewise.
21086 (issignaling_test): Likewise.
21087 (isunordered_test): Likewise.
21088 (logb_test): Likewise.
21089 (logb_downward_test_data): Remove.
21090 (logb_test_downward): Likewise.
21091 (lround_test): Use ALL_RM_TEST.
21092 (llround_test): Likewise.
21093 (modf_test): Likewise.
21094 (nexttoward_test): Likewise.
21095 (remainder_test): Likewise.
21096 (drem_test): Likewise.
21097 (remainder_tonearest_test_data): Likewise.
21098 (remainder_test_tonearest): Likewise.
21099 (drem_test_tonearest): Likewise.
21100 (remainder_towardzero_test_data): Likewise.
21101 (remainder_test_towardzero): Likewise.
21102 (drem_test_towardzero): Likewise.
21103 (remainder_downward_test_data): Likewise.
21104 (remainder_test_downward): Likewise.
21105 (drem_test_downward): Likewise.
21106 (remainder_upward_test_data): Likewise.
21107 (remainder_test_upward): Likewise.
21108 (drem_test_upward): Likewise.
21109 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
21110 (round_test): Use ALL_RM_TEST.
21111 (signbit_test): Likewise.
21112 (trunc_test): Likewise.
21113 (significand_test): Likewise.
21114 (main): Don't call removed functions.
21116 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21119 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21120 || __USE_XOPEN2K8].
21121 (ILL_ILLOPN): Likewise.
21122 (ILL_ILLADR): Likewise.
21123 (ILL_ILLTRP): Likewise.
21124 (ILL_PRVOPC): Likewise.
21125 (ILL_PRVREG): Likewise.
21126 (ILL_COPROC): Likewise.
21127 (ILL_BADSTK): Likewise.
21128 (FPE_INTDIV): Likewise.
21129 (FPE_INTOVF): Likewise.
21130 (FPE_FLTDIV): Likewise.
21131 (FPE_FLTOVF): Likewise.
21132 (FPE_FLTUND): Likewise.
21133 (FPE_FLTRES): Likewise.
21134 (FPE_FLTINV): Likewise.
21135 (FPE_FLTSUB): Likewise.
21136 (SEGV_MAPERR): Likewise.
21137 (SEGV_ACCERR): Likewise.
21138 (BUS_ADRALN): Likewise.
21139 (BUS_ADRERR): Likewise.
21140 (BUS_OBJERR): Likewise.
21141 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21142 (TRAP_TRACE): Likewise.
21143 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21145 (CLD_KILLED): Likewise.
21146 (CLD_DUMPED): Likewise.
21147 (CLD_TRAPPED): Likewise.
21148 (CLD_STOPPED): Likewise.
21149 (CLD_CONTINUED): Likewise.
21150 (POLL_IN): Likewise.
21151 (POLL_OUT): Likewise.
21152 (POLL_MSG): Likewise.
21153 (POLL_ERR): Likewise.
21154 (POLL_PRI): Likewise.
21155 (POLL_HUP): Likewise.
21156 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21158 (ILL_ILLOPN): Likewise.
21159 (ILL_ILLADR): Likewise.
21160 (ILL_ILLTRP): Likewise.
21161 (ILL_PRVOPC): Likewise.
21162 (ILL_PRVREG): Likewise.
21163 (ILL_COPROC): Likewise.
21164 (ILL_BADSTK): Likewise.
21165 (FPE_INTDIV): Likewise.
21166 (FPE_INTOVF): Likewise.
21167 (FPE_FLTDIV): Likewise.
21168 (FPE_FLTOVF): Likewise.
21169 (FPE_FLTUND): Likewise.
21170 (FPE_FLTRES): Likewise.
21171 (FPE_FLTINV): Likewise.
21172 (FPE_FLTSUB): Likewise.
21173 (SEGV_MAPERR): Likewise.
21174 (SEGV_ACCERR): Likewise.
21175 (BUS_ADRALN): Likewise.
21176 (BUS_ADRERR): Likewise.
21177 (BUS_OBJERR): Likewise.
21178 (BUS_MCEERR_AR): Likewise.
21179 (BUS_MCEERR_AO): Likewise.
21180 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21181 (TRAP_TRACE): Likewise.
21182 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21184 (CLD_KILLED): Likewise.
21185 (CLD_DUMPED): Likewise.
21186 (CLD_TRAPPED): Likewise.
21187 (CLD_STOPPED): Likewise.
21188 (CLD_CONTINUED): Likewise.
21189 (POLL_IN): Likewise.
21190 (POLL_OUT): Likewise.
21191 (POLL_MSG): Likewise.
21192 (POLL_ERR): Likewise.
21193 (POLL_PRI): Likewise.
21194 (POLL_HUP): Likewise.
21195 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21196 (ILL_ILLOPN): Likewise.
21197 (ILL_ILLADR): Likewise.
21198 (ILL_ILLTRP): Likewise.
21199 (ILL_PRVOPC): Likewise.
21200 (ILL_PRVREG): Likewise.
21201 (ILL_COPROC): Likewise.
21202 (ILL_BADSTK): Likewise.
21203 (FPE_INTDIV): Likewise.
21204 (FPE_INTOVF): Likewise.
21205 (FPE_FLTDIV): Likewise.
21206 (FPE_FLTOVF): Likewise.
21207 (FPE_FLTUND): Likewise.
21208 (FPE_FLTRES): Likewise.
21209 (FPE_FLTINV): Likewise.
21210 (FPE_FLTSUB): Likewise.
21211 (SEGV_MAPERR): Likewise.
21212 (SEGV_ACCERR): Likewise.
21213 (BUS_ADRALN): Likewise.
21214 (BUS_ADRERR): Likewise.
21215 (BUS_OBJERR): Likewise.
21216 (BUS_MCEERR_AR): Likewise.
21217 (BUS_MCEERR_AO): Likewise.
21218 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21219 (TRAP_TRACE): Likewise.
21220 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21222 (CLD_KILLED): Likewise.
21223 (CLD_DUMPED): Likewise.
21224 (CLD_TRAPPED): Likewise.
21225 (CLD_STOPPED): Likewise.
21226 (CLD_CONTINUED): Likewise.
21227 (POLL_IN): Likewise.
21228 (POLL_OUT): Likewise.
21229 (POLL_MSG): Likewise.
21230 (POLL_ERR): Likewise.
21231 (POLL_PRI): Likewise.
21232 (POLL_HUP): Likewise.
21233 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21235 (ILL_ILLOPN): Likewise.
21236 (ILL_ILLADR): Likewise.
21237 (ILL_ILLTRP): Likewise.
21238 (ILL_PRVOPC): Likewise.
21239 (ILL_PRVREG): Likewise.
21240 (ILL_COPROC): Likewise.
21241 (ILL_BADSTK): Likewise.
21242 (ILL_BADIADDR): Likewise.
21243 (ILL_BREAK): Likewise.
21244 (FPE_INTDIV): Likewise.
21245 (FPE_INTOVF): Likewise.
21246 (FPE_FLTDIV): Likewise.
21247 (FPE_FLTOVF): Likewise.
21248 (FPE_FLTUND): Likewise.
21249 (FPE_FLTRES): Likewise.
21250 (FPE_FLTINV): Likewise.
21251 (FPE_FLTSUB): Likewise.
21252 (FPE_DECOVF): Likewise.
21253 (FPE_DECDIV): Likewise.
21254 (FPE_DECERR): Likewise.
21255 (FPE_INVASC): Likewise.
21256 (FPE_INVDEC): Likewise.
21257 (SEGV_MAPERR): Likewise.
21258 (SEGV_ACCERR): Likewise.
21259 (SEGV_PSTKOVF): Likewise.
21260 (BUS_ADRALN): Likewise.
21261 (BUS_ADRERR): Likewise.
21262 (BUS_OBJERR): Likewise.
21263 (BUS_MCEERR_AR): Likewise.
21264 (BUS_MCEERR_AO): Likewise.
21265 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21266 (TRAP_TRACE): Likewise.
21267 (TRAP_BRANCH): Likewise.
21268 (TRAP_HWBKPT): Likewise.
21269 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21271 (CLD_KILLED): Likewise.
21272 (CLD_DUMPED): Likewise.
21273 (CLD_TRAPPED): Likewise.
21274 (CLD_STOPPED): Likewise.
21275 (CLD_CONTINUED): Likewise.
21276 (POLL_IN): Likewise.
21277 (POLL_OUT): Likewise.
21278 (POLL_MSG): Likewise.
21279 (POLL_ERR): Likewise.
21280 (POLL_PRI): Likewise.
21281 (POLL_HUP): Likewise.
21282 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21283 (ILL_ILLOPN): Likewise.
21284 (ILL_ILLADR): Likewise.
21285 (ILL_ILLTRP): Likewise.
21286 (ILL_PRVOPC): Likewise.
21287 (ILL_PRVREG): Likewise.
21288 (ILL_COPROC): Likewise.
21289 (ILL_BADSTK): Likewise.
21290 (FPE_INTDIV): Likewise.
21291 (FPE_INTOVF): Likewise.
21292 (FPE_FLTDIV): Likewise.
21293 (FPE_FLTOVF): Likewise.
21294 (FPE_FLTUND): Likewise.
21295 (FPE_FLTRES): Likewise.
21296 (FPE_FLTINV): Likewise.
21297 (FPE_FLTSUB): Likewise.
21298 (SEGV_MAPERR): Likewise.
21299 (SEGV_ACCERR): Likewise.
21300 (BUS_ADRALN): Likewise.
21301 (BUS_ADRERR): Likewise.
21302 (BUS_OBJERR): Likewise.
21303 (BUS_MCEERR_AR): Likewise.
21304 (BUS_MCEERR_AO): Likewise.
21305 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21306 (TRAP_TRACE): Likewise.
21307 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21309 (CLD_KILLED): Likewise.
21310 (CLD_DUMPED): Likewise.
21311 (CLD_TRAPPED): Likewise.
21312 (CLD_STOPPED): Likewise.
21313 (CLD_CONTINUED): Likewise.
21314 (POLL_IN): Likewise.
21315 (POLL_OUT): Likewise.
21316 (POLL_MSG): Likewise.
21317 (POLL_ERR): Likewise.
21318 (POLL_PRI): Likewise.
21319 (POLL_HUP): Likewise.
21320 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21321 (ILL_ILLOPN): Likewise.
21322 (ILL_ILLADR): Likewise.
21323 (ILL_ILLTRP): Likewise.
21324 (ILL_PRVOPC): Likewise.
21325 (ILL_PRVREG): Likewise.
21326 (ILL_COPROC): Likewise.
21327 (ILL_BADSTK): Likewise.
21328 (FPE_INTDIV): Likewise.
21329 (FPE_INTOVF): Likewise.
21330 (FPE_FLTDIV): Likewise.
21331 (FPE_FLTOVF): Likewise.
21332 (FPE_FLTUND): Likewise.
21333 (FPE_FLTRES): Likewise.
21334 (FPE_FLTINV): Likewise.
21335 (FPE_FLTSUB): Likewise.
21336 (SEGV_MAPERR): Likewise.
21337 (SEGV_ACCERR): Likewise.
21338 (BUS_ADRALN): Likewise.
21339 (BUS_ADRERR): Likewise.
21340 (BUS_OBJERR): Likewise.
21341 (BUS_MCEERR_AR): Likewise.
21342 (BUS_MCEERR_AO): Likewise.
21343 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21344 (TRAP_TRACE): Likewise.
21345 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21347 (CLD_KILLED): Likewise.
21348 (CLD_DUMPED): Likewise.
21349 (CLD_TRAPPED): Likewise.
21350 (CLD_STOPPED): Likewise.
21351 (CLD_CONTINUED): Likewise.
21352 (POLL_IN): Likewise.
21353 (POLL_OUT): Likewise.
21354 (POLL_MSG): Likewise.
21355 (POLL_ERR): Likewise.
21356 (POLL_PRI): Likewise.
21357 (POLL_HUP): Likewise.
21358 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21359 (ILL_ILLOPN): Likewise.
21360 (ILL_ILLADR): Likewise.
21361 (ILL_ILLTRP): Likewise.
21362 (ILL_PRVOPC): Likewise.
21363 (ILL_PRVREG): Likewise.
21364 (ILL_COPROC): Likewise.
21365 (ILL_BADSTK): Likewise.
21366 (FPE_INTDIV): Likewise.
21367 (FPE_INTOVF): Likewise.
21368 (FPE_FLTDIV): Likewise.
21369 (FPE_FLTOVF): Likewise.
21370 (FPE_FLTUND): Likewise.
21371 (FPE_FLTRES): Likewise.
21372 (FPE_FLTINV): Likewise.
21373 (FPE_FLTSUB): Likewise.
21374 (SEGV_MAPERR): Likewise.
21375 (SEGV_ACCERR): Likewise.
21376 (BUS_ADRALN): Likewise.
21377 (BUS_ADRERR): Likewise.
21378 (BUS_OBJERR): Likewise.
21379 (BUS_MCEERR_AR): Likewise.
21380 (BUS_MCEERR_AO): Likewise.
21381 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21382 (TRAP_TRACE): Likewise.
21383 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21385 (CLD_KILLED): Likewise.
21386 (CLD_DUMPED): Likewise.
21387 (CLD_TRAPPED): Likewise.
21388 (CLD_STOPPED): Likewise.
21389 (CLD_CONTINUED): Likewise.
21390 (POLL_IN): Likewise.
21391 (POLL_OUT): Likewise.
21392 (POLL_MSG): Likewise.
21393 (POLL_ERR): Likewise.
21394 (POLL_PRI): Likewise.
21395 (POLL_HUP): Likewise.
21396 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21397 (ILL_ILLOPN): Likewise.
21398 (ILL_ILLADR): Likewise.
21399 (ILL_ILLTRP): Likewise.
21400 (ILL_PRVOPC): Likewise.
21401 (ILL_PRVREG): Likewise.
21402 (ILL_COPROC): Likewise.
21403 (ILL_BADSTK): Likewise.
21404 (ILL_DBLFLT): Likewise.
21405 (ILL_HARDWALL): Likewise.
21406 (FPE_INTDIV): Likewise.
21407 (FPE_INTOVF): Likewise.
21408 (FPE_FLTDIV): Likewise.
21409 (FPE_FLTOVF): Likewise.
21410 (FPE_FLTUND): Likewise.
21411 (FPE_FLTRES): Likewise.
21412 (FPE_FLTINV): Likewise.
21413 (FPE_FLTSUB): Likewise.
21414 (SEGV_MAPERR): Likewise.
21415 (SEGV_ACCERR): Likewise.
21416 (BUS_ADRALN): Likewise.
21417 (BUS_ADRERR): Likewise.
21418 (BUS_OBJERR): Likewise.
21419 (BUS_MCEERR_AR): Likewise.
21420 (BUS_MCEERR_AO): Likewise.
21421 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21422 (TRAP_TRACE): Likewise.
21423 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21425 (CLD_KILLED): Likewise.
21426 (CLD_DUMPED): Likewise.
21427 (CLD_TRAPPED): Likewise.
21428 (CLD_STOPPED): Likewise.
21429 (CLD_CONTINUED): Likewise.
21430 (POLL_IN): Likewise.
21431 (POLL_OUT): Likewise.
21432 (POLL_MSG): Likewise.
21433 (POLL_ERR): Likewise.
21434 (POLL_PRI): Likewise.
21435 (POLL_HUP): Likewise.
21436 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21437 (ILL_ILLOPN): Likewise.
21438 (ILL_ILLADR): Likewise.
21439 (ILL_ILLTRP): Likewise.
21440 (ILL_PRVOPC): Likewise.
21441 (ILL_PRVREG): Likewise.
21442 (ILL_COPROC): Likewise.
21443 (ILL_BADSTK): Likewise.
21444 (FPE_INTDIV): Likewise.
21445 (FPE_INTOVF): Likewise.
21446 (FPE_FLTDIV): Likewise.
21447 (FPE_FLTOVF): Likewise.
21448 (FPE_FLTUND): Likewise.
21449 (FPE_FLTRES): Likewise.
21450 (FPE_FLTINV): Likewise.
21451 (FPE_FLTSUB): Likewise.
21452 (SEGV_MAPERR): Likewise.
21453 (SEGV_ACCERR): Likewise.
21454 (BUS_ADRALN): Likewise.
21455 (BUS_ADRERR): Likewise.
21456 (BUS_OBJERR): Likewise.
21457 (BUS_MCEERR_AR): Likewise.
21458 (BUS_MCEERR_AO): Likewise.
21459 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21460 (TRAP_TRACE): Likewise.
21461 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21463 (CLD_KILLED): Likewise.
21464 (CLD_DUMPED): Likewise.
21465 (CLD_TRAPPED): Likewise.
21466 (CLD_STOPPED): Likewise.
21467 (CLD_CONTINUED): Likewise.
21468 (POLL_IN): Likewise.
21469 (POLL_OUT): Likewise.
21470 (POLL_MSG): Likewise.
21471 (POLL_ERR): Likewise.
21472 (POLL_PRI): Likewise.
21473 (POLL_HUP): Likewise.
21474 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21475 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21478 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21479 before #include of <time.h>.
21480 [!__USE_XOPEN2K] (__need_timespec): Likewise.
21481 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21482 (test-xfail-UNIX98/sched.h/conform): Likewise.
21484 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
21486 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21487 error absence of trapping exception support.
21488 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21490 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21492 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21493 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21494 * timezone/Makefile (testdata): Move definition above include of
21496 (test-zones): New variable.
21497 (tests-special): Add zone files.
21498 (build-testdata): Use $(evaluate-test).
21500 * elf/Makefile (tests-special): Rename tests to end with .out.
21501 ($(objpfx)noload-mem): Likewise.
21502 ($(objpfx)tst-leaks1-mem): Likewise.
21503 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21504 * iconv/Makefile (xtests-special): Change test-iconvconfig to
21505 $(objpfx)test-iconvconfig.out.
21506 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
21507 set -e inside subshell and redirect output to file.
21508 * iconvdata/Makefile (generated): Rename tests to end with .out.
21510 (tests-special): Rename tests to end with .out.
21511 ($(objpfx)mtrace-tst-loading): Likewise.
21512 * intl/Makefile (generated): Likewise.
21513 (tests-special): Likewise.
21514 ($(objpfx)mtrace-tst-gettext): Likewise.
21515 * misc/Makefile (generated): Likewise.
21516 (tests-special): Likewise.
21517 ($(objpfx)tst-error1-mem): Likewise.
21518 * nptl/Makefile (tests-special): Likewise.
21519 ($(objpfx)tst-stack3-mem): Likewise.
21520 (generated): Likewise.
21521 * posix/Makefile (generated): Likewise.
21522 (tests-special): Likewise.
21523 (xtests-special): Likewise.
21524 ($(objpfx)tst-fnmatch-mem): Likewise.
21525 ($(objpfx)bug-regex2-mem): Likewise.
21526 ($(objpfx)bug-regex14-mem): Likewise.
21527 ($(objpfx)bug-regex21-mem): Likewise.
21528 ($(objpfx)bug-regex31-mem): Likewise.
21529 ($(objpfx)tst-vfork3-mem): Likewise.
21530 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21531 ($(objpfx)tst-pcre-mem): Likewise.
21532 ($(objpfx)tst-boost-mem): Likewise.
21533 ($(objpfx)bug-ga2-mem): Likewise.
21534 ($(objpfx)bug-glob2-mem): Likewise.
21535 * resolv/Makefile (generate): Likewise.
21536 (tests-special): Likewise.
21537 (xtests-special): Likewise.
21538 (generated): Likewise.
21539 ($(objpfx)mtrace-tst-leaks): Likewise.
21540 ($(objpfx)mtrace-tst-leaks2): Likewise.
21542 * scripts/merge-test-results.sh: New file.
21543 * Makefile (tests-special-notdir): New variable.
21544 (tests): Run merge-test-results.sh.
21545 (xtests): Likewise.
21546 * Rules (tests-special-notdir): New variable.
21547 (xtests-special-notdir): Likewise.
21548 (tests): Run merge-test-results.sh
21549 (xtests): Likewise.
21551 * Makeconfig (test-xfail-name): New variable.
21552 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21553 compute variable name for expected failures.
21554 * conform/Makefile (conformtest-headers-data): New variable.
21555 (conformtest-standards): Likewise.
21556 (conformtest-headers-ISO): Likewise.
21557 (conformtest-headers-ISO99): Likewise.
21558 (conformtest-headers-ISO11): Likewise.
21559 (conformtest-headers-POSIX): Likewise.
21560 (conformtest-headers-XPG3): Likewise.
21561 (conformtest-headers-XPG4): Likewise.
21562 (conformtest-headers-UNIX98): Likewise.
21563 (conformtest-headers-XOPEN2K): Likewise.
21564 (conformtest-headers-POSIX2008): Likewise.
21565 (conformtest-headers-XOPEN2K8): Likewise.
21566 (conformtest-header-list-base): Likewise.
21567 (conformtest-header-list-tests): Likewise.
21568 (conformtest-header-base): Likewise.
21569 (conformtest-header-tests): Likewise.
21570 (tests-special): Add $(conformtest-header-list-tests). If
21571 [$(fast-check) && !$(cross-compiling)], add
21572 $(conformtest-header-tests) instead of
21573 $(objpfx)run-conformtest.out.
21574 (generated): Add $(conformtest-header-list-base). If
21575 [$(fast-check) && !$(cross-compiling)], add
21576 $(conformtest-header-base). Remove previous setting.
21577 ($(conformtest-header-list-tests)): New target.
21578 (test-xfail-run-conformtest): Remove variable.
21579 ($(objpfx)run-conformtest.out): Remove target.
21580 (test-xfail-ISO11/complex.h/conform): New variable.
21581 (test-xfail-ISO11/stdalign.h/conform): Likewise.
21582 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21583 (test-xfail-XPG3/varargs.h/conform): Likewise.
21584 (test-xfail-XPG4/varargs.h/conform): Likewise.
21585 (test-xfail-UNIX98/varargs.h/conform): Likewise.
21586 (test-xfail-XPG4/ndbm.h/conform): Likewise.
21587 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21588 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21589 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21590 (test-xfail-XPG3/fcntl.h/conform): Likewise.
21591 (test-xfail-XPG3/ftw.h/conform): Likewise.
21592 (test-xfail-XPG3/grp.h/conform): Likewise.
21593 (test-xfail-XPG3/langinfo.h/conform): Likewise.
21594 (test-xfail-XPG3/limits.h/conform): Likewise.
21595 (test-xfail-XPG3/pwd.h/conform): Likewise.
21596 (test-xfail-XPG3/search.h/conform): Likewise.
21597 (test-xfail-XPG3/signal.h/conform): Likewise.
21598 (test-xfail-XPG3/stdio.h/conform): Likewise.
21599 (test-xfail-XPG3/stdlib.h/conform): Likewise.
21600 (test-xfail-XPG3/string.h/conform): Likewise.
21601 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21602 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21603 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21604 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21605 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21606 (test-xfail-XPG3/sys/types.h/conform): Likewise.
21607 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21608 (test-xfail-XPG3/termios.h/conform): Likewise.
21609 (test-xfail-XPG3/time.h/conform): Likewise.
21610 (test-xfail-XPG3/unistd.h/conform): Likewise.
21611 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21612 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21613 (test-xfail-XPG4/langinfo.h/conform): Likewise.
21614 (test-xfail-XPG4/netdb.h/conform): Likewise.
21615 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21616 (test-xfail-XPG4/signal.h/conform): Likewise.
21617 (test-xfail-XPG4/stdio.h/conform): Likewise.
21618 (test-xfail-XPG4/stdlib.h/conform): Likewise.
21619 (test-xfail-XPG4/stropts.h/conform): Likewise.
21620 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21621 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21622 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21623 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21624 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21625 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21626 (test-xfail-XPG4/sys/time.h/conform): Likewise.
21627 (test-xfail-XPG4/sys/types.h/conform): Likewise.
21628 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21629 (test-xfail-XPG4/termios.h/conform): Likewise.
21630 (test-xfail-XPG4/ucontext.h/conform): Likewise.
21631 (test-xfail-XPG4/unistd.h/conform): Likewise.
21632 (test-xfail-XPG4/utmpx.h/conform): Likewise.
21633 (test-xfail-POSIX/sched.h/conform): Likewise.
21634 (test-xfail-POSIX/signal.h/conform): Likewise.
21635 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21636 (test-xfail-POSIX/tar.h/conform): Likewise.
21637 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21638 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21639 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21640 (test-xfail-UNIX98/netdb.h/conform): Likewise.
21641 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21642 (test-xfail-UNIX98/sched.h/conform): Likewise.
21643 (test-xfail-UNIX98/signal.h/conform): Likewise.
21644 (test-xfail-UNIX98/stdio.h/conform): Likewise.
21645 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21646 (test-xfail-UNIX98/stropts.h/conform): Likewise.
21647 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21648 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21649 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21650 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21651 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21652 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21653 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21654 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21655 (test-xfail-UNIX98/unistd.h/conform): Likewise.
21656 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21657 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21658 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21659 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21660 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21661 (test-xfail-XOPEN2K/math.h/conform): Likewise.
21662 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21663 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21664 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21665 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21666 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21667 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21668 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21669 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21670 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21671 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21672 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21673 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21674 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21675 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21676 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21677 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21678 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21679 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21680 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21681 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21682 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21683 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21684 (test-xfail-POSIX2008/signal.h/conform): Likewise.
21685 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21686 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21687 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21688 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21689 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21690 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21691 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21692 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21693 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21694 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21695 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21696 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21697 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21698 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21699 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21700 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21701 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21702 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21703 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21704 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21705 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21706 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21707 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21708 (conformtest-cc-flags): Likewise.
21709 ($(conformtest-header-tests): New target.
21710 * conform/check-header-lists.sh: New file.
21711 * conform/run-conformtest.sh: Remove.
21713 * conform/conformtest.pl: Allow ' and \ in values given for
21715 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21717 [POSIX] (sys/types.h): Likewise.
21718 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21720 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21722 * conform/data/signal.h-data (SIGIO): Remove expectation.
21723 [XPG3] (SIGBUS): Do not expect.
21724 [POSIX || XPG3] (SIGPOLL): Likewise.
21725 [POSIX || XPG3] (SIGPROF): Likewise.
21726 [POSIX || XPG3] (SIGSYS): Likewise.
21727 [XPG3] (SIGTRAP): Likewise.
21728 [POSIX || XPG3] (SIGURG): Likewise.
21729 [POSIX || XPG3] (SIGVTALRM): Likewise.
21730 [POSIX || XPG3] (SIGXCPU): Likewise.
21731 [POSIX || XPG3] (SIGXFSZ): Likewise.
21732 [POSIX] (SA_SIGINFO): Expect.
21733 [XPG3] (siginfo_t): Do not expect type or contents.
21734 [POSIX] (si_pid): Do not expect element.
21735 [POSIX] (si_uid): Likewise.
21736 [POSIX] (si_addr): Likewise.
21737 [POSIX] (si_status): Likewise.
21738 [POSIX] (si_band): Likewise.
21739 [XPG4] (si_value): Likewise.
21740 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21741 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21742 [POSIX || XPG3] (ILL_ILLADR): Likewise.
21743 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21744 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21745 [POSIX || XPG3] (ILL_PRVREG): Likewise.
21746 [POSIX || XPG3] (ILL_COPROC): Likewise.
21747 [POSIX || XPG3] (ILL_BADSTK): Likewise.
21748 [POSIX || XPG3] (FPE_INTDIV): Likewise.
21749 [POSIX || XPG3] (FPE_INTOVF): Likewise.
21750 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21751 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21752 [POSIX || XPG3] (FPE_FLTUND): Likewise.
21753 [POSIX || XPG3] (FPE_FLTRES): Likewise.
21754 [POSIX || XPG3] (FPE_FLTINV): Likewise.
21755 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21756 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21757 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21758 [POSIX || XPG3] (BUS_ADRALN): Likewise.
21759 [POSIX || XPG3] (BUS_ADRERR): Likewise.
21760 [POSIX || XPG3] (BUS_OBJERR): Likewise.
21761 [POSIX || XPG3] (CLD_EXITED): Likewise.
21762 [POSIX || XPG3] (CLD_KILLED): Likewise.
21763 [POSIX || XPG3] (CLD_DUMPED): Likewise.
21764 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21765 [POSIX || XPG3] (CLD_STOPPED): Likewise.
21766 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21767 [POSIX || XPG3] (POLL_IN): Likewise.
21768 [POSIX || XPG3] (POLL_OUT): Likewise.
21769 [POSIX || XPG3] (POLL_MSG): Likewise.
21770 [POSIX || XPG3] (POLL_ERR): Likewise.
21771 [POSIX || XPG3] (POLL_PRI): Likewise.
21772 [POSIX || XPG3] (POLL_HUP): Likewise.
21773 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21774 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21775 (SIG*): Do not allow.
21776 [XPG3] (si_*): Likewise.
21777 [XPG3] (SI_*): Likewise.
21778 [XPG3 || XPG4] (sigev_*): Likewise.
21779 [XPG3 || XPG4] (SIGEV_*): Likewise.
21780 [XPG3 || XPG4] (sival_*): Likewise.
21781 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21782 [POSIX || XPG3] (BUS_*): Likewise.
21783 [POSIX || XPG3] (CLD_*): Likewise.
21784 [POSIX || XPG3] (FPE_*): Likewise.
21785 [POSIX || XPG3] (ILL_*): Likewise.
21786 [POSIX || XPG3] (POLL_*): Likewise.
21787 [POSIX || XPG3] (SEGV_*): Likewise.
21788 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21789 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21790 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21791 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21792 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21793 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21794 Specify type and value.
21795 (TVERSLEN): Likewise.
21796 (REGTYPE): Likewise.
21797 (AREGTYPE): Likewise.
21798 (LNKTYPE): Likewise.
21799 (SYMTYPE): Likewise.
21800 (CHRTYPE): Likewise.
21801 (BLKTYPE): Likewise.
21802 (DIRTYPE): Likewise.
21803 (FIFOTYPE): Likewise.
21804 (CONTTYPE): Likewise.
21808 (TUREAD): Likewise.
21809 (TUWRITE): Likewise.
21810 (TUEXEC): Likewise.
21811 (TGREAD): Likewise.
21812 (TGWRITE): Likewise.
21813 (TGEXEC): Likewise.
21814 (TOREAD): Likewise.
21815 (TOWRITE): Likewise.
21816 (TOEXEC): Likewise.
21817 [POSIX] (TSVTX): Expect constant.
21819 2014-03-06 Joseph Myers <joseph@codesourcery.com>
21821 * Makefile (tests): Change dependencies to ....
21822 (tests-special): ... additions to this variable.
21823 (tests): Depend on $(tests-special).
21824 * Makerules (check-abi-list): New variable.
21825 (check-abi): Depend on $(check-abi-list).
21826 [$(subdir) = elf] (tests-special): Add
21827 $(objpfx)check-abi-libc.out.
21828 [$(build-shared) = yes && subdir] (tests-special): Add
21830 [$(build-shared) = yes && subdir] (tests): Do not depend on
21832 * Rules (tests): Depend on $(tests-special).
21833 (xtests): Depend on $(xtests-special).
21834 * catgets/Makefile (tests): Change dependencies to ....
21835 (tests-special): ... additions to this variable.
21836 * conform/Makefile (tests): Change dependencies to ....
21837 (tests-special): ... additions to this variable.
21838 * elf/Makefile (tests): Change dependencies to ....
21839 (tests-special): ... additions to this variable.
21840 * grp/Makefile (tests): Change dependencies to ....
21841 (tests-special): ... additions to this variable.
21842 * iconv/Makefile (xtests): Change dependencies to ....
21843 (xtests-special): ... additions to this variable.
21844 * iconvdata/Makefile (tests): Change dependencies to ....
21845 (tests-special): ... additions to this variable.
21846 * intl/Makefile (tests): Change dependencies to ....
21847 (tests-special): ... additions to this variable. Also add
21848 $(objpfx)tst-gettext.out.
21849 * io/Makefile (tests): Change dependencies to ....
21850 (tests-special): ... additions to this variable.
21851 * libio/Makefile (tests): Change dependencies to ....
21852 (tests-special): ... additions to this variable.
21853 * malloc/Makefile (tests): Change dependencies to ....
21854 (tests-special): ... additions to this variable.
21855 * misc/Makefile (tests): Change dependencies to ....
21856 (tests-special): ... additions to this variable.
21857 * nptl/Makefile (tests): Change dependencies to ....
21858 (tests-special): ... additions to this variable.
21859 * nptl_db/Makefile (tests): Change dependencies to ....
21860 (tests-special): ... additions to this variable.
21861 * posix/Makefile (tests): Change dependencies to ....
21862 (tests-special): ... additions to this variable.
21863 (xtests): Change dependencies to ....
21864 (xtests-special): ... additions to this variable.
21865 * resolv/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 * stdio-common/Makefile (tests): Change dependencies to ....
21870 (tests-special): ... additions to this variable.
21871 (do-tst-unbputc): Remove target.
21872 (do-tst-printf): Likewise.
21873 * stdlib/Makefile (tests): Change dependencies to ....
21874 (tests-special): ... additions to this variable.
21875 * string/Makefile (tests): Change dependencies to ....
21876 (tests-special): ... additions to this variable.
21877 * sysdeps/x86/Makefile (tests): Change dependencies to ....
21878 (tests-special): ... additions to this variable.
21880 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21882 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21884 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21885 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21887 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21888 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21889 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21890 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21891 * conform/data/libgen.h-data [XPG3]: Likewise.
21892 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21893 * conform/data/ndbm.h-data [XPG3]: Likewise.
21894 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21895 * conform/data/netdb.h-data [XPG3]: Likewise.
21896 * conform/data/netinet/in.h-data [XPG3]: Likewise.
21897 * conform/data/poll.h-data [XPG3]: Likewise.
21898 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21899 * conform/data/strings.h-data [XPG3]: Likewise.
21900 * conform/data/stropts.h-data [XPG3]: Likewise.
21901 * conform/data/sys/mman.h-data [XPG3]: Likewise.
21902 * conform/data/sys/resource.h-data [XPG3]: Likewise.
21903 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21905 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21906 * conform/data/sys/time.h-data [XPG3]: Likewise.
21907 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21908 * conform/data/sys/uio.h-data [XPG3]: Likewise.
21909 * conform/data/sys/un.h-data [XPG3]: Likewise.
21910 * conform/data/syslog.h-data [XPG3]: Likewise.
21911 * conform/data/ucontext.h-data [XPG3]: Likewise.
21912 * conform/data/utmpx.h-data [XPG3]: Likewise.
21913 * conform/data/varargs.h-data [UNIX98]: Enable file.
21915 * manual/Makefile (INSTALL_INFO): Remove variable setting.
21917 * math/libm-test.inc (struct test_f_f_data): Move expected results
21918 into structure for each rounding mode.
21919 (struct test_ff_f_data): Likewise.
21920 (struct test_ff_f_data_nexttoward): Likewise.
21921 (struct test_fi_f_data): Likewise.
21922 (struct test_fl_f_data): Likewise.
21923 (struct test_if_f_data): Likewise.
21924 (struct test_fff_f_data): Likewise.
21925 (struct test_c_f_data): Likewise.
21926 (struct test_f_f1_data): Likewise.
21927 (struct test_fF_f1_data): Likewise.
21928 (struct test_ffI_f1_data): Likewise.
21929 (struct test_c_c_data): Likewise.
21930 (struct test_cc_c_data): Likewise.
21931 (struct test_f_i_data): Likewise.
21932 (struct test_ff_i_data): Likewise.
21933 (struct test_f_l_data): Likewise.
21934 (struct test_f_L_data): Likewise.
21935 (struct test_fFF_11_data): Likewise.
21937 (RM_FE_DOWNWARD): Likewise.
21938 (RM_FE_TONEAREST): Likewise.
21939 (RM_FE_TOWARDZERO): Likewise.
21940 (RM_FE_UPWARD): Likewise.
21941 (RUN_TEST_LOOP_f_f): Update references to expected results.
21942 (RUN_TEST_LOOP_2_f): Likewise.
21943 (RUN_TEST_LOOP_fff_f): Likewise.
21944 (RUN_TEST_LOOP_c_f): Likewise.
21945 (RUN_TEST_LOOP_f_f1): Likewise.
21946 (RUN_TEST_LOOP_fF_f1): Likewise.
21947 (RUN_TEST_LOOP_fI_f1): Likewise.
21948 (RUN_TEST_LOOP_ffI_f1): Likewise.
21949 (RUN_TEST_LOOP_c_c): Likewise.
21950 (RUN_TEST_LOOP_cc_c): Likewise.
21951 (RUN_TEST_LOOP_f_i): Likewise.
21952 (RUN_TEST_LOOP_f_i_tg): Likewise.
21953 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21954 (RUN_TEST_LOOP_f_b): Likewise.
21955 (RUN_TEST_LOOP_f_b_tg): Likewise.
21956 (RUN_TEST_LOOP_f_l): Likewise.
21957 (RUN_TEST_LOOP_f_L): Likewise.
21958 (RUN_TEST_LOOP_fFF_11): Likewise.
21959 * math/gen-libm-test.pl (parse_args): Output four copies of
21960 expected results for each test.
21962 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21963 (__ASSUME_UTIMES): Remove.
21964 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21965 (__ASSUME_UTIMES): Likewise.
21967 * math/gen-auto-libm-tests.c: Update comment on output format.
21968 (output_for_one_input_case): Generate before-rounding and
21969 after-rounding information as conditions on output flags not
21970 floating-point format.
21971 * math/auto-libm-test-out: Regenerated.
21972 * math/gen-libm-test.pl (cond_value): New function.
21973 (or_cond_value): Use cond_value.
21974 (generate_testfile): Handle conditional exceptions.
21976 2014-03-05 Joseph Myers <joseph@codesourcery.com>
21978 * math/libm-test.inc (max_valid_error): New variable.
21979 (init_max_error): Take new argument specifying whether function
21980 results are exactly determined. Set max_valid_error and bound
21981 other variables for errors based on this argument.
21982 (set_max_error): Do not record results above max_valid_error.
21983 (check_float_internal): Only accept errors of up to 0.5ulps if
21984 also at most max_valid_error.
21985 (START): Take new argument EXACT and pass it to init_max_error.
21986 (acos_test): Update call to START.
21987 (acos_test_tonearest): Likewise.
21988 (acos_test_towardzero): Likewise.
21989 (acos_test_downward): Likewise.
21990 (acos_test_upward): Likewise.
21991 (acosh_test): Likewise.
21992 (asin_test): Likewise.
21993 (asin_test_tonearest): Likewise.
21994 (asin_test_towardzero): Likewise.
21995 (asin_test_downward): Likewise.
21996 (asin_test_upward): Likewise.
21997 (asinh_test): Likewise.
21998 (atan_test): Likewise.
21999 (atanh_test): Likewise.
22000 (atan2_test): Likewise.
22001 (cabs_test): Likewise.
22002 (cacos_test): Likewise.
22003 (cacosh_test): Likewise.
22004 (carg_test): Likewise.
22005 (casin_test): Likewise.
22006 (casinh_test): Likewise.
22007 (catan_test): Likewise.
22008 (catanh_test): Likewise.
22009 (cbrt_test): Likewise.
22010 (ccos_test): Likewise.
22011 (ccosh_test): Likewise.
22012 (ceil_test): Likewise.
22013 (cexp_test): Likewise.
22014 (cimag_test): Likewise.
22015 (clog_test): Likewise.
22016 (clog10_test): Likewise.
22017 (conj_test): Likewise.
22018 (copysign_test): Likewise.
22019 (cos_test): Likewise.
22020 (cos_test_tonearest): Likewise.
22021 (cos_test_towardzero): Likewise.
22022 (cos_test_downward): Likewise.
22023 (cos_test_upward): Likewise.
22024 (cosh_test): Likewise.
22025 (cosh_test_tonearest): Likewise.
22026 (cosh_test_towardzero): Likewise.
22027 (cosh_test_downward): Likewise.
22028 (cosh_test_upward): Likewise.
22029 (cpow_test): Likewise.
22030 (cproj_test): Likewise.
22031 (creal_test): Likewise.
22032 (csin_test): Likewise.
22033 (csinh_test): Likewise.
22034 (csqrt_test): Likewise.
22035 (ctan_test): Likewise.
22036 (ctan_test_tonearest): Likewise.
22037 (ctan_test_towardzero): Likewise.
22038 (ctan_test_downward): Likewise.
22039 (ctan_test_upward): Likewise.
22040 (ctanh_test): Likewise.
22041 (ctanh_test_tonearest): Likewise.
22042 (ctanh_test_towardzero): Likewise.
22043 (ctanh_test_downward): Likewise.
22044 (ctanh_test_upward): Likewise.
22045 (erf_test): Likewise.
22046 (erfc_test): Likewise.
22047 (exp_test): Likewise.
22048 (exp_test_tonearest): Likewise.
22049 (exp_test_towardzero): Likewise.
22050 (exp_test_downward): Likewise.
22051 (exp_test_upward): Likewise.
22052 (exp10_test): Likewise.
22053 (exp10_test_tonearest): Likewise.
22054 (exp10_test_towardzero): Likewise.
22055 (exp10_test_downward): Likewise.
22056 (exp10_test_upward): Likewise.
22057 (pow10_test): Likewise.
22058 (exp2_test): Likewise.
22059 (expm1_test): Likewise.
22060 (expm1_test_tonearest): Likewise.
22061 (expm1_test_towardzero): Likewise.
22062 (expm1_test_downward): Likewise.
22063 (expm1_test_upward): Likewise.
22064 (fabs_test): Likewise.
22065 (fdim_test): Likewise.
22066 (floor_test): Likewise.
22067 (fma_test): Likewise.
22068 (fma_test_towardzero): Likewise.
22069 (fma_test_downward): Likewise.
22070 (fma_test_upward): Likewise.
22071 (fmax_test): Likewise.
22072 (fmin_test): Likewise.
22073 (fmod_test): Likewise.
22074 (fpclassify_test): Likewise.
22075 (frexp_test): Likewise.
22076 (hypot_test): Likewise.
22077 (ilogb_test): Likewise.
22078 (isfinite_test): Likewise.
22079 (finite_test): Likewise.
22080 (isgreater_test): Likewise.
22081 (isgreaterequal_test): Likewise.
22082 (isinf_test): Likewise.
22083 (isless_test): Likewise.
22084 (islessequal_test): Likewise.
22085 (islessgreater_test): Likewise.
22086 (isnan_test): Likewise.
22087 (isnormal_test): Likewise.
22088 (issignaling_test): Likewise.
22089 (isunordered_test): Likewise.
22090 (j0_test): Likewise.
22091 (j1_test): Likewise.
22092 (jn_test): Likewise.
22093 (ldexp_test): Likewise.
22094 (lgamma_test): Likewise.
22095 (gamma_test): Likewise.
22096 (lrint_test): Likewise.
22097 (lrint_test_tonearest): Likewise.
22098 (lrint_test_towardzero): Likewise.
22099 (lrint_test_downward): Likewise.
22100 (lrint_test_upward): Likewise.
22101 (llrint_test): Likewise.
22102 (llrint_test_tonearest): Likewise.
22103 (llrint_test_towardzero): Likewise.
22104 (llrint_test_downward): Likewise.
22105 (llrint_test_upward): Likewise.
22106 (log_test): Likewise.
22107 (log10_test): Likewise.
22108 (log1p_test): Likewise.
22109 (log2_test): Likewise.
22110 (logb_test): Likewise.
22111 (logb_test_downward): Likewise.
22112 (lround_test): Likewise.
22113 (llround_test): Likewise.
22114 (modf_test): Likewise.
22115 (nearbyint_test): Likewise.
22116 (nextafter_test): Likewise.
22117 (nexttoward_test): Likewise.
22118 (pow_test): Likewise.
22119 (pow_test_tonearest): Likewise.
22120 (pow_test_towardzero): Likewise.
22121 (pow_test_downward): Likewise.
22122 (pow_test_upward): Likewise.
22123 (remainder_test): Likewise.
22124 (drem_test): Likewise.
22125 (remainder_test_tonearest): Likewise.
22126 (drem_test_tonearest): Likewise.
22127 (remainder_test_towardzero): Likewise.
22128 (drem_test_towardzero): Likewise.
22129 (remainder_test_downward): Likewise.
22130 (drem_test_downward): Likewise.
22131 (remainder_test_upward): Likewise.
22132 (drem_test_upward): Likewise.
22133 (remquo_test): Likewise.
22134 (rint_test): Likewise.
22135 (rint_test_tonearest): Likewise.
22136 (rint_test_towardzero): Likewise.
22137 (rint_test_downward): Likewise.
22138 (rint_test_upward): Likewise.
22139 (round_test): Likewise.
22140 (scalb_test): Likewise.
22141 (scalbn_test): Likewise.
22142 (scalbln_test): Likewise.
22143 (signbit_test): Likewise.
22144 (sin_test): Likewise.
22145 (sin_test_tonearest): Likewise.
22146 (sin_test_towardzero): Likewise.
22147 (sin_test_downward): Likewise.
22148 (sin_test_upward): Likewise.
22149 (sincos_test): Likewise.
22150 (sinh_test): Likewise.
22151 (sinh_test_tonearest): Likewise.
22152 (sinh_test_towardzero): Likewise.
22153 (sinh_test_downward): Likewise.
22154 (sinh_test_upward): Likewise.
22155 (sqrt_test): Likewise.
22156 (sqrt_test_tonearest): Likewise.
22157 (sqrt_test_towardzero): Likewise.
22158 (sqrt_test_downward): Likewise.
22159 (sqrt_test_upward): Likewise.
22160 (tan_test): Likewise.
22161 (tan_test_tonearest): Likewise.
22162 (tan_test_towardzero): Likewise.
22163 (tan_test_downward): Likewise.
22164 (tan_test_upward): Likewise.
22165 (tanh_test): Likewise.
22166 (tgamma_test): Likewise.
22167 (trunc_test): Likewise.
22168 (y0_test): Likewise.
22169 (y1_test): Likewise.
22170 (yn_test): Likewise.
22171 (significand_test): Likewise.
22173 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22174 individual tests in comment.
22175 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22176 (prev_max_error): New variable.
22177 (prev_real_max_error): Likewise.
22178 (prev_imag_max_error): Likewise.
22179 (compare_ulp_data): Don't refer to test names in comment.
22180 (find_test_ulps): Remove function.
22181 (find_function_ulps): Likewise.
22182 (find_complex_function_ulps): Likewise.
22183 (init_max_error): Take function name as argument. Look up ulps
22185 (print_ulps): Remove function.
22186 (print_max_error): Use prev_max_error instead of calling
22187 find_function_ulps.
22188 (print_complex_max_error): Use prev_real_max_error and
22189 prev_imag_max_error instead of calling find_complex_function_ulps.
22190 (check_float_internal): Take max_ulp parameter instead of calling
22191 find_test_ulps. Don't call print_ulps.
22192 (check_float): Update call to check_float_internal.
22193 (check_complex): Update calls to check_float_internal.
22194 (START): Pass argument to init_max_error.
22195 * math/gen-libm-test.pl (%results): Don't include "kind"
22197 (parse_ulps): Don't handle ulps of individual tests.
22198 (print_ulps_file): Likewise.
22199 (output_ulps): Likewise.
22200 * math/README.libm-test: Update.
22201 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22203 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22204 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22205 * sysdeps/arm/libm-test-ulps: Likewise.
22206 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22207 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22208 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22209 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22210 * sysdeps/microblaze/libm-test-ulps: Likewise.
22211 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22212 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22213 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22214 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22215 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22216 * sysdeps/sh/libm-test-ulps: Likewise.
22217 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22218 * sysdeps/tile/libm-test-ulps: Likewise.
22219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22221 2014-03-04 Joseph Myers <joseph@codesourcery.com>
22223 * math/libm-test.inc (print_complex_max_error): Check separately
22224 whether real and imaginary errors are within allowed range and
22225 pass 0 to print_complex_function_ulps instead of value within
22228 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22230 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22232 (get_handles_fopen): Likewise.
22233 (do_write_test): Likewise.
22235 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22237 * libio/fileops.c (do_ftell): Use cached offset when
22239 * libio/iofwide.c (do_ftell_wide): Likewise.
22240 * libio/iofdopen.c (_IO_new_fdopen): Don't use
22242 * libio/wfileops.c (_IO_fwide): Don't cache offset.
22245 * libio/libioP.h (get_file_offset): New function.
22246 * libio/fileops.c (get_file_offset): Likewise.
22247 (do_ftell): Likewise.
22248 (_IO_new_file_seekoff): Split out ftell logic.
22249 * libio/wfileops.c (do_ftell_wide): Likewise.
22250 (_IO_wfile_seekoff): Split out ftell logic.
22251 * libio/tst-ftell-active-handler.c: New test case.
22252 * libio/Makefile (tests): Add it.
22254 2014-03-03 Roland McGrath <roland@hack.frob.com>
22256 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22257 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22259 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22262 * nscd/connections.c (nscd_init): Call do_exit.
22263 (start_threads): Call do_exit and notify_parent.
22264 (begin_drop_privileges): Call do_exit.
22265 (finish_drop_privileges): Likewise.
22266 * nscd/selinux.c (preserve_capabilities): Likewise.
22267 (install_real_capabilities): Likewise.
22268 (nscd_selinux_enabled): Likewise.
22269 (avc_create_thread): Likewise.
22270 (avc_alloc_lock): Likewise.
22271 (nscd_avc_init): Likewise.
22272 * nscd/nscd.c (parent_fd): New static variable.
22273 (main): Create a pipe between parent and child processes.
22274 Skip closing parent_fd.
22275 (monitor_child): New function.
22276 (do_exit): Likewise.
22277 (notify_parent): Likewise.
22278 * nscd/nscd.h (notify_parent): Likewise.
22279 (do_exit): Likewise.
22281 2014-03-03 Carlos O'Donell <carlos@redhat.com>
22283 * malloc/malloc.c (__libc_calloc): Revert last change.
22285 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22289 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22291 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22295 (__libc_ifunc_impl_list): Likewise.
22296 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22297 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22298 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22299 * string/strrchr.c: Define STRRCHR.
22301 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
22303 * benchtest/bench-strtok.c (simple_strtok): Delete.
22304 (strtok_string): Use as benchmark.
22305 * string/strtok (STRTOK): New macro.
22307 2014-02-28 Carlos O'Donell <carlos@redhat.com>
22309 * manual/threads.texi: Add header and standard comments to all
22312 * elf/dl-lookup.c (check_match): New function.
22313 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22314 (do_lookup_x): Remove nested function check_match. Use non-nested
22315 function check_match.
22317 2014-02-28 Roland McGrath <roland@hack.frob.com>
22319 * csu/Makefile (generated, before-compile): Use += rather than =.
22320 * catgets/Makefile (generated, generated-dirs): Likewise.
22321 * debug/Makefile (generated): Likewise.
22322 * dlfcn/Makefile (generated): Likewise.
22323 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22324 * iconvdata/Makefile (before-compile, generated): Likewise.
22325 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22326 * libio/Makefile (generated): Likewise.
22327 * malloc/Makefile (generated): Likewise.
22328 * manual/Makefile (generated, generated-dirs): Likewise.
22329 * misc/Makefile (generated): Likewise.
22330 * posix/Makefile (generated): Likewise.
22331 * resolv/Makefile (generated): Likewise.
22332 * sunrpc/Makefile (generated, generated-dirs): Likewise.
22333 * timezone/Makefile (generated, generated-dirs): Likewise.
22335 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22337 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22339 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22340 power8 implementation.
22341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22342 file: POWER8 llround ifunc implementation.
22343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22344 (__lllround): Add POWER8 implementation.
22345 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22346 POWER8 llround implementation.
22348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22349 power8 implementation.
22350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22351 file: POWER8 llrint ifunc implementation.
22352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22353 Add POWER8 implementation.
22354 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22355 POWER8 llrint implementation.
22357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22358 power8 implementation.
22359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22360 file: POWER8 finite ifunc implementation.
22361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22362 Add POWER8 implementation.
22363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22365 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22366 POWER8 finite implementation.
22367 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22369 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22370 power8 implementation.
22371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22372 file: POWER8 isinf ifunc implementation.
22373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22374 POWER8 implementation.
22375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22377 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22378 isinf implementation.
22379 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22381 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22382 (INIT_ARCH): Add hwcap2 initialization.
22383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22384 power8 implementation.
22385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22386 file: POWER8 isnan ifunc implementation.
22387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22388 POWER8 implementation.
22389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22391 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22392 isnan implementation.
22393 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22395 2014-02-27 Joey Ye <joey.ye@arm.com>
22397 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22398 (_FP_NANFRAC_Q): Set to zero.
22400 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22403 * math/auto-libm-test-in: New test inputs.
22404 * math/auto-libm-test-out: Regenerate.
22405 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22408 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22410 2014-02-27 Joseph Myers <joseph@codesourcery.com>
22412 * scripts/evaluate-test.sh: Take new argument indicating whether
22413 failure is expected.
22414 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22415 indicating whether failure is expected.
22416 * conform/Makefile (test-xfail-run-conformtest): New variable.
22417 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22419 * posix/Makefile (test-xfail-annexc): New variable.
22420 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22422 2014-02-26 Joseph Myers <joseph@codesourcery.com>
22424 * argp/Makefile: Include Makeconfig immediately after defining
22426 * assert/Makefile: Likewise.
22427 * benchtests/Makefile: Likewise.
22428 * catgets/Makefile: Likewise.
22429 * conform/Makefile: Likewise.
22430 * crypt/Makefile: Likewise.
22431 * csu/Makefile: Likewise.
22432 (all): Remove target.
22433 * ctype/Makefile: Include Makeconfig immediately after defining
22435 * debug/Makefile: Likewise.
22436 * dirent/Makefile: Likewise.
22437 * dlfcn/Makefile: Likewise.
22438 * gmon/Makefile: Likewise.
22439 * gnulib/Makefile: Likewise.
22440 * grp/Makefile: Likewise.
22441 * gshadow/Makefile: Likewise.
22442 * hesiod/Makefile: Likewise.
22443 * hurd/Makefile: Likewise.
22444 (all): Remove target.
22445 * iconvdata/Makefile: Include Makeconfig immediately after
22447 * inet/Makefile: Likewise.
22448 * intl/Makefile: Likewise.
22449 * io/Makefile: Likewise.
22450 * libio/Makefile: Likewise.
22451 (all): Remove target.
22452 * locale/Makefile: Include Makeconfig immediately after defining
22454 * login/Makefile: Likewise.
22455 * mach/Makefile: Likewise.
22456 (all): Remove target.
22457 * malloc/Makefile: Include Makeconfig immediately after defining
22459 (all): Remove target.
22460 * manual/Makefile: Include Makeconfig immediately after defining
22462 * math/Makefile: Likewise.
22463 * misc/Makefile: Likewise.
22464 * nis/Makefile: Likewise.
22465 * nss/Makefile: Likewise.
22466 * po/Makefile: Likewise.
22467 (all): Remove target.
22468 * posix/Makefile: Include Makeconfig immediately after defining
22470 * pwd/Makefile: Likewise.
22471 * resolv/Makefile: Likewise.
22472 * resource/Makefile: Likewise.
22473 * rt/Makefile: Likewise.
22474 * setjmp/Makefile: Likewise.
22475 * shadow/Makefile: Likewise.
22476 * signal/Makefile: Likewise.
22477 * socket/Makefile: Likewise.
22478 * soft-fp/Makefile: Likewise.
22479 * stdio-common/Makefile: Likewise.
22480 * stdlib/Makefile: Likewise.
22481 * streams/Makefile: Likewise.
22482 * string/Makefile: Likewise.
22483 * sunrpc/Makefile: Likewise.
22484 (all): Remove target.
22485 * sysvipc/Makefile: Include Makeconfig immediately after defining
22487 * termios/Makefile: Likewise.
22488 * time/Makefile: Likewise.
22489 * timezone/Makefile: Likewise.
22490 (all): Remove target.
22491 * wcsmbs/Makefile: Include Makeconfig immediately after defining
22493 * wctype/Makefile: Likewise.
22495 2014-02-26 Steve Ellcey <sellcey@mips.com>
22497 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22498 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22499 (libc_feholdexcept_setround_mips): Ditto.
22500 (libc_feholdsetround): New.
22501 (libc_feholdsetroundf): New.
22502 (libc_feholdsetroundl): New.
22503 (libc_feupdateenv_test_mips): New.
22504 (libc_feupdateenv_test): New.
22505 (libc_feupdateenv_testf): New.
22506 (libc_feupdateenv_testl): New.
22507 (libc_feresetround): New.
22508 (libc_feresetroundf): New.
22509 (libc_feresetroundl): New.
22510 (libc_fetestexcept_mips): New.
22511 (libc_fetestexcept): New.
22512 (libc_fetestexceptf): New.
22513 (libc_fetestexceptl): New.
22514 (HAVE_RM_CTX): New.
22515 (libc_feholdexcept_setround_mips_ctx): New.
22516 (libc_feholdexcept_setround_ctx): New.
22517 (libc_feholdexcept_setroundf_ctx): New.
22518 (libc_feholdexcept_setroundl_ctx): New.
22519 (libc_fesetenv_mips_ctx): New.
22520 (libc_fesetenv_ctx): New.
22521 (libc_fesetenv_ctxf): New.
22522 (libc_fesetenv_ctxl): New.
22523 (libc_feupdateenv_mips_ctx): New.
22524 (libc_feupdateenv_ctx): New.
22525 (libc_feupdateenvf_ctx): New.
22526 (libc_feupdateenvl_ctx): New.
22527 (libc_feholdsetround_mips_ctx): New.
22528 (libc_feholdsetround_ctx): New.
22529 (libc_feholdsetroundf_ctx): New.
22530 (libc_feholdsetroundl_ctx): New.
22531 (libc_feresetround_mips_ctx): New.
22532 (libc_feresetround_ctx): New.
22533 (libc_feresetroundf_ctx): New.
22534 (libc_feresetroundl_ctx): New.
22536 2014-02-26 Carlos O'Donell <carlos@redhat.com>
22538 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22540 * manual/ipc.texi: New file.
22541 * manual/Makefile (chapters): Add ipc.
22542 * manual/job.texi: Add "Inter-Process Communication" to next.
22543 * manual/process.texi: Add "Inter-Process Communication" to prev.
22545 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22549 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
22551 * malloc/malloc.c (__libc_calloc): Simplify implementation.
22553 * manual/arith.texi: Fix spaces after sentences.
22554 * manual/charset.texi: Likewise.
22555 * manual/errno.texi: Likewise.
22556 * manual/install.texi: Likewise.
22557 * manual/llio.texi: Likewise.
22558 * manual/locale.texi: Likewise.
22559 * manual/maint.texi: Likewise.
22560 * manual/math.texi: Likewise.
22561 * manual/memory.texi: Likewise.
22562 * manual/message.texi: Likewise.
22563 * manual/probes.texi: Likewise.
22564 * manual/resource.texi: Likewise.
22565 * manual/signal.texi: Likewise.
22566 * manual/socket.texi: Likewise.
22567 * manual/stdio.texi: Likewise.
22568 * manual/string.texi: Likewise.
22569 * manual/time.texi: Likewise.
22570 * manual/users.texi: Likewise.
22572 2014-02-25 Carlos O'Donell <carlos@redhat.com>
22575 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22576 _DEFAULT_SOURCE is defined.
22578 2014-02-25 Ulrich Drepper <drepper@gmail.com>
22579 Carlos O'Donell <carlos@redhat.com>
22582 * elf/dl-tls.c (_dl_count_modids): New function.
22583 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22584 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22585 audit library and increment generation counter.
22586 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22587 * elf/tst-audit9.c: New file.
22588 * elf/tst-auditmod9a.c: New file.
22589 * elf/tst-auditmod9b.c: New file.
22590 * elf/Makefile: Add rules to build and run tst-audit9.
22592 2014-02-25 Florian Weimer <fweimer@redhat.com>
22595 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22597 2014-02-25 Will Newton <will.newton@linaro.org>
22599 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22600 (__longjmp): Restore sp and lr before restoring callee
22601 saved registers. Add longjmp and longjmp_target
22602 SystemTap probe point.
22603 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22604 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22605 Define to zero to match jmpbuf layout.
22606 * sysdeps/arm/setjmp.S: Include stap-probe.h.
22607 (__sigsetjmp): Save sp and lr before saving callee
22608 saved registers. Add setjmp SystemTap probe point.
22610 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22612 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22614 2014-02-24 Andreas Schwab <schwab@suse.de>
22617 * elf/pldd.c (wait_for_ptrace_stop): New function.
22618 (main): Call it after attaching.
22620 2014-02-22 Roland McGrath <roland@hack.frob.com>
22622 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22623 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22624 Versions files is now verboten.
22625 * hurd/Versions (libc: GLIBC_2.0):
22626 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22627 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22628 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22629 * mach/Versions: Likewise.
22631 * csu/Versions: Remove unused %include.
22632 * resolv/Versions: Likewise.
22634 2014-02-21 Joseph Myers <joseph@codesourcery.com>
22636 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22637 ($(objpfx)check-local-headers.out): Likewise.
22638 ($(objpfx)begin-end-check.out): Likewise.
22639 * Makerules (check-abi-%.out): Likewise.
22640 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22641 ($(objpfx)test2.cat): Likewise.
22642 ($(objpfx)de/libc.cat): Likewise.
22643 ($(objpfx)test-gencat.out): Likewise.
22644 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22645 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22646 ($(objpfx)noload-mem): Likewise.
22647 ($(objpfx)tst-pathopt.out): Likewise.
22648 ($(objpfx)tst-rtld-load-self.out): Likewise.
22649 ($(objpfx)tst-array1-cmp.out): Likewise.
22650 ($(objpfx)tst-array1-static-cmp.out): Likewise.
22651 ($(objpfx)tst-array2-cmp.out): Likewise.
22652 ($(objpfx)tst-array3-cmp.out): Likewise.
22653 ($(objpfx)tst-array4-cmp.out): Likewise.
22654 ($(objpfx)tst-array5-cmp.out): Likewise.
22655 ($(objpfx)tst-array5-static-cmp.out): Likewise.
22656 ($(objpfx)check-textrel.out): Likewise.
22657 ($(objpfx)check-execstack.out): Likewise.
22658 ($(objpfx)check-localplt.out): Likewise.
22659 ($(objpfx)order2-cmp.out): Likewise.
22660 ($(objpfx)tst-leaks1-mem): Likewise.
22661 ($(objpfx)tst-leaks1-static-mem): Likewise.
22662 ($(objpfx)tst-initorder-cmp.out): Likewise.
22663 ($(objpfx)tst-initorder2-cmp.out): Likewise.
22664 ($(objpfx)tst-unused-dep.out): Likewise.
22665 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22666 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22667 * iconv/Makefile (test-iconvconfig): Likewise.
22668 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22669 ($(objpfx)iconv-test.out): Likewise.
22670 ($(objpfx)tst-tables.out): Likewise.
22671 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22672 ($(objpfx)tst-gettext.out): Likewise.
22673 ($(objpfx)tst-translit.out): Likewise.
22674 ($(objpfx)tst-gettext2.out): Likewise.
22675 ($(objpfx)tst-gettext4.out): Likewise.
22676 ($(objpfx)tst-gettext6.out): Likewise.
22677 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22678 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22679 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22680 ($(objpfx)tst-fopenloc-mem.out): Likewise.
22681 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22682 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22683 * posix/Makefile ($(objpfx)globtest.out): Likewise.
22684 ($(objpfx)wordexp-tst.out): Likewise.
22685 ($(objpfx)annexc.out): Likewise.
22686 ($(objpfx)tst-fnmatch-mem): Likewise.
22687 ($(objpfx)bug-regex2-mem): Likewise.
22688 ($(objpfx)bug-regex14-mem): Likewise.
22689 ($(objpfx)bug-regex21-mem): Likewise.
22690 ($(objpfx)bug-regex31-mem): Likewise.
22691 ($(objpfx)tst-vfork3-mem): Likewise.
22692 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22693 ($(objpfx)tst-pcre-mem): Likewise.
22694 ($(objpfx)tst-boost-mem): Likewise.
22695 ($(objpfx)tst-getconf.out): Likewise.
22696 ($(objpfx)bug-ga2-mem): Likewise.
22697 ($(objpfx)bug-glob2-mem): Likewise.
22698 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22699 ($(objpfx)mtrace-tst-leaks2): Likewise.
22700 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22701 ($(objpfx)tst-printf.out): Likewise.
22702 ($(objpfx)tst-setvbuf1.out): Likewise.
22703 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22704 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22705 ($(objpfx)tst-fmtmsg.out): Likewise.
22706 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22707 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22709 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22710 * bits/sigaction.h [__USE_MISC]: Likewise.
22711 * bits/waitstatus.h: Update #endif comments.
22712 * ctype/ctype.h: Likewise.
22713 * dirent/dirent.h: Likewise.
22714 [__USE_MISC]: Remove redundant conditionals.
22715 * grp/grp.h: Update #endif comments.
22716 [__USE_GNU]: Remove redundant conditionals.
22717 [__USE_MISC]: Likewise.
22718 * inet/netinet/in.h [__USE_GNU]: Likewise.
22719 * io/sys/stat.h [__USE_MISC]: Likewise.
22720 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22721 * libio/bits/stdio.h: Update #endif comments.
22722 [__USE_MISC]: Remove redundant conditionals.
22723 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22724 * libio/stdio.h: Update #endif comments.
22725 [__USE_MISC]: Remove redundant conditionals.
22726 * math/bits/math-finite.h [__USE_MISC]: Likewise.
22727 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22728 * math/math.h: Update #else and #endif comments.
22729 [__USE_MISC]: Remove redundant conditionals.
22730 * misc/sys/uio.h: Update #endif comments.
22731 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22732 * posix/glob.h [__USE_MISC]: Likewise.
22733 * posix/sys/types.h: Update #endif comments.
22734 [__USE_MISC]: Remove redundant conditionals.
22735 * posix/sys/wait.h: Update #endif comments.
22736 [__USE_MISC]: Remove redundant conditionals.
22737 * posix/unistd.h: Update #endif comments.
22738 [__USE_MISC]: Remove redundant conditionals.
22739 * pwd/pwd.h [__USE_GNU]: Likewise.
22740 [__USE_MISC]: Likewise.
22741 * resolv/netdb.h [__USE_GNU]: Likewise.
22742 * signal/signal.h: Update #endif comments.
22743 [__USE_MISC]: Remove redundant conditionals.
22744 * stdlib/stdlib.h: Update #else and #endif comments.
22745 [__USE_MISC]: Remove redundant conditionals.
22746 [__USE_GNU]: Likewise.
22747 * string/bits/string2.h [__USE_MISC]: Likewise.
22748 * string/string.h: Update #endif comments.
22749 [__USE_MISC]: Remove redundant conditionals.
22750 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22752 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22753 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22754 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22756 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22758 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22760 [__USE_MISC]: Remove redundant conditionals.
22761 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22762 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22763 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22764 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22765 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22767 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22768 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22770 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22771 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22773 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22775 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22776 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22778 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22780 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22781 * sysdeps/x86/bits/string.h: Update #endif comments.
22782 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22784 * time/sys/time.h: Update #endif comments.
22785 * time/time.h: Likewise.
22786 [__USE_MISC]: Remove redundant conditionals.
22788 2014-02-21 Yury Gribov <y.gribov@samsung.com>
22791 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22793 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
22795 * Versions.def (librt): Add GLIBC_2.17.
22797 2014-02-21 Adam Conrad <adconrad@0c3.net>
22799 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22800 synonym for _SYS_AUXV_H to allow direct inclusion.
22801 * sysdeps/sparc/bits/hwcap.h: Likewise.
22802 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22803 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22804 * sysdeps/sparc/sysdep.h: Likewise.
22806 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22808 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22810 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22812 * benchtests/bench-strrchr.c: Print length instead of position.
22814 2014-02-20 Joseph Myers <joseph@codesourcery.com>
22817 * sysdeps/unix/sysv/linux/kernel-features.h
22818 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22819 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22820 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22821 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22823 [__i386__ || __powerpc__ || __sh__ || __sparc__]
22824 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22825 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22826 (__ASSUME_SENDMMSG): Define instead of using previous
22827 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22828 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22829 (__ASSUME_SENDMMSG_SYSCALL): Define.
22830 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22831 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22833 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22834 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22836 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22837 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22839 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22840 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22841 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22842 [__ASSUME_SENDMMSG]: Change conditionals to
22843 [__ASSUME_SENDMMSG_SOCKETCALL].
22844 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22845 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22847 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22848 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22850 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22851 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22852 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22853 [!__ASSUME_SENDMMSG]: Change conditional to
22854 [!__ASSUME_SENDMMSG_SOCKETCALL].
22855 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22856 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22860 * sysdeps/unix/sysv/linux/kernel-features.h
22861 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22862 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22863 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22864 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22865 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22866 [__i386__ || __sparc__]
22867 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22868 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22869 (__ASSUME_RECVMMSG): Define instead of using previous
22870 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22871 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22872 (__ASSUME_RECVMMSG_SYSCALL): Define.
22873 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22874 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22876 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22877 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22879 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22880 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22882 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22883 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22884 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22885 [__ASSUME_RECVMMSG]: Change condition to
22886 [__ASSUME_RECVMMSG_SOCKETCALL].
22887 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22888 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22890 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22891 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22892 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22894 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22895 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22896 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22897 [!__ASSUME_RECVMMSG]: Change condition to
22898 [!__ASSUME_RECVMMSG_SOCKETCALL].
22899 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22900 (__ASSUME_RECVMMSG_SYSCALL): Define.
22903 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22904 __powerpc__ || __s390__ || __sh__ || __sparc__]
22905 (__ASSUME_SOCKETCALL): Define.
22906 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22907 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22908 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22909 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22910 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22911 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22912 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22913 (__ASSUME_ACCEPT4): Define instead of using previous
22914 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22915 __powerpc__ || __sparc__ || __s390__)] condition.
22916 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22917 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22918 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22919 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22920 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22921 [!__ASSUME_ACCEPT4]: Change condition to
22922 [!__ASSUME_ACCEPT4_SOCKETCALL].
22923 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22924 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
22925 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22926 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22927 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22928 __ASSUME_ACCEPT4_SYSCALL.
22929 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22930 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22931 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22932 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22933 __ASSUME_ACCEPT4_SYSCALL.
22934 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22935 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22936 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22937 [__ASSUME_ACCEPT4]: Change condition to
22938 [__ASSUME_ACCEPT4_SOCKETCALL].
22939 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22940 (__ASSUME_SOCKETCALL): Define.
22941 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22942 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22943 (__ASSUME_SOCKETCALL): Define.
22944 (__ASSUME_ACCEPT4): Remove.
22945 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22947 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22948 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22950 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22951 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22953 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22955 (HWCAP_ARM_LPAE): Likewise.
22956 (HWCAP_ARM_EVTSTRM): Likewise.
22957 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22958 Add vpfd32, lpae and evtstrm.
22959 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22962 2014-02-19 Joseph Myers <joseph@codesourcery.com>
22964 * math/auto-libm-test-in: Add tests of clog10.
22965 * math/auto-libm-test-out: Regenerated.
22966 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22967 * sysdeps/i386/fpu/libm-test-ulps: Update.
22968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22970 2014-02-18 Andreas Schwab <schwab@suse.de>
22973 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22974 Store non-zero if the second buffer was newly allocated.
22975 (send_dg): Likewise.
22976 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22977 to send_vc and send_dg.
22978 (res_nsend): Pass NULL for ansp2_malloced.
22979 * resolv/res_query.c (__libc_res_nquery): Add parameter
22980 answerp2_malloced and pass it down to __libc_res_nsend.
22981 (res_nquery): Pass additional NULL to __libc_res_nquery.
22982 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22983 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
22984 second answer buffer if answerp2_malloced was set.
22985 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22986 (__libc_res_nquerydomain): Add parameter
22987 answerp2_malloced and pass it down to __libc_res_nquery.
22988 (res_nquerydomain): Pass additional NULL to
22989 __libc_res_nquerydomain.
22990 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22991 additional NULL to __libc_res_nsend and __libc_res_nquery.
22992 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22993 additional NULL to __libc_res_nsearch.
22994 (_nss_dns_gethostbyname4_r): Revert last change. Use new
22995 parameter of __libc_res_nsearch to check for separately allocated
22997 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22999 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
23000 additional NULL to __libc_res_nquery.
23001 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
23002 __libc_res_nsearch.
23003 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
23004 * include/resolv.h: Update prototypes of __libc_res_nquery,
23005 __libc_res_nsearch, __libc_res_nsend.
23007 2014-02-18 Joseph Myers <joseph@codesourcery.com>
23009 * math/auto-libm-test-in: Add tests of fma.
23010 * math/auto-libm-test-out: Regenerated.
23011 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
23012 (fma_towardzero_test_data): Likewise.
23013 (fma_downward_test_data): Likewise.
23014 (fma_upward_test_data): Likewise.
23015 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
23017 (rounding_modes): Add values for new field.
23018 (func_calc_method): Add value mpfr_fff_f.
23019 (func_calc_desc): Add mpfr_fff_f union field.
23020 (test_function): Add field exact_args.
23021 (FUNC): Add macro argument EXACT_ARGS.
23022 (FUNC_mpfr_f_f): Update call to FUNC.
23023 (FUNC_mpfr_f_f): Likewise.
23024 (FUNC_mpfr_ff_f): Likewise.
23025 (FUNC_mpfr_if_f): Likewise.
23026 (FUNC_mpc_c_f): Likewise.
23027 (FUNC_mpc_c_c): Likewise.
23028 (test_functions): Add fma. Update calls to FUNC.
23029 (handle_input_arg): Add argument exact_args.
23030 (add_test): Update call to handle_input_arg.
23031 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
23032 (output_for_one_input_case): Update call to calc_generic_results.
23033 Recalculate exact zero results in each rounding mode.
23035 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
23036 non-negative before setting low bit.
23037 * math/auto-libm-test-in: Mark one asin test possibly having
23038 spurious underflow.
23039 * math/auto-libm-test-out: Regenerated.
23040 * sysdeps/i386/fpu/libm-test-ulps: Update.
23041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23043 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
23045 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
23046 * sysdeps/unix/sysv/linux/microblaze: Move directory from
23047 ports/sysdeps/unix/sysv/linux/microblaze.
23048 * README: Add missing listing for microblaze*-*-linux-gnu.
23050 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
23052 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
23055 2014-02-16 Mike Frysinger <vapier@gentoo.org>
23057 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
23058 * sysdeps/unix/sysv/linux/ia64: Move directory from
23059 ports/sysdeps/unix/sysv/linux/ia64.
23060 * README: Update listing for ia64-*-linux-gnu.
23062 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
23063 Joseph Myers <joseph@codesourcery.com>
23065 * Makeconfig (test-name): New variable.
23066 (evaluate-test): Likewise.
23067 * Makerules (do-test-clean): Remove .test-result files.
23068 (common-mostlyclean): Likewise.
23069 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
23070 * scripts/evaluate-test.sh: New file.
23072 2014-02-14 Joseph Myers <joseph@codesourcery.com>
23074 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
23075 separate $(objpfx)tst-fopenloc-cmp.out and
23076 $(objpfx)tst-fopenloc-mem.out targets.
23077 (tests): Update dependencies.
23078 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
23079 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
23080 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
23081 (tst-rxspencer-no-utf8-ARGS): New variable.
23082 (tst-rxspencer-no-utf8-ENV): Likewise.
23083 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
23084 instead of $(objpfx)tst-rxspencer-mem.
23085 ($(objpfx)tst-rxspencer-mem): Change target to
23086 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
23087 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
23088 * posix/tst-rxspencer-no-utf8.c: New file.
23090 * elf/Makefile ($(objpfx)order.out): Remove rule.
23091 [$(run-built-tests) = yes] (tests): Depend on
23092 $(objpfx)order-cmp.out.
23093 ($(objpfx)order-cmp.out): New rule.
23094 [$(run-built-tests) = yes] (tests): Depend on
23095 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23096 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23097 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23098 $(objpfx)tst-array5-static-cmp.out.
23099 ($(objpfx)tst-array1.out): Remove rule.
23100 ($(objpfx)tst-array1-cmp.out): New rule.
23101 ($(objpfx)tst-array1-static.out): Remove rule.
23102 ($(objpfx)tst-array1-static-cmp.out): New rule.
23103 ($(objpfx)tst-array2.out): Remove rule.
23104 ($(objpfx)tst-array2-cmp.out): New rule.
23105 ($(objpfx)tst-array3.out): Remove rule.
23106 ($(objpfx)tst-array3-cmp.out): New rule.
23107 ($(objpfx)tst-array4.out): Remove rule.
23108 ($(objpfx)tst-array4-cmp.out): New rule.
23109 ($(objpfx)tst-array5.out): Remove rule.
23110 ($(objpfx)tst-array5-cmp.out): New rule.
23111 ($(objpfx)tst-array5-static.out): Remove rule.
23112 ($(objpfx)tst-array5-static-cmp.out): New rule.
23113 [$(run-built-tests) = yes] (tests): Depend on
23114 $(objpfx)order2-cmp.out.
23115 ($(objpfx)order2.out): Remove rule.
23116 ($(objpfx)order2-cmp.out): New rule.
23117 ($(objpfx)tst-initorder.out): Remove rule.
23118 [$(run-built-tests) = yes] (tests): Depend on
23119 $(objpfx)tst-initorder-cmp.out.
23120 ($(objpfx)tst-initorder-cmp.out): New rule.
23121 ($(objpfx)tst-initorder2.out): Remove rule.
23122 [$(run-built-tests) = yes] (tests): Depend on
23123 $(objpfx)tst-initorder2-cmp.out.
23124 ($(objpfx)tst-initorder2-cmp.out): New rule.
23125 [$(run-built-tests) = yes] (tests): Depend on
23126 $(objpfx)tst-unused-dep-cmp.out.
23127 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23128 ($(objpfx)tst-unused-dep-cmp.out): New rule.
23129 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23130 on $(objpfx)tst-setvbuf1-cmp.out.
23131 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23132 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23133 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23134 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23135 ($(objpfx)tst-svc.out): Remove rule.
23136 ($(objpfx)tst-svc-cmp.out): New rule.
23138 2014-02-13 Joseph Myers <joseph@codesourcery.com>
23140 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23141 * ctype/ctype.h [__USE_MISC]: Likewise.
23142 * dirent/dirent.h [__USE_MISC]: Likewise.
23143 * grp/grp.h [__USE_MISC]: Likewise.
23144 * io/fcntl.h [__USE_MISC]: Likewise.
23145 * io/sys/stat.h [__USE_MISC]: Likewise.
23146 * libio/stdio.h [__USE_MISC]: Likewise.
23147 * posix/unistd.h [__USE_MISC]: Likewise.
23148 * pwd/pwd.h [__USE_MISC]: Likewise.
23149 * stdlib.h [__USE_MISC]: Likewise.
23150 * string/bits/string2.h [__USE_MISC]: Likewise.
23151 * string/string.h [__USE_MISC]: Likewise.
23152 * time/time.h [__USE_MISC]: Likewise.
23154 2014-02-13 Andreas Schwab <schwab@suse.de>
23157 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23158 second answer buffer if it was separately allocated.
23160 2014-02-12 Joseph Myers <joseph@codesourcery.com>
23162 * sysdeps/mips/math-tests.h: Include <features.h>.
23163 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23164 (ROUNDING_TESTS_long_double): Do not define.
23165 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23166 (EXCEPTION_TESTS_long_double): Likewise.
23167 * sysdeps/mips/mips64/libm-test-ulps: Update.
23169 * include/features.h (__USE_BSD): Remove macro definitions.
23170 (__USE_SVID): Likewise.
23171 (_BSD_SOURCE): Likewise.
23172 (_SVID_SOURCE): Likewise.
23173 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23174 from definition of _DEFAULT_SOURCE.
23175 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23177 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23178 * bits/mman.h [__USE_BSD]: Likewise.
23179 * bits/termios.h [__USE_BSD]: Likewise.
23180 * bits/waitstatus.h [__USE_BSD]: Likewise.
23181 * ctype/ctype.h [__USE_SVID]: Likewise.
23182 * dirent/dirent.h [__USE_BSD]: Likewise.
23183 * grp/grp.h [__USE_SVID]: Likewise.
23184 [__USE_BSD]: Likewise.
23185 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23186 * io/fcntl.h [__USE_BSD]: Likewise.
23187 * io/ftw.h [__USE_BSD]: Likewise.
23188 * io/sys/stat.h [__USE_BSD]: Likewise.
23189 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23190 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23191 * libio/stdio.h [__USE_SVID]: Likewise.
23192 [__USE_BSD]: Likewise.
23193 * math/math.h [__USE_SVID]: Likewise.
23194 [__USE_BSD]: Likewise.
23195 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23196 * misc/bits/syslog.h [__USE_BSD]: Likewise.
23197 * misc/search.h [__USE_SVID]: Likewise.
23198 * misc/sys/mman.h [__USE_BSD]: Likewise.
23199 * misc/sys/syslog.h [__USE_BSD]: Likewise.
23200 * misc/sys/uio.h [__USE_BSD]: Likewise.
23201 * posix/bits/unistd.h [__USE_BSD]: Likewise.
23202 * posix/glob.h [__USE_BSD]: Likewise.
23203 * posix/regex.h [__USE_BSD]: Likewise.
23204 * posix/sys/types.h [__USE_BSD]: Likewise.
23205 [__USE_SVID]: Likewise.
23206 * posix/sys/utsname.h [__USE_SVID]: Likewise.
23207 * posix/sys/wait.h [__USE_BSD]: Likewise.
23208 [__USE_SVID]: Likewise.
23209 * posix/unistd.h [__USE_BSD]: Likewise.
23210 [__USE_SVID]: Likewise.
23211 * pwd/pwd.h [__USE_SVID]: Likewise.
23212 * resolv/netdb.h [__USE_BSD]: Likewise.
23213 * setjmp/setjmp.h [__USE_BSD]: Likewise.
23214 * signal/signal.h [__USE_BSD]: Likewise.
23215 [__USE_SVID]: Likewise.
23216 * socket/sys/socket.h [__USE_BSD]: Likewise.
23217 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23218 * stdlib/stdlib.h [__USE_BSD]: Likewise.
23219 [__USE_SVID]: Likewise.
23220 * string/bits/string2.h [__USE_BSD]: Likewise.
23221 [__USE_SVID]: Likewise.
23222 * string/bits/string3.h [__USE_BSD]: Likewise.
23223 * string/endian.h [__USE_BSD]: Likewise.
23224 * string/string.h [__USE_SVID]: Likewise.
23225 [__USE_BSD]: Likewise.
23226 * string/strings.h [__USE_BSD]: Likewise.
23227 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23228 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23229 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23230 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23231 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23232 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23234 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23236 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23237 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23239 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23240 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23242 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23244 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23245 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23246 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23248 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23250 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23251 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23252 * termios/termios.h [__USE_BSD]: Likewise.
23253 * time/sys/time.h [__USE_BSD]: Likewise.
23254 * time/time.h [__USE_BSD]: Likewise.
23255 [__USE_SVID]: Likewise.
23257 * Makefile (subdir_targets): Remove subdir_lint.out.
23259 * stdio-common/Makefile (do-tst-unbputc): Remove target.
23260 (do-tst-printf): Likewise.
23261 (tests): Depend directly on $(objpfx)tst-unbputc.out and
23262 $(objpfx)tst-printf.out.
23264 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23266 * Makerules (check-abi-%): Change target to
23267 $(objpfx)check-abi-%.out.
23268 (check-abi target): Update dependencies.
23269 (check-abi-pattern variable): Redirect output of diff to $@.
23270 (check-abi variable): Likewise.
23271 * elf/Makefile (check-abi): Update dependencies.
23273 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23275 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23276 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23278 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23279 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23280 value has largest subnormal exponent.
23281 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23282 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23283 * sysdeps/aarch64/soft-fp/sfp-machine.h
23284 (_FP_TININESS_AFTER_ROUNDING): New macro.
23285 * sysdeps/alpha/soft-fp/sfp-machine.h
23286 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23287 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23289 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23290 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23291 * sysdeps/mips/soft-fp/sfp-machine.h
23292 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23293 * sysdeps/powerpc/soft-fp/sfp-machine.h
23294 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23295 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23297 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23298 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23299 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23300 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23301 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23304 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
23307 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23310 2014-02-12 Richard Henderson <rth@redhat.com>
23312 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23313 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23314 * sysdeps/unix/sysv/linux/alpha: Move directory from
23315 ports/sysdeps/unix/sysv/linux/alpha.
23316 * README: Update listing for alpha-*-linux-gnu.
23318 2014-02-11 Joseph Myers <joseph@codesourcery.com>
23320 * include/features.h: Update comment documenting feature test
23322 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
23324 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23325 (_SVID_SOURCE): Likewise.
23326 (_DEFAULT_SOURCE): Update description of default features.
23327 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23329 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23330 (S_ISVTX): Likewise.
23331 * manual/math.texi (Mathematical Constants): Likewise.
23332 * manual/signal.texi (Interrupted Primitives): Likewise.
23333 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23334 * math/test-matherr.c (_SVID_SOURCE): Do not define.
23335 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23336 Don't refer to _SVID_SOURCE in warning text.
23338 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23340 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23342 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23343 * sysdeps/mips/dl-lookup.c: Remove.
23344 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23346 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23349 * math/auto-libm-test-in: Add testcase for expl.
23350 * math/auto-libm-test-out: Regenerate.
23351 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23352 calculation of unsafe.
23353 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23355 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
23357 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23358 * sysdeps/unix/sysv/linux/aarch64: Move directory from
23359 ports/sysdeps/unix/sysv/linux/aarch64.
23360 * README: Update listing for aarch64*-*-linux-gnu.
23362 2014-02-11 Will Newton <will.newton@linaro.org>
23364 * manual/probes.texi (Mathematical Function Probes): Use
23365 "triggered" instead of "hit".
23367 * manual/probes.texi (Internal Probes): Add documentation
23368 of setjmp, longjmp and longjmp_target probes.
23370 * include/stap-probe.h: Add comment about probe argument
23373 * malloc/mtrace.c (attribute_hidden): Remove unused macro
23374 definition. (tr_where, tr_freehook, tr_mallochook,
23375 tr_reallochook, tr_memalignhook): Use ANSI protoype.
23377 2014-02-11 David S. Miller <davem@davemloft.net>
23379 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23380 processing int_tests.
23382 2014-02-10 Joseph Myers <joseph@codesourcery.com>
23384 * sysdeps/mips: Move directory from ports/sysdeps/mips.
23385 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23386 * sysdeps/unix/sysv/linux/mips: Move directory from
23387 ports/sysdeps/unix/sysv/linux/mips.
23388 * README: Update listing for mips-*-linux-gnu and
23389 mips64-*-linux-gnu.
23391 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
23393 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23394 * sysdeps/unix/sysv/linux/m68k: Move directory from
23395 ports/sysdeps/unix/sysv/linux/m68k.
23396 * README: Update listing for m68k-*-linux-gnu.
23398 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
23400 * sysdeps/tile: Move directory from ports/sysdeps/tile.
23401 * sysdeps/unix/sysv/linux/generic: Move directory from
23402 ports/sysdeps/unix/sysv/linux/generic.
23403 * sysdeps/unix/sysv/linux/tile: Move directory from
23404 ports/sysdeps/unix/sysv/linux/tile.
23405 * README: Update listing for tile*-*-linux-gnu.
23407 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
23409 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23411 * benchtests/bench-memmem.c (simple_memmem): Likewise.
23412 * catgets/open_catalog.c (__open_catalog): Likewise.
23413 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23414 * debug/confstr_chk.c: Likewise.
23415 * debug/fread_chk.c (__fread_chk): Likewise.
23416 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23417 * debug/getgroups_chk.c: Likewise.
23418 * debug/mbsnrtowcs_chk.c: Likewise.
23419 * debug/mbsrtowcs_chk.c: Likewise.
23420 * debug/mbstowcs_chk.c: Likewise.
23421 * debug/memcpy_chk.c: Likewise.
23422 * debug/memmove_chk.c: Likewise.
23423 * debug/mempcpy_chk.c: Likewise.
23424 * debug/memset_chk.c: Likewise.
23425 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23426 * debug/strcat_chk.c (__strcat_chk): Likewise.
23427 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23428 * debug/strncat_chk.c (__strncat_chk): Likewise.
23429 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23430 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23431 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23432 * debug/wcpncpy_chk.c: Likewise.
23433 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23434 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23435 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23436 * debug/wcsncpy_chk.c: Likewise.
23437 * debug/wcsnrtombs_chk.c: Likewise.
23438 * debug/wcsrtombs_chk.c: Likewise.
23439 * debug/wcstombs_chk.c: Likewise.
23440 * debug/wmemcpy_chk.c: Likewise.
23441 * debug/wmemmove_chk.c: Likewise.
23442 * debug/wmempcpy_chk.c: Likewise.
23443 * debug/wmemset_chk.c: Likewise.
23444 * dirent/scandirat.c (SCANDIRAT): Likewise.
23445 * dlfcn/dladdr1.c (dladdr1): Likewise.
23446 * dlfcn/dladdr.c (dladdr): Likewise.
23447 * dlfcn/dlclose.c (dlclose_doit): Likewise.
23448 * dlfcn/dlerror.c (__dlerror): Likewise.
23449 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23450 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23451 * dlfcn/dlopen.c (dlopen_doit): Likewise.
23452 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23453 * dlfcn/dlsym.c (dlsym_doit): Likewise.
23454 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23455 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23456 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23458 * elf/dl-conflict.c: Likewise.
23459 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23460 * elf/dl-dst.h: Likewise.
23461 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23462 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23463 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23464 * elf/dl-init.c (call_init, _dl_init): Likewise.
23465 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23466 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23467 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23469 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23471 * elf/dl-minimal.c (__libc_memalign): Likewise.
23472 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23473 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23474 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23475 * elf/dl-sym.c (do_sym): Likewise.
23476 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23477 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23478 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23479 * elf/dl-writev.h (_dl_writev): Likewise.
23480 * elf/ldconfig.c (search_dir): Likewise.
23481 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23482 (dl_main): Likewise.
23483 * elf/setup-vdso.h (setup_vdso): Likewise.
23484 * grp/compat-initgroups.c (compat_call): Likewise.
23485 * grp/fgetgrent.c (fgetgrent): Likewise.
23486 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23487 * grp/putgrent.c (putgrent): Likewise.
23488 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23490 * hurd/hurdinit.c: Likewise.
23491 * iconvdata/8bit-gap.c (struct): Likewise.
23492 * iconvdata/ansi_x3.110.c : Likewise.
23493 * iconvdata/big5.c : Likewise.
23494 * iconvdata/big5hkscs.c : Likewise.
23495 * iconvdata/cp1255.c: Likewise.
23496 * iconvdata/cp1258.c : Likewise.
23497 * iconvdata/cp932.c : Likewise.
23498 * iconvdata/euc-cn.c: Likewise.
23499 * iconvdata/euc-jisx0213.c : Likewise.
23500 * iconvdata/euc-jp.c: Likewise.
23501 * iconvdata/euc-jp-ms.c : Likewise.
23502 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23503 * iconvdata/gb18030.c : Likewise.
23504 * iconvdata/gbbig5.c (const): Likewise.
23505 * iconvdata/gbgbk.c: Likewise.
23506 * iconvdata/gbk.c : Likewise.
23507 * iconvdata/ibm1364.c : Likewise.
23508 * iconvdata/ibm930.c : Likewise.
23509 * iconvdata/ibm932.c: Likewise.
23510 * iconvdata/ibm933.c : Likewise.
23511 * iconvdata/ibm935.c : Likewise.
23512 * iconvdata/ibm937.c : Likewise.
23513 * iconvdata/ibm939.c : Likewise.
23514 * iconvdata/ibm943.c: Likewise.
23515 * iconvdata/iso_11548-1.c: Likewise.
23516 * iconvdata/iso-2022-cn.c : Likewise.
23517 * iconvdata/iso-2022-cn-ext.c : Likewise.
23518 * iconvdata/iso-2022-jp-3.c: Likewise.
23519 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23520 * iconvdata/iso-2022-kr.c : Likewise.
23521 * iconvdata/iso646.c (gconv_end): Likewise.
23522 * iconvdata/iso_6937-2.c : Likewise.
23523 * iconvdata/iso_6937.c : Likewise.
23524 * iconvdata/iso8859-1.c: Likewise.
23525 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23526 * iconvdata/shift_jisx0213.c : Likewise.
23527 * iconvdata/sjis.c : Likewise.
23528 * iconvdata/t.61.c : Likewise.
23529 * iconvdata/tcvn5712-1.c : Likewise.
23530 * iconvdata/tscii.c: Likewise.
23531 * iconvdata/uhc.c : Likewise.
23532 * iconvdata/unicode.c (gconv_end): Likewise.
23533 * iconvdata/utf-16.c (gconv_end): Likewise.
23534 * iconvdata/utf-32.c (gconv_end): Likewise.
23535 * iconvdata/utf-7.c (base64): Likewise.
23536 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23537 * iconv/gconv_close.c (__gconv_close): Likewise.
23538 * iconv/gconv_open.c (__gconv_open): Likewise.
23539 * iconv/gconv_simple.c (internal_ucs4_loop_single)
23540 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23541 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23542 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23543 (ucs4le_internal_loop_single): Likewise.
23544 * iconv/iconv.c (iconv): Likewise.
23545 * iconv/iconv_close.c: Likewise.
23546 * iconv/loop.c (SINGLE): Likewise.
23547 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23548 * include/atomic.h: Likewise.
23549 * inet/inet6_option.c (option_alloc): Likewise.
23550 * intl/bindtextdom.c (set_binding_values): Likewise.
23551 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23552 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23553 * intl/localealias.c (read_alias_file): Likewise.
23554 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23555 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23556 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23557 * libio/fmemopen.c (fmemopen): Likewise.
23558 * libio/iofgets.c (_IO_fgets): Likewise.
23559 * libio/iofgets_u.c (fgets_unlocked): Likewise.
23560 * libio/iofgetws.c (fgetws): Likewise.
23561 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23562 * libio/iogetdelim.c (_IO_getdelim): Likewise.
23563 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23564 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23565 * locale/findlocale.c (_nl_find_locale): Likewise.
23566 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23567 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23569 * locale/setlocale.c (setlocale): Likewise.
23570 * login/programs/pt_chown.c (main): Likewise.
23571 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23572 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23573 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23574 (mmap, mmap64, mremap, munmap): Likewise.
23575 * math/e_exp2l.c: Likewise.
23576 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23577 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23578 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23579 * math/s_catan.c (__catan): Likewise.
23580 * math/s_catanf.c (__catanf): Likewise.
23581 * math/s_catanh.c (__catanh): Likewise.
23582 * math/s_catanhf.c (__catanhf): Likewise.
23583 * math/s_catanhl.c (__catanhl): Likewise.
23584 * math/s_catanl.c (__catanl): Likewise.
23585 * math/s_ccosh.c (__ccosh): Likewise.
23586 * math/s_ccoshf.c (__ccoshf): Likewise.
23587 * math/s_ccoshl.c (__ccoshl): Likewise.
23588 * math/s_cexp.c (__cexp): Likewise.
23589 * math/s_cexpf.c (__cexpf): Likewise.
23590 * math/s_cexpl.c (__cexpl): Likewise.
23591 * math/s_clog10.c (__clog10): Likewise.
23592 * math/s_clog10f.c (__clog10f): Likewise.
23593 * math/s_clog10l.c (__clog10l): Likewise.
23594 * math/s_clog.c (__clog): Likewise.
23595 * math/s_clogf.c (__clogf): Likewise.
23596 * math/s_clogl.c (__clogl): Likewise.
23597 * math/s_csin.c (__csin): Likewise.
23598 * math/s_csinf.c (__csinf): Likewise.
23599 * math/s_csinh.c (__csinh): Likewise.
23600 * math/s_csinhf.c (__csinhf): Likewise.
23601 * math/s_csinhl.c (__csinhl): Likewise.
23602 * math/s_csinl.c (__csinl): Likewise.
23603 * math/s_csqrt.c (__csqrt): Likewise.
23604 * math/s_csqrtf.c (__csqrtf): Likewise.
23605 * math/s_csqrtl.c (__csqrtl): Likewise.
23606 * math/s_ctan.c (__ctan): Likewise.
23607 * math/s_ctanf.c (__ctanf): Likewise.
23608 * math/s_ctanh.c (__ctanh): Likewise.
23609 * math/s_ctanhf.c (__ctanhf): Likewise.
23610 * math/s_ctanhl.c (__ctanhl): Likewise.
23611 * math/s_ctanl.c (__ctanl): Likewise.
23612 * math/w_pow.c: Likewise.
23613 * math/w_powf.c: Likewise.
23614 * math/w_powl.c: Likewise.
23615 * math/w_scalb.c (sysv_scalb): Likewise.
23616 * math/w_scalbf.c (sysv_scalbf): Likewise.
23617 * math/w_scalbl.c (sysv_scalbl): Likewise.
23618 * misc/error.c (error_tail): Likewise.
23619 * misc/pselect.c (__pselect): Likewise.
23620 * nis/nis_callback.c (__nis_create_callback): Likewise.
23621 * nis/nis_call.c (__nisfind_server): Likewise.
23622 * nis/nis_creategroup.c (nis_creategroup): Likewise.
23623 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23624 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23625 * nis/nis_getservlist.c (nis_getservlist): Likewise.
23626 * nis/nis_lookup.c (nis_lookup): Likewise.
23627 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23628 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23629 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23630 * nis/nis_xdr.c (xdr_endpoint): Likewise.
23631 * nis/nss_compat/compat-grp.c (getgrent_next_file)
23632 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23633 * nis/nss_compat/compat-initgroups.c (add_group)
23634 (internal_getgrent_r): Likewise.
23635 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23636 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23637 * nis/nss_compat/compat-spwd.c (getspent_next_file)
23638 (internal_getspnam_r): Likewise.
23639 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23640 (_nss_nis_getaliasbyname_r): Likewise.
23641 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23642 (_nss_nis_getntohost_r): Likewise.
23643 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23644 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23645 (_nss_nis_getgrgid_r): Likewise.
23646 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23647 (internal_nis_gethostent_r, internal_gethostbyname2_r)
23648 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23649 (_nss_nis_gethostbyname4_r): Likewise.
23650 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23651 (initgroups_netid): Likewise.
23652 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23653 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23654 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23655 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23656 (_nss_nis_getprotobynumber_r): Likewise.
23657 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23658 (_nss_nis_getsecretkey): Likewise.
23659 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23660 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23661 (_nss_nis_getpwuid_r): Likewise.
23662 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23663 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23664 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23665 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23666 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23667 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23668 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23670 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23671 (_nss_nisplus_getntohost_r): Likewise.
23672 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23673 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23674 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23675 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23677 * nis/nss_nisplus/nisplus-initgroups.c
23678 (_nss_nisplus_initgroups_dyn): Likewise.
23679 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23680 (_nss_nisplus_getnetbyaddr_r): Likewise.
23681 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23682 (_nss_nisplus_getprotobynumber_r): Likewise.
23683 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23684 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23685 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23687 * nis/nss_nisplus/nisplus-service.c
23688 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23689 (_nss_nisplus_getservbyport_r): Likewise.
23690 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23691 (_nss_nisplus_getspnam_r): Likewise.
23692 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23694 * nscd/aicache.c (addhstaiX): Likewise.
23695 * nscd/cache.c (cache_search, prune_cache): Likewise.
23696 * nscd/connections.c (register_traced_file, send_ro_fd)
23697 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23698 (main_loop_epoll): Likewise.
23699 * nscd/grpcache.c (addgrbyX): Likewise.
23700 * nscd/hstcache.c (addhstbyX): Likewise.
23701 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23702 * nscd/mem.c (gc, mempool_alloc): Likewise.
23703 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23704 (addinnetgrX): Likewise.
23705 * nscd/nscd-client.h (__nscd_acquire_maplock)
23706 (__nscd_drop_map_ref): Likewise.
23707 * nscd/nscd_getai.c (__nscd_getai): Likewise.
23708 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23709 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23711 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23712 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23713 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23714 (__nscd_get_map_ref): Likewise.
23715 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23716 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23718 * nscd/pwdcache.c (addpwbyX): Likewise.
23719 * nscd/selinux.c (preserve_capabilities): Likewise.
23720 * nscd/servicescache.c (addservbyX): Likewise.
23721 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23722 * posix/fnmatch.c (fnmatch): Likewise.
23723 * posix/getopt.c (_getopt_internal_r): Likewise.
23724 * posix/glob.c (glob, glob_in_dir): Likewise.
23725 * posix/wordexp.c (exec_comm_child): Likewise.
23726 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23727 (getanswer_r, gaih_getanswer_slice): Likewise.
23728 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23729 * resolv/res_init.c: Likewise.
23730 * resolv/res_mkquery.c (res_nmkquery): Likewise.
23731 * resolv/res_query.c (__libc_res_nquery): Likewise.
23732 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23734 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23735 * stdio-common/perror.c (perror): Likewise.
23736 * stdio-common/printf_fp.c (___printf_fp): Likewise.
23737 * stdio-common/tmpnam.c (tmpnam): Likewise.
23738 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23739 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23740 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23742 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23743 * stdlib/putenv.c (putenv): Likewise.
23744 * stdlib/setenv.c (__add_to_environ): Likewise.
23745 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23746 * stdlib/strtol_l.c (INTERNAL): Likewise.
23747 * string/memmem.c (memmem): Likewise.
23748 * string/strerror.c (strerror): Likewise.
23749 * string/strnlen.c (__strnlen): Likewise.
23750 * string/test-memmem.c (simple_memmem): Likewise.
23751 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23752 * sunrpc/pm_getport.c (__get_socket): Likewise.
23753 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23754 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23755 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23756 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23758 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23759 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23760 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23761 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23762 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23763 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23765 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23767 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23768 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23769 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23770 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23771 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23773 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23774 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23775 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23776 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23777 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23778 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23780 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23782 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23784 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23785 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23786 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23787 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23788 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23789 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23790 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23791 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23792 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23793 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23794 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23795 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23796 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23797 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23799 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23801 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23803 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23805 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23807 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23808 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23809 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23811 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23812 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23813 * sysdeps/posix/opendir.c (__opendirat): Likewise.
23814 * sysdeps/posix/sleep.c: Likewise.
23815 * sysdeps/posix/tempname.c: Likewise.
23816 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23817 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23819 * sysdeps/powerpc/powerpc32/dl-machine.h
23820 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23821 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23822 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23823 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23824 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23826 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23827 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23828 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23829 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23830 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23831 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23832 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23833 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23834 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23835 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23836 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23837 (elf_machine_lazy_rel): Likewise.
23838 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23839 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23840 (elf_machine_lazy_rel): Likewise.
23841 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23842 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23843 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23844 * sysdeps/unix/grantpt.c (grantpt): Likewise.
23845 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23846 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23847 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23848 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23850 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23851 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23852 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23853 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23854 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23855 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23856 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23857 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23858 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23859 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23860 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23862 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23863 (__posix_fallocate64_l64): Likewise.
23864 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23865 (posix_fallocate): Likewise.
23866 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23868 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23869 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23870 (getifaddrs_internal): Likewise.
23871 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23872 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23873 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23874 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23875 * sysdeps/unix/sysv/linux/posix_fallocate64.c
23876 (__posix_fallocate64_l64): Likewise.
23877 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23879 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23880 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23881 (__get_clockfreq): Likewise.
23882 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23883 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23884 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23885 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23886 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23887 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23888 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23889 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23891 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23892 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23893 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23894 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23895 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23896 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23897 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23899 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23900 (posix_fallocate): Likewise.
23901 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23902 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23903 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23904 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23905 (elf_machine_rela, elf_machine_rela_relative)
23906 (elf_machine_lazy_rel): Likewise.
23907 * time/asctime.c (asctime_internal): Likewise.
23908 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23909 * time/tzset.c (__tzset_parse_tz): Likewise.
23910 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23911 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23912 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23913 * wcsmbs/wcsmbsload.h: Likewise.
23916 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23918 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23919 (arena_get2): Remove THREAD_STATS conditionals.
23920 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23921 (__malloc_stats, int): Likewise.
23923 2014-02-08 Mike Frysinger <vapier@gentoo.org>
23925 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23926 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
23928 * manual/setjmp.texi: Fix typos/grammar errors.
23930 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23931 Only return early when n is <= 0. Delete unused return statement.
23933 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23934 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23935 * debug/tst-longjmp_chk3.c: New file.
23937 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23938 (test_main): Replace code with set_fortify_handler call.
23939 * debug/test-strcpy_chk.c: Likewise.
23940 * debug/tst-chk1.c: Likewise.
23941 * debug/tst-longjmp_chk.c: Likewise.
23942 * test-skeleton.c: Include fcntl.h & paths.h
23943 (set_fortify_handler): Define.
23945 * debug/tst-longjmp_chk.c: Add header comment and include
23946 ../test-skeleton.c.
23947 (do_test): Mark static.
23948 (TEST_FUNCTION): Define.
23950 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23951 (IP_PMTUDISC_INTERFACE): Likewise.
23952 (IP_MULTICAST_IF): Likewise.
23953 (IP_MULTICAST_TTL): Likewise.
23954 (IP_MULTICAST_LOOP): Likewise.
23955 (IP_ADD_MEMBERSHIP): Likewise.
23956 (IP_DROP_MEMBERSHIP): Likewise.
23957 (IP_UNBLOCK_SOURCE): Likewise.
23958 (IP_BLOCK_SOURCE): Likewise.
23959 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23960 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23961 (IP_MSFILTER): Likewise.
23962 (MCAST_JOIN_GROUP): Likewise.
23963 (MCAST_BLOCK_SOURCE): Likewise.
23964 (MCAST_UNBLOCK_SOURCE): Likewise.
23965 (MCAST_LEAVE_GROUP): Likewise.
23966 (MCAST_JOIN_SOURCE_GROUP): Likewise.
23967 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23968 (MCAST_MSFILTER): Likewise.
23969 (IP_MULTICAST_ALL): Likewise.
23970 (IP_UNICAST_IF): Likewise.
23972 * timezone/Makefile: Delete $(have-ksh) check.
23973 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23974 * timezone/tzselect.ksh: Add +x mode bits.
23976 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23977 (ANON_INODE_FS_MAGIC): Likewise.
23978 (BDEVFS_MAGIC): Likewise.
23979 (BINFMTFS_MAGIC): Likewise.
23980 (BTRFS_TEST_MAGIC): Likewise.
23981 (CRAMFS_MAGIC_WEND): Likewise.
23982 (DEBUGFS_MAGIC): Likewise.
23983 (ECRYPTFS_SUPER_MAGIC): Likewise.
23984 (EXT3_SUPER_MAGIC): Likewise.
23985 (EXT4_SUPER_MAGIC): Likewise.
23986 (FUTEXFS_SUPER_MAGIC): Likewise.
23987 (HOSTFS_SUPER_MAGIC): Likewise.
23988 (HUGETLBFS_MAGIC): Likewise.
23989 (MINIX3_SUPER_MAGIC): Likewise.
23990 (MTD_INODE_FS_MAGIC): Likewise.
23991 (NILFS_SUPER_MAGIC): Likewise.
23992 (OPENPROM_SUPER_MAGIC): Likewise.
23993 (PIPEFS_MAGIC): Likewise.
23994 (PSTOREFS_MAGIC): Likewise.
23995 (QNX6_SUPER_MAGIC): Likewise.
23996 (RAMFS_MAGIC): Likewise.
23997 (REISERFS_SUPER_MAGIC_STRING): Likewise.
23998 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23999 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
24000 (SECURITYFS_MAGIC): Likewise.
24001 (SELINUX_MAGIC): Likewise.
24002 (SMACK_MAGIC): Likewise.
24003 (SOCKFS_MAGIC): Likewise.
24004 (SQUASHFS_MAGIC): Likewise.
24005 (STACK_END_MAGIC): Likewise.
24006 (TMPFS_MAGIC): Likewise.
24007 (USBDEVICE_SUPER_MAGIC): Likewise.
24008 (V9FS_MAGIC): Likewise.
24009 (XENFS_SUPER_MAGIC): Likewise.
24010 (CRAMFS_MAGIC): Fix typo in comment.
24011 (EXT2_SUPER_MAGIC): Update comment.
24012 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
24014 2014-02-08 Joseph Myers <joseph@codesourcery.com>
24016 * sysdeps/arm: Move directory from ports/sysdeps/arm.
24017 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
24018 * sysdeps/unix/sysv/linux/arm: Move directory from
24019 ports/sysdeps/unix/sysv/linux/arm.
24020 * README: Update listing for arm-*-linux-gnueabi.
24022 * README: Remove mention of am33.
24024 2014-02-07 Roland McGrath <roland@hack.frob.com>
24026 * bits/sigset.h (__sigemptyset): Use a statement expression rather
24027 than the comma operator, to avoid "rhs of comma has no effect"
24029 (__sigfillset, __sigandset, __sigorset): Likewise.
24030 * include/signal.h (__sigemptyset): Likewise.
24031 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
24033 2014-02-07 Allan McRae <allan@archlinux.org>
24035 * version.h (RELEASE): Set to "development".
24036 (VERSION): Set to "2.19.90"
24037 * NEWS: Add 2.20 section.
24039 2014-02-06 Carlos O'Donell <carlos@redhat.com>
24042 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
24044 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24046 * manual/contrib.texi: Update entry for Carlos O'Donell,
24047 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
24049 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
24051 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
24053 * sysdeps/unix/sysv/linux/kernel-features.h
24054 [__LINUX_KERNEL_VERSION >= 0x020621]
24055 (__ASSUME_PROC_PID_TASK_COMM): Define.
24057 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24060 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
24061 conversion when destination buffer does not have enough space.
24062 * libio/tst-ftell-partial-wide.c: New test case.
24063 * libio/Makefile (tests): Add tst-ftell-partial-wide.
24065 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
24066 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
24067 Leonard and Allan McRae.
24069 2014-02-04 David S. Miller <davem@davemloft.net>
24071 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
24074 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24103 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24105 * nptl/shlib-versions: Change powerpc*le start to 2.17.
24106 * shlib-versions: Likewise.
24108 2014-02-04 Roland McGrath <roland@hack.frob.com>
24109 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24111 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24112 (abilist-pattern): New variable, set to %-le.abilist.
24114 * Makerules (abilist-pattern): New variable.
24115 (vpath): Use $(abilist-pattern) in place of %.abilist.
24116 (check-abi-% pattern rule): Likewise.
24117 (check-abi, update-abi): Likewise.
24119 2014-02-04 Eric Wong <normalperson@yhbt.net>
24121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24123 2014-02-03 Carlos O'Donell <carlos@redhat.com>
24125 * manual/startup.texi: Add next, previous, and top entries for
24126 the `Program Arguments' and `Environment Variables' nodes.
24128 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
24130 * manual/macros.texi: Add comments before MTASC-safety macros.
24132 * manual/users.texi: Document MTASC-safety properties.
24134 * manual/threads.texi (pthread_key_create, pthread_key_delete)
24135 (pthread_getspecific, pthread_setspecific): Format with
24136 @deftypefun, and add @safety note.
24137 * manual/signal.texi: Move comments that analyze the above
24138 functions to their home place.
24140 2014-02-03 Allan McRae <allan@archlinux.org>
24142 * po/sl.po: Update Slovenian translation from translation project.
24144 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
24146 * manual/time.texi (timegm): Add missing blank after @c.
24147 Reported by Joseph Myers <joseph@codesourcery.com>.
24149 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
24151 * manual/check-safety.sh: New.
24152 * manual/Makefile ($(objpfx)stamp-summary): Run it.
24154 * manual/terminal.texi: Document MTASC-safety properties.
24156 * manual/filesys.texi: Document MTASC-safety properties.
24158 * manual/errno.texi: Document MTASC-safety properties.
24160 * manual/intro.texi: Document safety identifiers and
24163 * manual/string.texi (wcstok): Fix prototype.
24164 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24166 * manual/time.texi: Document MTASC-safety properties.
24168 * manual/string.texi: Document MTASC-safety properties.
24170 * manual/threads.texi: Document MTASC-safety properties.
24172 * manual/stdio.texi: Document MTASC-safety properties.
24174 * manual/syslog.texi: Document MTASC-safety properties.
24176 * manual/sysinfo.texi: Document MTASC-safety properties.
24178 * manual/startup.texi: Document MTASC-safety properties.
24180 * manual/socket.texi: Document MTASC-safety properties.
24182 * manual/signal.texi: Document MTASC-safety properties.
24184 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
24186 * manual/setjmp.texi: Document MTASC-safety properties.
24188 * manual/search.texi: Document MTASC-safety properties.
24190 * manual/resource.texi: Document MTASC-safety properties.
24192 * manual/process.texi: Document MTASC-safety properties.
24194 * manual/platform.texi: Document MTASC-safety properties.
24196 * manual/pipe.texi: Document MTASC-safety properties.
24198 * manual/pattern.texi: Document MTASC-safety properties.
24200 * manual/message.texi: Document MTASC-safety properties.
24203 * manual/memory.texi: Document MTASC-safety properties.
24205 * manual/math.texi: Document MTASC-safety properties.
24207 * manual/locale.texi: Document MTASC-safety properties.
24209 * manual/llio.texi: Document MTASC-safety properties.
24211 * manual/libdl.texi: New.
24213 * manual/lang.texi: Document MTASC-safety properties.
24215 * manual/job.texi: Document MTASC-safety properties.
24217 * manual/getopt.texi: Document MTASC-safety properties.
24219 * manual/ctype.texi: Document MTASC-safety properties.
24221 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
24224 * csu/libc-tls.c (static_map): Remove variable.
24225 (__libc_setup_tls): Use main executable's link map for TLS data.
24226 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24227 casing for LM_ID_BASE and GL(dl_nns).
24228 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24229 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
24230 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24231 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24232 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24234 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24237 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
24239 * manual/debug.texi: Document MTASC-safety properties.
24241 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
24244 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24245 of __x86_64__ when disabling x87 inline functions.
24247 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
24249 * manual/charset.texi: Document MTASC-safety properties.
24251 * manual/crypt.texi: Document MTASC-safety properties.
24253 * manual/conf.texi: Document MTASC-safety properties.
24255 * manual/arith.texi: Document MTASC-safety properties.
24257 * manual/argp.texi: Document MTASC-safety properties.
24259 * manual/macros.texi: Introduce macros to document multi
24260 thread, asynchronous signal and asynchronous cancellation
24262 * manual/intro.texi: Introduce the properties themselves.
24264 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24266 * sysdeps/sh/sh4/Makefile: New file.
24268 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
24270 * math/gen-libm-test.pl ($srcdir): New variable.
24271 ($auto_input): Use it.
24273 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24276 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24277 access beyond array bounds when parsing netgroups file.
24279 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24280 the old buffer before realloc.
24282 2014-01-27 Allan McRae <allan@archlinux.org>
24284 * po/fr.po: Update French translation from translation project.
24286 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24288 * sysdeps/sh/libm-test-ulps: Regenerate.
24290 2014-01-24 David S. Miller <davem@davemloft.net>
24292 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24294 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24296 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24297 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24299 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24302 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24303 string pointers after reallocation.
24305 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24307 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24308 __SH4A__ instead of __SH_FPU_ANY__.
24310 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24312 * sysdeps/sh/fpu_control.h: New file.
24313 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24314 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24315 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24316 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24317 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24318 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24319 * sysdeps/sh/sys/ucontext.h: Remove.
24320 * sysdeps/sh/sys: Remove directory.
24322 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24324 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24325 s390/sys/ucontext.h.
24326 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24327 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24329 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
24332 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24334 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24337 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24338 Adjust the vDSO correctly for internal calls.
24339 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24341 2014-01-20 Allan McRae <allan@archlinux.org>
24343 * po/ca.po: Update Catalan translation from translation project.
24345 2014-01-16 Mike Frysinger <vapier@gentoo.org>
24347 * sysdeps/s390/sotruss-lib.c: New file.
24349 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24352 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24353 (__GI___gettimeofday): Alias for a different internal symbol to avoid
24354 local calls issues by not having a PLT stub required for IFUNC calls.
24355 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24357 2014-01-16 Joseph Myers <joseph@codesourcery.com>
24359 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24360 * math/test-fpucw-static.c: Likewise.
24362 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24365 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24367 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24369 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24370 implementation for powerpc.
24372 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
24375 * sysdeps/posix/system.c (__libc_system): Do not enable
24376 asynchronous cancellation.
24378 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24381 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24382 handling only for numbers special also in the IEEE case.
24384 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24386 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24388 2014-01-11 Allan McRae <allan@archlinux.org>
24390 * po/bg.po: Update Bulgarian translation from translation project.
24392 * po/de.po: Update German translation from translation project.
24394 2014-01-10 Roland McGrath <roland@hack.frob.com>
24396 * sysdeps/generic/gcc-compat.h: New file.
24398 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24400 * benchtests/asin-inputs: Correct slow inputs.
24401 * benchtests/acos-inputs: Likewise.
24403 2014-01-10 Allan McRae <allan@archlinux.org>
24405 * po:sv.po: Update Swedish translation from translation project.
24407 * po/vi.po: Update Vietnamese translation from translation project.
24409 * po/eo.po: Update Esperanto translation from translation project.
24411 * po/cs.po: Update Czech translation from translation project.
24413 * po/nl.po: Update Dutch translation from translation project.
24415 * po/pl.po: Update Polish translation from translation project.
24417 * po/ru.po: Update Russian translation from translation project.
24419 * po/uk.po: Update Ukrainian translation from translation project.
24421 2014-01-08 Brooks Moses <bmoses@google.com>
24423 * elf/dl-load.c: Fix comment typo.
24425 2014-01-08 Carlos O'Donell <carlos@redhat.com>
24427 * po/header.pot: Rename to...
24428 * po/pot.header: ... this.
24429 * po/Makefile: Use pot.header.
24431 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
24432 Maxim Kuvyrkov <maxim@kugelworks.com>
24435 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24436 SRC and DEST against LEN.
24438 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24441 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24443 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24445 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24449 2014-01-08 Joseph Myers <joseph@codesourcery.com>
24452 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24453 for large positive arguments.
24455 2014-01-07 Joseph Myers <joseph@codesourcery.com>
24457 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24459 * math/auto-libm-test-in: Mark various tests with
24460 xfail-rounding:ldbl-128ibm.
24461 * math/auto-libm-test-out: Regenerated.
24464 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24465 Increase overflow threshold.
24467 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
24470 * stdio-common/vfprintf.c: Check for integer overflow.
24472 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24474 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24475 the first argument and return value of __tls_get_addr_internal.
24477 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24479 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24480 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24482 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24484 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24485 * sysdeps/s390/rtld-global-offsets.sym: New file.
24486 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24488 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24489 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24490 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24492 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24493 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24499 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24500 halfs of GPRs for high_gprs contexts.
24501 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24502 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
24504 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24506 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24508 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24509 for high GPRs (uc_high_gprs) and for future extensions
24511 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24512 for future extensions (__reserved).
24513 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24515 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24516 SC_HIGHGPRS offset definition.
24517 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24518 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24520 * Versions.def: Add GLIBC_2.19 for libpthread.
24521 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24522 siglongjmp for libpthread with GLIBC_2.19 symver.
24523 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24524 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24525 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24526 * sysdeps/s390/__longjmp.c: New file.
24527 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24528 * sysdeps/s390/longjmp.c: New file.
24529 * sysdeps/s390/setjmp.S: New file.
24530 * sysdeps/s390/sigjmp.S: New file.
24531 * sysdeps/s390/v1-longjmp.c: New file.
24532 * sysdeps/s390/v1-setjmp.h: New file.
24533 * sysdeps/s390/v1-sigjmp.c: New file.
24534 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24535 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24536 GLIBC_2.19 version.
24537 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24538 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24539 versioned symbols for ____longjmp_chk.
24540 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24550 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24551 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24552 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24553 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24554 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24555 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24556 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24557 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24558 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24559 * sysdeps/s390/rtld-__longjmp.c: New file.
24560 * sysdeps/s390/rtld-setjmp.S: New file.
24562 2014-01-06 Joseph Myers <joseph@codesourcery.com>
24565 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24566 Return -__logl (x) for small positive arguments without evaluating
24569 2014-01-06 Mike Frysinger <vapier@gentoo.org>
24571 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24573 (__ptrace_peeksiginfo_args): ... this.
24574 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24575 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24576 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24578 2014-01-06 Allan McRae <allan@archlinux.org>
24580 * inet/netinet/in.h: Fix typo in comment.
24582 2014-01-05 Andreas Jaeger <aj@suse.de>
24584 * sysdeps/i386/fpu/libm-test-ulps: Update.
24586 2014-01-05 Allan McRae <allan@archlinux.org>
24588 * po/libc.pot: Regenerated.
24590 * malloc/memusagestat.c: Fix gettext call formatting.
24592 2014-01-04 Sami Kerola <kerolasa@iki.fi>
24594 * nscd/nscd.c: Improve usage() output.
24596 2014-01-04 Mike Frysinger <vapier@gentoo.org>
24598 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24599 * sysdeps/unix/sysv/linux/configure: Regenerated.
24600 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24601 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24603 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24606 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24607 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24609 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24611 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24612 extra tokens at end of #undef directive.
24613 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24614 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24615 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24617 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24619 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24621 * math/auto-libm-test-in: Mark various tests with
24622 xfail-rounding:ldbl-128ibm.
24623 * math/auto-libm-test-out: Regenerated.
24625 2014-01-02 Joseph Myers <joseph@codesourcery.com>
24628 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24629 numbers with subnormal high part when calculating exponent.
24632 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24636 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24638 (__ieee754_acoshl): Use __log1pl not __log1p.
24640 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
24642 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24643 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24644 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24645 (grow_heap, heap_trim, _int_new_arena, get_free_list)
24646 (reused_arena, arena_get2): Convert to GNU style.
24647 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24648 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24649 (memalign_check, __malloc_set_state): Likewise.
24650 * malloc/mallocbug.c (main): Likewise.
24651 * malloc/malloc.c (__malloc_assert, malloc_init_state)
24652 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24653 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24654 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24655 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24656 (__posix_memalign, malloc_info): Likewise.
24657 * malloc/malloc.h: Likewise.
24658 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24659 (mallochook, memalignhook, reallochook, mabort): Likewise.
24660 * malloc/mcheck.h: Likewise.
24661 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24662 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24663 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24664 * malloc/morecore.c (__default_morecore): Likewise.
24665 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24666 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24667 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24668 (print_and_abort): Likewise.
24669 * malloc/obstack.h: Likewise.
24670 * malloc/set-freeres.c (__libc_freeres): Likewise.
24671 * malloc/tst-mallocstate.c (main): Likewise.
24672 * malloc/tst-mtrace.c (main): Likewise.
24673 * malloc/tst-realloc.c (do_test): Likewise.
24675 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24678 * nscd/netgroupcache.c (do_notfound): New function.
24679 (addgetnetgrentX): Use it.
24682 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24683 NSS_STATUS_NOTFOUND.
24685 2014-01-01 Joseph Myers <joseph@codesourcery.com>
24687 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24690 2014-01-01 Allan McRae <allan@archlinux.org>
24692 * scripts/update-copyrights: Update configure input file suffix.
24694 * NEWS: Update copyright year.
24695 * catgets/gencat.c: Likewise.
24696 * csu/version.c: Likewise.
24697 * debug/catchsegv.sh: Likewise.
24698 * debug/pcprofiledump.c: Likewise.
24699 * debug/xtrace.sh: Likewise.
24700 * elf/ldconfig.c: Likewise.
24701 * elf/ldd.bash.in: Likewise.
24702 * elf/pldd.c: Likewise.
24703 * elf/sotruss.ksh: Likewise.
24704 * elf/sprof.c: Likewise.
24705 * iconv/iconv_prog.c: Likewise.
24706 * iconv/iconvconfig.c: Likewise.
24707 * locale/programs/locale.c: Likewise.
24708 * locale/programs/localedef.c: Likewise.
24709 * login/programs/pt_chown.c: Likewise.
24710 * malloc/memusage.sh: Likewise.
24711 * malloc/memusagestat.c: Likewise.
24712 * malloc/mtrace.pl: Likewise.
24713 * manual/libc.texinfo: Likewise.
24714 * nscd/nscd.c: Likewise.
24715 * nss/getent.c: Likewise.
24716 * nss/makedb.c: Likewise.
24717 * posix/getconf.c: Likewise.
24718 * scripts/test-installation.pl: Likewise.
24720 * All files with FSF copyright notices: Update copyright dates
24721 using scripts/update-copyrights.
24722 * intl/plural.c: Regenerated.
24723 * locale/programs/charmap-kw.h: Likewise.
24724 * locale/programs/locfile-kw.h: Likewise.
24726 2013-12-31 Mike Frysinger <vapier@gentoo.org>
24728 * sysdeps/unix/sysv/linux/configure: Regenerated.
24729 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24730 the linux/fanotify.h header.
24731 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24732 HAVE_LINUX_FANOTIFY_H is defined.
24734 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24736 * benchtests/cos-inputs: New inputs.
24737 * benchtests/sin-inputs: Likewise.
24739 * benchtests/atan-inputs: New inputs. Fix name of multiple
24740 precision fallback inputs.
24742 * benchtests/atanh-inputs: New inputs.
24743 * benchtests/tanh-inputs: Likewise.
24745 * benchtests/acosh-inputs: New inputs.
24746 * benchtests/asinh-inputs: Likewise.
24748 * benchtests/cosh-inputs: New inputs.
24749 * benchtests/sinh-inputs: Likewise.
24751 * benchtests/acos-inputs: Add more inputs.
24752 * benchtests/asin-inputs: Likewise.
24754 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
24757 * manual/arith.texi: Fix spelling.
24758 * manual/charset.texi: Likewise.
24759 * manual/errno.texi: Likewise.
24760 * manual/filesys.texi: Likewise.
24761 * manual/lang.texi: Likewise.
24762 * manual/llio.texi: Likewise.
24763 * manual/locale.texi: Likewise.
24764 * manual/message.texi: Likewise.
24765 * manual/resource.texi: Likewise.
24766 * manual/search.texi: Likewise.
24767 * manual/setjmp.texi: Likewise.
24768 * manual/stdio.texi: Likewise.
24769 * manual/string.texi: Likewise.
24770 * manual/sysinfo.texi: Likewise.
24771 * manual/time.texi: Likewise.
24773 2013-12-27 Carlos O'Donell <carlos@redhat.com>
24775 * po/sl.po: New file.
24777 2013-12-27 Mike Frysinger <vapier@gentoo.org>
24779 * .gitignore: Add core/.gdbinit/.gdb_history.
24781 2013-12-27 Allan McRae <allan@archlinux.org>
24784 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24785 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24787 2013-12-24 Brooks Moses <bmoses@google.com>
24789 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24790 all compilers that claim C++98 compliance, not just GCC.
24791 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24794 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24796 * NEWS: Restore accidentally deleted bug-fix entries.
24798 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24799 Ondřej Bílka <neleai@seznam.cz>
24802 * malloc/malloc.c (_int_free): Perform sanity check only if we
24805 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
24808 * manual/stdio.texi (String Input Conversions): Clarify that character
24809 classes are not supported.
24811 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24815 2013-12-22 Joseph Myers <joseph@codesourcery.com>
24818 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24819 Calculate results for small negative arguments directly rather
24820 than using reflection formula with special underflow handling.
24822 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24823 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24824 sysdeps/unix/bsd/bsd4.4/syscalls.list.
24825 (fchflags): Likewise.
24826 (revoke): Likewise.
24827 (setlogin): Likewise.
24828 (sigaltstack): Likewise.
24830 (sigblock): Remove.
24831 (sigsetmask): Likewise.
24833 (waitpid): Likewise.
24834 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24835 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24837 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24838 * sysdeps/unix/bsd/Makefile: ... here.
24839 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24840 * sysdeps/unix/bsd/Versions: ... here.
24841 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24842 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24843 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24844 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24845 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24846 * sysdeps/unix/bsd/sigblock.c: ... here.
24847 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24848 * sysdeps/unix/bsd/sigsetmask.c: ... here.
24849 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24850 * sysdeps/unix/bsd/sigvec.c: ... here.
24851 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24852 * sysdeps/unix/bsd/tcdrain.c: ... here.
24853 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24854 * sysdeps/unix/bsd/tcgetattr.c: ... here.
24855 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24856 * sysdeps/unix/bsd/tcsetattr.c: ... here.
24857 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24858 * sysdeps/unix/bsd/wait.c: ... here.
24859 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24860 * sysdeps/unix/bsd/wait3.c: ... here.
24861 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24862 * sysdeps/unix/bsd/waitpid.c: ... here.
24864 2013-12-21 Joseph Myers <joseph@codesourcery.com>
24867 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24868 round-to-nearest for [!USE_AS_EXPM1L].
24869 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24870 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
24871 more tests of exp and exp10. Expect some exp10 tests to miss
24872 exceptions or fail in directed rounding modes.
24873 * math/auto-libm-test-out: Regenerated.
24874 * math/libm-test.inc (exp10_tonearest_test_data): New array.
24875 (exp10_test_tonearest): New function.
24876 (exp10_towardzero_test_data): New array.
24877 (exp10_test_towardzero): New function.
24878 (exp10_downward_test_data): New array.
24879 (exp10_test_downward): New function.
24880 (exp10_upward_test_data): New array.
24881 (exp10_test_upward): New function.
24882 (main): Call the new functions.
24883 * sysdeps/i386/fpu/libm-test-ulps: Update.
24884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24886 2013-12-20 Joseph Myers <joseph@codesourcery.com>
24888 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24889 asinh, atan, atan2, atanh, cbrt, cos and cosh.
24890 * math/auto-libm-test-out: Regenerated.
24891 * math/libm-test.inc (acosh_test_data): Add more tests.
24892 (atanh_test_data): Likewise.
24893 (ceil_test_data): Likewise.
24894 (copysign_test_data): Likewise.
24895 * sysdeps/i386/fpu/libm-test-ulps: Update.
24896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24898 * timezone/checktab.awk: Update from tzcode 2013i.
24899 * timezone/private.h: Likewise.
24900 * timezone/scheck.c: Likewise.
24901 * timezone/tzfile.h: Likewise.
24902 * timezone/tzselect.ksh: Likewise.
24903 * timezone/zdump.c: Likewise.
24904 * timezone/zic.c: Likewise.
24906 * math/auto-libm-test-in: Add tests of cpow.
24907 * math/auto-libm-test-out: Regenerated.
24908 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24909 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24911 (func_calc_desc): Add mpc_cc_c union field.
24912 (test_functions): Add cpow.
24913 (special_fill_2pi): New function.
24914 (special_real_inputs): Add 2pi.
24915 (calc_generic_results): Handle mpc_cc_c.
24916 * sysdeps/i386/fpu/libm-test-ulps: Update.
24917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24919 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24920 csqrt, ctan and ctanh.
24921 * math/auto-libm-test-out: Regenerated.
24922 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24923 (TEST_COND_x86): Likewise.
24924 (ccos_test_data): Use AUTO_TESTS_c_c.
24925 (ccosh_test_data): Likewise.
24926 (cexp_test_data): Likewise.
24927 (clog_test_data): Likewise.
24928 (csqrt_test_data): Likewise.
24929 (ctan_test_data): Likewise.
24930 (ctan_tonearest_test_data): Likewise.
24931 (ctan_towardzero_test_data): Likewise.
24932 (ctan_downward_test_data): Likewise.
24933 (ctan_upward_test_data): Likewise.
24934 (ctanh_test_data): Likewise.
24935 (ctanh_tonearest_test_data): Likewise.
24936 (ctanh_towardzero_test_data): Likewise.
24937 (ctanh_downward_test_data): Likewise.
24938 (ctanh_upward_test_data): Likewise.
24939 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24941 (func_calc_desc): Add mpc_c_c union field.
24942 (FUNC_mpc_c_c): New macro.
24943 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24944 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24946 (special_fill_min_subnorm_p120): New function.
24947 (special_real_inputs): Add min_subnorm_p120.
24948 (calc_generic_results): Handle mpc_c_c.
24949 * sysdeps/i386/fpu/libm-test-ulps: Update.
24950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24952 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24954 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24955 (do_sin_slow): New functions.
24956 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24957 (cslow2, csloww1, csloww2): Use the new functions.
24959 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24960 Use M to change sign of result instead of X. Assume X is
24962 (csloww1): Likewise.
24966 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24967 arguments A and DA.
24971 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24973 (sloww1): Don't adjust sign of DX.
24974 (csloww1): Likewise.
24975 (sloww2): Use X directly and don't adjust sign of DX.
24976 (csloww2): Likewise.
24978 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24980 * math/auto-libm-test-in: Add tests of cabs and carg.
24981 * math/auto-libm-test-out: Regenerated.
24982 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24983 (carg_test_data): Likewise.
24984 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24986 (func_calc_desc): Add mpc_c_f union field.
24987 (test_functions): Add cabs and carg.
24988 (calc_generic_results): Handle mpc_c_f.
24990 * sysdeps/powerpc/powerpc32/libgcc-compat.S
24991 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24992 as a macro and a compat symbol.
24993 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24994 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24995 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24996 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24997 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24998 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
25000 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
25002 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
25004 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
25006 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
25008 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
25010 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
25011 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
25014 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25018 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25020 * manual/texinfo.tex: Update to version 2013-11-26.10 with
25021 trailing whitespace removed.
25022 * scripts/config.guess: Update to version 2013-11-29.
25023 * scripts/config.sub: Update to version 2013-10-01.
25025 * math/auto-libm-test-in: Add tests of sincos.
25026 * math/auto-libm-test-out: Regenerated.
25027 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
25028 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25030 (func_calc_desc): Add mpfr_f_11 union field.
25031 (test_functions): Add sincos.
25032 (calc_generic_results): Handle mpfr_f_11.
25033 * sysdeps/i386/fpu/libm-test-ulps: Update.
25034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25036 2013-12-19 Andreas Schwab <schwab@suse.de>
25038 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
25040 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25041 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
25042 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
25044 2013-12-19 Joseph Myers <joseph@codesourcery.com>
25046 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
25047 * sysdeps/i386/fpu/libm-test-ulps: Update.
25048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25051 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
25052 round-to-nearest mode when using frndint.
25053 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
25054 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25055 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25057 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
25059 * math/auto-libm-test-out: Regenerated.
25060 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
25061 (TEST_COND_x86): Likewise.
25062 (expm1_tonearest_test_data): New array.
25063 (expm1_test_tonearest): New function.
25064 (expm1_towardzero_test_data): New array.
25065 (expm1_test_towardzero): New function.
25066 (expm1_downward_test_data): New array.
25067 (expm1_test_downward): New function.
25068 (expm1_upward_test_data): New array.
25069 (expm1_test_upward): New function.
25070 (main): Run the new test functions.
25071 * sysdeps/i386/fpu/libm-test-ulps: Update.
25072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25074 * include/features.h: Update comment documenting feature test
25075 macros. Mention _DEFAULT_SOURCE in comment.
25076 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
25077 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
25078 _BSD_SOURCE and _SVID_SOURCE.
25079 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
25080 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
25081 !_SVID_SOURCE]: Likewise.
25082 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25083 (__USE_POSIX_IMPLICITLY): Define.
25084 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25085 (_POSIX_SOURCE): Undefine and redefine.
25086 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
25087 (_POSIX_C_SOURCE): Likewise.
25088 * manual/creature.texi (_DEFAULT_SOURCE): Document.
25089 (Feature Test Macros): Update documentation of default features.
25091 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25093 * benchtests/Makefile: Add bench-strtok.
25094 * benchtests/bench-strtok.c: New file: strtok benchtest.
25096 2013-12-19 Allan McRae <allan@archlinux.org>
25098 * manual/install.texi: Suppress menu for plain text output.
25099 * INSTALL: Regenerated.
25101 2013-12-18 Brooks Moses <bmoses@google.com>
25104 * misc/getauxval.c: Include errno.h.
25105 (__getauxval): Set errno to ENOENT if the requested type is not
25107 * misc/sys/auxv.h (getauxval): Document that it may set errno;
25108 don't declare with __attribute_const__.
25109 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25110 * manual/startup.texi: Document that getauxval sets errno.
25112 2013-12-18 Joseph Myers <joseph@codesourcery.com>
25114 * math/auto-libm-test-in: Add tests of jn and yn.
25115 * math/auto-libm-test-out: Regenerated.
25116 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25117 (yn_test_data): Likewise.
25118 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25120 (func_calc_desc): Add mpfr_if_f union field.
25121 (FUNC_mpfr_if_f): New macro.
25122 (test_functions): Add jn and yn.
25123 (calc_generic_results): Assert type of second input for
25124 mpfr_ff_f. Handle mpfr_if_f.
25125 (output_for_one_input_case): Disable all checking for arguments
25126 fitting floating-point types in case of an integer argument.
25127 * sysdeps/i386/fpu/libm-test-ulps: Update.
25128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25131 Don't expect fegetround reference in libm.so.
25133 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25135 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25136 $(config-cflags-nofma).
25138 2013-12-18 Joseph Myers <joseph@codesourcery.com>
25140 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25141 * math/auto-libm-test-out: Regenerated.
25144 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25145 to determine exponent and adjust argument to have exponent of -1.
25146 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25148 * math/auto-libm-test-out: Regenerated.
25149 * sysdeps/i386/fpu/libm-test-ulps: Update.
25150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25152 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
25154 * manual/probes.texi: Remove cases when per-thread arenas are
25157 2013-12-18 Andreas Schwab <schwab@suse.de>
25159 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25160 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25161 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25162 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25163 * sysdeps/i386/i686/multiarch/Makefile: Update.
25164 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25166 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25168 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25169 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25171 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
25174 Support TZ transition times < 00:00:00.
25175 This is needed for version-3 tz-format files; it supports time
25176 stamps past 2037 for America/Godthab (the only entry in the tz
25177 database for which this change is relevant).
25178 * manual/time.texi (TZ Variable): Document transition times
25179 from -167:59:59 through -00:00:01.
25180 * time/tzset.c (tz_rule): Time of day is now signed.
25181 (__tzset_parse_tz): Parse negative time of day.
25183 Document TZ transition times >= 25:00:00.
25184 * manual/time.texi (TZ Variable): Document transition times from
25185 25:00:00 through 167:59:59. These are already supported, and this
25186 support will help with version-3 tz-format files.
25188 * manual/time.texi (TZ Variable): Modernize North America example
25189 to reflect current (i.e., 2007-and-later) daylight saving rules.
25191 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25193 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25195 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25196 * sysdeps/unix/bsd/bits/stat.h: Likewise.
25197 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25198 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25199 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25200 * sysdeps/unix/bsd/bsdstat.h: Likewise.
25201 * sysdeps/unix/bsd/clock.c: Likewise.
25202 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25203 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25204 * sysdeps/unix/bsd/init-posix.c: Likewise.
25205 * sysdeps/unix/bsd/poll.c: Likewise.
25206 * sysdeps/unix/bsd/ptsname.c: Likewise.
25207 * sysdeps/unix/bsd/seekdir.c: Likewise.
25208 * sysdeps/unix/bsd/setegid.c: Likewise.
25209 * sysdeps/unix/bsd/seteuid.c: Likewise.
25210 * sysdeps/unix/bsd/setgid.c: Likewise.
25211 * sysdeps/unix/bsd/setrgid.c: Likewise.
25212 * sysdeps/unix/bsd/setruid.c: Likewise.
25213 * sysdeps/unix/bsd/setsid.c: Likewise.
25214 * sysdeps/unix/bsd/setuid.c: Likewise.
25215 * sysdeps/unix/bsd/sigaction.c: Likewise.
25216 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25217 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25218 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25219 * sysdeps/unix/bsd/telldir.c: Likewise.
25220 * sysdeps/unix/bsd/times.c: Likewise.
25221 * sysdeps/unix/bsd/usleep.c: Likewise.
25223 * misc/Makefile (install-lib): Remove libbsd-compat.a.
25224 ($(objpfx)libbsd-compat.a): Remove rule.
25226 * include/features.h (__FAVOR_BSD): Do not define.
25227 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25228 features conflicting with POSIX.
25229 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25230 (_BSD_SOURCE): Remove description of not being a subset of other
25231 feature test macros.
25232 * manual/job.texi (getpgrp): Do not document BSD version.
25233 (getpgid): Do not document by reference to BSD getpgrp.
25234 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25235 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25236 * signal/signal.h [__FAVOR_BSD]: Likewise.
25237 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25238 instead of making contents conditional on [__FAVOR_BSD].
25239 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25241 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25245 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25248 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25249 values below 2**-450, not 2**-500.
25250 * math/auto-libm-test-in: Don't allow spurious underflow from
25252 * math/auto-libm-test-out: Regenerated.
25256 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25257 values of ha and hb and sort them after adjusting subnormal
25259 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25261 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25262 values of ea and eb and sort them after adjusting subnormal
25264 * math/auto-libm-test-in: Do not expect some hypot tests of
25265 subnormals to fail. Add more hypot tests.
25266 * math/auto-libm-test-out: Regenerated.
25268 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25271 * sysdeps/sh/s_fma.c: New file.
25272 * sysdeps/sh/s_fmaf.c: New file.
25273 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
25275 * sysdeps/sh/Implies: Add sh/soft-fp.
25277 2013-12-16 Roland McGrath <roland@hack.frob.com>
25279 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
25280 level of indirection to members `objname', `errstring', `malloced'.
25281 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25282 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
25283 it as the __longjmp argument (just pass 1 instead).
25284 (_dl_catch_error): Initialize C with argument pointers and address of
25285 volatile local ERRCODE rather than copying values out of C at return.
25287 2013-12-16 Joseph Myers <joseph@codesourcery.com>
25289 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25290 * math/auto-libm-test-out: Regenerated.
25291 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25292 (hypot_test_data): Likewise.
25293 (pow_test_data): Likewise.
25294 (pow_tonearest_test_data): Likewise.
25295 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25297 (func_calc_desc): Add mpfr_ff_f union field.
25298 (FUNC_mpfr_ff_f): New macro.
25299 (test_functions): Add atan2, hypot and pow.
25300 (special_fill_min): New function.
25301 (special_fill_minus_min): Likewise.
25302 (special_fill_min_subnorm): Likewise.
25303 (special_fill_minus_min_subnorm): Likewise.
25304 (special_real_inputs): Add min, -min, min_subnorm and
25306 (calc_generic_results): Handle mpfr_ff_f.
25307 * sysdeps/i386/fpu/libm-test-ulps: Update.
25308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25310 2013-12-16 Will Newton <will.newton@linaro.org>
25312 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25313 (Aligned Memory Blocks): Add documentation for aligned_alloc
25314 and suggest it as an alternative to posix_memalign.
25315 (Hooks for Malloc): Document __memalign_hook is also called
25316 for aligned_alloc. (Summary of Malloc): Add summary for
25317 aligned alloc. Document __memalign_hook is also called
25320 2013-12-16 Will Newton <will.newton@linaro.org>
25322 * manual/memory.texi (Malloc Examples): Clarify default
25323 alignment documentation. Suggest posix_memalign rather
25324 than memalign or valloc.
25325 (Aligned Memory Blocks): Remove suggestion to use memalign
25326 or valloc. Remove obsolete comment about BSD.
25327 Document memalign errno values and mark the function obsolete.
25328 Document posix_memalign returned error codes. Mark valloc
25329 as obsolete. (Hooks for Malloc): __memalign_hook is also
25330 called for posix_memalign and valloc.
25331 (Summary of Malloc): Add posix_memalign to function summary.
25332 __memalign_hook is also called for posix_memalign and valloc.
25334 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25336 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25340 (sloww): Use mynumber union. Expand ternary operator into
25341 if-else statements.
25342 (cslow): use mynumber union.
25344 2013-12-16 Allan McRae <allan@archlinux.org>
25346 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25347 * configure: Regenerated.
25349 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25352 * configure.ac: Added --enable-maintainer-mode. Check for
25353 autoconf when enabled.
25354 * configure: Regenerated.
25356 * nscd/nscd.service: New file.
25357 * nscd/nscd.tmpfiles: New file.
25359 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
25362 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25363 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25364 * sysdeps/x86_64/multiarch/strstr.c: ... here.
25365 (strstr): Add __strstr_sse2_unaligned ifunc.
25366 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25367 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25368 (strcasestr): Remove __strcasestr_sse42 ifunc.
25369 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25370 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25373 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25375 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25376 * sysdeps/sh/bits/fenv.h: ... here.
25377 * sysdeps/sh/sh4/fpu/bits: Remove directory.
25379 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25381 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25384 hypotf multiarch implementations.
25385 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25386 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25387 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25388 multiarch hypot for PPC64.
25389 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25390 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25391 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25392 multiarch hypotf for PPC64.
25394 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25395 modff multiarch implementations.
25396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25399 multiarch modf for PPC64.
25400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25403 multiarch modff for PPC64.
25405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25406 and logl multiarch implementations.
25407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25410 multiarch logb for PPC64.
25411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25414 multiarch logb for PPC64.
25415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25418 multiarch logb for PPC64.
25420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25421 isinff multiarch implementation.
25422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25426 multiarch isinf for PPC64.
25427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25430 multiarch isinff for PPC64.
25432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25433 finitef multiarch implementation.
25434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25438 multiarch finite for PPC64.
25439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25442 multiarch finitef for PPC64.
25444 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25445 lrint multiarch implementation.
25446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25450 multiarch llrint for PPC64.
25451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25452 multiarch lrint for PPC64.
25454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25455 copysignf multiarch implementation.
25456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25461 multiarch copysign for PPC64.
25462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25463 multiarch copysignf for PPC64.
25465 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25466 multiarch implementation.
25467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25475 multiarch llround for PPC64.
25476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25477 multiarch trunc for PPC64.
25478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25479 multiarch truncf for PPC64.
25481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25482 multiarch implementation.
25483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25491 multiarch llround for PPC64.
25492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25493 multiarch round for PPC64.
25494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25495 multiarch roundf for PPC64.
25497 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25498 multiarch implementation.
25499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25507 multiarch llround for PPC64.
25508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25509 multiarch floor for PPC64.
25510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25511 multiarch floorf for PPC64.
25513 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25514 multiarch implementation.
25515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25523 multiarch llround for PPC64.
25524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25525 multiarch ceil for PPC64.
25526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25527 multiarch ceilf for PPC64.
25529 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25530 multiarch implementation.
25531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25538 multiarch llround for PPC64.
25539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25540 multiarch lround for PPC64.
25542 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25543 multiarch implementation.
25544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25551 multiarch isnan for PPC64.
25552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25553 multiarch isnanf for PPC64.
25555 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25556 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25557 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25558 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25559 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25562 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25563 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25564 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25565 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25568 multiarch implementations.
25569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25570 (__libc_ifunc_impl_list): Likewise.
25571 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25572 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25573 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25574 multiarch stpcpy for PPC64.
25576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25577 multiarch implementations.
25578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25579 (__libc_ifunc_impl_list): Likewise.
25580 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25581 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25582 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25583 multiarch strcpy for PPC64.
25585 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25586 redefine function name.
25587 (_wordcopy_fwd_dest_aligned): Likewise.
25588 (_wordcopy_bwd_aligned): Likewise.
25589 (_wordcopy_bwd_dest_aligned): Likewise.
25590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25591 multiarch implementations.
25592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25593 (__libc_ifunc_impl_list): Likewise.
25594 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25595 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25596 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25597 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25598 multiarch wcscpy for PPC64.
25600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25601 multiarch implementations.
25602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25603 (__libc_ifunc_impl_list): Likewise.
25604 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25605 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25606 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25607 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25608 multiarch wcscpy for PPC64.
25610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25611 multiarch implementations.
25612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25613 (__libc_ifunc_impl_list): Likewise.
25614 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25615 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25616 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25617 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25618 multiarch wcsrchr for PPC64.
25620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25621 multiarch implementations.
25622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25623 (__libc_ifunc_impl_list): Likewise.
25624 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25625 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25626 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25627 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25628 multiarch wcschr for PPC64.
25630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25631 multiarch implementations.
25632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25633 (__libc_ifunc_impl_list): Likewise.
25634 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25635 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25636 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25637 multiarch strchrnul for PPC64.
25639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25642 (__libc_ifunc_impl_list): Likewise.
25643 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25644 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25645 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25646 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25652 (__libc_ifunc_impl_list): Likewise.
25653 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25654 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25655 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25656 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25660 multiarch implementations.
25661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25662 (__libc_ifunc_impl_list): Likewise.
25663 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25664 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25665 strncasecmp for PPC64.
25666 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25667 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25668 multiarch strncasecmp_l for PPC64.
25670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25671 multiarch implementations.
25672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25673 (__libc_ifunc_impl_list): Likewise.
25674 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25675 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25676 multiarch strcasecmp for PPC64.
25677 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25679 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25680 multiarch strcasecmp_l for PPC64.
25682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25685 (__libc_ifunc_impl_list): Likewise.
25686 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25687 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25688 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25694 (__libc_ifunc_impl_list): Likewise.
25695 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25696 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25697 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25703 (__libc_ifunc_impl_list): Likewise.
25704 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25705 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25706 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25707 rawmemrchr for PPC64.
25709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25712 (__libc_ifunc_impl_list): Likewise.
25713 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25714 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25715 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25721 (__libc_ifunc_impl_list): Likewise.
25722 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25723 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25724 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25727 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25730 (__libc_ifunc_impl_list): Likewise.
25731 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25732 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25733 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25736 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25737 avoid cretion of __bzero symbol.
25738 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25740 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25742 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25745 multiarch implementations.
25746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25747 (__libc_ifunc_impl_list): Likewise.
25748 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25749 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25750 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25751 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25753 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25754 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25755 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25756 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25757 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25759 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25761 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25762 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25764 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25765 (__libc_ifunc_impl_list): Likewise.
25766 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25767 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25768 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25769 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25773 multiarch for POWER/PPC64.
25774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25775 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25776 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25777 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25778 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25779 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25780 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25781 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25782 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25785 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25786 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25787 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25788 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25789 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25790 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25791 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25792 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25793 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25794 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25795 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25796 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25797 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25798 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25799 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25808 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25810 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25812 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25814 * benchtests/Makefile (bench): Add exp2 and log2.
25815 (LDLIBS-bench-exp2): Add -lm.
25816 (LDLIBS-bench-log2): Likewise.
25817 * benchtests/exp2-inputs: New inputs file.
25818 * benchtests/log2-inputs: New inputs file.
25819 * benchtests/log-inputs: Add new inputs.
25820 * benchtests/tan-inputs: Likewise.
25822 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25824 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25826 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25827 (csloww2): ... from here.
25829 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25830 instead of structures.
25831 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25832 (POLYNOMIAL): Likewise.
25833 (TAYLOR_SLOW): Likewise.
25839 (sloww1); Likewise.
25840 (sloww2): Likewise.
25841 (bsloww1): Likewise.
25842 (bsloww2): Likewise.
25843 (cslow2): Likewise.
25844 (csloww): Likewise.
25845 (csloww1): Likewise.
25846 (csloww2): Likewise.
25848 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
25850 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25851 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25852 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25853 * malloc/hooks.c (realloc_check): Likewise.
25855 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25856 * malloc/arena.c: Remove PER_THREAD conditional.
25857 [!PER_THREAD]: Remove code.
25858 (ptmalloc_unlock_all2): Likewise.
25859 (ptmalloc_init): Likewise.
25860 (_int_new_arena): Likewise.
25861 (arena_get2): Likewise.
25862 * malloc/hooks.c (__malloc_get_state): Likewise.
25863 (__malloc_set_state): Likewise.
25864 * malloc/malloc.c: Likewise.
25865 (struct malloc_state): Likewise.
25866 (struct malloc_par): Likewise.
25867 (__libc_realloc): Likewise.
25868 (__libc_mallopt): Likewise.
25870 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25872 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25874 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
25876 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25877 macro to a function. Check for zero perturb_byte.
25878 (_int_malloc, _int_free): Remove zero perturb_byte checks.
25880 * malloc/malloc.c: (force_reg): Remove.
25881 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25882 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25883 force_reg by atomic_forced_read.
25884 * malloc/arena.c (ptmalloc_init): Likewise.
25885 * malloc/hooks.c (top_check): Likewise.
25887 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25891 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
25893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25895 2013-12-08 Joseph Myers <joseph@codesourcery.com>
25897 * math/auto-libm-test-in: Add tests of lgamma.
25898 * math/auto-libm-test-out: Regenerated.
25899 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25900 (M_LOG_2_SQRT_PIl): Likewise.
25901 (lgamma_test_data): Use AUTO_TESTS_f_f1.
25902 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25904 (func_calc_desc): Add mpfr_f_f1 union field.
25905 (ARGS1): New macro.
25913 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25914 (test_functions): Add lgamma.
25915 (calc_generic_results): Handle mpfr_f_f1.
25916 * sysdeps/i386/fpu/libm-test-ulps: Update.
25917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25919 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25921 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25922 __mpn_add_n for PowerPC64/POWER7.
25923 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25924 __mpn_sub_n for PowerPC64/POWER7.
25926 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25927 __mpn_addmul_1 for PowerPC64.
25928 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25929 __mpn_submul_1 for PowerPC64.
25930 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25932 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25935 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
25938 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25940 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25942 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25944 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25945 add multiarch folders.
25946 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25947 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25948 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25949 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25950 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25951 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25952 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25953 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25954 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25955 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25956 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25965 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25971 multiarch __ieee754_hypot for PowerPC32.
25972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25977 multiarch __ieee754_hypotf for PowerPC32.
25979 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25980 long_double_symbol only if __logbl is defined.
25981 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25982 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25983 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25984 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25986 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25987 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25988 path for implementation.
25989 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25990 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25992 logb, and logbl multiarch implementations for PowerPC32.
25993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25998 multiarch logb for PowerPC32.
25999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
26001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
26003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
26004 multiarch logbf for PowerPC32.
26005 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
26006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
26008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
26009 multiarch logbl implementation for PowerPC32.
26011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
26012 and modff multiarch implementations.
26013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
26015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
26017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
26018 multiarch modf for PowerPC32.
26019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
26021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
26023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
26024 multiarch modff for PowerPC32.
26026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
26027 and lrintf multiarch implementations.
26028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
26030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
26032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
26033 multiarch lrint for PowerPC32.
26034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
26035 file: multiarch lrintf for PowerPC32.
26037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
26038 and lroundf multiarch implementations.
26039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
26041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
26043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
26045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
26046 multiarch lround for PowerPC32.
26047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
26048 file: multiarch lroundf for PowerPC32.
26050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
26051 copysign and copysignf multiarch implementations.
26052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
26054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
26056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
26057 file: multiarch copysign for PowerPC32.
26058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
26059 file: multiarch copysignf for PowerPC32.
26061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
26062 and truncf multiarch implementations.
26063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
26065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
26067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
26068 multiarch trunc for PowerPC32.
26069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
26071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
26073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
26074 multiarch truncf for PowerPC32.
26076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
26077 and roundf multiarch implementations.
26078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
26080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
26082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
26083 multiarch round for PowerPC32.
26084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
26086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
26088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
26089 multiarch roundf for PowerPC32.
26091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
26092 and floorf multiarch implementations.
26093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26098 multiarch floor for PowerPC32.
26099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26104 multiarch floorf for PowerPC32.
26106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26107 and ceilf multiarch implementations.
26108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26113 multiarch ceil for PowerPC32.
26114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26119 multiarch ceilf for PowerPC32.
26121 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26123 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26124 FINITEF is defined.
26125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26126 and finitef multiarch implementations.
26127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26132 multiarch finite for PowerPC32.
26133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26136 file: multiarch finitef for PowerPC32.
26138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26139 and isinff multiarch implementations.
26140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26145 multiarch isinf for PowerPC32.
26146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26149 multiarch isinff for PowerPC32.
26151 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26152 alias when __isnan is defined.
26153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26154 and isnanf multiarch implementations.
26155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26164 multiarch isnan for PowerPC32.
26165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26170 multiarch isnanf for PowerPC32.
26172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26173 and sqrtf multiarch implementations.
26174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26179 multiarch sqrt for PowerPC32.
26180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26185 multiarch sqrtf for PowerPC32.
26187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26188 and llroundf multiarch implementations.
26189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26196 file: multiarch llround for PowerPC32.
26197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26198 file: multiarch llroundf for PowerPC32.
26200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26201 multiarch PowerPC32 fpu implementations.
26202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26207 multiarch llrint for PowerPC32.
26208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26217 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26219 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26221 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26223 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26224 multiarch wordcopy for PPC32.
26225 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26227 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26228 (__libc_ifunc_impl_list): Likewise.
26229 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26230 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26231 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26232 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26233 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26234 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26236 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26239 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26243 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26244 multiarch wcscpy for PPC32.
26245 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26247 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26248 (__libc_ifunc_impl_list): Likewise.
26249 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26250 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26251 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26252 sysdeps/powerpc/power6/wcscpy.c.
26254 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26255 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26257 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26259 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26261 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26262 multiarch wcsrchr for PPC32.
26263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26266 (__libc_ifunc_impl_list): Likewise.
26267 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26268 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26269 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26270 sysdeps/powerpc/power6/wcsrchr.c.
26272 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26274 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26276 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26277 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26278 multiarch wcschr for PPc32.
26279 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26282 (__libc_ifunc_impl_list): Likewise.
26283 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26284 * sysdeps/powerpc/power6/wcschr.c: ... to here.
26285 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26286 sysdeps/powerpc/power6/wcschr.c.
26288 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26289 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26291 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26292 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26293 file: multiarch strchr for PPC32.
26294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26297 (__libc_ifunc_impl_list): Likewise.
26299 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26301 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26303 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26305 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26306 multiarch strchrnul for PPC32.
26307 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26309 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26310 (__libc_ifunc_impl_list): Likewise.
26312 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26314 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26315 multiarch strncasecmp for PPC32.
26316 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26318 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26319 multiarch strncasecmp_l for PPC32.
26320 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26321 strncasecmp multiarch objects.
26322 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26323 (__libc_ifunc_impl_list): Likewise.
26325 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26327 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26328 multiarch strncasecmp for PPC32.
26329 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26331 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26332 multiarch strcasecmp_l for PPC32.
26333 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26335 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26336 (__libc_ifunc_impl_list): Likewise.
26338 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26340 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26342 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26343 multiarch strncmp for PPC32.
26344 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26346 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26347 (__libc_ifunc_impl_list): Likewise.
26349 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26350 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26352 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26353 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26354 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26356 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26357 (__libc_ifunc_impl_list): Likewise.
26359 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26361 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26363 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26364 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26366 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26367 (__libc_ifunc_impl_list): Likewise.
26369 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26371 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26373 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26374 multiarch rawmemchr for PPC32.
26375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26378 (__libc_ifunc_impl_list): Likewise.
26380 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26382 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26384 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26385 file: memrchr multiarch for PPC32.
26386 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26389 (__libc_ifunc_impl_list): Likewise.
26391 * string/memchr.c (__memchr): Using macro to redefine symbol name.
26392 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26394 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26395 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26396 multiarch memchr for PPC32.
26397 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26399 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26400 (__libc_ifunc_impl_list): Likewise.
26402 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26403 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26405 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26407 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26408 file: multiarch mempcpy for PPC32.
26409 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26411 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26412 (__libc_ifunc_impl_list): Likewise.
26414 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26415 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26416 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26417 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26418 multiarch bzero for PPC32.
26419 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26421 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26423 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26424 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26425 file: multiarch memset for PPC32.
26426 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26427 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26428 memset multiarch objects.
26429 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26430 (__libc_ifunc_impl_list): Likewise.
26432 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26434 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26435 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26437 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26438 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26440 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26441 (__libc_ifunc_impl_list): Likewise.
26443 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26444 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26445 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26447 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26449 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26451 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26452 multiarch memcpy for PPC32.
26453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26456 (__libc_ifunc_impl_list): Likewise.
26458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26459 support multiarch for POWER/PPC32.
26460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26462 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26464 Implies file to make multiarch folder appers before the fpu and
26465 default folder for power4 configuration.
26467 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26469 * scripts/bench.pl: Append volatile keyword to type.
26471 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26473 * sysdeps/sh/sotruss-lib.c: New file.
26474 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26476 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26480 2013-12-05 Joseph Myers <joseph@codesourcery.com>
26483 * math/w_tgamma.c: Include <errno.h>.
26484 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
26485 * math/w_tgammaf.c: Include <errno.h>.
26486 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
26487 * math/w_tgammal.c: Include <errno.h>.
26488 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
26489 * math/auto-libm-test-in: Do not allow missing errno on tgamma
26490 underflow. Add more tgamma tests.
26491 * math/auto-libm-test-out: Regenerated.
26492 * sysdeps/i386/fpu/libm-test-ulps: Update.
26493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26495 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26496 sin, sinh, tan, tanh, tgamma, y0 and y1.
26497 * math/auto-libm-test-out: Regenerated.
26498 * math/libm-test.inc (TEST_COND_x86_64): New macro.
26499 (TEST_COND_x86): Likewise.
26500 (M_E2l): Remove macro.
26502 (M_2_SQRT_PIl): Likewise.
26503 (M_SQRT_PIl): Likewise.
26504 (M_1_DIV_El): Likewise.
26505 (log_test_data): Use AUTO_TESTS_f_f.
26506 (log10_test_data): Likewise.
26507 (log1p_test_data): Likewise.
26508 (log2_test_data): Likewise.
26509 (sin_test_data): Likewise.
26510 (sin_tonearest_test_data): Likewise.
26511 (sin_towardzero_test_data): Likewise.
26512 (sin_downward_test_data): Likewise.
26513 (sin_upward_test_data): Likewise.
26514 (sinh_test_data): Likewise.
26515 (sinh_tonearest_test_data): Likewise.
26516 (sinh_towardzero_test_data): Likewise.
26517 (sinh_downward_test_data): Likewise.
26518 (sinh_upward_test_data): Likewise.
26519 (tan_test_data): Likewise.
26520 (tan_tonearest_test_data): Likewise.
26521 (tan_towardzero_test_data): Likewise.
26522 (tan_downward_test_data): Likewise.
26523 (tan_upward_test_data): Likewise.
26524 (tanh_test_data): Likewise.
26525 (tgamma_test_data): Likewise.
26526 (y0_test_data): Likewise.
26527 (y1_test_data): Likewise.
26528 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26529 (special_real_inputs): Add pi/4.
26530 * sysdeps/i386/fpu/libm-test-ulps: Update.
26531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26533 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26535 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26536 "longjmp_target" static probes.
26537 (__longjmp): Rename to __longjmp_symbol.
26538 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26539 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26540 on which longjmp to generate.
26541 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26542 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26544 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26545 (__sigjmp_save): Rename to __sigjmp_save_symbol.
26546 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26547 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26548 and __sigjmp_save_symbol based on which sigsetjmp to generated.
26549 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26551 __longjmp_symbol based on which __longjmp to generate.
26552 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26554 (setjmp): Rename to setjmp_symbol.
26555 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26556 (_setjmp): Rename to _setjmp_symbol.
26557 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26558 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26559 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26560 which setjmp to generate.
26561 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26562 "longjmp_target" static probes.
26564 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26566 * benchtests/README: Add note about output arguments.
26567 * benchtests/bench-sincos.c: Remove file.
26568 * benchtests/sincos-inputs: New file.
26569 * scripts/bench.pl: Identify output arguments and define
26570 static variables for them.
26572 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26575 * Makefile (INSTALL): Add install-plain.texi as the primary
26577 * manual/install-plain.texi: New file.
26578 * manual/install.texi: Include node directive only for
26579 non-plaintext output.
26581 2013-12-04 Joseph Myers <joseph@codesourcery.com>
26583 * stdlib/longlong.h: Update from GCC.
26587 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26588 * math/w_j0f.c (y0f): Likewise.
26589 * math/w_j0l.c (__y0l): Likewise.
26590 * math/w_j1.c (y1): Likewise.
26591 * math/w_j1f.c (y1f): Likewise.
26592 * math/w_j1l.c (__y1l): Likewise
26593 * math/w_jn.c (yn): Likewise.
26594 * math/w_jnf.c (ynf): Likewise.
26595 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26596 Bessel function pole errors in _POSIX_ mode. Use NAN as return
26597 value for Bessel function domain errors outside _SVID_ mode.
26598 Adjust sign of return value for yn (negative integer, 0).
26599 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26600 by zero in return for negative x and set sign appropriately for
26602 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26603 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26604 * math/libm-test.inc (y0_test_data): Add more tests and adjust
26605 expectations in error cases.
26606 (y1_test_data): Likewise.
26607 (yn_test_data): Likewise.
26608 * sysdeps/i386/fpu/libm-test-ulps: Update.
26609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26611 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26613 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26614 "64" to "64-v1". Add "64-v2".
26615 (abi-64-options): Rename to ...
26616 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
26617 (abi-64-condition): Rename to ...
26618 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
26619 (abi-64-ld-soname): Rename to ...
26620 (abi-64-v1-ld-soname): ... this.
26621 (abi-64-v2-options): Define.
26622 (abi-64-v2-condition): Likewise.
26623 (abi-64-v2-ld-soname): Likewise.
26624 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26625 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26630 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26631 Alan Modra <amodra@gmail.com>
26633 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26634 New versions for use with the ELFv2 ABI.
26635 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26636 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26638 (struct La_ppc64v2_retval): Likewise.
26639 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26640 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26641 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26642 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26643 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26644 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26645 Do not save or restore CR.
26646 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26647 (_dl_profile_resolve): Do no save or restore CR. Support extended
26648 return values for ELFv2 ABI. Fix location of FPR return registers.
26649 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26650 updated values for _CALL_ELF == 2.
26651 (La_regs, La_retval, int_retval): Likewise.
26653 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26655 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26656 (FRAME_MIN_SIZE_PARM): Likewise.
26657 (FRAME_BACKCHAIN): Likewise.
26658 (FRAME_CR_SAVE): Likewise.
26659 (FRAME_LR_SAVE): Likewise.
26660 (FRAME_TOC_SAVE): Likewise.
26661 (FRAME_PARM_SAVE): Likewise.
26662 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26663 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26664 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26665 (call_mcount_parm_offset): New macro.
26666 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26667 (PROF): Use symbolic stack frame offsets.
26668 (TAIL_CALL_SYSCALL_ERROR): Likewise.
26669 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26670 Redefine in terms of FRAME_MIN_SIZE.
26671 (_dl_runtime_resolve): Use symbolic stack frame offsets.
26672 (_dl_profile_resolve): Likewise. Update comment.
26673 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26674 symbols stack frame offsets.
26675 (__sigsetjmp): Likewise.
26676 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26677 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26678 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26679 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26682 (FRAME_BACKCHAIN): Remove.
26683 (FRAME_CR_SAVE): Likewise.
26684 (FRAME_LR_SAVE): Likewise.
26685 (FRAME_COMPILER_DW): Likewise.
26686 (FRAME_LINKER_DW): Likewise.
26687 (FRAME_TOC_SAVE): Likewise.
26688 (FRAME_PARM_SAVE): Likewise.
26689 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26690 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26691 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26693 (CHECK_SP): Use symbolic stack frame offsets.
26694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26695 zone" instead of caller's parameter save area for temp storage.
26696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26697 Likewise. Also, use symbolic stack frame offsets.
26698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26699 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26700 our own stack frame instead of the caller's.
26701 (__socket): Use symbolic stack frame offsets.
26703 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26704 Alan Modra <amodra@gmail.com>
26706 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26708 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26709 (PPC64_LOCAL_ENTRY_OFFSET): Define.
26710 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26712 (elf_machine_fixup_plt): Call it.
26713 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
26715 (elf_machine_rela): Update call to elf_machine_plt_conflict.
26716 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26717 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26718 r2 before calling target.
26720 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26721 Alan Modra <amodra@gmail.com>
26723 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26724 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26725 versions of macros to support ELFv2 ABI.
26726 (LOCALENTRY): New macro.
26727 (ENTRY, EALIGN): Use it.
26728 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26729 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26730 fall through into ENTRY entry point.
26731 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26732 Only define if _CALL_ELF != 2.
26734 (elf_machine_matches_host): Verify ABI version matches.
26735 (RTLD_START): Use LOCALENTRY.
26736 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26737 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26738 (PLT_ENTRY_WORDS): New macro.
26739 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26740 (elf_machine_runtime_setup): Support ELFv2 ABI.
26741 (elf_machine_fixup_plt): Likewise.
26742 (elf_machine_plt_conflict): Likewise.
26743 (resolve_ifunc): Likewise.
26744 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26745 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26748 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26750 (makecontext): Support ELFv2 ABI.
26751 * elf/elf.h (EF_PPC64_ABI): Define.
26753 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26755 * sysdeps/powerpc/powerpc64/sysdep.h
26756 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26757 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26758 (ENTRY) [ASSEMBLER]: ... but instead here ...
26759 (EALIGN) [ASSEMBLER]: ... and here.
26760 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26761 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26762 (ENTRY_2) [!ASSEMBLER]: Use it.
26763 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26764 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
26765 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26766 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26767 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26769 Use PPC64_LOAD_FUNCPTR.
26771 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26773 2013-12-04 Alan Modra <amodra@gmail.com>
26775 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26776 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26777 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26778 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26780 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26781 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26782 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26783 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26784 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26785 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26787 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26790 (__makecontext): Fix incorrect CFI when backtracing out of
26791 context created via makecontext.
26792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26793 (__setcontext): Fix incorrect CFI during switch to new context.
26794 (__novec_setcontext): Likewise.
26796 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26799 * time/strptime_l.c (__strptime_internal): Allow modifiers
26801 * time/tst-strptime.c (day_tests): Add testcase.
26803 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26805 * scripts/bench.pl: Skip over blank lines.
26807 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
26810 * manual/time.texi (Calendar Time): Clarify what timezone functions
26813 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26817 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26819 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26821 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26822 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26823 * debug/memset_chk.c (__memset_chk): Likewise.
26824 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26825 * debug/strncpy_chk.c: Likewise.
26827 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26831 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26832 (__ieee754_exp): For possibly underflowing results, check size of
26833 result and force underflow exception if required.
26834 * math/auto-libm-test-in: Add more tests of exp.
26835 * math/auto-libm-test-out: Regenerated.
26836 * sysdeps/i386/fpu/libm-test-ulps: Update.
26837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26840 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26841 * math/w_exp2f.c (__exp2f): Likewise.
26842 * math/w_exp2l.c (__exp2l): Likewise.
26843 * math/auto-libm-test-in: Do not allow missing errno on exp2
26845 * math/auto-libm-test-out: Regenerated.
26847 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
26850 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26851 handle filename validation.
26852 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26855 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26858 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26859 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26860 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26862 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26863 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26864 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26865 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26866 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26867 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26868 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26869 * math/auto-libm-test-in: Don't allow missing errno from erfc.
26870 Add more erfc tests.
26871 * math/auto-libm-test-out: Regenerated.
26872 * sysdeps/i386/fpu/libm-test-ulps: Update.
26873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26875 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26876 exp2, expm1, j0 and j1.
26877 * math/auto-libm-test-out: Regenerated.
26878 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26879 (erfc_test_data): Likewise.
26880 (exp_test_data): Likewise.
26881 (exp_tonearest_test_data): Likewise.
26882 (exp_towardzero_test_data): Likewise.
26883 (exp_downward_test_data): Likewise.
26884 (exp_upward_test_data): Likewise.
26885 (exp10_test_data): Likewise.
26886 (exp2_test_data): Likewise.
26887 (expm1_test_data): Likewise.
26888 (j0_test_data): Likewise.
26889 (j1_test_data): Likewise.
26890 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26891 (input_flag_type): Add flag_xfail_rounding.
26892 (input_flags): Add xfail-rounding.
26893 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26894 (output_for_one_input_case): Handle flag_xfail_rounding.
26895 * sysdeps/i386/fpu/libm-test-ulps: Update.
26896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26898 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
26901 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26904 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26907 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26908 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26909 (STAP_PROBE0): New macro.
26910 (STAP_PROBE1): Likewise.
26911 (STAP_PROBE2): Likewise.
26912 (STAP_PROBE3): Likewise.
26913 (STAP_PROBE4): Likewise.
26915 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
26917 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26919 2013-12-02 Steve Ellcey <sellcey@mips.com>
26921 * benchtests/Makefile (bench): Add sqrt.
26922 (LDLIBS-bench-sqrt): New.
26923 * benchtests/sqrt-input: New.
26925 2013-12-02 Pavel Simerda <psimerda@redhat.com>
26927 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26928 (GAIH_EAI): Likewise.
26929 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26930 (gaih_inet): Likewise.
26931 (getaddrinfo): Don't use GAIH_EAI.
26933 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26934 (struct gaih): Remove definition.
26936 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26938 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26939 Use HERRNOP directly.
26941 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26945 2013-11-30 Joseph Myers <joseph@codesourcery.com>
26947 * math/gen-auto-libm-tests.c (test_functions): Add more
26948 single-argument functions.
26949 (special_fill_pi_2): New function.
26950 (special_fill_minus_pi_2): Likewise.
26951 (special_fill_pi_6): Likewise.
26952 (special_fill_minus_pi_6): Likewise.
26953 (special_fill_pi_3): Likewise.
26954 (special_fill_2pi_3): Likewise.
26955 (special_fill_e): Likewise.
26956 (special_fill_1_e): Likewise.
26957 (special_fill_e_minus_1): Likewise.
26958 (special_real_inputs): Add more special inputs.
26959 (output_for_one_input_case): Do not require ERANGE on underflow to
26960 zero if round-to-nearest result does not underflow to zero, unless
26961 exact results required.
26962 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26963 atan, atanh, cbrt, cos and cosh.
26964 * math/auto-libm-test-out: Regenerated.
26965 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26966 (acos_tonearest_test_data): Likewise.
26967 (acos_towardzero_test_data): Likewise.
26968 (acos_downward_test_data): Likewise.
26969 (acos_upward_test_data): Likewise.
26970 (acosh_test_data): Likewise.
26971 (asin_test_data): Likewise.
26972 (asin_tonearest_test_data): Likewise.
26973 (asin_towardzero_test_data): Likewise.
26974 (asin_upward_test_data): Likewise.
26975 (asinh_test_data): Likewise.
26976 (atan_test_data): Likewise.
26977 (atanh_test_data): Likewise.
26978 (cbrt_test_data): Likewise.
26979 (cos_test_data): Likewise.
26980 (cos_tonearest_test_data): Likewise.
26981 (cos_towardzero_test_data): Likewise.
26982 (cos_downward_test_data): Likewise.
26983 (cos_upward_test_data): Likewise.
26984 (cosh_test_data): Likewise.
26985 (cosh_tonearest_test_data): Likewise.
26986 (cosh_towardzero_test_data): Likewise.
26987 (cosh_downward_test_data): Likewise.
26988 (cosh_upward_test_data): Likewise.
26989 * sysdeps/i386/fpu/libm-test-ulps: Update.
26990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26992 2013-11-29 Joseph Myers <joseph@codesourcery.com>
26995 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26996 * math/w_exp10f.c (__exp10f): Likewise.
26997 * math/w_exp10l.c (__exp10l): Likewise.
26998 * math/libm-test.inc (exp10_test_data): Add more tests and expect
26999 errno settings in existing tests.
27002 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
27003 precision control set to double precision.
27004 * sysdeps/i386/fpu/w_sqrt.c: New file.
27005 * math/auto-libm-test-in: Add more tests.
27006 * math/auto-libm-test-out: Update.
27008 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
27009 (sqrt_test_tonearest): New function.
27010 (sqrt_towardzero_test_data): New variable.
27011 (sqrt_test_towardzero): New function.
27012 (sqrt_downward_test_data): New variable.
27013 (sqrt_test_downward): New function.
27014 (sqrt_upward_test_data): New variable.
27015 (sqrt_test_upward): New function.
27016 (main): Call the new functions.
27018 * math/gen-auto-libm-tests.c: New file.
27019 * math/auto-libm-test-in: Likewise.
27020 * math/auto-libm-test-out: New generated file.
27021 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
27023 (%beautify): Add generated representations of zero.
27024 (top level): Set $auto_input and call parse_auto_input.
27025 (beautify): Remove trailing "f" from hex float constants.
27026 (parse_args): Handle XFAIL_TEST.
27027 (convert_condition): New function.
27028 (or_value): Likewise.
27029 (or_cond_value): Likewise.
27030 (generate_testfile): Handle AUTO_TESTS_* lines.
27031 (parse_auto_input): New function.
27032 * math/libm-test.inc (XFAIL_TEST): New macro.
27033 (ERRNO_UNCHANGED): Update value.
27034 (ERRNO_EDOM): Likewise.
27035 (ERRNO_ERANGE): Likewise.
27036 (IGNORE_RESULT): Likewise.
27037 (TEST_COND_flt_32): New macro.
27038 (TEST_COND_dbl_64): Likewise.
27039 (TEST_COND_ldbl_96_intel): Likewise.
27040 (TEST_COND_ldbl_96_m68k): Likewise.
27041 (TEST_COND_ldbl_128): Likewise.
27042 (TEST_COND_ldbl_128ibm): Likewise.
27043 (TEST_COND_long32): Likewise.
27044 (TEST_COND_long64): Likewise.
27045 (TEST_COND_before_rounding): Likewise.
27046 (TEST_COND_after_rounding): Likewise.
27047 (enable_test): Handle XFAIL_TEST flag.
27048 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
27049 with finite results.
27050 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
27051 auto-libm-test-out.
27053 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27054 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27057 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
27058 __tls_get_addr_internal instead of __tls_get_offset in order to
27059 avoid GOT pointer dependency. Make rtld export
27060 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
27061 __tls_get_addr since we are a __tls_get_offset platform.
27062 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
27063 GOT pointer being set up before.
27064 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
27066 2013-11-28 Joseph Myers <joseph@codesourcery.com>
27068 * manual/math.texi (Errors in Math Functions): Document accuracy
27072 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
27073 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
27074 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27075 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27076 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27077 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27078 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27079 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27080 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27081 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27082 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27083 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27084 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27085 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27086 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27087 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27089 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
27090 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
27091 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
27092 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
27093 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27095 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27097 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27099 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27100 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27101 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27102 atomic-feupdateenv and flt-rounds.
27103 * sysdeps/powerpc/nofpu/Versions (libc): Add
27104 __atomic_feholdexcept, __atomic_feclearexcept,
27105 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27106 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27107 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27108 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27109 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27114 * manual/arith.texi (FP Exceptions): Document that exceptions may
27115 not be raised when matherr is used.
27116 (Math Error Reporting): Document overflow in directed rounding
27117 modes. Document that errno may not be set when finite values are
27118 returned on overflow. Document intent to set errno on underflow
27119 only for underflow to zero.
27122 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27123 round-to-nearest then adjust result for other rounding modes.
27124 * include/fenv.h (fegetround): Use libm_hidden_proto.
27125 * math/fegetround.c (fegetround): Use libm_hidden_def.
27126 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27127 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27128 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27129 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27131 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27132 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27133 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27134 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27136 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27139 * nss/Versions (libnss_files): Add
27140 _nss_files_gethostbyname3_r.
27141 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27143 (HOST_DB_LOOKUP): Remove macro.
27144 (_nss_files_gethostbyname_r): Implement function without the
27145 HOST_DB_LOOKUP macro.
27146 (_nss_files_gethostbyname2_r): Likewise.
27148 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
27150 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27152 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
27154 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27155 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27158 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27160 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27161 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27162 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27163 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27164 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27165 __fe_nomask_env_priv and attribute_hidden.
27166 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27167 (libc_feupdateenv_test_ppc): Likewise.
27168 (libc_feresetround_ppc): Likewise.
27169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27170 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27171 compat_symbol macro.
27172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27173 (__fe_nomask_env): Likewise.
27174 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27176 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27178 * string/Makefile: Remove ifunc tests.
27179 * string/test-string.h: Define TEST_IFUNC.
27180 * string/test-bcopy-ifunc.c: Remove.
27181 * string/test-bzero-ifunc.c: Likewise.
27182 * string/test-memccpy-ifunc.c: Likewise.
27183 * string/test-memchr-ifunc.c: Likewise.
27184 * string/test-memcmp-ifunc.c: Likewise.
27185 * string/test-memcpy-ifunc.c: Likewise.
27186 * string/test-memmem-ifunc.c: Likewise.
27187 * string/test-memmove-ifunc.c: Likewise.
27188 * string/test-mempcpy-ifunc.c: Likewise.
27189 * string/test-memrchr-ifunc.c: Likewise.
27190 * string/test-memset-ifunc.c: Likewise.
27191 * string/test-rawmemchr-ifunc.c: Likewise.
27192 * string/test-stpcpy-ifunc.c: Likewise.
27193 * string/test-stpncpy-ifunc.c: Likewise.
27194 * string/test-strcasecmp-ifunc.c: Likewise.
27195 * string/test-strcasestr-ifunc.c: Likewise.
27196 * string/test-strcat-ifunc.c: Likewise.
27197 * string/test-strchr-ifunc.c: Likewise.
27198 * string/test-strchrnul-ifunc.c: Likewise.
27199 * string/test-strcmp-ifunc.c: Likewise.
27200 * string/test-strcpy-ifunc.c: Likewise.
27201 * string/test-strcspn-ifunc.c: Likewise.
27202 * string/test-strlen-ifunc.c: Likewise.
27203 * string/test-strncasecmp-ifunc.c: Likewise.
27204 * string/test-strncat-ifunc.c: Likewise.
27205 * string/test-strncmp-ifunc.c: Likewise.
27206 * string/test-strncpy-ifunc.c: Likewise.
27207 * string/test-strnlen-ifunc.c: Likewise.
27208 * string/test-strpbrk-ifunc.c: Likewise.
27209 * string/test-strrchr-ifunc.c: Likewise.
27210 * string/test-strspn-ifunc.c: Likewise.
27211 * string/test-strstr-ifunc.c: Likewise.
27213 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27215 * benchtests/Makefile: Remove ifunc tests.
27216 * benchtests/bench-string.h: Define TEST_IFUNC.
27217 * benchtests/bench-bcopy-ifunc.c: Remove.
27218 * benchtests/bench-bzero-ifunc.c: Likewise.
27219 * benchtests/bench-memccpy-ifunc.c: Likewise.
27220 * benchtests/bench-memchr-ifunc.c: Likewise.
27221 * benchtests/bench-memcmp-ifunc.c: Likewise.
27222 * benchtests/bench-memcpy-ifunc.c: Likewise.
27223 * benchtests/bench-memmem-ifunc.c: Likewise.
27224 * benchtests/bench-memmove-ifunc.c: Likewise.
27225 * benchtests/bench-mempcpy-ifunc.c: Likewise.
27226 * benchtests/bench-memrchr-ifunc.c: Likewise.
27227 * benchtests/bench-memset-ifunc.c: Likewise.
27228 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27229 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27230 * benchtests/bench-stpcpy-ifunc.c: Likewise.
27231 * benchtests/bench-stpncpy-ifunc.c: Likewise.
27232 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27233 * benchtests/bench-strcasestr-ifunc.c: Likewise.
27234 * benchtests/bench-strcat-ifunc.c: Likewise.
27235 * benchtests/bench-strchr-ifunc.c: Likewise.
27236 * benchtests/bench-strchrnul-ifunc.c: Likewise.
27237 * benchtests/bench-strcmp-ifunc.c: Likewise.
27238 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27239 * benchtests/bench-strcpy-ifunc.c: Likewise.
27240 * benchtests/bench-strcspn-ifunc.c: Likewise.
27241 * benchtests/bench-strlen-ifunc.c: Likewise.
27242 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27243 * benchtests/bench-strncat-ifunc.c: Likewise.
27244 * benchtests/bench-strncmp-ifunc.c: Likewise.
27245 * benchtests/bench-strncpy-ifunc.c: Likewise.
27246 * benchtests/bench-strnlen-ifunc.c: Likewise.
27247 * benchtests/bench-strpbrk-ifunc.c: Likewise.
27248 * benchtests/bench-strrchr-ifunc.c: Likewise.
27249 * benchtests/bench-strsep-ifunc.c: Likewise.
27250 * benchtests/bench-strspn-ifunc.c: Likewise.
27251 * benchtests/bench-strstr-ifunc.c: Likewise.
27253 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27255 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27257 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27259 * resolv/netdb.h: Use __glibc_reserved instead __unused.
27260 * rt/aio.h: Likewise.
27261 * sysdeps/gnu/bits/utmp.h: Likewise.
27262 * sysdeps/gnu/bits/utmpx.h: Likewise.
27263 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27264 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27265 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27266 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27267 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27268 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27269 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27270 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27271 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27272 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27273 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27274 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27275 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27277 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27278 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27279 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27280 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27281 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27282 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27283 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27284 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27285 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27286 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27287 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27288 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27289 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27290 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27291 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27292 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27293 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27294 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27295 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27296 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27297 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27298 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27299 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27300 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27301 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27302 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27303 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27304 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27306 2013-11-25 Carlos O'Donell <carlos@redhat.com>
27309 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27310 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27312 2013-11-25 Joseph Myers <joseph@codesourcery.com>
27314 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27315 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27318 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27320 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27321 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27322 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27323 (__fesetround): Remove define.
27324 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27325 rounding and exceptions handling.
27326 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27327 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27328 (__fe_nomask_env): Likewise.
27329 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27330 __fegetround instead of fegetround.
27331 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27332 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27334 2013-11-21 Roland McGrath <roland@hack.frob.com>
27336 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27339 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27341 2013-11-21 Meador Inge <meadori@codesourcery.com>
27344 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27345 (encrypt_r): Likewise.
27346 * malloc/obstack.h (obstack_free): Likewise.
27347 * posix/unistd.h (encrypt): Likewise.
27349 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
27351 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27352 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27353 DL_CALL_DT_FINI() that call the functions directly.
27354 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27355 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27356 * elf/dl-fini.c: Likewise.
27358 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
27360 * malloc/hooks.c (memalign_check): Add alignment rounding.
27361 * malloc/malloc.c (_mid_memalign): New function.
27362 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27363 Implement by calling _mid_memalign.
27364 * manual/probes.texi (Memory Allocation Probes): Remove
27365 memory_valloc_retry and memory_pvalloc_retry.
27367 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27369 * locale/programs/locarchive.c (open_archive): Add const
27370 qualifier to ARCHIVEFNAME and copy default fname to
27374 * libio/tst-widetext.input: Rename Oriya to Odia.
27375 * locale/iso-639.def: Likewise.
27377 * manual/probes.texi (Mathematical Function Probes): Add
27378 documentation for sin, cos, asin and acos probes.
27379 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27380 (__sin32): Add slowasin probe.
27381 (__cos32): Add slowacos probe.
27382 (__mpsin): Add slowsin probe.
27383 (__mpcos): Add slowcos probe.
27385 2013-11-19 Joseph Myers <joseph@codesourcery.com>
27388 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27389 thread-local __sim_exceptions_thread and global
27390 __sim_exceptions_global.
27391 (__sim_disabled_exceptions): Change to thread-local
27392 __sim_disabled_exceptions_thread and global
27393 __sim_disabled_exceptions_global.
27394 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27395 and global __sim_round_mode_global.
27396 (__simulate_exceptions): Use thread-local floating-point state and
27397 set global state from it as needed.
27398 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27399 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27400 __sim_round_mode_thread.
27401 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27402 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27403 and global __sim_exceptions_global.
27404 (__sim_disabled_exceptions): Change to thread-local
27405 __sim_disabled_exceptions_thread and global
27406 __sim_disabled_exceptions_global.
27407 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27408 and global __sim_round_mode_global.
27409 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27410 (SIM_SET_GLOBAL): Likewise.
27411 * sysdeps/powerpc/soft-fp/sfp-machine.h
27412 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27413 __sim_round_mode_thread.
27414 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27415 __sim_disabled_exceptions_thread.
27416 (__sim_exceptions): Change to __sim_exceptions_thread.
27417 (__sim_disabled_exceptions): Change to
27418 __sim_disabled_exceptions_thread.
27419 (__sim_round_mode): Change to __sim_round_mode_thread.
27420 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27421 thread-local floating-point state and set global state from it as
27423 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27424 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27425 (__sim_disabled_exceptions): Remove extern declaration.
27426 (feenableexcept): Use thread-local floating-point state and set
27427 global state from it as needed.
27428 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27429 extern declaration.
27430 (__sim_disabled_exceptions): Likewise.
27431 (__sim_round_mode): Likewise.
27432 (__fegetenv): Use thread-local floating-point state.
27433 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27434 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27435 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27436 floating-point state and set global state from it as needed.
27437 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27438 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27439 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27441 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27442 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27444 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27445 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27446 Use __sim_round_mode_thread.
27447 * math/test-fenv-tls.c: New file.
27448 * math/Makefile (tests): Add test-fenv-tls.
27449 ($(objpfx)test-fenv-tls): Depend on
27450 $(common-objpfx)nptl/libpthread.so.
27452 2013-11-19 Andreas Schwab <schwab@suse.de>
27454 * locale/programs/locale.c (show_info): Decode wordarray elements.
27455 * locale/categories.def (LC_MONETARY): Add element for
27456 _NL_MONETARY_CRNCYSTR.
27457 * locale/C-monetary.c (conversion_rate): New variable.
27458 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27461 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
27463 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27464 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27466 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27468 * elf/Makefile (tst-auxv): New test.
27469 * elf/tst-auxv.c: New
27470 * elf/rtld.c (dl_main): Adjust AT_EXECFN
27472 2013-11-18 Joseph Myers <joseph@codesourcery.com>
27474 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27475 (hidden_proto): Caller changed.
27476 (hidden_tls_proto): New macro.
27477 (libc_hidden_tls_proto): Likewise.
27478 (rtld_hidden_tls_proto): Likewise.
27479 (libm_hidden_tls_proto): Likewise.
27480 (libresolv_hidden_tls_proto): Likewise.
27481 (librt_hidden_tls_proto): Likewise.
27482 (libdl_hidden_tls_proto): Likewise.
27483 (libnss_files_hidden_tls_proto): Likewise.
27484 (libnsl_hidden_tls_proto): Likewise.
27485 (libnss_nisplus_hidden_tls_proto): Likewise.
27486 (libutil_hidden_tls_proto): Likewise.
27488 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
27491 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27492 (decompose_rpath): Defer expansion to fillin_rpath.
27493 (_dl_init_paths): Pass linkmap to fillin_rpath.
27495 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27497 * benchtests/Makefile: Add strsep.
27498 * benchtests/bench-strsep.c: New file: strsep benchtest.
27499 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27501 2013-11-18 Andreas Schwab <schwab@suse.de>
27503 * locale/programs/locale.c (show_info) [case byte]: Check for
27504 '\377' instead of '\177'.
27505 * locale/C-monetary.c (not_available): Always use "\377".
27506 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27507 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
27508 detect unavailable sign_posn locale elements.
27509 * locale/localeconv.c (__localeconv): For grouping and
27510 mon_grouping handle "\177" and "\377" like no grouping.
27511 (INT_ELEM): New macro. Use it to set all numeric members.
27512 * locale/programs/ld-monetary.c (monetary_read)
27513 <tok_mon_grouping>: Normalize single -1 to the empty string.
27514 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27517 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27520 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27521 when we match (nil).
27522 * stdio-common/tst-sscanf.c (struct test): Add testcase.
27524 2013-11-16 Joseph Myers <joseph@codesourcery.com>
27526 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27527 (NO_TEST_INLINE): Update value.
27528 (ERRNO_UNCHANGED): Likewise.
27529 (ERRNO_EDOM): Likewise.
27530 (ERRNO_ERANGE): Likewise.
27531 (IGNORE_RESULT): Likewise.
27532 (check_float_internal): Check signs of NaN results if
27533 TEST_NAN_SIGN used.
27534 (check_complex): Pass TEST_NAN_SIGN flag through to second
27535 check_float_internal call.
27536 (copysign_test_data): Add tests with quiet NaNs as second
27537 argument. Use TEST_NAN_SIGN.
27538 (fabs_test_data): Add test of negative quiet NaN argument. Use
27540 (signbit_test_data): Add tests of quiet NaN argument.
27541 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27543 * math/gen-libm-test.pl (show_exceptions): Take extra argument
27545 (parse_args): Handle function results specified as IGNORE.
27546 * math/libm-test.inc (IGNORE_RESULT): New macro.
27547 (check_float_internal): Do not check numerical result if flag
27549 (check_complex): Pass through IGNORE_RESULT to second
27550 check_float_internal call.
27551 (check_int): Do not check numerical result if flag IGNORE_RESULT
27553 (check_long): Likewise.
27554 (check_bool): Likewise.
27555 (check_longlong): Likewise.
27556 (lrint_test_data): Add tests of infinite and NaN arguments.
27557 (lrint_tonearest_test_data): Likewise.
27558 (lrint_towardzero_test_data): Likewise.
27559 (lrint_downward_test_data): Likewise.
27560 (lrint_upward_test_data): Likewise.
27561 (llrint_test_data): Likewise.
27562 (llrint_tonearest_test_data): Likewise.
27563 (llrint_towardzero_test_data): Likewise.
27564 (llrint_downward_test_data): Likewise.
27565 (llrint_upward_test_data): Likewise.
27566 (lround_test_data): Likewise.
27567 (llround_test_data): Likewise.
27569 * math/libm-test.inc (NO_TEST_INLINE): New macro.
27570 (ERRNO_UNCHANGED): Update value.
27571 (ERRNO_EDOM): Likewise.
27572 (ERRNO_ERANGE): Likewise.
27573 (NO_TEST_INLINE_FLOAT): New macro.
27574 (NO_TEST_INLINE_DOUBLE): Likewise.
27575 (enable_test): New function.
27576 (RUN_TEST_f_f): Check enable_test before running test.
27577 (RUN_TEST_2_f): Likewise.
27578 (RUN_TEST_fff_f): Likewise.
27579 (RUN_TEST_c_f): Likewise.
27580 (RUN_TEST_f_f1): Likewise.
27581 (RUN_TEST_fF_f1): Likewise.
27582 (RUN_TEST_fI_f1): Likewise.
27583 (RUN_TEST_ffI_f1): Likewise.
27584 (RUN_TEST_c_c): Likewise.
27585 (RUN_TEST_cc_c): Likewise.
27586 (RUN_TEST_f_i): Likewise.
27587 (RUN_TEST_f_i_tg): Likewise.
27588 (RUN_TEST_ff_i_tg): Likewise.
27589 (RUN_TEST_f_b): Likewise.
27590 (RUN_TEST_f_b_tg): Likewise.
27591 (RUN_TEST_f_l): Likewise.
27592 (RUN_TEST_f_L): Likewise.
27593 (RUN_TEST_fFF_11): Likewise.
27594 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27596 (cosh_test_data): Likewise.
27597 (exp_test_data): Likewise.
27598 (expm1_test_data): Likewise.
27599 (hypot_test_data): Likewise.
27600 (pow_test_data): Likewise.
27601 (sinh_test_data): Likewise.
27602 (tanh_test_data): Likewise.
27603 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27606 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27607 tests with quiet NaN input and output.
27608 (acosh_test_data): Likewise.
27609 (asin_test_data): Likewise.
27610 (asinh_test_data): Likewise.
27611 (atan_test_data): Likewise.
27612 (atanh_test_data): Likewise.
27613 (atan2_test_data): Likewise.
27614 (cbrt_test_data): Likewise.
27615 (cos_test_data): Likewise.
27616 (cosh_test_data): Likewise.
27617 (erf_test_data): Likewise.
27618 (erfc_test_data): Likewise.
27619 (exp_test_data): Likewise.
27620 (exp10_test_data): Likewise.
27621 (exp2_test_data): Likewise.
27622 (expm1_test_data): Likewise.
27623 (hypot_test_data): Likewise.
27624 (j0_test_data): Likewise.
27625 (j1_test_data): Likewise.
27626 (jn_test_data): Likewise.
27627 (lgamma_test_data): Likewise.
27628 (log_test_data): Likewise.
27629 (log10_test_data): Likewise.
27630 (log1p_test_data): Likewise.
27631 (log2_test_data): Likewise.
27632 (pow_test_data): Likewise.
27633 (scalb_test_data): Likewise.
27634 (sin_test_data): Likewise.
27635 (sincos_test_data): Likewise.
27636 (sinh_test_data): Likewise.
27637 (tan_test_data): Likewise.
27638 (tanh_test_data): Likewise.
27639 (tgamma_test_data): Likewise.
27640 (y0_test_data): Likewise.
27641 (y1_test_data): Likewise.
27642 (yn_test_data): Likewise.
27645 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27646 argument being NaN and avoid computations with second argument in
27648 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27649 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27650 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27652 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
27654 * locale/iso-639.def: Add Chitwani Tharu (the).
27656 2013-11-14 Andreas Schwab <schwab@suse.de>
27658 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27659 word instead of empty string.
27661 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27664 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27666 (__fe_nomask_env): Likewise.
27668 2013-11-13 Steve Ellcey <sellcey@mips.com>
27670 * benchtests/bench-timing.h: Include time.h.
27672 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
27675 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27677 * sysdeps/unix/sysv/linux/configure: Regenerated.
27679 2013-11-13 Joseph Myers <joseph@codesourcery.com>
27682 * stdlib/strtod_l.c (round_and_return): Do not consider
27683 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27684 exponent one less than half the least subnormal exponent.
27685 * stdlib/test-strtod-round-data: Add more tests.
27686 * stdlib/tst-strtod-round.c (tests): Regenerated.
27688 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27691 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27692 (__fe_mask_env): Likewise.
27693 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27694 libm_hidden_proto and add function prototype.
27695 (__fe_mask_env): Add function prototype.
27696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27697 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27699 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27701 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27703 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27705 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27706 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27708 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27710 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27711 of htab_find_slot().
27713 2013-11-11 David S. Miller <davem@davemloft.net>
27716 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27717 symbol in the non-vis3 case in static builds.
27718 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27719 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27720 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27721 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27723 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
27726 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27729 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27731 * benchtests/Makefile: Add bench-strtod.
27732 * benchtests/bench-strtod.c: New file: strtod benchtest
27734 2013-11-11 Andreas Schwab <schwab@suse.de>
27737 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27738 terminating NUL in key length.
27740 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27742 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27743 Add artificial ODP entry for vDSO symbol for PPC64.
27744 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27745 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27747 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27750 * nss/getent.c (services_keys): Recognize services starting with digit.
27752 2013-11-06 David S. Miller <davem@davemloft.net>
27755 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27756 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27758 2013-11-06 Will Newton <will.newton@linaro.org>
27760 * manual/memory.texi (Malloc Examples): Remove register
27761 keyword from examples.
27763 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
27765 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27767 2013-11-04 Joseph Myers <joseph@codesourcery.com>
27770 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27771 depending on [__GCC_IEC_559 > 0].
27772 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27773 depending on [__GCC_IEC_559_COMPLEX > 0].
27775 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
27777 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27780 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
27782 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27784 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
27787 * malloc/malloc (malloc_info): Do not handle first bin as
27790 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
27792 * locale/iso-639.def: Add Central Nahuatl (nhn).
27794 2013-11-01 Bruno Haible <bruno@clisp.org>
27797 * manual/math.texi (BSD Random): Specify range upper bound as
27800 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
27802 * locale/iso-639.def: Add Meadow Mari (mhr).
27804 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
27806 [BZ #14752], [BZ #15763]
27807 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27809 * rt/tst_shm.c: Add test for escaping directory.
27811 2013-10-31 Andreas Schwab <schwab@suse.de>
27814 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27815 followed by 'x' as part of digit sequence.
27816 * stdio-common/tst-sscanf.c (double_tests2): New tests.
27818 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27821 * configure.ac: allow GNU Make 4.0 and greater.
27822 * configure: Regenerated.
27824 2013-10-30 Will Newton <will.newton@linaro.org>
27827 * malloc/hooks.c (memalign_check): Limit alignment to the
27828 maximum representable power of two.
27829 * malloc/malloc.c (__libc_memalign): Likewise.
27830 * malloc/tst-memalign.c (do_test): Add test for very
27831 large alignment values.
27832 * malloc/tst-posix_memalign.c (do_test): Likewise.
27834 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27837 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27838 (munmap_chunk): Likewise.
27839 (mremap_chunk): Likewise.
27841 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27844 * stdlib/div.c (div): Remove obsolete code.
27845 * stdlib/ldiv.c (ldiv): Likewise.
27846 * stdlib/lldiv.c (lldiv): Likewise.
27848 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27851 * nss/nss_files/files-XXX.c (get_contents_ret): New
27853 (get_contents): New function.
27854 (internal_getent): Use it. Expand size of LINEBUFLEN.
27856 2013-10-30 Mike Frysinger <vapier@gentoo.org>
27858 * configure.in: Moved to ...
27859 * configure.ac: ... here. Change reference to configure.in
27861 * sysdeps/arm/preconfigure.ac: ... here.
27862 configure.in to configure.ac.
27863 * sysdeps/gnu/configure.in: Moved to ...
27864 * sysdeps/gnu/configure.ac: ... here.
27865 * sysdeps/i386/configure.in: Moved to ...
27866 * sysdeps/i386/configure.ac: ... here.
27867 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27868 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27869 * sysdeps/mach/configure.in: Moved to ...
27870 * sysdeps/mach/configure.ac: ... here.
27871 * sysdeps/mach/hurd/configure.in: Moved to ...
27872 * sysdeps/mach/hurd/configure.ac: ... here.
27873 * sysdeps/powerpc/configure.in: Moved to ...
27874 * sysdeps/powerpc/configure.ac: ... here.
27875 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27876 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27877 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27878 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27879 * sysdeps/s390/s390-32/configure.in: Moved to ...
27880 * sysdeps/s390/s390-32/configure.ac: ... here.
27881 * sysdeps/s390/s390-64/configure.in: Moved to ...
27882 * sysdeps/s390/s390-64/configure.ac: ... here.
27883 * sysdeps/sh/configure.in: Moved to ...
27884 * sysdeps/sh/configure.ac: ... here.
27885 * sysdeps/sparc/configure.in: Moved to ...
27886 * sysdeps/sparc/configure.ac: ... here.
27887 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27888 * sysdeps/unix/sysv/linux/configure.ac: ... here.
27889 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27890 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27891 * sysdeps/x86_64/configure.in: Moved to ...
27892 * sysdeps/x86_64/configure.ac: ... here.
27893 * sysdeps/x86_64/preconfigure.in: Moved to ...
27894 * sysdeps/x86_64/preconfigure.ac: ... here.
27895 * aclocal.m4: Change reference to configure.in to configure.ac.
27896 * config.h.in: Likewise.
27897 * manual/install.texi: Likewise.
27898 * manual/maint.texi: Likewise.
27899 * Makefile: Likewise.
27900 * malloc/Makefile: Likewise.
27901 * nscd/Makefile: Likewise.
27902 * Makeconfig: Change reference to configure.in and
27903 preconfigure.in to configure.ac and preconfigure.ac
27905 * INSTALL: Regenerated.
27906 * configure: Likewise.
27907 * sysdeps/gnu/configure: Likewise.
27908 * sysdeps/i386/configure: Likewise.
27909 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27910 * sysdeps/mach/configure: Likewise.
27911 * sysdeps/mach/hurd/configure: Likewise.
27912 * sysdeps/powerpc/configure: Likewise.
27913 * sysdeps/powerpc/powerpc32/configure: Likewise.
27914 * sysdeps/powerpc/powerpc64/configure: Likewise.
27915 * sysdeps/s390/s390-32/configure: Likewise.
27916 * sysdeps/s390/s390-64/configure: Likewise.
27917 * sysdeps/sh/configure: Likewise.
27918 * sysdeps/sparc/configure: Likewise.
27919 * sysdeps/unix/sysv/linux/configure: Likewise.
27920 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27921 * sysdeps/x86_64/configure: Likewise.
27922 * sysdeps/x86_64/preconfigure: Likewise.
27924 2013-10-29 Andreas Schwab <schwab@suse.de>
27926 * stdio-common/Makefile (tst-swscanf-ENV): Define.
27928 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27930 * benchtests/pow-inputs: Add new inputs.
27932 * benchtests/exp-inputs: Add new inputs.
27934 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27935 conditional check for return value.
27936 (__cos32): Likewise.
27938 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27940 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27941 to provide a boost for large inputs with word alignment.
27942 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27943 implementation based on optimized PPC64 strcpy.
27944 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27945 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27946 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27947 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27949 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27952 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27954 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27957 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27958 * time/tst-strptime.c (day_tests): Add testcase.
27960 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27963 * manual/pattern.texi: Acknowledge that fnmatch can fail.
27965 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
27968 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27969 MAP_FAILED on error.
27971 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27974 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27975 heap for large requests.
27977 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
27980 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27981 result if the result has no associated interface.
27982 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27983 interface for all 127.X.Y.Z addresses.
27985 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
27987 * locale/iso-639.def: Add Ligurian (lij)
27989 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
27992 * sunrpc/rpc_main.c: Document rpcgen -5.
27994 2013-10-19 Michael Stahl <mstahl@redhat.com>
27996 * elf/rtld.c (do_preload): Print the reason why preloading failed.
27998 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
28001 * posix/glob.c: Match only directories when trailing slash is present.
28002 * posix/tst-gnuglob.c (my_opendir): Do not open files.
28003 (main): Add testcase.
28005 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
28008 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
28010 2013-10-18 Carlos O'Donell <carlos@redhat.com>
28012 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
28013 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
28014 AUTH_DES and cindex for FIPS 140-2.
28015 (DES Encryption): Add cindex FIPS 46-3.
28017 * locale/locarchive.h (struct locarhandle): Add fname.
28018 * locale/programs/localedef.c (main): Pass ARGV[remaining]
28019 if an optional argument was specified to --list-archive,
28021 * locale/programs/locarchive.c (show_archive_content): Take new
28022 argument fname and pass it via ah.fname to open_archive.
28023 * locale/programs/localedef.h: Update decl.
28024 (open_archive): If AH->fname is non-null, open that file
28025 rather than the default file name, and don't ignore ENOENT.
28026 (create_archive): Set AH.fname to NULL.
28027 (delete_locales_from_archive): Likewise.
28028 (add_locales_to_archive): Likewise.
28029 * locale/programs/locfile.c (write_all_categories): Likewise.
28031 2013-10-18 Joseph Myers <joseph@codesourcery.com>
28032 Aldy Hernandez <aldyh@redhat.com>
28034 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
28035 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
28036 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
28037 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
28038 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
28039 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
28040 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
28041 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
28042 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
28043 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
28044 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
28045 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
28046 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
28047 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
28048 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
28050 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
28052 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
28054 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
28056 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
28057 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
28059 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
28060 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
28061 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
28062 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
28064 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
28065 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
28066 * sysdeps/powerpc/preconfigure: Likewise.
28067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
28069 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
28070 Replace contents of file by #include of <fenv_libc.h>.
28071 * sysdeps/powerpc/soft-fp/sfp-machine.h
28072 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
28074 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
28075 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
28076 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
28077 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
28078 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
28079 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
28080 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
28081 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
28082 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
28083 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
28084 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
28085 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
28086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28087 Allow copysignl PLT reference to be missing.
28089 2013-10-18 Richard Sandiford <richard@codesourcery.com>
28090 Joseph Myers <joseph@codesourcery.com
28093 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28095 (add_to_tablewc): Assert sequence of wide characters is nonempty.
28097 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28099 * elf/tst-tls-dlinfo.c: Don't include tls.h.
28100 * elf/tst-tls1.c: Likewise.
28101 * elf/tst-tls10.h: Likewise.
28102 * elf/tst-tls14.c: Likewise.
28103 * elf/tst-tls2.c: Likewise.
28104 * elf/tst-tls3.c: Likewise.
28105 * elf/tst-tls4.c: Likewise.
28106 * elf/tst-tls5.c: Likewise.
28107 * elf/tst-tls6.c: Likewise.
28108 * elf/tst-tls7.c: Likewise.
28109 * elf/tst-tls8.c: Likewise.
28110 * elf/tst-tls9.c: Likewise.
28111 * elf/tst-tlsmod1.c: Likewise.
28112 * elf/tst-tlsmod13.c: Likewise.
28113 * elf/tst-tlsmod13a.c: Likewise.
28114 * elf/tst-tlsmod14a.c: Likewise.
28115 * elf/tst-tlsmod16a.c: Likewise.
28116 * elf/tst-tlsmod16b.c: Likewise.
28117 * elf/tst-tlsmod2.c: Likewise.
28118 * elf/tst-tlsmod3.c: Likewise.
28119 * elf/tst-tlsmod4.c: Likewise.
28120 * elf/tst-tlsmod5.c: Likewise.
28121 * elf/tst-tlsmod6.c: Likewise.
28123 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
28126 * malloc/malloc.c: remove checks for statistics.
28128 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
28131 * inet/inet_net.c (inet_network): Detect additional invalid strings.
28132 * inet/tst-network.c: Add testcase.
28134 2013-10-17 Andreas Schwab <schwab@suse.de>
28137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28138 to determine canonical name.
28140 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
28142 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28143 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28144 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28145 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28147 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28148 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28149 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28150 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28151 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28152 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28153 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28154 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28155 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28156 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28157 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28158 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28159 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28160 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28161 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28162 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28163 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28164 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28165 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28166 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28167 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28168 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28169 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28170 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28171 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28172 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28173 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28174 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28175 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28176 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28177 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28178 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28179 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28180 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28181 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28182 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28183 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28184 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28185 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28186 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28187 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28188 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28189 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28190 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28191 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28192 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28193 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28194 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28195 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28196 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28197 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28198 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28199 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28201 2013-10-17 Joseph Myers <joseph@codesourcery.com>
28204 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28205 make result into a quiet NaN.
28207 2013-10-16 Joseph Myers <joseph@codesourcery.com>
28209 * soft-fp/adddf3.c: Fix horizontal whitespace.
28210 * soft-fp/addsf3.c: Likewise.
28211 * soft-fp/addtf3.c: Likewise.
28212 * soft-fp/divdf3.c: Likewise.
28213 * soft-fp/divsf3.c: Likewise.
28214 * soft-fp/divtf3.c: Likewise.
28215 * soft-fp/double.h: Likewise.
28216 * soft-fp/eqdf2.c: Likewise.
28217 * soft-fp/eqsf2.c: Likewise.
28218 * soft-fp/eqtf2.c: Likewise.
28219 * soft-fp/extenddftf2.c: Likewise.
28220 * soft-fp/extended.h: Likewise.
28221 * soft-fp/extendsfdf2.c: Likewise.
28222 * soft-fp/extendsftf2.c: Likewise.
28223 * soft-fp/extendxftf2.c: Likewise.
28224 * soft-fp/fixdfdi.c: Likewise.
28225 * soft-fp/fixdfsi.c: Likewise.
28226 * soft-fp/fixdfti.c: Likewise.
28227 * soft-fp/fixsfdi.c: Likewise.
28228 * soft-fp/fixsfsi.c: Likewise.
28229 * soft-fp/fixsfti.c: Likewise.
28230 * soft-fp/fixtfdi.c: Likewise.
28231 * soft-fp/fixtfsi.c: Likewise.
28232 * soft-fp/fixtfti.c: Likewise.
28233 * soft-fp/fixunsdfdi.c: Likewise.
28234 * soft-fp/fixunsdfsi.c: Likewise.
28235 * soft-fp/fixunsdfti.c: Likewise.
28236 * soft-fp/fixunssfdi.c: Likewise.
28237 * soft-fp/fixunssfsi.c: Likewise.
28238 * soft-fp/fixunssfti.c: Likewise.
28239 * soft-fp/fixunstfdi.c: Likewise.
28240 * soft-fp/fixunstfsi.c: Likewise.
28241 * soft-fp/fixunstfti.c: Likewise.
28242 * soft-fp/floatdidf.c: Likewise.
28243 * soft-fp/floatdisf.c: Likewise.
28244 * soft-fp/floatditf.c: Likewise.
28245 * soft-fp/floatsidf.c: Likewise.
28246 * soft-fp/floatsisf.c: Likewise.
28247 * soft-fp/floatsitf.c: Likewise.
28248 * soft-fp/floattidf.c: Likewise.
28249 * soft-fp/floattisf.c: Likewise.
28250 * soft-fp/floattitf.c: Likewise.
28251 * soft-fp/floatundidf.c: Likewise.
28252 * soft-fp/floatundisf.c: Likewise.
28253 * soft-fp/floatunditf.c: Likewise.
28254 * soft-fp/floatunsidf.c: Likewise.
28255 * soft-fp/floatunsisf.c: Likewise.
28256 * soft-fp/floatunsitf.c: Likewise.
28257 * soft-fp/floatuntidf.c: Likewise.
28258 * soft-fp/floatuntisf.c: Likewise.
28259 * soft-fp/floatuntitf.c: Likewise.
28260 * soft-fp/fmadf4.c: Likewise.
28261 * soft-fp/fmasf4.c: Likewise.
28262 * soft-fp/fmatf4.c: Likewise.
28263 * soft-fp/gedf2.c: Likewise.
28264 * soft-fp/gesf2.c: Likewise.
28265 * soft-fp/getf2.c: Likewise.
28266 * soft-fp/ledf2.c: Likewise.
28267 * soft-fp/lesf2.c: Likewise.
28268 * soft-fp/letf2.c: Likewise.
28269 * soft-fp/muldf3.c: Likewise.
28270 * soft-fp/mulsf3.c: Likewise.
28271 * soft-fp/multf3.c: Likewise.
28272 * soft-fp/negdf2.c: Likewise.
28273 * soft-fp/negsf2.c: Likewise.
28274 * soft-fp/negtf2.c: Likewise.
28275 * soft-fp/op-1.h: Likewise.
28276 * soft-fp/op-2.h: Likewise.
28277 * soft-fp/op-4.h: Likewise.
28278 * soft-fp/op-8.h: Likewise.
28279 * soft-fp/op-common.h: Likewise.
28280 * soft-fp/quad.h: Likewise.
28281 * soft-fp/single.h: Likewise.
28282 * soft-fp/soft-fp.h: Likewise.
28283 * soft-fp/sqrtdf2.c: Likewise.
28284 * soft-fp/sqrtsf2.c: Likewise.
28285 * soft-fp/sqrttf2.c: Likewise.
28286 * soft-fp/subdf3.c: Likewise.
28287 * soft-fp/subsf3.c: Likewise.
28288 * soft-fp/subtf3.c: Likewise.
28289 * soft-fp/truncdfsf2.c: Likewise.
28290 * soft-fp/trunctfdf2.c: Likewise.
28291 * soft-fp/trunctfsf2.c: Likewise.
28292 * soft-fp/trunctfxf2.c: Likewise.
28293 * soft-fp/unorddf2.c: Likewise.
28294 * soft-fp/unordsf2.c: Likewise.
28295 * soft-fp/unordtf2.c: Likewise.
28297 2013-10-15 Joseph Myers <joseph@codesourcery.com>
28299 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28300 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28302 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
28304 * elf/dl-libc.c: Clear initfini list after freeing.
28306 2013-10-14 Joseph Myers <joseph@codesourcery.com>
28308 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28309 * soft-fp/addsf3.c: Likewise.
28310 * soft-fp/addtf3.c: Likewise.
28311 * soft-fp/divdf3.c: Likewise.
28312 * soft-fp/divsf3.c: Likewise.
28313 * soft-fp/divtf3.c: Likewise.
28314 * soft-fp/double.h: Likewise.
28315 * soft-fp/eqdf2.c: Likewise.
28316 * soft-fp/eqsf2.c: Likewise.
28317 * soft-fp/eqtf2.c: Likewise.
28318 * soft-fp/extenddftf2.c: Likewise.
28319 * soft-fp/extended.h: Likewise.
28320 * soft-fp/extendsfdf2.c: Likewise.
28321 * soft-fp/extendsftf2.c: Likewise.
28322 * soft-fp/extendxftf2.c: Likewise.
28323 * soft-fp/fixdfdi.c: Likewise.
28324 * soft-fp/fixdfsi.c: Likewise.
28325 * soft-fp/fixdfti.c: Likewise.
28326 * soft-fp/fixsfdi.c: Likewise.
28327 * soft-fp/fixsfsi.c: Likewise.
28328 * soft-fp/fixsfti.c: Likewise.
28329 * soft-fp/fixtfdi.c: Likewise.
28330 * soft-fp/fixtfsi.c: Likewise.
28331 * soft-fp/fixtfti.c: Likewise.
28332 * soft-fp/fixunsdfdi.c: Likewise.
28333 * soft-fp/fixunsdfsi.c: Likewise.
28334 * soft-fp/fixunsdfti.c: Likewise.
28335 * soft-fp/fixunssfdi.c: Likewise.
28336 * soft-fp/fixunssfsi.c: Likewise.
28337 * soft-fp/fixunssfti.c: Likewise.
28338 * soft-fp/fixunstfdi.c: Likewise.
28339 * soft-fp/fixunstfsi.c: Likewise.
28340 * soft-fp/fixunstfti.c: Likewise.
28341 * soft-fp/floatdidf.c: Likewise.
28342 * soft-fp/floatdisf.c: Likewise.
28343 * soft-fp/floatditf.c: Likewise.
28344 * soft-fp/floatsidf.c: Likewise.
28345 * soft-fp/floatsisf.c: Likewise.
28346 * soft-fp/floatsitf.c: Likewise.
28347 * soft-fp/floattidf.c: Likewise.
28348 * soft-fp/floattisf.c: Likewise.
28349 * soft-fp/floattitf.c: Likewise.
28350 * soft-fp/floatundidf.c: Likewise.
28351 * soft-fp/floatundisf.c: Likewise.
28352 * soft-fp/floatunsidf.c: Likewise.
28353 * soft-fp/floatunsisf.c: Likewise.
28354 * soft-fp/floatuntidf.c: Likewise.
28355 * soft-fp/floatuntisf.c: Likewise.
28356 * soft-fp/floatuntitf.c: Likewise.
28357 * soft-fp/fmadf4.c: Likewise.
28358 * soft-fp/fmasf4.c: Likewise.
28359 * soft-fp/fmatf4.c: Likewise.
28360 * soft-fp/gedf2.c: Likewise.
28361 * soft-fp/gesf2.c: Likewise.
28362 * soft-fp/getf2.c: Likewise.
28363 * soft-fp/ledf2.c: Likewise.
28364 * soft-fp/lesf2.c: Likewise.
28365 * soft-fp/letf2.c: Likewise.
28366 * soft-fp/muldf3.c: Likewise.
28367 * soft-fp/mulsf3.c: Likewise.
28368 * soft-fp/multf3.c: Likewise.
28369 * soft-fp/negdf2.c: Likewise.
28370 * soft-fp/negsf2.c: Likewise.
28371 * soft-fp/negtf2.c: Likewise.
28372 * soft-fp/op-1.h: Likewise.
28373 * soft-fp/op-2.h: Likewise.
28374 * soft-fp/op-4.h: Likewise.
28375 * soft-fp/op-8.h: Likewise.
28376 * soft-fp/op-common.h: Likewise.
28377 * soft-fp/quad.h: Likewise.
28378 * soft-fp/single.h: Likewise.
28379 * soft-fp/soft-fp.h: Likewise.
28380 * soft-fp/sqrtdf2.c: Likewise.
28381 * soft-fp/sqrtsf2.c: Likewise.
28382 * soft-fp/sqrttf2.c: Likewise.
28383 * soft-fp/subdf3.c: Likewise.
28384 * soft-fp/subsf3.c: Likewise.
28385 * soft-fp/subtf3.c: Likewise.
28386 * soft-fp/truncdfsf2.c: Likewise.
28387 * soft-fp/trunctfdf2.c: Likewise.
28388 * soft-fp/trunctfsf2.c: Likewise.
28389 * soft-fp/trunctfxf2.c: Likewise.
28390 * soft-fp/unorddf2.c: Likewise.
28391 * soft-fp/unordsf2.c: Likewise.
28392 * soft-fp/unordtf2.c: Likewise.
28394 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
28397 * misc/error.c (error_tail): Fix possible buffer overflow.
28399 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
28402 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28405 2013-10-14 P. J. McDermott <pj@pehjota.net>
28408 * elf/ldd.bash.in (try_trace): New function. Delete previous code
28409 testing pipefail option.
28411 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28413 * soft-fp/double.h: Indent preprocessor directives inside #if.
28414 * soft-fp/extended.h: Likewise.
28415 * soft-fp/op-2.h: Likewise.
28416 * soft-fp/op-4.h: Likewise.
28417 * soft-fp/op-common.h: Likewise.
28418 * soft-fp/quad.h: Likewise.
28419 * soft-fp/single.h: Likewise.
28420 * soft-fp/soft-fp.h: Likewise.
28422 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
28424 * iconv/iconv_prog.c: Fix typos.
28425 * stdio-common/psiginfo-data.h: Likewise.
28427 2013-10-12 Reuben Thomas <rrt@sc3d.org>
28430 * locale/setlocale.c: Fix typo.
28432 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28435 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28436 signaling NaN arguments.
28437 * soft-fp/unordsf2.c (__unordsf2): Likewise.
28438 * soft-fp/unordtf2.c (__unordtf2): Likewise.
28441 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28442 unordered operands.
28443 * soft-fp/gesf2.c (__gesf2): Likewise.
28444 * soft-fp/getf2.c (__getf2): Likewise.
28445 * soft-fp/ledf2.c (__ledf2): Likewise.
28446 * soft-fp/lesf2.c (__lesf2): Likewise.
28447 * soft-fp/letf2.c (__letf2): Likewise.
28449 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28450 * soft-fp/eqsf2.c (__eqsf2): Likewise.
28451 * soft-fp/eqtf2.c (__eqtf2): Likewise.
28452 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28453 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28454 * soft-fp/fixdfti.c (__fixdfti): Likewise.
28455 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28456 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28457 * soft-fp/fixsfti.c (__fixsfti): Likewise.
28458 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28459 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28460 * soft-fp/fixtfti.c (__fixtfti): Likewise.
28461 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28462 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28463 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28464 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28465 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28466 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28467 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28468 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28469 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28470 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28471 * soft-fp/floatdisf.c (__floatdisf): Likewise.
28472 * soft-fp/floatsisf.c (__floatsisf): Likewise.
28473 * soft-fp/floattidf.c (__floattidf): Likewise.
28474 * soft-fp/floattisf.c (__floattisf): Likewise.
28475 * soft-fp/floattitf.c (__floattitf): Likewise.
28476 * soft-fp/floatundidf.c (__floatundidf): Likewise.
28477 * soft-fp/floatundisf.c (__floatundisf): Likewise.
28478 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28479 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28480 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28481 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28482 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28483 * soft-fp/gesf2.c (__gesf2): Likewise.
28484 * soft-fp/getf2.c (__getf2): Likewise.
28485 * soft-fp/ledf2.c (__ledf2): Likewise.
28486 * soft-fp/lesf2.c (__lesf2): Likewise.
28487 * soft-fp/letf2.c (__letf2): Likewise.
28489 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28490 Undefine and redefine.
28491 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28492 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28493 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28494 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28495 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28496 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28497 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28498 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28499 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28500 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28501 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28502 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28503 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28504 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28505 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28508 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28509 without decrementing exponent if mantissa >= that for the
28510 denominator, not >.
28511 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28512 denominator, not >. Decrement exponent in < case instead of
28513 incrementing in >= case.
28514 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28515 without decrementing exponent if mantissa >= that for the
28516 denominator, not >.
28518 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28519 computing saturated result for unsigned overflow.
28521 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28522 Jeff Law <law@redhat.com>
28524 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28525 (atan2Mp): Add systemtap probe marker.
28526 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28527 (__ieee754_log): Add systemtap probe marker.
28528 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28529 (atanMp): Add systemtap probe marker.
28530 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28531 (tanMp): Add systemtap probe marker.
28532 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28533 (__slowexp): Add systemtap probe marker.
28534 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28535 (__slowpow): Add systemtap probe marker.
28536 * manual/probes.texi: Document probes.
28538 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
28541 * libio/fileops.c (_IO_new_file_write): Return count of bytes
28543 (_IO_new_file_xsputn): Don't return EOF if nothing has been
28545 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28546 written to buffer but not flushed.
28547 * libio/iofwrite_u.c: Likewise.
28548 * libio/iopadn.c: Return bytes returned even if EOF was
28550 * libio/iowpadn.c: Likewise.
28551 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28552 if _IO_padn does not write the whole buffer.
28553 [!COMPILE_WPRINTF] (PAD): Likewise.
28555 2013-10-10 David S. Miller <davem@davemloft.net>
28557 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28560 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28562 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
28563 instead of FSF address.
28564 * soft-fp/fixdfti.c: Likewise.
28565 * soft-fp/fixsfti.c: Likewise.
28566 * soft-fp/fixtfti.c: Likewise.
28567 * soft-fp/fixunsdfti.c: Likewise.
28568 * soft-fp/fixunssfti.c: Likewise.
28569 * soft-fp/fixunstfti.c: Likewise.
28570 * soft-fp/floattidf.c: Likewise.
28571 * soft-fp/floattisf.c: Likewise.
28572 * soft-fp/floattitf.c: Likewise.
28573 * soft-fp/floatuntidf.c: Likewise.
28574 * soft-fp/floatuntisf.c: Likewise.
28575 * soft-fp/floatuntitf.c: Likewise.
28576 * soft-fp/trunctfxf2.c: Likewise.
28578 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
28579 * soft-fp/fixdfti.c: Likewise.
28580 * soft-fp/fixsfti.c: Likewise.
28581 * soft-fp/fixtfti.c: Likewise.
28582 * soft-fp/fixunsdfti.c: Likewise.
28583 * soft-fp/fixunssfti.c: Likewise.
28584 * soft-fp/fixunstfti.c: Likewise.
28585 * soft-fp/floattidf.c: Likewise.
28586 * soft-fp/floattisf.c: Likewise.
28587 * soft-fp/floattitf.c: Likewise.
28588 * soft-fp/floatuntidf.c: Likewise.
28589 * soft-fp/floatuntisf.c: Likewise.
28590 * soft-fp/floatuntitf.c: Likewise.
28591 * soft-fp/trunctfxf2.c: Likewise.
28593 2013-10-10 David S. Miller <davem@davemloft.net>
28595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28597 2013-10-10 Joseph Myers <joseph@codsourcery.com>
28599 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28600 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28601 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28602 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28603 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28604 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28605 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28607 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28608 for NaNs before doing comparisons on argument.
28609 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28612 2013-10-10 Will Newton <will.newton@linaro.org>
28614 * malloc/hooks.c (memalign_check): Ensure the value of bytes
28615 passed to _int_memalign does not overflow.
28617 2013-10-10 Torvald Riegel <triegel@redhat.com>
28619 * scripts/bench.pl: Add include-sources directive.
28620 * benchtests/README: Update documentation.
28622 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28624 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28625 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28626 instead of FP_INIT_ROUNDMODE.
28627 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28628 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28631 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
28632 copy class of input value.
28633 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
28634 not handle exceptions.
28635 * soft-fp/negsf2.c (__negsf2): Likewise.
28636 * soft-fp/negtf2.c (__negtf2): Likewise.
28637 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28639 2013-10-09 Joseph Myers <joseph@codesourcery.com>
28641 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28642 semicolon. From Linux kernel.
28644 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
28646 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28648 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
28651 * manual/socket.texi: Added statement about buffer
28652 for gethostbyname2_r.
28654 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
28656 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28657 Use .p2align directive instead, throughout.
28658 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28659 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28660 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28661 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28662 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28663 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28664 * sysdeps/x86_64/strchr.S: Likewise.
28665 * sysdeps/x86_64/strrchr.S: Likewise.
28667 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28669 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28671 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28673 * sysdeps/generic/math_private.h (__mpsin1): Remove
28675 (__mpcos1): Likewise.
28676 (__mpsin): New argument __range_reduce.
28677 (__mpcos): Likewise.
28678 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28679 (slow): Use __mpsin and __mpcos.
28683 (sloww1): Likewise.
28684 (sloww2): Likewise.
28685 (bsloww): Likewise.
28686 (bsloww1): Likewise.
28687 (bsloww2): Likewise.
28688 (cslow2): Likewise.
28689 (csloww): Likewise.
28690 (csloww1): Likewise.
28691 (csloww2): Likewise.
28692 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28693 range_reduce. Merge in __mpsin1.
28694 (__mpcos): Likewise.
28695 (__mpsin1): Remove.
28696 (__mpcos1): Likewise.
28698 2013-10-07 Joseph Myers <joseph@codesourcery.com>
28700 * locale/loadlocale.c (_nl_intern_locale_data): Use
28702 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28703 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28704 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28705 obstack data is appropriately aligned.
28706 (obstack_int32_grow_fast): Likewise.
28707 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28708 * locale/programs/locfile.c (add_locale_uint32): Likewise.
28709 (add_locale_uint32_array): Likewise.
28711 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28713 * benchtests/Makefile: Remove ARGLIST and RET variables.
28714 ($(objpfx)bench-%.c): Pass only function name to the script.
28715 * benchtests/README: Update documentation.
28716 * benchtests/acos-inputs: Add new directives.
28717 * benchtests/acosh-inputs: Likewise.
28718 * benchtests/asin-inputs: Likewise.
28719 * benchtests/asinh-inputs: Likewise.
28720 * benchtests/atan-inputs: Likewise.
28721 * benchtests/atanh-inputs: Likewise.
28722 * benchtests/cos-inputs: Likewise.
28723 * benchtests/cosh-inputs: Likewise.
28724 * benchtests/exp-inputs: Likewise.
28725 * benchtests/log-inputs: Likewise.
28726 * benchtests/pow-inputs: Likewise.
28727 * benchtests/rint-inputs: Likewise.
28728 * benchtests/sin-inputs: Likewise.
28729 * benchtests/sinh-inputs: Likewise.
28730 * benchtests/tan-inputs: Likewise.
28731 * benchtests/tanh-inputs: Likewise.
28732 * scripts/bench.pl: Add support for new directives.
28734 2013-10-07 Alan Modra <amodra@gmail.com>
28736 * README: Fix careless merge.
28738 2013-10-05 Alan Modra <amodra@gmail.com>
28740 * NEWS: Mention powerpc64le support and bugs fixed.
28741 * README: Both big-endian and little-endian powerpc64 supported.
28743 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28745 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28746 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28747 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28748 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28750 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
28752 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28755 2013-10-04 Joseph Myers <joseph@codesourcery.com>
28757 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28758 Move -mhard-float appending from
28759 ports/sysdeps/powerpc/powerpc32/Makefile.
28760 [$(with-fp) = yes] (ASFLAGS): Likewise.
28761 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28762 * sysdeps/powerpc/nofpu: Move directory from
28763 ports/sysdeps/powerpc/nofpu.
28764 * sysdeps/powerpc/soft-fp: Move directory from
28765 ports/sysdeps/powerpc/soft-fp.
28766 * sysdeps/powerpc/powerpc32/405: Move directory from
28767 ports/sysdeps/powerpc/powerpc32/405.
28768 * sysdeps/powerpc/powerpc32/440: Move directory from
28769 ports/sysdeps/powerpc/powerpc32/440.
28770 * sysdeps/powerpc/powerpc32/464: Move directory from
28771 ports/sysdeps/powerpc/powerpc32/464.
28772 * sysdeps/powerpc/powerpc32/476: Move directory from
28773 ports/sysdeps/powerpc/powerpc32/476.
28774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28775 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28777 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28779 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28781 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28783 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28784 * README: Update for powerpc-*-linux-gnu software floating point
28787 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28788 case to powerpc/powerpc32*.
28789 * sysdeps/unix/sysv/linux/configure: Regenerated.
28791 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28792 (_FPU_MASK_OM): Define as 0x04.
28793 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28794 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28798 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28801 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28804 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28807 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28808 and setcontext_e500.
28810 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
28812 * locale/iso-3166.def: Update iso-1366.def and related occurrences
28814 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28816 * manual/threads.texi (Default Thread Attributes): Fix typo.
28818 2013-10-04 Will Newton <will.newton@linaro.org>
28820 * malloc/Makefile: Add tst-memalign.
28821 * malloc/tst-memalign.c: New file.
28823 * malloc/tst-posix_memalign.c: Add comments.
28824 (do_test): Add comments and call free on all potentially
28825 allocated pointers. Add space after cast.
28827 * malloc/tst-pvalloc.c: Add comments.
28828 (do_test): Add comments and call free on all potentially
28829 allocated pointers. Remove duplicate check for NULL pointer.
28830 Add space after cast.
28832 * malloc/tst-valloc.c: Add comments.
28833 (do_test): Add comments and call free on all potentially
28834 allocated pointers. Remove duplicate check for NULL pointer.
28835 Add space after cast.
28837 2013-10-04 Alan Modra <amodra@gmail.com>
28839 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28840 Use stdint types in rather than __attribute__((mode())).
28841 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28843 2013-10-04 Alan Modra <amodra@gmail.com>
28845 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28846 Correct handling of unaligned relocs for little-endian.
28847 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28849 2013-10-04 Alan Modra <amodra@gmail.com>
28851 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28852 * configure: Regenerate.
28853 * nptl/shlib-versions: Powerpc*le starts at 2.18.
28854 * shlib-versions: Likewise.
28856 2013-10-04 Alan Modra <amodra@gmail.com>
28858 * string/tester.c (test_memrchr): Increment reported test cycle.
28860 2013-10-04 Alan Modra <amodra@gmail.com>
28862 * string/test-memcpy.c (do_one_test): When reporting errors, print
28863 string address and don't overrun end of string.
28865 2013-10-04 Alan Modra <amodra@gmail.com>
28867 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28868 insrdi. Make better use of reg selection to speed exit slightly.
28869 Schedule entry path a little better. Remove useless "are we done"
28870 checks on entry to main loop. Handle wrapping around zero address.
28871 Correct main loop count. Handle single left-over word from main
28872 loop inline rather than by using loop_small. Remove extra word
28873 case in loop_small caused by wrong loop count. Add little-endian
28875 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28876 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
28878 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28879 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28880 support. Avoid rlwimi.
28881 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28883 2013-10-04 Alan Modra <amodra@gmail.com>
28885 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28886 insrdi. Formatting.
28887 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28888 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28889 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28890 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28891 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28892 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28894 2013-10-04 Alan Modra <amodra@gmail.com>
28896 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28897 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28898 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28899 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28900 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28901 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28902 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28903 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28904 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
28905 use of regs. Use power7 mtocrf. Tidy function tails.
28907 2013-10-04 Alan Modra <amodra@gmail.com>
28909 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28910 Formatting. Consistently use rXXX register defines or rN defines.
28911 Use early exit labels that avoid restoring unused non-volatile regs.
28912 Make cr field use more consistent with rWORDn compares. Rename
28913 regs used as shift registers for unaligned loop, using rN defines
28914 for short lifetime/multiple use regs.
28915 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28916 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
28917 addi 1,1,64 to pop stack frame. Simplify return value code.
28918 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28920 2013-10-04 Alan Modra <amodra@gmail.com>
28922 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28923 support. Correct typos, formatting. Optimize tail. Use insrdi
28924 rather than rlwimi.
28925 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28926 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28927 little-endian support. Correct typos.
28928 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
28929 rather than rlwimi.
28930 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
28931 in loop and entry code to keep "and." results.
28932 (strchr): Add little-endian support. Comment. Move cntlzd
28934 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28936 2013-10-04 Alan Modra <amodra@gmail.com>
28938 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28939 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28940 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28941 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28943 2013-10-04 Alan Modra <amodra@gmail.com>
28945 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28946 (rTMP): Define as r11.
28947 (strcmp): Add little-endian support. Optimise tail.
28948 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28949 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28950 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28951 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28952 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28953 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28954 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28956 2013-10-04 Alan Modra <amodra@gmail.com>
28958 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28959 little-endian support. Remove unnecessary "are we done" tests.
28960 Handle "s" wrapping around zero and extremely large "size".
28961 Correct main loop count. Handle single left-over word from main
28962 loop inline rather than by using small_loop. Correct comments.
28963 Delete "zero" tail, use "end_max" instead.
28964 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28966 2013-10-04 Alan Modra <amodra@gmail.com>
28968 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28969 support. Don't branch over align.
28970 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28971 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28972 support. Rearrange tmp reg use to suit. Comment.
28973 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28975 2013-10-04 Alan Modra <amodra@gmail.com>
28977 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28979 2013-10-04 Alan Modra <amodra@gmail.com>
28981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28982 conditional form of branch and link when obtaining pc.
28983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28985 2013-10-04 Alan Modra <amodra@gmail.com>
28987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28992 2013-10-04 Alan Modra <amodra@gmail.com>
28994 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28995 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28996 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28997 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28998 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28999 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29000 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
29001 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29002 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29003 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
29005 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29006 Alistair Popple <alistair@ozlabs.au.ibm.com>
29007 Alan Modra <amodra@gmail.com>
29010 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
29011 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
29012 _dl_hwcap access for little-endian.
29013 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
29014 destroy vmx regs when saving unaligned.
29015 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
29016 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
29017 destroy vmx regs when saving unaligned.
29019 2013-10-04 Alan Modra <amodra@gmail.com>
29021 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
29022 Don't use a union to pack hi/low value.
29024 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29026 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
29028 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29029 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
29030 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29031 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29032 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29034 2013-10-04 Alan Modra <amodra@gmail.com>
29036 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
29037 constants to usual value for .cst8 section, and remove redundant
29039 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
29040 constant for 0x1p52. Load little-endian words of double from
29041 correct stack offsets.
29043 2013-10-04 Alan Modra <amodra@gmail.com>
29045 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
29046 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
29047 words of double from correct stack offsets.
29048 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29049 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
29050 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29051 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29052 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29053 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29054 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29055 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29056 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29057 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29058 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29059 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29060 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29061 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29062 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29063 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
29064 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29066 2013-10-04 Alan Modra <amodra@gmail.com>
29068 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
29069 64-bit int/double union.
29070 (_FPU_SETCW): Likewise.
29071 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
29072 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
29074 2013-10-04 Alan Modra <amodra@gmail.com>
29076 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
29077 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
29079 2013-10-04 Alan Modra <amodra@gmail.com>
29081 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
29082 use vector int constants.
29083 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
29085 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29087 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
29088 array with long long.
29089 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
29090 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
29091 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
29092 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
29093 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
29094 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29095 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29096 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29097 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29098 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29099 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29100 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29101 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29103 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29105 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29106 (__signbit): Likewise. Correct for little-endian.
29107 (__signbitl): Call __signbit.
29108 (lrint): Correct for little-endian.
29109 (lrintf): Call lrint.
29111 2013-10-04 Alan Modra <amodra@gmail.com>
29113 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29114 union 32-bit int array member with 64-bit int array.
29115 (t515, tm256): Double rather than long double.
29116 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29118 2013-10-04 Alan Modra <amodra@gmail.com>
29120 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29122 (IEEE854_LONG_DOUBLE_BIAS): Delete.
29123 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29124 version of math_ldbl.h.
29126 2013-10-04 Alan Modra <amodra@gmail.com>
29128 [BZ #15734], [BZ #15735]
29129 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29130 all uses of ieee875 long double macros and unions. Simplify test
29131 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
29132 ldbl_extract_mantissa value for ix,iy exponents. Properly
29133 normalize after ldbl_extract_mantissa, and don't add hidden bit
29134 already handled. Don't treat low word of ieee854 mantissa like
29135 low word of IBM long double and mask off bit when testing for
29137 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29138 all uses of ieee875 long double macros and unions. Simplify tests
29139 for 0.0L and inf. Correct double adjustment of k. Delete dead code
29140 adjusting ha,hb. Simplify code setting kld. Delete two600 and
29141 two1022, instead use their values. Recognise that tests for large
29142 "a" and small "b" are mutually exclusive. Rename vars. Comment.
29143 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29144 Rewrite all uses of ieee875 long double macros and unions. Simplify
29145 test for 0.0L and nan. Correct negation.
29146 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29147 ieee875 long double macros and unions. Correct output for large
29148 magnitude x. Correct absolute value calculation.
29149 (__erfcl): Likewise.
29150 * math/libm-test.inc: Add tests for errors discovered in IBM long
29151 double versions of fmodl, remainderl, erfl and erfcl.
29153 2013-10-04 Alan Modra <amodra@gmail.com>
29155 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29156 all uses of ieee854 long double macros and unions. Simplify tests
29157 for long doubles that are fully specified by the high double.
29158 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29160 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29161 Remove dead code too.
29162 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29163 (__ieee754_ynl): Likewise.
29164 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29165 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29166 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29167 Remove dead code too.
29168 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29169 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29170 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29171 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29173 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29175 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29176 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29177 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29178 Comment on variable precision.
29179 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29180 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29182 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29183 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29184 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29185 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29186 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29188 2013-10-04 Alan Modra <amodra@gmail.com>
29190 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29191 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29192 all uses of ieee854 long double macros and unions.
29193 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29194 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29195 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29196 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29197 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29198 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29200 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29201 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29202 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29203 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29204 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29205 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29206 Simplify sign and nan test too.
29207 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29208 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29209 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29210 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29212 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29213 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29215 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29216 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29217 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29218 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29219 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29220 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29222 2013-10-04 Alan Modra <amodra@gmail.com>
29224 * stdio-common/printf_size.c (__printf_size): Don't use
29225 union ieee854_long_double in fpnum union.
29226 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
29227 signbit macro to retrieve sign from long double.
29228 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29229 retrieve sign from long double.
29230 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29231 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29232 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29233 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29234 * math/test-misc.c (main): Don't use union ieee854_long_double.
29236 2013-10-04 Alan Modra <amodra@gmail.com>
29239 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29240 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29241 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29242 calculation. Remove unnecessary test for denormal exponent.
29243 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29244 Correct handling of denormals. Avoid undefined shift behaviour.
29245 Correct normalisation of low mantissa when low double is denormal.
29246 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29247 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
29248 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29249 Correct normalisation of low mantissa. Test for overflow of high
29250 mantissa and normalise.
29251 (ldbl_nearbyint): Use more readable constant for two52.
29252 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29253 (__mpn_construct_long_double): Fix test for overflow of high
29254 mantissa and correct normalisation. Avoid undefined shift.
29256 2013-10-04 Alan Modra <amodra@gmail.com>
29258 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29259 (union ibm_extended_long_double): Define as an array of ieee754_double.
29260 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29261 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29262 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29263 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29264 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29265 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29266 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29267 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29268 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29269 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29270 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29272 2013-10-03 Joseph Myers <joseph@codesourcery.com>
29274 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29275 page size instead of calling getpagesize.
29277 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29278 (LOCFILE_ALIGN_MASK): Likewise.
29279 (LOCFILE_ALIGN_UP): Likewise.
29280 (LOCFILE_ALIGNED_P): Likewise.
29281 * locale/programs/ld-collate.c (collate_output): Use the new
29282 macros instead of __alignof__ (int32_t).
29283 * locale/weight.h (findidx): Likewise.
29285 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
29288 * manual/string.texi: Fix strncat and wcsncat.
29290 2013-10-03 Brooks Moses <bmoses@google.com>
29293 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29294 * Makerules: ...here, and adjust associated comments.
29296 2013-10-02 Will Newton <will.newton@linaro.org>
29298 * malloc/Makefile: Add tst-pvalloc.
29299 * malloc/tst-pvalloc.c: New file.
29301 2013-10-02 Will Newton <will.newton@linaro.org>
29303 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29304 improve test coverage.
29306 2013-10-02 Will Newton <will.newton@linaro.org>
29308 * malloc/Makefile: Add tst-posix_memalign.
29309 * malloc/tst-posix_memalign.c: New file.
29311 2013-10-01 Eric Blake <eblake@redhat.com>
29313 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29314 Use __THROWNL rather than __THROW on static functions.
29316 2013-09-30 Petr Machata <pmachata@redhat.com>
29318 * elf/elf.h (R_AARCH64_ABS16): New macro.
29319 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29320 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29321 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29322 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29323 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29324 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29325 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29326 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29327 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29328 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29329 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29330 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29331 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29332 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29333 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29334 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29335 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29336 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29337 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29338 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29339 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29340 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29341 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29342 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29343 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29344 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29345 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29346 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29347 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29348 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29349 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29350 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29351 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29352 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29353 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29354 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29355 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29356 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29357 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29358 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29359 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29360 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29361 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29362 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29363 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29364 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29365 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29366 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29367 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29368 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29369 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29370 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29371 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29372 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29373 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29374 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29375 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29376 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29377 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29378 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29379 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29380 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29381 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29382 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29383 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29384 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29385 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29386 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29387 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29388 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29389 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29390 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29391 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29392 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29393 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29394 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29395 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29396 (R_AARCH64_TLSDESC_LDR): Likewise.
29397 (R_AARCH64_TLSDESC_ADD): Likewise.
29398 (R_AARCH64_TLSDESC_CALL): Likewise.
29400 2013-09-30 Andreas Schwab <schwab@suse.de>
29403 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29404 the nss database lookup.
29405 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29408 2013-09-28 Mike Frysinger <vapier@gentoo.org>
29410 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29412 2013-09-28 P. J. McDermott <pj@pehjota.net>
29414 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29415 ${Bash-specific parameter/pattern/string} parameter expansion.
29416 * sysdeps/unix/make-syscalls.sh: Likewise.
29418 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29420 * sysdeps/sh/stackguard-macros.h: New file.
29422 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
29424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29425 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29426 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29427 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29428 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29429 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29431 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29433 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29434 Fix thread ID register.
29436 2013-09-25 Joseph Myers <joseph@codesourcery.com>
29438 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29439 [POSIX || UNIX98]: Require rather than permitting all symbols from
29441 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29442 element of struct sched_param.
29443 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29444 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29445 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29446 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29449 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
29451 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29452 argument calculation.
29454 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29456 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29458 [POSIX] (pthread_attr_t): Do not require type.
29459 [POSIX] (pthread_cond_t): Likewise.
29460 [POSIX] (pthread_condattr_t): Likewise.
29461 [POSIX] (pthread_key_t): Likewise.
29462 [POSIX] (pthread_mutex_t): Likewise.
29463 [POSIX] (pthread_mutexattr_t): Likewise.
29464 [POSIX] (pthread_once_t): Likewise.
29465 [POSIX] (pthread_t): Likewise.
29466 [POSIX-based standards] (pthread_atfork): Expect function.
29468 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29469 Richard Sandiford <richard@codesourcery.com>
29471 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29472 (swap_endianness_p): New extern variable.
29473 (set_big_endian): New inline function.
29474 (maybe_swap_uint32): Likewise.
29475 (maybe_swap_uint32_array): Likewise.
29476 (maybe_swap_uint32_obstack): Likewise.
29477 * locale/programs/locfile.c: Include <stdbool.h>.
29478 (swap_endianness_p): New variable.
29479 (add_locale_uint32): Call maybe_swap_uint32.
29480 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29481 (write_locale_data): Call maybe_swap_uint32_array.
29482 * locale/programs/ld-collate.c (obstack_int32_grow): Call
29484 (obstack_int32_grow_fast): Likewise.
29485 (output_weightwc): Call maybe_swap_uint32_obstack.
29486 (collate_output): Likewise.
29487 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29488 (OPT_LITTLE_ENDIAN): Likewise.
29489 (options): Add --little-endian and --big-endian options.
29490 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29491 * locale/programs/locarchive.c: Include "locfile.h".
29495 (create_archive): Use the new macros to access fields of
29496 structures directly mapped from or written to locale archives.
29497 (oldlocrecentcmp): Likewise.
29498 (enlarge_archive): Likewise.
29499 (insert_name): Likewise.
29500 (add_alias): Likewise.
29501 (add_locale): Likewise.
29502 (delete_locales_from_archive): Likewise.
29503 (show_archive_content): Likewise.
29504 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
29507 2013-09-24 Roland McGrath <roland@hack.frob.com>
29509 * manual/freemanuals.texi: Updated from (newly) canonical copy at
29510 http://www.gnu.org/doc/freemanuals.texi.
29511 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29513 2013-09-24 Will Newton <will.newton@linaro.org>
29515 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29518 2013-09-23 Joseph Myers <joseph@codesourcery.com>
29520 * locale/hashval.h (compute_hashval): Interpret bytes of key as
29523 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
29525 * manual/threads.texi (POSIX Threads): Fix a typo.
29527 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29530 * string/tst-strcoll-overflow.c: New test case.
29531 * string/Makefile (xtests): Add tst-strcoll-overflow.
29532 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29533 cache if string sizes may cause integer overflow.
29536 * string/strcoll_l.c (coll_seq): New members rule, idx,
29537 save_idx and back_us.
29538 (get_next_seq_nocache): New function.
29539 (do_compare_nocache): New function.
29540 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29543 2013-09-23 Carlos O'Donell <carlos@redhat.com>
29546 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29547 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29548 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29551 * elf/Makefile (tests): Add tst-ptrguard1.
29552 (tests-static): Add tst-ptrguard1-static.
29553 (tst-ptrguard1-ARGS): Define.
29554 (tst-ptrguard1-static-ARGS): Define.
29555 * elf/tst-ptrguard1.c: New file.
29556 * elf/tst-ptrguard1-static.c: New file.
29557 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29558 * sysdeps/i386/stackguard-macros.h: Likewise.
29559 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29560 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29561 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29562 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29563 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29564 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29566 2013-09-23 Hector Marco <hecmargi@upv.es>
29567 Ismael Ripoll <iripoll@disca.upv.es>
29568 Carlos O'Donell <carlos@redhat.com>
29571 * sysdeps/generic/stackguard-macros.h: Define
29572 __pointer_chk_guard_local and POINTER_CHK_GUARD.
29573 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29574 Define __pointer_chk_guard_local.
29575 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29576 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29578 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
29581 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29583 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
29585 * include/string.h (__ffs): Declare as hidden.
29586 * string/ffs.c (__ffs): Define as hidden.
29587 * sysdeps/i386/ffs.c (__ffs): Likewise.
29588 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29589 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29590 * sysdeps/s390/ffs.c (__ffs): Likewise.
29591 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29593 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
29595 * NEWS: Mention malloc probes.
29597 * malloc/arena.c (new_heap): New memory_heap_new probe.
29598 (grow_heap): New memory_heap_more probe.
29599 (shrink_heap): New memory_heap_less probe.
29600 (heap_trim): New memory_heap_free probe.
29601 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29602 (systrim): New memory_sbrk_less probe.
29603 * manual/probes.texi: Document them.
29605 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29606 * manual/probes.texi: Document it.
29608 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29609 (__libc_realloc): Add memory_realloc_retry probe.
29610 (__libc_memalign): Add memory_memalign_retry probe.
29611 (__libc_valloc): Add memory_valloc_retry probe.
29612 (__libc_pvalloc): Add memory_pvalloc_retry probe.
29613 (__libc_calloc): Add memory_calloc_retry probe.
29614 * manual/probes.texi: Document them.
29616 * malloc/arena.c (get_free_list): Add probe
29617 memory_arena_reuse_free_list.
29618 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29619 and memory_arena_reuse.
29620 (arena_get2) [!PER_THREAD]: Likewise.
29621 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29622 memory_arena_reuse_realloc.
29623 * manual/probes.texi: Document them.
29625 * malloc/malloc.c (__libc_free): Add
29626 memory_mallopt_free_dyn_thresholds probe.
29627 (__libc_mallopt): Add multiple memory_mallopt probes.
29628 * manual/probes.texi: Document them.
29630 * malloc/malloc.c: Include stap-probe.h.
29631 (__libc_mallopt): Add memory_mallopt probe.
29632 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29633 * manual/probes.texi: New.
29634 * manual/Makefile (chapters): Add probes.
29635 * manual/threads.texi: Set next node.
29637 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
29639 [BZ #15963, #13985]
29640 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29641 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29642 Add `Chinese' to `nan' entry name.
29644 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29646 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29647 (POLYNOMIAL): Likewise.
29648 (TAYLOR_SINCOS): Likewise.
29649 (TAYLOR_SLOW): Likewise.
29650 (__sin): Use TAYLOR_SINCOS.
29652 (slow): Use TAYLOR_SLOW.
29654 (bsloww): Likewise.
29655 (csloww): Likewise.
29657 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29659 * stdlib/strtod_l.c: Fix buffer overrun.
29661 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29663 * benchtests/Makefile (bench): Add sincos.
29664 * benchtests/bench-sincos.c: New file.
29666 * math/libm-test.inc (cos_test_data): New test inputs.
29667 (sin_test_data): Likewise.
29669 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29675 (sloww1): Likewise.
29676 (sloww2): Likewise.
29677 (bsloww1): Likewise.
29678 (bsloww2): Likewise.
29679 (cslow2): Likewise.
29680 (csloww1): Likewise.
29681 (csloww2): Likewise.
29683 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29688 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29692 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
29694 * config.h.in (HAVE_MIPS_NAN2008): New macro.
29695 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29696 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29697 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29698 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29699 * elf/cache.c (print_entry): Handle the new cache flags.
29701 2013-09-18 Joseph Myers <joseph@codesourcery.com>
29702 Aldy Hernandez <aldyh@redhat.com>
29704 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29705 Change condition to [_SOFT_FLOAT].
29706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29708 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29710 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29712 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29713 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29718 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29721 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29724 2013-09-18 Joseph Myers <joseph@codesourcery.com>
29726 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29727 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29728 (__longjmp): Use LOAD_GP to load saved GPRs.
29729 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29730 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29731 (__sigsetjmp): Use SAVE_GP to save GPRs.
29733 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29734 Do not append -msoft-float.
29735 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29737 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29739 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29741 2013-09-17 Joseph Myers <joseph@codesourcery.com>
29744 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29745 (_FPU_GETCW): Use initial "__" on variable and field names but not
29746 on macro parameter name.
29747 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
29748 parentheses around reference to macro parameter.
29750 2013-09-13 Richard Sandiford <richard@codesourcery.com>
29752 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29754 (ctype_startup): Use uint32_t in cast and sizeof for
29757 2013-09-11 Jia Liu <proljc@gmail.com>
29759 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29761 [__FreeBSD__]: Likewise.
29763 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
29765 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29766 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29767 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29768 (strchr): Remove __strchr_sse42 ifunc selection.
29769 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29770 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29772 2013-09-11 Will Newton <will.newton@linaro.org>
29774 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29775 parameter to RES. Remove hardcoded 1000 value.
29776 * benchtests/bench-skeleton.c (main): Pass RES parameter
29777 to TIMING_INIT and multiply result by 1000.
29779 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29783 2013-09-11 Andreas Schwab <schwab@suse.de>
29785 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29787 (O_TMPFILE) [__USE_GNU]: Define.
29788 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29791 2013-09-11 Will Newton <will.newton@linaro.org>
29794 * malloc/malloc.c (__libc_memalign): Check the value of bytes
29797 2013-09-11 Will Newton <will.newton@linaro.org>
29800 * malloc/malloc.c (__libc_valloc): Check the value of bytes
29803 2013-09-11 Will Newton <will.newton@linaro.org>
29806 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29809 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
29811 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29812 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29813 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29814 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29815 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29817 2013-09-10 Allan McRae <allan@archlinux.org>
29820 * manual/arith.texi (Parsing of Floats): Clarify
29824 * manual/install.texi (Running make install): Mention
29826 * INSTALL: Regenerated.
29828 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
29830 * csu/init-first.c (_init): Remove the !SHARED condition around
29831 FPU control word initialization.
29832 * elf/dl-support.c (_dl_fpu_control): New variable.
29833 (_dl_aux_init) <AT_FPUCW>: Initialize it.
29834 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29835 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29836 * math/test-fpucw-static.c: New file.
29837 * math/test-fpucw-ieee.c: New file.
29838 * math/test-fpucw-ieee-static.c: New file.
29839 * math/Makefile (tests): Add `test-fpucw-ieee' and
29841 (tests-static): New variable.
29842 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29844 [($(build-shared),yes)]
29845 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29847 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29850 2013-09-09 Allan McRae <allan@archlinux.org>
29853 * manual/string.texi (Collation Functions): Fix typo in
29855 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29858 * stdlib/isomac.c (get_null_defines): Fix memory leak.
29861 * libio/memstream.c (open_memstream): Fix memory leak.
29862 * libio/wmemstream.c (open_wmemstream): Likewise.
29865 * nscd/netgroupcache.c: Fix nesting of ifdefs.
29867 2013-09-09 Will Newton <will.newton@linaro.org>
29869 * malloc/Makefile: Add tst-realloc to tests.
29870 * malloc/tst-realloc.c: New file.
29872 2013-09-09 Allan McRae <allan@archlinux.org>
29875 * COPYING: Update from GNU website to fix FSF address.
29876 * COPYING.LIB: Likewise.
29878 2013-09-06 David S. Miller <davem@davemloft.net>
29880 * po/zh_TW.po: Update Chinese (traditional) translation from
29881 translation project.
29883 2013-09-06 Richard Sandiford <richard@codesourcery.com>
29884 Joseph Myers <joseph@codesourcery.com>
29886 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29888 (obstack_chunk_alloc): New macro.
29889 (obstack_chunk_free): Likewise.
29890 (record_offset): New function.
29891 (init_locale_data): Likewise.
29892 (align_locale_data): Likewise.
29893 (add_locale_empty): Likewise.
29894 (add_locale_raw_data): Likewise.
29895 (add_locale_raw_obstack): Likewise.
29896 (add_locale_string): Likewise.
29897 (add_locale_wstring): Likewise.
29898 (add_locale_uint32): Likewise.
29899 (add_locale_uint32_array): Likewise.
29900 (add_locale_char): Likewise.
29901 (start_locale_structure): Likewise.
29902 (end_locale_structure): Likewise.
29903 (start_locale_prelude): Likewise.
29904 (end_locale_prelude): Likewise.
29905 (write_locale_data): Take locale_file structure rather than an
29907 * locale/programs/locfile.h: Include "obstack.h".
29908 (struct locale_file): Change to store locale file contents instead
29910 (init_locale_data): New prototype.
29911 (align_locale_data): Likewise.
29912 (add_locale_empty): Likewise.
29913 (add_locale_raw_data): Likewise.
29914 (add_locale_raw_obstack): Likewise.
29915 (add_locale_string): Likewise.
29916 (add_locale_wstring): Likewise.
29917 (add_locale_uint32): Likewise.
29918 (add_locale_uint32_array): Likewise.
29919 (add_locale_char): Likewise.
29920 (start_locale_structure): Likewise.
29921 (end_locale_structure): Likewise.
29922 (start_locale_prelude): Likewise.
29923 (end_locale_prelude): Likewise.
29924 (write_locale_data): Update prototype.
29925 * locale/programs/3level.h (struct TABLE): Remove result field.
29926 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29927 Use new locale_file interface.
29928 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29929 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29930 * locale/programs/ld-address.c (address_output): Use new
29931 locale_file interface.
29932 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29934 (collate_finish): Don't call collseq_table_finalize.
29935 (collate_output): Use new locale_file interface.
29936 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29938 (NO_FINALIZE): Change to NO_ADD_LOCALE.
29939 (TABLE): Move defines earlier in file.
29940 (ELEMENT): Likewise.
29941 (DEFAULT): Likewise.
29942 (wctrans_table_add): Move macro and inline function earlier in
29944 (struct wctype_table): Move type earlier in file.
29945 (add_locale_wctype_table): New static prototype.
29946 (struct locale_ctype_t): Use logical types instead of struct iovec
29947 pointers for members.
29948 (ctype_output): Use new locale_file interface.
29949 (wctype_table_finalize): Change to add_locale_wctype_table. Use
29950 new locale_file interface.
29951 (allocate_arrays): Update for use of new locale_file interface.
29952 * locale/programs/ld-identification.c (identification_output): Use
29953 new locale_file interface.
29954 * locale/programs/ld-measurement.c (measurement_output): Likewise.
29955 * locale/programs/ld-messages.c (messages_output): Likewise.
29956 * locale/programs/ld-monetary.c (monetary_output): Likewise.
29957 * locale/programs/ld-name.c (name_output): Likewise.
29958 * locale/programs/ld-numeric.c (numeric_output): Likewise.
29959 * locale/programs/ld-paper.c (paper_output): Likewise.
29960 * locale/programs/ld-telephone.c (telephone_output): Likewise.
29961 * locale/programs/ld-time.c (time_output): Likewise.
29963 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29965 * benchtests/Makefile: Add memrchr benchmark.
29966 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29967 benchmark as memrchr.
29968 * benchtests/bench-memrchr-ifunc.c: New file.
29969 * benchtests/bench-memrchr.c: New file.
29971 2013-09-06 Will Newton <will.newton@linaro.org>
29973 * benchtests/Makefile (string-bench): Add memcpy.
29975 2013-09-05 Carlos O'Donell <carlos@redhat.com>
29976 Cong Wang <amwang@redhat.com>
29979 * sysdeps/unix/sysv/linux/bits/in.h
29980 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29981 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29982 before __USE_KERNEL_IPV6_DEFS uses.
29983 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29985 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29986 sockaddr_in6, or ipv6_mreq.
29988 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29990 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29991 memory access for final bytes in some large inputs.
29992 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29994 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29996 * string/test-memrchr.c: New file.
29997 * string/test-memrchr-ifunc.c: New file.
29998 * string/Makefile: Add new memrchr testcase.
30000 2013-09-05 Mike Frysinger <vapier@gentoo.org>
30002 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
30003 fanotify_init returns EPERM.
30005 2013-09-04 Joseph Myers <joseph@codesourcery.com>
30007 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
30009 (top level): Treat second token from macro or constant entries for
30010 allowed headers as allowed.
30011 * include/complex.h: Condition internal declarations on
30013 * include/fenv.h: Condition include of <stdbool.h> and internal
30014 declarations on [!_ISOMAC].
30016 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
30019 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
30021 2013-09-04 Joseph Myers <joseph@codesourcery.com>
30023 * configure.in (--enable-versioning): Remove configure option.
30024 (libc_cv_asm_symver_directive): Remove configure test.
30025 (libc_cv_ld_version_script_option): Likewise.
30026 (VERSIONING): Remove variable and AC_SUBST.
30027 (DO_VERSIONING): Remove AC_DEFINE.
30028 * configure: Regenerated.
30029 * config.h.in (DO_VERSIONING): Remove macro.
30030 * Makerules [$(versioning) = yes]: Change conditionals to
30031 [$(build-shared) = yes].
30032 * config.make.in (versioning): Remove variable.
30033 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30034 [$(build-shared) = yes].
30035 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
30036 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
30037 * elf/Makefile [$(versioning) = yes]: Change conditionals to
30038 [$(build-shared) = yes].
30039 * extra-lib.mk [$(versioning) = yes]: Likewise.
30040 * hurd/Makefile [$(versioning) = yes]: Likewise.
30041 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
30043 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
30045 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30046 [SHARED && !NO_HIDDEN].
30047 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
30049 [SHARED && DO_VERSIONING]: Likewise..
30050 * libio/Makefile [$(versioning) = yes]: Change conditionals to
30051 [$(build-shared) = yes].
30052 * manual/install.texi (--disable-versioning): Remove
30054 * INSTALL: Regenerated.
30055 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
30057 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
30058 [$(build-shared) = yes].
30059 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
30060 * sysdeps/i386/i686/multiarch/strstr-c.c
30061 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
30062 [SHARED && !NO_HIDDEN].
30063 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
30064 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
30065 * sysdeps/powerpc/powerpc32/dl-machine.c
30066 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
30067 * sysdeps/powerpc/powerpc32/sysdep.h
30068 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
30069 to [SHARED && PIC && !NO_HIDDEN].
30070 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
30071 conditional to [SHARED].
30073 2013-09-04 Will Newton <will.newton@linaro.org>
30075 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
30076 * benchtests/bench-string.h: Include bench-timing.h instead
30077 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
30078 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
30079 call to HP_TIMING_DIFF_INIT.
30080 * benchtests/bench-memccpy.c: Use bench-timing.h macros
30081 instead of hp-timing.h macros.
30082 * benchtests/bench-memchr.c: Likewise.
30083 * benchtests/bench-memcmp.c: Likewise.
30084 * benchtests/bench-memcpy.c: Likewise.
30085 * benchtests/bench-memmem.c: Likewise.
30086 * benchtests/bench-memmove.c: Likewise.
30087 * benchtests/bench-memset.c: Likewise.
30088 * benchtests/bench-rawmemchr.c: Likewise.
30089 * benchtests/bench-strcasecmp.c: Likewise.
30090 * benchtests/bench-strcasestr.c: Likewise.
30091 * benchtests/bench-strcat.c: Likewise.
30092 * benchtests/bench-strchr.c: Likewise.
30093 * benchtests/bench-strcmp.c: Likewise.
30094 * benchtests/bench-strcpy.c: Likewise.
30095 * benchtests/bench-strcpy_chk.c: Likewise.
30096 * benchtests/bench-strlen.c: Likewise.
30097 * benchtests/bench-strncasecmp.c: Likewise.
30098 * benchtests/bench-strncat.c: Likewise.
30099 * benchtests/bench-strncmp.c: Likewise.
30100 * benchtests/bench-strncpy.c: Likewise.
30101 * benchtests/bench-strnlen.c: Likewise.
30102 * benchtests/bench-strpbrk.c: Likewise.
30103 * benchtests/bench-strrchr.c: Likewise.
30104 * benchtests/bench-strspn.c: Likewise.
30105 * benchtests/bench-strstr.c: Likewise.
30107 2013-09-04 Will Newton <will.newton@linaro.org>
30109 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30111 2013-09-03 Joseph Myers <joseph@codesourcery.com>
30114 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30115 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30116 * math/libm-test.inc (lgamma_test_data): Add more tests.
30117 * sysdeps/i386/fpu/libm-test-ulps: Update.
30118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30120 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
30122 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30123 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30126 Add strcmp-sse2-unaligned
30127 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30129 2013-09-02 Mike Frysinger <vapier@gentoo.org>
30131 * Versions.def (libc): Add GLIBC_2.19.
30133 2013-09-02 Mike Frysinger <vapier@gentoo.org>
30135 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30136 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30138 2013-09-02 Joseph Myers <joseph@codesourcery.com>
30141 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30142 intermediate calculations in recurrence.
30143 (__ieee754_ynf): Likewise.
30144 * math/libm-test.inc (jn_test_data): Do not allow spurious
30145 underflow exception. Add more tests.
30146 (yn_test_data): Add more tests.
30147 * sysdeps/i386/fpu/libm-test-ulps: Update.
30148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30150 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
30152 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30154 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30156 * csu/init-first.c: Fix then/than typos.
30157 * locale/programs/ld-collate.c: Likewise.
30158 * locale/programs/linereader.h: Likewise.
30159 * manual/charset.texi: Likewise.
30160 * manual/filesys.texi: Likewise.
30161 * manual/stdio.texi: Likewise.
30162 * manual/string.texi: Likewise.
30163 * stdlib/fmtmsg.c: Likewise.
30164 * sysdeps/i386/stpncpy.S: Likewise.
30165 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30166 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30167 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30168 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30170 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30172 * elf/dl-open.c: Fix typos.
30173 * iconvdata/gbbig5.c: Likewise.
30174 * iconvdata/iso-2022-jp.c: Likewise.
30175 * iconv/gconv_int.h: Likewise.
30176 * iconv/loop.c: Likewise.
30177 * nis/rpcsvc/nis.h: Likewise.
30178 * resolv/ns_name.c: Likewise.
30179 * stdio-common/vfscanf.c: Likewise.
30180 * streams/stropts.h: Likewise.
30181 * sunrpc/rpc_thread.c: Likewise.
30182 * sysdeps/i386/strpbrk.S: Likewise.
30183 * sysdeps/ieee754/k_standard.c: Likewise.
30184 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30185 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30186 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30187 * sysdeps/mach/hurd/profil.c: Likewise.
30188 * sysdeps/s390/dl-procinfo.h: Likewise.
30189 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30190 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30191 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30192 * sysdeps/x86_64/dl-trampoline.S: Likewise.
30193 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30195 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30197 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30200 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
30202 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30203 aix specific files.
30204 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30205 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30206 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30207 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30208 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30209 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30210 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30211 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30213 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
30214 Roland McGrath <roland@hack.frob.com>
30216 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30217 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30219 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
30221 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30222 __executable_start symbol instead of _start.
30224 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
30226 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30227 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30229 * sysdeps/gnu/ldsodefs.h: ... this new file.
30231 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30232 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30233 instead of ELFOSABI_LINUX.
30235 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30236 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30237 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30238 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30240 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30241 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30242 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30244 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30245 (ibm_extended_long_double): Add ieee_nan member.
30246 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30247 (do_test): New function.
30249 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30251 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30252 functions, renamed from truncdfsf_test, trunctfsf_test,
30254 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30256 (do_test): Run all these.
30258 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
30260 * argp/argp-help.c: Fix typos.
30261 * argp/argp-parse.c: Likewise.
30262 * debug/backtracesyms.c: Likewise.
30263 * elf/elf.h: Likewise.
30264 * malloc/malloc.c: Likewise.
30265 * nis/nis_print.c: Likewise.
30266 * resolv/res_comp.c: Likewise.
30267 * stdlib/stdlib.h: Likewise.
30268 * sunrpc/clnt_tcp.c: Likewise.
30269 * sunrpc/clnt_udp.c: Likewise.
30270 * sunrpc/clnt_unix.c: Likewise.
30271 * sysdeps/unix/bsd/ptsname.c: Likewise.
30272 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30273 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30280 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30282 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30284 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30287 2013-08-27 Mike Frysinger <vapier@gentoo.org>
30290 * dlfcn/Makefile (tests): Add bug-dl-leaf.
30291 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30292 ($(objpfx)bug-dl-leaf): New rule.
30293 ($(objpfx)bug-dl-leaf.so): Likewise.
30294 ($(objpfx)bug-dl-leaf.out): Likewise.
30295 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30296 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30297 * dlfcn/bug-dl-leaf.c: New test.
30298 * dlfcn/bug-dl-leaf-lib.c: Likewise.
30299 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30300 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30301 (dlclose): Likewise.
30302 (dlmopen): Likewise.
30304 2013-08-27 Roland McGrath <roland@hack.frob.com>
30306 * include/netdb.h [!_ISOMAC]:
30307 Don't include <tls.h>.
30308 (h_errno, __libc_h_errno): Move declaration and macros out of
30311 * include/resolv.h [_RESOLV_H_]:
30312 Don't include <tls.h>.
30313 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30314 * resolv/res_libc.c: Don't include <tls.h>.
30315 (_res): Use __attribute__ ((nocommon)) in place of
30316 __attribute__ ((section (".bss"))).
30318 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30319 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30321 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30323 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30324 only under [SIOCGIFCONF && SIOCGIFNETMASK].
30326 * resolv/res_mkquery.c: Include <sys/time.h>.
30328 * inet/ifreq.c: Moved to ...
30329 * sysdeps/unix/ifreq.c: ... here.
30330 * inet/ifreq.c: New file, true stub version.
30332 * socket/sa_len.c: New file.
30333 * socket/Makefile (aux): Add it.
30334 * sysdeps/unix/sysv/linux/Makefile
30335 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30336 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30337 and #include <socket/sa_len.c>.
30338 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30339 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30341 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30342 * bits/socket.h: ... here.
30344 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30345 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30346 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30348 2013-08-27 Andreas Schwab <schwab@suse.de>
30351 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30352 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30353 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30354 * string/test-strcasecmp.c (test_main): Run tests in several
30356 * string/test-strncasecmp.c (test_main): Likewise.
30358 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30359 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30360 to __strcasecmp_nonascii and __strncasecmp_nonascii.
30361 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30362 (__strncasecmp_ssse3) [PIC]: Likewise.
30364 2013-08-26 Roland McGrath <roland@hack.frob.com>
30366 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30368 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30369 instead of explicitly declaring xdecrypt.
30370 * nis/nss_nis/nis-publickey.c: Likewise.
30372 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30375 * nscd/aicache.c: Include res_hconf.h.
30376 (addhstaiX): Initialize res_hconf.
30378 2013-08-26 Andreas Schwab <schwab@suse.de>
30380 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30381 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30383 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30385 * nscd/aicache.c (addhstaiX): Fix indentation.
30387 2013-08-25 Mike Frysinger <vapier@gentoo.org>
30389 * configure.ac: Quote $build_pt_chown test.
30390 * configure: Regenerated.
30392 2013-08-23 Joseph Myers <joseph@codesourcery.com>
30395 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30396 * math/s_cexpf.c (__cexpf): Likewise.
30397 * math/s_cexpl.c (__cexpl): Likewise.
30398 * math/libm-test.inc (cexp_test_data): Correct expected return
30399 value for NaN + i0. Add another test.
30401 2013-08-22 David S. Miller <davem@davemloft.net>
30403 * po/ca.po: Update Catalan translation from translation project.
30404 * po/uk.po: Add Ukrainian translations from translation project.
30406 2013-08-21 Joseph Myers <joseph@codesourcery.com>
30409 * math/s_fdim.c (__fdim): Check for infinite arguments if result
30410 is infinite, not alongside NaN test.
30411 * math/s_fdimf.c (__fdimf): Likewise.
30412 * math/s_fdiml.c (__fdiml): Likewise.
30413 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
30414 errno is unchanged.
30416 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
30418 * argp/argp-help.c: Fix typos.
30419 * crypt/speeds.c: Likewise.
30420 * csu/check_fds.c: Likewise.
30421 * elf/dl-load.c: Likewise.
30422 * elf/dl-open.c: Likewise.
30423 * elf/reldep3.c: Likewise.
30424 * elf/reldep.c: Likewise.
30425 * elf/sprof.c: Likewise.
30426 * iconv/iconv_charmap.c: Likewise.
30427 * iconv/skeleton.c: Likewise.
30428 * iconv/strtab.c: Likewise.
30429 * io/lockf64.c: Likewise.
30430 * libio/libioP.h: Likewise.
30431 * resolv/gai_notify.c: Likewise.
30432 * resolv/ns_name.c: Likewise.
30433 * resolv/ns_samedomain.c: Likewise.
30434 * resolv/res_send.c: Likewise.
30435 * stdlib/random.c: Likewise.
30436 * sunrpc/rpc/xdr.h: Likewise.
30437 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30438 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30439 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30440 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30441 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30442 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30444 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30445 * sysdeps/mach/hurd/check_fds.c: Likewise.
30446 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30447 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30448 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30449 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30450 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30451 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30452 * sysdeps/pthread/aio_notify.c: Likewise.
30453 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30454 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30455 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30456 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30457 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30459 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30461 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30462 version if bit_Slow_SSE4_2 is set.
30463 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30464 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30466 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30469 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30470 trampoline stack frame information.
30471 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30472 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30473 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30474 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30475 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30476 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30477 (_libc_vdso_platform_setup): Initialize the signal trampolines.
30478 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30480 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30481 interrupting a syscall and set with option SA_SIGINFO.
30483 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30486 * math/s_cproj.c (__cproj): Only return an infinity if one part of
30487 argument is infinite.
30488 * math/s_cprojf.c (__cprojf): Likewise.
30489 * math/s_cprojl.c (__cprojl): Likewise.
30490 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30491 * math/libm-test.inc (cproj_test_data): Add more tests.
30493 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30495 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30496 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30497 size. Use __ffs to determine corresponding shift.
30499 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30500 Roland McGrath <roland@hack.frob.com>
30502 * Makefile (INSTALL): Remove trailing blank lines from output of
30505 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30507 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30508 Align 32 bit compat elf_greg to 8 bytes.
30510 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
30512 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30514 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30516 * string/strcoll_l.c (coll_seq): New structure.
30517 (get_next_seq_cached): New function.
30518 (get_next_seq): New function.
30519 (do_compare): New function.
30520 (STRCOLL): Use GNU style definition. Simplify implementation
30521 by using get_next_seq, get_next_seq_cached and do_compare.
30523 2013-08-16 Florian Weimer <fweimer@redhat.com>
30527 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30529 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30531 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30532 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30533 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
30535 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30536 GETDENTS_64BIT_ALIGNED.
30537 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30538 * manual/filesys.texi (Reading/Closing Directory): Document
30539 ENAMETOOLONG return value of readdir_r. Recommend readdir more
30541 * manual/conf.texi (Limits for Files): Add portability note to
30542 NAME_MAX, PATH_MAX.
30543 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30545 2013-08-13 Andreas Schwab <schwab@suse.de>
30548 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30550 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30551 LDBL_MAX_EXP >= 16384]: Add tests for it.
30553 2013-08-12 David S. Miller <davem@davemloft.net>
30555 * version.h (RELEASE): Set to "development".
30556 (VERSION): Set to "2.18.90".
30557 * NEWS: Add 2.19 section.
30559 2013-08-03 David S. Miller <davem@davemloft.net>
30561 * po/ko.po: Update Korean translation from translation project.
30563 2013-08-01 David S. Miller <davem@davemloft.net>
30565 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
30566 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30569 2013-07-30 David S. Miller <davem@davemloft.net>
30571 * po/fr.po: Update French translation from translation project.
30573 2013-07-28 David S. Miller <davem@davemloft.net>
30575 * po/cs.po: Update Czech translation from translation project.
30577 * po/sv.po: Update Swedish translation from translation project.
30579 2013-07-27 David S. Miller <davem@davemloft.net>
30581 * po/eo.po: Update Esperanto translation from translation project.
30583 * po/vi.po: Update Vietnamese translation from translation project.
30585 * po/de.po: Update German translation from translation project.
30587 2013-07-26 David S. Miller <davem@davemloft.net>
30589 * po/bg.po: Update Bulgarian translation from translation project.
30591 * po/nl.po: Update Dutch translation from translation project.
30592 * po/pl.po: Update Polish translation from translation project.
30593 * po/ru.po: Update Russian translation from translation project.
30595 2013-07-24 David S. Miller <davem@davemloft.net>
30597 * po/libc.pot: Update.
30599 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30601 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30602 variable page size.
30603 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30604 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30605 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30607 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30609 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30611 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30612 Andreas Schwab <schwab@suse.de>
30613 Roland McGrath <roland@hack.frob.com>
30614 Joseph Myers <joseph@codesourcery.com>
30615 Carlos O'Donell <carlos@redhat.com>
30618 * config.h.in: Define HAVE_PT_CHOWN.
30619 * config.make.in (build-pt-chown): New variable.
30620 * configure.in (--enable-pt_chown): New configure option.
30621 * configure: Regenerate.
30622 * login/Makefile: Include Makeconfig. Build pt_chown only if
30623 build-pt-chown is enabled.
30624 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30625 pt_chown to fix pty ownership.
30626 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30628 * manual/install.texi (Configuring and compiling): Mention
30629 --enable-pt_chown. Add @findex for grantpt.
30630 * INSTALL: Regenerate.
30632 2013-07-20 David S. Miller <davem@davemloft.net>
30634 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30635 difference between 32-bit and 64-bit.
30637 2013-07-15 Carlos O'Donell <carlos@redhat.com>
30640 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30641 Avoid system header dependency with -ffreestanding.
30642 ($(objpfx)bits/syscall%d): Likewise.
30644 2013-07-13 David S. Miller <davem@davemloft.net>
30646 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30647 underflows from atanl/atan2l due to bug 15319.
30648 (casinh_test_data): Likewise.
30650 2013-07-07 David S. Miller <davem@davemloft.net>
30652 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30654 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
30656 * sysdeps/i386/fpu/libm-test-ulps: Update.
30657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30659 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30661 * configure.in (--enable-lock-elision): Fix message text.
30662 * INSTALL: Regenerate.
30663 * configure: Regenerate.
30665 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30669 2013-07-03 Andreas Jaeger <aj@suse.de>
30671 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30673 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30674 (ptrace_peeksiginfo_args): Add.
30675 (__ptrace_peeksiginfo_flags): Add.
30676 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30677 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30678 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30680 2013-07-03 Allan McRae <allan@archlinux.org>
30682 * sysdeps/i386/fpu/libm-test-ulps: Update.
30684 2013-07-02 David S. Miller <davem@davemloft.net>
30686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30688 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
30690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30692 2013-07-02 Joseph Myers <joseph@codesourcery.com>
30694 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30697 2013-07-02 Andi Kleen <ak@linux.intel.com>
30699 * config.h.in (ENABLE_LOCK_ELISION): Add.
30700 * configure.in (--enable-lock-elision): Add option.
30701 * manual/install.texi: Document --enable lock elision.
30702 * configure: Regenerate
30703 * INSTALL: Regenerate.
30705 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
30707 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30708 SSE4.2 strcasecmp for libc.a.
30709 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30711 2013-07-02 Joseph Myers <joseph@codesourcery.com>
30714 * soft-fp/op-common.h (_FP_FMA): New macro.
30715 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30716 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
30717 (_FP_MUL_MEAT_1_imm): ... here.
30718 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
30719 (_FP_MUL_MEAT_1_wide): ... here.
30720 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
30721 (_FP_MUL_MEAT_1_hard): ... here.
30722 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30723 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
30724 (_FP_MUL_MEAT_2_wide): ... here.
30725 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
30726 (_FP_MUL_MEAT_2_wide_3mul): ... here.
30727 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
30728 (_FP_MUL_MEAT_2_gmp): ... here.
30729 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30730 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
30731 (_FP_MUL_MEAT_4_wide): ... here.
30732 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
30733 (_FP_MUL_MEAT_4_gmp): ... here.
30734 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30735 (_FP_WFRACBITS_DW_S): Likewise.
30736 (_FP_WFRACXBITS_DW_S): Likewise.
30737 (_FP_HIGHBIT_DW_S): Likewise.
30738 (FP_FMA_S): Likewise.
30739 (_FP_FRAC_HIGH_DW_S): Likewise.
30740 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30741 (_FP_WFRACBITS_DW_D): Likewise.
30742 (_FP_WFRACXBITS_DW_D): Likewise.
30743 (_FP_HIGHBIT_DW_D): Likewise.
30744 (FP_FMA_D): Likewise.
30745 (_FP_FRAC_HIGH_DW_D): Likewise.
30746 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30747 (_FP_WFRACBITS_DW_E): Likewise.
30748 (_FP_WFRACXBITS_DW_E): Likewise.
30749 (_FP_HIGHBIT_DW_E): Likewise.
30750 (FP_FMA_E): Likewise.
30751 (_FP_FRAC_HIGH_DW_E): Likewise.
30752 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30753 (_FP_WFRACBITS_DW_Q): Likewise.
30754 (_FP_WFRACXBITS_DW_Q): Likewise.
30755 (_FP_HIGHBIT_DW_Q): Likewise.
30756 (FP_FMA_Q): Likewise.
30757 (_FP_FRAC_HIGH_DW_Q): Likewise.
30758 * soft-fp/fmasf4.c: New file.
30759 * soft-fp/fmadf4.c: Likewise.
30760 * soft-fp/fmatf4.c: Likewise.
30762 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30765 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30767 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30769 (index_Slow_SSE4_2): Likewise.
30770 (index_Prefer_PMINUB_for_stringop): Likewise.
30771 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30772 bit_Slow_SSE4_2 is set.
30773 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30774 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30776 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30778 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30779 rtld_global._dl_hwcap2.
30780 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30782 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30783 POWER8 feature descriptions defined in _dl_hwcap2.
30784 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30785 string handling for POWER8 feature bits.
30786 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30787 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30788 _dl_powerpc_cap_flags.
30789 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30790 * sysdeps/powerpc/rtld-global-offsets.sym
30791 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30792 _dl_hwcap2 in the rtld_global_ro structure.
30794 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30796 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30797 hardware capabilities in support of AT_HWCAP2.
30798 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30799 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30801 (_dl_show_auxv): Add support for calling _dl_procinfo to display
30802 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
30803 explicitly the unknown a_type display mechanism is used.
30804 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30805 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30807 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30808 to macro prototype for AT_HWCAP2 support.
30809 * sysdeps/i386/dl-procinfo.h: Likewise.
30810 * sysdeps/s390/dl-procinfo.h: Likewise.
30811 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30812 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
30813 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
30814 return -1 for unknown a_type display fallback.
30815 * sysdeps/sparc/dl-procinfo.h: Likewise.
30816 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30817 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30819 2013-06-28 Joseph Myers <joseph@codesourcery.com>
30821 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30822 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30824 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
30827 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30828 mprotect making __stack_prot writable.
30830 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
30831 Joseph Myers <joseph@codesourcery.com>
30833 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30834 as being properly aligned.
30836 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
30838 * dlfcn/modstatic5.c: New file.
30839 * dlfcn/tststatic5.c: New file.
30840 * dlfcn/Makefile (tests): Add tststatic5.
30841 (tests-static): Likewise.
30842 (modules-names): Add modstatic5.
30843 (tststatic5-ENV): New variable.
30844 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30847 * elf/dl-support.c (_dl_main_map): New variable.
30848 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30849 (_dl_nns, _dl_load_adds): Set to 1.
30850 (_dl_initial_searchlist): Refer to _dl_main_map.
30851 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30852 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30853 call to _dl_get_origin.
30854 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30856 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30857 * dlfcn/modstatic3.c: New file.
30858 * dlfcn/tststatic3.c: New file.
30859 * dlfcn/tststatic4.c: New file.
30860 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30861 (tests-static): Likewise.
30862 (modules-names): Add modstatic3.
30863 (tststatic3-ENV, tststatic4-ENV): New variables.
30864 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30865 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30867 2013-06-26 Joseph Myers <joseph@codesourcery.com>
30869 * configure.in (CC): Require GCC version 4.4 or later.
30870 * configure: Regenerated.
30871 * manual/install.texi (Tools for Compilation): Update GCC version
30873 * INSTALL: Regenerated.
30875 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30878 * string/test-memcmp.c (check2): New.
30879 (main): Call check2.
30881 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30883 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
30886 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30888 (dl_open_worker) [!SHARED]: ... here.
30890 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30892 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30894 2013-06-25 Richard Henderson <rth@redhat.com>
30896 * locale/programs/locarchive.c: Include <libc-internal.h>
30898 2013-06-25 Joseph Myers <joseph@codesourcery.com>
30900 * manual/texinfo.tex: Update to version 2013-06-21.17, with
30901 trailing whitespace removed.
30903 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30906 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30907 * locale/programs/locarchive.c: Include libc-mmap.h.
30908 (prepare_address_space): Take two new outputs (the mmap base and len).
30909 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
30911 (create_archive): Declare new mmap base and len values for
30912 prepare_address_space, and store the result in ah.
30913 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30914 (enlarge_archive): If ah->mmap_base is not NULL, use that and
30915 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30916 Declare new mmap base and len values for
30917 prepare_address_space, and store the result in new_ah.
30918 (open_archive): Declare new mmap base and len values for
30919 prepare_address_space, and store the result in ah.
30920 (close_archive): If ah->mmap_base is not NULL, use that and
30921 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30922 * sysdeps/generic/libc-mmap.h: New file.
30924 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30926 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30927 (ALIGN_UP): Likewise.
30928 (PTR_ALIGN_DOWN): Likewise.
30929 (PTR_ALIGN_UP): Likewise.
30931 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30933 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30934 entry mapped to PPC_PLATFORM_POWER8.
30935 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30937 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30938 (_dl_string_platform): Add case for exporting platform position for
30940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30941 search path to sysdeps/powerpc/powerpc32/power8 directory.
30942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30943 search path to sysdeps/powerpc/powerpc64/power8 directory.
30944 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30945 power7 directories.
30946 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30947 power7 directories.
30949 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30951 * INSTALL: Regenerate.
30953 * nscd/connections.c (nscd_init): Fix comment.
30955 2013-06-22 Joseph Myers <joseph@codesourcery.com>
30957 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30960 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30961 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30963 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30965 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30967 (DL_DST_REQ_STATIC): Remove macro.
30969 2013-06-21 Joseph Myers <joseph@codesourcery.com>
30972 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30973 with a shift of 0 bits.
30975 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30977 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30980 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30983 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30985 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30987 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30988 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30989 accepts -fno-tree-loop-distribute-patterns.
30990 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30991 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30993 * string/memset.c (memset): Likewise.
30994 * string/test-memmove.c (simple_memmove): Disable loop transformation
30996 * string/test-memset.c (simple_memset): Likewise.
30997 * benchtests/bench-memmove.c (simple_memmove): Likewise.
30998 * benchtests/bench-memset.c (simple_memset): Likewise.
30999 * configure: Regenerated.
31001 2013-06-20 Joseph Myers <joseph@codesourcery.com>
31003 * math/test-misc.c (main): Ignore fesetround failure when failures
31004 of subsequent rounding tests would be ignored.
31007 * math/fedisblxcpt.c (fedisableexcept): Return 0.
31008 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
31009 * math/fegetenv.c (__fegetenv): Return 0.
31010 * math/fegetexcept.c (fegetexcept): Return 0.
31011 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
31013 * math/feholdexcpt.c (feholdexcept): Return 0.
31014 * math/fesetenv.c (__fesetenv): Return 0.
31015 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
31016 argument FE_TONEAREST.
31017 * math/feupdateenv.c (__feupdateenv): Return 0.
31018 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
31020 2013-06-18 Roland McGrath <roland@hack.frob.com>
31022 * elf/rtld-Rules (rtld-compile-command.S): New variable.
31023 (rtld-compile-command.s, rtld-compile-command.c): New variables.
31024 ($(objpfx)rtld-%.os rules): Use them.
31026 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31028 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
31031 2013-06-17 Roland McGrath <roland@hack.frob.com>
31033 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31034 length of target pattern, then descending length of dependency pattern.
31035 * configure.in (AWK): Require gawk 3.1.2 or newer.
31036 * manual/install.texi (Tools for Compilation): Say that we do.
31037 * configure: Regenerated.
31039 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
31040 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
31041 * scripts/sysd-rules.awk: ... this new script.
31042 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
31043 than a glob-style pattern.
31045 2013-06-17 Joseph Myers <joseph@codesourcery.com>
31047 * math/test-misc.c (main): Do not treat incorrectly rounded
31048 conversions as failure unless ROUNDING_TESTS passes.
31050 2013-06-15 Joseph Myers <joseph@codesourcery.com>
31053 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
31054 restore exception state around main square root computation, then
31055 check for inexactness explicitly.
31057 * math/libm-test.inc (fma_test_data): Add another test.
31059 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31061 * manual/threads.texi (Non-POSIX Extensions): New document
31062 node. Document pthread_getattr_default_np and
31063 pthread_setattr_default_np.
31065 * Versions.def (libpthread): Add GLIBC_2.18.
31066 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
31067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31075 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
31077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31086 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31089 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
31091 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31092 H.J. Lu <hjl.tools@gmail.com>
31095 * sysdeps/x86_64/rtld-memset.c: Remove file.
31096 * sysdeps/x86_64/rtld-memset.S: New file.
31098 2013-06-14 Joseph Myers <joseph@codesourcery.com>
31100 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31101 (test_in_one_mode): Take arguments for whether the rounding mode
31102 is supported for each floating-point type.
31103 (do_test): Pass new arguments to test_in_one_mode using
31106 2013-06-13 Roland McGrath <roland@hack.frob.com>
31108 * posix/tst-waitid.c (do_test): Distinguish different instances of
31109 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
31110 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31111 before entering the kernel for waitpid.
31113 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31115 * NEWS: Fix note on clock function precision. Text by Roland
31118 2013-06-13 Roland McGrath <roland@hack.frob.com>
31120 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31121 it into place only when and if the sanity check passes.
31123 2013-06-13 Joseph Myers <joseph@codesourcery.com>
31125 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31126 output for whether conversion result is exact. Take argument
31127 indicating whether type is IBM long double.
31128 (round_for_all): Change need_exact field to ibm_ld.
31129 * stdlib/tst-strtod-round.c (struct exactness): New type.
31130 (struct test): Change bool ld_ok field to struct exactness exact.
31131 (TEST): Update all definitions for change to field.
31132 (tests): Regenerate array contents.
31133 (test_in_one_mode): Take pointer to new field instead of old ld_ok
31134 field value. Check for IBM long double here.
31135 (do_test): Update calls to test_in_one_mode.
31137 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31140 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31141 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31143 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31146 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31147 generated by the compiler on loop optimizations.
31148 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31149 general definitions.
31151 2013-06-12 Joseph Myers <joseph@codesourcery.com>
31153 * math/bug-nextafter.c: Include <math-tests.h>.
31154 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31156 * math/bug-nexttoward.c: Include <math-tests.h>.
31157 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31159 * math/test-misc.c: Include <math-tests.h>.
31160 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31163 2013-06-12 Andreas Jaeger <aj@suse.de>
31165 * po/ia.po: Update Interlingua translation from translation
31168 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31170 * include/fenv.h: Include stdbool.h.
31171 (struct rm_ctx): New structure.
31172 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31174 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31175 (SET_RESTORE_ROUNDF): Likewise.
31176 (SET_RESTORE_ROUNDL): Likewise.
31177 (SET_RESTORE_ROUND_NOEX): Likewise.
31178 (SET_RESTORE_ROUND_NOEXF): Likewise.
31179 (SET_RESTORE_ROUND_NOEXL): Likewise.
31180 (SET_RESTORE_ROUND_53BIT): Likewise.
31181 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31182 (libc_feresetround_noexf_ctx): Likewise.
31183 (libc_feresetround_noexl_ctx): Likewise.
31184 (libc_feholdsetround_53bit_ctx): Likewise.
31185 (libc_feresetround_53bit_ctx): Likewise.
31186 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31187 (libc_feholdexcept_setround_sse_ctx): New function.
31188 (libc_fesetenv_sse_ctx): Likewise.
31189 (libc_feupdateenv_sse_ctx): Likewise.
31190 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31191 (libc_feholdexcept_setround_387_ctx): Likewise.
31192 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31193 (libc_feholdsetround_387_prec_ctx): Likewise.
31194 (libc_feholdsetround_387_ctx): Likewise.
31195 (libc_feholdsetround_387_53bit_ctx): Likewise.
31196 (libc_feholdsetround_sse_ctx): Likewise.
31197 (libc_feresetround_sse_ctx): Likewise.
31198 (libc_feresetround_387_ctx): Likewise.
31199 (libc_feupdateenv_387_ctx): Likewise.
31200 (libc_feholdexcept_setroundf_ctx): Define macro.
31201 (libc_fesetenvf_ctx): Likewise.
31202 (libc_feupdateenvf_ctx): Likewise.
31203 (libc_feholdsetroundf_ctx): Likewise.
31204 (libc_feresetroundf_ctx): Likewise.
31205 (libc_feholdexcept_setround_ctx): Likewise.
31206 (libc_fesetenv_ctx): Likewise.
31207 (libc_feupdateenv_ctx): Likewise.
31208 (libc_feholdsetround_ctx): Likewise.
31209 (libc_feresetround_ctx): Likewise.
31210 (libc_feholdexcept_setroundl_ctx): Likewise.
31211 (libc_feupdateenvl_ctx): Likewise.
31212 (libc_feholdsetroundl_ctx): Likewise.
31213 (libc_feresetroundl_ctx): Likewise.
31214 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31215 (libc_feresetround_53bit_ctx): Likewise.
31217 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31219 * locale/iso-639.def: Convert to UTF-8.
31221 2013-06-11 Joseph Myers <joseph@codesourcery.com>
31223 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31224 (EXCEPTION_TESTS_double): Likewise.
31225 (EXCEPTION_TESTS_long_double): Likewise.
31226 (EXCEPTION_TESTS): Likewise.
31227 * math/libm-test.inc (test_exceptions): Only test exceptions if
31228 EXCEPTION_TESTS (FLOAT).
31230 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31232 * benchtests/Makefile (string-bench): Add strcpy_chk and
31234 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31235 * benchtests/bench-stpcpy_chk.c: New file.
31236 * benchtests/bench-strcpy_chk-ifunc.c: New file.
31237 * benchtests/bench-strcpy_chk.c: New file.
31238 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31240 (do_test): Likewise.
31242 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31244 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31245 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31246 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31247 with tabs where appropriate.
31248 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31250 [PPC_PLATFORM_PPC440]: Likewise.
31251 [PPC_PLATFORM_PPC464]: Likewise.
31252 [PPC_PLATFORM_PPC476]: Likewise.
31253 (_dl_string_platform): Add support for detecting ppc405, ppc440,
31254 ppc464, and ppc476 platform strings merging from ports/
31257 2013-06-11 Andreas Schwab <schwab@suse.de>
31260 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31261 (from_ucs4_idx): Regenerate.
31262 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31263 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31264 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31265 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31266 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31267 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31268 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31269 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31270 from FROM_LOOP and TO_LOOP specific macros.
31271 (BODY): Handle combining characters.
31272 * iconvdata/BIG5HKSCS.irreversible: Update.
31273 * iconvdata/BIG5HKSCS.precomposed: New file.
31274 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31276 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31278 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31280 * include/sys/time.h: Fix indentation and add copyright header.
31282 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31283 (do_test): Likewise.
31284 * string/test-memchr.c (do_one_test): Likewise.
31285 (do_test): Likewise.
31286 * string/test-memcmp.c (do_one_test): Likewise.
31287 (do_test): Likewise.
31288 * string/test-memcpy.c (do_one_test): Likewise.
31289 (do_test): Likewise.
31290 * string/test-memmem.c (do_one_test): Likewise.
31291 (do_test): Likewise.
31292 (do_random_tests): Likewise.
31293 * string/test-memmove.c (do_one_test): Likewise.
31294 (do_test): Likewise.
31295 * string/test-memset.c (do_one_test): Likewise.
31296 (do_test): Likewise.
31297 * string/test-rawmemchr.c (do_one_test): Likewise.
31298 (do_test): Likewise.
31299 * string/test-strcasecmp.c (do_one_test): Likewise.
31300 (do_test): Likewise.
31301 * string/test-strcasestr.c (do_one_test): Likewise.
31302 (do_test): Likewise.
31303 * string/test-strcat.c (do_one_test): Likewise.
31304 (do_test): Likewise.
31305 * string/test-strchr.c (do_one_test): Likewise.
31306 (do_test): Likewise.
31307 * string/test-strcmp.c (do_one_test): Likewise.
31308 (do_test): Likewise.
31309 * string/test-strcpy.c (do_one_test): Likewise.
31310 (do_test): Likewise.
31311 * string/test-string.h: Likewise.
31312 (test_init): Likewise.
31313 * string/test-strlen.c (do_one_test): Likewise.
31314 (do_test): Likewise.
31315 * string/test-strncasecmp.c (do_one_test): Likewise.
31316 (do_test): Likewise.
31317 * string/test-strncat.c (do_one_test): Likewise.
31318 (do_test): Likewise.
31319 * string/test-strncmp.c (do_one_test): Likewise.
31320 (do_test_limit): Likewise.
31321 (do_test): Likewise.
31322 * string/test-strncpy.c (do_one_test): Likewise.
31323 (do_test): Likewise.
31324 * string/test-strnlen.c (do_one_test): Likewise.
31325 (do_test): Likewise.
31326 * string/test-strpbrk.c (do_one_test): Likewise.
31327 (do_test): Likewise.
31328 * string/test-strrchr.c (do_one_test): Likewise.
31329 (do_test): Likewise.
31330 * string/test-strspn.c (do_one_test): Likewise.
31331 (do_test): Likewise.
31332 * string/test-strstr.c (do_one_test): Likewise.
31333 (do_test): Likewise.
31335 * benchtests/Makefile (string-bench): Add string benchmarks.
31336 * benchtests/bench-bcopy-ifunc.c: New file.
31337 * benchtests/bench-bcopy.c: New file.
31338 * benchtests/bench-bzero-ifunc.c: New file.
31339 * benchtests/bench-bzero.c: New file.
31340 * benchtests/bench-memccpy-ifunc.c: New file.
31341 * benchtests/bench-memccpy.c: New file.
31342 * benchtests/bench-memchr-ifunc.c: New file.
31343 * benchtests/bench-memchr.c: New file.
31344 * benchtests/bench-memcmp-ifunc.c: New file.
31345 * benchtests/bench-memcmp.c: New file.
31346 * benchtests/bench-memmem-ifunc.c: New file.
31347 * benchtests/bench-memmem.c: New file.
31348 * benchtests/bench-memmove-ifunc.c: New file.
31349 * benchtests/bench-memmove.c: New file.
31350 * benchtests/bench-mempcpy-ifunc.c: New file.
31351 * benchtests/bench-mempcpy.c: New file.
31352 * benchtests/bench-memset-ifunc.c: New file.
31353 * benchtests/bench-memset.c: New file.
31354 * benchtests/bench-rawmemchr-ifunc.c: New file.
31355 * benchtests/bench-rawmemchr.c: New file.
31356 * benchtests/bench-stpcpy-ifunc.c: New file.
31357 * benchtests/bench-stpcpy.c: New file.
31358 * benchtests/bench-stpncpy-ifunc.c: New file.
31359 * benchtests/bench-stpncpy.c: New file.
31360 * benchtests/bench-strcasecmp-ifunc.c: New file.
31361 * benchtests/bench-strcasecmp.c: New file.
31362 * benchtests/bench-strcasestr-ifunc.c: New file.
31363 * benchtests/bench-strcasestr.c: New file.
31364 * benchtests/bench-strcat-ifunc.c: New file.
31365 * benchtests/bench-strcat.c: New file.
31366 * benchtests/bench-strchr-ifunc.c: New file.
31367 * benchtests/bench-strchr.c: New file.
31368 * benchtests/bench-strchrnul-ifunc.c: New file.
31369 * benchtests/bench-strchrnul.c: New file.
31370 * benchtests/bench-strcmp-ifunc.c: New file.
31371 * benchtests/bench-strcmp.c: New file.
31372 * benchtests/bench-strcpy-ifunc.c: New file.
31373 * benchtests/bench-strcpy.c: New file.
31374 * benchtests/bench-strcspn-ifunc.c: New file.
31375 * benchtests/bench-strcspn.c: New file.
31376 * benchtests/bench-strlen-ifunc.c: New file.
31377 * benchtests/bench-strlen.c: New file.
31378 * benchtests/bench-strncasecmp-ifunc.c: New file.
31379 * benchtests/bench-strncasecmp.c: New file.
31380 * benchtests/bench-strncat-ifunc.c: New file.
31381 * benchtests/bench-strncat.c: New file.
31382 * benchtests/bench-strncmp-ifunc.c: New file.
31383 * benchtests/bench-strncmp.c: New file.
31384 * benchtests/bench-strncpy-ifunc.c: New file.
31385 * benchtests/bench-strncpy.c: New file.
31386 * benchtests/bench-strnlen-ifunc.c: New file.
31387 * benchtests/bench-strnlen.c: New file.
31388 * benchtests/bench-strpbrk-ifunc.c: New file.
31389 * benchtests/bench-strpbrk.c: New file.
31390 * benchtests/bench-strrchr-ifunc.c: New file.
31391 * benchtests/bench-strrchr.c: New file.
31392 * benchtests/bench-strspn-ifunc.c: New file.
31393 * benchtests/bench-strspn.c: New file.
31394 * benchtests/bench-strstr-ifunc.c: New file.
31395 * benchtests/bench-strstr.c: New file.
31397 * benchtests/Makefile: Disable parallel execution of targets.
31398 (string-bench): Add memcpy.
31399 (benchset): New variable to store a list of benchmark sets.
31400 (bench-func): Renamed from bench.
31401 (bench-set): New target.
31402 (bench): Depend on bench-func and bench-set.
31403 * benchtests/README: Add section on benchmark sets.
31404 * benchtests/bench-memcpy-ifunc.c: New file.
31405 * benchtests/bench-memcpy.c: New file.
31406 * benchtests/bench-string.h: New file.
31408 2013-06-11 Andreas Schwab <schwab@suse.de>
31411 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31412 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31413 values in the triple.
31414 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31415 terminator in the group key.
31417 2013-06-11 Andreas Jaeger <aj@suse.de>
31419 * po/zh_TW.po: Update Chinese (traditional) translation from
31420 translation project.
31422 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31424 * include/time.h (__clock_gettime): Add libc_hidden_proto.
31425 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31426 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
31427 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31428 (clock_getcpuclockid): Likewise.
31429 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31430 Add weak_alias and libc_hidden_def.
31431 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31432 * rt/clock_gettime.c (clock_gettime): Rename to
31433 __clock_gettime. Add weak_alias and libc_hidden_def.
31434 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31435 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31436 __clock_nanosleep. Add weak_alias and libc_hidden_def.
31437 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31438 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31440 * rt/clock_settime.c (clock_settime): Rename to
31441 __clock_settime. Add weak_alias and libc_hidden_def.
31442 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31444 2013-06-10 Joseph Myers <joseph@codesourcery.com>
31446 * mach/err_boot.sub: Remove trailing whitespace.
31447 * mach/err_ipc.sub: Likewise.
31448 * mach/err_mach.sub: Likewise.
31450 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31451 (ROUNDING_TESTS_double): Likewise.
31452 (ROUNDING_TESTS_long_double): Likewise.
31453 (ROUNDING_TESTS): Likewise.
31454 * math/libm-test.inc: Include <math-tests.h>.
31455 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31456 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31457 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31458 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31460 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31462 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31465 2013-06-08 Joseph Myers <joseph@codesourcery.com>
31467 * sysdeps/gnu/errlist.awk: Do not generate space at end of
31468 otherwise empty TRANS lines.
31469 * sysdeps/gnu/errlist.c: Regenerated.
31471 * catgets/gencat.c (error_print): Use (void) in function
31473 * crypt/crypt_util.c (__init_des): Likewise.
31474 * crypt/speeds.c (Stop): Likewise.
31476 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31477 * inet/ruserpass.c (token): Likewise.
31478 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31479 * intl/localealias.c (extend_alias_table): Likewise.
31480 * intl/plural-exp.c (init_germanic_plural): Likewise.
31481 * libio/fcloseall.c (__fcloseall): Likewise.
31482 * libio/genops.c (_IO_flush_all): Likewise.
31483 (_IO_flush_all_linebuffered): Likewise.
31484 (_IO_cleanup): Likewise.
31485 (_IO_iter_begin): Likewise.
31486 (_IO_iter_end): Likewise.
31487 (_IO_list_lock): Likewise.
31488 (_IO_list_unlock): Likewise.
31489 (_IO_list_resetlock): Likewise.
31490 * libio/getchar.c (getchar): Likewise.
31491 * libio/getchar_u.c (getchar_unlocked): Likewise.
31492 * libio/getwchar.c (getwchar): Likewise.
31493 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31494 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31495 * login/getpt.c (__getpt): Likewise.
31496 * login/tst-utmp.c (main): Likewise.
31497 * malloc/hooks.c (__malloc_check_init): Likewise.
31498 * malloc/malloc.c (__malloc_stats): Likewise.
31499 * malloc/mtrace.c (tr_break): Likewise.
31500 (mtrace): Likewise.
31501 (muntrace): Likewise.
31502 * misc/fstab.c (endfsent): Likewise.
31503 * misc/getclktck.c (__getclktck): Likewise.
31504 * misc/getdtsz.c (__getdtablesize): Likewise.
31505 * misc/gethostid.c (gethostid): Likewise.
31506 * misc/getpagesize.c (__getpagesize): Likewise.
31507 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31508 (__get_nprocs): Likewise.
31509 (__get_phys_pages): Likewise.
31510 (__get_avphys_pages): Likewise.
31511 * misc/getttyent.c (getttyent): Likewise.
31512 (setttyent): Likewise.
31513 (endttyent): Likewise.
31514 * misc/getusershell.c (getusershell): Likewise.
31515 (endusershell): Likewise.
31516 (setusershell): Likewise.
31517 (initshells): Likewise.
31518 * misc/hsearch.c (__hdestroy): Likewise.
31519 * misc/sync.c (sync): Likewise.
31520 * misc/syslog.c (closelog_internal): Likewise.
31521 (closelog): Likewise.
31522 * misc/ttyslot.c (ttyslot): Likewise.
31523 * misc/vhangup.c (vhangup): Likewise.
31524 * posix/fork.c (__fork): Likewise.
31525 * posix/getegid.c (__getegid): Likewise.
31526 * posix/geteuid.c (__geteuid): Likewise.
31527 * posix/getgid.c (__getgid): Likewise.
31528 * posix/getpid.c (__getpid): Likewise.
31529 * posix/getppid.c (__getppid): Likewise.
31530 * posix/getuid.c (__getuid): Likewise.
31531 * posix/pause.c (pause): Likewise.
31532 * posix/setpgrp.c (setpgrp): Likewise.
31533 * posix/setsid.c (__setsid): Likewise.
31534 * posix/test-vfork.c (noop): Likewise.
31535 * resolv/gethnamaddr.c (_endhtent): Likewise.
31536 (_gethtent): Likewise.
31537 (ht_endhostent): Likewise.
31538 (gethostent): Likewise.
31539 (dns_service): Likewise.
31540 * stdlib/drand48.c (drand48): Likewise.
31541 * stdlib/lrand48.c (lrand48): Likewise.
31542 * stdlib/mrand48.c (mrand48): Likewise.
31543 * stdlib/rand.c (rand): Likewise.
31544 * stdlib/random.c (__random): Likewise.
31545 * stdlib/setenv.c (clearenv): Likewise.
31546 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31547 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31548 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31549 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31550 (__get_nprocs): Likewise.
31551 (__get_phys_pages): Likewise.
31552 (__get_avphys_pages): Likewise.
31553 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31554 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31555 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31556 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31557 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31558 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31559 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31560 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31561 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31562 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31563 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31564 * sysdeps/mach/hurd/sync.c (sync): Likewise.
31565 * sysdeps/posix/clock.c (clock): Likewise.
31566 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31567 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31568 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31569 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31570 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31571 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31572 (__get_nprocs_conf): Likewise.
31573 (__get_phys_pages): Likewise.
31574 (__get_avphys_pages): Likewise.
31575 * time/clock.c (clock): Likewise.
31576 * time/tzset.c (__tzname_max): Likewise.
31578 2013-06-07 Joseph Myers <joseph@codesourcery.com>
31580 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31581 (__bswap_32): Do not use "register".
31582 * crypt/crypt.c (_ufc_doit_r): Likewise.
31583 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31584 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31585 * gmon/gmon.c (__monstartup): Likewise.
31586 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31587 * hurd/hurdmalloc.c (more_memory): Likewise.
31588 (malloc): Likewise.
31590 (realloc): Likewise.
31591 (malloc_fork_prepare): Likewise.
31592 (malloc_fork_parent): Likewise.
31593 (malloc_fork_child): Likewise.
31594 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31595 (_svcauth_des): Likewise.
31596 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31597 * inet/inet_net.c (inet_network): Likewise.
31598 * inet/inet_netof.c (inet_netof): Likewise.
31599 * inet/rcmd.c (__validuser2_sa): Likewise.
31600 * io/fts.c (fts_open): Likewise.
31601 (fts_load): Likewise.
31602 (fts_close): Likewise.
31603 (fts_read): Likewise.
31604 (fts_children): Likewise.
31605 (fts_build): Likewise.
31606 (fts_stat): Likewise.
31607 (fts_sort): Likewise.
31608 (fts_alloc): Likewise.
31609 (fts_lfree): Likewise.
31610 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31611 (_IO_file_xsgetn): Likewise.
31612 (_IO_file_xsgetn_mmap): Likewise.
31613 * libio/iofopncook.c (_IO_cookie_read): Likewise.
31614 (_IO_cookie_write): Likewise.
31615 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31616 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31617 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31618 * malloc/obstack.c (_obstack_begin): Likewise.
31619 (_obstack_begin_1): Likewise.
31620 (_obstack_newchunk): Likewise.
31621 (_obstack_allocated_p): Likewise.
31622 (obstack_free): Likewise.
31623 (_obstack_memory_used): Likewise.
31624 * misc/getttyent.c (getttynam): Likewise.
31625 (getttyent): Likewise.
31628 * misc/getusershell.c (initshells): Likewise.
31629 * misc/syslog.c (__vsyslog_chk): Likewise.
31630 * misc/ttyslot.c (ttyslot): Likewise.
31631 * nis/nis_hash.c (__nis_hash): Likewise.
31632 * posix/fnmatch_loop.c (FCT): Likewise.
31633 * posix/getconf.c (print_all): Likewise.
31635 * posix/getopt.c (exchange): Likewise.
31636 * posix/glob.c (globfree): Likewise.
31637 (prefix_array): Likewise.
31638 (__glob_pattern_type): Likewise.
31639 * resolv/arpa/nameser.h (NS_GET16): Likewise.
31640 (NS_GET32): Likewise.
31641 (NS_PUT16): Likewise.
31642 (NS_PUT32): Likewise.
31643 * resolv/gethnamaddr.c (getanswer): Likewise.
31644 (gethostbyname2): Likewise.
31645 (gethostbyaddr): Likewise.
31646 (_gethtent): Likewise.
31647 (_gethtbyname2): Likewise.
31648 (_gethtbyaddr): Likewise.
31649 * resolv/ns_print.c (dst_s_get_int16): Likewise.
31650 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31651 * resolv/res_init.c (__res_vinit): Likewise.
31652 (net_mask): Likewise.
31653 * resolv/res_mkquery.c (outchar): Likewise.
31655 * stdio-common/printf_fp.c (outchar): Likewise.
31657 * stdio-common/printf_fphex.c (outchar): Likewise.
31659 * stdio-common/printf_size.c (outchar): Likewise.
31661 * stdio-common/test_rdwr.c (main): Likewise.
31662 * stdio-common/tfformat.c (matches): Likewise.
31663 * stdio-common/vfprintf.c (outchar): Likewise.
31664 (printf_unknown): Likewise.
31665 (buffered_vfprintf): Likewise.
31666 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31667 * stdio-common/xbug.c (AppendToBuffer): Likewise.
31668 (ReadFile): Likewise.
31669 * stdlib/qsort.c (SWAP): Likewise.
31670 (_quicksort): Likewise.
31671 * stdlib/setenv.c (__add_to_environ): Likewise.
31672 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31673 * stdlib/strtol_l.c (__strtol_l): Likewise.
31674 * stdlib/tst-strtod.c (main): Likewise.
31675 * stdlib/tst-strtol.c (main): Likewise.
31676 * stdlib/tst-strtoll.c (main): Likewise.
31677 * string/bits/string2.h (__strcmp_cc): Likewise.
31678 (__strcmp_cg): Likewise.
31679 (__strcspn_c1): Likewise.
31680 (__strcspn_c2): Likewise.
31681 (__strcspn_c3): Likewise.
31682 (__strspn_c1): Likewise.
31683 (__strspn_c2): Likewise.
31684 (__strspn_c3): Likewise.
31685 (__strsep_1c): Likewise.
31686 (__strsep_2c): Likewise.
31687 (__strsep_3c): Likewise.
31688 * string/memccpy.c (__memccpy): Likewise.
31689 * string/stpcpy.c (__stpcpy): Likewise.
31690 * string/strcmp.c (strcmp): Likewise.
31691 * string/strrchr.c (strrchr): Likewise.
31692 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31694 * sysdeps/mach/hurd/getcwd.c
31695 (_hurd_canonicalize_directory_name_internal): Likewise.
31696 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31697 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31698 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31699 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31700 Likewise, in both definitions.
31701 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31703 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31704 64] (__bswap_64): Likewise.
31705 * time/test_time.c (main): Likewise.
31706 * time/tzfile.c (__tzfile_read): Likewise.
31707 (__tzfile_compute): Likewise.
31708 * time/tzset.c (__tzset_parse_tz): Likewise.
31709 (tzset_internal): Likewise.
31710 (compute_change): Likewise.
31711 * wcsmbs/wcscat.c (__wcscat): Likewise.
31712 * wcsmbs/wcschr.c (wcschr): Likewise.
31713 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31714 * wcsmbs/wcscspn.c (wcscspn): Likewise.
31715 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31716 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31717 * wcsmbs/wcsspn.c (wcsspn): Likewise.
31718 * wcsmbs/wcsstr.c (wcsstr): Likewise.
31719 * wcsmbs/wmemchr.c (wmemchr): Likewise.
31720 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31721 * wcsmbs/wmemset.c (wmemset): Likewise.
31723 2013-06-06 Joseph Myers <joseph@codesourcery.com>
31725 * scripts/config.guess: Update to version 2013-05-16.
31726 * scripts/config.sub: Update to version 2013-04-24.
31727 * scripts/install-sh: Update to version 2011-11-20.07.
31728 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31729 * scripts/move-if-change: Update to version 2012-01-06 07:23.
31731 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
31733 * debug/fgetws_u_chk.c: Fix leading whitespaces.
31734 * elf/sln.c: Likewise.
31735 * hurd/hurd/ioctl.h: Likewise.
31736 * hurd/hurdmalloc.c: Likewise.
31737 * hurd/xattr.c: Likewise.
31738 * include/shlib-compat.h: Likewise.
31739 * inet/ruserpass.c: Likewise.
31740 * libio/iofgets_u.c: Likewise.
31741 * libio/iofgetws_u.c: Likewise.
31742 * locale/programs/ld-identification.c: Likewise.
31743 * locale/programs/ld-time.c: Likewise.
31744 * mach/msg-destroy.c: Likewise.
31745 * nss/nss_files/files-netgrp.c: Likewise.
31746 * resolv/res_data.c: Likewise.
31747 * soft-fp/op-1.h: Likewise.
31748 * soft-fp/op-2.h: Likewise.
31749 * soft-fp/op-4.h: Likewise.
31750 * soft-fp/op-common.h: Likewise.
31751 * stdio-common/printf_fphex.c: Likewise.
31752 * stdlib/strtod_l.c: Likewise.
31753 * sunrpc/rpc/clnt.h: Likewise.
31754 * sysdeps/generic/framestate.c: Likewise.
31755 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31756 * sysdeps/i386/bsd-setjmp.S: Likewise.
31757 * sysdeps/i386/__longjmp.S: Likewise.
31758 * sysdeps/i386/setjmp.S: Likewise.
31759 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31760 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31761 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31762 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31763 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31764 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31765 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31766 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31767 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31768 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31769 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31770 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31771 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31772 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31773 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31774 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31775 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31776 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31777 * sysdeps/ieee754/support.c: Likewise.
31778 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31779 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31780 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31781 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31782 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31783 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31784 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31785 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31786 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31787 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31788 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31789 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31790 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31791 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31792 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31793 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31794 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31797 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
31799 * posix/transbug.c: Remove executable mode.
31801 2013-06-05 Joseph Myers <joseph@codesourcery.com>
31803 * crypt/speeds.c: Remove trailing whitespace.
31804 * dlfcn/default.c: Likewise.
31805 * elf/ifuncdep2.c: Likewise.
31806 * elf/ifuncmain1.c: Likewise.
31807 * elf/ifuncmain1vis.c: Likewise.
31808 * elf/testobj.h: Likewise.
31809 * elf/tst-stackguard1.c: Likewise.
31810 * gmon/sys/gmon.h: Likewise.
31811 * hurd/hurdmsg.c: Likewise.
31812 * hurd/new-fd.c: Likewise.
31813 * hurd/ports-get.c: Likewise.
31814 * iconvdata/ibm1008_420.c: Likewise.
31815 * inet/tst-getni1.c: Likewise.
31816 * inet/tst-getni2.c: Likewise.
31817 * libio/ioungetc.c: Likewise.
31818 * libio/wfiledoalloc.c: Likewise.
31819 * manual/libm-err-tab.pl: Likewise.
31820 * math/w_dremf.c: Likewise.
31821 * misc/ftruncate.c: Likewise.
31822 * posix/bug-glob2.c: Likewise.
31823 * posix/tst-pcre.c: Likewise.
31824 * posix/wait4.c: Likewise.
31825 * resolv/README: Likewise.
31826 * resolv/res_debug.h: Likewise.
31827 * resolv/tst-inet_ntop.c: Likewise.
31828 * setjmp/bug269-setjmp.c: Likewise.
31829 * soft-fp/extended.h: Likewise.
31830 * soft-fp/op-1.h: Likewise.
31831 * soft-fp/op-2.h: Likewise.
31832 * soft-fp/op-4.h: Likewise.
31833 * soft-fp/op-8.h: Likewise.
31834 * soft-fp/testit.c: Likewise.
31835 * stdio-common/bug16.c: Likewise.
31836 * stdlib/random.c: Likewise.
31837 * sunrpc/rpcsvc/rquota.x: Likewise.
31838 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31839 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31840 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31841 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31842 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31843 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31844 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31845 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31846 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31847 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31848 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31849 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31850 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31851 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31852 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31853 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31854 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31855 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31856 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31857 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31858 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31859 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31860 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31861 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31862 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31863 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31864 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31865 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31866 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31867 * sysdeps/ieee754/s_lib_version.c: Likewise.
31868 * sysdeps/mach/hurd/check_fds.c: Likewise.
31869 * sysdeps/mach/hurd/getsockname.c: Likewise.
31870 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31871 * sysdeps/mach/hurd/recvfrom.c: Likewise.
31872 * sysdeps/powerpc/bits/link.h: Likewise.
31873 * sysdeps/powerpc/dl-procinfo.c: Likewise.
31874 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31875 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31876 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31877 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31878 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31879 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31880 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31881 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31882 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31883 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31884 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31885 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31886 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31887 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31888 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31889 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31890 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31891 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31892 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31893 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31894 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31895 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31896 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31897 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31898 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31899 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31900 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31901 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31902 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31903 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31904 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31905 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31906 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31907 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31908 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31909 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31910 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31911 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31912 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31913 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31914 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31915 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31916 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31917 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31918 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31919 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31920 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31921 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31922 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31923 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31924 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31925 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31926 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31927 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31928 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31929 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31930 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31931 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31932 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31933 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31934 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31935 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31936 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31937 * sysdeps/powerpc/sysdep.h: Likewise.
31938 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31939 * sysdeps/s390/s390-64/sub_n.S: Likewise.
31940 * sysdeps/sh/dl-trampoline.S: Likewise.
31941 * sysdeps/sh/memset.S: Likewise.
31942 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31943 * sysdeps/sh/strlen.S: Likewise.
31944 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31945 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31946 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31947 * sysdeps/sparc/sparc32/rem.S: Likewise.
31948 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31949 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31950 * sysdeps/sparc/sparc32/strchr.S: Likewise.
31951 * sysdeps/sparc/sparc32/udiv.S: Likewise.
31952 * sysdeps/sparc/sparc32/urem.S: Likewise.
31953 * sysdeps/sparc/sparc64/add_n.S: Likewise.
31954 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31955 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31956 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31957 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31958 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31959 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31960 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31961 * sysdeps/unix/bsd/times.c: Likewise.
31962 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31963 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31967 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31968 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31969 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31970 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31971 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31972 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31973 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31974 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31975 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31976 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31977 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31978 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31979 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31980 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31981 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31982 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31983 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31984 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31985 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31986 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31987 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31988 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31989 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31990 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31991 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31992 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31993 * sysdeps/x86_64/strcspn.S: Likewise.
31995 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31997 * locale/C-translit.h: Revert #include <stdint.h> because this is a
31998 generated file. Regenerate properly from gen-translit.pl.
31999 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
32000 locale/C-translit.h.
32002 2013-06-05 Andreas Schwab <schwab@suse.de>
32005 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
32006 week as 6 instead of -1.
32007 * time/tst-strptime.c (day_tests): Add test case.
32009 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32011 * sysdeps/generic/math_private.h
32012 (libc_feholdexcept_setround_53bit): Replace with
32013 libc_feholdsetround_53bit.
32014 (libc_feupdateenv_53bit): Replace with
32015 libc_feresetround_53bit.
32016 (SET_RESTORE_ROUND_53BIT): Adjust.
32018 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32020 * string/test-strchrnul.c: Add copyright header.
32022 * posix/tst-getaddrinfo4.c: Increase test timeout.
32024 2013-06-03 Carlos O'Donell <carlos@redhat.com>
32027 * math/libm-test.inc (MAX_EXP): Remove
32029 (ulp): Use MIN_EXP - MANT_DIG.
32030 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
32032 2013-05-31 Carlos O'Donell <carlos@redhat.com>
32034 * po/be.po: Revert last change.
32035 * po/zh_CN.po: Likewise.
32036 * po/header.pot: Likewise.
32038 2013-05-31 Joseph Myers <joseph@codesourcery.com>
32040 * Makefile ($(common-objpfx)linkobj/libc.so): Define
32041 link-libc-deps to empty as target-specific variable.
32042 * Makerules (link-libc-args): New variable.
32043 (libc-for-link): Likewise.
32044 (link-libc-deps): Likewise.
32045 (lib%.so): Depend on $(link-libc-deps). Link with
32047 (build-module): Link with $(link-libc-args).
32048 (build-module-asneeded): Likewise.
32049 (build-module-helper-objlist): Filter out $(link-libc-deps) from
32051 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
32052 target-specific variable.
32053 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
32054 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
32055 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
32057 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
32059 ($(objpfx)libpcprofile.so): Likewise.
32060 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
32062 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
32063 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
32064 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
32066 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
32067 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
32068 * login/Makefile ($(objpfx)libutil.so): Likewise.
32069 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
32070 * math/Makefile ($(objpfx)libm.so): Likewise.
32071 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
32072 $(objpfx)libnsl.so): Define libc-for-link as target-specific
32073 variable instead of depending directly on libc.
32074 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
32075 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
32077 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
32079 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
32080 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
32081 ($(objpfx)libanl.so): Likewise.
32082 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
32084 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
32086 * sysdeps/i386/fpu/Makefile: Remove file.
32087 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
32088 ($(objpfx)libm.so): Remove dependency on ld.so.
32090 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
32093 * nis/yp_xdr.c (XDRMAXNAME): Define.
32094 (XDRMAXRECORD): Define.
32095 (xdr_domainname): Use XDRMAXNAME.
32096 (xdr_mapname): Likewise.
32097 (xdr_peername): Likewise.
32098 (xdr_keydat): Use XDRMAXRECORD.
32099 (xdr_valdat): Likewise.
32101 2013-05-30 Jeff Law <law@redhat.com>
32104 * manual/errno.texi (ESTALE): Update to account for more than
32105 just NFS file systems.
32106 * sysdeps/gnu/errlist.c: Regenerated.
32108 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32111 * elf/Makefile (tests): Add tst-null-argv.
32112 (modules-names): Add tst-null-argv-lib.
32113 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32114 (tst-null-argv-ENV): Set environment for tst-null-argv.
32115 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32116 (RTLD_PROGNAME): New macro.
32117 * elf/tst-null-argv.c: New test case.
32118 * elf/tst-null-argv-lib.c: Library for test case.
32119 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32120 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32121 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32122 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32123 * elf/dl-init.c (call_init): Likewise.
32124 (_dl_init): Likewise.
32125 * elf/dl-load.c (print_search_path): Likewise.
32126 (_dl_map_object): Likewise.
32127 * elf/dl-lookup.c (do_lookup_x): Likewise.
32128 (add_dependency): Likewise.
32129 (_dl_lookup_symbol_x): Likewise.
32130 (_dl_debug_bindings): Likewise.
32131 * elf/dl-open.c (_dl_show_scope): Likewise.
32132 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32133 * elf/dl-version.c (match_symbol): Likewise.
32134 (_dl_check_map_versions): Likewise.
32135 * elf/rtld.c (dl_main): Likewise.
32136 (print_unresolved): Use RTLD_PROGNAME.
32137 (print_missing_version): Likewise.
32138 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32139 (elf_machine_rela): Likewise.
32140 * sysdeps/powerpc/powerpc32/dl-machine.c
32141 (__process_machine_rela): Likewise.
32142 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32144 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32146 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32148 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32149 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32153 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32155 2013-05-28 Carlos O'Donell <carlos@redhat.com>
32157 * po/be.po: Add descriptive title.
32158 * po/zh_CN.po: Likewise.
32159 * po/header.pot: Likewise.
32161 2013-05-28 Mike Frysinger <vapier@gentoo.org>
32163 * locale/programs/locarchive.c (create_archive): Inlucde fname in
32165 (enlarge_archive): Likewise.
32167 2013-05-28 Ben North <ben@redfrontdoor.org>
32169 * manual/arith.texi (frexp): It is the magnitude of the return
32170 value which lies in [0.5, 1), not the return value itself.
32172 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32176 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
32178 * stdio-common/bug26.c (main): Correct fscanf template.
32180 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32181 declare _dl_skip_args.
32183 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32186 * manual/platform.texi: Add missing @end deftypefun.
32188 2013-05-24 Joseph Myers <joseph@codesourcery.com>
32191 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32192 bit of mantissa of 2^16382.
32193 * math/libm-test.inc (hypot_test_data): Add more tests.
32195 * math/libm-test.inc: Add drem and pow10 to list of tested
32197 (pow10_test): New function.
32198 (drem_test): Likewise.
32199 (drem_test_tonearest): Likewise.
32200 (drem_test_towardzero): Likewise.
32201 (drem_test_downward): Likewise.
32202 (drem_test_upward): Likewise.
32203 (main): Call the new functions.
32205 * math/libm-test.inc (finite_test_data): Remove.
32206 (finite_test): Run tests from isfinite_test_data.
32207 (gamma_test_data): Remove.
32208 (gamma_test): Run tests from lgamma_test_data.
32209 * sysdeps/i386/fpu/libm-test-ulps: Update.
32210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32212 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32214 * manual/platform.texi: Add PowerPC PPR function set documentation.
32215 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32218 2013-05-24 Carlos O'Donell <carlos@redhat.com>
32220 * math/libm-test.inc (MAX_EXP): Define.
32222 (ulp): New function.
32223 (check_float_internal): Use ULPDIFF.
32224 (cpow_test): Disable failing test.
32225 (check_ulp): Test ulp() implemetnation.
32226 (main): Call check_ulp before starting tests.
32228 2013-05-24 Joseph Myers <joseph@codesourcery.com>
32230 * math/gen-libm-test.pl (generate_testfile): Do not handle
32231 START_DATA and END_DATA.
32232 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32234 (acos_tonearest_test_data): Likewise.
32235 (acos_towardzero_test_data): Likewise.
32236 (acos_downward_test_data): Likewise.
32237 (acos_upward_test_data): Likewise.
32238 (acosh_test_data): Likewise.
32239 (asin_test_data): Likewise.
32240 (asin_tonearest_test_data): Likewise.
32241 (asin_towardzero_test_data): Likewise.
32242 (asin_downward_test_data): Likewise.
32243 (asin_upward_test_data): Likewise.
32244 (asinh_test_data): Likewise.
32245 (atan_test_data): Likewise.
32246 (atanh_test_data): Likewise.
32247 (atan2_test_data): Likewise.
32248 (cabs_test_data): Likewise.
32249 (cacos_test_data): Likewise.
32250 (cacosh_test_data): Likewise.
32251 (carg_test_data): Likewise.
32252 (casin_test_data): Likewise.
32253 (casinh_test_data): Likewise.
32254 (catan_test_data): Likewise.
32255 (catanh_test_data): Likewise.
32256 (cbrt_test_data): Likewise.
32257 (ccos_test_data): Likewise.
32258 (ccosh_test_data): Likewise.
32259 (ceil_test_data): Likewise.
32260 (cexp_test_data): Likewise.
32261 (cimag_test_data): Likewise.
32262 (clog_test_data): Likewise.
32263 (clog10_test_data): Likewise.
32264 (conj_test_data): Likewise.
32265 (copysign_test_data): Likewise.
32266 (cos_test_data): Likewise.
32267 (cos_tonearest_test_data): Likewise.
32268 (cos_towardzero_test_data): Likewise.
32269 (cos_downward_test_data): Likewise.
32270 (cos_upward_test_data): Likewise.
32271 (cosh_test_data): Likewise.
32272 (cosh_tonearest_test_data): Likewise.
32273 (cosh_towardzero_test_data): Likewise.
32274 (cosh_downward_test_data): Likewise.
32275 (cosh_upward_test_data): Likewise.
32276 (cpow_test_data): Likewise.
32277 (cproj_test_data): Likewise.
32278 (creal_test_data): Likewise.
32279 (csin_test_data): Likewise.
32280 (csinh_test_data): Likewise.
32281 (csqrt_test_data): Likewise.
32282 (ctan_test_data): Likewise.
32283 (ctan_tonearest_test_data): Likewise.
32284 (ctan_towardzero_test_data): Likewise.
32285 (ctan_downward_test_data): Likewise.
32286 (ctan_upward_test_data): Likewise.
32287 (ctanh_test_data): Likewise.
32288 (ctanh_tonearest_test_data): Likewise.
32289 (ctanh_towardzero_test_data): Likewise.
32290 (ctanh_downward_test_data): Likewise.
32291 (ctanh_upward_test_data): Likewise.
32292 (erf_test_data): Likewise.
32293 (erfc_test_data): Likewise.
32294 (exp_test_data): Likewise.
32295 (exp_tonearest_test_data): Likewise.
32296 (exp_towardzero_test_data): Likewise.
32297 (exp_downward_test_data): Likewise.
32298 (exp_upward_test_data): Likewise.
32299 (exp10_test_data): Likewise.
32300 (exp2_test_data): Likewise.
32301 (expm1_test_data): Likewise.
32302 (fabs_test_data): Likewise.
32303 (fdim_test_data): Likewise.
32304 (finite_test_data): Likewise.
32305 (floor_test_data): Likewise.
32306 (fma_test_data): Likewise.
32307 (fma_towardzero_test_data): Likewise.
32308 (fma_downward_test_data): Likewise.
32309 (fma_upward_test_data): Likewise.
32310 (fmax_test_data): Likewise.
32311 (fmin_test_data): Likewise.
32312 (fmod_test_data): Likewise.
32313 (fpclassify_test_data): Likewise.
32314 (frexp_test_data): Likewise.
32315 (gamma_test_data): Likewise.
32316 (hypot_test_data): Likewise.
32317 (ilogb_test_data): Likewise.
32318 (isfinite_test_data): Likewise.
32319 (isgreater_test_data): Likewise.
32320 (isgreaterequal_test_data): Likewise.
32321 (isinf_test_data): Likewise.
32322 (isless_test_data): Likewise.
32323 (islessequal_test_data): Likewise.
32324 (islessgreater_test_data): Likewise.
32325 (isnan_test_data): Likewise.
32326 (isnormal_test_data): Likewise.
32327 (issignaling_test_data): Likewise.
32328 (isunordered_test_data): Likewise.
32329 (j0_test_data): Likewise.
32330 (j1_test_data): Likewise.
32331 (jn_test_data): Likewise.
32332 (ldexp_test_data): Likewise.
32333 (lgamma_test_data): Likewise.
32334 (lrint_test_data): Likewise.
32335 (lrint_tonearest_test_data): Likewise.
32336 (lrint_towardzero_test_data): Likewise.
32337 (lrint_downward_test_data): Likewise.
32338 (lrint_upward_test_data): Likewise.
32339 (llrint_test_data): Likewise.
32340 (llrint_tonearest_test_data): Likewise.
32341 (llrint_towardzero_test_data): Likewise.
32342 (llrint_downward_test_data): Likewise.
32343 (llrint_upward_test_data): Likewise.
32344 (log_test_data): Likewise.
32345 (log10_test_data): Likewise.
32346 (log1p_test_data): Likewise.
32347 (log2_test_data): Likewise.
32348 (logb_test_data): Likewise.
32349 (logb_downward_test_data): Likewise.
32350 (lround_test_data): Likewise.
32351 (llround_test_data): Likewise.
32352 (modf_test_data): Likewise.
32353 (nearbyint_test_data): Likewise.
32354 (nextafter_test_data): Likewise.
32355 (nexttoward_test_data): Likewise.
32356 (pow_test_data): Likewise.
32357 (pow_tonearest_test_data): Likewise.
32358 (pow_towardzero_test_data): Likewise.
32359 (pow_downward_test_data): Likewise.
32360 (pow_upward_test_data): Likewise.
32361 (remainder_test_data): Likewise.
32362 (remainder_tonearest_test_data): Likewise.
32363 (remainder_towardzero_test_data): Likewise.
32364 (remainder_downward_test_data): Likewise.
32365 (remainder_upward_test_data): Likewise.
32366 (remquo_test_data): Likewise.
32367 (rint_test_data): Likewise.
32368 (rint_tonearest_test_data): Likewise.
32369 (rint_towardzero_test_data): Likewise.
32370 (rint_downward_test_data): Likewise.
32371 (rint_upward_test_data): Likewise.
32372 (round_test_data): Likewise.
32373 (scalb_test_data): Likewise.
32374 (scalbn_test_data): Likewise.
32375 (scalbln_test_data): Likewise.
32376 (signbit_test_data): Likewise.
32377 (sin_test_data): Likewise.
32378 (sin_tonearest_test_data): Likewise.
32379 (sin_towardzero_test_data): Likewise.
32380 (sin_downward_test_data): Likewise.
32381 (sin_upward_test_data): Likewise.
32382 (sincos_test_data): Likewise.
32383 (sinh_test_data): Likewise.
32384 (sinh_tonearest_test_data): Likewise.
32385 (sinh_towardzero_test_data): Likewise.
32386 (sinh_downward_test_data): Likewise.
32387 (sinh_upward_test_data): Likewise.
32388 (sqrt_test_data): Likewise.
32389 (tan_test_data): Likewise.
32390 (tan_tonearest_test_data): Likewise.
32391 (tan_towardzero_test_data): Likewise.
32392 (tan_downward_test_data): Likewise.
32393 (tan_upward_test_data): Likewise.
32394 (tanh_test_data): Likewise.
32395 (tgamma_test_data): Likewise.
32396 (trunc_test_data): Likewise.
32397 (y0_test_data): Likewise.
32398 (y1_test_data): Likewise.
32399 (yn_test_data): Likewise.
32400 (significand_test_data): Likewise.
32402 * math/gen-libm-test.pl (@functions): Remove variable.
32403 (generate_testfile): Don't handle START and END lines.
32404 * math/libm-test.inc (START): New macro.
32406 (END_COMPLEX): Likewise.
32407 (acos_test): Use END macro without arguments.
32408 (acos_test_tonearest): Likewise.
32409 (acos_test_towardzero): Likewise.
32410 (acos_test_downward): Likewise.
32411 (acos_test_upward): Likewise.
32412 (acosh_test): Likewise.
32413 (asin_test): Likewise.
32414 (asin_test_tonearest): Likewise.
32415 (asin_test_towardzero): Likewise.
32416 (asin_test_downward): Likewise.
32417 (asin_test_upward): Likewise.
32418 (asinh_test): Likewise.
32419 (atan_test): Likewise.
32420 (atanh_test): Likewise.
32421 (atan2_test): Likewise.
32422 (cabs_test): Likewise.
32423 (cacos_test): Use END_COMPLEX macro without arguments.
32424 (cacosh_test): Likewise.
32425 (carg_test): Use END macro without arguments.
32426 (casin_test): Use END_COMPLEX macro without arguments.
32427 (casinh_test): Likewise.
32428 (catan_test): Likewise.
32429 (catanh_test): Likewise.
32430 (cbrt_test): Use END macro without arguments.
32431 (ccos_test): Use END_COMPLEX macro without arguments.
32432 (ccosh_test): Likewise.
32433 (ceil_test): Use END macro without arguments.
32434 (cexp_test): Use END_COMPLEX macro without arguments.
32435 (cimag_test): Use END macro without arguments.
32436 (clog_test): Use END_COMPLEX macro without arguments.
32437 (clog10_test): Likewise.
32438 (conj_test): Likewise.
32439 (copysign_test): Use END macro without arguments.
32440 (cos_test): Likewise.
32441 (cos_test_tonearest): Likewise.
32442 (cos_test_towardzero): Likewise.
32443 (cos_test_downward): Likewise.
32444 (cos_test_upward): Likewise.
32445 (cosh_test): Likewise.
32446 (cosh_test_tonearest): Likewise.
32447 (cosh_test_towardzero): Likewise.
32448 (cosh_test_downward): Likewise.
32449 (cosh_test_upward): Likewise.
32450 (cpow_test): Use END_COMPLEX macro without arguments.
32451 (cproj_test): Likewise.
32452 (creal_test): Use END macro without arguments.
32453 (csin_test): Use END_COMPLEX macro without arguments.
32454 (csinh_test): Likewise.
32455 (csqrt_test): Likewise.
32456 (ctan_test): Likewise.
32457 (ctan_test_tonearest): Likewise.
32458 (ctan_test_towardzero): Likewise.
32459 (ctan_test_downward): Likewise.
32460 (ctan_test_upward): Likewise.
32461 (ctanh_test): Likewise.
32462 (ctanh_test_tonearest): Likewise.
32463 (ctanh_test_towardzero): Likewise.
32464 (ctanh_test_downward): Likewise.
32465 (ctanh_test_upward): Likewise.
32466 (erf_test): Use END macro without arguments.
32467 (erfc_test): Likewise.
32468 (exp_test): Likewise.
32469 (exp_test_tonearest): Likewise.
32470 (exp_test_towardzero): Likewise.
32471 (exp_test_downward): Likewise.
32472 (exp_test_upward): Likewise.
32473 (exp10_test): Likewise.
32474 (exp2_test): Likewise.
32475 (expm1_test): Likewise.
32476 (fabs_test): Likewise.
32477 (fdim_test): Likewise.
32478 (finite_test): Likewise.
32479 (floor_test): Likewise.
32480 (fma_test): Likewise.
32481 (fma_test_towardzero): Likewise.
32482 (fma_test_downward): Likewise.
32483 (fma_test_upward): Likewise.
32484 (fmax_test): Likewise.
32485 (fmin_test): Likewise.
32486 (fmod_test): Likewise.
32487 (fpclassify_test): Likewise.
32488 (frexp_test): Likewise.
32489 (gamma_test): Likewise.
32490 (hypot_test): Likewise.
32491 (ilogb_test): Likewise.
32492 (isfinite_test): Likewise.
32493 (isgreater_test): Likewise.
32494 (isgreaterequal_test): Likewise.
32495 (isinf_test): Likewise.
32496 (isless_test): Likewise.
32497 (islessequal_test): Likewise.
32498 (islessgreater_test): Likewise.
32499 (isnan_test): Likewise.
32500 (isnormal_test): Likewise.
32501 (issignaling_test): Likewise.
32502 (isunordered_test): Likewise.
32503 (j0_test): Likewise.
32504 (j1_test): Likewise.
32505 (jn_test): Likewise.
32506 (ldexp_test): Likewise.
32507 (lgamma_test): Likewise.
32508 (lrint_test): Likewise.
32509 (lrint_test_tonearest): Likewise.
32510 (lrint_test_towardzero): Likewise.
32511 (lrint_test_downward): Likewise.
32512 (lrint_test_upward): Likewise.
32513 (llrint_test): Likewise.
32514 (llrint_test_tonearest): Likewise.
32515 (llrint_test_towardzero): Likewise.
32516 (llrint_test_downward): Likewise.
32517 (llrint_test_upward): Likewise.
32518 (log_test): Likewise.
32519 (log10_test): Likewise.
32520 (log1p_test): Likewise.
32521 (log2_test): Likewise.
32522 (logb_test): Likewise.
32523 (logb_test_downward): Likewise.
32524 (lround_test): Likewise.
32525 (llround_test): Likewise.
32526 (modf_test): Likewise.
32527 (nearbyint_test): Likewise.
32528 (nextafter_test): Likewise.
32529 (nexttoward_test): Likewise.
32530 (pow_test): Likewise.
32531 (pow_test_tonearest): Likewise.
32532 (pow_test_towardzero): Likewise.
32533 (pow_test_downward): Likewise.
32534 (pow_test_upward): Likewise.
32535 (remainder_test): Likewise.
32536 (remainder_test_tonearest): Likewise.
32537 (remainder_test_towardzero): Likewise.
32538 (remainder_test_downward): Likewise.
32539 (remainder_test_upward): Likewise.
32540 (remquo_test): Likewise.
32541 (rint_test): Likewise.
32542 (rint_test_tonearest): Likewise.
32543 (rint_test_towardzero): Likewise.
32544 (rint_test_downward): Likewise.
32545 (rint_test_upward): Likewise.
32546 (round_test): Likewise.
32547 (scalb_test): Likewise.
32548 (scalbn_test): Likewise.
32549 (scalbln_test): Likewise.
32550 (signbit_test): Likewise.
32551 (sin_test): Likewise.
32552 (sin_test_tonearest): Likewise.
32553 (sin_test_towardzero): Likewise.
32554 (sin_test_downward): Likewise.
32555 (sin_test_upward): Likewise.
32556 (sincos_test): Likewise.
32557 (sinh_test): Likewise.
32558 (sinh_test_tonearest): Likewise.
32559 (sinh_test_towardzero): Likewise.
32560 (sinh_test_downward): Likewise.
32561 (sinh_test_upward): Likewise.
32562 (sqrt_test): Likewise.
32563 (tan_test): Likewise.
32564 (tan_test_tonearest): Likewise.
32565 (tan_test_towardzero): Likewise.
32566 (tan_test_downward): Likewise.
32567 (tan_test_upward): Likewise.
32568 (tanh_test): Likewise.
32569 (tgamma_test): Likewise.
32570 (trunc_test): Likewise.
32571 (y0_test): Likewise.
32572 (y1_test): Likewise.
32573 (yn_test): Likewise.
32574 (significand_test): Likewise.
32576 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
32579 * libio/genops.c (_IO_no_init): Initialize wide struct info.
32581 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
32584 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32585 __ppc_mdoio and __ppc_mdoom.
32586 * manual/platform.texi: Document new functions __ppc_yield,
32587 __ppc_mdoio and __ppc_mdoom.
32589 2013-05-22 Carlos O'Donell <carlos@redhat.com>
32591 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32592 (main): Mention "tls" pseudo-hwcap is legacy.
32593 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32595 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32597 * math/gen-libm-test.pl (parse_args): Output only string of
32598 arguments as text for test name, not full call or descriptions of
32599 tests for extra outputs.
32600 (generate_testfile): Do not pass function name to parse_args.
32601 Generate this_func variable from START.
32602 * math/libm-test.inc (struct test_f_f_data): Rename test_name
32604 (struct test_ff_f_data): Likewise.
32605 (test_ff_f_data_nexttoward): Likewise.
32606 (struct test_fi_f_data): Likewise.
32607 (struct test_fl_f_data): Likewise.
32608 (struct test_if_f_data): Likewise.
32609 (struct test_fff_f_data): Likewise.
32610 (struct test_c_f_data): Likewise.
32611 (struct test_f_f1_data): Likewise. Remove field extra_name.
32612 (struct test_fF_f1_data): Likewise.
32613 (struct test_ffI_f1_data): Likewise.
32614 (struct test_c_c_data): Rename test_name field to arg_str.
32615 (struct test_cc_c_data): Likewise.
32616 (struct test_f_i_data): Likewise.
32617 (struct test_ff_i_data): Likewise.
32618 (struct test_f_l_data): Likewise.
32619 (struct test_f_L_data): Likewise.
32620 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
32622 (COMMON_TEST_SETUP): New macro.
32623 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32624 (COMMON_TEST_CLEANUP): Likewise.
32625 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32626 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
32628 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32629 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
32631 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32632 (RUN_TEST_fff_f): Take argument string. Call new setup and
32634 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32635 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
32637 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32638 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
32640 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32641 (RUN_TEST_fF_f1): Take argument string. Call new setup and
32643 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32644 (RUN_TEST_fI_f1): Take argument string. Call new setup and
32646 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32647 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
32649 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32650 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
32652 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32653 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
32655 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32656 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
32658 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32659 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
32661 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32662 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
32664 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32665 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
32667 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32668 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
32670 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32671 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
32673 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32674 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
32676 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32677 (RUN_TEST_fFF_11): Take argument string. Call new setup and
32679 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32681 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
32683 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32684 to _sifields.sigfault.
32685 (si_addr_lsb): Define new macro.
32686 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32687 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32688 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32690 2013-05-03 Carlos O'Donell <carlos at redhat.com>
32693 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32695 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32697 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32698 loading the domain.
32700 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32702 * math/gen-libm-test.pl (parse_args): Do not include expected
32703 result in test name.
32704 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32705 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32706 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32707 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32708 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32711 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32713 * benchtests/Makefile: Sort function entries.
32715 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32716 tanh, asinh, acosh, atanh.
32717 * benchtests/acos-inputs: New file.
32718 * benchtests/acosh-inputs: New file.
32719 * benchtests/asin-inputs: New file.
32720 * benchtests/asinh-inputs: New file.
32721 * benchtests/atanh-inputs: New file.
32722 * benchtests/cosh-inputs: New file.
32723 * benchtests/log-inputs: New file.
32724 * benchtests/sinh-inputs: New file.
32725 * benchtests/tanh-inputs: New file.
32727 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
32730 * posix/tst-getaddrinfo4.c: New test.
32731 * posix/Makefile (tests): Add it.
32733 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32736 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32737 when no services were used.
32738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32739 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32741 2013-05-21 Andreas Schwab <schwab@suse.de>
32744 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32745 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32747 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32748 redundant variable declarations and reallocation of buffer when
32749 parsing as IPv6 address. Always set NSS status when called from
32750 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
32751 buffer too small. Correct computation of needed size.
32752 * nss/Makefile (tests): Add test-digits-dots.
32753 * nss/test-digits-dots.c: New test.
32755 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32757 * benchtests/Makefile: Remove instructions for adding
32759 * benchtests/README: New file to explain how to execute and
32760 enhance the benchmark tests.
32762 2013-05-21 Andreas Schwab <schwab@suse.de>
32765 * setjmp/Makefile (tests): Add tst-sigsetjmp.
32766 * setjmp/tst-sigsetjmp.c: New test.
32768 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
32770 * sysdeps/x86_64/memset.S (memset): New implementation.
32771 (__bzero): Likewise.
32772 (__memset_tail): New function.
32774 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
32776 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32777 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32778 __memcpy_sse2_unaligned ifunc selection.
32779 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32780 Add memcpy-sse2-unaligned.S.
32781 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32782 Add: __memcpy_sse2_unaligned.
32784 2013-05-19 Joseph Myers <joseph@codesourcery.com>
32787 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32788 math_force_eval before restoring floating-point envrionment.
32789 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32790 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32792 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32794 (__nearbyintl): Use math_force_eval before restoring
32795 floating-point environment.
32796 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32798 * math/gen-libm-test.pl (special_functions): Remove.
32799 (parse_args): Don't handle TEST_extra. Handle functions with no
32801 * math/libm-test.inc (struct test_sincos_data): Replace with
32802 struct test_fFF_11_data.
32803 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32804 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32805 (sincos_test_data): Change element type to struct
32806 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
32807 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32808 RUN_TEST_LOOP_sincos.
32809 * math/README.libm-test: Don't mention special handling of
32810 individual functions.
32811 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32812 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32813 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32814 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32815 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32818 * math/gen-libm-test.pl (get_variable): Remove function.
32819 (parse_args): Don't show pointer parameters to call in test
32820 names. Use "extra output N" in test names for extra outputs
32821 rather than naming variables.
32823 2013-05-18 Joseph Myers <joseph@codesourcery.com>
32826 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32827 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32828 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32830 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32832 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32835 * math/gen-libm-test.pl (@tests): Remove variable.
32836 ($count): Likewise.
32837 (new_test): Remove function.
32838 (show_exceptions): New function.
32839 (special_functions): Use show_exceptions instead of new_test.
32840 (parse_args): Likewise.
32841 (generate_testfile): Pass only function name in generated call to
32842 print_max_error or print_complex_max_error.
32843 (get_ulps): Do not handle complex tests specially.
32844 (output_test): Rename to ...
32845 (get_all_ulps_for_test): ... this. Return a string rather than
32846 printing to a file. Require ulps to be present.
32847 (output_ulps): Generate arrays rather than #defines.
32848 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32849 (struct ulp_data): New type.
32850 (BUILD_COMPLEX_ULP): Remove macro.
32851 (compare_ulp_data): New function.
32852 (find_ulps): Likewise.
32853 (find_test_ulps): Likewise.
32854 (find_function_ulps): Likewise.
32855 (find_complex_function_ulps): Likewise.
32856 (print_max_error): Determine allowed ulps using
32857 find_function_ulps.
32858 (print_complex_max_error): Determine allowed ulps using
32859 find_complex_function_ulps.
32860 (check_float_internal): Determine max ulps using find_test_ulps.
32861 (check_float): Do not take max_ulp parameter. Update call to
32862 check_float_internal.
32863 (check_complex): Likewise.
32864 (check_int): Do not take max_ulp parameter.
32865 (check_long): Likewise.
32866 (check_bool): Likewise.
32867 (check_longlong): Likewise.
32868 (struct test_f_f_data): Remove max_ulp field.
32869 (struct test_ff_f_data): Likewise.
32870 (struct test_ff_f_data_nexttoward): Likewise.
32871 (struct test_fi_f_data): Likewise.
32872 (struct test_fl_f_data): Likewise.
32873 (struct test_if_f_data): Likewise.
32874 (struct test_fff_f_data): Likewise.
32875 (struct test_c_f_data): Likewise.
32876 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32877 (struct test_fF_f1_data): Likewise.
32878 (struct test_ffI_f1_data): Likewise.
32879 (struct test_c_c_data): Remove max_ulp field.
32880 (struct test_cc_c_data): Likewise.
32881 (struct test_f_i_data): Likewise.
32882 (struct test_ff_i_data): Likewise.
32883 (struct test_f_l_data): Likewise.
32884 (struct test_f_L_data): Likewise.
32885 (struct test_sincos_data): Likewise.
32886 (RUN_TEST_f_f): Do not handle ulps.
32887 (RUN_TEST_LOOP_f_f): Likewise.
32888 (RUN_TEST_2_f): Likewise.
32889 (RUN_TEST_LOOP_2_f): Likewise.
32890 (RUN_TEST_fff_f): Likewise.
32891 (RUN_TEST_LOOP_fff_f): Likewise.
32892 (RUN_TEST_c_f): Likewise.
32893 (RUN_TEST_LOOP_c_f): Likewise.
32894 (RUN_TEST_f_f1): Likewise.
32895 (RUN_TEST_LOOP_f_f1): Likewise.
32896 (RUN_TEST_fF_f1): Likewise.
32897 (RUN_TEST_LOOP_fF_f1): Likewise.
32898 (RUN_TEST_fI_f1): Likewise.
32899 (RUN_TEST_LOOP_fI_f1): Likewise.
32900 (RUN_TEST_ffI_f1): Likewise.
32901 (RUN_TEST_LOOP_ffI_f1): Likewise.
32902 (RUN_TEST_c_c): Likewise.
32903 (RUN_TEST_LOOP_c_c): Likewise.
32904 (RUN_TEST_cc_c): Likewise.
32905 (RUN_TEST_LOOP_cc_c): Likewise.
32906 (RUN_TEST_f_i): Likewise.
32907 (RUN_TEST_LOOP_f_i): Likewise.
32908 (RUN_TEST_f_i_tg): Likewise.
32909 (RUN_TEST_LOOP_f_i_tg): Likewise.
32910 (RUN_TEST_ff_i_tg): Likewise.
32911 (RUN_TEST_LOOP_ff_i_tg): Likewise.
32912 (RUN_TEST_f_b): Likewise.
32913 (RUN_TEST_LOOP_f_b): Likewise.
32914 (RUN_TEST_f_b_tg): Likewise.
32915 (RUN_TEST_LOOP_f_b_tg): Likewise.
32916 (RUN_TEST_f_l): Likewise.
32917 (RUN_TEST_LOOP_f_l): Likewise.
32918 (RUN_TEST_f_L): Likewise.
32919 (RUN_TEST_LOOP_f_L): Likewise.
32920 (RUN_TEST_sincos): Likewise.
32921 (RUN_TEST_LOOP_sincos): Likewise.
32923 2013-05-17 Joseph Myers <joseph@codesourcery.com>
32927 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32928 main case of finite arguments, set rounding mode to FE_TONEAREST
32929 and discard exceptions.
32930 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32932 (remainder_tonearest_test_data): New variable.
32933 (remainder_test_tonearest): New function.
32934 (remainder_towardzero_test_data): New variable.
32935 (remainder_test_towardzero): New function.
32936 (remainder_downward_test_data): New variable.
32937 (remainder_test_downward): New function.
32938 (remainder_upward_test_data): New variable.
32939 (remainder_test_upward): New function.
32940 (main): Call the new test functions.
32942 * math/libm-test.inc (struct test_f_f1_data): Remove field
32944 (struct test_fF_f1_data): Likewise.
32945 (struct test_ffI_f1_data): Likewise.
32946 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
32947 based on value of EXTRA_EXPECTED.
32948 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32949 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
32950 EXTRA_VAR based on value of EXTRA_EXPECTED.
32951 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32952 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
32953 EXTRA_VAR based on value of EXTRA_EXPECTED.
32954 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32955 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
32956 EXTRA_VAR based on value of EXTRA_EXPECTED.
32957 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32958 * math/gen-libm-test.pl (parse_args): Don't output initializers
32959 for extra output values.
32961 * math/libm-test.inc (check_int): Expect result to be exactly
32962 equal to expected value and do not handle ulps.
32963 (check_long): Likewise.
32964 (check_longlong): Likewise.
32966 * math/libm-test.inc (ceil_test_data): Test for "inexact"
32968 (cimag_test_data): Likewise.
32969 (conj_test_data): Likewise.
32970 (copysign_test_data): Likewise.
32971 (cproj_test_data): Likewise.
32972 (creal_test_data): Likewise.
32973 (fabs_test_data): Likewise.
32974 (fdim_test_data): Likewise.
32975 (finite_test_data): Likewise.
32976 (floor_test_data): Likewise.
32977 (fmax_test_data): Likewise.
32978 (fmin_test_data): Likewise.
32979 (fmod_test_data): Likewise.
32980 (fpclassify_test_data): Likewise.
32981 (frexp_test_data): Likewise.
32982 (ilogb_test_data): Likewise.
32983 (isfinite_test_data): Likewise.
32984 (isgreater_test_data): Likewise.
32985 (isgreaterequal_test_data): Likewise.
32986 (isinf_test_data): Likewise.
32987 (isless_test_data): Likewise.
32988 (islessequal_test_data): Likewise.
32989 (islessgreater_test_data): Likewise.
32990 (isnan_test_data): Likewise.
32991 (isnormal_test_data): Likewise.
32992 (issignaling_test_data): Likewise.
32993 (isunordered_test_data): Likewise.
32994 (ldexp_test_data): Likewise.
32995 (lrint_test_data): Likewise.
32996 (lrint_test_data) [TEST_FLOAT]: Disable one test.
32997 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32998 (lrint_tonearest_test_data): Test for "inexact" exceptions.
32999 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33000 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
33001 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33003 (lrint_towardzero_test_data): Test for "inexact" exceptions.
33004 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33005 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
33006 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
33008 (lrint_downward_test_data): Test for "inexact" exceptions.
33009 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33010 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
33011 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
33013 (lrint_upward_test_data): Test for "inexact" exceptions.
33014 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
33016 (llrint_test_data): Test for "inexact" exceptions.
33017 (llrint_test_data) [TEST_FLOAT]: Disable one test.
33018 (llrint_tonearest_test_data): Test for "inexact" exceptions.
33019 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
33020 (llrint_towardzero_test_data): Test for "inexact" exceptions.
33021 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
33022 (llrint_downward_test_data): Test for "inexact" exceptions.
33023 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
33024 (llrint_upward_test_data): Test for "inexact" exceptions.
33025 (logb_test_data): Likewise.
33026 (logb_downward_test_data): Likewise.
33027 (nextafter_test_data): Likewise.
33028 (nexttoward_test_data): Likewise.
33029 (remainder_test_data): Likewise.
33030 (remquo_test_data): Likewise.
33031 (scalbn_test_data): Likewise.
33032 (scalbln_test_data): Likewise.
33033 (signbit_test_data): Likewise.
33034 (sqrt_test_data): Likewise.
33035 (significand_test_data): Likewise.
33037 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33040 * benchtests/bench-modf.c (struct args): Mark arg0 as
33042 * scripts/bench.pl: Mark members of struct args as volatile.
33044 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33047 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
33048 negative infinity on POWER6 or lower.
33049 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
33051 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
33054 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
33055 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
33056 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
33057 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
33058 (_FP_SETQNAN): New macro.
33059 (_FP_SETQNAN_SEMIRAW): Likewise.
33060 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
33061 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
33062 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
33063 (FP_EXTEND): Use _FP_FRAC_SNANP.
33064 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
33065 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
33067 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33069 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
33072 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33074 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
33075 with DIVIDE_BY_ZERO_EXCEPTION.
33076 (gamma_test_data): Likewise.
33077 (lgamma_test_data): Likewise.
33078 (log_test_data): Likewise.
33079 (log10_test_data): Likewise.
33080 (log2_test_data): Likewise.
33081 (tgamma_test_data): Likewise.
33083 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
33084 (acos_test_tonearest): Likewise.
33085 (acos_test_towardzero): Likewise.
33086 (acos_test_downward): Likewise.
33087 (acos_test_upward): Likewise.
33088 (acosh_test): Likewise.
33089 (asin_test): Likewise.
33090 (asin_test_tonearest): Likewise.
33091 (asin_test_towardzero): Likewise.
33092 (asin_test_downward): Likewise.
33093 (asin_test_upward): Likewise.
33094 (asinh_test): Likewise.
33095 (atan_test): Likewise.
33096 (atanh_test): Likewise.
33097 (atan2_test): Likewise.
33098 (cabs_test): Likewise.
33099 (cacos_test): Likewise.
33100 (cacosh_test): Likewise.
33101 (casin_test): Likewise.
33102 (casinh_test): Likewise.
33103 (catan_test): Likewise.
33104 (catanh_test): Likewise.
33105 (cbrt_test): Likewise.
33106 (ccos_test): Likewise.
33107 (ccosh_test): Likewise.
33108 (cexp_test): Likewise.
33109 (clog_test): Likewise.
33110 (clog10_test): Likewise.
33111 (cos_test): Likewise.
33112 (cos_test_tonearest): Likewise.
33113 (cos_test_towardzero): Likewise.
33114 (cos_test_downward): Likewise.
33115 (cos_test_upward): Likewise.
33116 (cosh_test): Likewise.
33117 (cosh_test_tonearest): Likewise.
33118 (cosh_test_towardzero): Likewise.
33119 (cosh_test_downward): Likewise.
33120 (cosh_test_upward): Likewise.
33121 (cpow_test): Likewise.
33122 (csin_test): Likewise.
33123 (csinh_test): Likewise.
33124 (csqrt_test): Likewise.
33125 (ctan_test): Likewise.
33126 (ctan_test_tonearest): Likewise.
33127 (ctan_test_towardzero): Likewise.
33128 (ctan_test_downward): Likewise.
33129 (ctan_test_upward): Likewise.
33130 (ctanh_test): Likewise.
33131 (ctanh_test_tonearest): Likewise.
33132 (ctanh_test_towardzero): Likewise.
33133 (ctanh_test_downward): Likewise.
33134 (ctanh_test_upward): Likewise.
33135 (erf_test): Likewise.
33136 (erfc_test): Likewise.
33137 (exp_test): Likewise.
33138 (exp_test_tonearest): Likewise.
33139 (exp_test_towardzero): Likewise.
33140 (exp_test_downward): Likewise.
33141 (exp_test_upward): Likewise.
33142 (exp10_test): Likewise.
33143 (exp2_test): Likewise.
33144 (expm1_test): Likewise.
33145 (fmod_test): Likewise.
33146 (gamma_test): Likewise.
33147 (hypot_test): Likewise.
33148 (j0_test): Likewise.
33149 (j1_test): Likewise.
33150 (jn_test): Likewise.
33151 (lgamma_test): Likewise.
33152 (log_test): Likewise.
33153 (log10_test): Likewise.
33154 (log1p_test): Likewise.
33155 (log2_test): Likewise.
33156 (logb_test_downward): Likewise.
33157 (pow_test): Likewise.
33158 (pow_test_tonearest): Likewise.
33159 (pow_test_towardzero): Likewise.
33160 (pow_test_downward): Likewise.
33161 (pow_test_upward): Likewise.
33162 (remainder_test): Likewise.
33163 (remquo_test): Likewise.
33164 (sin_test): Likewise.
33165 (sin_test_tonearest): Likewise.
33166 (sin_test_towardzero): Likewise.
33167 (sin_test_downward): Likewise.
33168 (sin_test_upward): Likewise.
33169 (sincos_test): Likewise.
33170 (sinh_test): Likewise.
33171 (sinh_test_tonearest): Likewise.
33172 (sinh_test_towardzero): Likewise.
33173 (sinh_test_downward): Likewise.
33174 (sinh_test_upward): Likewise.
33175 (sqrt_test): Likewise.
33176 (tan_test): Likewise.
33177 (tan_test_tonearest): Likewise.
33178 (tan_test_towardzero): Likewise.
33179 (tan_test_downward): Likewise.
33180 (tan_test_upward): Likewise.
33181 (tanh_test): Likewise.
33182 (tgamma_test): Likewise.
33183 (y0_test): Likewise.
33184 (y1_test): Likewise.
33185 (yn_test): Likewise.
33187 * math/gen-libm-test.pl (adjust_arg): Remove function.
33188 (special_function): Remove argument $in_func. Only handle
33189 generating output for tables of tests, not inside functions.
33190 (parse_args): Likewise.
33191 (generate_testfile): Remove variable $in_func. Update call to
33193 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33194 (MINUS_ZERO_INIT): Rename macro to minus_zero.
33195 (PLUS_INFTY_INIT): Rename macro to plus_infty.
33196 (MINUS_INFTY_INIT): Rename macro to minus_infty.
33197 (QNAN_VALUE_INIT): Rename macro to qnan_value.
33198 (MAX_VALUE_INIT): Rename macro to max_value.
33199 (MIN_VALUE_INIT): Rename macro to min_value.
33200 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33201 (plus_zero): Remove variable.
33202 (minus_zero): Likewise.
33203 (plus_infty): Likewise.
33204 (minus_infty): Likewise.
33205 (qnan_value): Likewise.
33206 (max_value): Likewise.
33207 (min_value): Likewise.
33208 (min_subnorm_value): Likewise.
33210 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33212 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33213 uint64_t or uint32_t usage.
33214 * crypt/sha256-block.c: Likewise.
33215 * crypt/sha256-crypt.c: Likewise.
33216 * crypt/sha256.c: Likewise.
33217 * crypt/sha512-block.c: Likewise.
33218 * crypt/sha512-crypt.c: Likewise.
33219 * crypt/sha512.c: Likewise.
33220 * debug/backtrace-tst.c: Likewise.
33221 * debug/pcprofiledump.c: Likewise.
33222 * elf/cache.c: Likewise.
33223 * elf/dl-cache.c: Likewise.
33224 * elf/dl-misc.c: Likewise.
33225 * elf/dl-profile.c: Likewise.
33226 * elf/dl-support.c: Likewise.
33227 * elf/ldconfig.c: Likewise.
33228 * elf/sprof.c: Likewise.
33229 * iconv/dummy-repertoire.c: Likewise.
33230 * iconv/iconv_charmap.c: Likewise.
33231 * iconv/skeleton.c: Likewise.
33232 * iconvdata/8bit-generic.c: Likewise.
33233 * iconvdata/cp737.h: Likewise.
33234 * iconvdata/cp775.h: Likewise.
33235 * iconvdata/ibm1008.h: Likewise.
33236 * iconvdata/ibm1025.h: Likewise.
33237 * iconvdata/ibm1046.h: Likewise.
33238 * iconvdata/ibm1097.h: Likewise.
33239 * iconvdata/ibm1112.h: Likewise.
33240 * iconvdata/ibm1122.h: Likewise.
33241 * iconvdata/ibm1123.h: Likewise.
33242 * iconvdata/ibm1124.h: Likewise.
33243 * iconvdata/ibm1129.h: Likewise.
33244 * iconvdata/ibm1130.h: Likewise.
33245 * iconvdata/ibm1132.h: Likewise.
33246 * iconvdata/ibm1133.h: Likewise.
33247 * iconvdata/ibm1137.h: Likewise.
33248 * iconvdata/ibm1140.h: Likewise.
33249 * iconvdata/ibm1141.h: Likewise.
33250 * iconvdata/ibm1142.h: Likewise.
33251 * iconvdata/ibm1143.h: Likewise.
33252 * iconvdata/ibm1144.h: Likewise.
33253 * iconvdata/ibm1145.h: Likewise.
33254 * iconvdata/ibm1146.h: Likewise.
33255 * iconvdata/ibm1147.h: Likewise.
33256 * iconvdata/ibm1148.h: Likewise.
33257 * iconvdata/ibm1149.h: Likewise.
33258 * iconvdata/ibm1153.h: Likewise.
33259 * iconvdata/ibm1154.h: Likewise.
33260 * iconvdata/ibm1155.h: Likewise.
33261 * iconvdata/ibm1156.h: Likewise.
33262 * iconvdata/ibm1157.h: Likewise.
33263 * iconvdata/ibm1158.h: Likewise.
33264 * iconvdata/ibm1160.h: Likewise.
33265 * iconvdata/ibm1161.h: Likewise.
33266 * iconvdata/ibm1162.h: Likewise.
33267 * iconvdata/ibm1163.h: Likewise.
33268 * iconvdata/ibm1164.h: Likewise.
33269 * iconvdata/ibm1166.h: Likewise.
33270 * iconvdata/ibm1167.h: Likewise.
33271 * iconvdata/ibm12712.h: Likewise.
33272 * iconvdata/ibm1390.h: Likewise.
33273 * iconvdata/ibm1399.h: Likewise.
33274 * iconvdata/ibm16804.h: Likewise.
33275 * iconvdata/ibm4517.h: Likewise.
33276 * iconvdata/ibm4899.h: Likewise.
33277 * iconvdata/ibm4909.h: Likewise.
33278 * iconvdata/ibm4971.h: Likewise.
33279 * iconvdata/ibm5347.h: Likewise.
33280 * iconvdata/ibm803.h: Likewise.
33281 * iconvdata/ibm856.h: Likewise.
33282 * iconvdata/ibm901.h: Likewise.
33283 * iconvdata/ibm902.h: Likewise.
33284 * iconvdata/ibm9030.h: Likewise.
33285 * iconvdata/ibm9066.h: Likewise.
33286 * iconvdata/ibm921.h: Likewise.
33287 * iconvdata/ibm922.h: Likewise.
33288 * iconvdata/ibm9448.h: Likewise.
33289 * iconvdata/isiri-3342.h: Likewise.
33290 * iconvdata/jis0201.h: Likewise.
33291 * include/link.h: Likewise.
33292 * include/netdb.h: Likewise.
33293 * inet/check_native.c: Likewise.
33294 * inet/check_pf.c: Likewise.
33295 * inet/getipv4sourcefilter.c: Likewise.
33296 * inet/getnameinfo.c: Likewise.
33297 * inet/getsourcefilter.c: Likewise.
33298 * inet/htonl.c: Likewise.
33299 * inet/setipv4sourcefilter.c: Likewise.
33300 * inet/setsourcefilter.c: Likewise.
33301 * inet/test-inet6_opt.c: Likewise.
33302 * inet/tst-network.c: Likewise.
33303 * locale/C-collate.c: Likewise.
33304 * locale/C-ctype.c: Likewise.
33305 * locale/C-time.c: Likewise.
33306 * locale/C-translit.h: Likewise.
33307 * locale/loadarchive.c: Likewise.
33308 * locale/programs/3level.h: Likewise.
33309 * locale/programs/charmap.c: Likewise.
33310 * locale/programs/charmap.h: Likewise.
33311 * locale/programs/ld-address.c: Likewise.
33312 * locale/programs/ld-collate.c: Likewise.
33313 * locale/programs/ld-ctype.c: Likewise.
33314 * locale/programs/ld-identification.c: Likewise.
33315 * locale/programs/ld-measurement.c: Likewise.
33316 * locale/programs/ld-messages.c: Likewise.
33317 * locale/programs/ld-monetary.c: Likewise.
33318 * locale/programs/ld-name.c: Likewise.
33319 * locale/programs/ld-numeric.c: Likewise.
33320 * locale/programs/ld-paper.c: Likewise.
33321 * locale/programs/ld-telephone.c: Likewise.
33322 * locale/programs/ld-time.c: Likewise.
33323 * locale/programs/linereader.c: Likewise.
33324 * locale/programs/locale.c: Likewise.
33325 * locale/programs/locarchive.c: Likewise.
33326 * locale/programs/locfile.h: Likewise.
33327 * locale/programs/repertoire.c: Likewise.
33328 * locale/programs/simple-hash.c: Likewise.
33329 * locale/programs/simple-hash.h: Likewise.
33330 * malloc/memusage.c: Likewise.
33331 * malloc/memusagestat.c: Likewise.
33332 * nis/nis_defaults.c: Likewise.
33333 * nis/nis_hash.c: Likewise.
33334 * nis/nis_print.c: Likewise.
33335 * nis/nis_xdr.c: Likewise.
33336 * nscd/connections.c: Likewise.
33337 * nscd/hstcache.c: Likewise.
33338 * nscd/nscd_gethst_r.c: Likewise.
33339 * nscd/nscd_getserv_r.c: Likewise.
33340 * nscd/nscd_helper.c: Likewise.
33341 * nscd/servicescache.c: Likewise.
33342 * nss/makedb.c: Likewise.
33343 * nss/nss_db/db-XXX.c: Likewise.
33344 * nss/nss_db/db-initgroups.c: Likewise.
33345 * nss/nss_db/db-netgrp.c: Likewise.
33346 * nss/nss_files/files-network.c: Likewise.
33347 * nss/nss_files/files-parse.c: Likewise.
33348 * posix/bug-regex5.c: Likewise.
33349 * posix/fnmatch_loop.c: Likewise.
33350 * posix/regcomp.c: Likewise.
33351 * posix/regexec.c: Likewise.
33352 * posix/tst-rfc3484-2.c: Likewise.
33353 * posix/tst-rfc3484-3.c: Likewise.
33354 * posix/tst-rfc3484.c: Likewise.
33355 * resolv/nss_dns/dns-canon.c: Likewise.
33356 * resolv/nss_dns/dns-network.c: Likewise.
33357 * resolv/res_init.c: Likewise.
33358 * resolv/res_mkquery.c: Likewise.
33359 * resolv/tst-aton.c: Likewise.
33360 * stdlib/cxa_atexit.c: Likewise.
33361 * stdlib/cxa_finalize.c: Likewise.
33362 * stdlib/gen-fpioconst.c: Likewise.
33363 * stdlib/strtol_l.c: Likewise.
33364 * string/tst-endian.c: Likewise.
33365 * sunrpc/auth_des.c: Likewise.
33366 * sunrpc/clnt_udp.c: Likewise.
33367 * sunrpc/rtime.c: Likewise.
33368 * sunrpc/svcauth_des.c: Likewise.
33369 * sunrpc/xdr.c: Likewise.
33370 * sunrpc/xdr_intXX_t.c: Likewise.
33371 * sunrpc/xdr_rec.c: Likewise.
33372 * sysdeps/generic/ldconfig.h: Likewise.
33373 * sysdeps/generic/ldsodefs.h: Likewise.
33374 * sysdeps/generic/memusage.h: Likewise.
33375 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33376 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33377 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33378 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33379 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33380 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33381 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33382 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33383 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33384 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33385 * sysdeps/posix/getaddrinfo.c: Likewise.
33386 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33387 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33388 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33389 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33390 * sysdeps/powerpc/test-gettimebase.c: Likewise.
33391 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33392 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33393 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33394 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33395 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33396 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33397 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33398 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33399 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33400 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33401 * sysdeps/x86_64/dl-tls.h: Likewise.
33402 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33403 * time/alt_digit.c: Likewise.
33404 * time/era.c: Likewise.
33405 * wcsmbs/tst-c16c32-1.c: Likewise.
33407 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33409 * math/libm-test.inc (struct test_sincos_data): New type.
33410 (RUN_TEST_LOOP_sincos): New macro.
33411 (sincos_test_data): New variable.
33412 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33414 2013-05-16 Richard Henderson <rth@redhat.com>
33416 * math/atest-exp2.c (LIMB64): New macro.
33417 (CONSTSZ): New macro.
33418 (mp_exp1, mp_exp_m1, mp_log2): New variables.
33420 (print_mpn_fp): ... to function scope.
33421 (read_mpn_hex): Remove.
33422 (get_log2): Remove.
33423 (exp2_mpn): Use mp_log2.
33424 (main): Use mp_exp1.
33426 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33428 * math/libm-test.inc: Remove comment about not testing "inexact"
33430 (INEXACT_EXCEPTION): New macro.
33431 (NO_INEXACT_EXCEPTION): Likewise.
33432 (INVALID_EXCEPTION_OK): Update value.
33433 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33434 (OVERFLOW_EXCEPTION_OK): Likewise.
33435 (UNDERFLOW_EXCEPTION_OK): Likewise.
33436 (IGNORE_ZERO_INF_SIGN): Likewise.
33437 (ERRNO_UNCHANGED): Likewise.
33438 (ERRNO_EDOM): Likewise.
33439 (ERRNO_ERANGE): Likewise.
33440 (test_exceptions): Handle testing "inexact" exceptions.
33441 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33442 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33443 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33444 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33446 (rint_towardzero_test_data): Likewise.
33447 (rint_downward_test_data): Likewise.
33448 (rint_upward_test_data): Likewise.
33450 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33451 with OVERFLOW_EXCEPTION.
33452 (exp10_test_data): Likewise.
33453 (exp2_test_data): Likewise.
33454 (expm1_test_data): Likewise.
33455 (lgamma_test_data): Likewise.
33456 (pow_test_data): Likewise.
33457 (tgamma_test_data): Likewise.
33458 (yn_test_data): Remove duplicate test of overflow.
33460 * math/libm-test.inc (struct test_cc_c_data): New type.
33461 (RUN_TEST_LOOP_cc_c): New macro.
33462 (cpow_test_data): New variable.
33463 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33465 * math/libm-test.inc (struct test_f_L_data): New type.
33466 (RUN_TEST_LOOP_f_L): New macro.
33467 (llrint_test_data): New variable.
33468 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33469 (llrint_tonearest_test_data): New variable.
33470 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33471 (llrint_towardzero_test_data): New variable.
33472 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33473 (llrint_downward_test_data): New variable.
33474 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33475 (llrint_upward_test_data): New variable.
33476 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33477 (llround_test_data): New variable.
33478 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33480 2013-05-13 Peter Collingbourne <pcc@google.com>
33482 * math/atest-exp2.c (get_log2): Remove const attribute.
33484 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33486 * math/libm-test.inc (struct test_f_l_data): New type.
33487 (RUN_TEST_LOOP_f_l): New macro.
33488 (lrint_test_data): New variable.
33489 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33490 (lrint_tonearest_test_data): New variable.
33491 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33492 (lrint_towardzero_test_data): New variable.
33493 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33494 (lrint_downward_test_data): New variable.
33495 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33496 (lrint_upward_test_data): New variable.
33497 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33498 (lround_test_data): New variable.
33499 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33501 2013-05-15 Peter Collingbourne <pcc@google.com>
33503 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33504 (EXTRACT_WORDS64) Use where appropriate.
33505 (INSERT_WORDS64) Likewise.
33507 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33508 constraints with x constraints.
33509 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33511 * malloc/obstack.c (_obstack_compat): Add initializer.
33513 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
33515 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33516 si_trapno and add si_addr_lsb to _sifields.sigfault.
33517 (si_trapno): Remove macro.
33518 (si_addr_lsb): Define new macro.
33519 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33521 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33523 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33524 instead of TEST_f_l.
33525 (llrint_test_tonearest): Likewise.
33526 (llrint_test_towardzero): Likewise.
33527 (llrint_test_downward): Likewise.
33528 (llrint_test_upward): Likewise.
33529 (llround_test): Likewise.
33531 * math/libm-test.inc (struct test_f_i_data): Add comment.
33532 (RUN_TEST_LOOP_f_b): New macro.
33533 (RUN_TEST_LOOP_f_b_tg): Likewise.
33534 (finite_test_data): New variable.
33535 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33536 (isfinite_test_data): New variable.
33537 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33538 (isinf_test_data): New variable.
33539 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33540 (isnan_test_data): New variable.
33541 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33542 (isnormal_test_data): New variable.
33543 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33544 (issignaling_test_data): New variable.
33545 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33546 (signbit_test_data): New variable.
33547 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33549 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33550 with INVALID_EXCEPTION.
33551 (acosh_test_data): Likewise.
33552 (asin_test_data): Likewise.
33553 (atanh_test_data): Likewise.
33554 (fmod_test_data): Likewise.
33555 (log_test_data): Likewise.
33556 (log10_test_data): Likewise.
33557 (log2_test_data): Likewise.
33558 (pow_test_data): Likewise.
33559 (sqrt_test_data): Likewise.
33560 (y0_test_data): Likewise.
33561 (y1_test_data): Likewise.
33562 (yn_test_data): Likewise.
33564 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33567 * math/libm-test.inc (struct test_ff_i_data): New type.
33568 (RUN_TEST_LOOP_ff_i_tg): New macro.
33569 (isgreater_test_data): New variable.
33570 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33571 (isgreaterequal_test_data): New variable.
33572 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33573 (isless_test_data): New variable.
33574 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33575 (islessequal_test_data): New variable.
33576 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33577 (islessgreater_test_data): New variable.
33578 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33579 (isunordered_test_data): New variable.
33580 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33582 2013-05-14 David S. Miller <davem@davemloft.net>
33584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33586 2013-05-14 Joseph Myers <joseph@codesourcery.com>
33588 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33590 * math/libm-test.inc (struct test_fF_f1_data): Change type of
33592 (struct test_f_i_data): Change type of max_ulp to int.
33594 * math/libm-test.inc (test_ffI_f1_data): New type.
33595 (RUN_TEST_LOOP_ffI_f1): New macro.
33596 (remquo_test_data): New variable.
33597 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33599 * setjmp/tst-setjmp-fp.c: New file.
33600 * setjmp/Makefile (tests): Add tst-setjmp-fp.
33601 (link-libm): New variable.
33602 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33604 * math/libm-test.inc (struct test_f_i_data): New type.
33605 (RUN_TEST_LOOP_f_i): New macro.
33606 (RUN_TEST_LOOP_f_i_tg): Likewise.
33607 (fpclassify_test_data): New variable.
33608 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33609 (ilogb_test_data): New variable.
33610 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33612 * math/libm-test.inc (scalbln_test): Correct function name in END
33615 * math/libm-test.inc (struct test_f_f1_data): Add comment.
33616 (RUN_TEST_LOOP_fI_f1): New macro.
33617 (frexp_test_data): New variable.
33618 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33620 * math/libm-test.inc (struct test_fF_f1_data): New type.
33621 (RUN_TEST_LOOP_fF_f1): New macro.
33622 (modf_test_data): New variable.
33623 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33625 * math/libm-test.inc (struct test_f_f1_data): New type.
33626 (RUN_TEST_LOOP_f_f1): New macro.
33627 (gamma_test_data): New variable.
33628 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33629 (lgamma_test_data): New variable.
33630 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33632 2013-05-13 Carlos O'Donell <carlos@redhat.com>
33634 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33635 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33636 (main): Comment "tls" pseudo-hwcap.
33638 2013-05-13 Joseph Myers <joseph@codesourcery.com>
33640 * math/libm-test.inc (struct test_fl_f_data): New type.
33641 (RUN_TEST_LOOP_fl_f): New variable.
33642 (scalbln_test_data): New variable.
33643 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33645 * math/libm-test.inc (struct test_fi_f_data): New type.
33646 (RUN_TEST_LOOP_fi_f): New macro.
33647 (ldexp_test_data): New variable.
33648 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33649 (scalbn_test_data): New variable.
33650 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33652 * math/libm-test.inc (struct test_c_f_data): New type.
33653 (RUN_TEST_LOOP_c_f): New macro.
33654 (cabs_test_data): New variable.
33655 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33656 (carg_test_data): New variable.
33657 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33658 (cimag_test_data): New variable.
33659 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33660 (creal_test_data): New variable.
33661 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33663 * math/libm-test.inc (struct test_if_f_data): New type.
33664 (RUN_TEST_LOOP_if_f): New macro.
33665 (jn_test_data): New variable.
33666 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33667 (yn_test_data): New variable.
33668 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33670 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33672 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33674 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33675 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33677 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33679 * benchtests/Makefile (CPPFLAGS-nonlib): Add
33680 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33681 (bench-deps): Add bench-timing.h.
33682 * benchtests-bench-skeleton.c: Include bench-timing.h.
33683 (main): Use TIMING_* macros instead of clock_gettime.
33684 * benchtests/bench-timing.h: New file.
33687 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33688 Renamed from _LIB_VERSION.
33689 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33691 2013-05-12 Joseph Myers <joseph@codesourcery.com>
33693 * math/libm-test.inc (struct test_fff_f_data): New type.
33694 (RUN_TEST_LOOP_fff_f): New macro.
33695 (fma_test_data): New variable.
33696 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33697 (fma_towardzero_test_data): New variable.
33698 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33699 (fma_downward_test_data): New variable.
33700 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33701 (fma_upward_test_data): New variable.
33702 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33704 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33705 (struct test_c_c_data): New type.
33706 (RUN_TEST_LOOP_c_c): New macro.
33707 (cacos_test_data): New variable.
33708 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33709 (cacosh_test_data): New variable.
33710 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33711 (casin_test_data): New variable.
33712 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33713 (casinh_test_data): New variable.
33714 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33715 (catan_test_data): New variable.
33716 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33717 (catanh_test_data): New variable.
33718 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33719 (ccos_test_data): New variable.
33720 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33721 (ccosh_test_data): New variable.
33722 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33723 (cexp_test_data): New variable.
33724 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33725 (clog_test_data): New variable.
33726 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33727 (clog10_test_data): New variable.
33728 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33729 (conj_test_data): New variable.
33730 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33731 (cproj_test_data): New variable.
33732 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33733 (csin_test_data): New variable.
33734 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33735 (csinh_test_data): New variable.
33736 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33737 (csqrt_test_data): New variable.
33738 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33739 (ctan_test_data): New variable.
33740 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33741 (ctan_tonearest_test_data): New variable.
33742 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33743 (ctan_towardzero_test_data): New variable.
33744 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33745 (ctan_downward_test_data): New variable.
33746 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33747 (ctan_upward_test_data): New variable.
33748 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33749 (ctanh_test_data): New variable.
33750 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33751 (ctanh_tonearest_test_data): New variable.
33752 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33753 (ctanh_towardzero_test_data): New variable.
33754 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33755 (ctanh_downward_test_data): New variable.
33756 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33757 (ctanh_upward_test_data): New variable.
33758 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33759 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33762 * math/libm-test.inc (struct test_ff_f_data): New type.
33763 (struct test_ff_f_data_nexttoward): Likewise.
33764 (RUN_TEST_LOOP_2_f): New macro.
33765 (RUN_TEST_LOOP_ff_f): Likewise.
33766 (atan2_test_data): New variable.
33767 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33768 (copysign_test_data): New variable.
33769 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33770 (fdim_test_data): New variable.
33771 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33772 (fmax_test_data): New variable.
33773 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33774 (fmin_test_data): New variable.
33775 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33776 (fmod_test_data): New variable.
33777 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33778 (hypot_test_data): New variable.
33779 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33780 (nextafter_test_data): New variable.
33781 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33782 (nexttoward_test_data): New variable.
33783 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33784 (pow_test_data): New variable.
33785 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33786 (pow_tonearest_test_data): New variable.
33787 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33788 (pow_towardzero_test_data): New variable.
33789 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33790 (pow_downward_test_data): New variable.
33791 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33792 (pow_upward_test_data): New variable.
33793 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33794 (remainder_test_data): New variable.
33795 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33796 (scalb_test_data): New variable.
33797 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33798 * sysdeps/i386/fpu/libm-test-ulps: Update.
33800 2013-05-11 Joseph Myers <joseph@codesourcery.com>
33802 * math/libm-test.inc (fma_test): Use max_value instead of local
33804 (nextafter_test): Likewise.
33806 * math/libm-test.inc (acos_towardzero_test_data): New variable.
33807 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33808 (acos_downward_test_data): New variable.
33809 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33810 (acos_upward_test_data): New variable.
33811 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33812 (acosh_test_data): New variable.
33813 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33814 (asin_test_data): New variable.
33815 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33816 (asin_tonearest_test_data): New variable.
33817 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33818 (asin_towardzero_test_data): New variable.
33819 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33820 (asin_downward_test_data): New variable.
33821 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33822 (asin_upward_test_data): New variable.
33823 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33824 (asinh_test_data): New variable.
33825 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33826 (atan_test_data): New variable.
33827 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33828 (atanh_test_data): New variable.
33829 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33830 (cbrt_test_data): New variable.
33831 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33832 (ceil_test_data): New variable.
33833 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33834 (cos_test_data): New variable.
33835 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33836 (cos_tonearest_test_data): New variable.
33837 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33838 (cos_towardzero_test_data): New variable.
33839 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33840 (cos_downward_test_data): New variable.
33841 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33842 (cos_upward_test_data): New variable.
33843 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33844 (cosh_test_data): New variable.
33845 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33846 (cosh_tonearest_test_data): New variable.
33847 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33848 (cosh_towardzero_test_data): New variable.
33849 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33850 (cosh_downward_test_data): New variable.
33851 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33852 (cosh_upward_test_data): New variable.
33853 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33854 (erf_test_data): New variable.
33855 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33856 (erfc_test_data): New variable.
33857 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33858 (exp_test_data): New variable.
33859 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33860 (exp_tonearest_test_data): New variable.
33861 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33862 (exp_towardzero_test_data): New variable.
33863 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33864 (exp_downward_test_data): New variable.
33865 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33866 (exp_upward_test_data): New variable.
33867 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33868 (exp10_test_data): New variable.
33869 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33870 (exp2_test_data): New variable.
33871 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33872 (expm1_test_data): New variable.
33873 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33874 (fabs_test_data): New variable.
33875 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33876 (floor_test_data): New variable.
33877 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33878 (j0_test_data): New variable.
33879 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33880 (j1_test_data): New variable.
33881 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33882 (log_test_data): New variable.
33883 (log_test): Run tests with RUN_TEST_LOOP_f_f.
33884 (log10_test_data): New variable.
33885 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33886 (log1p_test_data): New variable.
33887 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33888 (log2_test_data): New variable.
33889 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33890 (logb_test_data): New variable.
33891 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33892 (logb_downward_test_data): New variable.
33893 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33894 (nearbyint_test_data): New variable.
33895 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33896 (rint_test_data): New variable.
33897 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33898 (rint_tonearest_test_data): New variable.
33899 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33900 (rint_towardzero_test_data): New variable.
33901 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33902 (rint_downward_test_data): New variable.
33903 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33904 (rint_upward_test_data): New variable.
33905 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33906 (round_test_data): New variable.
33907 (round_test): Run tests with RUN_TEST_LOOP_f_f.
33908 (sin_test_data): New variable.
33909 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33910 (sin_tonearest_test_data): New variable.
33911 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33912 (sin_towardzero_test_data): New variable.
33913 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33914 (sin_downward_test_data): New variable.
33915 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33916 (sin_upward_test_data): New variable.
33917 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33918 (sinh_test_data): New variable.
33919 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33920 (sinh_tonearest_test_data): New variable.
33921 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33922 (sinh_towardzero_test_data): New variable.
33923 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33924 (sinh_downward_test_data): New variable.
33925 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33926 (sinh_upward_test_data): New variable.
33927 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33928 (sqrt_test_data): New variable.
33929 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33930 (tan_test_data): New variable.
33931 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33932 (tan_tonearest_test_data): New variable.
33933 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33934 (tan_towardzero_test_data): New variable.
33935 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33936 (tan_downward_test_data): New variable.
33937 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33938 (tan_upward_test_data): New variable.
33939 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33940 (tanh_test_data): New variable.
33941 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33942 (tgamma_test_data): New variable.
33943 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33944 (trunc_test_data): New variable.
33945 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33946 (y0_test_data): New variable.
33947 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33948 (y1_test_data): New variable.
33949 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33950 (significand_test_data): New variable.
33951 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33953 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
33956 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33958 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
33960 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33962 2013-05-10 Andreas Jaeger <aj@suse.de>
33965 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33966 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33968 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33970 * math/gen-libm-test.pl (adjust_arg): New function.
33971 (special_functions): Handle generating output in both functions
33973 (parse_args): Likewise.
33974 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
33975 $in_func argument to parse_args.
33976 * math/libm-test.inc (struct test_f_f_data): New type.
33977 (IF_ROUND_INIT_): New macro.
33978 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33979 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33980 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33981 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33982 (ROUND_RESTORE_): Likewise.
33983 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33984 (ROUND_RESTORE_FE_TONEAREST): Likewise.
33985 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33986 (ROUND_RESTORE_FE_UPWARD): Likewise.
33987 (RUN_TEST_LOOP_f_f): New macro.
33988 (acos_test_data): New variable.
33989 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33990 (acos_tonearest_test_data): New variable.
33991 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33993 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33995 * benchtests/bench-skeleton.c (startup): Fix coding style.
33997 2013-05-10 Joseph Myers <joseph@codesourcery.com>
34000 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
34001 negative infinity argument.
34002 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
34003 negative infinity argument.
34004 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
34005 negative infinity argument.
34006 * math/libm-test.inc (tgamma_test): Expect errno to be set for
34009 2013-05-10 Florian Weimer <fweimer@redhat.com>
34011 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
34012 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
34013 * iconv/iconv_prog.c (main): Likewise.
34014 * locale/programs/charmap-dir.c (charmap_readdir)
34015 (fopen_uncompressed): Likewise.
34016 * locale/programs/locfile.c (siblings_uncached)
34017 (write_locale_data): Use lstat64 instead of lstat.
34018 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
34021 2013-05-10 Andreas Jaeger <aj@suse.de>
34024 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
34026 Include <locale.h>.
34028 2013-05-09 Carlos O'Donell <carlos@redhat.com>
34030 * elf/dl-close.c (_dl_close_worker): Add comments.
34032 2013-05-09 Joseph Myers <joseph@codesourcery.com>
34035 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
34037 (__ieee754_rem_pio2l): Update comments.
34040 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
34042 (__ieee754_rem_pio2l): Update comments.
34044 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
34045 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
34047 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
34050 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
34051 (M_PI_34_LOG10El): Likewise.
34052 (M_PI2_LOG10El): Likewise.
34053 (M_PI4_LOG10El): Likewise.
34054 (M_PI_LOG10El): Likewise.
34056 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34060 2013-05-08 Joseph Myers <joseph@codesourcery.com>
34062 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
34063 (MINUS_ZERO_INIT): Likewise.
34064 (PLUS_INFTY_INIT): Likewise.
34065 (MINUS_INFTY_INIT): Likewise.
34066 (QNAN_VALUE_INIT): Likewise.
34067 (MAX_VALUE_INIT): Likewise.
34068 (MIN_VALUE_INIT): Likewise.
34069 (MIN_SUBNORM_VALUE_INIT): Likewise.
34070 (plus_zero): Initialize with PLUS_ZERO_INIT.
34071 (minus_zero): Initialize with MINUS_ZERO_INIT.
34072 (plus_infty): Initialize with PLUS_INFTY_INIT.
34073 (minus_infty): Initialize with MINUS_INFTY_INIT.
34074 (qnan_value): Initialize with QNAN_VALUE_INIT.
34075 (max_value): Initialize with MAX_VALUE_INIT.
34076 (min_value): Initialize with MIN_VALUE_INIT.
34077 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
34079 * math/libm-test.inc (RUN_TEST_if_f): New macro.
34080 (jn_test): Use TEST_if_f instead of TEST_ff_f.
34081 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
34082 (yn_test): Use TEST_if_f instead of TEST_ff_f.
34084 * math/libm-test.inc (RUN_TEST_f_f): New macro.
34085 (RUN_TEST_2_f): Likewise.
34086 (RUN_TEST_ff_f): Likewise.
34087 (RUN_TEST_fi_f): Likewise.
34088 (RUN_TEST_fl_f): Likewise.
34089 (RUN_TEST_fff_f): Likewise.
34090 (RUN_TEST_c_f): Likewise.
34091 (RUN_TEST_f_f1): Likewise.
34092 (RUN_TEST_fF_f1): Likewise.
34093 (RUN_TEST_fI_f1): Likewise.
34094 (RUN_TEST_ffI_f1): Likewise.
34095 (RUN_TEST_c_c): Likewise.
34096 (RUN_TEST_cc_c): Likewise.
34097 (RUN_TEST_f_i): Likewise.
34098 (RUN_TEST_f_i_tg): Likewise.
34099 (RUN_TEST_ff_i_tg): Likewise.
34100 (RUN_TEST_f_b): Likewise.
34101 (RUN_TEST_f_b_tg): Likewise.
34102 (RUN_TEST_f_l): Likewise.
34103 (RUN_TEST_f_L): Likewise.
34104 (RUN_TEST_sincos): Likewise.
34105 * math/gen-libm-test.pl (new_test): Take new argument to indicate
34106 whether to show exceptions. Do not include ");\n" in return
34108 (special_functions): Output call to RUN_TEST_sincos instead of
34109 check_float calls. Update calls to new_test.
34110 (parse_args): Output call to single RUN_TEST_* macro instead of
34111 check_* calls and other assignments. Update calls to new_test.
34117 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34118 input to result for tgamma overflow.
34119 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34120 (gamma_coeff): New variable.
34121 (NCOEFF): New macro.
34122 (gamma_positive): New function.
34123 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34124 underflow here. Use gamma_positive instead of exp (lgamma) for
34126 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34127 (gamma_coeff): New variable.
34128 (NCOEFF): New macro.
34129 (gammaf_positive): New function.
34130 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34131 underflow here. Use gamma_positive instead of exp (lgamma) for
34133 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34134 (gamma_coeff): New variable.
34135 (NCOEFF): New macro.
34136 (gammal_positive): New function.
34137 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34138 underflow here. Use gamma_positive instead of exp (lgamma) for
34140 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34141 (gamma_coeff): New variable.
34142 (NCOEFF): New macro.
34143 (gammal_positive): New function.
34144 (__ieee754_gammal_r): Handle positive infinity, overflow and
34145 underflow here. Handle NaN the same as positive infinity. Remove
34146 check x < 0xffffffff for negative integers. Use gamma_positive
34147 instead of exp (lgamma) for other arguments.
34148 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34149 (gamma_coeff): New variable.
34150 (NCOEFF): New macro.
34151 (gammal_positive): New function.
34152 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34153 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34154 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34155 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34156 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34157 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34158 * sysdeps/generic/math_private.h (__gamma_productf): New
34160 (__gamma_product): Likewise.
34161 (__gamma_productl): Likewise.
34162 * math/Makefile (libm-calls): Add gamma_product.
34163 * math/libm-test.inc (tgamma_test): Add more tests.
34164 * sysdeps/i386/fpu/libm-test-ulps: Update.
34165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34167 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
34169 * benchtests/bench-skeleton.c (main): Preheat CPU.
34171 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
34173 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34175 2013-05-07 Roland McGrath <roland@hack.frob.com>
34177 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34178 and _dl_skip_args_internal.
34180 2013-05-07 Carlos O'Donell <carlos@redhat.com>
34182 * manual/message.texi (Message Translation): Talk about users.
34183 Message to key mapping impacts design.
34185 2013-05-06 Roland McGrath <roland@hack.frob.com>
34187 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34189 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34191 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34192 * sysdeps/wordsize-64/glob64.c: ... here.
34194 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34195 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34198 * debug/getlogin_r_chk.c: Moved to ...
34199 * login/getlogin_r_chk.c: ... here.
34200 * debug/Makefile (routines): Move getlogin_r_chk to ...
34201 * login/Makefile (routines): ... here.
34202 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34203 * login/Versions (libc: GLIBC_2.4): ... here.
34205 * io/poll.c (__poll): Renamed from poll.
34206 Add libc_hidden_def.
34207 (poll): Define as weak alias.
34209 * debug/ptsname_r_chk.c: Moved to ...
34210 * login/ptsname_r_chk.c: ... here.
34211 * debug/Makefile (routines): Move ptsname_r_chk to ...
34212 * login/Makefile (routines): ... here.
34213 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34214 * login/Versions (libc: GLIBC_2.4): ... here.
34216 * posix/getlogin.c: Moved to ...
34217 * login/getlogin.c: ... here.
34218 * posix/getlogin_r.c: Moved to ...
34219 * login/getlogin_r.c: ... here.
34220 * posix/getlogin_r.c: Moved to ...
34221 * login/getlogin_r.c: ... here.
34222 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34223 * login/Makefile (routines): ... here.
34224 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34225 * login/Versions (libc: GLIBC_2.0): ... here.
34227 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34228 (setrlimit): Define as weak alias.
34230 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34231 Call __ names for open, ftruncate, and close.
34232 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34233 (truncate): Define as weak alias.
34235 2013-05-06 Joseph Myers <joseph@codesourcery.com>
34237 * math/gen-libm-test.pl (parse_args): Initialize x before each
34238 test of frexp, modf and remquo.
34240 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34241 test signgam value.
34243 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34247 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34249 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34251 2013-05-06 Roland McGrath <roland@hack.frob.com>
34253 * elf/dl-writev.h: New file.
34254 * elf/dl-misc.c: Include it.
34255 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34256 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34258 2013-05-04 Joseph Myers <joseph@codesourcery.com>
34260 * math/libm-test.inc (noXFails): Remove variable.
34261 (noXPasses): Likewise.
34262 (BUILD_COMPLEX_INT): Remove macro.
34263 (print_screen): Remove xfail argument.
34264 (print_screen_max_error): Likewise.
34265 (update_stats): Likewise.
34266 (print_max_error): Likewise. Update calls to other affected
34268 (print_complex_max_error): Likewise.
34269 (test_single_exception): Update calls to print_screen.
34270 (test_single_errno): Likewise.
34271 (check_float_internal): Remove xfail argument. Update calls to
34272 other affected functions.
34273 (check_float): Likewise.
34274 (check_complex): Likewise.
34275 (check_int): Likewise.
34276 (check_long): Likewise.
34277 (check_bool): Likewise.
34278 (check_longlong): Likewise.
34279 (main): Don't print noXFails and noXPasses.
34280 * math/gen-libm-test.pl (top level): Don't mention expected
34281 failure handling in comment.
34282 (new_test): Don't handle expected failures.
34283 (parse_args): Don't mention expected failure handling in comment.
34284 (generate_testfile): Don't handle expected failures.
34285 (parse_ulps): Likewise.
34286 (print_ulps_file): Likewise.
34287 (get_failure): Remove function.
34288 (output_test): Don't handle expected failures.
34289 * make/README.libm-test: Don't mention expected failure handling.
34291 * math/libm-test.inc (plus_zero): Make const. Add initializer.
34292 (minus_zero): Likewise.
34293 (plus_infty): Likewise.
34294 (minus_infty): Likewise.
34295 (qnan_value): Likewise.
34296 (max_value): Likewise.
34297 (min_value): Likewise.
34298 (min_subnorm_value): Likewise.
34299 (initialize): Do not initialize those variables dynamically.
34301 2013-05-03 Roland McGrath <roland@hack.frob.com>
34303 * io/open.c (__open_2): Moved to ...
34304 * io/open_2.c: ... this new file.
34305 * io/open64.c (__open64_2): Moved to ...
34306 * io/open64_2.c: ... this new file.
34307 * io/openat.c (__openat_2): Moved to ...
34308 * io/openat_2.c: ... this new file.
34309 * io/openat64.c (__openat64_2): Moved to ...
34310 * io/openat64_2.c: ... this new file.
34311 * io/Makefile (routines): Add them.
34312 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34313 * sysdeps/unix/sysv/linux/open_2.c: File removed.
34314 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34315 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34316 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34317 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34318 (__openat64): Add hidden_ver.
34319 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34320 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34322 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34323 Separately conditionalize setting of GLRO(dl_sysinfo) so
34324 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34325 as well, but the actual setting is only under [NEED_DL_SYSINFO].
34327 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34329 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34330 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34332 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34333 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34334 (_libc_vdso_platform_setup): Add __vdso_time initialization.
34335 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34336 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34338 2013-05-03 Joseph Myers <joseph@codesourcery.com>
34340 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34341 test signgam value.
34343 * math/libm-test.inc (hypot_test): Do not use
34344 IGNORE_ZERO_INF_SIGN.
34346 2013-05-03 Andreas Jaeger <aj@suse.de>
34348 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34350 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34351 (PF_MAX): Adjust for VSOCK change.
34353 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34357 2013-05-02 Carlos O'Donell <carlos@redhat.com>
34360 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34361 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34362 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34364 2013-05-02 David S. Miller <davem@davemloft.net>
34366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34368 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
34370 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34372 2013-05-01 Roland McGrath <roland@hack.frob.com>
34374 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34376 2013-05-01 Richard Smith <richard@metafoo.co.uk>
34379 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34380 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34381 Use __attribute__ ((__gnu_inline__)).
34382 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34383 Don't use __attribute__ ((__gnu_inline__)).
34385 2013-05-01 Joseph Myers <joseph@codesourcery.com>
34388 * math/s_catan.c (__catan): Handle small real or imaginary part of
34389 input specially to avoid spurious underflow.
34390 * math/s_catanf.c (__catanf): Likewise.
34391 * math/s_catanh.c (__catanh): Likewise.
34392 * math/s_catanhf.c (__catanhf): Likewise.
34393 * math/s_catanhl.c (__catanhl): Likewise.
34394 * math/s_catanl.c (__catanl): Likewise.
34395 * math/libm-test.inc (catan_test): Add more tests.
34396 (catanh_test): Likewise.
34397 * sysdeps/i386/fpu/libm-test-ulps: Update.
34398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34400 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34404 2013-04-30 Joseph Myers <joseph@codesourcery.com>
34407 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34408 accurately for denominator in atan2.
34409 * math/s_catanf.c (__catanf): Likewise.
34410 * math/s_catanh.c (__catanh): Likewise.
34411 * math/s_catanhf.c (__catanhf): Likewise.
34412 * math/s_catanhl.c (__catanhl): Likewise.
34413 * math/s_catanl.c (__catanl): Likewise.
34414 * math/libm-test.inc (catan_test): Add more tests.
34415 (catanh_test): Likewise.
34416 * sysdeps/i386/fpu/libm-test-ulps: Update.
34417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34419 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34421 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34423 * benchtests/Makefile (bench): Remove slow benchmarks.
34424 * benchtests/atan-inputs: Add slow benchmark inputs.
34425 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34426 (BENCH_FUNC): Accept variant offset.
34428 * benchtests/bench-skeleton.c (main): Run benchmark for each
34430 * benchtests/cos-inputs: Add slow benchmark inputs.
34431 * benchtests/exp-inputs: Likewise.
34432 * benchtests/pow-inputs: Likewise.
34433 * benchtests/sin-inputs: Likewise.
34434 * benchtests/slowatan-inputs: Remove.
34435 * benchtests/slowatan.c: Remove.
34436 * benchtests/slowcos-inputs: Remove.
34437 * benchtests/slowcos.c: Remove.
34438 * benchtests/slowexp-inputs: Remove.
34439 * benchtests/slowexp.c: Remove.
34440 * benchtests/slowpow-inputs: Remove.
34441 * benchtests/slowpow.c: Remove.
34442 * benchtests/slowsin-inputs: Remove.
34443 * benchtests/slowsin.c: Remove.
34444 * benchtests/slowtan-inputs: Remove.
34445 * benchtests/slowtan.c: Remove.
34446 * benchtests/tan-inputs: Add slow benchmark inputs.
34447 * scripts/bench.pl: Parse comments and directives.
34449 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
34451 ($(objpfx)bench-%.c): Remove *-ITER.
34452 * benchtests/bench-modf.c: Remove definition of ITER.
34453 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34454 (main): Loop for DURATION seconds instead of fixed number of
34456 * scripts/bench.pl: Don't expect iterations in parameters.
34458 2013-04-29 Roland McGrath <roland@hack.frob.com>
34460 * io/fchdir.c (__fchdir): Renamed from fchdir.
34461 (fchdir): Define as weak alias.
34463 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34465 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34466 (ERRNO_EDOM): Likewise.
34467 (ERRNO_ERANGE): Likewise.
34468 (noErrnoTests): New variable.
34469 (init_max_error): Set errno to 0.
34470 (test_single_errno): New function.
34471 (test_errno): Likewise.
34472 (check_float_internal): Call test_errno. Set errno to 0.
34473 (check_complex): Refer to errno tests in comment.
34474 (check_int): Call test_errno. Set errno to 0.
34475 (check_long): Likewise.
34476 (check_bool): Likewise.
34477 (check_longlong): Likewise.
34478 (cos_test): Use ERRNO_* flags for errno tests instead of
34480 (expm1_test): Likewise.
34481 (fmod_test): Likewise.
34482 (ilogb_test): Likewise.
34483 (lgamma_test): Likewise.
34484 (pow_test): Likewise.
34485 (remainder_test): Likewise.
34486 (sin_test): Likewise.
34487 (tan_test): Likewise.
34488 (yn_test): Likewise.
34489 (initialize): Set errno to 0.
34490 (main): Print number of errno tests.
34491 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34493 2013-04-29 Andreas Jaeger <aj@suse.de>
34496 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34500 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34501 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34505 * stdlib/random.c (__initstate): Return NULL if
34509 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34510 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34513 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34517 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34519 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34520 of individual tests.
34521 (casin_test): Likewise.
34522 (casinh_test): Likewise.
34524 2013-04-27 Joseph Myers <joseph@codesourcery.com>
34527 * math/s_catan.c (__catan): Handle arguments with large real or
34528 imaginary part separately without squaring.
34529 * math/s_catanf.c (__catanf): Likewise.
34530 * math/s_catanh.c (__catanh): Likewise.
34531 * math/s_catanhf.c (__catanhf): Likewise.
34532 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34534 (__catanhl): Handle arguments with large real or imaginary part
34535 separately without squaring.
34536 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34538 (__catanl): Handle arguments with large real or imaginary part
34539 separately without squaring.
34540 * math/libm-test.inc (catan_test): Add more tests.
34541 (catanh_test): Likewise.
34542 * sysdeps/i386/fpu/libm-test-ulps: Update.
34543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34545 2013-04-27 Andreas Jaeger <aj@suse.de>
34548 * stdlib/stdlib.h: Update guards for qecvt.
34549 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34552 2013-04-27 Allan McRae <allan@archlinux.org>
34554 * sysdeps/i386/fpu/libm-test-ulps: Update.
34556 2013-04-26 Joseph Myers <joseph@codesourcery.com>
34559 * math/s_catan.c: Include <float.h>.
34560 (__catan): Ensure underflow exception occurs for underflowed
34562 * math/s_catanf.c: Include <float.h>.
34563 (__catanf): Ensure underflow exception occurs for underflowed
34565 * math/s_catanh.c: Include <float.h>.
34566 (__catanh): Ensure underflow exception occurs for underflowed
34568 * math/s_catanhf.c: Include <float.h>.
34569 (__catanhf): Ensure underflow exception occurs for underflowed
34571 * math/s_catanhl.c: Include <float.h>.
34572 (__catanhl): Ensure underflow exception occurs for underflowed
34574 * math/s_catanl.c: Include <float.h>.
34575 (__catanl): Ensure underflow exception occurs for underflowed
34577 * math/libm-test.inc (catan_test): Add more tests.
34578 (catanh_test): Likewise.
34581 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34582 underflowed result.
34583 * math/s_ccoshf.c (__ccoshf): Likewise.
34584 * math/s_ccoshl.c (__ccoshl): Likewise.
34585 * math/s_csin.c (__csin): Likewise.
34586 * math/s_csinf.c (__csinf): Likewise.
34587 * math/s_csinh.c (__csinh): Likewise.
34588 * math/s_csinhf.c (__csinhf): Likewise.
34589 * math/s_csinhl.c (__csinhl): Likewise.
34590 * math/s_csinl.c (__csinl): Likewise.
34591 * math/libm-test.inc (ccos_test): Add more tests.
34592 (ccosh_test): Likewise.
34593 (csin_test): Likewise.
34594 (csinh_test): Likewise.
34596 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34598 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34599 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34600 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34601 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34602 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34603 powerpc/power5+/fpu folders.
34604 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34607 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34611 2013-04-25 Joseph Myers <joseph@codesourcery.com>
34613 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34614 additions to variable.
34615 [$(config-machine) = x86_64] (modules-names): Likewise.
34616 ($(objpfx)tst-audit3): Remove dependency.
34617 ($(objpfx)tst-audit3.out): Likewise.
34618 ($(objpfx)tst-audit4): Likewise.
34619 ($(objpfx)tst-audit4.out): Likewise.
34620 ($(objpfx)tst-audit5): Likewise.
34621 ($(objpfx)tst-audit5.out): Likewise.
34622 ($(objpfx)tst-audit6): Likewise.
34623 ($(objpfx)tst-audit6.out): Likewise.
34624 ($(objpfx)tst-audit7): Likewise.
34625 ($(objpfx)tst-audit7.out): Likewise.
34626 (tst-audit3-ENV): Remove variable.
34627 (tst-audit4-ENV): Likewise.
34628 (tst-audit5-ENV): Likewise.
34629 (tst-audit6-ENV): Likewise.
34630 (tst-audit7-ENV): Likewise.
34631 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34632 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34633 addition to variable.
34634 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34635 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34636 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34637 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34638 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34639 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34640 tst-audit3, tst-audit4 and tst-audit5.
34641 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34642 tst-audit6 and tst-audit7.
34643 [$(subdir) = elf] (modules-names): Add audit modules for those
34645 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34646 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34647 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34648 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34649 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34650 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34651 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34652 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34653 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34654 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34655 [$(subdir) = elf] (tst-audit3-ENV): New variable.
34656 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34657 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34658 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34659 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34660 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34662 [$(subdir) = elf && $(config-cflags-avx) = yes]
34663 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34664 [$(subdir) = elf && $(config-cflags-avx) = yes]
34665 (CFLAGS-tst-auditmod4a.c): Likewise.
34666 [$(subdir) = elf && $(config-cflags-avx) = yes]
34667 (CFLAGS-tst-auditmod4b.c): Likewise.
34668 [$(subdir) = elf && $(config-cflags-avx) = yes]
34669 (CFLAGS-tst-auditmod6b.c): Likewise.
34670 [$(subdir) = elf && $(config-cflags-avx) = yes]
34671 (CFLAGS-tst-auditmod6c.c): Likewise.
34672 [$(subdir) = elf && $(config-cflags-avx) = yes]
34673 (CFLAGS-tst-auditmod7b.c): Likewise.
34674 * elf/tst-audit3.c: Move to ...
34675 * sysdeps/x86_64/tst-audit3.c: ... here.
34676 * elf/tst-audit4.c: Move to ...
34677 * sysdeps/x86_64/tst-audit4.c: ... here.
34678 * elf/tst-audit5.c: Move to ...
34679 * sysdeps/x86_64/tst-audit5.c: ... here.
34680 * elf/tst-audit6.c: Move to ...
34681 * sysdeps/x86_64/tst-audit6.c: ... here.
34682 * elf/tst-audit7.c: Move to ...
34683 * sysdeps/x86_64/tst-audit7.c: ... here.
34684 * elf/tst-auditmod3a.c: Move to ...
34685 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34686 * elf/tst-auditmod3b.c: Move to ...
34687 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34688 * elf/tst-auditmod4a.c: Move to ...
34689 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34690 * elf/tst-auditmod4b.c: Move to ...
34691 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34692 * elf/tst-auditmod5a.c: Move to ...
34693 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34694 * elf/tst-auditmod5b.c: Move to ...
34695 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34696 * elf/tst-auditmod6a.c: Move to ...
34697 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34698 * elf/tst-auditmod6b.c: Move to ...
34699 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34700 * elf/tst-auditmod6c.c: Move to ...
34701 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34702 * elf/tst-auditmod7a.c: Move to ...
34703 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34704 * elf/tst-auditmod7b.c: Move to ...
34705 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34707 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
34710 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34711 define unconditionally.
34712 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34713 define unconditionally.
34714 (INT8_C, INT16_C, etc.): Likewise.
34716 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
34718 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34719 __ehdr_start with hidden visibility.
34721 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34723 2013-04-24 Carlos O'Donell <carlos@redhat.com>
34725 * math/libm-test.inc (cos_test): Use accurate hex constants.
34726 (sincost_test): Likewise.
34728 2013-04-24 Joseph Myers <joseph@codesourcery.com>
34730 * math/libm-test.inc (catan_test): Add more tests.
34731 (catanh_test): Likewise.
34733 * math/s_catanf.c (__catanf): Use suffixed floating-point
34735 * math/s_catanhf.c (__catanhf): Likewise.
34736 * math/s_catanhl.c (__catanhl): Likewise.
34737 * math/s_catanl.c (__catanl): Likewise.
34740 * math/s_catan.c (__catan): Calculate imaginary part of result
34741 with log1p not log unless computing log of number close to 0.
34742 * math/s_catanf.c (__catanf): Likewise.
34743 * math/s_catanl.c (__catanl): Likewise.
34744 * math/s_catanh.c (__catanh): Calculate real part of result with
34745 log1p not log unless computing log of number close to 0.
34746 * math/s_catanhf.c (__catanhf): Likewise.
34747 * math/s_catanhl.c (__catanhl): Likewise.
34748 * math/libm-test.inc (catan_test): Add more tests.
34749 (catanh_test): Likewise.
34750 * sysdeps/i386/fpu/libm-test-ulps: Update.
34751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34753 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34755 * benchtests/Makefile: Mention files in which fast and slow
34756 paths of math functions are implemented.
34758 2013-04-23 Roland McGrath <roland@hack.frob.com>
34760 * sysdeps/posix/timespec_get.c: New file.
34762 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34764 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34766 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34768 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34769 powerpc/power5/fpu folders.
34770 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34771 * benchtests/Makefile: Add modf testcase.
34772 * benchtests/bench-modf.c: New file: Benchmark test for mo
34774 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34777 * time/Makefile (tests): Add tst-strptime-whitespace.
34778 * time/strptime_l.c (get_number): Use ISSPACE.
34779 (__strptime_internal): Likewise.
34780 * time/tst-strptime-whitespace.c: New test case.
34782 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
34784 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34786 (_nss_files_init): Set it here.
34788 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
34790 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34791 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34794 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
34796 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34798 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34800 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34803 2013-04-21 David S. Miller <davem@davemloft.net>
34805 * po/ru.po: Update Russion translation from translation project.
34807 2013-04-17 Adam Conrad <adconrad@0c3.net>
34809 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34812 2013-04-17 Carlos O'Donell <carlos@redhat.com>
34814 * configure.in: Remove i386 configure warning. Remove i386 case.
34815 * configure: Regenerate.
34816 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34817 Add example to error message.
34818 * sysdeps/i386/configure: Regenerate.
34820 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34822 * benchtests/Makefile (bench): Add cos, tan, slowcos and
34824 * benchtests/cos-inputs: New file.
34825 * benchtests/slowcos-inputs: New file.
34826 * benchtests/slowcos.c: New file.
34827 * benchtests/slowtan-inputs: New file.
34828 * benchtests/slowtan.c: New file.
34829 * benchtests/tan-inputs: New file.
34831 2013-04-16 Roland McGrath <roland@hack.frob.com>
34833 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34836 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34838 * benchtests/Makefile: Include cppflags-iterator.mk to add
34839 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34841 * Makefile.in (bench-clean): New target.
34842 * benchtests/Makefile (bench-clean): Likewise.
34844 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
34846 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34848 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
34850 * stdio-common/tstdiomisc.c: Fix coding-style violation.
34852 2013-04-15 Andreas Schwab <schwab@suse.de>
34854 * nscd/grpcache.c (cache_addgr): Properly check for short write.
34855 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34856 * nscd/pwdcache.c (cache_addpw): Likewise.
34857 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
34860 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34862 * benchtests/Makefile (bench): Write all output to
34863 bench-out.tmp together.
34865 2013-04-15 Andreas Schwab <schwab@suse.de>
34867 * nscd/nscd.c (main): Don't fork again after closing files.
34869 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34871 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34873 * benchtests/Rules (bench-deps): Collect dependencies into a
34874 single variable. Add Makefile to dependencies.
34875 ($(objpfx)bench-%.c): Depend on bench-deps.
34877 2013-04-12 Roland McGrath <roland@hack.frob.com>
34878 Xavier Roche <roche+kml2@exalead.com>
34881 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34882 just that it's a file descriptor.
34883 * manual/llio.texi (Synchronizing AIO Operations): Update description
34884 for EBADF error from aio_fsync.
34886 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34888 * Rules (bench): Move target definition...
34889 * benchtests/Makefile: ... here.
34891 2013-04-11 Carlos O'Donell <carlos@redhat.com>
34893 * math/libm-test.inc (cos_test): Fix PI/2 test.
34894 (sincos_test): Likewise.
34895 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34896 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34898 2013-04-11 Andreas Schwab <schwab@suse.de>
34901 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34902 accept exponent character only when digits were seen.
34903 * stdio-common/Makefile (tests): Add bug26.
34904 * stdio-common/bug26.c: New file.
34907 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34910 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34912 * Makeconfig (rtld-prefix): Define built linker prefix.
34913 * Rules (run-bench): Use it.
34914 * math/Makefile (run-regen-ulps): Likewise.
34916 * Rules (bench): Remove eval.
34918 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34919 Roland McGrath <roland@hack.frob.com>
34920 Ondrej Bilka <neleai@seznam.cz>
34923 * time/getdate.c: Include ctype.h and alloca.h.
34924 (__getdate_r): Trim leading and trailing spaces of input.
34925 * time/tst-getdate.c (tests): Add tests with leading and
34928 2013-04-08 Roland McGrath <roland@hack.frob.com>
34931 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34932 when computing value.
34934 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34936 * math/README.libm-test (How can I generate "libm-test-ulps"?):
34937 Use testrun.sh to run libm tests.
34940 * elf/dl-open.c (dl_open_worker): memset all of seen array.
34942 2013-04-06 Marko Myllynen <myllynen@redhat.com>
34945 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34947 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34949 * Makefile.in (regen-ulps): New target.
34950 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34951 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34952 [ifneq (no,$(PERL)] (regen-ulps): New target.
34953 [ifeq (no,$(PERL)] (regen-ulps): New target.
34954 * math/libm-test.inc (ulps_file_name): Define.
34955 (output_dir): New variable.
34956 (options): Add "output-dir" option.
34957 (parse_opt): Handle 'o' case.
34958 (main): If output_dir is non-NULL use it as a prefix
34960 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34962 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34964 [BZ #10060, #10062]
34965 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34966 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34967 fail configure if __sync_val_compare_and_swap is not inlined.
34968 * sysdeps/i386/configure: Regenerate.
34969 * configure.in: Build for i686 when configured for i386.
34970 * configure: Regenerate.
34971 * README: Remove i386 reference.
34973 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34975 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34976 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34978 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
34980 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34981 (lmsnanval): New variables.
34982 (F): Add conversion tests.
34983 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34984 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34986 * stdio-common/tstdiomisc.c (F): Properly collect individual
34989 [BZ #14686, #15336]
34990 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34991 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34992 Instead, use input NaN values or generate a qNaN by arithmetic
34993 operation. Also fix bugs to comply with the standard.
34994 * math/libm-test.inc (remainder_test): Add more tests.
34996 [BZ #15335, #15342]
34997 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34998 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34999 input NaN values or generate a qNaN by arithmetic operation.
35001 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
35004 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
35007 2013-04-03 Joseph Myers <joseph@codesourcery.com>
35010 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
35011 underflowed result.
35012 * math/s_cexpf.c (__cexpf): Likewise.
35013 * math/s_cexpl.c (__cexpl): Likewise.
35014 * math/libm-test.inc (cexp_test): Add more tests.
35016 2013-04-03 Andreas Schwab <schwab@suse.de>
35019 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
35020 order arrays from heap if bigger than alloca cutoff.
35022 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
35024 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
35025 (SNAN_TESTS_double): Refer to GCC PR56831.
35026 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
35029 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
35031 * Rules (bench): Move bench.out after the run is complete.
35033 * Rules (bench): Echo currently running benchmark.
35035 * benchtests/Makefile (bench): Add atan and slowatan.
35036 * benchtests/atan-inputs: New file.
35037 * benchtests/slowatan-inputs: New file.
35038 * benchtests/slowatan.c: New file.
35040 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
35041 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
35045 * sysdeps/unix/sysv/linux/kernel-features.h
35046 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
35047 __ASSUME_XFS_RESTRICTED_CHOWN.
35048 * sysdeps/unix/sysv/linux/pathconf.c
35049 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35050 Save and restore errno.
35052 2013-04-02 Joseph Myers <joseph@codesourcery.com>
35055 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
35056 arguments using __kernel_casinh.
35057 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
35058 arguments using __kernel_casinhf.
35059 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
35060 arguments using __kernel_casinhl.
35061 * math/libm-test.inc (cacosh_test): Add more tests.
35062 * sysdeps/i386/fpu/libm-test-ulps: Update.
35063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35065 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35067 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
35068 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
35070 * bench/Makefile (bench): Add sin and slowsin.
35071 * benchtests/sin-inputs: New file.
35072 * benchtests/slowsin-inputs: New file.
35073 * benchtests/slowsin.c: New file.
35075 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
35076 (bench): Add slowexp and slowpow.
35077 (exp-ITER): Increase iterations.
35078 (pow-ITER): Likewise.
35079 * benchtests/exp-inputs: Change input.
35080 * benchtests/pow-inputs: Likewise.
35081 * benchtests/slowexp-inputs: New file.
35082 * benchtests/slowexp.c: New file.
35083 * benchtests/slowpow-inputs: New file.
35084 * benchtests/slowpow.c: New file.
35086 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35088 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
35090 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35091 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
35092 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35093 * benchtests/Makefile: Add rint benchtest.
35094 * benchtests/rint-inputs: Input for rint benchtest.
35096 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
35098 * Versions.def (libm): Add GLIBC_2.18.
35099 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35100 hidden libm prototypes.
35101 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35102 * math/Makefile (libm-calls): Add s_issignaling.
35103 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35104 __issignalingf, __issignalingl. Adjust all libm.abilist files.
35105 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35107 * math/math.h [__USE_GNU] (issignaling): New macro.
35108 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35109 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35110 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35111 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35112 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35113 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35114 * manual/arith.texi (issignaling): New section.
35115 * manual/libm-err-tab.pl (@all_functions): Update comment.
35116 * math/gen-libm-test.pl (parse_args): Apply special handling for
35118 * math/libm-test.inc (print_float, issignaling_test): New
35120 (check_float_internal): Add issignaling checks.
35121 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35122 default definition.
35123 * sysdeps/powerpc/math-tests.h: New file.
35124 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35126 * math/test-snan.c (TEST_FUNC): Likewise.
35128 2013-03-30 David S. Miller <davem@davemloft.net>
35130 * po/de.po: Update from translation team.
35132 2013-03-30 Joseph Myers <joseph@codesourcery.com>
35135 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35136 imaginary part less than 1.0 and real part less than 0.5
35138 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35139 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35140 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35141 (cacos_test): Add more tests.
35142 (casin_test): Likewise.
35143 (casinh_test): Likewise.
35144 * sysdeps/i386/fpu/libm-test-ulps: Update.
35145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35147 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35149 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35150 ONE with its value.
35152 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35153 (__pow_mp): Replace ONE and MONE with their values.
35154 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35155 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35156 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35157 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35158 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35159 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35161 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35163 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35164 (__pow_mp): Replace ZERO and MZERO with their values.
35165 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35166 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35167 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35168 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35169 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35170 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35173 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35175 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35177 2013-03-28 Roland McGrath <roland@hack.frob.com>
35179 * include/stdlib.h [!SHARED] (__call_tls_dtors):
35180 Declare with __attribute__ ((weak)).
35181 * stdlib/exit.c (__libc_atexit) [!SHARED]:
35182 Call __call_tls_dtors only if it's not NULL.
35184 2013-03-28 Roland McGrath <roland@hack.frob.com>
35186 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35187 didn't do it already, then set _dl_phdr and _dl_phnum based on the
35188 magic __ehdr_start linker symbol if it's defined.
35189 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35190 them up here if it was already done.
35192 * elf/dl-support.c (_dl_phdr): Make pointer to const.
35193 (_dl_aux_init): Use const in cast when setting it.
35194 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35195 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35196 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35198 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35200 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35201 * csu/libc-tls.c: Nor here.
35202 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35204 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35205 (__libc_message): Never call vsyslog.
35207 2013-03-28 Alan Modra <amodra@gmail.com>
35209 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35211 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35214 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35217 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35221 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35224 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35225 Don't add gid passed as argument.
35227 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35229 2013-03-27 Joseph Myers <joseph@codesourcery.com>
35232 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35233 imaginary part between 1.0 and 1.5 and real part less than 0.5
35235 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35236 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35237 * math/libm-test.inc (cacos_test): Add more tests.
35238 (casin_test): Likewise.
35239 (casinh_test): Likewise.
35240 * sysdeps/i386/fpu/libm-test-ulps: Update.
35241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35243 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35245 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35248 (denorm): Likewise.
35249 (__dbl_mp): Likewise.
35250 (add_magnitudes): Likewise.
35251 (sub_magnitudes): Likewise.
35259 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35261 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35262 (__dubcos): Likewise.
35263 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35264 (__ieee754_acos): Likewise.
35265 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35266 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35267 (__exp1): Likewise.
35268 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35269 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35271 (my_log2): Likewise.
35272 (checkint): Likewise.
35273 * sysdeps/ieee754/dbl-64/e_remainder.c
35274 (__ieee754_remainder): Likewise.
35275 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35276 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35277 (bsloww): Likewise.
35278 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35280 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35281 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35282 MANTISSA_STORE_T to store computations on mantissa. Use
35283 macros for rounding and division.
35284 (denorm): Likewise.
35285 (__dbl_mp): Likewise.
35286 (add_magnitudes): Likewise.
35287 (sub_magnitudes): Likewise.
35290 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35291 powers of two in terms of TWOPOW macro.
35292 (mp_no): Make type of mantissa as MANTISSA_T.
35293 [!RADIXI]: Define RADIXI.
35294 [!TWO52]: Define TWO52.
35295 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35297 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35299 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35300 llroundl symbol when building for PPC32.
35302 2013-03-24 Mark H Weaver <mhw@netris.org>
35304 * manual/arith.texi (Normalization Functions): Fix prototypes for
35305 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35307 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35310 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35311 high value to check if expl overflow.
35312 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35313 to check for underflow and overflow.
35314 * math/libm-test.inc: Add exp test.
35316 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
35319 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35322 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35324 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35327 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
35329 * math/gen-libm-test.pl (parse_args, special_functions): Properly
35330 wrap blocks consisting of several statements.
35332 * sysdeps/generic/math-tests.h: New file.
35333 * sysdeps/i386/fpu/math-tests.h: Likewise.
35334 * math/test-snan.c: Include it.
35335 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35337 2013-03-21 Joseph Myers <joseph@codesourcery.com>
35340 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35341 (__ieee754_j0l): Do not improve calculations using cos of twice
35342 input for inputs above LDBL_MAX / 2.0L.
35343 (__ieee754_y0l): Likewise.
35344 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35345 (__ieee754_j1l): Do not improve calculations using cos of twice
35346 input for inputs above LDBL_MAX / 2.0L.
35347 (__ieee754_y1l): Likewise.
35348 * math/libm-test.inc (j0_test): Add another test.
35349 (j1_test): Likewise.
35350 (y0_test): Likewise.
35351 (y1_test): Likewise.
35352 * sysdeps/i386/fpu/libm-test-ulps: Update.
35354 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35356 * Rules ($(objpfx)bench-%.c): Include code from a C source
35359 2013-03-21 Joseph Myers <joseph@codesourcery.com>
35362 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35363 imaginary part 1.0 and real part less than 0.5 specially.
35364 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35365 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35366 * math/libm-test.inc (cacos_test): Add more tests.
35367 (casin_test): Likewise.
35368 (casinh_test): Likewise.
35369 * sysdeps/i386/fpu/libm-test-ulps: Update.
35370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35372 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35374 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35375 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35377 2013-03-20 Joseph Myers <joseph@codesourcery.com>
35379 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35380 * config.make.in (config-cflags-sse4): Remove variable.
35381 (config-cflags-avx): Likewise.
35382 (config-cflags-sse2avx): Likewise.
35383 (config-cflags-novzeroupper): Likewise.
35384 (config-asflags-i686): Likewise.
35385 (have-mfma4): Likewise.
35386 (have-as-vis3): Likewise.
35388 * configure.in (MIG): Do not AC_SUBST.
35389 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35390 (libc_cv_cc_sse4): Do not AC_SUBST.
35391 (libc_cv_cc_avx): Likewise.
35392 (libc_cv_cc_sse2avx): Likewise.
35393 (libc_cv_cc_novzeroupper): Likewise.
35394 (libc_cv_cc_fma4): Likewise.
35395 (libc_cv_as_i686): Likewise.
35396 (libc_cv_sparc_as_vis3): Likewise.
35397 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35399 (config-asflags-i686): Likewise.
35400 (config-cflags-avx): Likewise.
35401 (config-cflags-sse2avx): Likewise.
35402 (have-mfma4): Likewise.
35403 (config-cflags-novzeroupper): Likewise.
35404 * sysdeps/mach/configure.in (MIG): Likewise.
35405 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35406 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35408 (config-cflags-avx): Likewise.
35409 (config-cflags-sse2avx): Likewise.
35410 (have-mfma4): Likewise.
35411 (config-cflags-novzeroupper): Likewise.
35412 * configure: Regenerated.
35413 * sysdeps/i386/configure: Likewise.
35414 * sysdeps/mach/configure: Likewise.
35415 * sysdeps/sparc/configure: Likewise.
35416 * sysdeps/x86_64/configure: Likewise.
35418 2013-03-20 Roland McGrath <roland@hack.frob.com>
35421 * locale/programs/localedef.c (options): Put N_ translation marker
35422 on argument names, not just descriptions.
35424 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35426 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35428 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
35431 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35433 2013-03-19 Roland McGrath <roland@hack.frob.com>
35435 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35436 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35437 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35438 [!BEFORE_ABORT] (before_abort): New function.
35439 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35440 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35441 (writev_for_fatal): New function.
35442 (WRITEV_FOR_FATAL): New macro; call that.
35443 (backtrace_and_maps): New function.
35444 (BEFORE_ABORT): New macro; call that.
35445 (struct str_list): Type removed.
35446 (__libc_message, __libc_fatal): Functions removed.
35447 Include <sysdeps/posix/libc_fatal.c> instead.
35449 2013-03-19 Joseph Myers <joseph@codesourcery.com>
35451 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35453 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35456 2013-03-19 Andreas Schwab <schwab@suse.de>
35458 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35459 * sysdeps/gnu/configure: Regenerate.
35461 * configure.in: Substitute libc_cv_rtlddir.
35462 * configure: Regenerate.
35463 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35464 * Makeconfig (rtlddir, inst_rtlddir): New variables.
35465 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35466 * elf/Makefile (install-others, CFLAGS-interp.c)
35467 (ldso_install, common-ldd-rewrite): Likewise.
35468 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35469 $(inst_slibdir)/$(rtld-installed-name).
35470 * scripts/rellns-sh: Add -p option.
35471 * Makerules (make-shlib-link): Use rellns-sh to get relative name
35474 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35476 * manual/nptl.texi: Renamed to ...
35477 * manual/threads.texi: ... this.
35478 * manual/Makefile (chapters): Update.
35480 2013-03-18 Roland McGrath <roland@hack.frob.com>
35483 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35484 on argument names, not just descriptions.
35485 * malloc/memusagestat.c (options): Likewise.
35486 * nss/getent.c (options): Likewise.
35488 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
35491 * iconv/iconv_prog.c (options): Put N_ translation marker
35492 on argument names, not just descriptions.
35493 * iconv/iconvconfig.c (options): Likewise.
35495 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
35497 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35498 implementation which is faster on all x86_64 architectures.
35499 Tested on AMD, Intel Nehalem, SNB, IVB.
35500 * sysdeps/x86_64/strnlen.S: Likewise.
35502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35503 Remove all multiarch strlen and strnlen versions.
35504 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35505 Remove strlen and strnlen related parts.
35507 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35508 Inline strlen part.
35509 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35511 * sysdeps/x86_64/multiarch/strlen.S: Remove.
35512 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35513 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35514 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35515 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35516 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35518 2013-03-17 Carlos O'Donell <carlos@redhat.com>
35520 * manual/memory.texi (Malloc Tunable Parameters):
35521 Sort parameters alphabetically. Add comments for missing entries.
35523 2013-03-17 David S. Miller <davem@davemloft.net>
35525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35527 2013-03-16 Joseph Myers <joseph@codesourcery.com>
35530 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35531 for arguments at most half maximum finite value.
35532 * math/libm-test.inc (j0_test): Add more tests.
35533 (j1_test): Likewise.
35534 (y0_test): Likewise.
35535 (y1_test): Likewise.
35536 * sysdeps/i386/fpu/libm-test-ulps: Update.
35537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35540 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35541 1 / x and functions P and Q for arguments above 0x1p256L.
35542 (__ieee754_y0l): Likewise.
35543 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35544 (__ieee754_y1l): Likewise.
35545 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35546 (j1_test): Likewise.
35547 (y0_test): Likewise.
35548 (y1_test): Likewise.
35550 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
35552 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35555 2013-03-15 Roland McGrath <roland@hack.frob.com>
35557 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35558 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35559 zero since it's initialized to EXEC_PAGESIZE.
35561 * sysdeps/unix/sysv/linux/ldsodefs.h
35562 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35563 * sysdeps/generic/ldsodefs.h: ... here.
35565 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
35567 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35569 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35571 * math/test-snan.c: Renamed from
35572 sysdeps/powerpc/fpu/test-powerpc-snan.c.
35573 * math/Makefile (tests): Add test-snan.
35574 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35577 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35578 SUFFIX. Initialize qNaN_var with __builtin_nan family of
35580 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
35581 __builtin_nan family of functions.
35582 * math/libm-test.inc (initialize): Initialize qnan_value with
35583 __builtin_nan family of functions.
35584 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35586 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35588 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
35589 storage class. Initialize qNaN_var and sNaN_var with
35590 __builtin_nan and __builtin_nans families of functions,
35593 * math/libm-test.inc (acosh_test): Also test with qNaN input.
35594 (sqrt_test): Remove duplicate test with qNaN input.
35595 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35596 (round_test, signbit_test, significand_test): Note missing +/-Inf
35597 as well as qNaN tests.
35599 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35600 qNaN_var. Fix a few strings, too.
35601 * math/libm-test.inc (nan_value): Rename to qnan_value.
35602 * math/gen-libm-test.pl (%beautify): Adjust to that.
35603 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35604 * math/test-misc.c (main): Likewise.
35605 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35606 to __qnan_bytes, and __qnan_union, respectively.
35607 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35609 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35610 and lqnanval, respectively.
35611 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35612 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35613 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35614 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35616 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35617 * math/test-misc.c (main) [__x86_64__]: Enable test for long
35620 * math/test-misc.c (main): Fix copy'n'pastos.
35621 * misc/tst-efgcvt.c (special): Likewise.
35623 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35624 Remove declarations.
35626 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35628 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35629 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35630 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35631 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35633 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35635 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35636 macro to return vdso values correctly in IFUNC implementations.
35637 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35638 Optimization by using IFUNC.
35640 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35641 Richard Henderson <rth@redhat.com>
35642 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35644 * Makefile.in (bench): New target.
35645 * NEWS: Mention the benchmark framework.
35646 * Rules (bench): Likewise.
35647 (binaries-bench): Generate binaries for functions to
35649 * benchtests/Makefile: New makefile for benchmark tests.
35650 * benchtests/bench-skeleton.c: New skeleton file for benchmark
35652 * benchtests/exp-inputs: New input file for EXP function.
35653 * benchtests/pow-inputs: New input file for POW function.
35654 * scripts/bench.pl: New script to generate source files for
35655 benchmark programs.
35657 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35659 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35660 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35661 computations on mantissa. Use macros for rounding and
35663 (denorm): Likewise.
35664 (__dbl_mp): Likewise.
35665 (add_magnitudes): Likewise.
35666 (sub_magnitudes): Likewise.
35669 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35670 powers of two in terms of TWOPOW macro.
35671 (mp_no): Make type of mantissa as MANTISSA_T.
35672 [!RADIXI]: Define RADIXI.
35673 [!TWO52]: Define TWO52.
35674 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35676 * manual/nptl.texi (cindex): Modify threads to pthreads.
35678 2013-03-15 Joseph Myers <joseph@codesourcery.com>
35680 * sysdeps/x86_64/preconfigure: Regenerated.
35682 2013-03-14 Joseph Myers <joseph@codesourcery.com>
35685 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35687 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35688 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35690 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35691 * math/libm-test.inc (j0_test): Do not allow one spurious
35692 underflow exception.
35693 (y1_test): Likewise.
35695 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35697 * manual/Makefile (chapters): Add nptl.
35698 * manual/debug.texi (Debugging Support): Add link to Threads
35700 * manual/nptl.texi: New file.
35702 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35704 2013-03-14 Petr Baudis <pasky@ucw.cz>
35706 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35707 for non-NULL pointer before the memory validity test. Pointed
35708 out by Holger Brunck <holger.brunck@keymile.com>.
35710 2013-03-13 Andreas Schwab <schwab@suse.de>
35712 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35715 2013-03-13 Joseph Myers <joseph@codesourcery.com>
35717 * timezone/zic.c: Update from tzcode 2013b.
35719 2013-03-12 Carlos O'Donell <carlos@redhat.com>
35721 * manual/install.texi (Configuring and compiling):
35722 Mention i686 and i586.
35723 * INSTALL: Regenerate.
35725 2013-03-12 Roland McGrath <roland@hack.frob.com>
35727 * sysdeps/init_array/elf-init.c: New file.
35729 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35730 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35732 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35733 __gmon_start__ as global, but as static with a .preinit_array pointer.
35734 * sysdeps/init_array/gmon-start.c: New file. Use that.
35735 * sysdeps/init_array/crti.S: New file, empty except for comments.
35736 * sysdeps/init_array/crtn.S: Likewise.
35738 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
35740 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35743 Remove Prefer_SSE_for_memop.
35744 * sysdeps/x86_64/multiarch/init-arch.h: Remove
35745 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35746 HAS_PREFER_SSE_FOR_MEMOP.
35747 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35749 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35750 Remove bzero, memset ifunc support.
35751 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35752 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35753 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35754 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35756 2013-03-11 Andreas Schwab <schwab@suse.de>
35759 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35762 (GLIBC_2.16): Remove pthread_atfork.
35764 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
35766 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35767 (ptestcases.h): Likewise.
35769 2013-03-08 Roland McGrath <roland@hack.frob.com>
35771 * Makeconfig ($(common-objpfx)config.status): Depend on
35772 sysdeps/*/preconfigure{,.in} too.
35774 2013-03-08 Joseph Myers <joseph@codesourcery.com>
35776 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35777 (__free_hook): Use void * instead of __malloc_ptr_t.
35778 (__malloc_hook): Likewise.
35779 (__realloc_hook): Likewise.
35780 (__memalign_hook): Likewise.
35781 (__after_morecore_hook): Likewise.
35782 * malloc/arena.c (save_malloc_hook): Likewise.
35783 (save_free_hook): Likewise.
35784 * malloc/hooks.c (malloc_hook_ini): Likewise.
35785 (realloc_hook_ini): Likewise.
35786 (memalign_hook_ini): Likewise.
35787 * malloc/malloc.c (malloc_hook_ini): Likewise.
35788 (realloc_hook_ini): Likewise.
35789 (memalign_hook_ini): Likewise.
35790 (__free_hook): Likewise.
35791 (__malloc_hook): Likewise.
35792 (__realloc_hook): Likewise.
35793 (__memalign_hook): Likewise.
35794 (__libc_malloc): Likewise.
35795 (__libc_free): Likewise.
35796 (__libc_realloc): Likewise.
35797 (__libc_memalign): Likewise.
35798 (__libc_valloc): Likewise.
35799 (__libc_pvalloc): Likewise.
35800 (__libc_calloc): Likewise.
35801 (__posix_memalign): Likewise.
35802 * malloc/morecore.c (__sbrk): Likewise.
35803 (__default_morecore): Likewise.
35805 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35807 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35808 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35809 __malloc_ptrdiff_t.
35811 * malloc/malloc.h (__malloc_size_t): Remove macro.
35812 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35814 (old_memalign_hook): Likewise.
35815 (old_realloc_hook): Likewise.
35816 (struct hdr): Likewise.
35818 (mallochook): Likewise.
35819 (memalignhook): Likewise.
35820 (reallochook): Likewise.
35821 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35822 (tr_old_realloc_hook): Likewise.
35823 (tr_old_memalign_hook): Likewise.
35824 (tr_mallochook): Likewise.
35825 (tr_reallochook): Likewise.
35826 (tr_memalignhook): Likewise.
35828 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35830 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35831 default_ldbl_pack and using as default implementation.
35832 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35834 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35835 redundant definition.
35836 (ldbl_insert_mantissa): Likewise.
35837 (ldbl_canonicalize): Likewise.
35838 (ldbl_nearbyint): Likewise.
35839 (ldbl_pack): Rename to ldbl_pack_ppc.
35840 (ldbl_unpack): Rename to ldbl_unpack_ppc.
35841 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35842 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35844 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35847 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35848 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35849 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35851 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35852 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35853 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35855 2013-03-07 Andreas Jaeger <aj@suse.de>
35857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35860 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35862 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35863 Include mpa.h and declare __MPEXP.
35864 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35865 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35866 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35867 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35868 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35869 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35870 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35872 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35873 (__slowpow): Use long double EXPL and LOGL functions to
35875 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35876 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35877 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35878 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35879 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35880 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35883 intermediate variable to calculate exponent.
35885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35889 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35890 [!NO__SQR]: Define __sqr.
35891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35892 and NO__SQR. Remove all code except __mul and __sqr. Include
35893 sysdeps/ieee754/dbl-64/mpa.c.
35894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35897 * posix/Makefile (tests): Add tst-pathconf.
35898 * posix/tst-pathconf.c: New test case.
35899 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35901 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35903 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
35905 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35907 2013-03-06 Andreas Jaeger <aj@suse.de>
35909 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35910 definition via __MAP_ANONYMOUS.
35912 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35913 it's not part of Linux headers.
35915 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35916 (MAP_HUGE_MASK): Define.
35918 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35920 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35921 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35923 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35924 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35926 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35927 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35929 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35931 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35932 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35933 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35934 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35935 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35936 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35938 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35941 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35942 Handle f2fs and efivarfs.
35944 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35947 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35948 (EFIVARFS_MAGIC): Add.
35949 (F2FS_LINK_MAX): Add.
35951 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35953 * stdio-common/vfprintf.c: Replace __builtin_expect with
35956 2013-03-06 Joseph Myers <joseph@codesourcery.com>
35959 * sysdeps/generic/bp-sym.h: Remove file.
35960 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35961 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35962 <bp-sym.h> and <bp-asm.h>.
35963 (__longjmp): Don't use BP_SYM.
35964 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35966 (memcpy): Don't use BP_SYM.
35967 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35968 <bp-sym.h> and <bp-asm.h>.
35969 (memcpy): Don't use BP_SYM.
35970 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35972 (memcpy): Don't use BP_SYM.
35973 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35975 (memset): Don't use BP_SYM.
35976 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35977 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35978 (__bzero): Don't use BP_SYM.
35979 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35980 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35981 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35982 <bp-sym.h> and <bp-asm.h>.
35983 (memcmp): Don't use BP_SYM. Remove comment about bounded
35985 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35986 <bp-sym.h> and <bp-asm.h>.
35987 (memcpy): Don't use BP_SYM.
35988 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35989 <bp-sym.h> and <bp-asm.h>.
35990 (memset): Don't use BP_SYM.
35991 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35992 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35993 (__bzero): Don't use BP_SYM.
35994 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35995 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35996 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35997 <bp-sym.h> and <bp-asm.h>.
35998 (strncmp): Don't use BP_SYM. Remove comment about bounded
36000 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
36001 <bp-sym.h> and <bp-asm.h>.
36002 (memcpy): Don't use BP_SYM.
36003 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
36004 <bp-sym.h> and <bp-asm.h>.
36005 (memset): Don't use BP_SYM.
36006 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36007 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36008 (__bzero): Don't use BP_SYM.
36009 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36010 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36011 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
36012 <bp-sym.h> and <bp-asm.h>.
36013 (__memchr): Don't use BP_SYM.
36014 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
36015 <bp-sym.h> and <bp-asm.h>.
36016 (memcmp): Don't use BP_SYM. Remove comment about bounded
36018 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
36019 <bp-sym.h> and <bp-asm.h>.
36020 (memcpy): Don't use BP_SYM.
36021 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
36022 <bp-sym.h> and <bp-asm.h>.
36023 (__mempcpy): Don't use BP_SYM.
36024 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
36025 <bp-sym.h> and <bp-asm.h>.
36026 (__memrchr): Don't use BP_SYM.
36027 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
36028 <bp-sym.h> and <bp-asm.h>.
36029 (memset): Don't use BP_SYM.
36030 (__bzero): Likewise.
36031 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
36032 <bp-sym.h> and <bp-asm.h>.
36033 (__rawmemchr): Don't use BP_SYM.
36034 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
36035 <bp-sym.h> and <bp-asm.h>.
36036 (__STRCMP): Don't use BP_SYM.
36037 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
36038 <bp-sym.h> and <bp-asm.h>.
36039 (strchr): Don't use BP_SYM.
36040 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
36041 <bp-sym.h> and <bp-asm.h>.
36042 (__strchrnul): Don't use BP_SYM.
36043 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
36044 <bp-sym.h> and <bp-asm.h>.
36045 (strlen): Don't use BP_SYM.
36046 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
36047 <bp-sym.h> and <bp-asm.h>.
36048 (strncmp): Don't use BP_SYM. Remove comment about bounded
36050 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
36051 <bp-sym.h> and <bp-asm.h>.
36052 (__strnlen): Don't use BP_SYM.
36053 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
36054 <bp-sym.h> and <bp-asm.h>.
36055 (__GI__setjmp): Don't use BP_SYM.
36056 (_setjmp): Likewise.
36057 (__sigsetjmp): Likewise.
36058 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
36059 (L(start_addresses)): Don't use BP_SYM.
36060 (_start): Likewise.
36061 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
36063 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
36064 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
36065 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36066 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36067 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
36069 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
36070 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
36071 about bounded pointers.
36072 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36073 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36074 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
36076 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
36077 about bounded pointers. Remove GKM FIXME comments.
36078 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36079 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
36081 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
36082 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
36083 Remove GKM FIXME comments.
36084 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36085 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36086 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
36088 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
36089 about bounded pointers. Remove GKM FIXME comment.
36090 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
36092 (strncmp): Don't use BP_SYM. Remove comment about bounded
36094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36095 <bp-sym.h> and <bp-asm.h>.
36096 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36098 <bp-sym.h> and <bp-asm.h>.
36099 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
36102 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36104 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36107 2013-03-05 David S. Miller <davem@davemloft.net>
36109 * po/es.po: Update from translation team.
36111 2013-03-05 Andreas Jaeger <aj@suse.de>
36113 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36114 <bits/mman-linux.h>.
36115 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36117 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36118 <bits/mman-linux.h> to end of file.
36119 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36121 * sysdeps/unix/sysv/linux/x86/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/sparc/bits/mman.h: Move include of
36126 <bits/mman-linux.h> to end of file.
36128 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36129 (MCL_CURRENT, MCL_FUTURE): Define here.
36131 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36134 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36136 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36138 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36140 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36141 fourth parameter needed for rt_sigprocmask syscall.
36142 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36143 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36144 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36145 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36146 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36147 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36149 2013-03-04 Joseph Myers <joseph@codesourcery.com>
36152 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36153 comment about bounded pointers.
36154 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36155 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36157 2013-03-04 Andreas Jaeger <aj@suse.de>
36159 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36160 common definitions.
36162 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36163 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36164 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36165 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36166 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36167 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36169 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36172 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36173 __ieee754_sqrl instead of __sqrl.
36175 2013-03-01 Joseph Myers <joseph@codesourcery.com>
36177 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36178 * sysdeps/powerpc/fpu_control.h: ... here.
36179 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36180 * sysdeps/powerpc/bits/fenvinline.h: ... here.
36181 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36182 * sysdeps/powerpc/bits/mathinline.h: ... here.
36184 2013-03-01 Roland McGrath <roland@hack.frob.com>
36186 * elf/dl-hwcaps.c (_dl_important_hwcaps):
36187 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36188 to just [NEED_DL_SYSINFO_DSO].
36189 * elf/dl-support.c: Likewise.
36190 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36191 * elf/rtld.c (dl_main): Likewise.
36192 * elf/setup-vdso.h (setup_vdso): Likewise.
36193 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36194 * sysdeps/unix/sysv/linux/dl-sysdep.c
36195 (_dl_discover_osversion): Likewise.
36197 2013-03-01 Carlos O'Donell <carlos@redhat.com>
36199 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36200 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36202 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36204 * NEWS: Mention libm performance improvements and non-x86 PI
36207 * csu/libc-start.c (__pthread_initialize_minimal): Change
36208 function arguments.
36209 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36211 2013-02-28 Joseph Myers <joseph@codesourcery.com>
36214 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36215 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36216 <bp-sym.h> and <bp-asm.h>.
36217 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36218 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36220 (memcpy): Don't use BP_SYM.
36221 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36223 (__mpn_add_n): Don't use BP_SYM.
36224 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36225 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36227 (__mpn_addmul_1): Don't use BP_SYM.
36228 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36229 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36231 (_setjmp): Don't use BP_SYM.
36232 (__novmx_setjmp): Likewise.
36233 (__GI__setjmp): Likewise.
36234 (__vmx_setjmp): Likewise.
36235 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36237 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36238 (__bzero): Don't use BP_SYM.
36239 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36240 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36241 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36242 <bp-sym.h> and <bp-asm.h>.
36243 (memcpy): Don't use BP_SYM.
36244 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36245 <bp-sym.h> and <bp-asm.h>.
36246 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36247 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36248 <bp-sym.h> and <bp-asm.h>.
36249 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36250 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36252 (__mpn_lshift): Don't use BP_SYM.
36253 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36254 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36256 (memset): Don't use BP_SYM.
36257 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36258 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36259 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36261 (__mpn_mul_1): Don't use BP_SYM.
36262 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36263 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36264 <bp-sym.h> and <bp-asm.h>.
36265 (memcmp): Don't use BP_SYM.
36266 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36267 <bp-sym.h> and <bp-asm.h>.
36268 (memcpy): Don't use BP_SYM.
36269 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36270 <bp-sym.h> and <bp-asm.h>.
36271 (memset): Don't use BP_SYM.
36272 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36273 <bp-sym.h> and <bp-asm.h>.
36274 (strncmp): Don't use BP_SYM.
36275 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36276 <bp-sym.h> and <bp-asm.h>.
36277 (memcpy): Don't use BP_SYM.
36278 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36279 <bp-sym.h> and <bp-asm.h>.
36280 (memset): Don't use BP_SYM.
36281 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36282 <bp-sym.h> and <bp-asm.h>.
36283 (__memchr): Don't use BP_SYM.
36284 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36285 <bp-sym.h> and <bp-asm.h>.
36286 (memcmp): Don't use BP_SYM.
36287 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36288 <bp-sym.h> and <bp-asm.h>.
36289 (memcpy): Don't use BP_SYM.
36290 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36291 <bp-sym.h> and <bp-asm.h>.
36292 (__mempcpy): Don't use BP_SYM.
36293 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36294 <bp-sym.h> and <bp-asm.h>.
36295 (__memrchr): Don't use BP_SYM.
36296 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36297 <bp-sym.h> and <bp-asm.h>.
36298 (memset): Don't use BP_SYM.
36299 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36300 <bp-sym.h> and <bp-asm.h>.
36301 (__rawmemchr): Don't use BP_SYM.
36302 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36303 <bp-sym.h> and <bp-asm.h>.
36304 (__STRCMP): Don't use BP_SYM.
36305 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36306 <bp-sym.h> and <bp-asm.h>.
36307 (strchr): Don't use BP_SYM.
36308 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36309 <bp-sym.h> and <bp-asm.h>.
36310 (__strchrnul): Don't use BP_SYM.
36311 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36312 <bp-sym.h> and <bp-asm.h>.
36313 (strlen): Don't use BP_SYM.
36314 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36315 <bp-sym.h> and <bp-asm.h>.
36316 (strncmp): Don't use BP_SYM.
36317 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36318 <bp-sym.h> and <bp-asm.h>.
36319 (__strnlen): Don't use BP_SYM.
36320 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36322 (__mpn_rshift): Don't use BP_SYM.
36323 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36324 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36325 <bp-sym.h> and <bp-asm.h>.
36326 (__sigsetjmp): Don't use BP_SYM.
36327 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36328 (L(start_addresses)): Don't use BP_SYM.
36329 (_start): Likewise.
36330 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36332 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36333 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36334 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36335 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36337 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36338 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36339 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36340 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36342 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
36344 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36345 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36347 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
36349 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36350 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36351 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36353 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
36355 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36357 (strncmp): Don't use BP_SYM,
36358 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36360 (__mpn_sub_n): Don't use BP_SYM.
36361 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36362 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36364 (__mpn_submul_1): Don't use BP_SYM.
36365 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36367 <bp-sym.h> and <bp-asm.h>.
36368 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36370 <bp-sym.h> and <bp-asm.h>.
36371 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
36374 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36377 Use ZK to minimize writes to Z.
36378 (sub_magnitudes): Simplify code a bit.
36379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36380 Use ZK to minimize writes to Z.
36381 (sub_magnitudes): Simplify code a bit.
36383 2013-02-27 Roland McGrath <roland@hack.frob.com>
36385 * csu/gmon-start.c: Add special exception to license text.
36387 2013-02-27 Richard Henderson <rth@redhat.com>
36389 * scripts/config.guess: Update from config.git.
36390 * scripts/config.sub: Likewise.
36392 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36394 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36396 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36398 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36400 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36402 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36404 2013-02-26 Roland McGrath <roland@hack.frob.com>
36406 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36407 [$(build-shared = yes].
36409 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36411 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36412 (__mul): Reduce iterations for calculating mantissa.
36414 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36416 (__mpranred): Likewise.
36419 * malloc/memusagestat.c (main): Draw graphs for heap and stack
36420 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36422 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
36424 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36425 Define __attribute__.
36427 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36429 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36431 * posix/regex_internal.h (__attribute): Remove.
36432 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36433 (re_string_context_at): Likewise.
36434 (bitset_not): Use __attribute__ and mark function as possibly
36436 (bitset_merge): Likewise.
36437 (bitset_mask): Likewise.
36438 (re_string_char_size_at): Likewise.
36439 (re_string_wchar_at): Likewise.
36440 (re_string_elem_size_at): Likewise.
36442 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36444 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36448 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36452 (denorm): Likewise.
36453 (__dbl_mp): Likewise.
36454 (add_magnitudes): Likewise.
36455 (sub_magnitudes): Likewise.
36459 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36462 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36465 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36469 up changes with default code.
36470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36473 2013-02-24 Allan McRae <allan@archlinux.org>
36475 * manual/socket.texi (The Internet Namespace): Order menu items
36476 to match that in the file.
36478 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36479 node listing of the info page menu.
36481 2013-02-21 Joseph Myers <joseph@codesourcery.com>
36484 * sysdeps/i386/bp-asm.h: Remove file.
36485 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36486 (PARMS): Do not use macros from bp-asm.h.
36490 (__mpn_add_n): Do not use BP_SYM
36491 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36493 (PARMS): Do not use macros from bp-asm.h.
36496 (__mpn_addmul_1): Do not use BP_SYM
36497 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36499 (PARMS): Do not use macros from bp-asm.h.
36500 (SIGMSK): Likewise.
36501 (_setjmp): Likewise. Do not use BP_SYM.
36502 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36504 (PARMS): Do not use macros from bp-asm.h.
36505 (SIGMSK): Likewise.
36506 (setjmp): Likewise. Do not use BP_SYM.
36507 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36509 (PARMS): Do not use macros from bp-asm.h.
36510 (__frexp): Do not use BP_SYM.
36512 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36514 (PARMS): Do not use macros from bp-asm.h.
36515 (__frexpf): Do not use BP_SYM.
36516 (frexpf): Likewise.
36517 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36519 (PARMS): Do not use macros from bp-asm.h.
36520 (__frexpl): Do not use BP_SYM.
36521 (frexpl): Likewise.
36522 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36524 (PARMS): Do not use macros from bp-asm.h.
36525 (__remquo): Do not use BP_SYM.
36526 (remquo): Likewise.
36527 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36529 (PARMS): Do not use macros from bp-asm.h.
36530 (__remquof): Do not use BP_SYM.
36531 (remquof): Likewise.
36532 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36534 (PARMS): Do not use macros from bp-asm.h.
36535 (__remquol): Do not use BP_SYM.
36536 (remquol): Likewise.
36537 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36539 (PARMS): Do not use macros from bp-asm.h.
36542 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
36543 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36545 (PARMS): Do not use macros from bp-asm.h.
36546 (strlen): Do not use BP_SYM.
36547 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36549 (PARMS): Do not use macros from bp-asm.h.
36553 (__mpn_add_n): Do not use BP_SYM.
36554 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36556 (PARMS): Do not use macros from bp-asm.h.
36559 (__mpn_addmul_1): Do not use BP_SYM.
36560 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36563 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36565 (PARMS): Do not use macros from bp-asm.h.
36568 (__mpn_lshift): Do not use BP_SYM.
36569 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36571 (PARMS): Do not use macros from bp-asm.h.
36575 (memcpy): Likewise. Do not use BP_SYM.
36576 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36577 libc_hidden_def and weak_alias.
36578 (mempcpy): Do not use BP_SYM in weak_alias.
36579 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36581 (PARMS): Do not use macros from bp-asm.h.
36584 [!BZERO_P] (CHR): Likewise.
36585 (memset): Likewise. Do not use BP_SYM.
36586 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36588 (PARMS): Do not use macros from bp-asm.h.
36591 (__mpn_mul_1): Do not use BP_SYM.
36592 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36594 (PARMS): Do not use macros from bp-asm.h.
36597 (__mpn_rshift): Do not use BP_SYM.
36598 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36600 (PARMS): Do not use macros from bp-asm.h.
36603 (strchr): Likewise. Do not use BP_SYM.
36604 (index): Do not use BP_SYM in weak_alias.
36605 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36607 (PARMS): Do not use macros from bp-asm.h.
36610 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
36611 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36613 (PARMS): Do not use macros from bp-asm.h.
36614 (strlen): Do not use BP_SYM.
36615 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36617 (PARMS): Do not use macros from bp-asm.h.
36621 (__mpn_sub_n): Do not use BP_SYM.
36622 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36624 (PARMS): Do not use macros from bp-asm.h.
36627 (__mpn_submul_1): Do not use BP_SYM.
36628 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36630 (PARMS): Do not use macros from bp-asm.h.
36634 (__mpn_add_n): Do not use BP_SYM.
36635 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36638 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36640 (PARMS): Do not use macros from bp-asm.h.
36643 (memcmp): Do not use BP_SYM.
36644 (bcmp): Do not use BP_SYM in weak_alias.
36645 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36647 (PARMS): Do not use macros from bp-asm.h.
36651 (memcpy): Likewise. Do not use BP_SYM.
36652 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36654 (PARMS): Do not use macros from bp-asm.h.
36658 (memmove): Likewise. Do not use BP_SYM.
36659 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36661 (PARMS): Do not use macros from bp-asm.h.
36665 (__mempcpy): Likewise. Do not use BP_SYM.
36666 (mempcpy): Do not use BP_SYM in weak_alias.
36667 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36669 (PARMS): Do not use macros from bp-asm.h.
36672 [!BZERO_P] (CHR): Likewise.
36673 (memset): Likewise. Do not use BP_SYM.
36674 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36676 (PARMS): Do not use macros from bp-asm.h.
36678 (strcmp): Do not use BP_SYM.
36679 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36681 (PARMS): Do not use macros from bp-asm.h.
36684 [USE_AS_STRTOK_R] (SAVE): Likewise.
36685 (FUNCTION): Likewise. Do not use BP_SYM.
36686 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36688 (strtok_r): Likewise.
36689 (__GI___strtok_r): Likewise.
36690 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36691 (PARMS): Do not use macros from bp-asm.h.
36694 (__mpn_lshift): Do not use BP_SYM.
36695 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36696 (PARMS): Do not use macros from bp-asm.h.
36699 (__memchr): Do not use BP_SYM.
36700 (memchr): Do not use BP_SYM in weak_alias.
36701 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36702 (PARMS): Do not use macros from bp-asm.h.
36705 (memcmp): Do not use BP_SYM.
36706 (bcmp): Do not use BP_SYM in weak_alias.
36707 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36708 (PARMS): Do not use macros from bp-asm.h.
36711 (__mpn_mul_1): Do not use BP_SYM.
36712 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36714 (PARMS): Do not use macros from bp-asm.h.
36717 (__rawmemchr): Do not use BP_SYM.
36718 (rawmemchr): Do not use BP_SYM in weak_alias.
36719 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36720 (PARMS): Do not use macros from bp-asm.h.
36723 (__mpn_rshift): Do not use BP_SYM.
36724 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36725 (PARMS): Do not use macros from bp-asm.h.
36726 (SIGMSK): Likewise.
36727 (__sigsetjmp): Likewise. Do not use BP_SYM.
36728 * sysdeps/i386/start.S: Do not include "bp-sym.h".
36729 (_start): Do not use BP_SYM.
36730 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36731 (PARMS): Do not use macros from bp-asm.h.
36734 (__stpcpy): Likewise. Do not use BP_SYM.
36735 (stpcpy): Do not use BP_SYM in weak_alias.
36736 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36738 (PARMS): Do not use macros from bp-asm.h.
36742 (__stpncpy): Likewise. Do not use BP_SYM.
36743 (stpncpy): Do not use BP_SYM in weak_alias.
36744 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36745 (PARMS): Do not use macros from bp-asm.h.
36748 (strchr): Likewise. Do not use BP_SYM.
36749 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36751 (PARMS): Do not use macros from bp-asm.h.
36754 (__strchrnul): Likewise. Do not use BP_SYM.
36755 (strchrnul): Do not use BP_SYM in weak_alias.
36756 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36758 (PARMS): Do not use macros from bp-asm.h.
36760 (strcspn): Do not use BP_SYM.
36761 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36763 (PARMS): Do not use macros from bp-asm.h.
36766 (strpbrk): Likewise. Do not use BP_SYM.
36767 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36769 (PARMS): Do not use macros from bp-asm.h.
36772 (strrchr): Likewise. Do not use BP_SYM.
36773 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36774 (PARMS): Do not use macros from bp-asm.h.
36776 (strspn): Do not use BP_SYM.
36777 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36778 (PARMS): Do not use macros from bp-asm.h.
36782 (FUNCTION): Likewise. Do not use BP_SYM.
36783 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36785 (strtok_r): Likewise.
36786 (__GI___strtok_r): Likewise.
36787 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36788 (PARMS): Do not use macros from bp-asm.h.
36792 (__mpn_sub_n): Do not use BP_SYM.
36793 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36795 (PARMS): Do not use macros from bp-asm.h.
36798 (__mpn_submul_1): Do not use BP_SYM.
36799 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36801 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36803 (PARMS): Do not use macros from bp-asm.h.
36808 (__clone): Do not use BP_SYM.
36809 (clone): Do not use BP_SYM in weak_alias.
36810 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36812 (PARMS): Do not use macros from bp-asm.h.
36814 (__mmap64): Do not use BP_SYM.
36815 (mmap64): Do not use BP_SYM in weak_alias.
36816 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36817 <bp-sym.h> and <bp-asm.h>.
36818 (PARMS): Do not use macros from bp-asm.h.
36819 (__posix_fadvise64_l64): Do not use BP_SYM.
36820 * sysdeps/unix/sysv/linux/i386/semtimedop.S
36821 (PARMS): Do not use macros from bp-asm.h.
36823 (semtimedop): Do not use BP_SYM.
36824 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36827 2013-02-21 Allan McRae <allan@archlinux.org>
36829 * manual/message.texi (Charset conversion in gettext):
36830 Move @end statement to beginning of line.
36832 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36839 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36840 (denorm): Likewise.
36841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36844 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36846 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36847 tail-call to the resolved function if pltexit isn't needed.
36849 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36852 or Y being zero as being unlikely.
36853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36856 2013-02-20 Carlos O'Donell <carlos@redhat.com>
36858 * manual/nss.texi (System Databases and Name Service Switch):
36859 Remove frobnicate @pxref.
36861 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36863 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36864 __attribute__ ((unused)) to __attribute__ ((__unused__)).
36866 2013-02-20 Petr Machata <pmachata@redhat.com>
36868 * elf/elf.h (R_ARM_TARGET1): New macro.
36869 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36870 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36871 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36872 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36873 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36874 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36875 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36876 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36877 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36878 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36879 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36880 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36881 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36882 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36883 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36884 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36885 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36886 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36887 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36888 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36889 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36890 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36891 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36892 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36893 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36894 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36895 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36896 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36897 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36898 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36899 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36900 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36901 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36902 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36903 (R_ARM_THM_GOT_BREL12): Likewise.
36904 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36905 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36906 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36907 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36908 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36909 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36910 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36911 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36912 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36914 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36916 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36917 __attribute_used__ to __attribute__ ((unused)).
36919 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36921 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36924 comment formatting.
36925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36927 2013-02-19 Joseph Myers <joseph@codesourcery.com>
36930 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36932 (ENTER): Remove both macro definitions.
36934 (CHECK_BOUNDS_LOW): Likewise.
36935 (CHECK_BOUNDS_HIGH): Likewise.
36936 (CHECK_BOUNDS_BOTH): Likewise.
36937 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36938 (RETURN_BOUNDED_POINTER): Likewise.
36939 (RETURN_NULL_BOUNDED_POINTER): Likewise.
36940 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36941 (POP_ERRNO_LOCATION_RETURN): Likewise.
36942 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36943 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36944 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36946 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36947 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36948 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36949 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36950 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36951 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36952 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36953 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36954 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36955 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36956 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36957 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36958 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36959 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36961 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36962 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36964 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36965 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36966 * sysdeps/i386/i586/memset.S (memset): Likewise.
36967 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36968 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36969 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36971 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36972 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36973 Change uses of L(2) to L(out).
36974 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36975 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36976 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36977 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36978 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36980 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36981 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36983 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36984 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36985 (RETURN): Do not use macro LEAVE.
36986 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36987 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36988 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36989 * sysdeps/i386/i686/memset.S (memset): Likewise.
36990 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36991 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36992 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36993 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36995 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36996 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
36997 L(1_2) and L(1_3) into L(1).
36998 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36999 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
37000 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37001 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
37002 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37003 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
37004 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
37005 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37006 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
37008 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
37009 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37010 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
37011 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
37012 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
37013 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37014 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
37015 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
37016 * sysdeps/i386/strcspn.S (strcspn): Likewise.
37017 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
37018 * sysdeps/i386/strrchr.S (strrchr): Likewise.
37019 * sysdeps/i386/strspn.S (strspn): Likewise.
37020 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
37022 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37023 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
37024 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
37025 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
37026 L(1_3) into L(1_1).
37027 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
37028 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37029 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
37031 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37033 2013-02-19 Jakub Jelinek <jakub@redhat.com>
37035 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
37038 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37040 * math/atest-exp.c (exp_mpn): Remove ROUND.
37041 * math/atest-exp2.c (exp_mpn): Likewise.
37042 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
37044 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
37045 * stdlib/tst-tls-atexit-lib.c: Likewise.
37046 * stdlib/tst-tls-atexit.c: Likewise.
37048 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37050 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
37051 and __attribute_alloc_size__.
37053 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37055 * include/programs/xmalloc.h: Change __attribute_alloc_size to
37056 __attribute_alloc_size__.
37057 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
37058 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
37060 2013-02-18 Mike Frysinger <vapier@gentoo.org>
37062 * include/programs/xmalloc.h: New file.
37063 * catgets/gencat.c: Include it.
37064 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
37065 * elf/pldd.c: Likewise.
37066 * iconv/iconv_charmap.c: Likewise.
37067 * iconv/iconvconfig.c: Likewise.
37068 * iconv/strtab.c: Likewise.
37069 * locale/programs/locale.c: Likewise.
37070 * locale/programs/localedef.h: Likewise.
37071 * locale/programs/simple-hash.c: Likewise.
37072 * nscd/nscd.h: Likewise.
37073 * nss/makedb.c: Likewise.
37074 * sysdeps/generic/ldconfig.h: Likewise.
37076 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37078 * Versions.def: Add GLIBC_2.18.
37079 * include/link.h (struct link_map): New member l_tls_dtor_count.
37080 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
37081 (__call_tls_dtors): Likewise.
37082 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
37083 __cxa_thread_atexit_impl.
37084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37092 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37100 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37101 (tests): Add test case tst-tls-atexit.
37102 (modules-names): Add shared library for tst-tls-atexit.
37103 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37104 (GLIBC_PRIVATE): Add __call_tls_dtors.
37105 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37107 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37108 * stdlib/tst-tls-atexit.c: New test case.
37109 * stdlib/tst-tls-atexit-lib.c: New test case.
37111 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37113 * elf/Versions (ld): Add _dl_find_dso_for_object.
37114 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37115 * elf/dl-open.c (_dl_find_dso_for_object): New function.
37116 (dl_open_worker): Use _dl_find_dso_for_object.
37117 * elf/dl-sym.c (do_sym): Likewise.
37118 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37120 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37122 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37123 Syntactic changes only.
37124 (_dl_runtime_profile): Do a tail-call to the resolved function.
37126 2013-02-17 Joseph Myers <joseph@codesourcery.com>
37129 * sysdeps/x86_64/bp-asm.h: Remove file.
37130 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37131 <bp-sym.h> and <bp-asm.h>.
37132 (__clone): Do not use BP_SYM.
37133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37134 <bp-sym.h> and <bp-asm.h>.
37135 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37136 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37138 (_setjmp): Do not use BP_SYM.
37139 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37141 (setjmp): Do not use BP_SYM.
37142 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37144 (mempcpy): Do not use BP_SYM in weak_alias.
37145 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37147 (strchr): Do not use BP_SYM.
37148 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37150 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37151 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37152 (_start): Do not use BP_SYM.
37153 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37155 (strcat): Do not use BP_SYM.
37156 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37158 (STRCMP): Do not use BP_SYM.
37159 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37161 (STRCPY): Do not use BP_SYM.
37162 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37164 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37166 (FUNCTION): Do not use BP_SYM.
37167 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37169 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37171 2013-02-17 Andreas Jaeger <aj@suse.de>
37173 * time/Versions: Sort entries.
37174 * string/Versions: Likewise.
37175 * resolv/Versions: Likewise.
37176 * posix/Versions: Likewise.
37177 * iconv/Versions: Likewise.
37178 * elf/Versions: Likewise.
37179 * wcsmbs/Versions: Likewise.
37181 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37183 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37184 loop termination condition.
37186 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37187 variable to calculate EZ.
37190 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37191 the lower precision input.
37193 2013-02-15 Joseph Myers <joseph@codesourcery.com>
37196 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37197 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37198 (run-via-rtld-prefix): Do not handle %-bp tests.
37199 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37200 (all-object-suffixes): Remove .ob.
37201 (bppfx): Remove variable.
37202 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37203 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37204 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37205 [$(build-bounded) = yes] (libtype.ob): Likewise.
37206 * Makerules (elide-routines.ob): Remove variable.
37207 (do-tests-clean): Do not handle *-bp.out.
37208 (common-mostlyclean): Do not handle *-bp and *-bp.out.
37209 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37210 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37211 (tests): Do not include $(tests-bp.out).
37212 (xtests): Do not include $(xtests-bp.out).
37213 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37214 [$(build-bounded) = yes] ($(addprefix
37215 $(objpfx),$(binaries-bounded))): Remove rule.
37216 ($(objpfx)%-bp.out): Remove rule.
37217 * config.make.in (build-bounded): Remove variable.
37218 * crypt/Makefile [$(build-bounded) = yes]
37219 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37220 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37221 append to variable.
37222 [$(build-bounded) = yes] (install-lib): Likewise.
37223 [$(build-bounded) = yes] (generated): Likewise.
37224 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37226 * intl/Makefile [$(build-bounded) = yes]
37227 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37228 * math/Makefile [$(build-bounded) = yes]
37229 ($(tests:%=$(objpfx)%-bp): Likewise.
37230 * misc/Makefile [$(build-bounded) = yes]
37231 ($(objpfx)tst-tsearch-bp): Likewise.
37232 * nptl/Makeconfig (bounded-thread-library): Remove variable.
37233 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37235 * string/Makefile (o-objects.ob): Remove variable.
37236 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37237 (CFLAGS-.ob): Remove variable.
37238 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37239 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37240 both definitions of variable.
37241 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37242 (ASFLAGS-.ob): Remove variable.
37244 2013-02-14 Joseph Myers <joseph@codesourcery.com>
37247 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37248 Remove __BOUNDED_POINTERS__ from condition.
37249 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37250 * string/bits/string2.h [!__NO_STRING_INLINES &&
37251 !__BOUNDED_POINTERS__]: Likewise.
37252 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37254 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37255 Remove conditional code.
37256 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37257 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37258 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37262 * csu/libc-start.c: Do not include <bp-sym.h>.
37263 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37264 * elf/dl-open.c: Do not include <bp-sym.h>.
37265 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37266 * math/fegetenv.c: Do not include <bp-sym.h>.
37267 (fegetenv): Do not use BP_SYM in versioned symbols.
37268 * nptl/sysdeps/pthread/bits/libc-lockP.h
37269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37272 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37274 (__pthread_mutex_destroy): Likewise.
37275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37276 (__pthread_mutex_lock): Likewise.
37277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37278 (__pthread_mutex_trylock): Likewise.
37279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37280 (__pthread_mutex_unlock): Likewise.
37281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37282 (__pthread_mutexattr_init): Likewise.
37283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37284 (__pthread_mutexattr_destroy): Likewise.
37285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37286 (__pthread_mutexattr_settype): Likewise.
37287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37288 (__pthread_rwlock_init): Likewise.
37289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37290 (__pthread_rwlock_destroy): Likewise.
37291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37292 (__pthread_rwlock_rdlock): Likewise.
37293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37294 (__pthread_rwlock_tryrdlock): Likewise.
37295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37296 (__pthread_rwlock_wrlock): Likewise.
37297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37298 (__pthread_rwlock_trywrlock): Likewise.
37299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37300 (__pthread_rwlock_unlock): Likewise.
37301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37302 (__pthread_key_create): Likewise.
37303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37304 (__pthread_setspecific): Likewise.
37305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37306 (__pthread_getspecific): Likewise.
37307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37310 (_pthread_cleanup_push_defer): Likewise.
37311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37312 (_pthread_cleanup_pop_restore): Likewise.
37313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37314 (pthread_setcancelstate): Likewise.
37315 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37317 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37318 (memchr): Do not use BP_SYM in weak_alias.
37319 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37320 (fegetenv): Do not use BP_SYM in versioned symbols.
37321 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37322 (fesetenv): Do not use BP_SYM in versioned symbols.
37323 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37324 (feupdateenv): Do not use BP_SYM in versioned symbols.
37325 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37326 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37327 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37328 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37329 (open64): Do not use BP_SYM in weak_alias.
37330 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37331 (fegetenv): Do not use BP_SYM in versioned symbols.
37332 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37333 (fesetenv): Do not use BP_SYM in versioned symbols.
37334 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37335 (feupdateenv): Do not use BP_SYM in versioned symbols.
37336 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37337 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37338 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37339 (feraiseexcept): Do not use BP_SYM in versioned symbols.
37340 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37341 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37342 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37344 (__libc_start_main): Do not use BP_SYM.
37346 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37349 redundant return line.
37351 (denorm): Likewise.
37352 (dbl_mp): Likewise.
37353 (sub_magnitudes): Likewise.
37359 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37361 (denorm): Likewise.
37362 (dbl_mp): Likewise.
37363 (sub_magnitudes): Likewise.
37370 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37372 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37373 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37376 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37377 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37378 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37379 of __mul for squares.
37380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37384 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37385 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37387 2013-02-13 Joseph Myers <joseph@codesourcery.com>
37390 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37392 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37393 prototype or function definition. Rename ubp_* variables and
37394 parameters. Remove argv definitions conditional on
37395 [__BOUNDED_POINTERS__].
37396 * debug/backtrace.c (__backtrace): Do not use __unbounded.
37397 * elf/dl-runtime.c (_dl_fixup): Likewise.
37398 * include/set-hooks.h (RUN_HOOK): Likewise.
37399 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37401 * string/strcpy.c (strcpy): Do not use __unbounded.
37402 * sysdeps/generic/frame.h (struct layout): Likewise.
37403 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37404 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37405 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37406 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37407 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37408 (__backtrace): Likewise.
37409 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37411 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37412 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37413 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37415 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37416 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37417 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37418 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37419 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37420 Do not use __unbounded.
37421 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37422 Rename __unboundedrlimits parameter to rlimits in prototype.
37423 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37424 Do not use __unbounded.
37425 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37426 not use __ptrvalue.
37427 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37428 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37429 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37430 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37431 __ptrvalue or __unbounded.
37432 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37433 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37435 (__new_msgctl): Do not use __ptrvalue.
37436 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37438 (__libc_msgrcv): Do not use __ptrvalue.
37439 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37440 startup_info): Do not use __unbounded.
37441 (__libc_start_main): Likewise. Rename ubp_* variables and
37442 parameters. Remove argv definitions conditional on
37443 [__BOUNDED_POINTERS__].
37444 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37446 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37448 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37450 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37452 (__new_shmctl): Do not use __ptrvalue.
37453 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37454 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37456 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37457 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37458 (__libc_sigaction): Likewise.
37459 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37460 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37462 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37464 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
37466 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37468 * string/mempcpy.c: Implement by calling memcpy.
37470 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37472 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37474 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37477 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37478 values in the mantissa.
37480 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37481 minimize writes to Z.
37482 (sub_magnitudes): Simplify code a bit.
37484 2013-02-12 Roland McGrath <roland@hack.frob.com>
37486 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37487 from the message. The linker prefixes all warnings with that already.
37489 2013-02-12 Andreas Schwab <schwab@suse.de>
37492 * posix/regexec.c (extend_buffers): Add parameter min_len.
37493 (check_matching): Pass minimum needed length.
37494 (clean_state_log_if_needed): Likewise.
37495 (get_subexp): Likewise.
37496 * posix/Makefile (tests): Add bug-regex34.
37497 (bug-regex34-ENV): Define.
37498 * posix/bug-regex34.c: New file.
37501 * posix/regcomp.c (parse_bracket_exp): When looking up collating
37502 elements compare against the byte sequence of it, not its name.
37503 * posix/Makefile (tests): Add bug-regex35.
37504 (bug-regex35-ENV): Define.
37505 * posix/bug-regex35.c: New file.
37507 2013-02-11 Tom de Vries <tom@codesourcery.com>
37509 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
37511 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37512 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37513 (CHECK_EOL): Add undef.
37515 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
37517 * bits/stdlib-bsearch.h: New file.
37518 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37519 * stdlib/stdlib.h: Likewise.
37521 2013-02-11 Roland McGrath <roland@hack.frob.com>
37523 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37524 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37526 * manual/search.texi (Array Search Function): Add missing const in
37528 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37529 declaration to use rlim_t.
37530 (Basic Scheduling Functions): Remove erroneous const from
37531 sched_getparam prototype. Remove erroneous * from
37532 sched_get_priority_max and sched_get_priority_min prototypes.
37533 (Resource Usage): Fix summary @comment on vtimes to refer to
37534 sys/vtimes.h rather than vtimes.h.
37535 Add missing *s in vtimes prototype.
37536 (Limits on Resources): Fix ulimit prototype to return long int.
37537 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37538 prototypes to use long int rather than double.
37539 (BSD Random): Fix initstate and setstate to use char *, not void *.
37540 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37541 prototype to make second argument 'struct aiocb64 *const[]'.
37542 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37543 (Status of AIO Operations): Remove erroneous const in aio_return and
37544 aio_return64 prototypes.
37545 (Synchronizing I/O): Fix sync prototype to return void.
37546 * manual/startup.texi (Suboptions): Remove an erroneous const in
37547 getsubopt prototype.
37548 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37549 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37550 use size_t rather than int.
37551 (Scanning All Users): Likewise for getpwent_r.
37552 (Setting Groups): Add missing const to setgroups prototype.
37553 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37554 * manual/socket.texi (Host Names): Fix gethostbyaddr and
37555 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37556 'const void *' rather than 'const char *'.
37557 (Host Address Functions): Likewise for inet_ntop.
37558 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37559 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37560 ssize_t for return value.
37561 (Sending Data): Likewise for send, sendto, sendmsg.
37562 (Socket Option Functions): Add a missing const in setsockopt prototype.
37563 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37564 use wchar_t for the argument.
37565 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37566 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37568 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37569 double/float/long double for second argument.
37570 Fix return types of significand, significandf, significandl.
37571 * manual/filesys.texi (Setting Permissions): Use mode_t for second
37572 argument in fchmod prototype.
37573 (File Owner): Use uid_t and gid_t in fchown prototype.
37574 (File Times): Add const to utimes, futimes, and lutimes prototypes.
37575 (Making Special Files): Use mode_t and dev_t in mknod prototype.
37576 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37577 use 'const struct dirent **' as argument types to CMP function pointer
37579 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37580 (File Times): Fix summary magic @comment for struct utimbuf and utime
37581 to refer to utime.h, not time.h.
37582 * manual/string.texi (Argz Functions): Add missing const in
37583 argz_extract and argz_next prototypes.
37584 (Finding Tokens in a String): Likewise for basename.
37585 (String/Array Comparison): Fix typo in wcscasecmp prototype.
37586 (Copying and Concatenation): Fix typo in wmemmove prototype.
37587 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37588 (Signal Stack): Remove erroneous const in sigstack prototype.
37589 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37591 (Simple Calendar Time): Likewise for stime.
37592 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37594 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37595 say sys/sysctl.h instead.
37596 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37597 and vsyslog prototypes.
37599 2013-02-11 Tom de Vries <tom@codesourcery.com>
37601 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37604 2013-02-11 Roland McGrath <roland@hack.frob.com>
37606 * misc/sys/mman.h: Fix typo in mremap comment.
37608 2013-02-08 Roland McGrath <roland@hack.frob.com>
37610 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37611 the '\0' terminator.
37613 2013-02-08 Joseph Myers <joseph@codesourcery.com>
37616 * debug/segfault.c: Don't include <bp-checks.h>.
37617 * sysdeps/generic/bp-checks.h: Remove file.
37618 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37619 (__GETDENTS): Don't use CHECK_N.
37620 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37621 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37622 (__getgroups): Don't use CHECK_N.
37623 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37624 (setgroups): Don't use CHECK_N.
37625 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37626 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37627 (__libc_msgrcv): Don't use CHECK_N.
37628 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37629 (__libc_msgsnd): Don't use CHECK_N.
37630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37632 (__libc_pread): Don't use CHECK_N.
37633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37634 include <bp-checks.h>.
37635 (__libc_pread64): Don't use CHECK_N.
37636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37637 include <bp-checks.h>.
37638 (__libc_pwrite): Don't use CHECK_N.
37639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37640 include <bp-checks.h>.
37641 (__libc_pwrite64): Don't use CHECK_N.
37642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37644 (__libc_pread): Don't use CHECK_N.
37645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37646 include <bp-checks.h>.
37647 (__libc_pread64): Don't use CHECK_N.
37648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37649 include <bp-checks.h>.
37650 (__libc_pwrite): Don't use CHECK_N.
37651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37652 include <bp-checks.h>.
37653 (__libc_pwrite64): Don't use CHECK_N.
37654 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37655 (do_pread): Don't use CHECK_N.
37656 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37657 (do_pread64): Don't use CHECK_N.
37658 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37659 (do_pwrite): Don't use CHECK_N.
37660 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37661 (do_pwrite64): Don't use CHECK_N.
37662 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37663 (__libc_readv): Don't use CHECK_N.
37664 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37665 (semop): Don't use CHECK_N.
37666 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37668 (semtimedop): Don't use CHECK_N.
37669 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37670 (__libc_pread): Don't use CHECK_N.
37671 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37673 (__libc_pread64): Don't use CHECK_N.
37674 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37676 (__libc_pwrite): Don't use CHECK_N.
37677 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37679 (__libc_pwrite64): Don't use CHECK_N.
37680 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37682 (__libc_msgrcv): Don't use CHECK_N.
37683 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37684 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
37685 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37686 (__libc_writev): Don't use CHECK_N.
37688 2013-02-08 Roland McGrath <roland@hack.frob.com>
37690 * string/strcpy.c: Removed unused variable.
37692 * Makeconfig (+sysdep-includes): Define with := rather than =.
37693 Use an existing include/ subdir of each sysdeps dir before it.
37695 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37697 * nscd/connection.c (register_traced_file): Comment function.
37698 [HAVE_INOTIFY] (union __inev): Define.
37699 [HAVE_INOTIFY] (inotify_check_files): New function.
37700 [HAVE_INOTIFY] (clear_db_cache): Likewise.
37701 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37703 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37705 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37707 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37708 loaded if not already and that a failure is permanent.
37710 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37713 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37714 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37716 2013-02-08 Joseph Myers <joseph@codesourcery.com>
37719 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37720 (CHECK_1_NULL_OK): Likewise.
37721 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37722 (__fxstat): Do not use CHECK_1.
37723 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37725 (___fxstat64): Do not use CHECK_1.
37726 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37728 (__fxstatat): Do not use CHECK_1.
37729 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37731 (__fxstatat64): Do not use CHECK_1.
37732 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37734 (__fxstat): Do not use CHECK_1.
37735 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37737 (__fxstatat): Do not use CHECK_1.
37738 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37740 (__getresgid): Do not use CHECK_1.
37741 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37743 (__getresuid): Do not use CHECK_1.
37744 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37746 (__lxstat): Do not use CHECK_1.
37747 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37749 (__old_msgctl): Do not use CHECK_1.
37750 (__new_msgctl): Likewise.
37751 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37753 (__new_setrlimit): Do not use CHECK_1.
37754 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37756 (__old_shmctl): Do not use CHECK_1.
37757 (__new_shmctl): Likewise.
37758 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37760 (__xstat): Do not use CHECK_1.
37761 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37762 (__lxstat): Do not use CHECK_1.
37763 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37765 (___lxstat64): Do not use CHECK_1.
37766 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37767 (__old_msgctl): Do not use CHECK_1.
37768 (__new_msgctl): Likewise.
37769 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37771 (__gettimeofday): Do not use CHECK_1.
37772 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37773 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37774 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37776 (__gettimeofday): Do not use CHECK_1.
37777 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37778 (__old_shmctl): Do not use CHECK_1_NULL_OK.
37779 (__new_shmctl): Do not use CHECK_1.
37780 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37782 (do_sigtimedwait): Do not use CHECK_1.
37783 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37785 (do_sigwaitinfo): Do not use CHECK_1.
37786 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37788 (msgctl): Do not use CHECK_1.
37789 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37791 (shmctl): Do not use CHECK_1.
37792 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37793 (ustat): Do not use CHECK_1.
37794 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37796 (__fxstat): Do not use CHECK_1.
37797 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37799 (__fxstatat): Do not use CHECK_1.
37800 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37802 (__lxstat): Do not use CHECK_1.
37803 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37805 (__xstat): Do not use CHECK_1.
37806 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37807 (__xstat): Do not use CHECK_1.
37808 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37809 (___xstat64): Do not use CHECK_1.
37812 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37814 (CHECK_BOUNDS_HIGH): Likewise.
37815 * string/strcpy.c: Do not include <bp-checks.h>.
37816 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37818 2013-02-07 Roland McGrath <roland@hack.frob.com>
37820 * nscd/nscd-client.h (__nscd_drop_map_ref):
37821 Add __attribute__ ((unused)).
37822 * nis/nss-nisplus.h (niserr2nss): Likewise.
37824 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37825 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37827 * csu/libc-tls.c (init_static_tls, init_slotinfo):
37828 Remove inline keyword.
37829 * include/rounding-mode.h (round_away): Likewise.
37830 * libio/wfileops.c (adjust_wide_data): Likewise.
37831 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37832 (__m128i_strloadu_tolower): Likewise.
37833 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37834 (__m128i_strloadu_tolower): Likewise.
37835 * time/mktime.c (ydhms_diff): Likewise.
37836 * locale/elem-hash.h (elem_hash): Likewise.
37837 * locale/setlocale.c (setdata): Likewise.
37838 * posix/regex_internal.h (re_string_char_size_at): Likewise.
37839 (re_string_wchar_at): Likewise.
37840 (bitset_not, bitset_merge, bitset_mask): Likewise.
37841 [!(__GNUC__ > 3)] (inline): Remove macro.
37842 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37843 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37844 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37845 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37846 * string/memcmp.c (memcmp_bytes): Likewise.
37847 * locale/programs/locarchive.c (compute_hashval): Likewise.
37848 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37849 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37850 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37851 * nss/getent.c (print_rpc, print_protocols): Likewise.
37852 (print_passwd, print_group, print_aliases): Likewise.
37853 * nis/nss-nisplus.h (niserr2nss): Likewise.
37854 * nscd/connections.c (restart_p): Likewise.
37855 Change return type to bool.
37857 2013-02-05 Roland McGrath <roland@hack.frob.com>
37859 * Makeconfig (all-Depend-files): Add existing
37860 $(sorted-subdirs:=/Depend) files.
37861 (all-subdirs): Remove nss.
37862 * sysdeps/unix/inet/Subdirs: Add it here instead.
37863 * hesiod/Depend: New file.
37865 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37866 instead of calling alloca.
37868 * io/lseek.c (__lseek): Rename to __libc_lseek.
37869 Define __lseek as an alias.
37871 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37873 2013-02-04 Carlos O'Donell <carlos@redhat.com>
37875 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37876 else clause and remove check for non-standard endianness.
37878 2013-02-04 David S. Miller <davem@davemloft.net>
37880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37882 2013-02-04 Joseph Myers <joseph@codesourcery.com>
37885 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37886 (__ubp_memchr): Remove prototype.
37887 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37888 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37889 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37890 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37891 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37893 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37894 (__ubp_memchr): Likewise.
37895 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37896 (__ubp_memchr): Likewise.
37897 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37898 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37899 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37900 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37902 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37903 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37904 (__getcwd): Do not use CHECK_STRING.
37905 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37907 (__real_chown): Do not use CHECK_STRING.
37908 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37910 (fchownat): Do not use CHECK_STRING.
37911 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37913 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37915 (__lchown): Do not use CHECK_STRING.
37916 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37917 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37918 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37919 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37921 include <bp-checks.h>.
37922 (truncate64): Do not use CHECK_STRING.
37923 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37925 (__real_chown): Do not use CHECK_STRING.
37926 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37928 (__lchown): Do not use CHECK_STRING.
37929 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37931 (__chown): Do not use CHECK_STRING.
37932 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37934 (truncate64): Do not use CHECK_STRING.
37935 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37937 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37938 (__xmknod): Do not use CHECK_STRING.
37939 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37941 (__xmknodat): Do not use CHECK_STRING.
37942 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37943 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37945 2013-02-04 Andreas Schwab <schwab@suse.de>
37948 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37949 * include/netdb.h: Likewise for h_errno.
37950 * elf/tst-stackguard1.c: Include <tls.h>.
37952 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
37954 * elf/link.h (struct link_map): Extend the l_addr comment.
37955 * include/link.h (struct link_map): Likewise.
37957 2013-02-01 Joseph Myers <joseph@codesourcery.com>
37960 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37961 (BOUNDED_1): Remove macro.
37962 * debug/backtrace.c: Don't include <bp-checks.h>.
37963 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37964 (__backtrace): Likewise.
37965 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37967 (__backtrace): Don't use BOUNDED_1.
37968 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37970 (__backtrace): Don't use BOUNDED_1.
37971 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37972 (__backtrace): Don't use BOUNDED_1.
37973 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37974 (shmat): Don't use BOUNDED_N.
37976 2013-01-31 Joseph Myers <joseph@codesourcery.com>
37979 * sysdeps/generic/bp-start.h: Remove file.
37980 * csu/libc-start.c: Don't include <bp-start.h>.
37981 (LIBC_START_MAIN): Set up __environ directly instead of using
37982 INIT_ARGV_and_ENVIRON.
37983 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37987 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37989 (CHECK_FCNTL): Likewise.
37990 (CHECK_N_PAGES): Likewise.
37993 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37995 (CHECK_SIGSET_NULL_OK): Likewise.
37996 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37998 (sigpending): Don't use CHECK_SIGSET.
37999 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
38001 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38002 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
38004 (do_sigsuspend): Don't use CHECK_SIGSET.
38005 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
38007 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
38008 (do_sigwait): Don't use CHECK_SIGSET.
38009 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
38011 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
38012 include <bp-checks.h>.
38013 (sigpending): Don't use CHECK_SIGSET.
38014 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
38015 include <bp-checks.h>.
38016 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38017 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
38019 (sigpending): Don't use CHECK_SIGSET.
38020 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
38022 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
38025 * sysdeps/generic/bp-semctl.h: Remove file.
38026 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
38027 <bp-checks.h> and <bp-semctl.h>.
38028 (__old_semctl): Don't use CHECK_SEMCTL.
38029 (__new_semctl): Likewise.
38030 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
38032 (__old_semctl): Don't use CHECK_SEMCTL.
38033 (__new_semctl): Likewise.
38034 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
38035 <bp-checks.h> and <bp-semctl.h>.
38036 (__old_semctl): Don't use CHECK_SEMCTL.
38037 (__new_semctl): Likewise.
38038 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
38039 <bp-checks.h> and <bp-semctl.h>.
38040 (semctl): Don't use CHECK_SEMCTL.
38043 * Makerules (elide-bp-thunks): Remove variable.
38044 (elide-routines.oS): Don't use $(elide-bp-thunks).
38045 (elide-routines.os): Likewise.
38046 (elide-routines.o): Likewise.
38047 (elide-routines.op): Likewise.
38048 (elide-routines.og): Likewise.
38049 (objects): Don't use $(bp-thunks).
38050 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
38052 (common-generated): Do not add s-proto-bp.d.
38053 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
38056 Do not generate makefile rules for bounded-pointer thunks.
38057 * sysdeps/generic/bp-thunks.h: Remove file.
38058 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
38059 * sysdeps/unix/s-proto-bp.S: Likewise.
38062 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
38063 parts of result separately when argument is not close to line from
38064 -i to i and one part of argument is small.
38065 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38066 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38067 * math/libm-test.inc (cacos_test): Add more tests.
38068 (casin_test): Likewise.
38069 (casinh_test): Likewise.
38070 * sysdeps/i386/fpu/libm-test-ulps: Update.
38071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38073 2013-01-31 David S. Miller <davem@davemloft.net>
38075 * po/de.po: Update from translation team.
38077 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
38079 * time/tzfile.c: Include stdint.h for SIZE_MAX.
38081 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
38083 * configure.in (_AC_PROG_CC_C89): New definition.
38084 * configure: Regenerate.
38086 * configure.in (AC_PROG_CPP): New definition.
38087 * configure: Regenerate.
38089 2013-01-23 Joseph Myers <joseph@codesourcery.com>
38091 * debug/tst-backtrace.h: New file.
38092 * debug/tst-backtrace2.c: Include tst-backtrace.h.
38093 (ret): Remove variable.
38095 (FAIL): Remove macro.
38096 (NO_INLINE): Likewise.
38097 (fn1): Use match function instead of strstr.
38098 * debug/tst-backtrace3.c: Include tst-backtrace.h.
38099 (ret): Remove variable.
38101 (FAIL): Remove macro.
38102 (NO_INLINE): Likewise.
38103 (fn): Use match function instead of strstr.
38104 * debug/tst-backtrace4.c: Include tst-backtrace.h.
38105 (ret): Remove variable.
38107 (FAIL): Remove macro.
38108 (NO_INLINE): Likewise.
38109 (handle_signal): Use match function instead of strstr.
38110 * debug/tst-backtrace5.c: Include tst-backtrace.h.
38111 (ret): Remove variable.
38113 (FAIL): Remove macro.
38114 (NO_INLINE): Likewise.
38115 (handle_signal): Use match function instead of strstr.
38117 2013-01-23 Roland McGrath <roland@hack.frob.com>
38119 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38121 2013-01-23 David S. Miller <davem@davemloft.net>
38123 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38124 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38125 argument of CAS if possible.
38126 * sysdeps/sparc/sparc64/bits/atomic.h
38127 (__arch_compare_and_exchange_val_32_acq): Likewise.
38128 (__arch_compare_and_exchange_val_64_acq): Likewise.
38130 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
38132 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38133 * sysdeps/posix/ulimit.c: ... this.
38134 Include <limits.h>.
38135 * sysdeps/unix/bsd/ulimit.c: Remove file.
38137 2013-01-23 Adam Conrad <adconrad@0c3.net>
38139 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38140 (LDFLAGS-tst-array5): Likewise.
38142 2013-01-23 Joseph Myers <joseph@codesourcery.com>
38145 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38146 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38147 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38148 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38150 2013-01-21 David S. Miller <davem@davemloft.net>
38152 * sysdeps/sparc/backtrace.c: New file.
38153 * sysdeps/sparc/sparc32/backtrace.h: New file.
38154 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38155 * sysdeps/sparc/sparc64/backtrace.h: New file.
38156 * sysdeps/sparc/sparc64/backtrace.c: Delete.
38157 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38160 2013-01-21 Andreas Schwab <schwab@suse.de>
38163 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38166 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
38168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38172 2013-01-18 Joseph Myers <joseph@codesourcery.com>
38173 Mark Mitchell <mark@codesourcery.com>
38174 Tom de Vries <tom@codesourcery.com>
38175 Paul Pluzhnikov <ppluzhnikov@google.com>
38177 * debug/tst-backtrace2.c: New file.
38178 * debug/tst-backtrace3.c: Likewise.
38179 * debug/tst-backtrace4.c: Likewise.
38180 * debug/tst-backtrace5.c: Likewise.
38181 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38182 (CFLAGS-tst-backtrace3.c): Likewise.
38183 (CFLAGS-tst-backtrace4.c): Likewise.
38184 (CFLAGS-tst-backtrace5.c): Likewise.
38185 (LDFLAGS-tst-backtrace2): Likewise.
38186 (LDFLAGS-tst-backtrace3): Likewise.
38187 (LDFLAGS-tst-backtrace4): Likewise.
38188 (LDFLAGS-tst-backtrace5): Likewise.
38189 (tests): Add new tests tst-backtrace2, tst-backtrace3,
38190 tst-backtrace4 and tst-backtrace5.
38192 2013-01-18 Anton Blanchard <anton@samba.org>
38193 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38195 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38196 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38197 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38198 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38200 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38201 "+r" and remove output regs list as redundant. Add explicit inline
38202 asm to specify register of return val to work around compiler codegen
38203 bug. Remove (int) cast on return value. Add return type parameter to
38204 use in macro so that this macro does not truncate return value for
38206 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38207 pass to INTERNAL_VSYSCALL_NCS.
38208 (INLINE_VSYSCALL): Add 'long int' as return type to
38209 INTERNAL_VSYSCALL_NCS macro invocation.
38210 (INTERNAL_VSYSCALL): Add 'long int' as return type to
38211 INTERNAL_VSYSCALL_NCS macro invocation.
38212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38214 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38217 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38218 Fix application of SIMD FP exception mask.
38220 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38221 mp_no from a power of two.
38222 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38223 __mpexp_twomm1. Use __pow_mp.
38225 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38228 2013-01-17 David S. Miller <davem@davemloft.net>
38230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38232 2013-01-17 Joseph Myers <joseph@codesourcery.com>
38235 * include/complex.h: Condition contents on [!_COMPLEX_H].
38236 (__kernel_casinhf): New prototype.
38237 (__kernel_casinh): Likewise.
38238 (__kernel_casinhl): Likewise.
38239 * math/Makefile (libm_calls): Add k_casinh.
38240 * math/k_casinh.c: New file.
38241 * math/k_casinhf.c: Likewise.
38242 * math/k_casinhl.c: Likewise.
38243 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38244 finite nonzero arguments.
38245 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38246 finite nonzero arguments.
38247 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38248 finite nonzero arguments.
38249 * math/s_casinh.c: Do not include <float.h>.
38250 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38251 * math/s_casinhf.c: Do not include <float.h>.
38252 (__casinhf): Move code for finite nonzero arguments to
38254 * math/s_casinhl.c: Do not include <float.h>.
38255 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38257 (__casinhl): Move code for finite nonzero arguments to
38259 * math/libm-test.inc (cacos_test): Add more tests.
38260 * sysdeps/i386/fpu/libm-test-ulps: Update.
38261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38263 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
38265 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38266 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38267 [!HAVE_MREMAP]: Remove [defined linux] case.
38268 * malloc/arena.c: Do not include <malloc-sysdep.h>.
38270 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38272 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38274 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
38276 * elf/elf.h (R_386_SIZE32): New relocation.
38277 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38279 (elf_machine_rela): Likewise.
38280 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38281 R_X86_64_SIZE64 and R_X86_64_SIZE32.
38283 2013-01-17 Joseph Myers <joseph@codesourcery.com>
38285 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38286 (FP_FAST_FMA): Do not define.
38287 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38288 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38289 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38290 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38291 !_SOFT_FLOAT]: Likewise.
38292 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38293 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38295 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38296 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38297 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38298 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38299 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38300 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38303 2013-01-16 Andreas Schwab <schwab@suse.de>
38306 * include/stdlib.h (__mktemp): Add declaration.
38307 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38308 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38310 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38312 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38314 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38315 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38316 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38318 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38319 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38321 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38323 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38324 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38325 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38327 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38328 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38330 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38332 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38334 2013-01-15 David S. Miller <davem@davemloft.net>
38336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38337 trunc{,f} to libm-sysdep_routes.
38338 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38348 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38349 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38350 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38351 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38352 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38353 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38356 nearbyint{,f} to libm-sysdep_routes.
38357 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38368 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38370 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38371 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38373 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38374 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38375 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38377 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38378 libc_feholdexcept and libc_fesetenv.
38380 2013-01-15 Mike Frysinger <vapier@gentoo.org>
38382 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38384 2013-01-14 David S. Miller <davem@davemloft.net>
38386 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38387 (SPARC_ASM_VIS2_IFUNC): Likewise.
38388 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38390 use of 'siam' instruction.
38391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38397 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38398 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38399 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38400 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38409 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38412 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38424 routines to libm-sysdep_routines.
38425 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38428 fdim/fdimf to libm-sysdep_routines.
38429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38437 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38438 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38439 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38440 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38442 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38444 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38445 to optimize copies.
38447 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38451 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38452 local variable MPTWO.
38453 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38456 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38458 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38461 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38463 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38465 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38467 * manual/pattern.texi (glob_t): Document gl_flags.
38468 (glob64_t): Likewise.
38470 2013-01-11 David S. Miller <davem@davemloft.net>
38472 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38473 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38474 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
38475 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38476 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38477 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38478 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38479 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38480 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38481 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38482 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38483 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38484 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38486 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38487 sparc V9 rather than using V8 code.
38488 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38489 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38491 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38493 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38496 2013-01-11 Roland McGrath <roland@hack.frob.com>
38498 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38499 not in the main loop.
38500 * configure: Regenerated.
38502 2013-01-11 Joseph Myers <joseph@codesourcery.com>
38504 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38505 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38507 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
38508 [!__GLIBC_HAVE_LONG_LONG] case.
38509 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38510 condition to just #else.
38511 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38512 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38513 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38514 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38516 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38517 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38518 #elif condition to just #else.
38519 * sysdeps/unix/sysv/linux/sys/sysmacros.h
38520 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38521 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38522 #elif condition to just #else.
38524 2013-01-11 Steve Ellcey <sellcey@mips.com>
38526 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38527 (EF_MIPS_ARCH_64): Fix value.
38528 (EF_MIPS_ARCH_32R2): New.
38529 (EF_MIPS_ARCH_64R2): New.
38531 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
38533 * Makeconfig (+link-pie-before-libc): New.
38534 (+link-pie-after-libc): Likewise.
38535 (+link-pie-tests): Likewise.
38536 (+link-pie): Rewritten.
38537 (link-before-libc): Remove $(config-LDFLAGS).
38538 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38539 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38540 (config-LDFLAGS): Renamed to ...
38541 (rtld-LDFLAGS): This.
38542 (rtld-tests-LDFLAGS): New macro.
38543 (link-libc-rpath-link): Likewise.
38544 (link-libc-tests-rpath-link): Likewise.
38545 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38546 (link-libc): Prepand $(link-libc-rpath-link).
38547 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38548 (test-program-prefix): New macro.
38549 (test-via-rtld-prefix): Likewise.
38550 (test-program-cmd): Likewise.
38551 (host-test-program-cmd): Likewise.
38552 * Makefile ($(common-objpfx)testrun.sh): Replace
38553 $(run-program-prefix) with $(test-program-prefix).
38554 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38556 ($(common-objpfx)shlib.lds): Likewise.
38557 (build-module-helper): Likewise.
38558 ($(common-objpfx)format.lds): Likewise.
38559 * Rules (binaries-pie-tests): New.
38560 (binaries-pie-notests): Likewise.
38561 (binaries-pie): Rewritten.
38562 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38563 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38564 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38565 (make-test-out): Replace $(host-built-program-cmd) with
38566 $(host-test-program-cmd).
38567 * config.make.in (build-hardcoded-path-in-tests): New variable.
38568 * configure.in (--enable-hardcoded-path-in-tests): New configure
38570 (hardcoded_path_in_tests): New AC_SUBST.
38571 * configure: Regenerated.
38572 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38573 $(built-program-cmd) with $(test-program-cmd).
38574 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38575 (test_program_cmd): This.
38576 * elf/Makefile ($(objpfx)order.out): Run test with
38577 $(test-program-prefix).
38578 ($(objpfx)order2.out): Likewise.
38579 ($(objpfx)tst-initorder.out): Likewise.
38580 ($(objpfx)tst-initorder2.out): Likewise.
38581 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38582 $(test-program-cmd).
38583 ($(objpfx)tst-array1-static.out): Likewise.
38584 ($(objpfx)tst-array2.out): Likewise.
38585 ($(objpfx)tst-array3.out): Likewise.
38586 ($(objpfx)tst-array4.out): Likewise.
38587 ($(objpfx)tst-array5.out): Likewise.
38588 ($(objpfx)tst-array5-static.out): Likewise.
38589 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38590 $(test-program-cmd).
38591 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38592 $(run-program-prefix) with $(test-program-prefix).
38593 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38594 (test_program_prefix): This.
38595 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38596 $(run-program-prefix) with $(test-program-prefix).
38597 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38598 (test_program_prefix): This.
38599 * iconvdata/tst-tables.sh: Likewise.
38600 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38601 $(run-program-prefix) with $(test-program-prefix).
38602 ($(objpfx)tst-translit.out): Likewise.
38603 ($(objpfx)tst-gettext2.out): Likewise.
38604 ($(objpfx)tst-gettext4.out): Likewise.
38605 ($(objpfx)tst-gettext6.out): Likewise.
38606 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38607 (test_program_prefix): This.
38608 * intl/tst-gettext2.sh: Likewise.
38609 * intl/tst-gettext4.sh Likewise.
38610 * intl/tst-gettext6.sh: Likewise.
38611 * intl/tst-translit.sh: Likewise.
38612 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38613 with $(test-program-cmd).
38614 * libio/Makefile ($(objpfx)test-freopen.out): Replace
38615 $(run-program-prefix) with $(test-program-prefix).
38616 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38617 (test_program_prefix): This.
38618 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38619 $(run-program-prefix) with $(test-program-prefix).
38620 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38621 (test_program_prefix): This.
38622 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38623 * posix/Makefile ($(objpfx)globtest.out): Replace
38624 $(run-via-rtld-prefix) and $(test-wrapper) with
38625 $(test-program-prefix) and $(test-via-rtld-prefix).
38626 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38627 $(test-program-prefix).
38628 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38629 $(host-test-program-cmd).
38630 (tst-spawn-ARGS): Likewise.
38631 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38632 $(test-program-prefix).
38633 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38634 (test_via_rtld_prefix): This.
38635 (test_wrapper): Renamed to ...
38636 (test_program_prefix): This.
38637 (run_program_prefix): Replaced by test_program_prefix.
38638 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38639 (test_program_prefix): This.
38640 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38641 with $(host-test-program-cmd).
38642 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38643 $(run-program-prefix) with $(test-program-prefix).
38644 ($(objpfx)tst-printf.out): Likewise.
38645 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38646 $(test-program-cmd).
38647 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38648 (test_program_prefix): This.
38649 * stdio-common/tst-unbputc.sh: Likewise.
38650 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38651 $(run-program-prefix) with $(test-program-prefix).
38652 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38653 (test_program_prefix): This.
38654 * string/Makefile ($(objpfx)tst-svc.out): Replace
38655 $(built-program-cmd) with $(test-program-cmd).
38657 2013-01-11 Andreas Jaeger <aj@suse.de>
38660 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38661 value. Sync with Linux 3.7.
38663 2013-01-10 David S. Miller <davem@davemloft.net>
38665 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38666 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38667 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38669 2013-01-10 Roland McGrath <roland@hack.frob.com>
38671 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38673 * configure: Regenerated.
38675 2013-01-10 David S. Miller <davem@davemloft.net>
38677 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38678 sparc V9 rather than using V8 code.
38679 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38680 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38682 2013-01-10 Roland McGrath <roland@hack.frob.com>
38684 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38685 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38686 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38687 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38688 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38689 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38690 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38691 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38692 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38693 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38694 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38695 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38696 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38697 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38698 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38699 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38700 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38701 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38702 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38703 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38704 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38705 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38706 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38707 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38708 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38709 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38710 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38712 2013-01-10 David S. Miller <davem@davemloft.net>
38714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38716 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38718 * posix/Makefile (tests-static): New variable.
38719 (tests): Add $(tests-static).
38720 (tst-exec-static-ARGS): New variable.
38721 (tst-spawn-static-ARGS): Likewise.
38722 * posix/tst-exec-static.c: New file.
38723 * posix/tst-spawn-static.c: Likewise.
38724 * posix/tst-exec.c: Support run directly.
38725 * posix/tst-spawn.c: Likewise.
38727 2013-01-10 Joseph Myers <joseph@codesourcery.com>
38729 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38731 * math/bits/mathcalls.h (llrint): Likewise.
38732 (llround): Likewise.
38733 * stdlib/stdlib.h (struct drand48_data): Likewise.
38734 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38735 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38736 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38738 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38740 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38741 (elf_greg_t): Likewise.
38742 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38743 (__jmp_buf): Likewise.
38744 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38746 (llrint): Likewise, for all definitions.
38747 (llrintl): Likewise.
38749 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38750 Remove [__GNUC__] condition.
38751 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38752 condition to just [__USE_ISOC99].
38753 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38755 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38758 * sysdeps/unix/sysv/linux/x86/bits/environments.h
38759 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38761 (_POSIX_V6_ILP32_OFF32): Likewise.
38762 (_XBS5_ILP32_OFF32): Likewise.
38763 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38764 (__ILP32_OFFBIG_LDFLAGS): Likewise.
38766 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38768 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38770 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38771 doubles __mpexp_twomm1. Adjust usage.
38772 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38775 2013-01-10 Andreas Schwab <schwab@suse.de>
38778 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38779 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38781 2013-01-09 David S. Miller <davem@davemloft.net>
38784 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38785 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38786 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38787 (TCP_FASTOPEN): Define.
38788 (tcp_repair_opt): New structure.
38789 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38791 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38792 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38793 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38794 (tcp_cookie_transactions): New structure.
38796 2013-01-09 Anton Blanchard <anton@samba.org>
38798 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38799 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38800 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38801 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38803 2013-01-09 Joseph Myers <joseph@codesourcery.com>
38805 * include/features.h (__USE_ANSI): Remove.
38807 2013-01-09 Roland McGrath <roland@hack.frob.com>
38809 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38811 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38813 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
38815 * sysdeps/s390/fpu/libm-test-ulps: Update.
38817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38819 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38823 (denorm): Likewise.
38824 (__mp_dbl): Likewise.
38825 (__dbl_mp): Likewise.
38826 (add_magnitudes): Likewise.
38827 (sub_magnitudes): Likewise.
38833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38837 (denorm): Likewise.
38838 (__mp_dbl): Likewise.
38839 (__dbl_mp): Likewise.
38840 (add_magnitudes): Likewise.
38841 (sub_magnitudes): Likewise.
38847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38851 (denorm): Likewise.
38852 (__mp_dbl): Likewise.
38853 (__dbl_mp): Likewise.
38854 (add_magnitudes): Likewise.
38855 (sub_magnitudes): Likewise.
38862 2013-01-08 Joseph Myers <joseph@codesourcery.com>
38864 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38865 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38866 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38867 2 && __USE_EXTERN_INLINES]: Likewise.
38869 2013-01-08 Andreas Jaeger <aj@suse.de>
38872 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38874 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38875 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38877 2013-01-07 Anton Blanchard <anton@samba.org>
38879 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38880 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38881 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38882 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38883 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38884 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38885 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38886 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38888 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38889 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38890 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38891 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38892 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38893 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38894 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38895 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38896 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38897 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38898 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38899 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38900 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38901 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38902 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38903 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38904 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38905 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38906 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38907 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38908 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38909 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38911 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38912 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38913 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38914 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38915 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38916 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38917 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38918 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38919 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38920 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38921 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38923 2013-01-07 Joseph Myers <joseph@codesourcery.com>
38925 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38926 (__MALLOC_PMT): Likewise.
38927 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38928 [__GNUC__], only on [_LIBC].
38929 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38930 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38931 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38932 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38933 forward declaration.
38934 (realloc_hook_ini): Likewise.
38935 (memalign_hook_ini): Likewise.
38936 (__libc_memalign): Do not use __MALLOC_PMT in variable
38938 (__libc_valloc): Likewise.
38939 (__libc_pvalloc): Likewise.
38940 (__libc_calloc): Likewise.
38941 (__posix_memalign): Likewise.
38944 * math/s_casinh.c: Include <float.h>.
38945 (__casinh): Do not do computation with squaring and square root
38946 for large arguments.
38947 * math/s_casinhf.c: Include <float.h>.
38948 (__casinhf): Do not do computation with squaring and square root
38949 for large arguments.
38950 * math/s_casinhl.c: Include <float.h>.
38951 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38952 (__casinhl): Do not do computation with squaring and square root
38953 for large arguments.
38954 * math/libm-test.inc (casin_test): Add more tests.
38955 (casinh_test): Likewise.
38956 * sysdeps/i386/fpu/libm-test-ulps: Update.
38957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38959 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
38961 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38962 (__x86_64_raw_data_cache_size): Likewise.
38963 (__x86_64_data_cache_size_half): Likewise.
38964 (__x86_64_raw_data_cache_size_half): Likewise.
38965 (__x86_64_shared_cache_size): Likewise.
38966 (__x86_64_raw_shared_cache_size): Likewise.
38967 (__x86_64_shared_cache_size_half): Likewise.
38968 (__x86_64_raw_shared_cache_size_half): Likewise.
38969 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38971 (__x86_data_cache_size): This.
38972 (__x86_64_raw_data_cache_size): Renamed to ...
38973 (__x86_raw_data_cache_size): This.
38974 (__x86_64_data_cache_size_half): Renamed to ...
38975 (__x86_data_cache_size_half): This.
38976 (__x86_64_raw_data_cache_size_half): Renamed to ...
38977 (__x86_raw_data_cache_size_half): This.
38978 (__x86_64_shared_cache_size): Renamed to ...
38979 (__x86_shared_cache_size): This.
38980 (__x86_64_raw_shared_cache_size): Renamed to ...
38981 (__x86_raw_shared_cache_size): This.
38982 (__x86_64_shared_cache_size_half): Renamed to ...
38983 (__x86_shared_cache_size_half): This.
38984 (__x86_64_raw_shared_cache_size_half): Renamed to ...
38985 (__x86_raw_shared_cache_size_half): This.
38986 * sysdeps/x86_64/memcpy.S: Updated.
38987 * sysdeps/x86_64/memset.S: Likewise.
38988 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38989 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38990 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38992 2013-01-04 David S. Miller <davem@davemloft.net>
38994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38996 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
38998 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38999 1 to avoid redefinition warning.
39000 (__USE_GNU): Don't define.
39001 (init_signaling_nan): Protoize.
39003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39005 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39007 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
39008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
39009 (__cpymn): Likewise.
39010 (norm): Remove commented code.
39011 (denorm): Likewise.
39012 (__mp_dbl): Likewise.
39014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
39015 (__cpymn): Likewise.
39016 (norm): Remove commented code.
39017 (denorm): Likewise.
39018 (__mp_dbl): Likewise.
39021 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
39022 mp_no value for 1.0 and 2.0.
39023 (norm): Use RADIXI instead of radixi.d.
39024 (denorm): Likewise.
39025 (__mul): Use 0.0 instead of zero.d.
39026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
39027 mp_no value for 1.0 and 2.0.
39028 (norm): Use RADIXI instead of radixi.d.
39029 (denorm): Likewise.
39030 (__mul): Use 0.0 instead of zero.d.
39032 2013-01-04 Joseph Myers <joseph@codesourcery.com>
39035 * math/s_casinh.c (__casinh): Reduce finite argument to first
39036 quadrant then set signs of results at the end.
39037 * math/s_casinhf.c (__casinhf): Likewise.
39038 * math/s_casinhl.c (__casinhl): Likewise.
39039 * math/libm-test.inc (casin_test): Add more tests.
39040 (casinh_test): Likewise.
39041 * sysdeps/i386/fpu/libm-test-ulps: Update.
39042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39044 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39046 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
39048 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
39050 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
39052 (denorm): Likewise.
39053 (__mp_dbl): Likewise.
39056 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
39057 and adjust the header comment.
39059 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
39060 variable name from declaration.
39062 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
39064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39065 Initialize COMMON_CPUID_INDEX_7 element.
39066 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
39067 (CPUID_RTM): Likewise.
39068 (HAS_RTM): Likewise.
39069 (COMMON_CPUID_INDEX_7): New enum.
39071 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
39074 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
39075 size is zero, record memory as freed.
39077 2013-01-03 Andreas Jaeger <aj@suse.de>
39079 * po/ia.po: Add new Interlingua translation.
39081 2012-01-03 Allan McRae <allan@archlinux.org>
39083 * locale/programs/localedef.c: Fix description of '--posix' flag.
39085 2013-01-02 Joseph Myers <joseph@codesourcery.com>
39087 * NEWS: Update dates in second copyright notice.
39088 * README: Update copyright dates in example.
39089 * manual/libc.texinfo: Update copyright dates.
39090 * scripts/test-installation.pl: Update copyright date in --version
39093 * hurd/ctty-input.c: Fix copyright notice formatting.
39094 * hurd/ctty-output.c: Likewise.
39095 * hurd/dtable.c: Likewise.
39096 * hurd/hurd-raise.c: Likewise.
39097 * hurd/hurdprio.c: Likewise.
39098 * hurd/msgportdemux.c: Likewise.
39099 * misc/sys/file.h: Likewise.
39100 * misc/sys/ioctl.h: Likewise.
39101 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39102 * sysdeps/mach/hurd/chdir.c: Likewise.
39103 * sysdeps/mach/hurd/fchdir.c: Likewise.
39104 * sysdeps/mach/hurd/rename.c: Likewise.
39105 * sysdeps/mach/hurd/rmdir.c: Likewise.
39106 * sysdeps/mach/hurd/seekdir.c: Likewise.
39107 * sysdeps/mach/hurd/setsid.c: Likewise.
39108 * sysdeps/posix/wait3.c: Likewise.
39110 * All files with FSF copyright notices: Update copyright dates
39111 using scripts/update-copyrights.
39112 * intl/plural.c: Regenerated.
39113 * locale/programs/charmap-kw.h: Likewise.
39114 * locale/programs/locfile-kw.h: Likewise.
39116 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39118 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39121 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39122 calculation loop and add branch prediction.
39124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39125 check access beyond bounds of m1np.
39127 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39129 (__inv): Remove local variable MPTWO to use the global
39131 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39132 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39134 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39135 MP3HALFS static const.
39137 2013-01-01 David S. Miller <davem@davemloft.net>
39139 * po/ca.po: Update from translation team.
39141 2013-01-01 Joseph Myers <joseph@codesourcery.com>
39143 * scripts/update-copyrights: New file.
39144 * Makeconfig: Reformat copyright notice.
39145 * ctype/ctype.h: Likewise.
39146 * debug/swprintf_chk.c: Likewise.
39147 * elf/dl-cache.c: Likewise.
39148 * elf/dl-debug.c: Likewise.
39149 * elf/dl-object.c: Likewise.
39150 * grp/initgroups.c: Likewise.
39151 * hurd/Makefile: Likewise.
39152 * hurd/hurd/signal.h: Likewise.
39153 * hurd/hurdfault.c: Likewise.
39154 * hurd/hurdioctl.c: Likewise.
39155 * hurd/hurdlookup.c: Likewise.
39156 * hurd/intr-msg.c: Likewise.
39157 * iconv/gconv_open.c: Likewise.
39158 * libio/swprintf.c: Likewise.
39159 * locale/lc-ctype.c: Likewise.
39160 * locale/nl_langinfo.c: Likewise.
39161 * mach/Machrules: Likewise.
39162 * mach/Makefile: Likewise.
39163 * malloc/obstack.h: Likewise.
39164 * manual/Makefile: Likewise.
39165 * manual/tsort.awk: Likewise.
39166 * misc/bits/stab.def: Likewise.
39167 * nis/nis_print_group_entry.c: Likewise.
39168 * nis/nis_table.c: Likewise.
39169 * nis/nss_compat/compat-pwd.c: Likewise.
39170 * nis/nss_compat/compat-spwd.c: Likewise.
39171 * po/Makefile: Likewise.
39172 * posix/fnmatch.c: Likewise.
39173 * posix/regex.h: Likewise.
39174 * resolv/Makefile: Likewise.
39175 * resolv/nss_dns/dns-network.c: Likewise.
39176 * resolv/res_hconf.c: Likewise.
39177 * scripts/gen-sorted.awk: Likewise.
39178 * soft-fp/soft-fp.h: Likewise.
39179 * stdio-common/printf.h: Likewise.
39180 * stdlib/monetary.h: Likewise.
39181 * stdlib/random.c: Likewise.
39182 * stdlib/random_r.c: Likewise.
39183 * sysdeps/generic/Makefile: Likewise.
39184 * sysdeps/gnu/Makefile: Likewise.
39185 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39186 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39187 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39188 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39189 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39190 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39191 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39192 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39193 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39194 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39195 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39196 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39197 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39198 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39199 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39200 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39201 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39202 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39203 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39204 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39205 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39206 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39207 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39208 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39209 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39210 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39211 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39212 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39213 * sysdeps/mach/hurd/errnos.awk: Likewise.
39214 * sysdeps/mach/hurd/fork.c: Likewise.
39215 * sysdeps/mach/hurd/getcwd.c: Likewise.
39216 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39217 * sysdeps/mach/hurd/mmap.c: Likewise.
39218 * sysdeps/mach/hurd/utimes.c: Likewise.
39219 * sysdeps/mach/hurd/xmknod.c: Likewise.
39220 * sysdeps/posix/profil.c: Likewise.
39221 * sysdeps/posix/readdir_r.c: Likewise.
39222 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39223 * sysdeps/powerpc/bits/setjmp.h: Likewise.
39224 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39225 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39227 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39228 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39229 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39231 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39232 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39233 * sysdeps/pthread/lio_listio.c: Likewise.
39234 * sysdeps/sparc/dl-procinfo.h: Likewise.
39235 * sysdeps/unix/i386/sysdep.S: Likewise.
39236 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39237 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39238 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39239 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39241 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39242 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39243 * sysdeps/unix/sysv/linux/speed.c: Likewise.
39244 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39245 * sysdeps/wordsize-32/divdi3.c: Likewise.
39246 * time/sys/time.h: Likewise.
39247 * wcsmbs/Makefile: Likewise.
39249 2013-01-01 David S. Miller <davem@davemloft.net>
39251 * po/fr.po: Update from translation team.
39253 * catgets/gencat.c: Update copyright year.
39254 * csu/version.c: Likewise.
39255 * debug/catchsegv.sh: Likewise.
39256 * debug/pcprofiledump.c: Likewise.
39257 * debug/xtrace.sh: Likewise.
39258 * elf/ldconfig.c: Likewise.
39259 * elf/ldd.bash.in: Likewise.
39260 * elf/pldd.c: Likewise.
39261 * elf/sotruss.ksh: Likewise.
39262 * elf/sprof.c: Likewise.
39263 * iconv/iconv_prog.c: Likewise.
39264 * iconv/iconvconfig.c: Likewise.
39265 * locale/programs/locale.c: Likewise.
39266 * locale/programs/localedef.c: Likewise.
39267 * login/programs/pt_chown.c: Likewise.
39268 * malloc/memusage.sh: Likewise.
39269 * malloc/memusagestat.c: Likewise.
39270 * malloc/mtrace.pl: Likewise.
39271 * nscd/nscd.c: Likewise.
39272 * nss/getent.c: Likewise.
39273 * nss/makedb.c: Likewise.
39274 * posix/getconf.c: Likewise.
39276 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39278 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39281 2012-12-30 Mike Frysinger <vapier@gentoo.org>
39283 * math/bits/mathcalls.h (modf): Use __nonnull.
39285 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39287 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39288 (split): Use macro CN instead of the bare value.
39289 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39291 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39292 instead of the bare value.
39293 (power1): Likewise.
39295 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39297 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39299 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39301 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39303 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39304 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39305 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39306 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39308 2012-12-28 Andreas Jaeger <aj@suse.de>
39310 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
39311 values are from Linux 3.7.
39313 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39314 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
39316 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39318 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39321 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39323 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39324 variables with preprocessor constants.
39325 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39326 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39327 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39329 2012-12-27 Bruno Haible <bruno@clisp.org>
39332 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39335 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39337 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39338 and use variable directly.
39339 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39341 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39343 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39344 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39346 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39347 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39348 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39349 include directive. Remove local variable MPONE.
39350 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39351 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39352 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39354 2012-12-25 David S. Miller <davem@davemloft.net>
39356 * version.h (RELEASE): Set to "development".
39357 (VERSION): Set to "2.17.90".
39358 * NEWS: Add 2.18 section.
39360 2012-12-21 David S. Miller <davem@davemloft.net>
39362 * po/hr.po: Update from translation team.
39364 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39366 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39368 2012-12-19 Steve Ellcey <sellcey@mips.com>
39370 * NEWS: Mention new memcpy for MIPS.
39372 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39374 * manual/contrib.texi (Contributors): Spelling correction.
39376 2012-12-15 David S. Miller <davem@davemloft.net>
39378 * po/ru.po: Update from translation team.
39380 2012-12-13 David S. Miller <davem@davemloft.net>
39382 * NEWS: Mention IFUNC testsuite enhancements.
39384 * po/pl.po: Update from translation team.
39385 * po/bg.po: Likewise.
39387 * manual/contrib.texi (Contributors): Update entries for Hongjiu
39388 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
39390 2012-12-11 David S. Miller <davem@davemloft.net>
39392 * po/sv.po: Update from translation team.
39394 * po/vi.po: Update from translation team.
39396 * po/cs.po: Update from translation team.
39398 * po/de.po: Update from translation team.
39399 * po/eo.po: Likewise.
39400 * po/nl.po: Likewise.
39402 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39405 * manual/argp.texi (Argp Helper Functions): Move node to follow
39406 Argp Parsing State.
39409 * manual/conf.texi (Limits on File System Capacity): Mention if
39410 terminating null is included in the max size.
39412 2012-12-10 Andreas Jaeger <aj@suse.de>
39414 * po/cs.po: Update from translation team.
39416 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39418 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39419 void pointer and cast to uintptr_t.
39420 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39422 * sysdeps/s390/s390-64/memcpy.S: Likewise.
39423 * sysdeps/s390/s390-64/memset.S: Likewise.
39425 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
39428 * menual/message.texi (Message Translation): Fix typos.
39429 (Helper programs for gettext): Likewise.
39431 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
39434 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39437 2012-12-07 David S. Miller <davem@davemloft.net>
39439 * po/libc.pot: Update.
39441 2012-12-07 Richard Henderson <rth@redhat.com>
39444 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39445 normal/normal case to before the switch.
39446 (_FP_DIV): Likewise.
39448 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
39449 Mike Frysinger <vapier@gentoo.org>
39451 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39452 check for __NR_fadvise64_64.
39454 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
39456 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39457 0, not just to plain "0" as a statement.
39458 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39461 2012-12-06 Joseph Myers <joseph@codesourcery.com>
39463 * NEWS: Use sourceware.org in Bugzilla URL.
39465 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39468 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39470 * stdio-common/tst-put-error.c (do_test): Add newline to the
39471 padded test to ensure flush.
39473 2012-12-05 Jeff Law <law@redhat.com>
39475 * sunrpc/etc.rpc (fedfs_admin): Add entry.
39477 2012-12-05 Joseph Myers <joseph@codesourcery.com>
39479 * README: Don't refer to ports add-on as distributed separately.
39480 Mention AArch64 in list of systems supported in the ports add-on.
39482 * LICENSES: Add more non-FSF copyright and license notices.
39484 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39487 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39489 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39490 10000 as width of padded output.
39492 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39494 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39496 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39497 variable LX with __attribute__ ((unused)).
39498 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39500 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39501 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39502 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39503 with __attribute__ ((unused)).
39505 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
39507 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39509 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39511 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39512 (CFLAGS-nldbl-acos.c): New variable.
39513 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39514 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39515 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39516 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39517 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39518 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39519 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39520 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39521 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39522 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39523 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39524 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39525 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39526 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39527 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39528 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39529 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39530 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39531 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39532 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39533 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39534 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39535 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39536 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39537 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39538 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39539 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39540 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39541 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39542 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39543 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39544 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39545 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39546 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39547 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39548 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39549 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39550 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39551 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39552 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39553 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39554 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39555 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39556 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39557 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39558 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39559 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39560 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39561 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39562 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39563 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39564 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39565 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39566 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39567 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39568 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39569 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39570 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39571 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39572 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39573 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39574 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39575 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39576 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39577 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39578 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39579 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39580 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39581 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39582 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39583 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39584 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39585 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39586 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39587 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39588 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39589 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39590 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39591 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39592 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39593 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39594 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39595 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39596 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39597 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39598 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39599 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39600 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39601 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39602 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39603 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39604 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39605 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39606 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39607 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39608 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39609 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39612 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39615 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39616 whole low double instead of just low 47 bits when splitting values
39619 2012-12-03 Allan McRae <allan@archlinux.org>
39621 * manual/stdio.texi (Predefined Printf Handlers): Remove
39622 @hsep and @vsep usage.
39624 2012-12-03 Mike Frysinger <vapier@gentoo.org>
39626 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39627 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39629 2012-12-03 Jeff Law <law@redhat.com>
39631 * time/sys/time.h (settimeofday): Do not mark TV argument
39634 2012-12-01 Mike Frysinger <vapier@gentoo.org>
39636 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39637 when currently writing and seek to current position when not.
39638 * libio/Makefile (tests): Remove bug-fclose1.
39639 * libio/bug-fclose1.c: Delete.
39641 2012-12-01 Joseph Myers <joseph@codesourcery.com>
39643 * manual/arith.texi (feenableexcept): Fix typo.
39644 (fedisableexcept): Likewise.
39646 2012-11-30 Roland McGrath <roland@hack.frob.com>
39648 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39649 second, differently-typed declaration, rather than a cast.
39651 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39653 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39654 * include/rpc/svc.h: ... here.
39656 2012-11-30 Aurelien Jarno <aurel32@debian.org>
39659 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39660 depending n and resplen2 to catch cases where answer
39663 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
39665 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39666 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39668 2012-11-29 Mike Frysinger <vapier@gentoo.org>
39670 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39672 2012-11-29 Roland McGrath <roland@hack.frob.com>
39674 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39676 2012-11-28 Jeff Law <law@redhat.com>
39679 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39680 dataset_temporary. Track alloca usage into alloca_used.
39681 If dataset is large allocate and release it via malloc/free.
39683 2012-06-04 Florian Weimer <fweimer@redhat.com>
39686 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39688 2012-11-28 David S. Miller <davem@davemloft.net>
39690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39692 2012-11-28 Joseph Myers <joseph@codesourcery.com>
39695 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39696 of pi/2 rounded to nearest to 64 bits.
39697 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39698 nearest to 64 bits.
39699 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39702 2012-11-28 Jeff Law <law@redhat.com>
39703 Martin Osvald <mosvald@redhat.com>
39706 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39707 * sunrpc/svc.c: Include time.h.
39708 (__svc_accept_failed): New function.
39709 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39710 any reason other than EINTR, call __svc_accept_failed.
39711 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39712 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39714 2012-11-28 Andreas Schwab <schwab@suse.de>
39716 * scripts/abilist.awk: Also handle indirect functions in .opd
39719 2012-11-28 Joseph Myers <joseph@codesourcery.com>
39722 * sysdeps/x86/fpu/powl_helper.c: New file.
39723 * sysdeps/x86/fpu/Makefile: Likewise.
39724 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39726 (__ieee754_powl): Use __powl_helper for finite arguments except
39727 integer exponents below 8.
39728 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39730 (__ieee754_powl): Use __powl_helper for finite arguments except
39731 integer exponents below 8.
39732 * math/libm-test.inc (pow_test): Add more tests and enable some
39733 previously disabled tests.
39734 * sysdeps/i386/fpu/libm-test-ulps: Update.
39735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39737 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39738 Carlos O'Donell <carlos_odonell@mentor.com>
39740 * nss/makedb.c (is_prime): Assert that input is odd and greater
39741 than 4. Note that fact in a comment too.
39742 (next_prime): Add 4 to input.
39744 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39747 * libio/Makefile (tests): Add test case tst-fwrite-error.
39748 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39749 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39750 * libio/tst-fwrite-error.c: New test case.
39752 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
39754 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39755 before casting to void *.
39756 * include/libc-internal.h (__pointer_type): New macro.
39757 (__integer_if_pointer_type_sub): Likewise.
39758 (__integer_if_pointer_type): Likewise.
39759 (cast_to_integer): Likewise.
39760 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39761 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39762 before casting to atomic64_t.
39763 (atomic_exchange_acq): Likewise.
39764 (__arch_exchange_and_add_body): Likewise.
39765 (__arch_add_body): Likewise.
39766 (atomic_add_negative): Likewise.
39767 (atomic_add_zero): Likewise.
39769 2012-11-26 Joseph Myers <joseph@codesourcery.com>
39771 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39772 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39773 (add_fdes): Likewise.
39774 (linear_search_fdes): Likewise.
39775 (binary_search_unencoded_fdes): Likewise.
39777 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
39779 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39781 2012-11-24 Adam Conrad <adconrad@0c3.net>
39783 * configure.in: Autodetect C++ header directories.
39784 * configure: Regenerated.
39786 2012-11-23 Mike Frysinger <vapier@gentoo.org>
39788 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39790 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
39792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39794 2012-11-22 Joseph Myers <joseph@codesourcery.com>
39796 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39797 LDBL_MANT_DIG == 106]: Disable some tests.
39798 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39800 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39804 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39805 input for small inputs. Return +/- pi/2 for large inputs.
39806 * math/libm-test.inc (atan_test): Add more tests.
39808 * sysdeps/generic/unwind-dw2-fde-glibc.c
39809 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39810 __attribute__ ((unused)).
39813 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39814 x * y if x and y are nonzero and z is zero.
39817 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39818 nonzero exponents with absolute value below 0x1p-117 to +/-
39822 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39823 up arguments below 2**-450, not just those below 2**-500.
39824 * math/libm-test.inc (hypot_test): Add another test.
39827 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39828 Return a+b for ratio over 2**120, not 2**60.
39829 * math/libm-test.inc (hypot_test): Add another test.
39831 * math/libm-test.inc (clog_test): Use
39832 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39833 (clog10_test): Likewise.
39836 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39838 2012-11-22 Andreas Schwab <schwab@suse.de>
39840 * sysdeps/i386/fpu/libm-test-ulps: Update.
39842 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
39844 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39845 printf output with newline.
39847 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
39850 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39851 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39852 -z nodlopen, -z initfirst and -z execstack support.
39853 * configure: Regenerated.
39855 * elf/elf.h (DF_1_NODIRECT): New macro.
39856 (DF_1_IGNMULDEF): Likewise.
39857 (DF_1_NOKSYMS): Likewise.
39858 (DF_1_NOHDR): Likewise.
39859 (DF_1_EDITED): Likewise.
39860 (DF_1_NORELOC): Likewise.
39861 (DF_1_SYMINTPOSE): Likewise.
39862 (DF_1_GLOBAUDIT): Likewise.
39863 (DF_1_SINGLETON): Likewise.
39864 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39865 DT_1_SUPPORTED_MASK bits.
39866 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39868 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
39870 * sysdeps/unix/make-syscalls.sh: Document prefixes.
39872 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
39874 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39877 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39878 (sendmmsg): Move declarations...
39879 * socket/sys/socket.h: ... here.
39880 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39881 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39883 * socket/recvmmsg.c: ... this new file.
39884 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39885 (sendmmsg): Rename to __sendmmsg, create weak alias and make
39886 definition of __sendmmsg hidden.
39887 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39888 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39889 Move ENOSYS stub into and include it from...
39890 * socket/sendmmsg.c: ... this new file.
39891 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39892 (sysdep_routines): Move recvmmsg and sendmmsg...
39893 * socket/Makefile (routines): ... here.
39894 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39895 (GLIBC_PRIVATE): Add __sendmmsg.
39896 * include/sys/socket.h (__sendmmsg): Add declarations.
39897 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39900 2012-11-20 Joseph Myers <joseph@codesourcery.com>
39902 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39903 variable I1 with __attribute__ ((unused)).
39904 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39906 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39908 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39909 DUMMY variables with __attribute__ ((unused)).
39911 * bits/byteswap.h: Include <bits/types.h>.
39912 (__bswap_64): Use __uint64_t instead of unsigned long long int.
39914 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39916 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39917 string_t. Do not manually set errno.
39918 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39919 length with __strnlen. Make sure to both set errno and return it on
39922 2012-11-19 David S. Miller <davem@davemloft.net>
39924 With help from Joseph Myers.
39925 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39926 very large arguments properly.
39927 * math/libm-test.inc (atan_test): New tests.
39928 (atan2_test): New tests.
39929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39932 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39935 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39938 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39939 [POSIX] (EADDRNOTAVAIL): Likewise.
39940 [POSIX] (EAFNOSUPPORT): Likewise.
39941 [POSIX] (EALREADY): Likewise.
39942 [POSIX] (ECONNABORTED): Likewise.
39943 [POSIX] (ECONNREFUSED): Likewise.
39944 [POSIX] (ECONNRESET): Likewise.
39945 [POSIX] (EDESTADDRREQ): Likewise.
39946 [POSIX] (EDQUOT): Likewise.
39947 [POSIX] (EHOSTUNREACH): Likewise.
39948 [POSIX] (EIDRM): Likewise.
39949 [POSIX] (EISCONN): Likewise.
39950 [POSIX] (ELOOP): Likewise.
39951 [POSIX] (EMULTIHOP): Likewise.
39952 [POSIX] (ENETDOWN): Likewise.
39953 [POSIX] (ENETUNREACH): Likewise.
39954 [POSIX] (ENOBUFS): Likewise.
39955 [POSIX] (ENODATA): Likewise.
39956 [POSIX] (ENOLINK): Likewise.
39957 [POSIX] (ENOMSG): Likewise.
39958 [POSIX] (ENOPROTOOPT): Likewise.
39959 [POSIX] (ENOSR): Likewise.
39960 [POSIX] (ENOSTR): Likewise.
39961 [POSIX] (ENOTCONN): Likewise.
39962 [POSIX] (ENOTSOCK): Likewise.
39963 [POSIX] (EOPNOTSUPP): Likewise.
39964 [POSIX] (EOVERFLOW): Likewise.
39965 [POSIX] (EPROTO): Likewise.
39966 [POSIX] (EPROTONOSUPPORT): Likewise.
39967 [POSIX] (EPROTOTYPE): Likewise.
39968 [POSIX] (ESTALE): Likewise.
39969 [POSIX] (ETIME): Likewise.
39970 [POSIX] (ETXTBSY): Likewise.
39971 [POSIX] (EWOULDBLOCK): Likewise.
39972 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39973 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39974 [POSIX] (SEEK_CUR): Likewise.
39975 [POSIX] (SEEK_END): Likewise.
39976 [POSIX || UNIX98] (mode_t): Do not require.
39977 [POSIX] (off_t): Likewise.
39978 [POSIX] (pid_t): Likewise.
39979 [POSIX] (sys/stat.h): Do not allow header.
39980 [POSIX] (unistd.h): Likewise.
39981 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39982 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39983 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39984 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39986 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39987 sigevent): Specify elements.
39988 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39990 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39991 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39993 * conform/data/cpio.h-data [POSIX]: Disable whole file.
39994 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39995 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39996 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39997 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39998 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39999 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
40000 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
40001 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
40002 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
40003 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
40004 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
40005 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
40006 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
40008 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
40010 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
40012 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
40014 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
40015 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
40016 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
40017 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
40018 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
40019 Specify lower bound on value.
40020 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
40021 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
40022 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
40023 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
40024 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
40025 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
40026 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
40027 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
40029 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
40031 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
40032 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
40033 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
40034 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
40035 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
40036 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
40037 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
40038 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
40039 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
40040 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
40041 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
40042 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
40043 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
40044 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
40045 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
40046 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
40048 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
40050 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
40051 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
40052 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
40053 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
40054 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
40055 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
40057 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
40058 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
40059 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
40060 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
40061 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
40062 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
40063 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
40065 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
40066 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
40067 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
40068 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
40069 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
40070 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
40071 specify as optional.
40072 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
40073 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
40074 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
40075 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
40076 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
40077 [XPG3] (NL_LANGMAX): Likewise.
40078 [POSIX || XPG3] (NL_MSGMAX): Likewise.
40079 [POSIX || XPG3] (NL_NMAX): Likewise.
40080 [POSIX || XPG3] (NL_SETMAX): Likewise.
40081 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
40082 [XPG3] (NZERO): Likewise.
40083 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
40084 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
40085 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
40086 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
40087 (REG_ERANGE): Expect.
40088 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
40090 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
40091 Use (void) in prototype.
40092 [POSIX] (*_t): Allow.
40093 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
40094 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40095 (WRDE_BADVAL): Expect.
40097 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40099 [XPG3 || XPG4] (O_RSYNC): Likewise.
40100 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40102 [XPG3 || XPG4] (pthread_sigmask): Likewise.
40103 [XPG3 || XPG4] (sigqueue): Likewise.
40104 [XPG3 || XPG4] (sigtimedwait): Likewise.
40105 [XPG3 || XPG4] (sigwaitinfo): Likewise.
40106 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40107 [XPG3 || XPG4] (vsnprintf): Likewise.
40108 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40110 [XPG3 || XPG4] (blksize_t): Likewise.
40111 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40113 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40114 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40115 [XPG3 || XPG4] (struct itimerspec): Likewise.
40116 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40117 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40118 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40119 [XPG3 || XPG4] (clockid_t): Likewise.
40120 [XPG3 || XPG4] (timer_t): Likewise.
40121 [XPG3 || XPG4] (clock_getres): Likewise.
40122 [XPG3 || XPG4] (clock_gettime): Likewise.
40123 [XPG3 || XPG4] (clock_settime): Likewise.
40124 [XPG3 || XPG4] (nanosleep): Likewise.
40125 [XPG3 || XPG4] (timer_create): Likewise.
40126 [XPG3 || XPG4] (timer_delete): Likewise.
40127 [XPG3 || XPG4] (timer_gettime): Likewise.
40128 [XPG3 || XPG4] (timer_getoverrun): Likewise.
40129 [XPG3 || XPG4] (timer_settime): Likewise.
40130 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40131 [XPG3 || XPG4] (getlogin_r): Likewise.
40132 [XPG3 || XPG4] (pread): Likewise.
40133 [XPG3 || XPG4] (pthread_atfork): Likewise.
40134 [XPG3 || XPG4] (pwrite): Likewise.
40137 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40140 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
40142 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40143 finalizing MALLSTREAM.
40145 * sysdeps/mach/hurd/syncfs.c: New file.
40147 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40150 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40151 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40152 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40153 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40154 (_nss_dns_gethostbyname4_r): Likewise.
40155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40156 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40158 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
40161 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40163 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
40165 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40166 * elf/cache.c (print_entry): Print ",AArch64" for
40169 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40170 * elf/cache.c (print_entry): Print ",hard-float" for
40173 2012-11-18 David S. Miller <davem@davemloft.net>
40175 With help from Joseph Myers.
40176 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40178 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40180 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40181 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40183 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40184 * math/libm-test.inc (y0_test): New tests.
40185 (y1_test): New tests.
40186 * sysdeps/i386/fpu/libm-test-ulps: Update.
40187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40190 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
40192 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40194 * configure: Regenerated.
40196 2012-11-17 David S. Miller <davem@davemloft.net>
40199 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40200 nonzero exponents with absolute value below 0x1p-128 to +/-
40203 2012-11-17 Joseph Myers <joseph@codesourcery.com>
40205 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40207 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40209 * posix/getconf-speclist.c: New file.
40210 * posix/posix-envs.def: Likewise.
40211 * posix/confstr.c (START_ENV_GROUP): New macro.
40212 (END_ENV_GROUP): Likewise.
40213 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40214 (KNOWN_PRESENT_ENV_STRING): Likewise.
40215 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40216 (UNKNOWN_ENVIRONMENT): Likewise.
40217 (confstr): Include posix-envs.def instead of handling
40218 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40219 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40220 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40221 (END_ENV_GROUP): Likewise.
40222 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40223 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40224 (UNKNOWN_ENVIRONMENT): Likewise.
40225 (__sysconf): Include posix-envs.def instead of handling associated
40226 cases directly here.
40227 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40228 preprocessing getconf-speclist.c rather than running getconf or
40229 generating empty file.
40231 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
40233 * scripts/check-local-headers.sh: Ignore 'mach' headers.
40235 2012-11-16 Andrej Lajovic <natrij@gmail.com>
40238 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40240 2012-11-16 David S. Miller <davem@davemloft.net>
40242 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40243 smaller than LDBL_EPSILON/2.0L, just return xm1.
40245 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
40247 * elf/tst-array1.c (init): Set constructor priority to 1000.
40248 (fini): Set destructor priority to 1000.
40249 * elf/tst-array2dep.c: Likewise.
40251 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40254 * libio/fileops.c (_IO_new_file_write): Correctly return error.
40255 (_IO_new_file_xsputn): Also return EOF if none of the input
40256 data was written when overflow failed.
40257 * libio/iopadn.c (_IO_padn): Likewise.
40258 * libio/iowpadn.c (_IO_wpadn): Likewise.
40259 * stdio-common/tst-put-error.c: Add copyright notice.
40260 (do_test): Add case for printing padded string.
40261 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40262 _IO_padn returned error.
40263 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40264 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40267 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40269 * libio/libioP.h: Add comment note that the references to C++
40270 bits are now obsolete.
40272 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40274 * math/libm-test.inc (check_complex): Use asprintf.
40276 2012-11-14 Joseph Myers <joseph@codesourcery.com>
40278 * debug/pcprofiledump.c (print_version): Update copyright year.
40279 * malloc/memusagestat.c (print_version): Likewise.
40281 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
40284 * elf/Makefile (tests): Add tst-audit8.
40285 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40286 ($(objpfx)tst-audit8.out): New target.
40287 (tst-audit8-ENV): New variable.
40288 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40289 audit if l_reloc_result is NULL.
40290 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40291 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40292 * elf/tst-audit8.c: New file.
40294 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40296 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40297 * misc/Makefile (CFLAGS-select.c): Define.
40298 * posix/Makefile (CFLAGS-pause.c): Define.
40300 2012-11-13 David S. Miller <davem@davemloft.net>
40302 * crypt/Makefile: Move test targets after toplevel Rules
40303 inclusion. Grab any necessary sysdep routines when linking.
40304 * crypt/md5.c (md5_process_block): Remove define, we will always
40305 name it __md5_process_block.
40306 (md5_finish_ctx): Update md5_process_block call.
40307 (md5_stream): Likewise.
40308 (md5_process_bytes): Likewise.
40309 (md5_process_block): Rename to __md5_process_block and move to ...
40310 * crypt/md5-block.c: ... here.
40311 * crypt/sha256.c (sha256_process_block): Move to ...
40312 * crypt/sha256-block.c: ... here.
40313 * crypt/sha512.c (sha512_process_block): Move to ...
40314 * crypt/sha512-block.c: ... here.
40315 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40317 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40318 * sysdeps/sparc/sparc64/multiarch/Makefile
40319 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40321 (localedef-aux): Add md5 crypto assembler when in locale subdir.
40322 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40324 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40325 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40326 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40327 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40328 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40329 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40330 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40331 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40332 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40334 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40335 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40337 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40339 2012-11-13 Joseph Myers <joseph@codesourcery.com>
40341 * timezone/tzselect.ksh: Update from tzcode git revision
40342 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40343 * timezone/zdump.c: Likewise.
40344 * timezone/zic.c: Likewise.
40345 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40346 in TZVERSION setting, not $(PKGVERSION).
40347 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
40348 REPORT_BUGS_TO settings.
40351 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40354 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40356 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40357 detection to immediately after _FP_ROUND().
40358 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40361 2012-11-11 David S. Miller <davem@davemloft.net>
40363 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40365 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40366 __close rather than their public counterparts.
40368 2012-11-10 Joseph Myers <joseph@codesourcery.com>
40370 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40372 [UNIX98] (sem_timedwait): Do not expect.
40373 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40374 [XPG4 || UNIX98] (sockatmark): Do not expect.
40375 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40376 (clock_getcpuclockid): Do not expect.
40377 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40378 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40380 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40381 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40382 [UNIX98] (vwscanf): Likewise.
40383 [UNIX98] (vswscanf): Likewise.
40385 2012-11-09 Joseph Myers <joseph@codesourcery.com>
40387 * timezone/version.h: Remove file.
40388 * timezone/README: Do not refer to version.h.
40389 * timezone/Makefile ($(objpfx)zic.o): New dependency on
40390 $(objpfx)version.h.
40391 ($(objpfx)zdump.o): Likewise.
40392 ($(objpfx)version.h): New target.
40394 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40396 * timezone/README: Don't mention modification to tzselect.ksh.
40397 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40398 work on unmodified tzselect.ksh. Substitute version numbers in
40401 * Makefile (format-me): Remove.
40402 (INSTALL): Adjust indentation. Use commands directly instead of
40403 using $(format-me).
40405 * aclocal.m4 (ACX_PKGVERSION): New macro.
40406 (ACX_BUGURL): Likewise.
40407 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40408 (PKGVERSION): New AC_DEFINE_UNQUOTED.
40409 (REPORT_BUGS_TO): Likewise.
40410 * configure: Regenerated.
40411 * config.h.in (PKGVERSION): New macro.
40412 (REPORT_BUGS_TO): Likewise.
40413 * config.make.in (PKGVERSION): New variable.
40414 (PKGVERSION_TEXI): Likewise.
40415 (REPORT_BUGS_TO): Likewise.
40416 (REPORT_BUGS_TEXI): Likewise.
40417 * Makefile (format-me): Use -I$(common-objpfx)manual.
40418 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40419 ($(common-objpfx)manual/%): New target.
40420 (manual/%): Remove target.
40421 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40422 (print_version): Use PKGVERSION.
40423 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40424 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40425 and REPORT_BUGS_TO.
40426 ($(objpfx)xtrace): Likewise.
40427 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40428 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40429 (print_version): Use PKGVERSION.
40430 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40431 (do_version): Use PKGVERSION.
40432 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40434 (common-ldd-rewrite): Likewise.
40435 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40436 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40437 (print_version): Use PKGVERSION.
40438 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40439 * elf/pldd.c (argp_program_bug_address): Remove variable.
40440 (more_help): New function.
40441 (argp): Use more_help.
40442 (print_version): Use PKGVERSION.
40443 * elf/sln.c (main): Use PKGVERSION.
40444 (usage): Use REPORT_BUGS_TO.
40445 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40446 (top level): Use PKGVERSION.
40447 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40448 (print_version): Use PKGVERSION.
40449 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40450 (print_version): Use PKGVERSION.
40451 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40452 (print_version): Use PKGVERSION.
40453 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40454 (print_version): Use PKGVERSION.
40455 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40456 (print_version): Use PKGVERSION.
40457 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40458 (print_version): Use PKGVERSION.
40459 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40461 ($(objpfx)memusage): Likewise.
40462 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40463 (do_version): Use PKGVERSION.
40464 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40465 (print_version): Use PKGVERSION.
40466 * malloc/mtrace.pl ($PACKAGE): Remove variable.
40467 ($PKGVERSION): New variable.
40468 ($REPORT_BUGS_TO): Likewise.
40469 (usage): Use $REPORT_BUGS_TO.
40470 (top level): Use $PKGVERSION.
40471 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40472 ($(objpfx)pkgvers.texi): New rule.
40473 ($(objpfx)stamp-pkgvers): Likewise.
40474 * manual/install.texi: Include pkgvers.texi.
40475 (--with-pkgversion): Document new configure option.
40476 (--with-bugurl): Likewise.
40477 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40478 than necessarily for this particular distribution. Use
40479 REPORT_BUGS_TO for where to report bugs.
40480 * INSTALL: Regenerated.
40481 * manual/libc.texinfo: Include pkgvers.texi.
40482 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40483 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40484 (print_version): Use PKGVERSION.
40485 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40486 (print_version): Use PKGVERSION.
40487 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40488 (print_version): Use PKGVERSION.
40489 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40490 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40492 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40493 (print_version): Use PKGVERSION.
40494 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40495 (print_version): Use PKGVERSION.
40496 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40499 * timezone/checktab.awk: Update from tzcode 2012i.
40500 * timezone/ialloc.c: Likewise.
40501 * timezone/private.h: Likewise.
40502 * timezone/scheck.c: Likewise.
40503 * timezone/tzfile.h: Likewise.
40504 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40505 (TZVERSION): Hardcode tzcode version number.
40506 * timezone/zdump.c: Update from tzcode 2012i.
40507 * timezone/zic.c: Likewise.
40508 * timezone/version.h: New file.
40509 * timezone/README: Describe version.h. Update upstream location.
40512 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40513 (mktemp): Enable declaration.
40514 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40515 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40516 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40517 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40519 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40521 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40525 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40527 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40531 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40532 offset in buffer as u_int32_t not u_long. Consistently use memcpy
40533 for copies of such integer values.
40534 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40535 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40537 2012-11-09 Andreas Jaeger <aj@suse.de>
40539 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40540 definitions and declarations that are provided by
40541 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40543 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40545 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40546 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40547 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40550 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40552 * elf/elf.h: Update comment before AArch64 relocations.
40554 2012-11-07 David S. Miller <davem@davemloft.net>
40556 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40557 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40558 (__start_context): Declare.
40559 (__makecontext_ret): Delete.
40560 (__makecontext): Hook up __start_context instead of
40562 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40563 (sysdep_routines): Add __start_context when in stdlib.
40565 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40567 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40568 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40569 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
40571 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
40572 (READELF): New variable. Use it instead of hardcoded "readelf".
40574 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
40576 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40577 * sysdeps/x86/Makefile: Here.
40578 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40579 * sysdeps/x86/tst-xmmymm.sh: This.
40581 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40583 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40585 [UNIX98] (pthread_barrier_t): Do not expect.
40586 [UNIX98] (pthread_barrierattr_t): Likewise.
40587 [UNIX98] (pthread_spinlock_t): Likewise.
40588 [UNIX98] (pthread_barrier_destroy): Likewise.
40589 [UNIX98] (pthread_barrier_init): Likewise.
40590 [UNIX98] (pthread_barrier_wait): Likewise.
40591 [UNIX98] (pthread_barrierattr_destroy): Likewise.
40592 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40593 [UNIX98] (pthread_barrierattr_init): Likewise.
40594 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40595 [UNIX98] (pthread_getcpuclockid): Likewise.
40596 [UNIX98] (pthread_mutex_timedlock): Likewise.
40597 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40598 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40599 [UNIX98] (pthread_sigmask): Likewise.
40600 [UNIX98] (pthread_spin_destroy): Likewise.
40601 [UNIX98] (pthread_spin_init): Likewise.
40602 [UNIX98] (pthread_spin_lock): Likewise.
40603 [UNIX98] (pthread_spin_trylock): Likewise.
40604 [UNIX98] (pthread_spin_unlock): Likewise.
40605 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40607 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40608 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40609 [XPG3 || XPG4] (pthread_cond_t): Likewise.
40610 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40611 [XPG3 || XPG4] (pthread_key_t): Likewise.
40612 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40613 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40614 [XPG3 || XPG4] (pthread_once_t): Likewise.
40615 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40616 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40617 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40618 [XPG3 || XPG4] (pthread_t): Likewise.
40620 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40622 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40624 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40625 Change function return type to int.
40627 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40628 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40629 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40630 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40631 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40632 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40633 [!POSIX] (posix_madvise): Likewise.
40634 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40636 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40637 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40638 (mode_t): Likewise.
40639 (posix_mem_offset): Likewise.
40640 (posix_typed_mem_get_info): Likewise.
40641 (posix_typed_mem_open): Likewise.
40643 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40644 Change condition to [XOPEN2K8].
40646 * conform/conformtest.pl: Preprocess allow-header data with -x c
40647 instead of from stdin.
40648 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40649 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40650 [C99-based standards] (cerfc): Likewise.
40651 [C99-based standards] (cexp2): Likewise.
40652 [C99-based standards] (cexpm1): Likewise.
40653 [C99-based standards] (clog10): Likewise.
40654 [C99-based standards] (clog1p): Likewise.
40655 [C99-based standards] (clog2): Likewise.
40656 [C99-based standards] (clgamma): Likewise.
40657 [C99-based standards] (ctgamma): Likewise.
40658 [C99-based standards] (cerff): Likewise.
40659 [C99-based standards] (cerfcf): Likewise.
40660 [C99-based standards] (cexp2f): Likewise.
40661 [C99-based standards] (cexpm1f): Likewise.
40662 [C99-based standards] (clog10f): Likewise.
40663 [C99-based standards] (clog1pf): Likewise.
40664 [C99-based standards] (clog2f): Likewise.
40665 [C99-based standards] (clgammaf): Likewise.
40666 [C99-based standards] (ctgammaf): Likewise.
40667 [C99-based standards] (cerfl): Likewise.
40668 [C99-based standards] (cerfcl): Likewise.
40669 [C99-based standards] (cexp2l): Likewise.
40670 [C99-based standards] (cexpm1l): Likewise.
40671 [C99-based standards] (clog10l): Likewise.
40672 [C99-based standards] (clog1pl): Likewise.
40673 [C99-based standards] (clog2l): Likewise.
40674 [C99-based standards] (clgammal): Likewise.
40675 [C99-based standards] (ctgammal): Likewise.
40676 * conform/data/inttypes.h-data [C99-based standards]: Include
40677 stdint.h-data. Remove all expectations for stdint.h contents.
40678 [C99-based standards] (PRI*): Do not allow.
40679 [C99-based standards] (SCN*): Likewise.
40680 [C99-based standards] (*_t): Likewise.
40681 [C99-based-standards] (PRId8): Expect macro.
40682 [C99-based-standards] (PRIi8): Likewise.
40683 [C99-based-standards] (PRIo8): Likewise.
40684 [C99-based-standards] (PRIu8): Likewise.
40685 [C99-based-standards] (PRIx8): Likewise.
40686 [C99-based-standards] (PRIX8): Likewise.
40687 [C99-based-standards] (SCNd8): Likewise.
40688 [C99-based-standards] (SCNi8): Likewise.
40689 [C99-based-standards] (SCNo8): Likewise.
40690 [C99-based-standards] (SCNu8): Likewise.
40691 [C99-based-standards] (SCNx8): Likewise.
40692 [C99-based-standards] (PRIdLEAST8): Likewise.
40693 [C99-based-standards] (PRIiLEAST8): Likewise.
40694 [C99-based-standards] (PRIoLEAST8): Likewise.
40695 [C99-based-standards] (PRIuLEAST8): Likewise.
40696 [C99-based-standards] (PRIxLEAST8): Likewise.
40697 [C99-based-standards] (PRIXLEAST8): Likewise.
40698 [C99-based-standards] (SCNdLEAST8): Likewise.
40699 [C99-based-standards] (SCNiLEAST8): Likewise.
40700 [C99-based-standards] (SCNoLEAST8): Likewise.
40701 [C99-based-standards] (SCNuLEAST8): Likewise.
40702 [C99-based-standards] (SCNxLEAST8): Likewise.
40703 [C99-based-standards] (PRIdFAST8): Likewise.
40704 [C99-based-standards] (PRIiFAST8): Likewise.
40705 [C99-based-standards] (PRIoFAST8): Likewise.
40706 [C99-based-standards] (PRIuFAST8): Likewise.
40707 [C99-based-standards] (PRIxFAST8): Likewise.
40708 [C99-based-standards] (PRIXFAST8): Likewise.
40709 [C99-based-standards] (SCNdFAST8): Likewise.
40710 [C99-based-standards] (SCNiFAST8): Likewise.
40711 [C99-based-standards] (SCNoFAST8): Likewise.
40712 [C99-based-standards] (SCNuFAST8): Likewise.
40713 [C99-based-standards] (SCNxFAST8): Likewise.
40714 [C99-based-standards] (PRId16): Likewise.
40715 [C99-based-standards] (PRIi16): Likewise.
40716 [C99-based-standards] (PRIo16): Likewise.
40717 [C99-based-standards] (PRIu16): Likewise.
40718 [C99-based-standards] (PRIx16): Likewise.
40719 [C99-based-standards] (PRIX16): Likewise.
40720 [C99-based-standards] (SCNd16): Likewise.
40721 [C99-based-standards] (SCNi16): Likewise.
40722 [C99-based-standards] (SCNo16): Likewise.
40723 [C99-based-standards] (SCNu16): Likewise.
40724 [C99-based-standards] (SCNx16): Likewise.
40725 [C99-based-standards] (PRIdLEAST16): Likewise.
40726 [C99-based-standards] (PRIiLEAST16): Likewise.
40727 [C99-based-standards] (PRIoLEAST16): Likewise.
40728 [C99-based-standards] (PRIuLEAST16): Likewise.
40729 [C99-based-standards] (PRIxLEAST16): Likewise.
40730 [C99-based-standards] (PRIXLEAST16): Likewise.
40731 [C99-based-standards] (SCNdLEAST16): Likewise.
40732 [C99-based-standards] (SCNiLEAST16): Likewise.
40733 [C99-based-standards] (SCNoLEAST16): Likewise.
40734 [C99-based-standards] (SCNuLEAST16): Likewise.
40735 [C99-based-standards] (SCNxLEAST16): Likewise.
40736 [C99-based-standards] (PRIdFAST16): Likewise.
40737 [C99-based-standards] (PRIiFAST16): Likewise.
40738 [C99-based-standards] (PRIoFAST16): Likewise.
40739 [C99-based-standards] (PRIuFAST16): Likewise.
40740 [C99-based-standards] (PRIxFAST16): Likewise.
40741 [C99-based-standards] (PRIXFAST16): Likewise.
40742 [C99-based-standards] (SCNdFAST16): Likewise.
40743 [C99-based-standards] (SCNiFAST16): Likewise.
40744 [C99-based-standards] (SCNoFAST16): Likewise.
40745 [C99-based-standards] (SCNuFAST16): Likewise.
40746 [C99-based-standards] (SCNxFAST16): Likewise.
40747 [C99-based-standards] (PRId32): Likewise.
40748 [C99-based-standards] (PRIi32): Likewise.
40749 [C99-based-standards] (PRIo32): Likewise.
40750 [C99-based-standards] (PRIu32): Likewise.
40751 [C99-based-standards] (PRIx32): Likewise.
40752 [C99-based-standards] (PRIX32): Likewise.
40753 [C99-based-standards] (SCNd32): Likewise.
40754 [C99-based-standards] (SCNi32): Likewise.
40755 [C99-based-standards] (SCNo32): Likewise.
40756 [C99-based-standards] (SCNu32): Likewise.
40757 [C99-based-standards] (SCNx32): Likewise.
40758 [C99-based-standards] (PRIdLEAST32): Likewise.
40759 [C99-based-standards] (PRIiLEAST32): Likewise.
40760 [C99-based-standards] (PRIoLEAST32): Likewise.
40761 [C99-based-standards] (PRIuLEAST32): Likewise.
40762 [C99-based-standards] (PRIxLEAST32): Likewise.
40763 [C99-based-standards] (PRIXLEAST32): Likewise.
40764 [C99-based-standards] (SCNdLEAST32): Likewise.
40765 [C99-based-standards] (SCNiLEAST32): Likewise.
40766 [C99-based-standards] (SCNoLEAST32): Likewise.
40767 [C99-based-standards] (SCNuLEAST32): Likewise.
40768 [C99-based-standards] (SCNxLEAST32): Likewise.
40769 [C99-based-standards] (PRIdFAST32): Likewise.
40770 [C99-based-standards] (PRIiFAST32): Likewise.
40771 [C99-based-standards] (PRIoFAST32): Likewise.
40772 [C99-based-standards] (PRIuFAST32): Likewise.
40773 [C99-based-standards] (PRIxFAST32): Likewise.
40774 [C99-based-standards] (PRIXFAST32): Likewise.
40775 [C99-based-standards] (SCNdFAST32): Likewise.
40776 [C99-based-standards] (SCNiFAST32): Likewise.
40777 [C99-based-standards] (SCNoFAST32): Likewise.
40778 [C99-based-standards] (SCNuFAST32): Likewise.
40779 [C99-based-standards] (SCNxFAST32): Likewise.
40780 [C99-based-standards] (PRId64): Likewise.
40781 [C99-based-standards] (PRIi64): Likewise.
40782 [C99-based-standards] (PRIo64): Likewise.
40783 [C99-based-standards] (PRIu64): Likewise.
40784 [C99-based-standards] (PRIx64): Likewise.
40785 [C99-based-standards] (PRIX64): Likewise.
40786 [C99-based-standards] (SCNd64): Likewise.
40787 [C99-based-standards] (SCNi64): Likewise.
40788 [C99-based-standards] (SCNo64): Likewise.
40789 [C99-based-standards] (SCNu64): Likewise.
40790 [C99-based-standards] (SCNx64): Likewise.
40791 [C99-based-standards] (PRIdLEAST64): Likewise.
40792 [C99-based-standards] (PRIiLEAST64): Likewise.
40793 [C99-based-standards] (PRIoLEAST64): Likewise.
40794 [C99-based-standards] (PRIuLEAST64): Likewise.
40795 [C99-based-standards] (PRIxLEAST64): Likewise.
40796 [C99-based-standards] (PRIXLEAST64): Likewise.
40797 [C99-based-standards] (SCNdLEAST64): Likewise.
40798 [C99-based-standards] (SCNiLEAST64): Likewise.
40799 [C99-based-standards] (SCNoLEAST64): Likewise.
40800 [C99-based-standards] (SCNuLEAST64): Likewise.
40801 [C99-based-standards] (SCNxLEAST64): Likewise.
40802 [C99-based-standards] (PRIdFAST64): Likewise.
40803 [C99-based-standards] (PRIiFAST64): Likewise.
40804 [C99-based-standards] (PRIoFAST64): Likewise.
40805 [C99-based-standards] (PRIuFAST64): Likewise.
40806 [C99-based-standards] (PRIxFAST64): Likewise.
40807 [C99-based-standards] (PRIXFAST64): Likewise.
40808 [C99-based-standards] (SCNdFAST64): Likewise.
40809 [C99-based-standards] (SCNiFAST64): Likewise.
40810 [C99-based-standards] (SCNoFAST64): Likewise.
40811 [C99-based-standards] (SCNuFAST64): Likewise.
40812 [C99-based-standards] (SCNxFAST64): Likewise.
40813 [C99-based-standards] (PRIdMAX): Likewise.
40814 [C99-based-standards] (PRIiMAX): Likewise.
40815 [C99-based-standards] (PRIoMAX): Likewise.
40816 [C99-based-standards] (PRIuMAX): Likewise.
40817 [C99-based-standards] (PRIxMAX): Likewise.
40818 [C99-based-standards] (PRIXMAX): Likewise.
40819 [C99-based-standards] (SCNdMAX): Likewise.
40820 [C99-based-standards] (SCNiMAX): Likewise.
40821 [C99-based-standards] (SCNoMAX): Likewise.
40822 [C99-based-standards] (SCNuMAX): Likewise.
40823 [C99-based-standards] (SCNxMAX): Likewise.
40824 [C99-based-standards] (PRIdPTR): Likewise.
40825 [C99-based-standards] (PRIiPTR): Likewise.
40826 [C99-based-standards] (PRIoPTR): Likewise.
40827 [C99-based-standards] (PRIuPTR): Likewise.
40828 [C99-based-standards] (PRIxPTR): Likewise.
40829 [C99-based-standards] (PRIXPTR): Likewise.
40830 [C99-based-standards] (SCNdPTR): Likewise.
40831 [C99-based-standards] (SCNiPTR): Likewise.
40832 [C99-based-standards] (SCNoPTR): Likewise.
40833 [C99-based-standards] (SCNuPTR): Likewise.
40834 [C99-based-standards] (SCNxPTR): Likewise.
40835 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40837 * conform/data/stdint.h-data: Update comments to clarify
40839 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
40841 [C99-based standards] (INT8_MAX): Likewise.
40842 [C99-based standards] (INT16_MIN): Likewise.
40843 [C99-based standards] (INT16_MAX): Likewise.
40844 [C99-based standards] (INT32_MIN): Likewise.
40845 [C99-based standards] (INT32_MAX): Likewise.
40846 [C99-based standards] (INT64_MIN): Likewise.
40847 [C99-based standards] (INT64_MAX): Likewise.
40848 [C99-based standards] (UINT8_MAX): Likewise.
40849 [C99-based standards] (UINT16_MAX): Likewise.
40850 [C99-based standards] (UINT32_MAX): Likewise.
40851 [C99-based standards] (UINT64_MAX): Likewise.
40852 [C99-based standards] (INT_LEAST8_MIN): Likewise.
40853 [C99-based standards] (INT_LEAST8_MAX): Likewise.
40854 [C99-based standards] (INT_LEAST16_MIN): Likewise.
40855 [C99-based standards] (INT_LEAST16_MAX): Likewise.
40856 [C99-based standards] (INT_LEAST32_MIN): Likewise.
40857 [C99-based standards] (INT_LEAST32_MAX): Likewise.
40858 [C99-based standards] (INT_LEAST64_MIN): Likewise.
40859 [C99-based standards] (INT_LEAST64_MAX): Likewise.
40860 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40861 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40862 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40863 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40864 [C99-based standards] (INT_FAST8_MIN): Likewise.
40865 [C99-based standards] (INT_FAST8_MAX): Likewise.
40866 [C99-based standards] (INT_FAST16_MIN): Likewise.
40867 [C99-based standards] (INT_FAST16_MAX): Likewise.
40868 [C99-based standards] (INT_FAST32_MIN): Likewise.
40869 [C99-based standards] (INT_FAST32_MAX): Likewise.
40870 [C99-based standards] (INT_FAST64_MIN): Likewise.
40871 [C99-based standards] (INT_FAST64_MAX): Likewise.
40872 [C99-based standards] (UINT_FAST8_MAX): Likewise.
40873 [C99-based standards] (UINT_FAST16_MAX): Likewise.
40874 [C99-based standards] (UINT_FAST32_MAX): Likewise.
40875 [C99-based standards] (UINT_FAST64_MAX): Likewise.
40876 [C99-based standards] (INTPTR_MIN): Likewise.
40877 [C99-based standards] (INTPTR_MAX): Likewise.
40878 [C99-based standards] (UINTPTR_MAX): Likewise.
40879 [C99-based standards] (INTMAX_MIN): Likewise.
40880 [C99-based standards] (INTMAX_MAX): Likewise.
40881 [C99-based standards] (UINTMAX_MAX): Likewise.
40882 [C99-based standards] (PTRDIFF_MIN): Likewise.
40883 [C99-based standards] (PTRDIFF_MAX): Likewise.
40884 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40885 [C99-based standards] (SIZE_MAX): Likewise.
40886 [C99-based standards] (WCHAR_MAX): Likewise.
40887 [C99-based standards] (WINT_MAX): Likewise.
40888 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
40889 constraint on value.
40890 [C99-based standards] (WCHAR_MIN): Likewise.
40891 [C99-based standards] (WINT_MIN): Likewise.
40892 [C99-based standards] (*_t): Allow.
40893 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40894 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40895 Include math.h-data and complex.h-data. Remove all expectations
40896 of math.h and complex.h contents.
40897 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40899 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40900 (struct tm): Expect tag.
40901 [C99-based-standards] (wcstof): Expect function.
40902 [C99-based-standards] (wcstold): Likewise.
40903 [C99-based-standards] (wcstoll): Likewise.
40904 [C99-based-standards] (wcstoull): Likewise.
40905 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40906 macro-int-constant. Specify type.
40907 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
40908 constraint on value.
40909 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40911 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40913 [ISO C standards]: Do not allow headers.
40914 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40915 wcs[abcdefghijklmnopqrstuvwxyz]*.
40916 [ISO C standards] (*_t): Do not allow.
40917 * conform/data/wctype.h-data [C99-based standards] (iswblank):
40919 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40920 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40922 [ISO C standards]: Do not allow headers.
40923 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40924 is[abcdefghijklmnopqrstuvwxyz]*.
40925 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40926 to[abcdefghijklmnopqrstuvwxyz]*.
40927 [ISO C standards] (*_t): Do not allow.
40928 * conform/data/stdalign.h-data: New file.
40929 * conform/data/stdbool.h-data: Likewise.
40930 * conform/data/stdnoreturn.h-data: Likewise.
40932 2012-11-07 Roland McGrath <roland@hack.frob.com>
40935 * manual/filesys.texi (Directory Entries): Typo fix.
40936 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40938 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40940 * elf/elf.h (EM_AARCH64): New macro.
40941 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40942 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40943 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40944 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40945 (R_AARCH64_TLSDESC): Likewise.
40946 (NT_ARM_TLS): Likewise.
40947 (NT_ARM_HW_BREAK): Likewise.
40948 (NT_ARM_HW_WATCH): Likewise.
40950 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40953 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40954 (__ieee754_powl): Saturate nonzero exponents with absolute value
40955 below 0x1p-79 to +/- 0x1p-79.
40956 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40957 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40958 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40959 nonzero exponents with absolute value below 0x1p-32 to +/-
40961 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40962 (__ieee754_powl): Saturate nonzero exponents with absolute value
40963 below 0x1p-79 to +/- 0x1p-79.
40964 * math/libm-test.inc (pow_test): Add more tests.
40966 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40968 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40969 _dl_s390_cap_flags with kernel. Increase string length.
40970 (_dl_s390_platforms): Add z196 and zEC12.
40972 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40974 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40975 Change XOPEN21K to XOPEN2K.
40977 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
40979 * string/memmove.c: Use memcpy when possible.
40981 2012-11-06 Andreas Jaeger <aj@suse.de>
40983 * po/eo.po: Update from translation team.
40985 2012-11-06 Joseph Myers <joseph@codesourcery.com>
40988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40989 exponent and small x and y exponents, scale x or y up. Increase
40990 by 2 the exponent used in scaling up.
40991 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40992 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40993 * math/libm-test.inc (fma_test): Add more tests.
40994 (fma_test_towardzero): Likewise.
40995 (fma_test_downward): Likewise.
40996 (fma_test_upward): Likewise.
40998 2012-11-05 Joseph Myers <joseph@codesourcery.com>
41001 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
41005 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
41006 namespace for names of struct fields.
41007 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
41009 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41010 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
41012 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
41015 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
41017 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
41019 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
41023 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
41026 2012-11-04 Joseph Myers <joseph@codesourcery.com>
41029 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
41030 definitely overflow as x * y not x * y + z.
41031 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41032 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41033 * math/libm-test.inc (fma_test): Add more tests.
41034 (fma_test_towardzero): Likewise.
41035 (fma_test_downward): Likewise.
41036 (fma_test_upward): Likewise.
41038 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
41042 * include/stub-tag.h: Remove file.
41043 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
41045 * manual/maint.texi (Porting): Don't reference it.
41046 * Makerules ($(objpfx)stubs): Likewise.
41047 * dirent/closedir.c: Don't include <stub-tag.h>.
41048 * dirent/dirfd.c: Likewise.
41049 * dirent/fdopendir.c: Likewise.
41050 * dirent/getdents.c: Likewise.
41051 * dirent/getdents64.c: Likewise.
41052 * dirent/opendir.c: Likewise.
41053 * dirent/readdir.c: Likewise.
41054 * dirent/readdir64.c: Likewise.
41055 * dirent/readdir64_r.c: Likewise.
41056 * dirent/readdir_r.c: Likewise.
41057 * dirent/rewinddir.c: Likewise.
41058 * dirent/seekdir.c: Likewise.
41059 * dirent/telldir.c: Likewise.
41060 * gmon/profil.c: Likewise.
41061 * grp/setgroups.c: Likewise.
41062 * inet/if_index.c: Likewise.
41063 * io/access.c: Likewise.
41064 * io/chdir.c: Likewise.
41065 * io/chmod.c: Likewise.
41066 * io/chown.c: Likewise.
41067 * io/close.c: Likewise.
41068 * io/dup.c: Likewise.
41069 * io/dup2.c: Likewise.
41070 * io/dup3.c: Likewise.
41071 * io/euidaccess.c: Likewise.
41072 * io/faccessat.c: Likewise.
41073 * io/fchdir.c: Likewise.
41074 * io/fchmod.c: Likewise.
41075 * io/fchmodat.c: Likewise.
41076 * io/fchown.c: Likewise.
41077 * io/fchownat.c: Likewise.
41078 * io/fcntl.c: Likewise.
41079 * io/flock.c: Likewise.
41080 * io/fstatfs.c: Likewise.
41081 * io/fstatfs64.c: Likewise.
41082 * io/fstatvfs.c: Likewise.
41083 * io/fstatvfs64.c: Likewise.
41084 * io/futimens.c: Likewise.
41085 * io/fxstat.c: Likewise.
41086 * io/fxstat64.c: Likewise.
41087 * io/fxstatat.c: Likewise.
41088 * io/fxstatat64.c: Likewise.
41089 * io/getcwd.c: Likewise.
41090 * io/isatty.c: Likewise.
41091 * io/lchmod.c: Likewise.
41092 * io/lchown.c: Likewise.
41093 * io/link.c: Likewise.
41094 * io/linkat.c: Likewise.
41095 * io/lseek.c: Likewise.
41096 * io/lseek64.c: Likewise.
41097 * io/lxstat64.c: Likewise.
41098 * io/mkdir.c: Likewise.
41099 * io/mkdirat.c: Likewise.
41100 * io/mkfifo.c: Likewise.
41101 * io/mkfifoat.c: Likewise.
41102 * io/open.c: Likewise.
41103 * io/open64.c: Likewise.
41104 * io/openat.c: Likewise.
41105 * io/openat64.c: Likewise.
41106 * io/pipe.c: Likewise.
41107 * io/pipe2.c: Likewise.
41108 * io/poll.c: Likewise.
41109 * io/posix_fadvise.c: Likewise.
41110 * io/posix_fadvise64.c: Likewise.
41111 * io/posix_fallocate.c: Likewise.
41112 * io/posix_fallocate64.c: Likewise.
41113 * io/read.c: Likewise.
41114 * io/readlink.c: Likewise.
41115 * io/readlinkat.c: Likewise.
41116 * io/rmdir.c: Likewise.
41117 * io/sendfile.c: Likewise.
41118 * io/sendfile64.c: Likewise.
41119 * io/statfs.c: Likewise.
41120 * io/statfs64.c: Likewise.
41121 * io/statvfs.c: Likewise.
41122 * io/statvfs64.c: Likewise.
41123 * io/symlink.c: Likewise.
41124 * io/symlinkat.c: Likewise.
41125 * io/ttyname.c: Likewise.
41126 * io/ttyname_r.c: Likewise.
41127 * io/umask.c: Likewise.
41128 * io/unlink.c: Likewise.
41129 * io/unlinkat.c: Likewise.
41130 * io/utime.c: Likewise.
41131 * io/utimensat.c: Likewise.
41132 * io/write.c: Likewise.
41133 * io/xmknod.c: Likewise.
41134 * io/xmknodat.c: Likewise.
41135 * io/xstat.c: Likewise.
41136 * io/xstat64.c: Likewise.
41137 * login/getpt.c: Likewise.
41138 * login/grantpt.c: Likewise.
41139 * login/unlockpt.c: Likewise.
41140 * math/e_acoshl.c: Likewise.
41141 * math/e_acosl.c: Likewise.
41142 * math/e_asinl.c: Likewise.
41143 * math/e_atan2l.c: Likewise.
41144 * math/e_atanhl.c: Likewise.
41145 * math/e_coshl.c: Likewise.
41146 * math/e_expl.c: Likewise.
41147 * math/e_fmodl.c: Likewise.
41148 * math/e_gammal_r.c: Likewise.
41149 * math/e_hypotl.c: Likewise.
41150 * math/e_j0l.c: Likewise.
41151 * math/e_j1l.c: Likewise.
41152 * math/e_jnl.c: Likewise.
41153 * math/e_lgammal_r.c: Likewise.
41154 * math/e_log10l.c: Likewise.
41155 * math/e_log2l.c: Likewise.
41156 * math/e_logl.c: Likewise.
41157 * math/e_powl.c: Likewise.
41158 * math/e_rem_pio2l.c: Likewise.
41159 * math/e_sinhl.c: Likewise.
41160 * math/e_sqrtl.c: Likewise.
41161 * math/fclrexcpt.c: Likewise.
41162 * math/fedisblxcpt.c: Likewise.
41163 * math/feenablxcpt.c: Likewise.
41164 * math/fegetenv.c: Likewise.
41165 * math/fegetexcept.c: Likewise.
41166 * math/fegetround.c: Likewise.
41167 * math/feholdexcpt.c: Likewise.
41168 * math/fesetenv.c: Likewise.
41169 * math/fesetround.c: Likewise.
41170 * math/feupdateenv.c: Likewise.
41171 * math/fgetexcptflg.c: Likewise.
41172 * math/fraiseexcpt.c: Likewise.
41173 * math/fsetexcptflg.c: Likewise.
41174 * math/ftestexcept.c: Likewise.
41175 * math/k_cosl.c: Likewise.
41176 * math/k_rem_pio2l.c: Likewise.
41177 * math/k_sinl.c: Likewise.
41178 * math/k_tanl.c: Likewise.
41179 * math/s_asinhl.c: Likewise.
41180 * math/s_atanl.c: Likewise.
41181 * math/s_cbrtl.c: Likewise.
41182 * math/s_erfl.c: Likewise.
41183 * math/s_expm1l.c: Likewise.
41184 * math/s_log1pl.c: Likewise.
41185 * math/s_tanhl.c: Likewise.
41186 * misc/acct.c: Likewise.
41187 * misc/brk.c: Likewise.
41188 * misc/chflags.c: Likewise.
41189 * misc/chroot.c: Likewise.
41190 * misc/fchflags.c: Likewise.
41191 * misc/fgetxattr.c: Likewise.
41192 * misc/flistxattr.c: Likewise.
41193 * misc/fremovexattr.c: Likewise.
41194 * misc/fsetxattr.c: Likewise.
41195 * misc/fsync.c: Likewise.
41196 * misc/ftruncate.c: Likewise.
41197 * misc/futimes.c: Likewise.
41198 * misc/futimesat.c: Likewise.
41199 * misc/getdomain.c: Likewise.
41200 * misc/getdtsz.c: Likewise.
41201 * misc/gethostid.c: Likewise.
41202 * misc/gethostname.c: Likewise.
41203 * misc/getloadavg.c: Likewise.
41204 * misc/getpagesize.c: Likewise.
41205 * misc/getsysstats.c: Likewise.
41206 * misc/getxattr.c: Likewise.
41207 * misc/gtty.c: Likewise.
41208 * misc/ioctl.c: Likewise.
41209 * misc/lgetxattr.c: Likewise.
41210 * misc/listxattr.c: Likewise.
41211 * misc/llistxattr.c: Likewise.
41212 * misc/lremovexattr.c: Likewise.
41213 * misc/lsetxattr.c: Likewise.
41214 * misc/lutimes.c: Likewise.
41215 * misc/madvise.c: Likewise.
41216 * misc/mincore.c: Likewise.
41217 * misc/mlock.c: Likewise.
41218 * misc/mlockall.c: Likewise.
41219 * misc/mmap.c: Likewise.
41220 * misc/mprotect.c: Likewise.
41221 * misc/msync.c: Likewise.
41222 * misc/munlock.c: Likewise.
41223 * misc/munlockall.c: Likewise.
41224 * misc/munmap.c: Likewise.
41225 * misc/preadv.c: Likewise.
41226 * misc/preadv64.c: Likewise.
41227 * misc/ptrace.c: Likewise.
41228 * misc/pwritev.c: Likewise.
41229 * misc/pwritev64.c: Likewise.
41230 * misc/readv.c: Likewise.
41231 * misc/reboot.c: Likewise.
41232 * misc/remap_file_pages.c: Likewise.
41233 * misc/removexattr.c: Likewise.
41234 * misc/revoke.c: Likewise.
41235 * misc/select.c: Likewise.
41236 * misc/setdomain.c: Likewise.
41237 * misc/setegid.c: Likewise.
41238 * misc/seteuid.c: Likewise.
41239 * misc/sethostid.c: Likewise.
41240 * misc/sethostname.c: Likewise.
41241 * misc/setregid.c: Likewise.
41242 * misc/setreuid.c: Likewise.
41243 * misc/setxattr.c: Likewise.
41244 * misc/sstk.c: Likewise.
41245 * misc/stty.c: Likewise.
41246 * misc/swapoff.c: Likewise.
41247 * misc/swapon.c: Likewise.
41248 * misc/sync.c: Likewise.
41249 * misc/syncfs.c: Likewise.
41250 * misc/syscall.c: Likewise.
41251 * misc/truncate.c: Likewise.
41252 * misc/ualarm.c: Likewise.
41253 * misc/usleep.c: Likewise.
41254 * misc/ustat.c: Likewise.
41255 * misc/utimes.c: Likewise.
41256 * misc/vhangup.c: Likewise.
41257 * misc/writev.c: Likewise.
41258 * posix/_exit.c: Likewise.
41259 * posix/alarm.c: Likewise.
41260 * posix/execve.c: Likewise.
41261 * posix/fexecve.c: Likewise.
41262 * posix/fork.c: Likewise.
41263 * posix/fpathconf.c: Likewise.
41264 * posix/getaddrinfo.c: Likewise.
41265 * posix/getegid.c: Likewise.
41266 * posix/geteuid.c: Likewise.
41267 * posix/getgid.c: Likewise.
41268 * posix/getgroups.c: Likewise.
41269 * posix/getlogin.c: Likewise.
41270 * posix/getlogin_r.c: Likewise.
41271 * posix/getpgid.c: Likewise.
41272 * posix/getpid.c: Likewise.
41273 * posix/getppid.c: Likewise.
41274 * posix/getresgid.c: Likewise.
41275 * posix/getresuid.c: Likewise.
41276 * posix/getsid.c: Likewise.
41277 * posix/getuid.c: Likewise.
41278 * posix/glob64.c: Likewise.
41279 * posix/nanosleep.c: Likewise.
41280 * posix/pathconf.c: Likewise.
41281 * posix/pause.c: Likewise.
41282 * posix/posix_madvise.c: Likewise.
41283 * posix/pread.c: Likewise.
41284 * posix/pread64.c: Likewise.
41285 * posix/pwrite.c: Likewise.
41286 * posix/pwrite64.c: Likewise.
41287 * posix/sched_getaffinity.c: Likewise.
41288 * posix/sched_getp.c: Likewise.
41289 * posix/sched_gets.c: Likewise.
41290 * posix/sched_primax.c: Likewise.
41291 * posix/sched_primin.c: Likewise.
41292 * posix/sched_rr_gi.c: Likewise.
41293 * posix/sched_setaffinity.c: Likewise.
41294 * posix/sched_setp.c: Likewise.
41295 * posix/sched_sets.c: Likewise.
41296 * posix/sched_yield.c: Likewise.
41297 * posix/setgid.c: Likewise.
41298 * posix/setlogin.c: Likewise.
41299 * posix/setpgid.c: Likewise.
41300 * posix/setresgid.c: Likewise.
41301 * posix/setresuid.c: Likewise.
41302 * posix/setsid.c: Likewise.
41303 * posix/setuid.c: Likewise.
41304 * posix/sleep.c: Likewise.
41305 * posix/spawni.c: Likewise.
41306 * posix/sysconf.c: Likewise.
41307 * posix/times.c: Likewise.
41308 * posix/wait.c: Likewise.
41309 * posix/wait3.c: Likewise.
41310 * posix/wait4.c: Likewise.
41311 * posix/waitpid.c: Likewise.
41312 * resolv/gai_sigqueue.c: Likewise.
41313 * resource/getpriority.c: Likewise.
41314 * resource/getrlimit.c: Likewise.
41315 * resource/getrusage.c: Likewise.
41316 * resource/nice.c: Likewise.
41317 * resource/setpriority.c: Likewise.
41318 * resource/setrlimit.c: Likewise.
41319 * resource/ulimit.c: Likewise.
41320 * rt/aio_cancel.c: Likewise.
41321 * rt/aio_fsync.c: Likewise.
41322 * rt/aio_read.c: Likewise.
41323 * rt/aio_sigqueue.c: Likewise.
41324 * rt/aio_suspend.c: Likewise.
41325 * rt/aio_write.c: Likewise.
41326 * rt/clock_getres.c: Likewise.
41327 * rt/clock_gettime.c: Likewise.
41328 * rt/clock_nanosleep.c: Likewise.
41329 * rt/clock_settime.c: Likewise.
41330 * rt/lio_listio.c: Likewise.
41331 * rt/mq_close.c: Likewise.
41332 * rt/mq_getattr.c: Likewise.
41333 * rt/mq_notify.c: Likewise.
41334 * rt/mq_open.c: Likewise.
41335 * rt/mq_receive.c: Likewise.
41336 * rt/mq_send.c: Likewise.
41337 * rt/mq_setattr.c: Likewise.
41338 * rt/mq_timedreceive.c: Likewise.
41339 * rt/mq_timedsend.c: Likewise.
41340 * rt/mq_unlink.c: Likewise.
41341 * rt/shm_open.c: Likewise.
41342 * rt/shm_unlink.c: Likewise.
41343 * rt/timer_create.c: Likewise.
41344 * rt/timer_delete.c: Likewise.
41345 * rt/timer_getoverr.c: Likewise.
41346 * rt/timer_gettime.c: Likewise.
41347 * rt/timer_settime.c: Likewise.
41348 * setjmp/__longjmp.c: Likewise.
41349 * setjmp/setjmp.c: Likewise.
41350 * signal/kill.c: Likewise.
41351 * signal/killpg.c: Likewise.
41352 * signal/raise.c: Likewise.
41353 * signal/sigaction.c: Likewise.
41354 * signal/sigaltstack.c: Likewise.
41355 * signal/sigblock.c: Likewise.
41356 * signal/sigignore.c: Likewise.
41357 * signal/sigintr.c: Likewise.
41358 * signal/signal.c: Likewise.
41359 * signal/sigpause.c: Likewise.
41360 * signal/sigpending.c: Likewise.
41361 * signal/sigqueue.c: Likewise.
41362 * signal/sigreturn.c: Likewise.
41363 * signal/sigset.c: Likewise.
41364 * signal/sigsetmask.c: Likewise.
41365 * signal/sigstack.c: Likewise.
41366 * signal/sigsuspend.c: Likewise.
41367 * signal/sigtimedwait.c: Likewise.
41368 * signal/sigvec.c: Likewise.
41369 * signal/sigwait.c: Likewise.
41370 * signal/sigwaitinfo.c: Likewise.
41371 * signal/sysv_signal.c: Likewise.
41372 * socket/accept.c: Likewise.
41373 * socket/accept4.c: Likewise.
41374 * socket/bind.c: Likewise.
41375 * socket/connect.c: Likewise.
41376 * socket/getpeername.c: Likewise.
41377 * socket/getsockname.c: Likewise.
41378 * socket/getsockopt.c: Likewise.
41379 * socket/isfdtype.c: Likewise.
41380 * socket/listen.c: Likewise.
41381 * socket/recv.c: Likewise.
41382 * socket/recvfrom.c: Likewise.
41383 * socket/recvmsg.c: Likewise.
41384 * socket/send.c: Likewise.
41385 * socket/sendmsg.c: Likewise.
41386 * socket/sendto.c: Likewise.
41387 * socket/setsockopt.c: Likewise.
41388 * socket/shutdown.c: Likewise.
41389 * socket/sockatmark.c: Likewise.
41390 * socket/socket.c: Likewise.
41391 * socket/socketpair.c: Likewise.
41392 * stdio-common/ctermid.c: Likewise.
41393 * stdio-common/cuserid.c: Likewise.
41394 * stdio-common/remove.c: Likewise.
41395 * stdio-common/rename.c: Likewise.
41396 * stdio-common/renameat.c: Likewise.
41397 * stdio-common/tempname.c: Likewise.
41398 * stdlib/getcontext.c: Likewise.
41399 * stdlib/makecontext.c: Likewise.
41400 * stdlib/setcontext.c: Likewise.
41401 * stdlib/swapcontext.c: Likewise.
41402 * stdlib/system.c: Likewise.
41403 * streams/fattach.c: Likewise.
41404 * streams/fdetach.c: Likewise.
41405 * streams/getmsg.c: Likewise.
41406 * streams/getpmsg.c: Likewise.
41407 * streams/putmsg.c: Likewise.
41408 * streams/putpmsg.c: Likewise.
41409 * sysdeps/unix/bsd/getpt.c: Likewise.
41410 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41411 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41412 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41415 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41416 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41417 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41418 * sysvipc/msgctl.c: Likewise.
41419 * sysvipc/msgget.c: Likewise.
41420 * sysvipc/msgrcv.c: Likewise.
41421 * sysvipc/msgsnd.c: Likewise.
41422 * sysvipc/semctl.c: Likewise.
41423 * sysvipc/semget.c: Likewise.
41424 * sysvipc/semop.c: Likewise.
41425 * sysvipc/semtimedop.c: Likewise.
41426 * sysvipc/shmat.c: Likewise.
41427 * sysvipc/shmctl.c: Likewise.
41428 * sysvipc/shmdt.c: Likewise.
41429 * sysvipc/shmget.c: Likewise.
41430 * termios/tcdrain.c: Likewise.
41431 * termios/tcflow.c: Likewise.
41432 * termios/tcflush.c: Likewise.
41433 * termios/tcgetattr.c: Likewise.
41434 * termios/tcgetpgrp.c: Likewise.
41435 * termios/tcsendbrk.c: Likewise.
41436 * termios/tcsetattr.c: Likewise.
41437 * termios/tcsetpgrp.c: Likewise.
41438 * time/adjtime.c: Likewise.
41439 * time/clock.c: Likewise.
41440 * time/getitimer.c: Likewise.
41441 * time/gettimeofday.c: Likewise.
41442 * time/setitimer.c: Likewise.
41443 * time/settimeofday.c: Likewise.
41444 * time/stime.c: Likewise.
41445 * time/time.c: Likewise.
41447 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
41449 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41452 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41454 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41456 2012-11-03 Joseph Myers <joseph@codesourcery.com>
41459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41460 FE_TONEAREST before applying Dekker multiplication and Knuth
41461 addition. Clear inexact exceptions and check for exact zero
41462 results afterwards.
41463 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41464 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41465 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41466 * math/libm-test.inc (fma_test): Add more tests.
41467 (fma_test_towardzero): Likewise.
41468 (fma_test_downward): Likewise.
41469 (fma_test_upward): Likewise.
41470 * sysdeps/generic/math_private.h (default_libc_fesetround): New
41472 (libc_fesetround): New macro.
41473 (libc_fesetroundf): Likewise.
41474 (libc_fesetroundl): Likewise.
41475 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41477 (libc_fesetround_387): Likewise.
41478 (libc_fesetroundf): New macro.
41479 (libc_fesetround): Likewise.
41480 (libc_fesetroundl): Likewise.
41481 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41483 (libc_fesetroundf): New macro.
41484 (libc_fesetround): Likewise.
41485 (libc_fesetroundl): Likewise.
41486 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41487 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41488 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41490 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41491 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41493 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41494 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41496 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41500 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41501 integer constant usable in #if and use that to give value to enum
41503 (FE_DIVBYZERO): Likewise.
41504 (FE_UNDERFLOW): Likewise.
41505 (FE_OVERFLOW): Likewise.
41506 (FE_INVALID): Likewise.
41507 (FE_INVALID_SNAN): Likewise.
41508 (FE_INVALID_ISI): Likewise.
41509 (FE_INVALID_IDI): Likewise.
41510 (FE_INVALID_ZDZ): Likewise.
41511 (FE_INVALID_IMZ): Likewise.
41512 (FE_INVALID_COMPARE): Likewise.
41513 (FE_INVALID_SOFTWARE): Likewise.
41514 (FE_INVALID_SQRT): Likewise.
41515 (FE_INVALID_INTEGER_CONVERSION): Likewise.
41516 (FE_TONEAREST): Likewise.
41517 (FE_TOWARDZERO): Likewise.
41518 (FE_UPWARD): Likewise.
41519 (FE_DOWNWARD): Likewise.
41520 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41521 (FE_DIVBYZERO): Likewise.
41522 (FE_OVERFLOW): Likewise.
41523 (FE_UNDERFLOW): Likewise.
41524 (FE_INEXACT): Likewise.
41525 (FE_TONEAREST): Likewise.
41526 (FE_DOWNWARD): Likewise.
41527 (FE_UPWARD): Likewise.
41528 (FE_TOWARDZERO): Likewise.
41529 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41530 (FE_UNDERFLOW): Likewise.
41531 (FE_OVERFLOW): Likewise.
41532 (FE_DIVBYZERO): Likewise.
41533 (FE_INVALID): Likewise.
41534 (FE_TONEAREST): Likewise.
41535 (FE_TOWARDZERO): Likewise.
41536 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41537 (FE_OVERFLOW): Likewise.
41538 (FE_UNDERFLOW): Likewise.
41539 (FE_DIVBYZERO): Likewise.
41540 (FE_INEXACT): Likewise.
41541 (FE_TONEAREST): Likewise.
41542 (FE_TOWARDZERO): Likewise.
41543 (FE_UPWARD): Likewise.
41544 (FE_DOWNWARD): Likewise.
41545 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41546 (FE_DIVBYZERO): Likewise.
41547 (FE_OVERFLOW): Likewise.
41548 (FE_UNDERFLOW): Likewise.
41549 (FE_INEXACT): Likewise.
41550 (FE_TONEAREST): Likewise.
41551 (FE_DOWNWARD): Likewise.
41552 (FE_UPWARD): Likewise.
41553 (FE_TOWARDZERO): Likewise.
41555 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
41557 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41559 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
41561 * scripts/cross-test-ssh.sh (command): Use newlines to separate
41562 commands. Quote $PWD.
41563 (blacklist_exports): Don't use remove_newlines. Replace "declare
41565 (remove_newlines): Remove.
41567 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
41569 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41570 * stdlib/stdlib.h (atof): Moved to ...
41571 * include/bits/stdlib-float.h: Here. New file.
41572 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41573 * stdlib/bits/stdlib-float.h: New file.
41574 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41576 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41579 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41581 * conform/conformtest.pl (@headers): Add fenv.h.
41582 * conform/data/fenv.h-data: New file.
41583 * include/fenv.h [_ISOMAC]: Disable all contents of file except
41584 include of <math/fenv.h>.
41586 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41587 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41588 && !UNIX98]. Enables tests for XOPEN2K8.
41589 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41590 POSIX2008]: Likewise.
41592 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41593 (struct rusage): Do not expect type or its members.
41596 * math/math.h (FP_NAN): Define macro to integer constant usable in
41597 #if and use that to give value to enum constant.
41598 (FP_INFINITE): Likewise.
41599 (FP_ZERO): Likewise.
41600 (FP_SUBNORMAL): Likewise.
41601 (FP_NORMAL): Likewise.
41603 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
41605 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41606 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41609 2012-11-02 Roland McGrath <roland@hack.frob.com>
41611 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41612 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41613 autoconf-time if not.
41614 * configure.in: Remove AC_PREREQ.
41616 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41618 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41619 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41620 of the internal implementation.
41622 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41624 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41625 except include of <misc/sys/syslog.h>.
41627 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41630 function returns with a NULL context exit with zero.
41632 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41634 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41636 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
41638 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41639 (run_program_cmd): This.
41640 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41641 (tst_langinfo): New variable. Use it.
41643 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
41645 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41646 floating point opcodes.
41648 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41650 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41653 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41655 * sysdeps/mach/hurd/powerpc: Remove directory.
41656 * sysdeps/mach/powerpc: Likewise.
41658 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41660 * scripts/check-local-headers.sh: Ignore c++ headers.
41662 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41664 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41665 __libc_cleanup_region_start argument.
41667 2012-11-01 Joseph Myers <joseph@codesourcery.com>
41671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41672 x * y using scaling, not as x * y + z.
41673 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41674 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41675 * math/libm-test.inc (fma_test): Add more tests.
41676 (fma_test_towardzero): Likewise.
41677 (fma_test_downward): Likewise.
41678 (fma_test_upward): Likewise.
41680 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41682 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41684 2012-10-31 Joseph Myers <joseph@codesourcery.com>
41686 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41689 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
41691 * rt/tst-shm.c (worker): Correct checking for mmap failure.
41693 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
41695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41700 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41703 Fix the order of the list for glibc 2.17.
41704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41707 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
41709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41711 2012-10-31 Joseph Myers <joseph@codesourcery.com>
41714 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41715 for low part of x being zero before using __atanl (y).
41716 * math/libm-test.inc (atan2_test): Add another test.
41718 * manual/install.texi (Configuring and compiling): Document
41719 general use of test-wrapper and test-wrapper-env.
41720 * INSTALL: Regenerated.
41722 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41723 (__fma): Do not extract and scale down low bits on after-rounding
41724 systems when result rounded to normal precision would have normal
41726 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41727 (__fmal): 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-96/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 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41736 (fma_test): Add more tests.
41737 (fma_test_towardzero): Likewise.
41738 (fma_test_downward): Likewise.
41739 (fma_test_upward): Likewise.
41741 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
41743 * sysdeps/i386/tininess.h: Renamed to ...
41744 * sysdeps/x86/tininess.h: This.
41745 * sysdeps/x86_64/tininess.h: Removed.
41747 2012-10-30 Joseph Myers <joseph@codesourcery.com>
41749 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41750 input. Use $(build-program-cmd).
41751 ($(objpfx)tst-array1-static.out): Likewise.
41752 ($(objpfx)tst-array2.out): Likewise.
41753 ($(objpfx)tst-array3.out): Likewise.
41754 ($(objpfx)tst-array4.out): Likewise.
41755 ($(objpfx)tst-array5.out): Likewise.
41756 ($(objpfx)tst-array5-static.out): Likewise.
41758 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
41760 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41763 * nss/nsswitch.h (nss_interface_function): Provide new
41764 macro for use with NSS functions.
41765 * grp/initgroups.c: Use new macro.
41766 * nss/getXXbyYY.c: Likewise.
41767 * nss/getXXbyYY_r.c: Likewise.
41768 * nss/getXXent.c: Likewise.
41769 * nss/getXXent_r.c: Likewise.
41770 * sysdeps/posix/getaddrinfo.c: Likewise.
41772 2012-10-30 Andreas Jaeger <aj@suse.de>
41774 * po/ru.po: Update Russion translation from translation project.
41776 2012-10-30 Joseph Myers <joseph@codesourcery.com>
41780 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41781 result and shift together with sticky bit instead of replicating
41782 round-to-nearest rounding.
41783 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41784 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41785 * math/libm-test.inc (fma_test): Add more tests. Do not permit
41786 missing underflow exceptions.
41787 (fma_test_towardzero): Add more tests.
41788 (fma_test_downward): Likewise.
41789 (fma_test_upward): Likewise.
41792 * sysdeps/generic/tininess.h: New file.
41793 * sysdeps/i386/tininess.h: Likewise.
41794 * sysdeps/sh/tininess.h: Likewise.
41795 * sysdeps/x86_64/tininess.h: Likewise.
41796 * stdlib/tst-strtod-underflow.c: Likewise.
41797 * stdlib/tst-tininess.c: Likewise.
41798 * stdlib/strtod_l.c: Include <tininess.h>.
41799 (round_and_return): Do not set errno for exact underflow cases.
41800 Force an underflow exception when setting errno for underflow.
41801 Determine underflow based on rounding to normal precision if
41802 TININESS_AFTER_ROUNDING.
41803 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41804 ERANGE for exact underflow cases.
41805 * stdlib/Makefile (tests): Add tst-tininess and
41806 tst-strtod-underflow.
41807 ($(objpfx)tst-tininess): Use $(link-libm).
41808 ($(objpfx)tst-strtod-underflow): Likewise.
41810 2012-10-30 Andreas Jaeger <aj@suse.de>
41813 * elf/Makefile (tests): Remove conditional for have-initfini-array
41814 since this is now always required and the variable does not exist
41816 (tests-static): Likewise.
41817 (modules-names): Likewise.
41819 * po/eo.po: Add Esperanto translation from translation project.
41821 * elf/tst-array1.c (fini_array): Make writeable so that it can be
41822 merged with constructor/destructor.
41823 (init_array): Likewise.
41824 * elf/tst-array2dep.c (fini_array): Likewise.
41825 (init_array): Likewise.
41827 2012-10-29 Mike Frysinger <vapier@gentoo.org>
41829 * manual/message.texi: Delete @cartouche tags.
41831 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
41833 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41835 * sysdeps/mach/hurd/fsync.c: Likewise.
41837 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41838 [_POSIX_REALTIME_SIGNALS]: Change condition to
41839 [_POSIX_REALTIME_SIGNALS > 0].
41841 2012-10-27 Andreas Jaeger <aj@suse.de>
41843 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41844 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41845 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41846 [__WORDSIZE != 64]: Likewise.
41848 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
41850 * iconvdata/tst-table.sh: Remove ${SHELL}.
41851 * iconvdata/tst-tables.sh: Likewise.
41853 2012-10-25 David S. Miller <davem@davemloft.net>
41855 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41856 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41859 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41861 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41862 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41863 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41866 2012-10-25 Roland McGrath <roland@hack.frob.com>
41868 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41869 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41872 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41873 Jim Blandy <jimb@codesourcery.com>
41875 * scripts/cross-test-ssh.sh: New file.
41876 * manual/install.texi (Configuring and compiling): Document use of
41878 * INSTALL: Regenerated.
41880 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
41882 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41885 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41887 * Makeconfig (run-program-prefix): Fix comment.
41889 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41890 Jim Blandy <jimb@codesourcery.com>
41892 * Makeconfig (test-wrapper): New variable,
41893 (test-wrapper-env): Likewise.
41894 [$(cross-compiling) = yes && $(test-wrapper) != ""]
41895 (run-built-tests): Define to yes.
41896 (run-program-prefix): Use $(test-wrapper).
41897 (built-program-cmd): Likewise.
41898 * Rules (make-test-out): Use $(test-wrapper-env) and
41899 $(host-built-program-cmd).
41900 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41901 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41903 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41904 $(test-wrapper-env) to tst-rtld-load-self.sh.
41905 ($(objpfx)order2.out): Use $(test-wrapper).
41906 ($(objpfx)tst-initorder.out): Likewise.
41907 ($(objpfx)tst-initorder2.out): Likewise.
41908 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41909 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41910 (test_wrapper_env): New variable. Use it to run ld.so.
41911 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41912 Use it to run ld.so.
41913 (test_wrapper_env): Likewise.
41914 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41915 $(test-wrapper) to run-iconv-test.sh.
41916 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41917 (ICONV): Use $test_wrapper.
41918 * posix/Makefile ($(objpfx)globtest.out): Pass
41919 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41920 globtest.sh, not $(run-program-prefix).
41921 * posix/globtest.sh (run_via_rtld_prefix): New variable.
41922 (test_wrapper): Likewise.
41923 (test_wrapper_env): Likewise. Use it to run globtest with HOME
41924 set together with run_via_rtld_prefix.
41925 (run_program_prefix): Define in terms of test_wrapper and
41926 run_via_rtld_prefix.
41928 2012-10-24 Roland McGrath <roland@hack.frob.com>
41930 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41931 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41935 * include/time.h: Remove librt_hidden_proto (clock_gettime).
41936 Declare __clock_getres, __clock_gettime, __clock_settime,
41937 __clock_nanosleep, and __clock_getcpuclockid.
41938 * rt/clock_gettime.c: Define __clock_gettime as an alias.
41939 Remove librt_hidden_def (clock_gettime).
41940 * sysdeps/unix/clock_gettime.c: Likewise.
41941 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41942 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41943 * rt/clock_getres.c: Define __clock_getres as an alias.
41944 * sysdeps/posix/clock_getres.c: Likewise.
41945 * rt/clock_settime.c: Define __clock_settime as an alias.
41946 * sysdeps/unix/clock_settime.c: Likewise.
41947 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41948 * sysdeps/unix/clock_nanosleep.c: Likewise.
41949 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41950 * rt/clock-compat.c: New file.
41951 * rt/Makefile (librt-routines): Add clock-compat and move
41952 $(clock-routines) to ...
41953 (routines): ... here, new variable.
41954 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41955 Don't add get_clockfreq here.
41956 * rt/Versions (libc: GLIBC_2.17): New version set.
41957 Add clock_* symbols here.
41958 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
41959 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41960 (GLIBC_2.17): Add clock_* symbols.
41961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41963 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41972 * NEWS: Mention the move.
41974 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41975 Use __open, __read, __close rather than their public counterparts.
41976 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41977 (__get_clockfreq_via_cpuinfo): Likewise.
41978 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41979 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41981 * config.h.in (HAVE_IFUNC): New #undef.
41982 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41984 * configure: Regenerated.
41986 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41988 * configure.in: Move READELF check to start of file.
41989 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41990 libc_cv_asm_gnu_indirect_function in the process.
41991 * configure: Regenerated.
41993 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41995 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41996 send the output to /dev/null.
41997 (libc_cv_cc_with_libunwind): Likewise.
41998 (libc_cv_as_noexecstack): Likewise.
41999 * configure: Regenerate.
42001 2012-10-24 Joseph Myers <joseph@codesourcery.com>
42003 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
42005 * posix/globtest.sh (TMPDIR): Do not set.
42006 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
42007 (testout): Likewise.
42009 2012-10-24 Andreas Jaeger <aj@suse.de>
42011 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
42012 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
42013 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
42014 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
42015 posix_fadvise64, posix_fallocate64.
42017 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
42018 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
42019 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
42021 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
42023 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
42025 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
42026 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
42027 <bits/fcntl-linux.h>.
42028 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
42030 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
42031 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
42032 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
42033 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
42034 [__WORDSIZE != 64]: Likewise.
42036 2012-10-23 Joseph Myers <joseph@codesourcery.com>
42038 * Makeconfig (run-built-tests): New variable.
42039 * Rules [$(cross-compiling) = yes]: Change condition to
42040 [$(run-built-tests) = no].
42041 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
42042 to [$(run-built-tests) = yes].
42043 * elf/Makefile [$(cross-compiling) = no]: Likewise
42044 * grp/Makefile [$(cross-compiling) = no]: Likewise.
42045 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
42046 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
42047 * intl/Makefile [$(cross-compiling) = no]: Likewise.
42048 * io/Makefile [$(cross-compiling) = no]: Likewise.
42049 * libio/Makefile [$(cross-compiling) = no]: Likewise.
42050 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
42051 * misc/Makefile [$(cross-compiling) = no]: Likewise.
42052 * posix/Makefile [$(cross-compiling) = no]: Likewise.
42053 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
42054 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
42055 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
42056 * string/Makefile [$(cross-compiling) = no]: Likewise.
42058 * posix/Makefile ($(objpfx)globtest.out): Pass
42059 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
42060 $(rtld-installed-name).
42061 * posix/globtest.sh (elf_objpfx): Remove variable.
42062 (rtld_installed_name): Likewise.
42063 (library_path): Likewise.
42064 (run_program_prefix): New variable. Use for running globtest
42067 2012-10-23 Jim Blandy <jimb@codesourcery.com>
42068 Joseph Myers <joseph@codesourcery.com>
42070 * Makeconfig (host-built-program-cmd): New variable.
42071 * elf/Makefile (tst-stackguard1-ARGS): Use
42072 $(host-built-program-cmd).
42073 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
42074 (tst-spawn-ARGS): Likewise.
42075 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
42077 2012-10-23 Joseph Myers <joseph@codesourcery.com>
42078 Jim Blandy <jimb@codesourcery.com>
42080 * Makeconfig (run-via-rtld-prefix): New variable.
42081 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
42082 (built-program-cmd): Likewise.
42084 2012-10-22 Andreas Jaeger <aj@suse.de>
42086 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
42087 __O_RSYNC if it exists, otherwise to O_SYNC.
42089 2012-10-22 Jim Blandy <jimb@codesourcery.com>
42090 Joseph Myers <joseph@codesourcery.com>
42092 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
42094 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42096 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42099 2012-10-22 Andreas Jaeger <aj@suse.de>
42101 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42103 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42105 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42106 bits/fcntl-linux.h.
42108 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42109 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42113 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42116 2012-10-21 Jim Blandy <jimb@codesourcery.com>
42117 Joseph Myers <joseph@codesourcery.com>
42119 * config.make.in (NM): New variable.
42121 2012-10-21 Andreas Jaeger <aj@suse.de>
42123 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42124 definitions and declarations that are provided by
42125 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42127 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
42130 * elf/Makefile (tests-static): Add tst-leaks1-static.
42131 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42132 ($(objpfx)tst-leaks1-static): New rule.
42133 ($(objpfx)tst-leaks1-static-mem): Likewise.
42134 (tst-leaks1-static-ENV): New macro.
42135 * elf/dl-open.c (dl_open_worker): Check the main application
42136 only if SHARED is defined.
42137 * elf/tst-leaks1-static.c: New file.
42139 2012-10-20 Andreas Jaeger <aj@suse.de>
42141 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42142 generic values for Linux.
42143 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42144 and declarations that are provided by <bits/fcntl-linux.h> and
42145 include <bits/fcntl-linux.h>.
42146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42147 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42149 2012-10-20 Roland McGrath <roland@hack.frob.com>
42151 * io/fcntl.h: Move include of <bits/types.h> to the top and
42152 include it unconditionally.
42154 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
42156 * wcsmbs/Makefile (tests-ifunc): New variable.
42157 (tests): Add $(tests-ifunc).
42158 * wcsmbs/test-wcschr-ifunc.c: New file.
42159 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42160 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42161 * wcsmbs/test-wcslen-ifunc.c: Likewise.
42162 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42163 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42165 * string/Makefile (tests-ifunc): New variable.
42166 (tests): Add $(tests-ifunc).
42167 * string/test-memccpy.c (TEST_NAME): New macro.
42168 * string/test-memchr.c (TEST_NAME): Likewise.
42169 * string/test-memcmp.c (TEST_NAME): Likewise.
42170 * string/test-memcpy.c (TEST_NAME): Likewise.
42171 * string/test-memmem.c (TEST_NAME): Likewise.
42172 * string/test-memmove.c (TEST_NAME): Likewise.
42173 * string/test-memset.c (TEST_NAME): Likewise.
42174 * string/test-rawmemchr.c (TEST_NAME): Likewise.
42175 * string/test-stpcpy.c (TEST_NAME): Likewise.
42176 * string/test-stpncpy.c (TEST_NAME): Likewise.
42177 * string/test-strcasecmp.c (TEST_NAME): Likewise.
42178 * string/test-strcasestr.c (TEST_NAME): Likewise.
42179 * string/test-strcat.c (TEST_NAME): Likewise.
42180 * string/test-strchr.c (TEST_NAME): Likewise.
42181 * string/test-strcmp.c(TEST_NAME): Likewise.
42182 * string/test-strcpy.c (TEST_NAME): Likewise.
42183 * string/test-strcspn.c (TEST_NAME): Likewise.
42184 * string/test-strlen.c (TEST_NAME): Likewise.
42185 * string/test-strncasecmp.c (TEST_NAME): Likewise.
42186 * string/test-strncmp.c (TEST_NAME): Likewise.
42187 * string/test-strncpy.c (TEST_NAME): Likewise.
42188 * string/test-strnlen.c (TEST_NAME): Likewise.
42189 * string/test-strpbrk.c (TEST_NAME): Likewise.
42190 * string/test-strrchr.c (TEST_NAME): Likewise.
42191 * string/test-strspn.c (TEST_NAME): Likewise.
42192 * string/test-strstr.c (TEST_NAME): Likewise.
42193 * string/test-bcopy-ifunc.c: New file.
42194 * string/test-bzero-ifunc.c: Likewise.
42195 * string/test-memccpy-ifunc.c: Likewise.
42196 * string/test-memchr-ifunc.c: Likewise.
42197 * string/test-memcmp-ifunc.c: Likewise.
42198 * string/test-memcpy-ifunc.c: Likewise.
42199 * string/test-memmem-ifunc.c: Likewise.
42200 * string/test-memmove-ifunc.c: Likewise.
42201 * string/test-mempcpy-ifunc.c: Likewise.
42202 * string/test-memset-ifunc.c: Likewise.
42203 * string/test-rawmemchr-ifunc.c: Likewise.
42204 * string/test-stpcpy-ifunc.c: Likewise.
42205 * string/test-stpncpy-ifunc.c: Likewise.
42206 * string/test-strcasecmp-ifunc.c: Likewise.
42207 * string/test-strcasestr-ifunc.c: Likewise.
42208 * string/test-strcat-ifunc.c: Likewise.
42209 * string/test-strchr-ifunc.c: Likewise.
42210 * string/test-strchrnul-ifunc.c: Likewise.
42211 * string/test-strcmp-ifunc.c: Likewise.
42212 * string/test-strcpy-ifunc.c: Likewise.
42213 * string/test-strcspn-ifunc.c: Likewise.
42214 * string/test-strlen-ifunc.c: Likewise.
42215 * string/test-strncasecmp-ifunc.c: Likewise.
42216 * string/test-strncat-ifunc.c: Likewise.
42217 * string/test-strncmp-ifunc.c: Likewise.
42218 * string/test-strncpy-ifunc.c: Likewise.
42219 * string/test-strnlen-ifunc.c: Likewise.
42220 * string/test-strpbrk-ifunc.c: Likewise.
42221 * string/test-strrchr-ifunc.c: Likewise.
42222 * string/test-strspn-ifunc.c: Likewise.
42223 * string/test-strstr-ifunc.c: Likewise.
42225 * debug/Makefile (tests-ifunc): New variable.
42226 (tests): Add $(tests-ifunc).
42227 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42228 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42229 * debug/test-stpcpy_chk-ifunc.c: New file.
42230 * debug/test-strcpy_chk-ifunc.c: Likewise.
42232 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
42235 * elf/dl-load.c (open_verify): Retry read if the entire ELF
42236 header is not read in.
42238 2012-10-19 Joseph Myers <joseph@codesourcery.com>
42240 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
42241 script to $(SHELL) as $<. Pass $(common-objpfx) to script
42242 directly. Pass built executable to script as
42243 $(built-program-cmd).
42244 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
42245 $testprogram without using LD_LIBRARY_PATH and $ldso.
42247 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42248 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42249 $(rtld-installed-name).
42250 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42251 (rtld_installed_name): Likewise.
42252 (library_path): Likewise.
42253 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
42254 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42255 $(run-program-prefix) to tst-tables.sh.
42256 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
42257 it to run tst-table-from and tst-table-to.
42258 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42259 Pass it to tst-table.sh.
42260 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42261 $(run-program-prefix) to tst-gettext.sh.
42262 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42264 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42266 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
42267 to run tst-gettext.
42268 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
42269 to run tst-gettext2.
42270 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
42271 to run tst-translit.
42272 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42273 $(run-program-prefix) to tst-mtrace.sh.
42274 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
42276 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42277 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42278 $(rtld-installed-name).
42279 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42280 (rtld_installed_name): Likewise.
42281 (run_program_prefix): New variable. Use it to run wordexp-test.
42283 * Makeconfig (ARCH): Remove all definitions.
42284 (machine): Likewise.
42285 [ARCH]: Remove conditional code.
42286 [!objdir]: Give error.
42287 [!objdir] (objpfx): Remove.
42288 [!objdir] (common-objpfx): Likewise.
42289 [!objdir] (common-objdir): Likewise.
42290 * configure.in (config_makefile): Remove. Hardcode Makefile in
42291 AC_CONFIG_FILES call.
42292 * configure: Regenerated.
42295 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42297 (testout): Likewise.
42299 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42300 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42301 $(rtld-installed-name).
42302 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42303 (rtld_installed_name): Likwise.
42304 (runit): Remove function.
42305 (run_getconf): New variable, Use it for running getconf binary.
42307 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
42310 * string/test-memmem.c (check_result): New function.
42311 (do_one_test): Use it.
42312 (check1): New function.
42313 (test_main): Use it.
42315 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
42317 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42319 2012-10-18 Joseph Myers <joseph@codesourcery.com>
42321 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42322 (_G_LSEEK64): Likewise.
42323 (_G_MMAP64): Likewise.
42324 (_G_FSTAT64): Likewise.
42325 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42326 (_G_LSEEK64): Likewise.
42327 (_G_MMAP64): Likewise.
42328 (_G_FSTAT64): Likewise.
42329 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42330 unconditional. Call __mmap64 directly.
42331 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42332 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
42333 __lseek64 directly.
42334 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42335 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
42337 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42338 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
42339 __lseek64 directly.
42340 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42341 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
42342 __lseek64 directly.
42343 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42344 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
42345 __lseek64 directly.
42346 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42347 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
42348 __fxstat64 directly.
42349 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42350 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42352 (freopen64) [!_G_OPEN64]: Remove conditional code.
42353 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42355 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42356 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42358 (ftello64) [!_G_LSEEK64]: Remove conditional code.
42359 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42361 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42362 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42364 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42365 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42367 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42368 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42370 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42371 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42373 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42375 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42378 * manual/memory.texi (Malloc Tunable Parameters): Add note
42379 about free list pointers overwriting some perturb bytes.
42380 Wording suggested by Roland McGrath.
42382 2012-10-17 Joseph Myers <joseph@codesourcery.com>
42384 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42385 (lgamma_test): Likewise.
42386 (tgamma_test): Likewise.
42388 2012-10-16 Florian Weimer <fweimer@redhat.com>
42391 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42392 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42394 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
42396 * NEWS: Mention BZ #14716.
42397 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42398 when removing AVAILABLE1_USES_J macro.
42400 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
42402 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42403 (__bswap_64): __uint64_t for unsigned 64-bit int.
42405 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
42407 * include/string.h (memmem): Declare libc hidden alias.
42408 * string/memmem.c (memmem): Define libc hidden alias.
42409 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42410 __read, __close instead of open, read, close.
42412 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
42414 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42415 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42417 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42418 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42419 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42421 (__rawmemchr_sse2): Likewise.
42422 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42423 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42424 (__strchr_sse2): Likewise.
42425 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42426 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42427 (__strcasecmp_sse2): Likewise.
42428 (__strncasecmp_sse2): Likewise.
42429 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42430 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42431 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42432 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42433 (__strrchr_sse2): Likewise.
42434 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42436 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42437 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42438 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42439 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42440 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42441 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42442 * sysdeps/x86_64/multiarch/memset.S: Likewise.
42443 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42444 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42445 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42446 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42447 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42448 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42449 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42450 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42451 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42452 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42453 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42454 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42455 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42456 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42457 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42458 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42459 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42460 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42461 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42462 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42463 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42464 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42465 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42467 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42469 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42470 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42471 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42472 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42474 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42476 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42477 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42478 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42479 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42481 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42482 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42483 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42484 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42485 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42486 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42487 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42488 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42489 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42490 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42491 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42492 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42493 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42494 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42495 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42496 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42497 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42498 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42499 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42500 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42501 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42502 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42503 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42504 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42505 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42506 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42507 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42508 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42509 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42510 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42511 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42512 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42513 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42514 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42515 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42516 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42517 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42518 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42519 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42520 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42521 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42523 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42524 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42525 * include/ifunc-impl-list.h: New file.
42526 * misc/ifunc-impl-list.c: Likewise.
42527 * misc/Makefile (routines): Add ifunc-impl-list.
42528 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42529 * string/test-string.h: Include <ifunc-impl-list.h>.
42530 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42531 TEST_NAME]: New variables.
42532 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42534 (test_init): Call __libc_ifunc_impl_list to initialize
42535 func_list if TEST_IFUNC and TEST_NAME are defined.
42537 * string/Makefile (strop-tests): Add bcopy and bzero.
42538 * string/test-bcopy.c: New file.
42539 * string/test-bzero.c: Likewise.
42540 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42542 * string/test-memset.c: Support bzero test if TEST_BZERO is
42544 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42546 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42548 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42551 2012-10-10 Joseph Myers <joseph@codesourcery.com>
42553 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42554 * configure: Regenerated.
42556 * Makeconfig (+link-static-before-libc): Don't include
42557 $(link-static-libc).
42559 * libio/libio.h (_IO_pos_t): Remove.
42561 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42563 * NEWS: Add note about FIPS mode. Wording suggested by Roland
42566 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42568 * crypt/crypt-entry.c: Include fips-private.h.
42569 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42570 * crypt/md5c-test.c (main): Tolerate disabled MD5.
42571 * sysdeps/unix/sysv/linux/fips-private.h: New file.
42572 * sysdeps/generic/fips-private.h: New file, dummy fallback.
42574 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42576 * crypt/crypt-private.h: Include stdbool.h.
42577 (_ufc_setup_salt_r): Return bool.
42578 * crypt/crypt-entry.c: Include errno.h.
42579 (__crypt_r): Return NULL with EINVAL for bad salt.
42580 * crypt/crypt_util.c (bad_for_salt): New.
42581 (_ufc_setup_salt_r): Check that salt is long enough and within
42582 the specified alphabet.
42583 * crypt/badsalttest.c: New file.
42584 * crypt/Makefile (tests): Add it.
42585 ($(objpfx)badsalttest): New.
42587 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
42589 * NEWS: Add entry for BZ #14602.
42591 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42593 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42595 * math/libm-test.inc: Update comment listing what functions and
42597 (isgreater_test): New function.
42598 (isgreaterequal_test): Likewise.
42599 (isless_test): Likewise.
42600 (islessequal_test): Likewise.
42601 (islessgreater_test): Likewise.
42602 (isunordered_test): Likewise.
42603 (main): Call the new functions.
42605 2012-10-09 Roland McGrath <roland@hack.frob.com>
42607 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42608 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42609 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42610 * sysdeps/i386/configure: Regenerated.
42611 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42612 * sysdeps/mach/configure: Regenerated.
42613 * sysdeps/mach/hurd/configure: Regenerated.
42614 * sysdeps/powerpc/configure: Regenerated.
42615 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42616 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42617 * sysdeps/s390/s390-32/configure: Regenerated.
42618 * sysdeps/s390/s390-64/configure: Regenerated.
42619 * sysdeps/sh/configure: Regenerated.
42620 * sysdeps/sparc/configure: Regenerated.
42621 * sysdeps/unix/sysv/linux/configure: Regenerated.
42622 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42623 * sysdeps/x86_64/configure: Regenerated.
42625 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42626 defined. Don't check if MAP is NULL.
42628 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42630 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42631 (_G_stat64): Likewise.
42632 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42633 (_G_stat64): Likewise.
42634 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42635 instead of struct _G_stat64.
42636 * libio/fileops.c (mmap_remap_check): Likewise.
42637 (decide_maybe_mmap): Likewise.
42638 (_IO_new_file_seekoff): Likewise.
42639 (_IO_file_stat): Likewise.
42640 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42642 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42643 instead of struct _G_stat64.
42644 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42646 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
42649 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42651 (CHECK_EOL): New macro.
42652 (two_way_short_needle): Check beginning of haystack for EOL. Use
42654 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42655 Replace with CHECK_EOL.
42656 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42657 Replace with CHECK_EOL.
42659 2012-10-08 Joseph Myers <joseph@codesourcery.com>
42661 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42663 * math/libm-test.inc: Update comment listing what functions and
42665 (finite_test): New function.
42666 (isinf_test): Likewise.
42667 (isnan_test): Likewise.
42668 (fpclassify_test): Test subnormal input.
42669 (isfinite_test): Likewise.
42670 (isnormal_test): Likewise.
42671 (main): Call the new functions.
42673 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
42676 * Makerules (%.dynsym): Force C locale when running
42677 $(OBJDUMP) --dynamic-syms.
42679 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
42681 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42684 2012-10-06 David S. Miller <davem@davemloft.net>
42686 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42687 upper 32-bits of the length value in %o2 since we use branch-on-register
42688 tests which consider the entire 64-bit register.
42690 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
42692 * string/test-strstr.c (check2): Add a test for page boundary.
42694 2012-10-05 David S. Miller <davem@davemloft.net>
42696 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42697 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42699 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42701 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42702 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42703 and bzero when HWCAP_SPARC_CRYPTO is present.
42705 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
42708 * string/test-strstr.c (check2): New function.
42709 (test_main): Call check2.
42711 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42713 * string/bug-strcasestr1.c (do_test): Moved to ...
42714 * string/test-strcasestr.c (check1): Here. New function.
42715 (do_one_test): Break out result checking code into ...
42716 (check_result): This. New function.
42717 (do_one_test): Call check_result.
42718 (test_main): Call check1.
42719 * string/bug-strchr1.c (do_test): Moved to ...
42720 * string/test-strchr.c (check1): Here. New function.
42721 (do_one_test): Break out result checking code into ...
42722 (check_result): This. New function.
42723 (do_one_test): Call check_result.
42724 (test_main): Call check1.
42725 * string/bug-strstr1.c (main): Moved to ...
42726 * string/test-strstr.c (check1): Here. New function.
42727 (do_one_test): Break out result checking code into ...
42728 (check_result): This. New function.
42729 (do_one_test): Call check_result.
42730 (test_main): Call check1.
42731 * string/bug-strcasestr1.c: Removed.
42732 * string/bug-strchr1.c: Likewise.
42733 * string/bug-strstr1.c: Likewise.
42735 * elf/Makefile (dl-routines): Add hwcaps.
42736 * elf/dl-support.c (_dl_important_hwcaps): Removed.
42737 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42738 (_dl_important_hwcaps): Moved to ...
42739 * elf/dl-hwcaps.c: Here. New file.
42740 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42743 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42744 if IS_IN_rtld isn't defined.
42746 * elf/dl-support.c (_dl_sysinfo_map): New.
42747 Include "get-dynamic-info.h" and "setup-vdso.h".
42748 (_dl_non_dynamic_init): Call setup_vdso.
42749 * elf/dynamic-link.h: Don't include <assert.h>.
42750 (elf_get_dynamic_info): Moved to ...
42751 * elf/get-dynamic-info.h: Here. New file.
42752 * elf/dynamic-link.h: Include "get-dynamic-info.h".
42753 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42754 * elf/setup-vdso.h: Here. New file.
42755 * elf/rtld.c: Include "setup-vdso.h".
42756 (dl_main): Call setup_vdso.
42758 2012-10-05 Joseph Myers <joseph@codesourcery.com>
42760 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42761 creal in comment listing functions tested. List finite, isinf,
42762 isnan, isless, islessequal, isgreater, isgreaterequal,
42763 islessgreater, isunordered, lgamma_r and pow10 as functions and
42764 macros not tested. Mention which functions not tested are aliases
42765 for other functions. Fix typo. Note that signs of NaNs are not
42768 * scripts/config.guess: Update from config.git.
42769 * scripts/config.sub: Likewise.
42771 2012-10-04 Roland McGrath <roland@hack.frob.com>
42773 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42774 * misc/madvise.c (madvise): Renamed to __madvise.
42775 Make madvise a weak alias.
42776 * include/sys/mman.h: Declare __madvise.
42777 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42778 * sysdeps/unix/syscalls.list
42779 (madvise): Make __madvise the strong name, and madvise a weak alias.
42780 * sysdeps/unix/sysv/linux/syscalls.list
42781 (madvise, mmap): Remove redundant entries.
42782 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42783 * malloc/malloc.c (mtrim): Likewise.
42784 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42786 2012-10-03 Roland McGrath <roland@hack.frob.com>
42788 * sysdeps/mach/hurd/dl-cache.c: File removed.
42789 * config.h.in (USE_LDCONFIG): New #undef.
42790 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42791 * configure: Regenerated.
42792 * elf/Makefile (dl-routines): Add dl-cache only under
42793 [$(use-ldconfig) = yes].
42794 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42795 cache on [USE_LDCONFIG].
42796 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42798 * elf/rtld.c (dl_main): Likewise.
42800 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
42802 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42803 _SC_LEVEL4_CACHE_LINESIZE.
42805 2012-10-03 Roland McGrath <roland@hack.frob.com>
42807 * sysdeps/unix/bsd/confstr.h: File removed.
42809 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
42811 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42814 2012-10-02 Roland McGrath <roland@hack.frob.com>
42816 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42817 Make 'mapoff' field ElfW(Off) rather than off_t.
42819 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
42821 * nscd/Makefile: Remove nscd-cflags and all its users.
42822 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42823 (CFLAGS-nonlib): Add compiler flags for nscd modules.
42826 * malloc.c (malloc_printerr): Clarify error message.
42828 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
42831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42832 Set bit_FMA_Usable if FMA is supported.
42833 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42835 (bit_FMA4_Usable): Updated.
42836 (index_FMA_Usable): New macro.
42837 (CPUID_FMA): Likewise
42838 (HAS_FMA): Defined with bit_FMA_Usable.
42840 2012-10-01 Roland McGrath <roland@hack.frob.com>
42842 * bits/types.h (__swblk_t): Type removed.
42843 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42844 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42845 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42846 (__SWBLK_T_TYPE): Likewise.
42847 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42848 (__SWBLK_T_TYPE): Likewise.
42849 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42850 (__SWBLK_T_TYPE): Likewise.
42851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42852 (__SWBLK_T_TYPE): Likewise.
42854 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
42855 Honza Horak <hhorak@redhat.com>
42857 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42858 (xdr_mapname): Use YPMAXMAP as maxsize.
42859 (xdr_peername): Use YPMAXPEER as maxsize.
42860 (xdr_keydat): Use YPAXRECORD as maxsize.
42861 (xdr_valdat): Use YPMAXRECORD as maxsize.
42863 2012-10-01 Roland McGrath <roland@hack.frob.com>
42865 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42867 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42868 * csu/init-first.c: ... here.
42869 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42870 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42871 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42872 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42873 * sysdeps/i386/init-first.c: File removed.
42874 * sysdeps/sh/init-first.c: File removed.
42876 2012-10-01 Joseph Myers <joseph@codesourcery.com>
42879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42880 if x * y might underflow to zero and z is zero.
42881 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42882 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42883 * math/libm-test.inc (min_subnorm_value): New variable.
42884 (fma_test): Add more tests.
42885 (fma_test_towardzero): Likewise.
42886 (fma_test_downward): Likewise
42887 (fma_test_upward): Likewise.
42888 (initialize): Set min_subnorm_value.
42890 2012-09-29 Joseph Myers <joseph@codesourcery.com>
42893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42895 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42896 mode for addition resulting in exact zero.
42897 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42898 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42900 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42901 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42902 * math/libm-test.inc (fma_test): Add more tests.
42903 (fma_test_towardzero): New function.
42904 (fma_test_downward): Likewise.
42905 (fma_test_upward): Likewise.
42906 (main): Call the new functions.
42908 2012-09-28 David S. Miller <davem@davemloft.net>
42910 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42912 2012-09-28 Roland McGrath <roland@hack.frob.com>
42914 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42915 instead of SIGALRM.
42917 * sysdeps/gnu/_G_config.h: Moved to ...
42918 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42919 * sysdeps/mach/hurd/_G_config.h: Moved to ...
42920 * sysdeps/generic/_G_config.h: ... here.
42922 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
42924 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42926 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42927 Conditionalize target on [libnss_test1.so-version].
42929 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42931 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42932 (elfobjdir): Move out of conditionals.
42934 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42935 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42936 (__nss_lookup_function): Conditionalize label remove_from_tree on
42937 [!DO_STATIC_NSS || SHARED], matching its only use.
42939 2012-09-28 David S. Miller <davem@davemloft.net>
42941 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42942 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42944 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42946 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42947 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42948 when HWCAP_SPARC_CRYPTO is present.
42950 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42952 * io/tst-mknodat.c: Create a FIFO instead of a socket.
42954 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
42957 * stdio-common/vfprintf.c (process_string_arg): Revert
42960 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
42962 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42964 * stdio-common/tst-sprintf.c: Include <locale.h>
42965 (main): Test sprintf's handling of incomplete multibyte
42968 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
42970 * elf/dl-runtime.c (VERSYMIDX): Removed.
42971 * elf/dl-version.c (VERSYMIDX): Likewise.
42972 * elf/do-rel.h (VERSYMIDX): Likewise.
42973 (VALIDX): Likewise.
42974 * elf/dynamic-link.h (VERSYMIDX): Likewise.
42975 * elf/rtld.c (VALIDX): Likewise.
42976 (ADDRIDX): Likewise.
42977 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42978 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42979 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42980 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42981 (VALIDX): Likewise.
42982 (ADDRIDX): Likewise.
42984 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42986 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42988 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
42991 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42993 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42994 addresses are in the same scope as 192.0.2/24.
42995 * posix/gai.conf: Document new scope table defaults.
42997 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43000 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
43001 for ftell. Compute offsets from write pointers instead.
43002 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43004 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43007 * libio/Makefile (tests): New test case tst-fseek.
43008 * libio/tst-fseek.c: New test case to verify that fseek/ftell
43009 combination works in wide mode.
43010 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
43011 state when the external buffer state changes.
43013 2012-09-27 David S. Miller <davem@davemloft.net>
43016 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
43017 pass reloc->r_addend in as the 'high' argument to
43018 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
43020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43022 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
43024 * rt/tst-aio2.c: Include <pthread.h>.
43025 * rt/tst-aio3.c: Likewise.
43027 2012-09-27 Steve Ellcey <sellcey@mips.com>
43029 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
43031 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
43033 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
43034 contents on [SHARED].
43036 2012-09-26 Marek Polacek <polacek@redhat.com>
43040 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
43041 for C++ and GCC <4.3 as well as for non GCC compilers.
43043 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
43045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43047 2012-09-25 Roland McGrath <roland@hack.frob.com>
43049 * Makefile.in (all, install): Declare with .PHONY.
43050 Reported by Michael Hope <michael.hope@linaro.org>.
43052 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43054 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
43055 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
43057 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
43059 (sydep_routines): Add the new and the internal functions.
43060 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
43061 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
43062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
43063 (GLIBC_2.17): Add the new function.
43064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43065 (GLIBC_2.17): Likewise.
43066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
43067 (GLIBC_2.17): Likewise.
43068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
43069 (GLIBC_2.17): Likewise.
43070 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
43072 2012-09-25 Alan Modra <amodra@gmail.com>
43074 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
43075 Add release barrier before setting once_control to say
43076 initialisation is done. Add hints on lwarx. Use macro in
43078 (clear_once_control): Add release barrier.
43080 2012-09-25 Joseph Myers <joseph@codesourcery.com>
43083 * math/s_clog.c (__clog): Handle more values close to |z| = 1
43085 * math/s_clog10.c (__clog10): Likewise.
43086 * math/s_clog10f.c (__clog10f): Likewise.
43087 * math/s_clog10l.c (__clog10l): Likewise.
43088 * math/s_clogf.c (__clogf): Likewise.
43089 * math/s_clogl.c (__clogl): Likewise.
43090 * math/Makefile (libm-calls): Add x2y2m1.
43091 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
43092 (__x2y2m1): Likewise.
43093 (__x2y2m1l): Likewise.
43094 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43095 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43096 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43097 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43098 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43099 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43100 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43101 * sysdeps/i386/fpu/libm-test-ulps: Update.
43102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43105 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43106 int as type of variable DEPTH.
43107 (glob): Use size_t instead of int as type of variables NEWCOUNT
43110 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43112 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43113 Add s_sincosf-sse2.
43114 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43115 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43116 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43117 macros for using routine as __sincosf_ia32.
43118 Use macro for function declaration and weak_alias.
43119 * sysdeps/i386/fpu/libm-test-ulps: Update.
43121 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43124 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43125 subnormal argument.
43126 * math/s_cexpf.c (__cexpf): Likewise.
43127 * math/s_csinf.c (__csinf): Likewise.
43128 * math/s_csinhf.c (__csinhf): Likewise.
43129 * math/s_ctanf.c (__ctanf): Likewise.
43130 * math/s_ctanhf.c (__ctanhf): Likewise.
43131 * math/s_ccosh.c (__ccoshf): Likewise.
43132 * math/s_cexp.c (__cexpl): Likewise.
43133 * math/s_csin.c (__csin): Likewise.
43134 * math/s_csinh.c (__csinh): Likewise.
43135 * math/s_ctan.c (__ctan): Likewise.
43136 * math/s_ctanh.c (ctanh): Likewise.
43137 * math/s_ccoshl.c (__ccoshl): Likewise.
43138 * math/s_cexpl.c (__cexpl): Likewise.
43139 * math/s_csinl.c (__csinl): Likewise.
43140 * math/s_csinhl.c (__csinhl): Likewise.
43141 * math/s_ctanl.c (__ctanl): Likewise.
43142 * math/s_ctanhl.c (__ctanhl): Likewise.
43144 2012-09-25 Joseph Myers <joseph@codesourcery.com>
43146 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43147 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43148 (_IO_off_t): Define to __off_t, not _G_off_t.
43149 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43150 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43151 (_IO_wint_t): Define to wint_t, not _G_wint_t.
43152 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43153 type of __dummy and __dummy2 fields.
43154 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43155 (_G_ssize_t): Likewise.
43156 (_G_off_t): Likewise.
43157 (_G_pid_t): Likewise.
43158 (_G_uid_t): Likewise.
43159 (_G_wchar_t): Likewise.
43160 (_G_wint_t): Likewise.
43161 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43162 (_G_ssize_t): Likewise.
43163 (_G_off_t): Likewise.
43164 (_G_pid_t): Likewise.
43165 (_G_uid_t): Likewise.
43166 (_G_wchar_t): Likewise.
43167 (_G_wint_t): Likewise.
43168 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43169 (_G_ssize_t): Likewise.
43170 (_G_off_t): Likewise.
43171 (_G_pid_t): Likewise.
43172 (_G_uid_t): Likewise.
43173 (_G_wchar_t): Likewise.
43174 (_G_wint_t): Likewise.
43176 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43178 * malloc/arena.c: Include malloc-sysdep.h.
43179 (shrink_heap): Use check_may_shrink_heap to decide if madvise
43180 is sufficient to shrink the heap or an unmap is needed.
43181 * sysdeps/generic/malloc-sysdep.h: New file. Define
43182 new function check_may_shrink_heap.
43183 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
43184 new function check_may_shrink_heap.
43186 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43188 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43191 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
43193 * catgets/test-gencat.sh: Add "set -e".
43194 * elf/tst-pathopt.sh: Likewise.
43195 * grp/tst_fgetgrent.sh: Likewise.
43196 * iconvdata/run-iconv-test.sh: Likewise.
43197 * intl/tst-gettext.sh: Likewise.
43198 * intl/tst-gettext2.sh: Likewise.
43199 * intl/tst-gettext4.sh: Likewise.
43200 * intl/tst-gettext6.sh: Likewise.
43201 * intl/tst-translit.sh: Likewise.
43202 * io/ftwtest-sh: Likewise.
43203 * libio/test-freopen.sh: Likewise.
43204 * malloc/tst-mtrace.sh: Likewise.
43205 * posix/globtest.sh: Likewise.
43206 * posix/tst-getconf.sh: Likewise.
43207 * posix/wordexp-tst.sh: Likewise.
43208 * stdio-common/tst-printf.sh: Likewise.
43209 * stdio-common/tst-unbputc.sh: Likewise.
43210 * stdlib/tst-fmtmsg.sh: Likewise.
43211 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43212 * catgets/Makefile: Do not specify -e option when running
43213 testsuite shell scripts.
43214 * elf/Makefile: Likewise.
43215 * grp/Makefile: Likewise.
43216 * iconvdata/Makefile: Likewise.
43217 * intl/Makefile: Likewise.
43218 * io/Makefile: Likewise.
43219 * libio/Makefile: Likewise.
43220 * malloc/Makefile: Likewise.
43221 * posix/Makefile: Likewise.
43222 * stdio-common/Makefile: Likewise.
43223 * stdlib/Makefile: Likewise.
43224 * sysdeps/x86_64/Makefile: Likewise.
43226 * io/ftwtest-sh: Add copyright header.
43227 * posix/globtest.sh: Likewise.
43228 * posix/tst-getconf.sh: Likewise.
43229 * posix/wordexp-tst.sh: Likewise.
43230 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43232 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
43235 * Makeconfig (+link): Defined as $(+link-static) if
43236 $(build-shared) isn't yes.
43237 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43239 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43241 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43244 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43245 new chunk size with MALLOC_ALIGN_MASK.
43247 2012-09-24 Joseph Myers <joseph@codesourcery.com>
43250 * stdio-common/printf_fphex.c: Include <stdbool.h> and
43252 (__printf_fphex): Determine rounding using get_rounding_mode and
43254 * stdio-common/tst-printf-round.c (struct hex_test): New
43256 (hex_tests): New variable.
43257 (test_hex_in_one_mode): New function.
43258 (do_test): Also run tests for hex float output.
43260 2012-09-21 Joseph Myers <joseph@codesourcery.com>
43262 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43263 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43264 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43265 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43266 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43267 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43268 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43269 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43271 2012-09-20 Joseph Myers <joseph@codesourcery.com>
43273 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43274 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43275 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43276 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43278 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
43281 * elf/rtld.c (dl_main): Limit the check for self loading to normal
43283 * elf/tst-rtld-load-self.sh: New test.
43284 * elf/Makefile: Run it.
43286 2012-09-18 Joseph Myers <joseph@codesourcery.com>
43288 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43289 (tst-writev-ENV): Remove.
43290 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43292 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
43294 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43296 2012-09-17 Joseph Myers <joseph@codesourcery.com>
43298 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43300 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43302 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43303 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43304 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43307 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
43310 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43311 * config.make.in (have-cpp-asm-debuginfo): Removed.
43312 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43313 * configure: Regenerated.
43315 2012-09-14 Joseph Myers <joseph@codesourcery.com>
43318 * stdio-common/printf_fp.c: Include <stdbool.h> and
43320 (___printf_fp): Determine rounding using get_rounding_mode and
43322 * stdio-common/tst-printf-round.c: New file.
43323 * stdio-common/Makefile (tests): Add tst-printf-round.
43324 (link-libm): New variable.
43325 ($(objpfx)tst-printf-round): Depend in $(link-libm).
43327 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
43330 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43331 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43333 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43336 2012-09-13 Joseph Myers <joseph@codesourcery.com>
43338 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43339 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43340 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43341 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43343 2012-09-12 Joseph Myers <joseph@codesourcery.com>
43346 * include/rounding-mode.h: New file.
43347 * sysdeps/generic/get-rounding-mode.h: Likewise.
43348 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43349 * stdlib/strtod_l.c: Include <rounding-mode.h>.
43350 (MAX_VALUE): New macro.
43351 (MIN_VALUE): Likewise.
43352 (overflow_value): New function.
43353 (underflow_value): Likewise.
43354 (round_and_return): Use overflow_value and underflow_value to
43355 determine return values in overflow and underflow cases. Use
43356 round_away to determine rounding depending on rounding mode.
43357 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43358 determine return values in overflow and underflow cases.
43359 * stdlib/tst-strtod-round.c: Include <fenv.h>.
43360 (struct test_results): New structure.
43361 (struct test): Use struct test_results to store expected results
43362 for all rounding modes.
43363 (TEST): Include expected results for all rounding modes.
43364 (test_in_one_mode): New function.
43365 (do_test): Use test_in_one_mode to compute and check results.
43366 Check results for all rounding modes.
43367 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43370 2012-12-09 Allan McRae <allan@archlinux.org>
43372 * sysdeps/i386/fpu/libm-test-ulps: Update
43374 2012-09-11 Joseph Myers <joseph@codesourcery.com>
43376 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43377 (_G_int32_t): Likewise.
43378 (_G_uint16_t): Likewise.
43379 (_G_uint32_t): Likewise.
43380 (_G_HAVE_BOOL): Likewise.
43381 (_G_HAVE_ATEXIT): Likewise.
43382 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43383 (_G_HAVE_IO_FILE_OPEN): Likewise.
43384 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43385 (_G_int32_t): Likewise.
43386 (_G_uint16_t): Likewise.
43387 (_G_uint32_t): Likewise.
43388 (_G_HAVE_BOOL): Likewise.
43389 (_G_HAVE_ATEXIT): Likewise.
43390 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43391 (_G_HAVE_IO_FILE_OPEN): Likewise.
43392 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43393 (_G_int32_t): Likewise.
43394 (_G_uint16_t): Likewise.
43395 (_G_uint32_t): Likewise.
43396 (_G_HAVE_BOOL): Likewise.
43397 (_G_HAVE_ATEXIT): Likewise.
43398 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43399 (_G_HAVE_IO_FILE_OPEN): Likewise.
43401 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
43403 * csu/libc-tls.c: Update copyright years.
43405 2012-09-10 Joseph Myers <joseph@codesourcery.com>
43407 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43408 [!_G_USING_THUNKS]: Remove conditional code.
43409 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43410 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43412 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43413 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43414 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43415 (_G_VTABLE_LABEL_PREFIX): Likewise.
43416 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43417 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43418 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43419 (_G_VTABLE_LABEL_PREFIX): Likewise.
43420 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43421 * sysdeps/mach/hurd/_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.
43426 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
43428 * libio/Makefile: Include ../Makeconfig before tests.
43429 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43430 only if $(build-shared) is yes.
43432 * iconv/gconv_db.c: Update copyright years.
43434 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43436 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43437 unwind info if defined PIC. Fix special cases description.
43438 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43440 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43442 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43444 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
43446 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43448 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43451 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43452 (LDLIBS-tst-chk4): This.
43453 (LDFLAGS-tst-chk5): Renamed to ...
43454 (LDLIBS-tst-chk5): This.
43455 (LDFLAGS-tst-chk6): Renamed to ...
43456 (LDLIBS-tst-chk6): This.
43457 (LDFLAGS-tst-lfschk4): Renamed to ...
43458 (LDLIBS-tst-lfschk4): This.
43459 (LDFLAGS-tst-lfschk5): Renamed to ...
43460 (LDLIBS-tst-lfschk5): This.
43461 (LDFLAGS-tst-lfschk6): Renamed to ...
43462 (LDLIBS-tst-lfschk6): This.
43464 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43465 on $(common-objpfx)soversions.mk.
43467 2012-09-07 Joseph Myers <joseph@codesourcery.com>
43470 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43473 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
43475 * malloc/arena.c (arena_get_retry): New function that gets
43476 another arena for the caller to try its request on.
43477 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43478 current arena cannot fulfill the request.
43479 (__libc_memalign): Likewise.
43480 (__libc_memalign): Likewise.
43481 (__libc_pvalloc): Likewise.
43482 (__libc_calloc): Likewise.
43484 2012-09-05 John Tobey <john.tobey@gmail.com>
43487 * manual/arith.texi (Operations on Complex): Fix description
43488 of carg branch cut.
43490 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43493 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43497 * manual/memory.texi (Memory): Make order of menu items match
43500 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43502 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43503 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
43504 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43506 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43508 * csu/libc-tls.c (static_dtv): Renamed to ...
43509 (_dl_static_dtv): This. Make it global.
43510 (_dl_initial_dtv): Removed.
43511 (__libc_setup_tls): Updated.
43512 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43513 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43516 2012-09-06 Petr Machata <pmachata@redhat.com>
43518 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43519 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43520 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43521 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43523 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43526 * csu/libc-tls.c (_dl_initial_dtv): New variable.
43527 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43530 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43533 * Makeconfig (link-static-before-libc): Replace $(+prector)
43535 (link-static-after-libc): Replace $(+postctor) with
43537 (link-bounded): Replace $(+prector)/$(+postctor) with
43538 $(+prectorT)/$(+postctorT).
43539 (+prectorT): New macro.
43540 (+postctorT): Likewise.
43542 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43544 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43545 (round_str): Handle values above the maximum for IBM long double
43547 * stdlib/tst-strtod-round.c (tests): Regenerated.
43549 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43551 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43553 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43554 zarch_nohighgprs around the zarch optimized routines.
43555 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43556 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43557 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43560 2012-09-05 David S. Miller <davem@davemloft.net>
43562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43564 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43565 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43566 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43567 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43570 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43572 * malloc/arena.c: Fold copyright years.
43573 * malloc/mcheck.c, malloc/memusage.c: Likewise.
43575 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43577 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43579 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43581 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
43583 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43585 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43586 change internal state upon failure.
43588 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43590 * malloc/mcheck.c (mcheck_check_all): Fix typo.
43591 * malloc/memusage.c (mmap): Likewise.
43592 (mmap64, mremap): Likewise. Adjust name in comment.
43594 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43596 * libio/fileops.c: Fix typos in comments.
43597 * libio/oldfileops.c: Likewise.
43598 * libio/wfileops.c: Likewise.
43600 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43603 * malloc/Makefile (tests): Add tst-malloc-usable test case.
43604 (tst-malloc-usable-ENV): Set environment for test case.
43605 * malloc/hooks.c (malloc_check_get_size): New function to get
43607 * malloc/malloc.c (musable): Use malloc_check_get_size.
43608 * malloc/tst-malloc-usable.c: New test case.
43610 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
43612 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43614 2012-09-05 Allan McRae <allan@archlinux.org>
43617 * configure.in (CXX_SYSINCLUDES): Use compiler output to
43618 determine header location.
43619 * configure: Regenerated.
43621 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
43623 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43625 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43626 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43628 (test): Regenerate.
43630 2012-09-04 David S. Miller <davem@davemloft.net>
43632 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43633 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43634 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43636 2012-09-04 Florian Weimer <fweimer@redhat.com>
43638 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43641 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43643 2012-09-04 Joseph Myers <joseph@codesourcery.com>
43646 * libio/iogetdelim.c: Include <limits.h>.
43647 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43648 + len + 1 would overflow.
43650 2012-09-03 Andreas Jaeger <aj@suse.de>
43652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43653 * sysdeps/i386/fpu/libm-test-ulps: Update.
43655 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43657 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43658 Add s_sinf-sse2, s_conf-sse2.
43660 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43661 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43662 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43663 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43665 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43666 for using routine as __sinf_ia32.
43667 Use macro for function declaration and weak_alias.
43668 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43669 for using routine as __cosf_ia32.
43670 Use macro for function declaration and weak_alias.
43672 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43673 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43675 * sysdeps/x86_64/fpu/s_sinf.S: New file.
43676 * sysdeps/x86_64/fpu/s_cosf.S: New file.
43677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43679 * math/libm-test.inc (cos_test): Add more test cases.
43680 (sin_test): Likewise.
43681 (sincos_test): Likewise.
43683 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43685 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43686 (IFUNC_RESOLVE): Make pointers to the specialized implementations
43688 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43690 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
43693 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43694 first element of the GOT.
43695 (elf_machine_load_address): Return the difference between
43696 the runtime address of _DYNAMIC and elf_machine_dynamic ().
43698 2012-09-01 Allan McRae <allan@archlinux.org>
43701 * configure.in (AWK): Require gawk version 3.0 or later.
43702 * configure: Regenerated.
43704 2012-09-01 Joseph Myers <joseph@codesourcery.com>
43706 * sysdeps/unix/sysv/linux/kernel-features.h
43707 (__ASSUME_POSIX_CPU_TIMERS): Remove.
43708 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43709 [__NR_clock_getres]: Make code unconditional.
43710 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43711 (clock_getcpuclockid): Remove code left unreachable by removal of
43713 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43714 code unconditional.
43715 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43716 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43717 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43718 Make code unconditional.
43719 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43720 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43721 * sysdeps/unix/sysv/linux/clock_settime.c
43722 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43724 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43725 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43727 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
43730 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43731 scripts/test-installation.pl.
43733 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43734 and $ld_so_version if it is set.
43736 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43739 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43740 failure if reading from procfs failed.
43741 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43743 2012-08-27 Joseph Myers <joseph@codesourcery.com>
43745 * sysdeps/unix/sysv/linux/kernel-features.h
43746 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43747 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43748 Remove conditional code.
43749 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43750 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43751 Remove conditional code.
43752 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43753 * sysdeps/unix/sysv/linux/i386/fxstat.c
43754 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43755 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43756 * sysdeps/unix/sysv/linux/i386/fxstatat.c
43757 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43758 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43759 * sysdeps/unix/sysv/linux/i386/lxstat.c
43760 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43761 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43762 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43763 Remove conditional code.
43764 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43765 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43766 Remove conditional code.
43767 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43768 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43769 <kernel-features.h>.
43770 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43772 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43773 Remove conditional code.
43774 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43775 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43776 Remove conditional.
43778 2012-08-27 Mike Frysinger <vapier@gentoo.org>
43781 * NEWS: Add fixed bug number.
43783 2012-08-27 Joseph Myers <joseph@codesourcery.com>
43786 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43787 underflowing exponent in case of negative sign.
43788 * stdlib/tst-strtod-round-data: Add more tests.
43789 * stdlib/tst-strtod-round.c (tests): Regenerated.
43792 * stdlib/strtod_l.c (NDIG): Remove.
43793 (HEXNDIG): Likewise.
43794 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43795 smallest representable value.
43796 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43797 lie within an exact representation of 1/2 ulp of the result.
43798 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43800 (TENS_P9_IDX): Define unconditionally.
43801 (TENS_P9_SIZE): Likewise.
43802 (TENS_P10_IDX): Likewise.
43803 (TENS_P10_SIZE): Likewise.
43804 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43805 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43806 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43807 entries for 10^2^13 and 10^2^14.
43808 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43809 (TENS_P13_IDX): Define.
43810 (TENS_P13_SIZE): Likewise.
43811 (TENS_P14_IDX): Likewise.
43812 (TENS_P14_SIZE): Likewise.
43813 (_fpioconst_pow10): Change array size to
43814 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
43816 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43817 1024]: Add entries for 10^2^13 and 10^2^14.
43818 [LAST_POW10 > _LAST_POW10]: Remove #error.
43819 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43820 (_fpioconst_pow10): Change array size to
43821 FPIOCONST_POW10_ARRAY_SIZE.
43822 * stdlib/gen-fpioconst.c: New file.
43823 * stdlib/gen-tst-strtod-round.c: Likewise.
43824 * stdlib/tst-strtod-round-data: Likewise.
43825 * stdlib/tst-strtod-round.c: Likewise.
43826 * stdlib/Makefile (tests): Add tst-strtod-round.
43829 * stdlib/strtod_l.c: Include <stdint.h>.
43830 (NDEBUG): Do not define.
43831 (round_and_return): Change EXPONENT parameter to type intmax_t.
43832 Rearrange calculations to avoid internal overflow possibilities.
43833 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43834 Rearrange calculations to avoid internal overflow possibilities.
43835 Assert that number fits inside MPNSIZE limbs.
43836 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43837 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
43838 calculations and add assertions to avoid internal overflow
43839 possibilities. Add casts to avoid signed/unsigned operations.
43840 * stdlib/tst-strtod-overflow.c: New file.
43841 * stdlib/Makefile (tests): Add tst-strtod-overflow.
43843 2012-08-25 Marek Polacek <polacek@redhat.com>
43845 * time/time.h: Fix some typos in comments.
43847 2012-08-23 Roland McGrath <roland@hack.frob.com>
43849 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43850 * posix/tst-rfc3484-2.c: Likewise.
43851 * posix/tst-rfc3484-3.c: Likewise.
43853 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
43855 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43856 (EF_ARM_ABI_FLOAT_HARD): Likewise.
43858 2012-08-23 Joseph Myers <joseph@codesourcery.com>
43860 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43861 #include of fxstatat64.c.
43863 2012-08-22 Roland McGrath <roland@hack.frob.com>
43865 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43866 * shadow/getspent_r.c: Likewise.
43867 * shadow/getspnam.c: Likewise.
43868 * shadow/getspnam_r.c: Likewise.
43869 * gshadow/getsgent.c: Likewise.
43870 * gshadow/getsgent_r.c: Likewise.
43871 * gshadow/getsgnam.c: Likewise.
43872 * gshadow/getsgnam_r.c: Likewise.
43873 * inet/getnetbyad.c: Likewise.
43874 * inet/getnetbyad_r.c: Likewise.
43875 * inet/getnetbynm.c: Likewise.
43876 * inet/getnetbynm_r.c: Likewise.
43877 * inet/getnetent.c: Likewise.
43878 * inet/getnetent_r.c: Likewise.
43879 * inet/getproto.c: Likewise.
43880 * inet/getproto_r.c: Likewise.
43881 * inet/getprtent.c: Likewise.
43882 * inet/getprtent_r.c: Likewise.
43883 * inet/getprtname.c: Likewise.
43884 * inet/getprtname_r.c: Likewise.
43885 * inet/getrpcbyname.c: Likewise.
43886 * inet/getrpcbyname_r.c: Likewise.
43887 * inet/getrpcbynumber.c: Likewise.
43888 * inet/getrpcbynumber_r.c: Likewise.
43889 * inet/getrpcent.c: Likewise.
43890 * inet/getrpcent_r.c: Likewise.
43891 * inet/getaliasent.c: Likewise.
43892 * inet/getaliasent_r.c: Likewise.
43893 * inet/getaliasname.c: Likewise.
43894 * inet/getaliasname_r.c: Likewise.
43895 * nscd/getgrgid_r.c: Likewise.
43896 * nscd/getgrnam_r.c: Likewise.
43897 * nscd/gethstbyad_r.c: Likewise.
43898 * nscd/gethstbynm3_r.c: Likewise.
43899 * nscd/getpwnam_r.c: Likewise.
43900 * nscd/getpwuid_r.c: Likewise.
43901 * nscd/getsrvbynm_r.c: Likewise.
43902 * nscd/getsrvbypt_r.c: Likewise.
43903 * nscd/gai.c: Likewise.
43905 * configure.in (build_nscd): New substituted variable, set
43906 by --disable-build-nscd and defaults to $use_nscd.
43907 * configure: Regenerated.
43908 * config.make.in (build-nscd): New substituted variable.
43909 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43910 Change conditional to require [$(build-nscd) = yes] as well.
43911 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43914 * configure.in (use_nscd): New substituted variable, set by
43915 --disable-nscd. If enabled, define USE_NSCD.
43916 * configure: Regenerated.
43917 * config.h.in: Add USE_NSCD.
43918 * config.make.in (use-nscd): New substituted variable.
43919 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43920 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43921 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43922 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43923 (CFLAGS-getgrnam_r.c): Likewise.
43924 (CFLAGS-initgroups.c): Likewise.
43925 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43926 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43928 * inet/getnetgrent_r.c
43929 (nscd_setnetgrent): New function, broken out of ...
43930 (setnetgrent): ... here. Call it.
43931 (innetgr): Conditionalize nscd bits on [USE_NSCD].
43932 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43933 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43934 * nscd/Makefile (routines, aux): Move definitions after include of
43935 Makeconfig. Conditionalize on [$(use-nscd) != no].
43936 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43937 Conditionalize on [USE_NSCD].
43938 (is_nscd, nscd_init_cb): Likewise.
43939 (nss_load_library): Conditionalize init callback on [USE_NSCD].
43940 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43941 * nss/nss_db/db-init.c: Likewise.
43942 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43944 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43945 (make_request): Use it.
43946 (cache_valid_p): New function.
43947 (__check_pf): Use it.
43948 * NEWS: Add item for --disable-nscd.
43950 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
43952 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43953 to support sed >= 4.2.1-20-ga9bf076.
43954 * configure: Regenerated.
43956 2012-08-22 Roland McGrath <roland@hack.frob.com>
43958 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43959 Conditionalize whole body on [IREL].
43961 2012-08-22 Jeff Law <law@redhat.com>
43964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43965 if the family is PF_UNSPEC.
43967 2012-08-22 Mike Frysinger <vapier@gentoo.org>
43969 * Makerules (lib-version): Rename from V.
43970 (install-lib-nosubdir): Change V to lib-version.
43972 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
43975 * powerpc32/power6/wcschr.c: New file.
43976 * powerpc32/power6/wcscpy.c: New file.
43977 * powerpc32/power6/wcsrchr.c: New file.
43978 * powerpc64/power6/wcschr.c: New file.
43979 * powerpc64/power6/wcscpy.c: New file.
43980 * powerpc64/power6/wcsrchr.c: New file.
43982 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43984 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43985 (two_way_short_needle): Use it.
43986 * string/strstr.c (AVAILABLE1_USES_J): Define.
43987 * string/strcasestr.c: Likewise.
43989 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43991 * string/strcasestr.c (TOLOWER): Make side-effect safe.
43994 * NEWS: Add an entry.
43995 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43996 define their defaults.
43997 (two_way_short_needle): Detect end-of-string on-the-fly.
43998 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43999 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
44000 * string/bug-strcasestr1.c: New test.
44001 * string/Makefile: Run it.
44003 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
44006 * string/str-two-way.h (two_way_short_needle): Optimize matching of
44007 the first character.
44009 2012-08-21 Roland McGrath <roland@hack.frob.com>
44011 * csu/elf-init.c (__libc_csu_irel): Function removed.
44012 * csu/libc-start.c (apply_irel): New function.
44013 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
44015 2012-08-21 Joseph Myers <joseph@codesourcery.com>
44017 * sysdeps/unix/sysv/linux/kernel-features.h
44018 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
44019 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44020 <kernel-features.h>.
44021 [__NR_fadvise64_64]: Make code unconditional.
44022 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
44023 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44024 !__NR_fadvise64_64)]: Likewise.
44025 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
44026 !__NR_fadvise64_64))]: Likewise.
44027 [__NR_fadvise64]: Make code unconditional.
44028 [!__NR_fadvise64]: Remove conditional code.
44029 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
44030 <kernel-features.h>.
44031 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44033 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
44036 not include <kernel-features.h>.
44037 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44039 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44041 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
44042 include <kernel-features.h>.
44043 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
44045 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
44048 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
44050 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
44051 slight instruction rearrangements per scrollpipe analysis.
44052 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
44054 2012-08-20 Roland McGrath <roland@hack.frob.com>
44056 * manual/syslog.texi (syslog; vsyslog, closelog):
44057 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
44058 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
44060 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
44061 DSOCAPS to match condition on defining it.
44063 2012-08-20 Joseph Myers <joseph@codesourcery.com>
44065 * sysdeps/unix/sysv/linux/kernel-features.h
44066 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
44067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
44068 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44069 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
44071 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44072 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
44074 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
44075 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
44077 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
44078 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
44080 * sysdeps/unix/sysv/linux/kernel-features.h
44081 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
44082 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
44084 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44085 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
44086 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44087 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44088 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
44089 Make code unconditional.
44090 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44091 (__mmap64) [!__NR_mmap2]: Likewise.
44092 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
44093 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
44094 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44095 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44096 [__NR_mmap2]: Make code unconditional.
44097 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44098 (__mmap64) [!__NR_mmap2]: Likewise.
44100 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44102 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44104 2012-08-18 Andreas Jaeger <aj@suse.de>
44106 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44108 2012-08-18 Mike Frysinger <vapier@gentoo.org>
44110 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44111 * include/unistd.h (__have_sock_cloexec): Likewise.
44112 (__have_pipe2): Likewise.
44113 (__have_dup3): Likewise.
44115 2012-08-18 Mike Frysinger <vapier@gentoo.org>
44118 * include/unistd.h (__have_pipe2): Change define into an extern int.
44119 (__have_dup3): Likewise.
44120 * socket/have_sock_cloexec.c: Include fcntl.h.
44121 (__have_pipe2): New variable.
44122 (__have_dup3): Likewise.
44124 2012-08-17 Mike Frysinger <vapier@gentoo.org>
44126 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44128 2012-08-17 Marek Polacek <polacek@redhat.com>
44130 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44131 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44133 2012-08-17 Roland McGrath <roland@hack.frob.com>
44135 * configure.in: Add AC_SUBST for sysheaders.
44136 * configure: Regenerated.
44137 * config.make.in (sysheaders): New substituted variable.
44139 * sysdeps/unix/mkfifo.c: Moved ...
44140 * sysdeps/posix/mkfifo.c: ... here.
44141 * sysdeps/unix/mkfifoat.c: Moved ...
44142 * sysdeps/posix/mkfifoat.c: ... here.
44144 * sysdeps/unix/utime.c: Moved ...
44145 * sysdeps/posix/utime.c: ... here.
44147 * sysdeps/unix/time.c: Moved ...
44148 * sysdeps/posix/time.c: ... here.
44149 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44150 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44152 * sysdeps/unix/nice.c: Moved ...
44153 * sysdeps/posix/nice.c: ... here.
44155 * sysdeps/unix/alarm.c: Moved ...
44156 * sysdeps/posix/alarm.c: ... here.
44158 * intl/Makefile ($(codeset_mo)): Depend on the input file.
44160 2012-08-17 Jeff Law <law@redhat.com>
44162 * intl/Makefile (codeset_mo): New variable.
44163 ($(codeset_mo)): New target.
44164 (tst-codeset.out): Depend on that. Remove explicit rule.
44165 (tst-gettext3.out, tst-gettext5.out): Likewise.
44166 (LOCPATH-ENV, tst-codeset-ENV): New variables.
44167 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44168 * intl/tst-codeset.sh: Remove.
44169 * intl/tst-gettext3.sh: Likewise.
44170 * intl/tst-gettext5.sh: Likewise.
44172 2012-08-17 Roland McGrath <roland@hack.frob.com>
44174 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
44175 * sysdeps/unix/syscalls.list: ... here.
44177 * sysdeps/posix/getaddrinfo.c
44178 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44179 (gaiconf_init, gaiconf_reload): Use them.
44180 [!_STATBUF_ST_NSEC]
44181 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44182 Define using time_t rather than struct timespec.
44184 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44185 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44187 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44189 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44190 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44193 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44194 __libc_cleanup_push argument.
44196 * bits/param.h: New file.
44197 * misc/sys/param.h: New file.
44198 * include/sys/param.h: New file.
44199 * misc/Makefile (headers): Add bits/param.h.
44200 * sysdeps/generic/sys/param.h: File removed.
44201 * sysdeps/unix/sysv/linux/bits/param.h: New file.
44202 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44203 * sysdeps/mach/hurd/bits/param.h: New file.
44204 * sysdeps/mach/hurd/sys/param.h: File removed.
44206 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44209 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44211 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44212 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44215 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44216 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44217 rather than -D_IO_MTSAFE_IO conditionally.
44218 * stdio-common/Makefile (CPPFLAGS): Likewise.
44219 * wcsmbs/Makefile (CPPFLAGS): Likewise.
44220 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44221 Use $(libio-mtsafe).
44222 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44223 of -D_IO_MTSAFE_IO.
44224 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44225 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44226 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44227 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44228 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44229 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44230 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44231 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44232 (CFLAGS-fread_u_chk.c): Likewise.
44233 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44234 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44235 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44236 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44237 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44238 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44239 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44240 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44241 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44243 * libio/Makefile: Test [$(libc-reentrant) = yes]
44244 instead of [$(filter %REENTRANT, $(defines)) nonempty].
44247 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44248 * sysdeps/pthread/configure: File removed.
44249 * sysdeps/pthread/Makeconfig: New file.
44250 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44251 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44253 2012-08-16 Gary Benson <gbenson@redhat.com>
44255 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44256 unmapping the first object in a namespace.
44258 2012-08-16 Roland McGrath <roland@hack.frob.com>
44260 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44261 (__internal_setnetgrent): ... this. Add internal_function to
44262 definition. Add libc_hidden_def.
44263 (setnetgrent): Update caller.
44264 (internal_endnetgrent): Renamed to ...
44265 (__internal_endnetgrent): ... this. Add internal_function to
44266 definition. Add libc_hidden_def.
44267 (endnetgrent): Update caller.
44268 (internal_getnetgrent_r): Renamed to ...
44269 (__internal_getnetgrent_r): ... this. Add internal_function to
44270 definition. Add libc_hidden_def.
44271 (__getnetgrent_r): Update caller.
44272 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
44274 2012-08-16 Joseph Myers <joseph@codesourcery.com>
44276 * stdlib/longlong.h: Update from GCC.
44278 2012-08-16 Roland McGrath <roland@hack.frob.com>
44280 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44281 on _QL, which is set by umul_ppmm but never used.
44282 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44283 variables, which are set by GMP macros but never used.
44284 * stdio-common/_itowa.c (_itowa): Likewise.
44285 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44286 * stdlib/mod_1.c (mpn_mod_1): Likewise.
44288 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
44290 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44291 struct La_sh_regs is not constant.
44292 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44293 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44294 and struct La_sparc64_regs are not constant.
44296 2012-08-16 Joseph Myers <joseph@codesourcery.com>
44298 * sysdeps/unix/sysv/linux/kernel-features.h
44299 (__ASSUME_POSIX_TIMERS): Remove.
44300 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44301 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44302 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44303 Make code unconditional.
44304 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44305 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44306 Make code unconditional.
44307 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44308 * sysdeps/unix/sysv/linux/clock_nanosleep.c
44309 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44310 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44311 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44312 Make code unconditional.
44313 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44314 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44315 (__libc_missing_posix_timers): Remove.
44317 2012-08-15 Roland McGrath <roland@hack.frob.com>
44319 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44320 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44322 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44324 * elf/dl-sym.c: Include <stdlib.h>.
44326 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44327 constants, which avoids warnings in 32-bit builds.
44329 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44330 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44332 * misc/lseek.c: File moved to ...
44333 * io/lseek.c: ... here.
44335 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44337 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44338 shifting LEN more than 31 bits at once.
44340 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44343 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44344 segmentation fault for a case of two empty input strings.
44345 * string/test-strncasecmp.c (check1): Renamed to...
44346 (bz12205): ...this.
44347 (bz14195): Add new testcase for two empty input strings and N > 0.
44348 (test_main): Call new testcase, adapt for renamed function.
44350 2012-08-15 Andreas Jaeger <aj@suse.de>
44353 * crypt/md5test2.c: New test, based on test supplied by Serge
44354 Belyshev <belyshev@depni.sinp.msu.ru>.
44355 * crypt/Makefile (xtests): Add md5test-giant..
44356 * crypt/Makefile ($(objpfx)md5test-giant): Add.
44358 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
44361 * crypt/md5.c (md5_process_block): Don't assume the buffer
44362 length is less than 2**32.
44363 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44364 length is less than 2**64.
44366 2012-08-15 Roland McGrath <roland@hack.frob.com>
44368 * string/str-two-way.h: Include <sys/param.h>.
44369 (MAX): Macro removed.
44371 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44372 Move #define and #undef of memmove to just before and after
44373 including <string.h>.
44375 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44376 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44377 and after including <string.h>. Move declarations of
44378 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44379 to before #include "string/memmove.c".
44381 * include/dirent.h: Declare __getdirentries.
44383 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44384 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44386 2012-08-14 Mike Frysinger <vapier@gentoo.org>
44388 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44389 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44390 * sysdeps/i386/configure: Regenerated.
44391 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44392 STABS_CURRENT_FILE, and STABS_FUN.
44393 (END): Remove call to STABS_FUN_END.
44394 (STABS_CURRENT_FILE1): Delete.
44395 (STABS_CURRENT_FILE): Likewise.
44396 (STABS_FUN): Likewise.
44397 (STABS_FUN_END): Likewise.
44398 (STABS_FUN2): Likewise.
44399 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44400 * sysdeps/x86_64/configure: Regenerated.
44402 2012-08-14 Roland McGrath <roland@hack.frob.com>
44404 * elf/dl-open.c: Include <atomic.h>.
44405 * elf/dl-lookup.c: Likewise.
44407 2012-08-14 Joseph Myers <joseph@codesourcery.com>
44409 * sysdeps/unix/sysv/linux/kernel-features.h
44410 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44411 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44413 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44415 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44416 condition on __ASSUME_CLONE_THREAD_FLAGS.
44418 2012-08-14 Andreas Jaeger <aj@suse.de>
44420 * sysdeps/i386/fpu/libm-test-ulps: Update.
44422 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
44424 * include/atomic.h (atomic_exchange_and_add): Split into ...
44425 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44428 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
44430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44432 2012-08-13 Jeff Law <law@redhat.com>
44434 * manual/stdio.texi (snprintf): Clarify handling of the trailing
44435 null byte in the output string.
44437 2012-08-10 Joseph Myers <joseph@codesourcery.com>
44439 * sysdeps/unix/sysv/linux/kernel-features.h
44440 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44441 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44442 (__ASSUME_ARG_MAX_STACK_BASED): Define.
44443 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44444 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44445 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
44446 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44448 2012-08-09 Jeff Law <law@redhat.com>
44451 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44452 When avoid_arena is set, don't retry in the that arena. Pick the
44453 next one, whatever it might be.
44454 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44455 (arena_lock): Pass in new parameter to arena_get2.
44456 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44458 (__libc_malloc): Unify retrying after main arena failure with
44459 __libc_memalign version.
44460 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44462 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
44465 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44466 to __redirect_strstr.
44467 (__strstr_sse42): Use typeof __redirect_strstr.
44468 (__strstr_ia32): Likewise.
44469 (__libc_strstr): New prototype.
44470 (strstr): Renamed to ...
44471 (__libc_strstr): This.
44472 (strstr): New strong alias of __libc_strstr.
44473 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44474 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44477 (__libc_time): New prototype.
44478 (time_ifunc): Replace time with __libc_time.
44479 (time): New strong alias and hidden definition of __libc_time.
44480 (__GI_time): Remove strong alias.
44481 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44482 Include <stddef.h>.
44483 (memmove): Redefined to __redirect_memmove.
44484 (__memmove_sse2): Use typeof __redirect_memmove.
44485 (__memmove_ssse3): Likewise.
44486 (__memmove_ssse3_back): Likewise.
44487 (__libc_memmove): New prototype.
44488 (memmove): Renamed to ...
44489 (__libc_memmove): This.
44490 (memmove): New strong alias of __libc_memmove.
44492 2012-08-08 Mark Salter <msalter@redhat.com>
44495 (R_MN10300_TLS_GD): Define.
44496 (R_MN10300_TLS_LD): Likewise.
44497 (R_MN10300_TLS_LDO): Likewise.
44498 (R_MN10300_TLS_GOTIE): Likewise.
44499 (R_MN10300_TLS_IE): Likewise.
44500 (R_MN10300_TLS_LE): Likewise.
44501 (R_MN10300_TLS_DTPMOD): Likewise.
44502 (R_MN10300_TLS_DTPOFF): Likewise.
44503 (R_MN10300_TLS_TPOFF): Likewise.
44504 (R_MN10300_SYM_DIFF): Likewise.
44505 (R_MN10300_ALIGN): Likewise.
44506 (R_MN10300_NUM): Update.
44508 2012-08-08 Joseph Myers <joseph@codesourcery.com>
44510 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44513 2012-08-08 Roland McGrath <roland@hack.frob.com>
44515 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44517 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44518 sysdeps/unix -> sysdeps/posix move.
44519 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44521 2012-08-07 Allan McRae <allan@archlinux.org>
44524 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44525 (SUNOS_CPP): Likewise.
44526 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44528 (open_input): Call CPP using execvp.
44530 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44532 * sysdeps/unix/sysv/linux/kernel-features.h
44533 (__ASSUME_PROT_GROWSUPDOWN): Remove.
44534 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44535 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44536 (__ASSUME_WAITID_SYSCALL): Likewise.
44537 * sysdeps/unix/sysv/linux/dl-execstack.c
44538 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44539 code unconditional.
44540 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44542 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44543 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44544 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44546 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44548 [__ASSUME_WAITID_SYSCALL]: Likewise.
44549 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44551 2012-08-07 Roland McGrath <roland@hack.frob.com>
44553 * sysdeps/unix/closedir.c: Renamed to ...
44554 * sysdeps/posix/closedir.c: ... here.
44555 * sysdeps/unix/dirfd.c: Renamed to ...
44556 * sysdeps/posix/dirfd.c: ... here.
44557 * sysdeps/unix/dirstream.h: Renamed to ...
44558 * sysdeps/posix/dirstream.h: ... here.
44559 * sysdeps/unix/fdopendir.c: Renamed to ...
44560 * sysdeps/posix/fdopendir.c: ... here.
44561 * sysdeps/unix/opendir.c: Renamed to ...
44562 * sysdeps/posix/opendir.c: ... here.
44563 * sysdeps/unix/readdir.c: Renamed to ...
44564 * sysdeps/posix/readdir.c: ... here.
44565 * sysdeps/unix/readdir_r.c: Renamed to ...
44566 * sysdeps/posix/readdir_r.c: ... here.
44567 * sysdeps/unix/rewinddir.c: Renamed to ...
44568 * sysdeps/posix/rewinddir.c: ... here.
44569 * sysdeps/unix/seekdir.c: Renamed to ...
44570 * sysdeps/posix/seekdir.c: ... here.
44571 * sysdeps/unix/telldir.c: Renamed to ...
44572 * sysdeps/posix/telldir.c: ... here.
44573 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44574 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44575 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44576 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44578 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44579 * bits/fcntl.h: ... here.
44581 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44583 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44584 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44585 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44586 (struct flock): Move l_start, l_len to the beginning.
44587 Use __pid_t for l_pid.
44588 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44589 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44590 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44591 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44592 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44593 [__USE_LARGEFILE64] (struct flock64): New type.
44594 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44596 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44597 * bits/dirent.h: ... here.
44599 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44600 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44602 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44604 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44605 Change from 2.6.0 to 2.6.16.
44606 * sysdeps/unix/sysv/linux/configure: Regenerated.
44607 * sysdeps/unix/sysv/linux/kernel-features.h
44608 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44609 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44611 (__ASSUME_UTIMES): Likewise.
44612 (__ASSUME_CLONE_STOPPED): Remove.
44613 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44614 architectures, not kernel version.
44615 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44616 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44617 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44618 (__ASSUME_WAITID_SYSCALL): Likewise.
44619 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44620 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44621 * README: State 2.6.16 as minimum Linux kernel version. Do not
44622 refer to older versions.
44624 2012-08-06 Roland McGrath <roland@hack.frob.com>
44626 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44627 Define alphasort64 as an alias.
44628 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44629 Define versionsort64 as an alias.
44630 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44631 Define scandir64 as an alias.
44632 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44633 Define scandirat64 as an alias.
44634 * dirent/alphasort64.c (alphasort64):
44635 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44636 * dirent/versionsort64.c: Likewise.
44637 * dirent/scandir64.c: Likewise.
44638 * dirent/scandirat64.c: Likewise.
44639 * sysdeps/wordsize-64/alphasort.c: File removed.
44640 * sysdeps/wordsize-64/alphasort64.c: File removed.
44641 * sysdeps/wordsize-64/scandir.c: File removed.
44642 * sysdeps/wordsize-64/scandir64.c: File removed.
44643 * sysdeps/wordsize-64/scandirat.c: File removed.
44644 * sysdeps/wordsize-64/scandirat64.c: File removed.
44645 * sysdeps/wordsize-64/versionsort.c: File removed.
44646 * sysdeps/wordsize-64/versionsort64.c: File removed.
44647 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44648 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44649 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44650 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44651 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44652 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44653 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44654 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44656 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44657 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44658 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44659 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44660 [defined __arch64__ || defined __sparcv9]
44661 (__INO_T_MATCHES_INO64_T): New macro.
44662 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44663 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44664 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44665 * sysdeps/unix/sysv/linux/bits/dirent.h
44666 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44667 (_DIRENT_MATCHES_DIRENT64): New macro.
44669 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44670 Define lockf64 as an alias.
44671 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44672 Define fseeko64 as an alias.
44673 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44674 Define ftello64 as an alias.
44675 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44676 Define _IO_fgetpos64 and fgetpos64 as aliases.
44677 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44678 Define _IO_fsetpos64 and fsetpos64 as aliases.
44679 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44680 Conditionalize body on this.
44681 * libio/fseeko64.c: Likewise.
44682 * libio/ftello64.c: Likewise.
44683 * libio/iofgetpos64.c: Likewise.
44684 * libio/iofsetpos64.c: Likewise.
44685 * sysdeps/wordsize-64/lockf.c: File removed.
44686 * sysdeps/wordsize-64/lockf64.c: File removed.
44687 * sysdeps/wordsize-64/fseeko.c: File removed.
44688 * sysdeps/wordsize-64/fseeko64.c: File removed.
44689 * sysdeps/wordsize-64/ftello.c: File removed.
44690 * sysdeps/wordsize-64/ftello64.c: File removed.
44691 * sysdeps/wordsize-64/iofgetpos.c: File removed.
44692 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44693 * sysdeps/wordsize-64/iofsetpos.c: File removed.
44694 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44695 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44696 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44697 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44698 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44699 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44700 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44701 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44702 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44703 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44704 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44706 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44707 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44708 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44709 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44710 [defined __arch64__ || defined __sparcv9]
44711 (__OFF_T_MATCHES_OFF64_T): New macro.
44712 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44713 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44714 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44715 (__OFF_T_MATCHES_OFF64_T): New macro.
44717 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
44719 * stdlib/secure-getenv.c (__secure_getenv): Replace
44720 GLIBC_2_16 with GLIBC_2_17.
44722 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
44724 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44725 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44727 2012-08-03 David S. Miller <davem@davemloft.net>
44729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44731 2012-08-03 Joseph Myers <joseph@codesourcery.com>
44733 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44735 (__ASSUME_CORRECT_SI_PID): Likewise.
44736 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44737 (__ASSUME_TMPFS_NAME): Likewise.
44738 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44739 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44740 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44741 (HAVE_AUX_SECURE): Make definition unconditional.
44742 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44743 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44745 2012-08-03 Roland McGrath <roland@hack.frob.com>
44747 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44748 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44749 * sysdeps/mach/hurd/eloop-threshold.h: New file.
44750 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44751 __eloop_threshold instead of SYMLOOP_MAX.
44753 * sysdeps/generic/eloop-threshold.h: New file.
44754 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44756 * elf/chroot_canon.c (chroot_canon): Likewise.
44758 2012-08-03 Joseph Myers <joseph@codesourcery.com>
44761 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44762 Change to 2.6.0 everywhere.
44763 * sysdeps/unix/sysv/linux/configure: Regenerated.
44764 * sysdeps/unix/sysv/linux/kernel-features.h
44765 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44766 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44768 (__ASSUME_POSIX_TIMERS): Define unconditionally.
44769 (__ASSUME_FUTEX_REQUEUE): Remove.
44770 (__ASSUME_STATFS64): Define unconditionally.
44771 (__ASSUME_AT_SECURE): Likewise.
44772 (__ASSUME_CORRECT_SI_PID): Likewise.
44773 (__ASSUME_TGKILL): Define without depending on kernel version for
44775 (__ASSUME_UTIMES): Likewise.
44776 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44778 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44779 (__ASSUME_TMPFS_NAME): Likewise.
44780 * README: Update reference to Linux kernel versions.
44782 2012-08-02 Marek Polacek <polacek@redhat.com>
44785 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
44786 libc_cv_asm_type_prefix with %.
44787 * configure: Regenerated.
44788 * include/libc-symbols.h: Remove comment about
44789 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44790 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44791 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44792 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44793 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44794 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44795 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44796 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44797 * elf/tst-unique2mod1.c: Likewise.
44798 * elf/tst-unique1mod2.c: Likewise.
44799 * elf/tst-unique1mod1.c: Likewise.
44800 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44801 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44802 Replace ASM_TYPE_DIRECTIVE with .type.
44803 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44804 * sysdeps/i386/sysdep.h: Likewise.
44805 * sysdeps/x86_64/sysdep.h: Likewise.
44806 * sysdeps/sh/sysdep.h: Likewise.
44807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44808 Do not define ASM_TYPE_DIRECTIVE.
44809 * sysdeps/powerpc/sysdep.h: Likewise.
44810 * sysdeps/powerpc/powerpc32/sysdep.h:
44811 Replace ASM_TYPE_DIRECTIVE with .type.
44812 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44813 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44814 * sysdeps/i386/fpu/e_powf.S: Likewise.
44815 * sysdeps/i386/fpu/e_expl.S: Likewise.
44816 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44817 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44818 * sysdeps/i386/fpu/e_pow.S: Likewise.
44819 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44820 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44821 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44822 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44823 * sysdeps/i386/fpu/e_log2.S: Likewise.
44824 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44825 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44826 * sysdeps/i386/fpu/e_powl.S: Likewise.
44827 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44828 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44829 * sysdeps/i386/fpu/e_logl.S: Likewise.
44830 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44831 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44832 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44833 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44834 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44835 * sysdeps/i386/fpu/e_log.S: Likewise.
44836 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44837 * sysdeps/i386/fpu/e_logf.S: Likewise.
44838 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44839 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44840 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44841 * sysdeps/i386/fpu/e_log10.S: Likewise.
44842 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44843 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44844 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44845 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44846 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44847 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44848 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44849 * sysdeps/i386/i686/strtok.S: Likewise.
44850 * sysdeps/i386/i386-mcount.S: Likewise.
44851 * sysdeps/i386/strtok.S: Likewise.
44852 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44853 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44854 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44855 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44856 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44857 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44858 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44859 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44860 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44861 * sysdeps/x86_64/_mcount.S: Likewise.
44862 * sysdeps/x86_64/strtok.S: Likewise.
44863 * sysdeps/sh/_mcount.S: Likewise.
44865 2012-08-01 Roland McGrath <roland@hack.frob.com>
44867 * libio/iofopen.c: Include <fcntl.h>.
44868 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44869 (_IO_fopen64, fopen64): Define as aliases.
44870 * libio/iofopen64.c: Include <fcntl.h>.
44871 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44872 Conditionalize body on this.
44873 * sysdeps/wordsize-64/iofopen.c: File removed.
44874 * sysdeps/wordsize-64/iofopen64.c: File removed.
44876 2012-08-01 Marek Polacek <polacek@redhat.com>
44878 * libc/Makeconfig: Use elf in place of binfmt-subdir.
44879 Use dlfcn directly instead of a variable.
44880 (binfmt-subdir): Do not define.
44883 2012-08-01 Joseph Myers <joseph@codesourcery.com>
44885 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44886 Remove all definitions.
44887 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44888 <kernel-features.h>.
44889 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44890 (miss_F_GETOWN_EX): Remove all definitions.
44891 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44893 [!__ASSUME_FCNTL64]: Remove conditional code.
44894 [__ASSUME_FCNTL64]: Make code unconditional.
44895 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44896 <kernel-features.h>.
44897 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44898 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44899 (lockf64) [__NR_fcntl64]: Make code unconditional.
44900 (lockf64) [__ASSUME_FCNTL64]: Likewise.
44902 * sysdeps/unix/sysv/linux/kernel-features.h
44903 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44904 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44905 Make code unconditional.
44906 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44907 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44909 [__NR_vfork]: Make code unconditional.
44910 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44911 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44913 [__NR_vfork]: Make code unconditional.
44914 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44915 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44917 2012-08-01 Roland McGrath <roland@hack.frob.com>
44919 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44920 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44922 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44923 Define mkstemp64 as an alias.
44924 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44925 Define mkstemps64 as an alias.
44926 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44927 Define mkostemp64 as an alias.
44928 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44929 Define mkostemps64 as an alias.
44930 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44931 Conditionalize body on this.
44932 * misc/mkostemp64.c: Likewise.
44933 * misc/mkostemps64.c: Likewise.
44934 * misc/mkstemps64.c: Likewise.
44935 * sysdeps/wordsize-64/mkstemp64.c: File removed.
44936 * sysdeps/wordsize-64/mkostemp64.c: File removed.
44937 * sysdeps/wordsize-64/mkostemp.c: File removed.
44938 * sysdeps/wordsize-64/mkstemp.c: File removed.
44939 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44940 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44941 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44942 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44945 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44946 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44947 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44948 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44950 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44951 compat_symbol macros from <shlib-compat.h> rather than the underlying
44952 default_symbol_version and symbol_version macros, so that DEFAULT
44953 lines in shlib-versions are respected.
44954 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44956 2012-08-01 Florian Weimer <fweimer@redhat.com>
44958 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44959 Declare with warn_unused_result.
44960 (setgid, setregid, setegid, setresgid): Likewise.
44961 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44963 * WUR-REPORT: Remove set*id functions.
44965 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
44967 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44969 2012-07-31 Roland McGrath <roland@hack.frob.com>
44972 * include/sys/socket.h (__libc_accept, __libc_accept4):
44973 Add attribute_hidden.
44974 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44976 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44978 * inet/getnetgrent_r.c (setup): Likewise.
44980 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44982 2012-07-31 David S. Miller <davem@davemloft.net>
44984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44986 2012-07-31 Joseph Myers <joseph@codesourcery.com>
44989 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44990 value between 1.0 and 2.0 and smaller part has absolute value less
44992 * math/s_clog10.c (__clog10): Likewise.
44993 * math/s_clog10f.c (__clog10f): Likewise.
44994 * math/s_clog10l.c (__clog10l): Likewise.
44995 * math/s_clogf.c (__clogf): Likewise.
44996 * math/s_clogl.c (__clogl): Likewise.
44997 * math/libm-test.inc (clog_test): Add more tests.
44998 (clog10_test): Likewise.
44999 * sysdeps/i386/fpu/libm-test-ulps: Update.
45000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45002 2012-07-31 Florian Weimer <fweimer@redhat.com>
45004 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
45005 Exit with zero in case no suitable GID is found, and write a
45006 message to standard error.
45008 2012-07-30 Roland McGrath <roland@hack.frob.com>
45010 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
45012 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
45013 (MAXPATHLEN): Removed.
45014 (NOGROUP, NODEV): New macros.
45015 (setbit, clrbit, isset, isclr): New macros.
45016 (howmany, roundup, powerof2): New macros.
45017 (DEV_BSIZE): New macro.
45019 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
45020 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
45022 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
45023 definition on [!__NO_LONG_DOUBLE_MATH].
45025 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
45026 PTR_MANGLE and PTR_DEMANGLE.
45028 * socket/accept4.c (accept4): Rename to __libc_accept4.
45029 Define accept4 as a weak alias.
45031 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
45032 on [_DIRENT_HAVE_D_TYPE].
45033 * io/ftw.c (ftw_dir): Likewise.
45035 * io/xmknod.c (__xmknod): Don't check PATH for being null.
45037 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
45039 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
45040 Use the BSD numbers rather than the arbitrary ones we had.
45041 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
45042 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
45043 (SIGXCPU, SIGXFSZ): New macros.
45046 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
45047 initializer on [_LIBC_REENTRANT].
45049 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
45050 definitions inside [_POSIX_MAPPED_FILES].
45052 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
45054 * dirent/opendir.c: Include <fcntl.h>.
45056 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
45057 (__libc_getspecific): Likewise.
45058 (__libc_key_create): Likewise.
45060 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
45061 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
45062 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
45063 (tmpfile64): Define as alias.
45064 * sysdeps/wordsize-64/tmpfile.c: File removed.
45065 * sysdeps/wordsize-64/tmpfile64.c: File removed.
45066 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
45067 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
45069 * stdio-common/vfscanf.c: Include <stdbool.h>.
45070 * nss/makedb.c: Likewise.
45071 * stdio-common/_i18n_number.h: Likewise.
45072 * argp/argp-help.c: Likewise.
45073 * posix/wordexp.c: Likewise.
45074 * sysdeps/posix/spawni.c: Likewise.
45075 * nss/nss_files/files-initgroups.c: Likewise.
45076 * stdio-common/reg-modifier.c: Include <stdlib.h>.
45077 * nss/nss_files/files-initgroups.c: Likewise.
45078 * nss/nss_db/db-netgrp.c: Likewise.
45079 * nss/nss_db/db-initgroups.c: Likewise.
45080 * io/fchmodat.c: Include <sys/stat.h>.
45082 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
45083 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
45085 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
45088 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
45089 Add multiple inclusion protection.
45091 2012-07-27 David S. Miller <davem@davemloft.net>
45093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45095 2012-07-27 Gary Benson <gbenson@redhat.com>
45098 * elf/rtld.c: Include <stap-probe.h>.
45099 (dl_main): Added static probes "init_start" and "init_complete".
45100 * elf/dl-load.c: Include <stap-probe.h>.
45101 (lose): Take new parameter "nsid".
45102 Added static probe "map_failed".
45103 (_dl_map_object_from_fd): Pass namespace id to lose.
45104 Added static probe "map_start".
45105 (open_verify): Pass namespace id to lose.
45106 * elf/dl-open.c: Include <stap-probe.h>.
45107 (dl_open_worker) Added static probes "map_complete", "reloc_start"
45108 and "reloc_complete".
45109 * elf/dl-close.c: Include <stap-probe.h>.
45110 (_dl_close_worker): Added static probes "unmap_start" and
45112 * elf/rtld-debugger-interface.txt: New file documenting the above.
45114 2012-07-26 Roland McGrath <roland@hack.frob.com>
45116 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45117 rather than a string variable.
45118 * sunrpc/rpc_main.c (h_output): Likewise.
45119 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45121 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
45123 * inet/check_native.c: New file.
45125 2012-07-26 Joseph Myers <joseph@codesourcery.com>
45128 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45129 if larger part has absolute value 1.0.
45130 * math/s_clog10.c (__clog10): Likewise.
45131 * math/s_clog10f.c (__clog10f): Likewise.
45132 * math/s_clog10l.c (__clog10l): Likewise.
45133 * math/s_clogf.c (__clogf): Likewise.
45134 * math/s_clogl.c (__clogl): Likewise.
45135 * math/libm-test.inc (clog_test): Add more tests.
45136 (clog10_test): Likewise.
45137 * sysdeps/i386/fpu/libm-test-ulps: Update.
45138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45140 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45141 (pltexit): Likewise.
45142 (La_regs): Likewise.
45143 (La_retval): Likewise.
45144 (int_retval): Likewise.
45145 Update #error for removed macros to refer only to definitions in
45147 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45149 (pltexit): Likewise.
45150 (La_regs): Likewise.
45151 (La_retval): Likewise.
45152 (int_retval): Likewise.
45153 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45155 (pltexit): Likewise.
45156 (La_regs): Likewise.
45157 (La_retval): Likewise.
45158 (int_retval): Likewise.
45159 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45161 (pltexit): Likewise.
45162 (La_regs): Likewise.
45163 (La_retval): Likewise.
45164 (int_retval): Likewise.
45165 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45167 (pltexit): Likewise.
45168 (La_regs): Likewise.
45169 (La_retval): Likewise.
45170 (int_retval): Likewise.
45171 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45173 (pltexit): Likewise.
45174 (La_regs): Likewise.
45175 (La_retval): Likewise.
45176 (int_retval): Likewise.
45177 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45179 (pltexit): Likewise.
45180 (La_regs): Likewise.
45181 (La_retval): Likewise.
45182 (int_retval): Likewise.
45183 * sysdeps/generic/tst-audit.h: Update comment to refer only to
45184 macro definitions in tst-audit.h.
45185 * sysdeps/i386/tst-audit.h: New file.
45186 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45187 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45188 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45189 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45190 * sysdeps/sh/tst-audit.h: Likewise.
45191 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45192 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45193 * sysdeps/x86_64/tst-audit.h: Likewise.
45195 2012-07-26 Andreas Jaeger <aj@suse.de>
45197 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45200 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45201 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45202 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45204 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45205 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45206 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45208 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45211 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45213 (si_call_addr, si_syscall, si_arch): Define new macro.
45214 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45216 (si_call_addr, si_syscall, si_arch): Define new marcro.
45217 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45219 (si_call_addr, si_syscall, si_arch): Define new macro.
45220 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45222 (si_call_addr, si_syscall, si_arch): Define new macro.
45224 2012-07-25 Joseph Myers <joseph@codesourcery.com>
45227 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45228 Change to 2.4.21 where previously 2.4.1.
45229 * sysdeps/unix/sysv/linux/configure: Regenerated.
45230 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45231 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45232 Linux kernel version.
45233 (__ASSUME_STD_AUXV): Remove.
45234 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45236 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45237 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45238 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45239 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45240 (__ASSUME_NETLINK_SUPPORT): Likewise.
45241 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45242 (__no_netlink_support): Remove conditional definition.
45243 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45245 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45246 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45247 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45248 (if_nameindex_ioctl): Remove.
45249 (if_nameindex_netlink): Do not handle __no_netlink_support.
45250 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45252 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45253 Remove conditional code.
45254 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45256 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45258 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45259 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45260 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45262 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45263 [!__ASSUME_STD_AUXV]: Remove conditional code.
45264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45265 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45266 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45268 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45269 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45271 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45273 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45274 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45276 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45278 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45281 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45284 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45285 code unconditional.
45286 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45288 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45290 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45293 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45295 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45298 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45299 code unconditional.
45300 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45302 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45304 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45307 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45308 code unconditional.
45309 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45311 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45313 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45316 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
45318 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45319 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45320 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45321 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45322 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45323 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45324 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45325 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45326 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45327 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45328 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45329 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45330 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45331 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45332 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45333 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45334 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45335 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45336 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45338 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45339 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45340 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45342 2012-07-25 Florian Weimer <fweimer@redhat.com>
45344 * Versions.def: Add GLIBC_2.17.
45345 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45346 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45347 Introduce __libc_secure_getenv.
45348 * stdlib/Versions (2.17): Add secure_getenv
45349 (GLIBC_PRIVATE): Add __libc_secure_getenv.
45350 * stdlib/secure-getenv.c: Rename __secure_getenv to
45351 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
45352 symbol __secure_getenv for GLIBC_2.0.
45353 * stdlib/tst-secure-getenv.c: New.
45354 * stdlib/Makefile (tests): Add testcase.
45355 * manual/startup.texi (Environment Access): Document
45357 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45358 __libc_secure_getenv.
45359 * inet/ruserpass.c (ruserpass): Likewise.
45360 * malloc/mtrace.c (mtrace): Likewise.
45361 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45362 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45363 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45364 * sysdeps/posix/tempname.c: Likewise. Evaluate
45365 HAVE_SECURE_GETENV.
45366 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45367 __secure_getenv to __libc_secure_getenv.
45368 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45375 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45381 2012-07-25 Joseph Myers <joseph@codesourcery.com>
45383 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45384 (struct La_i86_retval): Likewise.
45385 (struct La_x86_64_regs): Likewise.
45386 (struct La_x86_64_retval): Likewise.
45387 (struct La_x32_regs): Likewise.
45388 (struct La_x32_retval): Likewise.
45389 (struct La_ppc32_regs): Likewise.
45390 (struct La_ppc32_retval): Likewise.
45391 (struct La_ppc64_regs): Likewise.
45392 (struct La_ppc64_retval): Likewise.
45393 (struct La_sh_regs): Likewise.
45394 (struct La_sh_retval): Likewise.
45395 (struct La_s390_32_regs): Likewise.
45396 (struct La_s390_32_retval): Likewise.
45397 (struct La_s390_64_regs): Likewise.
45398 (struct La_s390_64_retval): Likewise.
45399 (struct La_sparc32_regs): Likewise.
45400 (struct La_sparc32_retval): Likewise.
45401 (struct La_sparc64_regs): Likewise.
45402 (struct La_sparc64_retval): Likewise.
45403 (struct audit_ifaces): Remove architecture-specific pltenter and
45405 * sysdeps/i386/ldsodefs.h: New file.
45406 * sysdeps/powerpc/ldsodefs.h: Likewise.
45407 * sysdeps/s390/ldsodefs.h: Likewise.
45408 * sysdeps/sh/ldsodefs.h: Likewise.
45409 * sysdeps/sparc/ldsodefs.h: Likewise.
45410 * sysdeps/x86_64/ldsodefs.h: Likewise.
45412 2012-07-25 Marek Polacek <polacek@redhat.com>
45415 * math/libm-test.inc (yn_test): Add another test.
45416 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45417 to ERANGE when the result is +-Inf.
45418 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45419 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45420 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45421 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45423 2012-07-24 Joseph Myers <joseph@codesourcery.com>
45425 * conform/data/time.h-data (NULL): Use macro-constant. Require
45427 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
45429 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
45431 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
45433 * configure.in <sysdeps resolving>: Correct printing
45435 * configure: Regenerate.
45437 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
45439 * math/w_ilogb.c: Include <limits.h>.
45440 * math/w_ilogbl.c: Likewise.
45442 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45444 * manual/lang.texi (__va_copy): Document primarily as ISO C99
45445 va_copy. Document allowing for unavailable va_copy only as
45446 pre-C99 compatibility.
45447 * manual/string.texi (Copying and Concatenation): Use va_copy
45448 instead of __va_copy in concat example.
45450 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
45452 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45453 (__sendto): Use create_address_port. Initialize APORT and deallocate
45456 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45457 with O_NOLINK passed to __file_name_lookup.
45459 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45460 with O_NOLINK passed to __file_name_lookup.
45462 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45463 negative N or less than NGIDS.
45465 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45466 type to string_t. Set ERANGE as errno and return it if NAME is not big
45467 enough. Use memcpy instead of strncpy.
45469 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45471 * elf/Makefile (check-data): Remove.
45472 (localplt.data): New vpath directive.
45473 ($(objpfx)check-localplt.out): Use localplt.data from vpath
45474 instead of $(check-data).
45475 * scripts/data/localplt-generic.data: Move to ...
45476 * sysdeps/generic/localplt.data: ... here.
45477 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45478 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45479 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45482 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45485 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45488 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45491 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45494 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45498 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45500 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45501 PPC32 and PPC64 files.
45502 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45503 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45505 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45507 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45508 __makecontext_ret to ...
45509 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45510 ... here and call exit if uc_link is NULL. New file.
45511 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45512 __makecontext_ret.S.
45513 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45514 __makecontext_ret to ...
45515 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45516 ... here and call exit if uc_link is NULL. New file.
45517 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45518 __makecontext_ret.S.
45520 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45522 * elf/elf.h (R_390_IRELATIVE): New definition.
45523 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45524 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
45525 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45526 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45527 (elf_machine_lazy_rel): Likewise.
45528 * sysdeps/s390/dl-irel.h: New file.
45529 * sysdeps/s390/s390-64/memcpy.S: New asm code.
45530 * sysdeps/s390/s390-64/memset.S: New asm code.
45531 * sysdeps/s390/s390-64/memcmp.S: New asm code.
45532 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45533 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45534 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45535 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45536 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45537 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45538 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45539 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45540 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45541 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45542 * sysdeps/s390/s390-32/memcpy.S: New asm code.
45543 * sysdeps/s390/s390-32/memset.S: New asm code.
45544 * sysdeps/s390/s390-32/memcmp.S: New asm code.
45546 2012-07-17 Marek Polacek <polacek@redhat.com>
45549 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45550 * sysdeps/s390/s390-64/configure.in: Likewise.
45551 * sysdeps/sparc/configure.in: Likewise.
45552 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45553 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45554 * sysdeps/i386/configure.in: Likewise.
45555 * sysdeps/x86_64/configure.in: Likewise.
45556 * sysdeps/sh/configure.in: Likewise.
45557 * sysdeps/s390/s390-32/configure: Regenerated.
45558 * sysdeps/s390/s390-64/configure: Likewise.
45559 * sysdeps/x86_64/configure: Likewise.
45560 * sysdeps/sh/configure: Likewise.
45561 * sysdeps/powerpc/powerpc64/configure: Likewise.
45562 * sysdeps/powerpc/powerpc32/configure: Likewise.
45563 * sysdeps/sparc/configure: Likwise.
45564 * sysdeps/i386/configure: Likewise.
45566 * elf/dl-open.c: Comment fixes.
45568 2012-07-17 Joseph Myers <joseph@codesourcery.com>
45570 * Makefile [CXX] (check-data): Remove.
45571 [CXX] (c++-types.data): New vpath directive.
45572 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45573 vpath. Do not allow for C++ type data being missing.
45574 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45575 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45576 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45577 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45578 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45579 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45580 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45583 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45586 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45589 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45592 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45595 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45598 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45601 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45604 * elf/tls-macros.h (TLS_LE): Move architecture-specific
45605 definitions to architecture-specific files.
45606 (TLS_IE): Likewise.
45607 (TLS_LD): Likewise.
45608 (TLS_GD): Likewise.
45609 * sysdeps/i386/tls-macros.h: New file.
45610 * sysdeps/powerpc/tls-macros.h: Likewise.
45611 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45612 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45613 * sysdeps/sh/tls-macros.h: Likewise.
45614 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45615 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45616 * sysdeps/x86_64/tls-macros.h: Likewise.
45618 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
45620 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45621 zero value for regular exit case.
45623 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45624 (__start_context): Preserve zero value for regular exit case.
45626 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
45627 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45629 * manual/setjmp.texi (setcontext): Clarify normal process
45630 termination when uc_link is the null pointer.
45631 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45634 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
45636 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45637 preprocessor. Test for each exception mask separately.
45639 2012-07-16 Andreas Jaeger <aj@suse.de>
45641 * po/ru.po: Update from translation team.
45643 2012-07-15 Joseph Myers <joseph@codesourcery.com>
45645 * conform/data/string.h-data (NULL): Use macro-constant. Require
45647 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45648 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45649 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45650 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45651 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45653 2012-07-13 Andreas Jaeger <aj@suse.de>
45655 * po/fr.po: Update from translation team.
45657 2012-07-12 Marek Polacek <polacek@redhat.com>
45660 * math/libm-test.inc (yn_test): Add test for BZ #14173.
45661 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45664 2012-07-12 Joseph Myers <joseph@codesourcery.com>
45667 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45668 Change to 2.4.1 where previously 2.4.0.
45669 * sysdeps/unix/sysv/linux/configure: Regenerated.
45670 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45671 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45673 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45674 (__ASSUME_AT_CLKTCK): Remove.
45675 (__ASSUME_AT_PAGESIZE): Likewise.
45676 (__ASSUME_AT_XID): Likewise.
45677 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45678 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45679 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45681 (HAVE_AUX_PAGESIZE): Likewise.
45682 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45683 [__ASSUME_AT_CLKTCK]: Make code unconditional.
45684 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45686 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
45689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45690 the temporary buffer used to invoke __gethostbyname2_r,
45691 __gethostbyaddr_r and gethostbyname4_r to make room for struct
45692 host_data / struct gaih_addrtuple.
45693 * resolv/nss_dns/dns-host.c (global scope): Move definition of
45694 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45695 header file nss/nsswitch.h.
45696 * nss/nsswitch.h (global scope): Add definition of implementation
45697 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45698 resolv/nss_dns/dns-host.c).
45700 2012-07-11 Andreas Jaeger <aj@suse.de>
45702 * po/fr.po: Update from translation team.
45704 * po/sv.po: Update from translation team
45705 * po/fr.po: Another update from translation team.
45707 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45709 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45710 for subnormals or multiply small sinh result by itself.
45711 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45714 2012-07-11 David S. Miller <davem@davemloft.net>
45716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45718 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
45721 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45722 (INTERNAL_MARK): Shift it here.
45724 2012-07-10 Marek Polacek <polacek@redhat.com>
45727 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
45728 libc_cv_asm_global_directive with .globl.
45729 * configure: Regenerated.
45730 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45732 * sysdeps/i386/configure: Regenerated.
45733 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45735 * sysdeps/x86_64/configure: Regenerated.
45736 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45737 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45738 * elf/tst-unique2mod2.c: Likewise.
45739 * elf/tst-unique2mod1.c: Likewise.
45740 * elf/tst-unique1mod2.c: Likewise.
45741 * elf/tst-unique1mod1.c: Likewise.
45742 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45743 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45744 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45745 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45746 * sysdeps/mach/sysdep.h: Likewise.
45747 * sysdeps/i386/sysdep.h: Likewise.
45748 * sysdeps/i386/i386-mcount.S: Likewise.
45749 * sysdeps/x86_64/_mcount.S: Likewise.
45750 * sysdeps/x86_64/sysdep.h: Likewise.
45751 * sysdeps/sh/_mcount.S: Likewise.
45752 * sysdeps/sh/sysdep.h: Likewise.
45753 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45754 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45755 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45756 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45757 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45758 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45759 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45760 * locale/localeinfo.h: Likewise.
45761 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45762 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45764 2012-07-09 Roland McGrath <roland@hack.frob.com>
45767 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45769 * manual/message.texi (The Uniforum approach): Likewise.
45770 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45771 (glibc iconv Implementation): Likewise.
45773 2012-07-09 Joseph Myers <joseph@codesourcery.com>
45776 * math/s_clog.c (__clog): Avoid scaling a value down where that
45777 could result in underflow.
45778 * math/s_clog10.c (__clog10): Likewise.
45779 * math/s_clog10f.c (__clog10f): Likewise.
45780 * math/s_clog10l.c (__clog10l): Likewise.
45781 * math/s_clogf.c (__clogf): Likewise.
45782 * math/s_clogl.c (__clogl): Likewise.
45783 * math/libm-test.inc (clog_test): Add more tests.
45784 (clog10_test): Likewise.
45785 * sysdeps/i386/fpu/libm-test-ulps: Update.
45786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45788 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
45791 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45792 by 7 not 8 to examine high bit of fractional part.
45795 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45796 for call to __mcount_internal.
45797 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45798 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45799 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45801 2012-07-06 Joseph Myers <joseph@codesourcery.com>
45804 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45805 approximation for values within 0x1p-13f of an odd multiple of
45807 * math/libm-test.inc (tan_test): Do not allow spurious underflow
45808 exception. Add more tests.
45809 * sysdeps/i386/fpu/libm-test-ulps: Update.
45812 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45813 inputs and return -1 for them. Do not check for +Inf in case not
45814 reachable for +Inf.
45815 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45816 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45817 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45818 and return -1 for them. Do not check for +Inf in case not
45819 reachable for +Inf.
45820 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45822 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45823 and return -1 for them. Do not check for +Inf in case not
45824 reachable for +Inf.
45825 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
45826 spurious underflow.
45827 * sysdeps/i386/fpu/libm-test-ulps: Update.
45828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45830 2012-07-06 Mike Frysinger <vapier@gentoo.org>
45832 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45834 2012-07-05 Joseph Myers <joseph@codesourcery.com>
45838 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45839 could result in spurious underflow. Scale down values above
45840 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45841 * math/s_csqrtf.c (__csqrtf): Likewise.
45842 * math/s_csqrtl.c (__csqrtl): Likewise.
45843 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
45844 spurious underflow.
45845 * sysdeps/i386/fpu/libm-test-ulps: Update.
45846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45848 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
45850 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45852 * catgets/xopen-msg.awk: New file.
45853 * catgets/xopen-msg.sed: Removed.
45855 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45857 * intl/po2test.awk: New file.
45858 * intl/po2test.sed: Removed.
45860 2012-07-04 Joseph Myers <joseph@codesourcery.com>
45863 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45864 or multiply small sinh result by itself.
45865 * math/s_ctanf.c (__ctanf): Likewise.
45866 * math/s_ctanh.c (__ctanh): Likewise.
45867 * math/s_ctanhf.c (__ctanhf): Likewise.
45868 * math/s_ctanhl.c (__ctanhl): Likewise.
45869 * math/s_ctanl.c (__ctanl): Likewise.
45870 * math/libm-test.inc (ctan_test_tonearest): New function.
45871 (ctan_test_towardzero): Likewise.
45872 (ctan_test_downward): Likewise.
45873 (ctan_test_upward): Likewise.
45874 (ctanh_test_tonearest): Likewise.
45875 (ctanh_test_towardzero): Likewise.
45876 (ctanh_test_downward): Likewise.
45877 (ctanh_test_upward): Likewise.
45878 (main): Call these new functions.
45879 * sysdeps/i386/fpu/libm-test-ulps: Update.
45880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45882 2012-07-03 Mike Frysinger <vapier@gentoo.org>
45884 * .gitignore: Delete /ports entry.
45886 2012-07-03 Andreas Jaeger <aj@suse.de>
45888 * po/bg.po: Update from translation team.
45889 * po/cs.po: Likewise.
45890 * po/de.po: Likewise.
45891 * po/hr.po: Likewise.
45892 * po/nl.pl: Likewise.
45893 * po/pl.po: Likewise.
45894 * po/vi.po: Likewise.
45896 2012-07-03 Joseph Myers <joseph@codesourcery.com>
45898 * Makeconfig [!+link] (+link-before-libc): New variable.
45899 [!+link] (+link-after-libc): Likewise.
45900 [!+link] (+link-tests): Likewise.
45901 [!+link] (+link): Define in terms of $(+link-before-libc) and
45902 $(+link-after-libc).
45903 [!+link-static] (+link-static-before-libc): New variable.
45904 [!+link-static] (+link-static-after-libc): Likewise.
45905 [!+link-static] (+link-static-tests): Likewise.
45906 [!+link-static] (+link-static): Define in terms of
45907 $(+link-static-before-libc) and $(+link-static-after-libc).
45908 [build-shared] (link-libc-before-gnulib): New variable.
45909 [build-shared] (link-libc-tests): Likewise.
45910 [build-shared] (link-libc): Define in terms of
45911 $(link-libc-before-gnulib).
45912 [!build-shared] (link-libc-tests): New variable.
45913 (link-libc-static-tests): New variable.
45914 [!gnulib] (gnulib-arch): New variable.
45915 [!gnulib] (gnulib-tests): Likewise.
45916 [!gnulib] (static-gnulib-arch): Likewise.
45917 [!gnulib] (static-gnulib-tests): Likewise.
45918 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
45919 Define with "=" instead of ":=".
45920 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
45921 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
45922 * Rules (binaries-all-notests): New variable.
45923 (binaries-all-tests): Likewise.
45924 (binaries-static-notests): Likewise.
45925 (binaries-static-tests): Likewise.
45926 (binaries-all): Define using $(binaries-all-notests) and
45927 $(binaries-all-tests).
45928 (binaries-static): Define using $(binaries-static-notests) and
45929 $(binaries-static-tests).
45930 (binaries-shared-tests): New variable.
45931 (binaries-shared-notests): Likewise.
45932 (binaries-shared): Remove variable.
45933 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45934 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45935 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45936 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45937 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45938 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45939 * elf/Makefile (sln-modules): New variable.
45940 (extra-objs): Add $(sln-modules:=.o).
45941 (ldconfig-modules): Add static-stubs.
45942 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45943 * elf/static-stubs.c: New file.
45946 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45947 by 7 not 8 to examine high bit of fractional part. Use volatile
45948 variables when splitting into final array of floats if
45949 __FLT_EVAL_METHOD__ != 0.
45950 * math/libm-test.inc (cos_test): Add another test.
45951 (sin_test): Likewise.
45952 * sysdeps/i386/fpu/libm-test-ulps: Update.
45955 * math/libm-test.inc (cosh_test): Add more tests.
45957 * version.h (RELEASE): Set to "development".
45958 (VERSION): Set to "2.16.90".
45960 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
45962 * NEWS: Update copyright. Remove last-updated date.
45963 Mention math library bug fixes and timezone data changes.
45964 * README: Mention GNU/Hurd, x32, and HPPA support status.
45966 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
45968 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45970 2012-06-27 Andreas Jaeger <aj@suse.de>
45972 * manual/contrib.texi (Contributors): Add Samuel Thibault.
45974 2012-06-25 Andreas Jaeger <aj@suse.de>
45976 * sysdeps/s390/fpu/libm-test-ulps: Update.
45978 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
45979 Thomas Schwinge <thomas@codesourcery.com>
45981 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45982 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45983 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45986 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
45988 * sysdeps/mach/start.c: Remove file.
45989 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45990 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45991 * sysdeps/sh/init-first.c: Likewise.
45993 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45994 registers for frame unwinding purposes, add CFI directives.
45995 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45996 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45997 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
46000 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
46001 __fortify_fail returning.
46002 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
46004 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
46005 sysdeps/sh/____longjmp_chk.S.
46006 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
46007 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
46008 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
46009 (gen-as-const-headers): Append sigaltstack-offsets.sym.
46011 * sysdeps/sh/abort-instr.h: New file.
46012 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
46013 process in case exit returns.
46015 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
46016 initialize the GOT register before use.
46018 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
46019 calculation of ARGC > 4.
46021 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
46022 meaningful names to some local labels.
46024 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46025 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46027 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
46028 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
46029 (__arch_compare_and_exchange_val_16_acq): Likewise.
46030 (__arch_compare_and_exchange_val_32_acq): Likewise.
46031 (atomic_exchange_and_add): Fix gUSA sequence.
46032 (atomic_add): Likewise.
46033 (atomic_add_negative): Likewise.
46034 (atomic_add_zero): Likewise.
46035 (atomic_bit_test_set): Likewise.
46037 2012-06-22 Andreas Schwab <schwab@redhat.com>
46040 * include/link.h (struct link_map): Add l_free_initfini.
46041 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
46043 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
46044 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
46045 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
46048 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
46050 * configure.in: Use AC_LANG_SOURCE.
46051 * configure: Regenerate.
46053 2012-06-22 Roland McGrath <roland@hack.frob.com>
46055 * configure.in (libc_cv_localstatedir): New substituted variable.
46056 * configure: Regenerated.
46057 * config.make.in (localstatedir): New variable, substituted from
46058 libc_cv_localstatedir.
46059 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
46060 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
46061 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
46062 * sysdeps/gnu/configure: Regenerated.
46064 2012-06-21 Jeff Law <law@redhat.com>
46067 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
46068 free. Simplify list management for _LIBC case.
46070 2012-06-21 Joseph Myers <joseph@codesourcery.com>
46073 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
46074 Clear sign bit of 64-bit integer value before comparing against
46077 * sysdeps/mach/configure: Regenerated.
46079 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
46082 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
46084 2012-06-21 Jeff Law <law@redhat.com>
46087 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
46088 uint16_t for elements in the "seen" array to avoid char overflows.
46089 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46090 * elf/dl-open.c (dl_open_worker): Likewise.
46092 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
46094 * scripts/list-sources.sh: Scan PORTS for translations.
46095 * po/libc.pot: Regenerated.
46097 2012-06-21 Andreas Jaeger <aj@suse.de>
46100 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46102 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46103 * bits/byteswap-16.h (__bswap_16): Likewise.
46104 * bits/byteswap.h (__bswap_constant_16): Likewise.
46106 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
46109 * sysdeps/i386/fpu_control.h: Removed.
46110 * sysdeps/x86_64/fpu_control.h: Moved to ...
46111 * sysdeps/x86/fpu_control.h: Here.
46113 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46114 (_FPU_SETCW): Likewise.
46116 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
46119 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46120 * sysdeps/x86/fpu/bits/mathinline.h: This.
46121 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46125 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46126 functions if __x86_64__ is defined.
46128 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
46130 * string/endian.h: Add !__ASSEMBLER__ condition for including
46131 conversion interfaces.
46133 2012-06-15 Joseph Myers <joseph@codesourcery.com>
46136 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46137 of ABS(x) in calculating zero to negative powers other than odd
46139 * math/libm-test.inc (pow_test): Add more tests.
46141 2012-06-15 Andreas Jaeger <aj@suse.de>
46143 * manual/contrib.texi (Contributors): Update entry of Liubov
46144 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46147 2012-06-15 Cyril Hrubis <metan@ucw.cz>
46149 * string/string.h: Add __wur to GNU version of strerror_r.
46151 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
46154 * string/Makefile (tests): Add tst-strtok_r.
46155 * string/tst-strtok_r.c: New file.
46156 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46157 RAX_LP/RDX_LP on SAVE_PTR.
46159 2012-06-14 Roland McGrath <roland@hack.frob.com>
46161 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46163 2012-06-14 Joseph Myers <joseph@codesourcery.com>
46165 * libm_test.inc (csqrt_test): Allow more spurious underflow
46167 (j0_test): Likewise.
46168 (j1_test): Likewise.
46169 (y0_test): Likewise.
46170 (y1_test): Likewise.
46172 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
46174 * po/Makefile (libc.pot): Use UTF-8 charset.
46176 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
46179 Suppress sign-conversion warning from FD_SET.
46180 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46181 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46182 not unsigned long int.
46183 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46185 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
46189 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46190 __extern_always_inline instead of __extern_inline.
46191 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46192 (__signbit): Likewise.
46193 (__signbitl): Support C++ namespace.
46194 (lrintf): New inline function.
46196 (llrintf): Likewise.
46197 (llrint): Likewise.
46207 (floorf): Likewise.
46208 (nearbyint): Likewise.
46209 (nearbyintf): Likewise.
46211 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
46213 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46214 non-default versions.
46216 2012-06-11 Roland McGrath <roland@hack.frob.com>
46219 * manual/argp.texi (Argp): Reword argp_parse description slightly.
46221 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
46223 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46224 (FE_UPWARD, FE_DOWNWARD): Don't define.
46225 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46226 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46228 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46230 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46231 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46233 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46235 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46236 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46237 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46238 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46240 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
46243 * sysdeps/i386/fpu/bits/fenv.h: Removed.
46244 * sysdeps/i386/fpu/Implies: New file.
46245 * sysdeps/x86_64/fpu/Implies: Likewise.
46246 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46247 * sysdeps/x86/fpu/bits/fenv.h: This.
46249 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46252 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
46255 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46256 character 0xffff that matches the last element of the
46259 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46261 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46264 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46266 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46267 values higher than 25.6283.
46269 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46271 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46272 subnormal exponent extraction and add some __builtin_expect.
46273 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46274 Fix for subnormal mantissa calculation.
46276 2012-06-04 Mike Frysinger <vapier@gentoo.org>
46278 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46279 cpu2 is -1 and errno is not ENOSYS.
46281 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
46284 * sysdeps/i386/i486/bits/string.h: Renamed to ...
46285 * sysdeps/x86/bits/string.h: This.
46286 * sysdeps/x86_64/bits/string.h: Removed.
46288 * sysdeps/i386/i486/bits/string.h: Define inline functions only
46289 if not compiling for x86-64, but compiling for >= i486.
46291 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46292 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46294 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46295 New macro from Linux kernel 3.4.0.
46296 (FP_XSTATE_MAGIC2): Likewise.
46297 (FP_XSTATE_MAGIC2_SIZE): Likewise.
46298 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46299 (struct _fpx_sw_bytes): New struct.
46300 (struct _xsave_hdr): Likewise.
46301 (struct _ymmh_state): Likewise.
46302 (struct _xstate): Likewise.
46304 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46305 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46306 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46307 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46308 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46309 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46311 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46312 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46313 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46314 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46315 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46316 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46318 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46321 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46322 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46323 (sysdep_headers): Include sys/platform/ppc.h.
46324 * sysdeps/powerpc/test-gettimebase.c: Test for
46325 __ppc_get_timebase() to catch future ISA opcode/insn changes.
46326 * manual/Makefile (appendices): Include platform.texi.
46327 * manual/contrib.texi (Contributors): Update @node pointers.
46328 * manual/maint.texi (Maintenance): Likewise.
46329 (Platform): New node.
46330 * manual/platform.texi: New file. Document the new features.
46332 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
46333 Jakub Jelinek <jakub@redhat.com>
46336 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46337 where __builtin_expect is unavailable.
46339 2012-06-03 David S. Miller <davem@davemloft.net>
46341 * stdlib/longlong.h: Updated from GCC.
46343 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
46346 * sysdeps/powerpc/powerpc32/mcount.c: New file.
46347 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46350 (GLIBC_2.16): Likewise.
46352 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46354 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46356 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46359 (default-abi): New variable.
46360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46361 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46363 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46365 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46367 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46370 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46371 definition. Document in comment.
46373 2012-06-01 David S. Miller <davem@davemloft.net>
46375 * stdlib/longlong.h: Updated from GCC.
46377 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46380 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46381 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46382 sys/debugreg.h sys/io.h here.
46383 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46384 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46386 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46387 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46388 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46389 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46390 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46391 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46393 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46394 Define only if __x86_64__ is defined.
46396 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46399 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46400 Use int64_t for variable i.
46401 * math/libm-test.inc (fmod_test): Add more tests.
46403 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46404 z computation is not scheduled after fetestexcept.
46405 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46406 Use math_force_eval instead of asm to ensure calculation scheduled
46407 before exception test.
46408 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46409 Ensure a1 + u.d computation is not scheduled after fetestexcept.
46411 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
46413 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46414 computation is not scheduled after fetestexcept.
46416 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46419 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46420 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46422 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46424 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46425 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46427 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46430 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46432 (__WCHAR_MIN): Support __WORDSIZE == 64.
46433 (__WCHAR_MAX): Likewise.
46435 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46436 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46439 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46440 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46443 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46444 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46446 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46447 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46449 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46450 Defined to 1 if __x86_64__ isn't defined.
46451 (_STAT_VER_LINUX_OLD): New.
46452 (st_atime): Remove duplicate.
46453 (st_mtime): Likewise.
46454 (st_ctime): Likewise.
46456 2012-05-31 David S. Miller <davem@davemloft.net>
46458 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46461 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
46463 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46467 * elf/dl-reloc.c: Include <_itoa.h>.
46468 (_dl_reloc_bad_type): Remove use of INTUSE.
46469 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46470 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46471 * stdio-common/psiginfo.c (psiginfo): Likewise.
46472 * stdio-common/psignal.c (psignal): Likewise.
46473 * string/strsignal.c (strsignal): Likewise.
46474 * include/signal.h (_sys_siglist): Declare hidden proto.
46475 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
46476 INTVARDEF with libc_hidden_data_def.
46477 * stdio-common/itoa-udigits.c: Likewise.
46478 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46479 (_itoa_lower_digits_internal): Remove declaration.
46480 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46481 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46482 (_sys_sigabbrev_internal): Remove aliases.
46483 (_sys_siglist): Define hidden alias.
46485 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
46487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46490 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46493 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46494 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46496 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46497 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46498 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46499 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46500 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46501 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46503 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46504 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46505 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46507 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46515 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46516 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46517 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46519 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46520 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46521 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46522 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46523 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46524 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46526 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46527 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46529 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46530 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46532 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46533 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46534 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46536 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46537 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46539 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46541 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46542 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46543 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46545 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46547 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46549 2012-05-31 Joseph Myers <joseph@codesourcery.com>
46551 * math/math.h (M_El): Use two more decimal places.
46552 (M_LOG2El): Likewise.
46553 (M_LOG10El): Likewise.
46554 (M_LN2l): Likewise.
46555 (M_LN10l): Likewise.
46557 (M_PI_2l): Likewise.
46558 (M_PI_4l): Likewise.
46559 (M_1_PIl): Likewise.
46560 (M_2_PIl): Likewise.
46561 (M_2_SQRTPIl): Likewise.
46562 (M_SQRT2l): Likewise.
46563 (M_SQRT1_2l): Likewise.
46565 2012-05-31 David S. Miller <davem@davemloft.net>
46567 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46568 values between float registers.
46569 * sysdeps/sparc/sparc64/memset.S: Likewise.
46570 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46572 2012-05-31 Mike Frysinger <vapier@gentoo.org>
46574 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46575 -D_FORTIFY_SOURCE=1.
46576 (CPPFLAGS-tst-longjmp_chk.c): Define.
46577 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46578 (CPPFLAGS-tst-longjmp_chk2.c): Define.
46579 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46580 CFLAGS-tst-wchar-h.c.
46582 2012-05-31 Marek Polacek <polacek@redhat.com>
46585 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46586 __endmntent_internal): Remove declaration.
46587 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46588 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46589 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46591 2012-05-30 David S. Miller <davem@davemloft.net>
46593 * sysdeps/sparc/sparc32/soft-fp/q_util.c
46594 (___Q_simulate_exceptions): Use real FP ops rather than writing
46596 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46599 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46602 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46603 * sysdeps/x86/bits/xtitypes.h: This.
46605 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46606 * sysdeps/x86/bits/wordsize.h: This.
46608 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46609 * sysdeps/x86/bits/huge_vall.h: This.
46611 * sysdeps/i386/bits/select.h: Removed.
46612 * sysdeps/x86_64/bits/select.h: Renamed to ...
46613 * sysdeps/x86/bits/select.h: This.
46615 * sysdeps/i386/bits/setjmp.h: Removed.
46616 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46617 * sysdeps/x86/bits/setjmp.h: This.
46619 * sysdeps/i386/bits/mathdef.h: Removed.
46620 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46621 * sysdeps/x86/bits/mathdef.h: This.
46623 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
46626 * include/sys/socket.h (__connect_internal)
46627 (__libc_sa_len_internal): Remove declaration.
46628 (__connect, __libc_sa_len): Declare hidden_proto.
46629 (SA_LEN): Remove use of INTUSE.
46630 * socket/connect.c: Add libc_hidden_def.
46631 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46632 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46633 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46635 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46636 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46637 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46638 of adding _internal alias.
46640 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46643 * sysdeps/i386/bits/link.h: Removed.
46644 * sysdeps/i386/bits/linkmap.h: Likewise.
46645 * sysdeps/x86_64/bits/link.h: Renamed to ...
46646 * sysdeps/x86/bits/link.h: This.
46647 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46648 * sysdeps/x86/bits/linkmap.h: This.
46650 * sysdeps/i386/bits/endian.h: Removed.
46651 * sysdeps/x86_64/bits/endian.h: Renamed to ...
46652 * sysdeps/x86/bits/endian.h: This.
46654 * sysdeps/i386/bits/byteswap.h: Removed.
46655 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46656 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46657 * sysdeps/x86/bits/byteswap.h: This.
46658 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46659 * sysdeps/x86/bits/byteswap-16.h: This.
46660 * sysdeps/i386/Implies: Add x86.
46661 * sysdeps/x86_64/Implies: Likewise.
46663 2012-05-30 David S. Miller <davem@davemloft.net>
46665 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46666 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46667 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46668 (FP_TRAPPING_EXCEPTIONS): Define.
46669 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46670 (FP_TRAPPING_EXCEPTIONS): Define.
46671 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46672 subnormals only when inexact has been signalled or underflow
46673 exceptions are enabled.
46674 (_FP_PACK_CANONICAL): Likewise.
46676 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46679 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46680 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46682 2012-05-30 Richard Henderson <rth@twiddle.net>
46684 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46685 with #ifndef NOT_IN_libc.
46687 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
46688 marked to avoid plt entry.
46690 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46693 * Makeconfig (default-abi): New macro.
46694 (abi-includes): Likewise.
46695 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
46696 $(abi-$(default-abi)-lib-soname) for soname if defined.
46697 ($(common-objpfx)gnu/lib-names.stmp): Generate from
46699 * Makefile (installed-stubs): Likewise.
46700 * include/stubs-biarch.h: Removed.
46701 * scripts/lib-names.awk: Only handle one library at a time.
46702 * scripts/soversions.awk: Remove WORDSIZE support.
46703 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46705 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46707 (syscall-list-default-condition): Likewise.
46708 (syscall-list-default-condition): Likewise.
46709 (syscall-list-includes): Likewise.
46710 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46711 syscall-list-* with abi-*. Handle undefined abi-variants.
46712 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46713 * sysdeps/unix/sysv/linux/i386/Implies: New file.
46714 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46715 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46716 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46717 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46719 (syscall-list-32-options): Likewise.
46720 (syscall-list-32-condition): Likewise.
46721 (syscall-list-64-options): Likewise.
46722 (syscall-list-64-condition): Likewise.
46723 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46725 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46728 (abi-64-ld-soname): New macro.
46729 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46730 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46733 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46734 * sysdeps/x86_64/x32/shlib-versions: Likewise.
46736 2012-05-30 Joseph Myers <joseph@codesourcery.com>
46738 * sysdeps/unix/sysv/linux/kernel-features.h
46739 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46740 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46741 include <kernel-features.h>.
46742 [!__NR_ftruncate64]: Remove conditional code.
46743 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46744 [__NR_ftruncate64]: Make code unconditional.
46745 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46746 * sysdeps/unix/sysv/linux/truncate64.c: Do not
46747 include <kernel-features.h>.
46748 [!__NR_ftruncate64]: Remove conditional code.
46749 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46750 [__NR_ftruncate64]: Make code unconditional.
46751 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46753 include <kernel-features.h>.
46754 [!__NR_ftruncate64]: Remove conditional code.
46755 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46756 [__NR_ftruncate64]: Make code unconditional.
46757 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46759 include <kernel-features.h>.
46760 [!__NR_ftruncate64]: Remove conditional code.
46761 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46762 [__NR_ftruncate64]: Make code unconditional.
46763 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46765 * configure.in (libc_cv_fpie): Weaken to a compile test using
46766 LIBC_TRY_CC_OPTION.
46767 * configure: Regenerated.
46769 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46784 2012-05-27 David S. Miller <davem@davemloft.net>
46786 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46788 (__Q_simulate_exceptions): Return void. Change to simulate
46789 exceptions by writing into the %fsr.
46790 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46791 (__Qp_handle_exceptions): Likewise.
46793 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46794 __Qp_handle_exceptions.
46795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46796 __Qp_handle_exceptions.
46797 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46798 as unused and give dummy FP_RND_NEAREST initializer.
46799 (FP_INHIBIT_RESULTS): Define.
46800 (___Q_simulate_exceptions): Update declaration.
46801 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46803 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46804 as unused and give dummy FP_RND_NEAREST initializer.
46805 (__Qp_handle_exceptions): Update declaration.
46806 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46809 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
46811 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46812 the temporary FPU control word.
46813 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46814 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46815 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46816 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46817 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46818 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46819 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46820 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46821 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46822 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46823 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46825 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46827 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46830 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
46832 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46833 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46834 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46835 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46837 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46838 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46841 2012-05-27 Ulrich Drepper <drepper@gmail.com>
46843 * po/h.po: Update from translation team.
46845 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
46847 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46849 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46850 handling of denormals.
46851 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46852 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46853 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46854 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46855 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46856 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46857 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46860 2012-05-26 Marek Polacek <polacek@redhat.com>
46863 * math/libm-test.inc (fma_test): Don't always expect underflow
46866 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46869 * elf/tst-execstack.c: Include stackinfo.h.
46870 (do_test): Adjust test case to ensure that pthread_getattr_np
46871 behaviour remains the same after marking stack executable.
46873 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46875 * sysdeps/unix/sysv/linux/kernel-features.h
46876 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46877 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46879 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46880 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46881 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46883 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46884 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46886 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
46888 * configure.in: Define the default includes to being none.
46889 * configure: Regenerated.
46891 2012-05-25 Roland McGrath <roland@hack.frob.com>
46893 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46894 * sysdeps/x86_64/setjmp.S: Likewise.
46895 * sysdeps/i386/bsd-setjmp.S: Likewise.
46896 * sysdeps/i386/bsd-_setjmp.S: Likewise.
46897 * sysdeps/i386/setjmp.S: Likewise.
46898 * sysdeps/i386/__longjmp.S: Likewise.
46899 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46900 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46902 * include/stap-probe.h: New file.
46903 * configure.in: Handle --enable-systemtap.
46904 * configure: Regenerated.
46905 * config.h.in (USE_STAP_PROBE): New #undef.
46906 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46907 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46908 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46910 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46913 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46914 to 2.4.0 where earlier.
46915 * sysdeps/unix/sysv/linux/configure: Regenerated.
46916 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46917 <kernel-features.h>.
46918 [__ASSUME_32BITUIDS]: Make code unconditional.
46919 [!__ASSUME_32BITUIDS]: Remove conditional code.
46920 * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
46925 [__ASSUME_32BITUIDS]: Make code unconditional.
46926 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46927 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46928 <kernel-features.h>.
46929 [__ASSUME_32BITUIDS]: Make code unconditional.
46930 [!__ASSUME_32BITUIDS]: Remove conditional code.
46931 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
46968 <kernel-features.h>.
46969 [__NR_setresgid] (__setresgid): Do not declare.
46970 [__ASSUME_32BITUIDS]: Make code unconditional.
46971 [!__ASSUME_32BITUIDS]: Remove conditional code.
46972 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46973 <kernel-features.h>.
46974 [__NR_setresuid] (__setresuid): Do not declare.
46975 [__ASSUME_32BITUIDS]: Make code unconditional.
46976 [!__ASSUME_32BITUIDS]: Remove conditional code.
46977 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46978 <kernel-features.h>.
46979 [__ASSUME_32BITUIDS]: Make code unconditional.
46980 [!__ASSUME_32BITUIDS]: Remove conditional code.
46981 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
47018 (__ASSUME_SETRESUID_SYSCALL): Remove.
47019 (__ASSUME_SETRESGID_SYSCALL): Likewise.
47020 (__ASSUME_32BITUIDS): Likewise.
47021 (__ASSUME_LDT_WORKS): Likewise.
47022 (__ASSUME_O_DIRECTORY): Likewise.
47023 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
47024 architecture but not kernel version.
47025 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
47026 (__ASSUME_MMAP2_SYSCALL): Likewise.
47027 (__ASSUME_STAT64_SYSCALL): Likewise.
47028 (__ASSUME_IPC64): Likewise.
47029 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
47030 <kernel-features.h>.
47031 [__ASSUME_32BITUIDS]: Make code unconditional.
47032 [!__ASSUME_32BITUIDS]: Remove conditional code.
47033 * sysdeps/unix/sysv/linux/opendir.c: Do not include
47034 <kernel-features.h>.
47035 [__ASSUME_O_DIRECTORY]: Make code unconditional.
47036 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
47037 132096]: Remove conditional code.
47038 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
47039 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47040 <kernel-features.h>.
47041 [__ASSUME_32BITUIDS]: Make code unconditional.
47042 [!__ASSUME_32BITUIDS]: Remove conditional code.
47043 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
47048 <kernel-features.h>.
47049 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
47051 (__setresgid): Do not declare.
47052 [__ASSUME_32BITUIDS]: Make code unconditional.
47053 [!__ASSUME_32BITUIDS]: Remove conditional code.
47054 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
47055 <kernel-features.h>.
47056 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
47058 (__setresuid): Do not declare.
47059 [__ASSUME_32BITUIDS]: Make code unconditional.
47060 [!__ASSUME_32BITUIDS]: Remove conditional code.
47061 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47062 <kernel-features.h>.
47063 [__ASSUME_32BITUIDS]: Make code unconditional.
47064 [!__ASSUME_32BITUIDS]: Remove conditional code.
47065 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
47066 <kernel-features.h>.
47067 [__ASSUME_32BITUIDS]: Make code unconditional.
47068 [!__ASSUME_32BITUIDS]: Remove conditional code.
47070 2012-05-25 Richard Henderson <rth@twiddle.net>
47072 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
47073 dl_hwcap to ifunc resolver.
47074 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
47076 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
47077 dl_hwcap to ifunc resolver.
47078 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
47080 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47083 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
47084 for |x| <= 2**-26, not 2**-57.
47085 * math/libm-test.inc (acos_test): Do not allow spurious underflow
47088 2012-05-24 Jeff Law <law@redhat.com>
47090 * stdio-common/Makefile (tests): Add bug25.
47091 * stdio-common/bug25.c: New test.
47093 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
47096 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47097 multiple of MALLOC_ALIGNMENT in size.
47098 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47100 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47102 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47104 (FILENAME_MAX): Use macro-int-constant.
47105 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
47106 (_IOFBF): Use macro-int-constant.
47107 (_IOLBF): Likewise.
47108 (_IONBF): Likewise.
47109 (SEEK_CUR): Likewise.
47110 (SEEK_END): Likewise.
47111 (SEEK_SET): Likewise.
47112 (TMP_MAX): Likewise.
47113 (EOF): Use macro-int-constant. Require < 0.
47114 (NULL): Use macro-constant. Require == 0.
47115 (stdin): Require type to be FILE *.
47116 (stdout): Likewise.
47117 (stderr): Likewise.
47118 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47119 macro-int-constant.
47120 (EXIT_SUCCESS): Likewise.
47121 (NULL): Use macro-constant. Require == 0.
47122 (RAND_MAX): Use macro-int-constant.
47123 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47124 [C99-based standards] (strtof): Require function.
47125 [C99-based standards] (strtold): Likewise.
47126 [C99-based standards] (strtoll): Likewise.
47127 [C99-based standards] (strtoull): Likewise.
47128 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47129 [ISO || ISO99 || ISO11] (limits.h): Likewise.
47130 [ISO || ISO99 || ISO11] (math.h): Likewise.
47131 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47132 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47133 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47135 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
47138 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47139 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47140 * intl/dgettext.c (DCGETTEXT): Likewise.
47141 * intl/gettext.c (DCGETTEXT): Likewise.
47142 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47143 * posix/regex_internal.h (gettext): Likewise.
47144 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47145 Remove declaration.
47146 * include/argz.h (__argz_count_internal)
47147 (__argz_stringify_internal): Remove declaration.
47148 (__argz_count, __argz_stringify): Declare hidden proto.
47149 * intl/dcgettext.c: Remove use of INTDEF.
47150 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47151 * string/argz-stringify.c: Likewise.
47152 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47153 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47154 Declare hidden proto.
47155 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47156 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47157 Declare hidden proto.
47158 * include/stdio.h (__asprintf_internal): Don't declare.
47159 (__asprintf): Don't define as macro. Declare hidden proto.
47160 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47161 (__fsetlocking): Declare hidden proto.
47162 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47163 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47165 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47166 (_IO_setlinebuf): Remove use of INTUSE.
47167 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47168 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47169 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47170 Remove declaration.
47171 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47172 (_IO_do_flush): Remove use of INTUSE.
47173 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47174 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47175 (_IO_adjust_column, _IO_least_wmarker)
47176 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47177 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47178 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47179 (_IO_default_doallocate, _IO_wdefault_doallocate)
47180 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47181 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47182 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47183 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47184 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47185 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47186 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47187 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47188 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47189 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47190 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47191 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47192 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47194 (_IO_flush_all_internal, _IO_adjust_column_internal)
47195 (_IO_default_uflow_internal, _IO_default_finish_internal)
47196 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47197 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47198 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47199 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47200 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47201 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47202 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47203 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47204 (_IO_file_close_internal, _IO_file_close_it_internal)
47205 (_IO_file_underflow_internal, _IO_file_overflow_internal)
47206 (_IO_file_init_internal, _IO_file_attach_internal)
47207 (_IO_file_fopen_internal, _IO_file_read_internal)
47208 (_IO_file_sync_internal, _IO_file_seek_internal)
47209 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47210 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47211 (_IO_str_underflow_internal, _IO_str_overflow_internal)
47212 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47213 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47214 (_IO_list_all_internal, _IO_link_in_internal)
47215 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47216 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47217 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47218 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47219 (_IO_do_write_internal, _IO_padn_internal)
47220 (_IO_getline_info_internal, _IO_getline_internal)
47221 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47222 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47223 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47224 (_IO_vfscanf_internal, _IO_vfprintf_internal)
47225 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47226 (_IO_init_internal, _IO_un_link_internal): Don't declare.
47227 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47228 with libc_hidden_ver, remove use of INTUSE.
47229 * libio/genops.c: Likewise.
47230 * libio/freopen.c: Likewise.
47231 * libio/freopen64.c: Likewise.
47232 * libio/iofclose.c: Likewise.
47233 * libio/iofdopen.c: Likewise.
47234 * libio/iofflush.c: Likewise.
47235 * libio/iofflush_u.c: Likewise.
47236 * libio/iofgets.c: Likewise.
47237 * libio/iofgets_u.c: Likewise.
47238 * libio/iofopen.c: Likewise.
47239 * libio/iofopncook.c: Likewise.
47240 * libio/iofread.c: Likewise.
47241 * libio/iofread_u.c: Likewise.
47242 * libio/ioftell.c: Likewise.
47243 * libio/iofwrite.c: Likewise.
47244 * libio/iogetline.c: Likewise.
47245 * libio/iogets.c: Likewise.
47246 * libio/iogetwline.c: Likewise.
47247 * libio/iopadn.c: Likewise.
47248 * libio/iopopen.c: Likewise.
47249 * libio/ioseekoff.c: Likewise.
47250 * libio/ioseekpos.c: Likewise.
47251 * libio/iosetbuffer.c: Likewise.
47252 * libio/iosetvbuf.c: Likewise.
47253 * libio/ioungetc.c: Likewise.
47254 * libio/ioungetwc.c: Likewise.
47255 * libio/iovdprintf.c: Likewise.
47256 * libio/iovsprintf.c: Likewise.
47257 * libio/iovsscanf.c: Likewise.
47258 * libio/memstream.c: Likewise.
47259 * libio/obprintf.c: Likewise.
47260 * libio/oldfileops.c: Likewise.
47261 * libio/oldiofclose.c: Likewise.
47262 * libio/oldiofdopen.c: Likewise.
47263 * libio/oldiofopen.c: Likewise.
47264 * libio/oldiopopen.c: Likewise.
47265 * libio/oldstdfiles.c: Likewise.
47266 * libio/putc.c: Likewise.
47267 * libio/setbuf.c: Likewise.
47268 * libio/setlinebuf.c: Likewise.
47269 * libio/stdfiles.c: Likewise.
47270 * libio/strops.c: Likewise.
47271 * libio/vasprintf.c: Likewise.
47272 * libio/vscanf.c: Likewise.
47273 * libio/vsnprintf.c: Likewise.
47274 * libio/vswprintf.c: Likewise.
47275 * libio/wfiledoalloc.c: Likewise.
47276 * libio/wfileops.c: Likewise.
47277 * libio/wgenops.c: Likewise.
47278 * libio/wmemstream.c: Likewise.
47279 * libio/wstrops.c: Likewise.
47280 * libio/__fpurge.c: Likewise.
47281 * libio/__fsetlocking.c: Likewise.
47282 * assert/assert.c: Likewise.
47283 * debug/fgets_chk.c: Likewise.
47284 * debug/fgets_u_chk.c: Likewise.
47285 * debug/fread_chk.c: Likewise.
47286 * debug/fread_u_chk.c: Likewise.
47287 * debug/gets_chk.c: Likewise.
47288 * debug/obprintf_chk.c: Likewise.
47289 * debug/vasprintf_chk.c: Likewise.
47290 * debug/vdprintf_chk.c: Likewise.
47291 * debug/vsnprintf_chk.c: Likewise.
47292 * debug/vsprintf_chk.c: Likewise.
47293 * malloc/mtrace.c: Likewise.
47294 * misc/error.c: Likewise.
47295 * misc/syslog.c: Likewise.
47296 * stdio-common/asprintf.c: Likewise.
47297 * stdio-common/fxprintf.c: Likewise.
47298 * stdio-common/getw.c: Likewise.
47299 * stdio-common/isoc99_fscanf.c: Likewise.
47300 * stdio-common/isoc99_scanf.c: Likewise.
47301 * stdio-common/isoc99_vfscanf.c: Likewise.
47302 * stdio-common/isoc99_vscanf.c: Likewise.
47303 * stdio-common/isoc99_vsscanf.c: Likewise.
47304 * stdio-common/printf-prs.c: Likewise.
47305 * stdio-common/printf_fp.c: Likewise.
47306 * stdio-common/printf_fphex.c: Likewise.
47307 * stdio-common/printf_size.c: Likewise.
47308 * stdio-common/putw.c: Likewise.
47309 * stdio-common/scanf.c: Likewise.
47310 * stdio-common/sprintf.c: Likewise.
47311 * stdio-common/tmpfile.c: Likewise.
47312 * stdio-common/vfprintf.c: Likewise.
47313 * stdio-common/vfscanf.c: Likewise.
47314 * stdlib/strfmon_l.c: Likewise.
47315 * sunrpc/openchild.c: Likewise.
47316 * sunrpc/xdr_stdio.c: Likewise.
47317 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47318 * sysdeps/mach/hurd/tmpfile.c: Likewise.
47320 2012-05-24 Roland McGrath <roland@hack.frob.com>
47322 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47324 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47325 in the third column, to generate for the shared library an IFUNC
47326 that uses _dl_vdso_vsym.
47327 * Makerules (COMPILE.c, compile-stdin.c): New variables.
47328 * Makeconfig (object-suffixes-noshared): New variable.
47330 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47331 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47332 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47333 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47336 * include/sys/time.h (__gettimeofday): Remove macro.
47337 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47338 * time/gettimeofday.c (__gettimeofday): Remove #undef.
47340 (__gettimeofday): Add libc_hidden_def.
47341 (gettimeofday): Add libc_hidden_weak.
47342 * sysdeps/mach/gettimeofday.c: Likewise.
47343 * sysdeps/posix/gettimeofday.c: Likewise.
47344 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47345 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47346 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47347 (__gettimeofday_internal): Remove strong_alias.
47348 (__gettimeofday): Add libc_hidden_def.
47349 (gettimeofday): Add libc_hidden_weak.
47350 * sysdeps/unix/syscalls.list (gettimeofday):
47351 Remove __gettimeofday_internal alias.
47353 2012-05-24 Daniel Jacobowitz <drow@false.org>
47354 H.J. Lu <hongjiu.lu@intel.com>
47357 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47358 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47359 (largebin_index_32_big): New.
47360 (largebin_index): Use it for 16-byte alignment.
47361 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
47362 correction with front_misalign.
47364 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
47366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47392 * scripts/data/c++-types-x32-linux-gnu.data: New file.
47393 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47395 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47399 * math/libm-test.inc (exp_test): Add test from bug 14036.
47400 (pow_test): Add test from bug 10846.
47402 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47404 (special_function): Do not include flags in test name.
47405 (parse_args): Likewise.
47406 * sysdeps/i386/fpu/libm-test-ulps: Update.
47407 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47408 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47409 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47412 * math/gen-libm-test.pl (%beautify): Add entries for underflow
47414 * math/libm-test.inc ("Philosophy"): Update comment about
47416 (UNDERFLOW_EXCEPTION): New macro.
47417 (UNDERFLOW_EXCEPTION_OK): Likewise.
47418 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47419 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47420 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47421 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47422 (INVALID_EXCEPTION_OK): Update value.
47423 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47424 (OVERFLOW_EXCEPTION_OK): Likewise.
47425 (IGNORE_ZERO_INF_SIGN): Likewise.
47426 (test_exceptions): Handle underflow exceptions.
47427 (acos_test): Update for underflow exception expectations.
47428 (cexp_test): Likewise.
47429 (clog_test): Likewise.
47430 (clog10_test): Likewise.
47431 (csqrt_test): Likewise.
47432 (ctan_test): Likewise.
47433 (ctanh_test): Likewise.
47434 (exp_test): Likewise.
47435 (exp10_test): Likewise.
47436 (exp2_test): Likewise.
47437 (expm1_test): Likewise.
47438 (fma_test): Likewise.
47439 (j0_test): Likewise.
47440 (jn_test): Likewise.
47441 (nexttoward_test): Likewise.
47442 (pow_test): Likewise.
47443 (scalbn_test): Likewise.
47444 (scalbln_test): Likewise.
47445 (tan_test): Likewise.
47446 (y1_test): Likewise.
47447 * sysdeps/i386/fpu/libm-test-ulps: Update.
47448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47450 2012-05-23 David S. Miller <davem@davemloft.net>
47452 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47453 (__libc_sigaction): Remove unused local variables.
47455 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47457 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47459 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
47461 mktime: avoid signed integer overflow
47462 * time/mktime.c (__mktime_internal): Do not mishandle the case
47463 where diff == INT_MIN.
47465 mktime: simplify computation of average
47466 * time/mktime.c (ranged_convert): Use new time_t_avg function
47467 instead of rolling our own (probably-slower) code.
47469 mktime: do not assume signed right shift propagates sign bit
47470 * time/mktime.c (isdst_differ): New static function.
47471 (__mktime_internal): No need to normalize tm_isdst now.
47472 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47475 mktime: merge another wrapv change from gnulib
47476 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47477 from some compilers.
47479 mktime: remove incorrect attempt at unusual arithmetics
47480 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47481 The code didn't really work on such machines anyway.
47482 (TYPE_MINIMUM): Assume two's complement.
47483 (twos_complement_arithmetic): Verify that long_int and time_t
47484 are two's complement (or unsigned, in the latter case).
47486 mktime: check signed shifts on long_int and time_t, too
47487 * time/mktime.c (SHR): Check that shifts work as desired
47488 on the types long_int and time_t too, as SHR is used on
47491 mktime: do not assume 'long' is wide enough
47492 * time/mktime.c (verify): Move decl up.
47493 (long_int): New type.
47494 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47495 to remove assumption in the code that 'long' is wide enough to
47496 store year values. This assumption is not true on x32 and on
47497 some non-glibc platforms.
47499 mktime: merge wrapv change from gnulib
47500 * time/mktime.c (WRAPV): New macro.
47501 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47502 (guess_time_tm, __mktime_internal): Do not assume that signed
47503 integer overflow wraps around; modern compilers generate code
47504 where this assumption is no longer valid.
47506 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47508 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47509 Replace "jmp L(pseudo_end)" with "ret".
47510 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47513 2012-05-23 Andreas Jaeger <aj@suse.de>
47515 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47516 * sysdeps/unix/sysv/linux/poll.c: Remove file.
47518 2012-05-23 Andreas Jaeger <aj@suse.de>
47519 Maximilian Attems <max@stro.at>
47521 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47524 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47526 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47527 code so that pseudo_end is just ret and the stack pointer is
47528 correct also for static library in error case.
47530 2012-05-23 Joseph Myers <joseph@codesourcery.com>
47532 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47533 move to syscalls.list.
47534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47539 * manual/install.texi (Running make install): Do not mention Linux
47540 kernel version for which pt_chown is not needed.
47541 (Linux): Do not mention problems with nscd with 2.0 kernels.
47542 * INSTALL: Regenerated.
47544 2012-05-23 Andreas Jaeger <aj@suse.de>
47546 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47547 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47549 * sysdeps/unix/sysv/linux/s390/bits/mman.h
47550 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47551 * sysdeps/unix/sysv/linux/sh/bits/mman.h
47552 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47553 * sysdeps/unix/sysv/linux/i386/bits/mman.h
47554 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47555 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47556 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47557 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47558 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47559 * sysdeps/unix/sysv/linux/bits/in.h
47560 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47562 2012-05-22 Roland McGrath <roland@hack.frob.com>
47564 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47565 (PREPARE_VERSION): Just use assert instead, it will be elided
47566 under [NDEBUG] anyway.
47568 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47570 * sysdeps/unix/sysv/linux/Makefile: Include
47571 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47572 (sysdep_routines): Remove sysctl.
47573 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47574 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47575 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47576 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47577 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47579 2012-05-22 Andreas Jaeger <aj@suse.de>
47581 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47582 that pseudo_end is just ret and the stack pointer is correct also
47583 for static library in error case.
47585 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
47588 * nss/nsswitch.c (defconfig_entries): New variable.
47589 (__nss_database_lookup): Don't leak defconfig entries.
47590 (nss_parse_service_list): Don't leak on error paths.
47591 (free_database_entries): New function.
47592 (free_defconfig): New function.
47593 (free_mem): Move common code to free_database_entries.
47595 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47597 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47599 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47601 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47602 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47605 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47606 (INTERNAL_SYSCALL_TYPES): Likewise.
47607 (LOAD_ARGS_TYPES_[1-6]): Likewise.
47608 (LOAD_REGS_TYPES_[1-6]): Likewise.
47609 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47610 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47612 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47614 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47615 copysignl for GLIBC_2_0.
47616 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47617 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47618 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47619 logbl for GLIBC_2_0.
47620 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47621 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47623 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47625 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47626 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47628 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47631 * time/mktime.c: Update copyright years.
47633 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
47635 mktime: merge comment-quoting-style change from gnulib
47636 * time/mktime.c: Quote 'like this' in comments.
47637 The GNU coding standards suggest that we no longer quote `like this',
47638 as "`" and "'" are typically rendered asymmetrically nowadays.
47639 The typical gnulib style is to quote 'like this' when quoting
47640 code, and "like this" when quoting English.
47642 * time/mktime.c (compile-command): Add "-I.".
47644 mktime: merge mktime-internal.h change from gnulib
47645 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47647 mktime: merge time_r change from gnulib
47648 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47650 mktime: merge DEBUG change from gnulib
47651 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47652 case system <time.h> has a #define.
47654 mktime: merge <sys/types.h> change from gnulib
47655 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47656 since <time.t> is now guaranteed to define time_t.
47658 mktime: merge HAVE_CONFIG_H change from gnulib
47659 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47661 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47663 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47666 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47668 (struct rusage): Use anonymous union to pad each field to
47671 2012-05-21 David S. Miller <davem@davemloft.net>
47673 * Makefules (o-iterator): Remove .s cases.
47674 (compile-command.s): Delete.
47675 (COMPILE.s): Delete.
47676 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47678 2012-05-21 Joseph Myers <joseph@codesourcery.com>
47680 * configure.in (libc_cv_predef_stack_protector): Only consider
47681 "foobar" and "__stack_chk_fail" lines in libc_undefs.
47682 * configure: Regenerated.
47684 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47686 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47687 New macro. Use R*LP on int and pointer.
47688 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47689 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47690 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47691 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47693 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47694 [__WORDSIZE_TIME64_COMPAT32] instead of
47695 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47696 (struct utmp): Likewise.
47697 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47698 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47700 (__WORDSIZE_TIME64_COMPAT32): This.
47701 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47702 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47703 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47704 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47705 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47706 (__WORDSIZE_TIME64_COMPAT32): New macro.
47708 2012-05-21 Andreas Jaeger <aj@suse.de>
47710 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47711 only if [SHARED]. Add prototype for __wcschr_ia32.
47713 2012-05-21 Roland McGrath <roland@hack.frob.com>
47715 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47716 of %rbp unmolested in the jmp_buf while mangling the low bits.
47717 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47718 unmolested high bits of %rbp while demangling the low bits.
47719 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47721 2012-05-21 Andreas Jaeger <aj@suse.de>
47723 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47724 * sunrpc/svc_simple.c: Use it for registerrpc.
47725 * sunrpc/xcrypt.c: Use it for passwd2des.
47727 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47729 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47731 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47732 Don't define if [__SYSCALL_WORDSIZE != 32].
47733 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47736 2012-05-21 Bruno Haible <bruno@clisp.org>
47737 Andreas Jaeger <aj@suse.de>
47739 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47740 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47741 inptr and inend for must_buffer_ch.
47742 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47743 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47744 * stdio-common/Makefile (tests): Remove bug15.
47745 (bug15-ENV): Remove macro.
47746 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47749 2012-05-19 Andreas Jaeger <aj@suse.de>
47750 Roland McGrath <roland@hack.frob.com>
47752 * manual/contrib.texi: Completely rewritten. It contains now an
47753 alphabetical list of contributors and their contributions.
47755 2012-05-21 Richard Henderson <rth@twiddle.net>
47757 * misc/getauxval.c (__getauxval): Use unsigned long int.
47758 * misc/sys/auxv.h: Include <sys/cdefs.h>.
47759 (getauxval): Use unsigned long int.
47761 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47763 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47765 2012-05-21 Roland McGrath <roland@hack.frob.com>
47767 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47768 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47769 __alignof__ (long double).
47771 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47775 2012-05-20 Richard Henderson <rth@twiddle.net>
47777 * misc/getauxval.c: New file.
47778 * misc/sys/auxv.h: New file.
47779 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47780 (routines): Add getauxval.
47781 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47782 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47783 * elf/dl-sysdep.c (_dl_auxv): Remove.
47784 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47785 * elf/dl-support.c (_dl_auxv): New variable.
47786 (_dl_aux_init): Initialize it.
47787 * manual/startup.texi (Auxiliary Vector): New node.
47788 * sysdeps/generic/bits/hwcap.h: New file.
47789 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47790 * sysdeps/powerpc/sysdep.h: ... here. Include it.
47791 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47792 * sysdeps/sparc/sysdep.h: ... here. Include it.
47793 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47794 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47800 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47806 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47810 2012-05-19 David S. Miller <davem@davemloft.net>
47812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47814 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47817 * math/s_ccosh.c: Include <float.h>
47818 (__ccosh): Avoid internal overflow calculating sinh and cosh
47819 values before multiplying by sin and cos values.
47820 * math/s_ccoshf.c: Likewise.
47821 * math/s_ccoshl.c: Likewise.
47822 * math/s_csin.c: Likewise.
47823 * math/s_csinf.c: Likewise.
47824 * math/s_csinl.c: Likewise.
47825 * math/s_csinh.c: Likewise.
47826 * math/s_csinhf.c: Likewise.
47827 * math/s_csinhl.c: Likewise.
47828 * math/libm-test.inc (ccos_test): Add more tests.
47829 (ccosh_test): Likewise.
47830 (csin_test): Likewise.
47831 (csinh_test): Likewise.
47832 * sysdeps/i386/fpu/libm-test-ulps: Update.
47833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47835 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
47837 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47838 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47840 * sysdeps/x86_64/x32/_itoa.h: Add comment.
47842 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47844 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47845 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47846 * sysdeps/powerpc/soft-fp/Versions: Likewise.
47847 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47848 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47849 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47850 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47851 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47852 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47853 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47854 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47855 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47856 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47857 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47858 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47859 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47860 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47861 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47862 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47863 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47864 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47865 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47866 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47867 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47868 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47869 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47870 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47871 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47872 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47873 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47874 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47876 2012-05-18 Andreas Jaeger <aj@suse.de>
47878 * csu/.gitignore: Delete.
47880 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47882 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47883 (timex): Use __syscall_slong_t.
47885 2012-05-18 Andreas Jaeger <aj@suse.de>
47886 Carlos O'Donell <carlos_odonell@mentor.com>
47888 * manual/install.texi (Configuring and compiling): Update
47889 description about files modified in the source directory.
47890 * INSTALL: Regenerated.
47892 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47894 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47895 value. Use "or" to set return value to -1.
47896 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47897 negate return value.
47899 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47901 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47902 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47903 failure if the compiler has Graphite support disabled.
47904 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47906 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47907 (CFLAGS-memmove.c): Likewise.
47908 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47911 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47913 * sysdeps/x86_64/x32/_itoa.h: New file.
47915 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47916 getdents system call only if kernel and user dirents have the
47917 same d_ino and d_off.
47919 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47920 LLONG_MAX != LONG_MAX.
47921 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47922 (_fitoa_word): Likewise.
47924 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47926 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47927 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47928 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47930 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47931 include <bits/wordsize.h>. Check __x86_64__ instead of
47933 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47934 if __x86_64__ is defined. Use anonymous union on fpstate.
47936 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47939 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
47941 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47942 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47943 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47944 Refer to _rtld_local_ro instead of _rtld_global_ro.
47945 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47947 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47949 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47951 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47952 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47953 of _rtld_global, and rtld_progname instead of _dl_argv[0].
47955 * sysdeps/powerpc/powerpc32/dl-machine.c
47956 (__elf_machine_runtime_setup) [PROF]: Don't reference
47959 2012-05-18 Andreas Jaeger <aj@suse.de>
47961 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47962 function only available for GCCs before 3.4 since GCC 3.4
47963 introduced a builtin.
47965 (llrintf): Likewise.
47966 (llrint): Likewise.
47973 (nearbyint): Likewise.
47974 (nearbyintf): Likewise.
47978 (floorf): Likewise.
47980 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47982 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47983 on both fields and cast pointer to __syscall_ulong_t.
47985 * bits/types.h (__fsword_t): New type.
47986 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47987 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47988 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47989 (__FSWORD_T_TYPE): Likewise.
47990 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47991 (__FSWORD_T_TYPE): Likewise.
47992 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47993 (__FSWORD_T_TYPE): Likewise.
47994 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47995 (__FSWORD_T_TYPE): Likewise.
47996 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47997 __SWORD_TYPE with __fsword_t.
47998 (statfs64): Likewise.
48000 2012-05-17 David S. Miller <davem@davemloft.net>
48002 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
48004 2012-05-17 Andreas Jaeger <aj@suse.de>
48006 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
48009 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48011 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
48013 2012-05-17 Andreas Jaeger <aj@suse.de>
48015 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
48018 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
48020 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
48022 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
48024 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
48025 * sysdeps/x86_64/tst-mallocalign1.c: New file.
48027 2012-05-17 Andreas Jaeger <aj@suse.de>
48028 Carlos O'Donell <carlos_odonell@mentor.com>
48031 * sysdeps/x86_64/multiarch/init-arch.h
48032 (bit_YMM_Usable): Rename to...
48033 (bit_AVX_Usable): ... this.
48034 (bit_FMA4_Usable): New macro.
48035 (bit_XMM_state): New macro.
48036 (bit_YMM_state): New macro.
48037 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
48038 [__ASSEMBLER__] (index_AVX_Usable): ... this.
48039 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
48040 (CPUID_OSXSAVE): New macro.
48041 (CPUID_AVX): New macro.
48042 (CPUID_FMA4): New macro.
48043 (index_YMM_Usable): Rename to...
48044 (index_AVX_Usable): ... this.
48045 (HAS_AVX): Use HAS_ARCH_FEATURE.
48046 (HAS_FMA4): Likewise.
48047 (HAS_YMM_USABLE): Remove.
48048 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48049 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
48051 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
48052 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
48053 * sysdeps/x86_64/multiarch/Makefile: Likewise.
48054 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
48055 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
48057 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
48059 * math/libm-test.c: Support platforms without multiple rounding modes.
48060 * math/bug-nextafter.c: Support platforms without FP exceptions.
48061 * math/bug-nexttoward.c: Likewise.
48062 * math/test-fenv.c: Likewise.
48063 * math/test-misc.c: Likewise.
48064 * stdlib/bug-getcontext.c: Likewise.
48066 2012-05-17 Andreas Jaeger <aj@suse.de>
48068 * manual/examples/search.c (critter_cmp): Change signature to
48070 * manual/string.texi (Collation Functions): Likewise.
48072 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48074 * bits/types.h: Fold copyright years.
48075 * bits/typesizes.h: Likewise.
48076 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
48077 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48078 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
48079 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
48080 * time/time.h: Likewise.
48082 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
48085 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
48086 in instead of returning them. Return void.
48087 (__libc_mallinfo): Accumulate over all arenas.
48088 (__malloc_stats): Adjust for change in int_mallinfo interface.
48090 2012-05-16 Roland McGrath <roland@hack.frob.com>
48093 * configure.in (NM): Add AC_CHECK_TOOL for it.
48094 (libc_extra_cflags): New substituted variable.
48095 Check for -fstack-protector being used implicitly.
48096 * configure: Regenerated.
48097 * config.make.in (config-extra-cflags): New variable,
48098 gets @libc_extra_cflags@.
48099 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48102 * configure.in: Check for _FORTIFY_SOURCE being predefined.
48103 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48104 * configure: Regenerated.
48105 * config.make.in (CPPUNDEFS): New substituted variable.
48106 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48107 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48108 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48110 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48112 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48113 (mq_attr): Use __syscall_slong_t.
48115 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48117 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48118 Check __x86_64__ instead of __WORDSIZE.
48119 (_STAT_VER_LINUX): Likewise.
48120 (stat): Check __x86_64__ instead of __WORDSIZE. Use
48121 __syscall_ulong_t and __syscall_slong_t.
48122 (stat64): Likewise.
48124 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48126 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48128 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48130 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48132 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48134 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48137 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48138 include <bits/wordsize.h>. Check __x86_64__ instead of
48140 (greg_t): Use "__extension__ long long int" if __x86_64__ is
48142 (mcontext_t): Replace "unsigned long" with "unsigned long long".
48144 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48145 include <bits/wordsize.h>. Check __x86_64__ instead of
48147 (user_regs_struct): Use "__extension__ unsigned long long"
48148 instead of "unsigned long" if __x86_64__ is defined.
48149 (user): Likewise. Pad after pointer field if __ILP32__ is
48152 2012-05-16 Joseph Myers <joseph@codesourcery.com>
48154 * configure.in (makeinfo): Require version 4.5 or later. Allow
48156 * configure: Regenerated.
48157 * manual/install.texi (texinfo): Increase version requirement to
48159 * INSTALL: Regenerated.
48161 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48163 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48165 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48167 * sysdeps/x86_64/x32/ffs.c: New file.
48169 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48171 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48172 defined. Use __syscall_ulong_t.
48173 (shminfo): Use __syscall_ulong_t.
48174 (shm_info): Likewise.
48176 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48179 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48181 (msgqnum_t): Use __syscall_ulong_t.
48182 (msglen_t): Likewise.
48183 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
48186 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48187 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48189 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48191 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48192 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48194 * sysvipc/sys/msg.h (msgbuf): Replace long int with
48197 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48198 include <bits/wordsize.h>. Check __x86_64__ instead of
48201 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48202 "unsigned long long int" if __x86_64__ is defined.
48203 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48205 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48206 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48207 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48209 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48211 (GET_PC): Cast to uintptr_t first.
48212 (GET_FRAME): Likewise.
48213 (GET_STACK): Likewise.
48215 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48216 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48217 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48218 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48219 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48220 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48221 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48222 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48223 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48224 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48225 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48226 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48227 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48228 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48229 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48230 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48231 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48232 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48233 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48234 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48235 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48236 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48237 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48238 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48239 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48240 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48241 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48242 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48243 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48245 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
48247 * Makerules (+depfiles): Also collect depfiles from .oS in
48249 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48250 .oS, $(libnldbl-routines)).
48252 * Makerules (native-compile-mkdep-flags): Define.
48253 * sunrpc/Makefile (extra-objs): Add $(addprefix
48254 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48255 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48256 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
48257 calling $(make-target-directory).
48259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48261 * bits/types.h (__snseconds_t): Removed.
48262 * time/time.h (struct timespec): Replace __snseconds_t with
48264 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48265 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48267 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48268 (__SNSECONDS_T_TYPE): Likewise.
48269 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48270 (__SNSECONDS_T_TYPE): Likewise.
48271 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48272 (__SNSECONDS_T_TYPE): Likewise.
48274 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48276 * sysdeps/mach/hurd/bits/typesizes.h
48277 (__SYSCALL_SLONG_TYPE): New macro.
48278 (__SYSCALL_ULONG_TYPE): Likewise.
48280 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48282 * bits/types.h (__syscall_slong_t): New type.
48283 (__syscall_ulong_t): Likewise.
48285 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48286 (__SYSCALL_ULONG_TYPE): Likewise.
48287 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48288 (__SYSCALL_SLONG_TYPE): Likewise.
48289 (__SYSCALL_ULONG_TYPE): Likewise.
48290 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48291 (__SYSCALL_SLONG_TYPE): Likewise.
48292 (__SYSCALL_ULONG_TYPE): Likewise.
48293 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48294 (__SYSCALL_SLONG_TYPE): Likewise.
48295 (__SYSCALL_ULONG_TYPE): Likewise.
48297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48299 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48300 Add sigaltstack-offsets.sym.
48301 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48302 <sigaltstack-offsets.h>.
48303 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
48304 longjmp_msg pointer.
48305 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
48306 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48308 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48310 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48312 * elf/stackguard-macros.h: Remove file.
48313 * sysdeps/generic/stackguard-macros.h: New file.
48314 * sysdeps/i386/stackguard-macros.h: Likewise.
48315 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48316 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48317 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48318 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48319 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48320 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48321 * sysdeps/x86_64/stackguard-macros.h: Likewise.
48322 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48323 <elf/stackguard-macros.h>.
48326 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48327 __aligned__ in attribute.
48328 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48329 (gregset_t): Likewise.
48331 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48333 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48334 * sysdeps/x86_64/64/Implies-after: Here. New file.
48335 * sysdeps/x86_64/x32/Implies-after: New file.
48337 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48339 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48340 and access return value for _dl_profile_fixup. Use R10_LP to
48343 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48345 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48347 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48349 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48350 * sysdeps/x86_64/x32/sysdep.h: New file.
48352 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48354 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48355 * sysdeps/x86_64/setjmp.S: Likewise.
48357 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48359 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48360 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48361 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48362 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48363 remove unused global constant.
48365 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
48367 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48368 include of <not-cancel.h>.
48370 2012-05-15 Roland McGrath <roland@hack.frob.com>
48372 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48374 2012-05-15 Jeff Law <law@redhat.com>
48375 Andreas Jaeger <aj@suse.de>
48378 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48380 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48381 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48382 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48383 code changing __hst_map_handle.map.
48385 2012-05-15 Roland McGrath <roland@hack.frob.com>
48387 * configure.in (sysnames): Look for Implies-before and Implies-after
48389 * configure: Regenerated.
48391 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48393 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48394 8-byte data alignment with LP_SIZE alignment.
48396 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48398 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48401 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48403 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48407 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48408 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48409 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48411 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48415 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48416 (stackinfo_sub_sp): Likewise.
48418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48420 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48423 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48425 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48430 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48435 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48437 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48439 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48440 into R11_LP and load __x86_64_shared_cache_size_half into
48443 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48445 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48448 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48452 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48454 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48456 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48457 powerpc32/power7/fpu/s_logb.c via #include.
48458 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48459 powerpc32/power7/fpu/s_logbf.c via #include.
48460 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48461 powerpc32/power7/fpu/s_logbl.c via #include.
48463 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48465 * README.libm: Remove file.
48467 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48469 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48470 count for x32. Use R*_LP and omit operand-size suffix.
48472 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48474 * shlib-versions: Move x86_64-.*-linux.* entries to ...
48475 * sysdeps/x86_64/64/shlib-versions: Here. New file.
48476 * sysdeps/x86_64/x32/shlib-versions: New file.
48478 2012-05-14 Roland McGrath <roland@hack.frob.com>
48480 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48481 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48482 Use _dl_fatal_printf instead.
48484 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48486 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48487 set if not set by the user. Do not allow for being unset.
48488 * sysdeps/unix/sysv/linux/configure: Regenerated.
48490 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48492 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48493 the `q' suffix from lea and replace .quad with ASM_ADDR.
48495 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48497 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48498 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
48500 (PTR_DEMANGLE): Likewise.
48502 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48504 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48506 (ASM_ADDR): Likewise.
48507 (RAX_LP): Likewise.
48508 (RBP_LP): Likewise.
48509 (RBX_LP): Likewise.
48510 (RCX_LP): Likewise.
48511 (RDI_LP): Likewise.
48512 (RSI_LP): Likewise.
48513 (RSP_LP): Likewise.
48516 (R10_LP): Likewise.
48517 (R10_LP): Likewise.
48518 (R11_LP): Likewise.
48519 (R12_LP): Likewise.
48520 (R13_LP): Likewise.
48521 (R14_LP): Likewise.
48522 (R15_LP): Likewise.
48524 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48526 * sysdeps/x86_64/x32/dl-machine.h: New file.
48528 2012-05-14 Andreas Jaeger <aj@suse.de>
48530 * manual/Makefile (subdir): Remove export of subdir.
48531 (all): Remove target.
48532 (.PHONY): Remove all from list.
48533 (mkinstalldirs): Remove.
48534 (.PHONY): Remove installdirs from list.
48535 ($(inst_infodir)/libc.info): Use make-target-directory.
48536 (installdirs): Remove.
48537 (subdir_%): Remove.
48538 (glibc-targets): Remove.
48541 ($(objpfx)stubs ../po/manual.pot): Remove.
48542 ($(objpfx)stamp%): Remove.
48543 (make-target-directory): Remove.
48544 (subdir_install): Remove.
48545 (routines): Remove.
48552 * manual/.gitignore: Remove, it's not needed anymore.
48553 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48555 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48557 (texis): Renamed to $(objpfx)texis.
48558 (texis-path): New, contains path to generated files.
48559 (chapters.%): Use texis-path for complete path, add extra argument
48561 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48562 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48563 (summary,texi, stamp-summary): Use complete path of
48564 files. Generate files in build dir.
48565 (dir-add.texi): Build in build dir.
48566 (libm-err.texi,stamp-libm-err): Likewise.
48567 (version.texi, stamp-version): Likewise.
48568 (.%c.texi): Likewise.
48569 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48570 (mostlyclean): Remove target.
48571 (realclean): Remove target.
48572 (generated): Add new variable with contents from mostlyclean and
48573 realclean, remove entries duplicated in common-mostlyclean, add
48574 stamp-libm-err and stamp-version.
48575 (generated-dirs): Add libc directory.
48576 ($(inst_infodir)/libc.info): Install files from build dir.
48578 * manual/install.texi (Configuring and compiling): Adjust since
48579 the info files are not part of the tar ball anymore.
48581 2012-05-14 Andreas Jaeger <aj@suse.de>
48583 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48586 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48589 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48590 to 2.2.0 where earlier.
48591 * sysdeps/unix/sysv/linux/configure: Regenerated.
48592 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48593 Remove conditional code.
48594 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48595 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48596 Remove conditional code.
48597 [!__NR_lchown]: Likewise.
48598 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48599 [__NR_lchown]: Likewise.
48600 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48601 comment referencing __ASSUME_LCHOWN_SYSCALL.
48602 * sysdeps/unix/sysv/linux/i386/sigaction.c
48603 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48604 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48605 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48606 Remove conditional code.
48607 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48608 (__protocol_available): Remove #if 0 code.
48609 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48611 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48612 * sysdeps/unix/sysv/linux/kernel-features.h
48613 (__ASSUME_GETCWD_SYSCALL): Don't define.
48614 (__ASSUME_REALTIME_SIGNALS): Likewise.
48615 (__ASSUME_PREAD_SYSCALL): Likewise.
48616 (__ASSUME_PWRITE_SYSCALL): Likewise.
48617 (__ASSUME_POLL_SYSCALL): Likewise.
48618 (__ASSUME_LCHOWN_SYSCALL): Likewise.
48619 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48621 (__ASSUME_SIOCGIFNAME): Don't define.
48622 (__ASSUME_MSG_NOSIGNAL): Likewise.
48623 (__ASSUME_SENDFILE): Define unconditionally.
48624 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48625 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48627 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48628 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48629 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48630 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48631 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48632 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48633 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48635 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48636 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48638 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48639 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48641 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48644 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48645 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48647 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48650 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48651 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48653 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48656 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48657 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48658 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48659 Remove conditional code.
48660 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48661 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48662 Remove conditional code.
48663 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48664 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48665 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48666 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48667 Remove conditional code.
48668 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48669 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48670 Remove conditional code.
48671 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48672 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48673 Remove conditional code.
48674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48675 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48676 Remove conditional code.
48677 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48678 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48679 Remove conditional code.
48680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48681 * sysdeps/unix/sysv/linux/sh/pwrite64.c
48682 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48684 * sysdeps/unix/sysv/linux/sigaction.c
48685 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48686 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48687 * sysdeps/unix/sysv/linux/sigpending.c
48688 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48689 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48690 * sysdeps/unix/sysv/linux/sigprocmask.c
48691 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48692 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48693 * sysdeps/unix/sysv/linux/sigsuspend.c
48694 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48695 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48696 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48697 (__libc_missing_rt_sigs): Remove.
48698 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48699 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48700 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48701 Remove conditional code.
48702 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48703 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48705 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48706 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48707 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48708 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48710 2012-05-14 Andreas Jaeger <aj@suse.de>
48712 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48713 it's not used in glibc.
48714 (__coshm1): Likewise.
48715 (__acosh1p): Likewise.
48718 * manual/string.texi (Copying and Concatenation): Add missing
48719 variable in concat example.
48720 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48722 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48725 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48726 __builtin_clzl with __builtin_clzll.
48728 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48731 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48734 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48736 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48737 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48738 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48739 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48741 2012-05-14 Mike Frysinger <vapier@gentoo.org>
48743 * NEWS: Update ia64 info.
48745 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
48747 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48750 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
48752 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48753 * sysdeps/unix/syscalls.list (dup3): Likewise.
48754 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48755 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48757 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48759 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48760 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48762 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48764 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48766 (TLS_IE): Use mov/add instead of movq/addq to load thread
48768 (TLS_GD_PREFIX): New.
48771 2012-05-11 David S. Miller <davem@davemloft.net>
48773 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48774 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48775 (_FPU_SETCW): Likewise.
48777 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48779 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48780 is 32-byte aligned.
48782 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
48785 * iconvdata/gb18030.c: Update tables.
48786 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
48787 characters specially.
48788 (BODY for TO_LOOP): Add encoding of missing ranges.
48790 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
48793 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48794 * sysdeps/mach/hurd/dup3.c: Likewise.
48795 * sysdeps/mach/hurd/readlinkat.c: Likewise.
48796 * sysdeps/powerpc/memmove.c:: Likewise.
48798 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48800 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48801 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48803 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48805 * elf/elf.h (R_X86_64_RELATIVE64): New.
48806 (R_X86_64_NUM): Updated.
48807 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48808 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
48809 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48810 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48811 tst-quad1pie tst-quad2pie
48812 (modules-names): Add tst-quadmod1 tst-quadmod2.
48813 ($(objpfx)tst-quad1): New dependency.
48814 ($(objpfx)tst-quad2): Likewise.
48815 ($(objpfx)tst-quad1pie): Likewise.
48816 ($(objpfx)tst-quad2pie): Likewise.
48817 * sysdeps/x86_64/tst-quad1.c: New file.
48818 * sysdeps/x86_64/tst-quad1pie.c: New file.
48819 * sysdeps/x86_64/tst-quad2.c: Likewise.
48820 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48821 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48822 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48823 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48824 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48826 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48828 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48829 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48830 * streams/stropts.h (t_scalar_t): Define type.
48832 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48833 (_PATH_PRESERVE): Set to "/var/lib".
48834 (_PATH_RWHODIR): Set to "/var/spool/rwho".
48836 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48839 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48840 if __dir_mkfile succeeded.
48842 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48843 checking for _hurd_dtablesize. Unlock it right after having
48844 finished _hurd_dtable allocation.
48846 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48848 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48849 * sysdeps/mach/hurd/configure: Regenerated.
48850 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48851 special-casing to...
48852 * sysdeps/gnu/configure.in: ... this new file.
48853 * sysdeps/unix/sysv/linux/configure: Regenerated.
48854 * sysdeps/gnu/configure: New generated file.
48856 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48857 for Linux: use nsec instead of usec, as well as:
48858 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48859 members of type struct timespec.
48860 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48862 (struct stat64): Likewise.
48863 (_STATBUF_ST_NSEC): New macro.
48864 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48866 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48867 __strtoul_internal rather than strtoul.
48869 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48871 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48874 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48876 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48877 which preserves existing values.
48878 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48880 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48882 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48883 TIMEOUT values. Return EINVAL for NFDS values either negative or
48884 greater than FD_SETSIZE.
48886 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48888 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48889 allocated, call __vm_protect to finish enabling the existing space, and
48890 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48891 allocate the remainder.
48893 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48895 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48896 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
48898 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48900 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48901 sysdeps/mach/hurd/readlink.c.
48903 * posix/tst-sysconf.c (posix_options): Only use
48904 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48905 _POSIX_SYNCHRONIZED_IO when they are defined
48906 * sysdeps/mach/hurd/bits/posix_opt.h:
48907 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48908 (_XOPEN_REALTIME): Undefine macro.
48909 (_XOPEN_REALTIME_THREADS): Undefine macro.
48910 (_XOPEN_SHM): Undefine macro.
48911 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48913 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48915 (_POSIX_ASYNC_IO): Undefine macro.
48916 (_POSIX_PRIORITIZED_IO): Undefine macro.
48917 (_POSIX_SPIN_LOCKS): Define macro to -1.
48919 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48920 SA_NODEFER, SA_RESETHAND.
48921 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48922 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48925 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48927 * elf/Makefile (pldd-modules): Define unconditionally.
48929 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48931 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48933 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48935 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48936 Return ENOENT when name is empty.
48937 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48939 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48941 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48943 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48945 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48947 Fix mlock in all cases except non-readable pages.
48948 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48949 instead of VM_PROT_ALL as parameter to __vm_wire function.
48951 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48952 (__mkdir): When path is `/', just fail with EEXIST.
48953 * sysdeps/mach/hurd/mkdirat.c: Likewise.
48955 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48957 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48958 <sys/uio.h> (for writev).
48959 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48960 and <sys/param.h> (for MIN).
48962 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48964 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48965 REQUESTED_TIME. Properly set the remaining time and return EINTR
48968 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48970 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48971 Depend on against $(link-rpcuserlibs).
48973 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48975 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48976 (__libc_stack_end): Do not use attribute_relro.
48977 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48978 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48979 to libthread-provided value.
48980 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48983 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48986 * bits/libc-lock.h (__libc_once_get): New macro.
48987 * sysdeps/mach/bits/libc-lock.h: Likewise.
48988 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48989 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48990 instead of using implementation details.
48992 * libio/fileops.c: Unconditionally include <kernel-features.h>.
48993 * libio/freopen.c: Likewise.
48994 * libio/freopen64.c: Likewise.
48995 * misc/syslog.c: Likewise.
48996 * nscd/connections.c: Likewise.
48997 * nscd/netgroupcache.c: Likewise.
48998 * sysdeps/posix/getcwd.c: Likewise.
49000 2012-05-10 Roland McGrath <roland@hack.frob.com>
49002 * math/w_ilogbf.c: Add #include <limits.h>.
49004 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49006 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
49007 path instead of returning without unlocking.
49009 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
49010 immediate-write ioctls.
49011 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
49013 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49015 * sysdeps/mach/hurd/i386/init-first.c (init): Use
49016 __builtin_frame_address instead of making assumptions about the
49017 location of the return address relative to DATA. Force early load of
49018 the return address.
49019 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
49020 __builtin_frame_address.
49023 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
49024 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
49025 implement dup3 and do some further code clean-ups.
49026 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
49027 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
49029 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49031 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
49033 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
49034 HURD_CRITICAL_END around holding _hurd_dtable_lock.
49035 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
49036 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
49037 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
49040 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
49041 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
49042 when handler == SIG_ERR, not when handler != SIG_ERR.
49044 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49046 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
49047 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
49050 accept4 for GNU Hurd.
49051 * include/sys/socket.h (__libc_accept4): New prototype.
49052 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
49053 to implement __libc_accept4.
49054 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
49056 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
49058 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
49059 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
49060 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
49061 signal-defines.sym.
49063 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49065 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
49067 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49069 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
49070 assertion on O_CLOEXEC flag.
49071 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
49072 * hurd/intern-fd.c: Likewise.
49073 * hurd/port2fd.c: Likewise.
49075 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
49078 * bits/in.h (IPV6_PKTINFO): Define new macro.
49079 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
49081 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49086 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
49087 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49088 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
49089 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49090 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49091 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49092 * math/libm-test.inc (logb_test) : Additional logb tests.
49094 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
49095 Andreas Jaeger <aj@suse.de>
49097 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49098 * configure: Regenerated.
49099 * config.h.in (LINK_OBSOLETE_RPC): New macro.
49100 * config.make.in (link-obsolete-rpc): New substituted variable.
49101 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49102 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49103 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49104 (shared-only-routines): Don't set it under [link-obsolete-rpc],
49105 so that libc.a contains the symbols.
49106 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49107 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49108 * sunrpc/auth_none.c: Likewise.
49109 * sunrpc/auth_unix.c: Likewise.
49110 * sunrpc/authdes_prot.c: Likewise.
49111 * sunrpc/authuxprot.c: Likewise.
49112 * sunrpc/clnt_gen.c: Likewise.
49113 * sunrpc/clnt_perr.c: Likewise.
49114 * sunrpc/clnt_raw.c: Likewise.
49115 * sunrpc/clnt_simp.c: Likewise.
49116 * sunrpc/clnt_tcp.c: Likewise.
49117 * sunrpc/clnt_udp.c: Likewise.
49118 * sunrpc/clnt_unix.c: Likewise.
49119 * sunrpc/des_crypt.c: Likewise.
49120 * sunrpc/des_soft.c: Likewise.
49121 * sunrpc/get_myaddr.c: Likewise.
49122 * sunrpc/key_call.c: Likewise.
49123 * sunrpc/key_prot.c: Likewise.
49124 * sunrpc/netname.c: Likewise.
49125 * sunrpc/pm_getmaps.c: Likewise.
49126 * sunrpc/pm_getport.c: Likewise.
49127 * sunrpc/pmap_clnt.c: Likewise.
49128 * sunrpc/pmap_prot.c: Likewise.
49129 * sunrpc/pmap_prot2.c: Likewise.
49130 * sunrpc/pmap_rmt.c: Likewise.
49131 * sunrpc/publickey.c: Likewise.
49132 * sunrpc/rpc_cmsg.c: Likewise.
49133 * sunrpc/rpc_common.c: Likewise.
49134 * sunrpc/rpc_dtable.c: Likewise.
49135 * sunrpc/rpc_prot.c: Likewise.
49136 * sunrpc/rpc_thread.c: Likewise.
49137 * sunrpc/rtime.c: Likewise.
49138 * sunrpc/svc.c: Likewise.
49139 * sunrpc/svc_auth.c: Likewise.
49140 * sunrpc/svc_raw.c: Likewise.
49141 * sunrpc/svc_run.c: Likewise.
49142 * sunrpc/svc_tcp.c: Likewise.
49143 * sunrpc/svc_udp.c: Likewise.
49144 * sunrpc/svc_unix.c: Likewise.
49145 * sunrpc/svcauth_des.c: Likewise.
49146 * sunrpc/xcrypt.c: Likewise.
49147 * sunrpc/xdr.c: Likewise.
49148 * sunrpc/xdr_array.c: Likewise.
49149 * sunrpc/xdr_float.c: Likewise.
49150 * sunrpc/xdr_intXX_t.c: Likewise.
49151 * sunrpc/xdr_mem.c: Likewise.
49152 * sunrpc/xdr_rec.c: Likewise.
49153 * sunrpc/xdr_ref.c: Likewise.
49154 * sunrpc/xdr_sizeof.c: Likewise.
49155 * sunrpc/xdr_stdio.c: Likewise.
49157 2012-05-10 Roland McGrath <roland@hack.frob.com>
49159 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49160 change. Update copyright years.
49162 2012-05-10 Joseph Myers <joseph@codesourcery.com>
49164 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49166 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
49167 Joseph Myers <joseph@codesourcery.com>
49168 Paul Pluzhnikov <ppluzhnikov@google.com>
49171 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49173 [cross-compiling] (extra-libs): Likewise.
49174 [cross-compiling] (extra-libs-others): Likewise.
49175 [cross-compiling] (librpcsvc-routines): Likewise.
49176 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49177 [cross-compiling] (omit-deps): Likewise.
49178 (sunrpc-CPPFLAGS): New variable.
49179 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49180 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49181 (cross-rpcgen-objs): New variable.
49182 (extra-objs): Append $(cross-rpcgen-objs).
49183 ($(cross-rpcgen-objs)): New rule.
49184 ($(objpfx)cross-rpcgen): Likewise.
49185 (rpcgen-cmd): Define to use $(built-program-file). Expand
49187 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49188 ($(objpfx)x%.stmp): Likewise.
49189 * sunrpc/proto.h [IS_IN_build] (_): Define.
49190 [IS_IN_build] (_libc_intl_domainname): Likewise.
49192 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49194 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49195 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49196 and R_X86_64_TPOFF64.
49198 2012-05-10 Joseph Myers <joseph@codesourcery.com>
49200 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49201 sysdeps/unix/sysv/syscalls.list.
49204 * sysdeps/unix/sysv/syscalls.list: Remove file.
49206 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
49209 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49210 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49211 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49212 (__LC_IDENTIFICATION): Make these macros useful in #if
49213 expressions, as required by C99.
49215 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
49217 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49218 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
49221 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
49223 * stdlib/longlong.h: Updated from GCC.
49225 2012-05-09 Andreas Jaeger <aj@suse.de>
49227 * nscd/nscd.c (run_modes): Make named enum, reorder so that
49228 default is first entry.
49229 (run_mode): Set type.
49230 (main): Remove informal message about syslog.
49231 (options): Fix typo.
49234 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49237 (llrintf): Likewise.
49238 (llrint): Likewise.
49241 (nearbyint): Likewise.
49242 (nearbyintf): Likewise.
49244 2012-05-09 Andreas Jaeger <aj@suse.de>
49245 Pedro Alves <palves@redhat.com>
49247 * nscd/nscd.c (run_mode): Use enum.
49248 (main): Cleanup coding style issue.
49250 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
49251 Andreas Jaeger <aj@suse.de>
49253 * nscd/nscd.c (go_background): Replaced with...
49254 (run_mode): ... this.
49255 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49256 (options): Add -F --foreground.
49257 (main): Implement it.
49258 (parse_opt): Parse it.
49260 2012-05-09 Andreas Jaeger <aj@suse.de>
49263 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49264 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49265 -Wconversion warning.
49266 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49269 2012-05-09 Joseph Myers <joseph@codesourcery.com>
49271 * conform/data/locale.h-data (NULL): Use macro-constant. Require
49273 (LC_ALL): Use macro-int-constant.
49274 (LC_COLLATE): Likewise.
49275 (LC_CTYPE): Likewise.
49276 (LC_MESSAGES): Likewise.
49277 (LC_MONETARY): Likewise.
49278 (LC_NUMERIC): Likewise.
49279 (LC_TIME): Likewise.
49280 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49281 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49282 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49283 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49285 [C99-based standards] (float_t): Expect type.
49286 [C99-based standards] (double_t): Expect type.
49287 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
49289 [C99-based standards] (HUGE_VALL): Likewise.
49290 [C99-based standards] (INFINITY): Likewise.
49291 [C99-based standards] (NAN): Likewise.
49292 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49293 [C99-based standards] (FP_NAN): Likewise.
49294 [C99-based standards] (FP_NORMAL): Likewise.
49295 [C99-based standards] (FP_SUBNORMAL): Likewise.
49296 [C99-based standards] (FP_ZERO): Likewise.
49297 [C99-based standards] (FP_FAST_FMA): Use
49298 optional-macro-int-constant. Specify type. Require == 1.
49299 [C99-based standards] (FP_FAST_FMAF): Likewise.
49300 [C99-based standards] (FP_FAST_FMAL): Likewise.
49301 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49302 [C99-based standards] (FP_ILOGBNAN): Likewise.
49303 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49305 [C99-based standards] (MATH_ERREXCEPT): Likewise.
49306 [C99-based standards] (math_errhandling): Specify type.
49307 [ISO99 || ISO11] (signgam): Do not allow.
49308 [non-C99-based standards] (copysignf): Do not allow.
49309 [non-C99-based standards] (exp2f): Likewise.
49310 [non-C99-based standards] (log2f): Likewise.
49311 [non-C99-based standards] (modff): Allow.
49312 [non-C99-based standards] (erff): Do not allow.
49313 [non-C99-based standards] (erfcf): Likewise.
49314 [non-C99-based standards] (gammaf): Likewise.
49315 [non-C99-based standards] (hypotf): Likewise.
49316 [non-C99-based standards] (j0f): Likewise.
49317 [non-C99-based standards] (j1f): Likewise.
49318 [non-C99-based standards] (jnf): Likewise.
49319 [non-C99-based standards] (lgammaf): Likewise.
49320 [non-C99-based standards] (tgammaf): Likewise.
49321 [non-C99-based standards] (y0f): Likewise.
49322 [non-C99-based standards] (y1f): Likewise.
49323 [non-C99-based standards] (ynf): Likewise.
49324 [non-C99-based standards] (isnanf): Likewise.
49325 [non-C99-based standards] (acoshf): Likewise.
49326 [non-C99-based standards] (asinhf): Likewise.
49327 [non-C99-based standards] (atanhf): Likewise.
49328 [non-C99-based standards] (cbrtf): Likewise.
49329 [non-C99-based standards] (expm1f): Likewise.
49330 [non-C99-based standards] (ilogbf): Likewise.
49331 [non-C99-based standards] (log1pf): Likewise.
49332 [non-C99-based standards] (logbf): Likewise.
49333 [non-C99-based standards] (nextafterf): Likewise.
49334 [non-C99-based standards] (remainderf): Likewise.
49335 [non-C99-based standards] (rintf): Likewise.
49336 [non-C99-based standards] (scalbf): Likewise.
49337 [non-C99-based standards] (copysignl): Likewise.
49338 [non-C99-based standards] (exp2l): Likewise.
49339 [non-C99-based standards] (log2l): Likewise.
49340 [non-C99-based standards] (modfl): Allow.
49341 [non-C99-based standards] (erfl): Do not allow.
49342 [non-C99-based standards] (erfcl): Likewise.
49343 [non-C99-based standards] (gammal): Likewise.
49344 [non-C99-based standards] (hypotl): Likewise.
49345 [non-C99-based standards] (j0l): Likewise.
49346 [non-C99-based standards] (j1l): Likewise.
49347 [non-C99-based standards] (jnl): Likewise.
49348 [non-C99-based standards] (lgammal): Likewise.
49349 [non-C99-based standards] (tgammal): Likewise.
49350 [non-C99-based standards] (y0l): Likewise.
49351 [non-C99-based standards] (y1l): Likewise.
49352 [non-C99-based standards] (ynl): Likewise.
49353 [non-C99-based standards] (isnanl): Likewise.
49354 [non-C99-based standards] (acoshl): Likewise.
49355 [non-C99-based standards] (asinhl): Likewise.
49356 [non-C99-based standards] (atanhl): Likewise.
49357 [non-C99-based standards] (cbrtl): Likewise.
49358 [non-C99-based standards] (expm1l): Likewise.
49359 [non-C99-based standards] (ilogbl): Likewise.
49360 [non-C99-based standards] (log1pl): Likewise.
49361 [non-C99-based standards] (logbl): Likewise.
49362 [non-C99-based standards] (nextafterl): Likewise.
49363 [non-C99-based standards] (remainderl): Likewise.
49364 [non-C99-based standards] (rintl): Likewise.
49365 [non-C99-based standards] (scalbl): Likewise.
49366 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49367 [non-C99-based standards] (FP_*): Do not allow.
49368 [C99-based standards] (FP_*): Change to
49369 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49370 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49372 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49373 (SIG_ERR): Likewise.
49374 [X/Open-based standards] (SIG_HOLD): Likewise.
49375 (SIG_IGN): Likewise.
49376 (SIGABRT): Use macro-int-constant. Specify type. Require
49378 (SIGFPE): Likewise.
49379 (SIGILL): Likewise.
49380 (SIGINT): Likewise.
49381 (SIGSEGV): Likewise.
49382 (SIGTER): Likewise.
49383 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49384 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49385 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49386 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49387 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49388 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49389 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49390 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49391 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49392 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49393 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49394 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49395 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49396 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49397 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49398 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49399 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49400 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49401 [X/Open-based standards] (SIGTRAP): Likewise.
49402 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49403 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49404 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49405 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49406 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49409 2012-05-08 Ian Wienand <ianw@vmware.com>
49412 * time/tzset.c (__tzset_parse_tz): Update default rules for
49413 daylight time changes in the Energy Policy Act of 2005.
49415 2012-05-09 Andreas Jaeger <aj@suse.de>
49418 * elf/ldconfig.c (parse_conf): Change string to make clear that
49419 ldconfig only issued a warning if ld.so.conf does not exist.
49421 2012-05-08 David S. Miller <davem@davemloft.net>
49423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49424 movxtod instead of popping the value on the stack.
49426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49428 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
49430 * config.h.in: Add HAVE_ARM_PCS_VFP.
49432 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
49435 * include/features.h: Warn if user requests __FORTIFY_SOURCE
49436 checking but the checks are disabled for any reason.
49438 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
49440 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49441 and ELF64_R_TYPE with ELFW(R_TYPE).
49443 2012-05-08 Joseph Myers <joseph@codesourcery.com>
49445 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49446 (ulimit): Likewise.
49448 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49449 (settimeofday): Likewise.
49451 2012-05-08 Mike Frysinger <vapier@gentoo.org>
49453 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
49454 a struct th_u2 inside the union, and move tu_block/tu_code into
49455 a new th_u3 union of tu_block/tu_code inside of that. Move
49456 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
49457 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
49458 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49459 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49460 (th_stuff): Change to th_u1.tu_stuff.
49462 (th_msg): Change to th_u1.th_u2.tu_data.
49464 2012-05-07 David S. Miller <davem@davemloft.net>
49466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49469 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49470 (SETUP_PIC_REG): Use it.
49471 (SETUP_PIC_REG_LEAF): Use it.
49473 2012-05-07 Joseph Myers <joseph@codesourcery.com>
49477 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49479 (EXPL_FINITE): Likewise.
49480 (FLDLOG): Likewise.
49481 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49482 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49484 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49486 (EXPL_FINITE): Likewise.
49487 (FLDLOG): Likewise.
49488 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49489 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49491 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
49492 test of -max_value argument for long double.
49493 * sysdeps/i386/fpu/libm-test-ulps: Update.
49494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49496 2012-05-06 David S. Miller <davem@davemloft.net>
49498 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49499 quad soft-float symbols whose references which are compiler
49501 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49503 2012-05-06 Joseph Myers <joseph@codesourcery.com>
49507 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49509 (EXPL_FINITE): Likewise.
49510 (FLDLOG): Likewise.
49513 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49514 Adjust comments for base varying.
49515 (__expl_finite): Change alias to EXPL_FINITE.
49516 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49518 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49519 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49520 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49521 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49522 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49524 (EXPL_FINITE): Likewise.
49525 (FLDLOG): Likewise.
49528 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49529 Adjust comments for base varying.
49530 (__expl_finite): Change alias to EXPL_FINITE.
49531 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
49533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49536 * math/libm-test.inc (check_float_internal): Correct ulp
49537 calculation for subnormal expected results.
49539 2012-05-06 Andreas Jaeger <aj@suse.de>
49541 * Makeconfig (+math-flags): New, set to -frounding-math.
49542 (+cflags): Add +math-flags so that all of glibc gets compiled with
49545 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49547 2012-05-05 Joseph Myers <joseph@codesourcery.com>
49549 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49555 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49556 (__ieee754_expl): Allow for and saturate large arguments.
49557 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49558 (u_threshold): Likewise.
49559 (__exp): Call __ieee754_exp before checking for overflow and
49561 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49562 (u_threshold): Likewise.
49563 (__expf): Call __ieee754_expf before checking for overflow and
49565 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49566 (u_threshold): Likewise.
49567 (__expl): Call __ieee754_expl before checking for overflow and
49569 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49570 (__ieee754_expl): Allow for and saturate large arguments.
49571 * math/libm-test.inc (exp_test): Add another test. Do not allow
49572 missing overflow exception on overflow.
49573 (expm1_test): Do not allow missing overflow exception on overflow.
49575 * sysdeps/i386/fpu/e_expl.c: Move to ...
49576 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
49577 rather than using inline asm.
49578 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49579 * sysdeps/x86_64/fpu/e_expl.S: Copy from
49580 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49582 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49585 (signal): Likewise.
49589 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49591 * sysdeps/unix/syscalls.list (adjtime): Add entry from
49592 sysdeps/unix/common/syscalls.list.
49593 (fchmod): Likewise.
49594 (fchown): Likewise.
49595 (ftruncate): Likewise.
49596 (getrusage): Likewise.
49597 (gettimeofday): Likewise.
49598 (setpgid): Likewise.
49599 (setregid): Likewise.
49600 (setreuid): Likewise.
49601 (sigaction): Likewise.
49602 (truncate): Likewise.
49603 (vhangup): Likewise.
49604 * sysdeps/unix/common/syscalls.list: Remove file.
49605 * sysdeps/unix/bsd/Implies: Don't include unix/common.
49606 * sysdeps/unix/sysv/linux/Implies: Likewise.
49608 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
49610 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49612 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49616 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49619 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49622 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49625 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49628 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49631 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49634 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49638 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49642 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49645 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49649 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49653 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49655 * sysdeps/unix/common/bits/dirent.h: Remove file.
49656 * sysdeps/unix/common/bits/fcntl.h: Likewise.
49658 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49659 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49660 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49661 * sysdeps/unix/bsd/isatty.c: Likewise.
49662 * sysdeps/unix/bsd/tcdrain.c: Likewise.
49663 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49664 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49666 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49669 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49670 long double comparison inaccuracies.
49671 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49674 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
49676 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49677 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49679 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49682 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49683 nonzero digits before rounding a hex value.
49684 * stdlib/tst-strtod.c (tests): Add another test.
49686 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49688 * sysdeps/s390/fpu/libm-test-ulps: Update.
49690 2012-05-03 Andreas Jaeger <aj@suse.de>
49692 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49693 does not get optimized out.
49694 (malloc_opt_barrier): New.
49696 2012-05-03 Andreas Jaeger <aj@suse.de>
49697 Roland McGrath <roland@hack.frob.com>
49699 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49700 intermediate file deletion.
49701 (generated): Add .symlist files.
49703 2012-05-03 Joseph Myers <joseph@codesourcery.com>
49706 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49707 Redirect under this condition.
49708 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49709 [__USE_GNU] (__dprintf_chk): Not under this condition.
49710 [__USE_GNU] (__vdprintf_chk): Likewise.
49711 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49712 under this condition.
49713 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49714 [__USE_XOPEN2K8] (dprintf): Define under this condition.
49715 [__USE_XOPEN2K8] (vdprintf): Likewise.
49716 [__USE_GNU] (__dprintf_chk): Not under this condition.
49717 [__USE_GNU] (__vdprintf_chk): Likewise.
49718 [__USE_GNU] (dprintf): Likewise.
49719 [__USE_GNU] (vdprintf): Likewise.
49721 2012-05-03 Roland McGrath <roland@hack.frob.com>
49723 * elf/Makefile (common-generated): Set this instead of generated for
49724 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
49725 $(all-built-dso)-derived lists.
49727 2012-05-03 Andreas Jaeger <aj@suse.de>
49729 * sysdeps/i386/fpu/libm-test-ulps: Update.
49732 * FAQ.in: Likewise.
49733 * scripts/gen-FAQ.pl: Likewise.
49734 * manual/install.texi (Installation): Point to online location of
49736 * Makefile (files-for-dist): Remove FAQ.
49739 2012-05-02 Allan McRae <allan@archlinux.org>
49741 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49742 (LDFLAGS-reldepmod5.so): Likewise.
49743 (LDFLAGS-reldep6mod1.so): Likewise.
49744 (LDFLAGS-reldep6mod4.so): Likewise.
49745 (LDFLAGS-reldep8mod3.so): Likewise.
49746 (LDFLAGS-unload4mod1.so): Likewise.
49747 (LDFLAGS-unload4mod2.so): Likewise.
49748 (LDFLAGS-tst-initorder): Likewise.
49749 (LDFLAGS-tst-initordera2.so): Likewise.
49750 (LDFLAGS-tst-initordera3.so): Likewise.
49751 (LDFLAGS-tst-initordera4.so): Likewise.
49752 (LDFLAGS-tst-initorderb2.so): Likewise.
49753 (LDFLAGS-noload): Likewise.
49754 (LDFLAGS-next): Likewise.
49755 (LDFLAGS-order2mod1.so): Likewise.
49756 (LDFLAGS-order2mod2.so): Likewise.
49757 (LDFLAGS-tst-initorder2): Likewise.
49758 (LDFLAGS-tst-initorder2a.so): Likewise.
49759 (LDFLAGS-tst-initorder2b.so): Likewise.
49760 (LDFLAGS-tst-initorder2c.so): Likewise.
49761 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49763 2012-05-02 David S. Miller <davem@davemloft.net>
49765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49767 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
49770 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49772 2012-05-02 Andreas Jaeger <aj@suse.de>
49774 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49775 since we manipulate rounding mode.
49776 (CPPFLAGS-test-idouble.c): Likewise.
49777 (CPPFLAGS-test-ifloat.c): Likewise.
49778 (CFLAGS-test-ldouble.c): Likewise.
49779 (CFLAGS-test-double.c): Likewise.
49780 (CFLAGS-test-float.c): Likewise.
49781 (CFLAGS-test-misc.c): Likewise.
49782 (CFLAGS-test-test-fenv.c): Likewise.
49784 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49788 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49789 comparisons to determine direction to adjust input.
49791 2012-05-01 Roland McGrath <roland@hack.frob.com>
49793 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49794 output to the target.
49796 * scripts/localplt.awk: New file.
49797 * elf/Makefile ($(objpfx)check-localplt): Target removed.
49798 (check-localplt-CFLAGS): Variable removed.
49799 ($(all-built-dso:=.jmprel)): New static pattern rule.
49800 (generated): Add those targets.
49801 (localplt-built-dso): New variable.
49802 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49804 * elf/check-localplt.c: File removed.
49806 * scripts/check-execstack.awk: New file.
49807 * elf/Makefile ($(objpfx)check-execstack): Target removed.
49808 (check-execstack-CFLAGS): Variable removed.
49809 ($(objpfx)check-execstack.h): Target removed.
49810 ($(objpfx)execstack-default): New target.
49811 (generated): Add that instead of check-execstack.h.
49812 ($(all-built-dso:=.phdr)): New static pattern rule.
49813 (generated): Add those targets.
49814 * elf/check-execstack.c: File removed.
49816 * scripts/check-textrel.awk: New file.
49817 * elf/Makefile ($(objpfx)check-textrel): Target removed.
49818 (check-textrel-CFLAGS): Variable removed.
49819 (all-built-dso): Use := to define.o
49820 ($(all-built-dso:=.dyn)): New static pattern rule.
49821 (generated): Add those targets.
49822 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49823 * config.make.in (READELF): New substituted variable.
49824 * elf/check-textrel.c: File removed.
49826 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49828 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49830 * conform/data/ctype.h-data [C99-based standards] (isblank):
49832 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49833 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49834 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49835 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49836 Specify type. Require positive value.
49837 (EILSEQ): Likewise.
49838 (ERANGE): Likewise.
49839 [ISO || POSIX] (EILSEQ): Do not expect.
49840 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49841 Specify type. Require positive value.
49842 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49843 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49844 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49845 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49846 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49847 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49848 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49849 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49850 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49851 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49852 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49853 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49854 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49855 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49856 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49857 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49858 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49859 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49860 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49861 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49862 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49863 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49864 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49865 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49866 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49867 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49868 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49869 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49870 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49871 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49872 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49873 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49874 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49875 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49876 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49877 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49878 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49879 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49880 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49881 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49882 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49883 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49884 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49885 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49886 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49887 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49888 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49889 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49890 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49891 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49892 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49893 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49894 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49895 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49896 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49897 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49898 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49899 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49900 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49901 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49902 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49903 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49904 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49905 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49906 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49907 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49908 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49909 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49910 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49911 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49912 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49913 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49914 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49915 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49916 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49917 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49918 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49920 (FLT_ROUNDS): Expect as macro, not constant.
49921 (FLT_MANT_DIG): Use macro-int-constant.
49922 (DBL_MANT_DIG): Likewise.
49923 (LDBL_MANT_DIG): Likewise.
49924 (FLT_DIG): Likewise.
49925 (DBL_DIG): Likewise.
49926 (LDBL_DIG): Likewise.
49927 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
49928 (DBL_MIN_EXP): Likewise.
49929 (LDBL_MIN_EXP): Likewise.
49930 (FLT_MAX_EXP): Use macro-int-constant.
49931 (DBL_MAX_EXP): Likewise.
49932 (LDBL_MAX_EXP): Likewise.
49933 (FLT_MAX_10_EXP): Likewise.
49934 (DBL_MAX_10_EXP): Likewise.
49935 (LDBL_MAX_10_EXP): Likewise.
49936 (FLT_MAX): Use macro-constant.
49937 (DBL_MAX): Likewise.
49938 (LDBL_MAX): Likewise.
49939 (FLT_EPSILON): Use macro-constant. Give upper bound.
49940 (DBL_EPSILON): Likewise.
49941 (LDBL_EPSILON): Likewise.
49942 (FLT_MIN): Likewise.
49943 (DBL_MIN): Likewise.
49944 (LDBL_MIN): Likewise.
49945 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49946 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49947 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49948 [ISO11] (FLT_HAS_SUBNORM): Likewise.
49949 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49950 [ISO11] (DBL_DECIMAL_DIG): Likewise.
49951 [ISO11] (FLT_DECIMAL_DIG): Likewise.
49952 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49953 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49954 [ISO11] (FLT_TRUE_MIN): Likewise.
49955 [ISO11] (LDBL_TRUE_MIN): Likewise.
49956 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49957 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49958 (SCHAR_MIN): Use macro-int-constant. Specify type.
49959 (SCHAR_MAX): Likewise.
49960 (UCHAR_MAX): Likewise.
49961 (CHAR_MIN): Likewise.
49962 (CHAR_MAX): Likewise.
49963 (MB_LEN_MAX): Use macro-int-constant.
49964 (SHRT_MIN): Use macro-int-constant. Specify type.
49965 (SHRT_MAX): Likewise.
49966 (USHRT_MAX): Likewise.
49967 (INT_MAX): Likewise.
49968 (INT_MIN): Use macro-int-constant. Specify type. Make upper
49970 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
49972 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49974 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
49975 bound negative. Suffix upper bound with "L".
49976 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49978 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49980 [C99-based standards] (LLONG_MAX): Likewise.
49981 [C99-based standards] (ULLONG_MAX): Likewise.
49982 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
49984 [ISO11] (max_align_t): Require type.
49985 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49987 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49988 from $CFLAGS, without defining away __attribute__ calls.
49989 (checknamespace): Use $CFLAGS_namespace.
49991 * conform/conformtest.pl (@keywords): Only include C99 keywords
49992 for standards based on C99 or C11.
49994 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49996 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49999 * conform/conformtest.pl: Handle "macro-int-constant" and test for
50000 usability of symbols in #if.
50002 * conform/conformtest.pl: If macro or constant types start
50003 "promoted:", expect the symbol to be of the following type
50004 promoted by the integer promotions.
50006 * conform/conformtest.pl: Parse all "constant" and "macro" lines
50007 in one place. Also handle "macro-constant".
50009 * conform/conformtest.pl: Only accept expected macro values with
50010 "==". Parse all "macro" lines in one place.
50011 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
50013 * conform/conformtest.pl: Handle braced types on "constant" lines
50014 instead of handling "typed-constant".
50015 * conform/data/signal.h-data: Use "constant" instead of
50018 * conform/conformtest.pl: Handle "optional-" at start of lines in
50019 one place rather than duplicating several cases. Handle each
50020 format of "macro" line with initial "optional-".
50022 * conform/conformtest.pl: Only accept expected constant or
50023 optional-constant values with "==". Parse all "constant" lines in
50024 one place. Parse all "optional-constant" lines in one place.
50025 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
50026 * conform/data/fmtmsg.h-data: Likewise.
50027 * conform/data/netinet/in.h-data: Likewise.
50028 * conform/data/tar.h-data: Likewise.
50029 * conform/data/limits.h-data: Use "==" form on "constant" and
50030 "optional-constant" lines.
50032 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
50033 Use -std=c99 for XOPEN2K.
50034 (@knownproblems): Remove.
50035 (newtoken): Don't check %isknown.
50037 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
50038 Do not expect macro.
50039 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
50040 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
50041 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
50042 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
50043 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
50044 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
50045 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
50046 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
50047 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
50048 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
50049 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
50050 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
50051 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
50052 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
50053 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
50054 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
50055 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
50056 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
50057 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
50058 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
50059 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
50060 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
50061 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
50062 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
50063 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
50064 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
50065 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
50066 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
50067 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
50068 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
50069 [XPG3] (acosh): Likewise.
50070 [XPG3] (asinh): Likewise.
50071 [XPG3] (atanh): Likewise.
50072 [XPG3] (cbrt): Likewise.
50073 [XPG3] (expm1): Likewise.
50074 [XPG3] (ilogb): Likewise.
50075 [XPG3] (log1p): Likewise.
50076 [XPG3] (logb): Likewise.
50077 [XPG3] (nextafter): Likewise.
50078 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
50079 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
50080 [XPG3] (remainder): Likewise.
50081 [XPG3] (rint): Likewise.
50082 [XPG3 || XPG4 || UNIX98] (round): Likewise.
50083 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
50084 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
50085 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
50086 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
50087 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
50088 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
50089 [UNIX98 || XOPEN2K] (scalb): Expect.
50090 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
50091 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
50092 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
50093 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
50094 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50095 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50096 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50097 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50098 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50099 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50100 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50101 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50102 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50103 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50104 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50105 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50106 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50107 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50108 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50109 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50110 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50111 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50112 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50113 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50114 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50115 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50116 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50117 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50118 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50119 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50120 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50121 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50122 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50123 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50124 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50125 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50126 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50127 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50128 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50129 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50130 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50131 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50132 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50133 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50134 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50135 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50136 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50137 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50138 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50139 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50140 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50141 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50142 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50143 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50144 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50145 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50146 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50147 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50148 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50149 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50150 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50151 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50152 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50153 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50154 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50155 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50156 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50157 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50158 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50159 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50160 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50161 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50162 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50163 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50164 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50165 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50166 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50167 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50168 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50169 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50170 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50171 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50172 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50173 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50174 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50175 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50176 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50177 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50178 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50179 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50180 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50181 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50182 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50183 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50184 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50185 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50186 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50187 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50188 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50189 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50190 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50191 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50192 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50193 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50194 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50195 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50196 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50197 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50198 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50199 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50200 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50201 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50202 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50203 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50204 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50205 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50206 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50207 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50208 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50209 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50210 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50211 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50212 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50213 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50214 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50215 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50216 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50217 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50218 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50219 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50220 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50221 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50222 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50223 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50224 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50225 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50226 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50228 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50229 _XOPEN_SOURCE_EXTENDED for XPG4.
50231 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50233 * Makeconfig (localtime): Remove variable.
50234 (inst_localtime-file): Likewise.
50236 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
50238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50257 2012-05-01 Joseph Myers <joseph@codesourcery.com>
50261 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50262 comparisons to determine direction to adjust input.
50263 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50264 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50265 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50267 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50269 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50271 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50272 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50274 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50276 * math/libm-test.inc (nexttoward_test): Add more tests.
50278 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
50281 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50282 in version GLIBC_2.1, not GLIBC_2.0.
50283 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50286 2012-04-30 Joseph Myers <joseph@codesourcery.com>
50289 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50291 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50292 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50293 * math/libm-test.inc (acos_test): Add more tests.
50294 (asin_test): Likewise.
50295 * sysdeps/i386/fpu/libm-test-ulps: Update.
50296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50299 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50301 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50302 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50303 * math/libm-test.inc (acos_test_tonearest): New function.
50304 (acos_test_towardzero): Likewise.
50305 (acos_test_downward): Likewise.
50306 (acos_test_upward): Likewise.
50307 (asin_test_tonearest): Likewise.
50308 (asin_test_towardzero): Likewise.
50309 (asin_test_downward): Likewise.
50310 (asin_test_upward): Likewise.
50311 (main): Call the new functions.
50312 * sysdeps/i386/fpu/libm-test-ulps: Update.
50313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50317 * math/e_exp10.c: Include <float.h>.
50318 (__ieee754_exp10): Handle underflow here rather than multiplying
50319 large negative argument by M_LN10.
50320 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50322 * math/e_exp10l.c: Include <float.h>.
50323 (__ieee754_exp10l): Handle underflow here rather than multiplying
50324 large negative argument by M_LN10l.
50325 * math/libm-test.inc (exp10_test): Add another test. Do not allow
50326 spurious overflow exception on underflow.
50328 2012-04-29 Marek Polacek <polacek@redhat.com>
50330 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50331 (__fortify_function): New macro.
50332 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50333 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50334 __extern_always_inline.
50335 * libio/bits/stdio2.h: Likewise.
50336 * libio/bits/stdio.h: Likewise.
50337 * string/string.h: Likewise.
50338 * string/bits/string3.h: Likewise.
50339 * include/stdio.h: Likewise.
50340 * stdlib/bits/stdlib.h: Likewise.
50341 * stdlib/stdlib.h: Likewise.
50342 * rt/bits/mqueue2.h: Likewise.
50343 * rt/mqueue.h: Likewise.
50344 * posix/bits/unistd.h: Likewise.
50345 * posix/unistd.h: Likewise.
50346 * io/bits/poll2.h: Likewise.
50347 * io/bits/fcntl2.h: Likewise.
50348 * io/fcntl.h: Likewise.
50349 * io/sys/poll.h: Likewise.
50350 * misc/bits/syslog.h: Likewise.
50351 * misc/bits/syslog-ldbl.h: Likewise.
50352 * misc/sys/syslog.h: Likewise.
50353 * socket/bits/socket2.h: Likewise.
50354 * socket/sys/socket.h: Likewise.
50355 * debug/tst-chk1.c: Likewise.
50356 * wcsmbs/bits/wchar2.h: Likewise.
50357 * wcsmbs/bits/wchar-ldbl.h: Likewise.
50358 * wcsmbs/wchar.h: Likewise.
50360 2012-04-29 Andreas Jaeger <aj@suse.de>
50362 * Makerules (tests): Remove enable-check-abi protection.
50363 (check-abi-warn): Remove.
50364 (check-abi-%): Remove check-abi-warn usage.
50366 * configure.in: Remove check-abi configure option.
50367 * configure: Regenerated.
50368 * config.make.in (enable-check-abi): Remove.
50370 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
50373 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50374 double functions to double *_finite functions.
50377 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50378 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50380 * stdio-common/Makefile (tests): Add tst-sprintf3.
50381 * stdio-common/tst-sprintf3.c: New file.
50383 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50384 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50386 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50388 * conform/conformtest.pl: Remove duplicate typed-constant
50391 2012-04-28 David S. Miller <davem@davemloft.net>
50393 * Makerules (%.abilist): Add vpath on sysdep_dirs.
50394 (check-abi-%): Remove AWK script prerequisite and explicit
50396 (check-abi): Rewrite to just diff the symlist with the abilist.
50397 (config-tls, config-abi-config): Delete, no longer used.
50398 (update-abi-%): Remove AWK script and explicit abilist directory.
50399 (update-abi): Rewrite to simply compare and conditionally copy the
50400 symlist and the sysdep abilist file. Remove update-abi-config
50402 * abilist/ld.abilist: Remove.
50403 * abilist/libBrokenLocale.abilist: Remove.
50404 * abilist/libanl.abilist: Remove.
50405 * abilist/libcrypt.abilist: Remove.
50406 * abilist/libdl.abilist: Remove.
50407 * abilist/librt.abilist: Remove.
50408 * abilist/libthread_db.abilist: Remove.
50409 * abilist/libutil.abilist: Remove.
50410 * scripts/extract-abilist.awk: Remove.
50411 * scripts/merge-abilist.awk: Remove.
50412 * sysdeps/generic/libcidn.abilist: New file.
50413 * sysdeps/generic/libnss_compat.abilist: New file.
50414 * sysdeps/generic/libnss_db.abilist: New file.
50415 * sysdeps/generic/libnss_dns.abilist: New file.
50416 * sysdeps/generic/libnss_files.abilist: New file.
50417 * sysdeps/generic/libnss_hesiod.abilist: New file.
50418 * sysdeps/generic/libnss_nis.abilist: New file.
50419 * sysdeps/generic/libnss_nisplus.abilist: New file.
50420 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50421 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50422 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50424 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50425 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50426 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50427 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50428 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50429 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50430 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50431 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50432 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50434 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50435 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50436 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50437 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50439 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50440 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50441 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50442 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50443 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50444 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50446 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50447 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50448 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50450 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50553 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50554 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50555 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50558 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50559 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50560 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50561 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50562 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50563 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50564 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50565 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50566 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50618 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50620 * conform/conformtest.pl: Fix typo in handling typed-constant from
50623 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50625 * README: Cut down references to pre-2.6 Linux kernels and
50626 Linuxthreads. Update lists of configurations in libc and ports
50627 and sort alphabetically. Say "or newer" with Linux kernel version
50630 * config.h.in [IS_IN_build]: Allow compiling without optimization.
50632 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50635 * math/libm-test.inc (logb_test_downward): New test to expose
50636 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50639 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50642 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50644 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50645 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50647 2012-04-26 Joseph Myers <joseph@codesourcery.com>
50649 * sysdeps/unix/i386/brk.S: Remove file.
50650 * sysdeps/unix/i386/dl-brk.S: Likewise.
50651 * sysdeps/unix/i386/pipe.S: Likewise.
50652 * sysdeps/unix/i386/sigreturn.S: Likewise.
50653 * sysdeps/unix/i386/syscall.S: Likewise.
50654 * sysdeps/unix/i386/vfork.S: Likewise.
50655 * sysdeps/unix/i386/wait.S: Likewise.
50657 * sysdeps/unix/common/tcsendbrk.c: Move to ...
50658 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50660 * configure.in (arm*-none*): Do not allow without
50661 --enable-hacker-mode.
50662 (netbsd*): Remove case setting base_os.
50663 (386bsd*): Likewise.
50664 (freebsd*): Likewise.
50667 (sunos*): Likewise.
50668 (ultrix*): Likewise.
50669 (newsos*): Likewise.
50670 (dynix*): Likewise.
50676 (minix*): Likewise.
50677 (irix4*): Likewise.
50678 (irix6*): Likewise.
50679 (solaris[2-9]*): Likewise.
50681 * configure: Regenerated.
50683 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50686 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50687 overflow or cancellation in calculating denominator.
50688 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50689 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50690 down expression to avoid unexpected rounding in newer GCCs.
50691 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50693 2012-04-26 David S. Miller <davem@davemloft.net>
50695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50696 long-double compat symbols.
50697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50711 2012-04-25 David S. Miller <davem@davemloft.net>
50713 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50714 HWCAP_* values only after the memory barriers have been defined.
50715 (atomic_full_barrier): Define.
50716 (atomic_read_barrier): Define.
50717 (atomic_write_barrier): Define.
50719 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50721 * shlib-versions: Add libgcc_s version information.
50722 * sysdeps/generic/libgcc_s.h: Remove.
50723 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50725 * sysdeps/gnu/unwind-resume.c: Likewise.
50726 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50728 2012-04-25 David S. Miller <davem@davemloft.net>
50730 * sysdeps/unix/sparc/brk.S: Delete.
50731 * sysdeps/unix/sparc/dl-brk.S: Delete.
50732 * sysdeps/unix/sparc/pipe.S: Delete.
50733 * sysdeps/unix/sparc/sysdep.S: Delete.
50734 * sysdeps/unix/sparc/sysdep.h: Delete.
50735 * sysdeps/unix/sparc/vfork.S: Delete.
50736 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50737 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50738 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50739 (ret_ERRVAL, r0, r1, MOVE): Define.
50740 (JUMPTARGET): Remove.
50741 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50742 sysdeps/unix/sparc/sysdep.h
50743 (ENTRY, END): Remove.
50744 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50746 2012-04-25 Joseph Myers <joseph@codesourcery.com>
50748 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50749 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50752 * timezone/README: Update upstream location and email address for
50754 * timezone/zdump.c: Update from tzcode 2012b.
50755 * timezone/zic.c: Likewise.
50757 * configure.in (libc_cv_as_needed): Remove test.
50758 * configure: Regenerated.
50759 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50760 conditional definition.
50761 [$(have-as-needed) != yes] (no-as-needed): Likewise.
50762 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50763 * config.make.in (have-as-needed): Remove variable.
50765 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50766 Paul Pluzhnikov <ppluzhnikov@google.com>
50768 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50771 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
50773 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50774 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50775 * sysdeps/sh/strlen.S: Likewise.
50777 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50779 * sysdeps/unix/fork.S: Remove file.
50780 * sysdeps/unix/i386/fork.S: Likewise.
50781 * sysdeps/unix/sparc/fork.S: Likewise.
50783 * sysdeps/unix/system.c: Remove file.
50784 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50786 * sysdeps/unix/getegid.S: Remove file.
50787 * sysdeps/unix/geteuid.S: Likewise.
50789 2012-04-24 Roland McGrath <roland@hack.frob.com>
50791 * scripts/check-localplt.awk: New file.
50792 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50794 * scripts/data/localplt-generic.data: Add a comment.
50796 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50797 NODE when __dir_mkfile failed.
50798 * sysdeps/mach/hurd/symlinkat.c: Likewise.
50799 Reported by Ludovic Courtès <ludo@gnu.org>.
50801 2012-04-24 Andreas Jaeger <aj@suse.de>
50803 * Makerules (common-clean): Also remove gen-as-const-headers
50806 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50808 * Makerules (native-compile): Do not change working directory for
50809 build. Use $(OUTPUT_OPTION) in command.
50810 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50812 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50815 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50816 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50817 * math/libm-test.inc (floor_test): Add more tests.
50818 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50820 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50822 * sysdeps/unix/getdents.c: Remove file.
50823 * sysdeps/unix/sysv/getdents.c: Likewise.
50824 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50826 * sysdeps/unix/syscalls.list (madvise): Add syscall from
50827 sysdeps/unix/mman/syscalls.list.
50829 (mprotect): Likewise.
50831 (munmap): Likewise.
50832 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50833 * sysdeps/unix/mman/syscalls.list: Remove.
50834 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50836 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50837 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50838 * configure: Regenerated.
50839 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50840 $(libgcc_s_suffix).
50841 * config.make.in (libgcc_s_suffix): Remove variable.
50843 2012-04-23 Joseph Myers <joseph@codesourcery.com>
50845 * sysdeps/unix/sysv/gethostname.c: Move to ...
50846 * sysdeps/posix/gethostname.c: ... here.
50848 * sysdeps/unix/execve.S: Remove file.
50850 * sysdeps/unix/_exit.S: Remove file.
50852 2012-04-23 Andreas Jaeger <aj@suse.de>
50855 * manual/Makefile: Remove make dist support, there's no
50856 need for a stand-alone documentation tar ball.
50857 (TEXI2DVI): Define always, it's not in Makeconfig.
50860 (edition): Removed.
50861 (glibc-doc-$(edition).tar): Removed
50865 (ETAGS): Remove, it's in Makeconfig.
50866 (move-if-change): Remove, it's in Makeconfig.
50868 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
50871 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50872 (strtod, strtof, strtold, strtol, strtoul, strtoq)
50873 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50874 (strtod_l, strtof_l, strtold_l): Remove __wur.
50875 It is not necessarily an error to ignore strtol's return value.
50876 One can reliably look at the stored endptr to decide whether
50877 the number had valid syntax.
50879 2012-04-21 Andreas Jaeger <aj@suse.de>
50882 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50884 2012-04-21 Joseph Myers <joseph@codesourcery.com>
50886 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50887 * sysdeps/unix/sysv/Versions: Remove file.
50889 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
50892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50894 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
50897 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50898 version from __vm86.
50900 2012-04-20 Joseph Myers <joseph@codesourcery.com>
50902 * sysdeps/unix/common/lxstat.c: Remove file.
50903 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50905 * sysdeps/unix/sysv/Makefile: Remove file.
50907 * sysdeps/unix/sysv/direct.h: Remove file.
50909 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50910 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50911 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50912 * sysdeps/unix/sysv/bits/signum.h: Likewise.
50913 * sysdeps/unix/sysv/bits/stat.h: Likewise.
50914 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50915 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50917 * sysdeps/unix/sysv/setrlimit.c: Remove file.
50919 * sysdeps/unix/xmknod.c: Remove file.
50920 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50922 * sysdeps/unix/sysv/settimeofday.c: Remove file.
50924 * sysdeps/unix/sysv/i386/time.S: Remove file.
50926 * sysdeps/unix/fxstat.c: Remove file.
50927 * sysdeps/unix/xstat.c: Likewise.
50928 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50930 * sysdeps/unix/sysv/sigaction.c: Remove file.
50932 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50933 (sysdep_headers): Remove variable.
50934 [termio.h not in sysdep_headers] (generated): Likewise.
50935 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50936 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50937 * sysdeps/unix/sysv/tcdrain.c: Likewise.
50938 * sysdeps/unix/sysv/tcflow.c: Likewise.
50939 * sysdeps/unix/sysv/tcflush.c: Likewise.
50940 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50941 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50942 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50943 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50944 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50946 * sysdeps/unix/siglist.c: Remove file.
50948 * sysdeps/unix/getppid.S: Remove file.
50950 * sysdeps/unix/mkdir.c: Remove file.
50951 * sysdeps/unix/rmdir.c: Likewise.
50953 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
50955 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50957 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50958 errlist-compat value.
50960 2012-04-18 David S. Miller <davem@davemloft.net>
50962 * sysdeps/generic/memcopy.h (reg_char): Delete.
50963 * debug/strcat_chk.c: Use char, not reg_char.
50964 * debug/strcpy_chk.c: Likewise.
50965 * debug/strncat_chk.c: Likewise.
50966 * debug/strncpy_chk.c: Likewise.
50967 * string/memchr.c: Likewise.
50968 * string/memrchr.c: Likewise.
50969 * string/rawmemchr.c: Likewise.
50970 * string/strcat.c: Likewise.
50971 * string/strchr.c: Likewise.
50972 * string/strchrnul.c: Likewise.
50973 * string/strcmp.c: Likewise.
50974 * string/strcpy.c: Likewise.
50975 * string/strncat.c: Likewise.
50976 * string/strncmp.c: Likewise.
50977 * string/strncpy.c: Likewise.
50979 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50981 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50982 __builtin_memcopy is called when src and dest ranges are known to not
50985 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50987 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50988 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50989 fwd_align_merge macro call.
50990 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50991 bwd_align_merge macro call.
50992 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50994 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50996 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50997 bwd_align_merge macros.
50998 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50999 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
51000 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51002 2012-04-18 David S. Miller <davem@davemloft.net>
51004 * sysdeps/sparc/sparc64/memcopy.h: Delete.
51006 2012-04-18 Andreas Jaeger <aj@suse.de>
51009 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51010 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
51011 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51013 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
51014 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
51015 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51017 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
51018 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
51019 Adjust for changed ldbl-128 files.
51021 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
51022 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
51023 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
51025 2012-04-17 David S. Miller <davem@davemloft.net>
51027 * sysdeps/sparc/sparc32/memcopy.h: Delete.
51029 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
51031 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
51032 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
51033 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
51034 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
51035 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51036 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
51038 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51041 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
51042 * math/libm-test.inc: Add ilogb errno and exception tests.
51043 * math/w_ilogb.c: New file: ilogb wrapper.
51044 * math/w_ilogbf.c: New file: ilogbf wrapper.
51045 * math/w_ilogbl.c: New file: ilogbl wrapper.
51046 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
51047 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
51048 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
51049 exception being thrown with 0.0 as argument.
51050 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
51051 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
51052 exception being thrown with 0.0 as argument.
51053 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
51054 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51055 exception being thrown with 0.0 as argument.
51056 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
51057 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
51058 exception being thrown with 0.0 as argument.
51059 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
51060 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
51061 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
51062 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
51063 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
51064 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
51065 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
51066 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
51067 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
51069 2012-04-17 Petr Baudis <pasky@ucw.cz>
51071 * include/sys/uio.h: Change __vector to __iovec to avoid clash
51074 2012-04-16 Marek Polacek <polacek@redhat.com>
51076 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
51078 2012-04-16 Marek Polacek <polacek@redhat.com>
51080 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
51081 operands of fdivp instruction.
51083 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
51085 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
51086 * elf/tst-auditmod3b.c: Likewise.
51087 * elf/tst-auditmod4b.c: Likewise.
51088 * elf/tst-auditmod5b.c: Likewise.
51089 * elf/tst-auditmod6b.c: Likewise.
51090 * elf/tst-auditmod6c.c: Likewise.
51091 * elf/tst-auditmod7b.c: Likewise.
51092 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
51093 * sysdeps/x86_64/preconfigure.in: Likewise.
51094 * sysdeps/x86_64/preconfigure: Regenerated.
51096 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
51098 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51101 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
51103 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51104 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51106 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
51109 * locale/iso-639.def: Fix gl language name. Spotted by
51112 2012-04-12 Roland McGrath <roland@hack.frob.com>
51115 * libio/libio.h (__io_write_fn): Update comment.
51117 2012-04-12 Petr Baudis <pasky@ucw.cz>
51120 * stdio.texi (Hook Functions): The user provided writer function
51121 is not allowed to return -1.
51123 2012-04-11 David S. Miller <davem@davemloft.net>
51125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51127 2012-04-11 Mike Frysinger <vapier@gentoo.org>
51129 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51130 Add a leading slash to rtkaio.
51132 2012-04-11 Jim Meyering <meyering@redhat.com>
51135 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51136 It is not necessarily an error to ignore fwrite's return
51137 value. One can reliably use ferror to test for errors after
51140 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
51142 * bits/types.h (__snseconds_t): New type.
51143 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51145 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51146 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51147 (__SNSECONDS_T_TYPE): Likewise.
51148 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51149 (__SNSECONDS_T_TYPE): Likewise.
51150 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51151 (__SNSECONDS_T_TYPE): Likewise.
51153 2012-04-10 Andreas Jaeger <aj@suse.de>
51156 * manual/time.texi (Processor Time): Return type of times is
51157 elapsed real time since an arbitrary point in the past.
51158 (CPU Time): Move CLK_TCK from here...
51159 (Processor Time): ...to here. Correct description.
51160 * manual/conf.texi (Constants for Sysconf): Correct description of
51163 2012-04-10 David S. Miller <davem@davemloft.net>
51166 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51167 where the is a gap between DT_REL(A) and DT_JMPREL.
51169 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
51171 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51172 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51173 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51175 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
51177 * elf/dl-support.c (_dl_inhibit_cache): New variable.
51178 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51179 (dl_main): Handle --inhibit-cache.
51180 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51182 * elf/dl-load.c (_dl_map_object): Use it.
51183 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51185 2012-04-09 Joseph Myers <joseph@codesourcery.com>
51188 * sysdeps/i386/fpu/e_powl.S (p78): New object.
51189 (__ieee754_powl): Saturate large exponents rather than testing for
51190 overflow of y*log2(x).
51191 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51192 * math/libm-test.inc (pow_test): Do not permit spurious overflow
51196 * math/s_ctan.c: Include <float.h>.
51197 (__ctan): Avoid internal overflow or cancellation in calculating
51199 * math/s_ctanf.c: Likewise.
51200 * math/s_ctanl.c: Likewise.
51201 * math/s_ctanh.c: Likewise.
51202 * math/s_ctanhf.c: Likewise.
51203 * math/s_ctanhl.c: Likewise.
51204 * math/libm-test.inc (ctan_test): Add more tests.
51205 (ctanh_test): Likewise.
51206 * sysdeps/i386/fpu/libm-test-ulps: Update.
51207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51209 2012-04-09 Andreas Jaeger <aj@suse.de>
51212 * manual/filesys.texi (Directory Entries): Mention that d_namlen
51213 is an optional BSD extension.
51216 * manual/stdio.texi (Opening Streams): Document additional fopen
51219 2012-04-09 Roland McGrath <roland@hack.frob.com>
51221 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51222 %eax without telling the compiler.
51224 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
51227 * manual/install.texi: Use sourceware.org.
51229 2012-04-09 Joseph Myers <joseph@codesourcery.com>
51232 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51233 (__ieee754_pow): Generate overflow and underflow using huge*huge
51234 and tiny*tiny rather than just returning constant infinity or zero
51235 for large exponents.
51236 * math/libm-test.inc (pow_test): Require overflow exceptions for
51237 applicable cases of large exponents.
51240 * sysdeps/i386/fpu/e_pow.S (p10): New object.
51241 (__ieee754_pow): Use iterative multiplication algorithm only for
51242 integer exponents with absolute value below 1024. Check for odd
51243 integer exponents when using algorithm for real exponents.
51244 * math/libm-test.inc (pow_test): Add more tests.
51245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51247 2012-04-08 Joseph Myers <joseph@codesourcery.com>
51250 * math/libm-test.inc (exp_test): Do not allow overflow exception
51253 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
51256 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51257 instead of __kernel_standard_f.
51259 2012-04-08 Mike Frysinger <vapier@gentoo.org>
51261 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51262 * sysdeps/x86_64/memset_chk.S: Likewise.
51264 2012-04-08 Andreas Jaeger <aj@suse.de>
51267 * manual/startup.texi (Environment Access): Describe return value
51268 for putenv and setenv.
51271 * manual/filesys.texi (Directory Entries): Add description for
51275 * manual/filesys.texi (Directory Entries): Clarify that it's file
51276 system not operating system in the description of DT_UNKNOWN.
51279 * manual/syslog.texi (closelog): Fix reference, it's openlog.
51281 2012-04-08 Stephen Compall <s11@member.fsf.org>
51284 * manual/llio.texi (Opening and Closing Files): Add cross
51285 reference to explain mode argument.
51287 2012-04-07 Mike Frysinger <vapier@gentoo.org>
51289 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51290 * sysdeps/x86_64/memset_chk.S: Likewise.
51292 2012-04-07 David S. Miller <davem@davemloft.net>
51294 * elf/elf.h (R_SPARC_WDISP10): Define.
51295 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51297 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51298 R_SPARC_SIZE64 and R_SPARC_H34.
51300 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
51302 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51303 conditions and remove no longer applicable assertion.
51305 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
51307 * bits/byteswap.h: Include <features.h>.
51308 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51309 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51311 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
51313 * bits/byteswap.h (__bswap_16): Removed.
51314 Include <bits/byteswap-16.h> to get __bswap_16.
51315 * sysdeps/i386/bits/byteswap.h: Likewise.
51316 * sysdeps/s390/bits/byteswap.h: Likewise.
51317 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51318 * bits/byteswap-16.h: New file.
51319 * sysdeps/i386/bits/byteswap-16.h: Likewise.
51320 * sysdeps/s390/bits/byteswap-16.h: Likewise.
51321 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51322 * string/Makefile (headers): Add bits/byteswap-16.h.
51324 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51327 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51329 * nss/Makefile (tests-static, tests): Add tst-nss-static.
51330 * nss/tst-nss-static.c: New.
51332 2012-04-06 Robert Millan <rmh@gnu.org>
51335 * manual/llio.texi (File Position Primitive): lseek
51336 refers to WHENCE when it really means OFFSET.
51338 2012-04-06 Andreas Jaeger <aj@suse.de>
51340 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51341 strncmp declarations.
51343 * abilist/libc.abilist: Add __poll and __ppoll.
51345 2012-04-05 David S. Miller <davem@davemloft.net>
51347 * scripts/check-local-headers.sh: Accept a host triplet in the
51348 path matched by the exclude regexp.
51350 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51352 * sysdeps/powerpc/powerpc32/dl-machine.h
51353 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51354 * sysdeps/s390/s390-32/dl-machine.h
51355 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51356 * sysdeps/sparc/sparc32/dl-machine.h
51357 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51358 * sysdeps/sparc/sparc64/dl-machine.h
51359 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51361 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51363 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51364 undefined symbol errors.
51366 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51369 2012-04-05 Michael Matz <matz@suse.de>
51372 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51374 2012-04-05 Andreas Jaeger <aj@suse.de>
51377 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51380 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51382 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51383 which ROUND is no valid rounding mode.
51385 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51387 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51389 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51391 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51393 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51394 an exception using FPU order intentionally.
51396 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51398 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51399 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51400 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51401 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51403 2012-04-05 Simon Josefsson <simon@josefsson.org>
51406 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51407 EINVAL when BUFLEN is too smal.
51409 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
51412 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51413 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51415 2012-04-03 Andreas Jaeger <aj@suse.de>
51418 * manual/setjmp.texi (System V contexts): Fix sentence.
51421 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51422 New macro for this case.
51423 [!__GNUC__] (__bswap_64): New inline function for this case.
51424 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51425 * bits/byteswap.h: Likewise.
51426 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51427 ull, guard with __GLIBC_HAVE_LONG_LONG.
51429 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51430 __GLIBC_HAVE_LONG_LONG.
51432 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51433 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51435 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51438 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51439 inptr and inend, rather than using last_ch.
51441 2012-04-02 David S. Miller <davem@davemloft.net>
51443 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51444 * stdio-common/printf-parse.h (read_int): Change return type to
51445 'int', return -1 on INT_MAX overflow.
51446 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51447 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
51448 overflows INT_MAX. Check for overflow of in-format-string precision
51449 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
51450 SIZE_MAX not INT_MAX for integer overflow test.
51451 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51452 skip the construct in the format string but do not record anything.
51453 * stdio-common/bug22.c: Adjust to test both width/prevision
51454 INT_MAX overflow as well as total length INT_MAX overflow. Check
51455 explicitly for proper errno values.
51457 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
51459 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51461 * string/test-strcmp.c [! WIDE]: Likewise.
51462 * time/tst-mktime2.c: Likewise for INT_MAX.
51463 * string/test-string.h: #include <sys/param.h> for MIN.
51465 * csu/init-first.c (__libc_init_first): Call __ctype_init.
51466 * sysdeps/i386/init-first.c (init): Likewise.
51467 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51468 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51469 * sysdeps/sh/init-first.c (init): Likewise.
51471 2012-04-01 Ulrich Drepper <drepper@gmail.com>
51473 * po/ru.po: Update from translation team.
51474 * po/vi.po: Likewise.
51476 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
51478 * resolv/nss_dns/dns-host.c: Merge copyright years.
51480 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51482 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51483 Optimize memcpy with prefetch if
51484 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
51485 src, dst pointers have unequal 16 byte alignments.
51487 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51490 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51491 from a CNAME entry and return the minimum ttl for the query.
51492 (gaih_getanswer_slice): Likewise.
51494 2012-03-30 Jeff Law <law@redhat.com>
51496 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51498 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51499 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51501 * resolv/nss_dns/dns-host.c: Update copyright year.
51503 2012-03-30 Ulrich Drepper <drepper@gmail.com>
51505 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51506 requests to save a system call. Fix check that all bytes are sent.
51508 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51509 comments for sendmmsg.
51511 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51514 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51515 with only 1 character between 0x0041 and 0x01b0.
51516 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51517 * wcsmbs/tst-mbsnrtowcs.c: New file.
51519 2012-03-29 David S. Miller <davem@davemloft.net>
51521 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51522 small copies by hand.
51524 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51527 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51528 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51531 2012-03-28 David S. Miller <davem@davemloft.net>
51533 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51534 that branches into memcpy.
51535 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51536 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51537 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51538 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51539 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51541 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51542 implementation too.
51543 * sysdeps/sparc/mempcpy.S: New file.
51545 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51546 the IFUNC routine in the libc case.
51547 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51549 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51550 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51551 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51552 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51553 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51554 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51555 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51556 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51558 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51559 loop to 256 bytes instead of 64 bytes and fix test signedness.
51561 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51562 * sysdeps/sparc/sparc32/Makefile: rather than here...
51563 * sysdeps/sparc/sparc64/Makefile: and here.
51565 2012-03-28 Ulrich Drepper <drepper@gmail.com>
51567 * malloc/mallocbug.c: Avoid warnings about unused variables.
51569 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51572 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51573 in the right place. Discard and retry query if response is
51574 larger than input buffer size.
51576 2012-03-28 Joseph Myers <joseph@codesourcery.com>
51581 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51582 x for large integer exponent.
51583 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51584 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
51585 sign of result as needed afterwards.
51586 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51587 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51588 result for underflowing pow the same as for overflow.
51589 (__kernel_standard_l): Handle powl overflow and underflow here
51590 rather than calling __kernel_standard.
51591 * math/libm-test.inc (pow_test): Add more tests.
51606 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51607 * sysdeps/ieee754/k_standard.c: Include <float.h>.
51608 (__kernel_standard_l): New function.
51609 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51611 * math/w_acosl.c (__acosl): Likewise.
51612 * math/w_asinl.c (__asinl): Likewise.
51613 * math/w_atan2l.c (__atan2l): Likewise.
51614 * math/w_atanhl.c (__atanhl): Likewise.
51615 * math/w_coshl.c (__coshl): Likewise.
51616 * math/w_exp10l.c (__exp10l): Likewise.
51617 * math/w_exp2l.c (__exp2l): Likewise.
51618 * math/w_fmodl.c (__fmodl): Likewise.
51619 * math/w_hypotl.c (__hypotl): Likewise.
51620 * math/w_j0l.c (__j0l, __y0l): Likewise.
51621 * math/w_j1l.c (__j1l, __y1l): Likewise.
51622 * math/w_jnl.c (__jnl, __ynl): Likewise.
51623 * math/w_lgammal.c (__lgammal): Likewise.
51624 * math/w_log10l.c (__log10l): Likewise.
51625 * math/w_log2l.c (__log2l): Likewise.
51626 * math/w_logl.c (__logl): Likewise.
51627 * math/w_powl.c (__powl): Likewise.
51628 * math/w_remainderl.c (__remainderl): Likewise.
51629 * math/w_scalbl.c (sysv_scalbl): Likewise.
51630 * math/w_sinhl.c (__sinhl): Likewise.
51631 * math/w_sqrtl.c (__sqrtl): Likewise.
51632 * math/w_tgammal.c (__tgammal): Likewise.
51633 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51634 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51635 * math/libm-test.inc (acos_test): Add more tests.
51636 (acosh_test): Likewise.
51637 (asin_test): Likewise.
51638 (atanh_test): Likewise.
51639 (exp_test): Likewise.
51640 (exp10_test): Likewise.
51641 (exp2_test): Likewise.
51642 (expm1_test): Likewise.
51643 (lgamma_test): Likewise.
51644 (log_test): Likewise.
51645 (log10_test): Likewise.
51646 (log1p_test): Likewise.
51647 (log2_test): Likewise.
51648 (pow_test): Do not allow some spurious overflow exceptions.
51649 (sqrt_test): Add more tests.
51650 (tgamma_test): Likewise.
51651 (y0_test): Likewise.
51652 (y1_test): Likewise.
51653 (yn_test): Likewise.
51655 2012-03-27 Anton Blanchard <anton@samba.org>
51657 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51659 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51660 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51661 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51663 2012-03-27 David S. Miller <davem@davemloft.net>
51665 * conform/Makefile: Run run-conformtest.sh using $(BASH).
51667 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51668 have-as-vis3 check.
51670 2012-03-27 Andreas Jaeger <aj@suse.de>
51672 * sysdeps/x86_64/elf/configure.in: Moved to ...
51673 * sysdeps/x86_64/configure.in: ... here.
51674 * sysdeps/x86_64/elf/start.S: Moved to ...
51675 * sysdeps/x86_64/start.S: ... here.
51676 * sysdeps/x86_64/elf/configure: Delete.
51678 * sysdeps/x86_64/configure.in: Merge contents from
51679 sysdeps/i386/configure.in (without i686 check).
51681 * sysdeps/i386/elf/Versions: Merge into ...
51682 * sysdeps/i386/Versions: ... this.
51683 * sysdeps/i386/elf/Versions: Delete file.
51684 * sysdeps/i386/elf/start.S: Moved to ...
51685 * sysdeps/i386/start.S: ...here.
51686 * sysdeps/i386/elf/configure.in: Merge into...
51687 * sysdeps/i386/configure.in: ...here.
51688 * sysdeps/i386/elf/configure.in: Delete file.
51689 * sysdeps/i386/elf/configure: Delete file.
51691 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51692 * debug/backtracesyms.c: ... here.
51693 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51694 * debug/backtracesymsfd.c: ... here.
51695 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51696 * sysdeps/generic/ifunc-sel.h: ... here.
51698 * sysdeps/unix/i386/start.c: Delete file.
51699 * sysdeps/unix/sparc/start.c: Delete file.
51700 * sysdeps/unix/start.c: Delete file.
51702 * sysdeps/sh/elf/configure.in: Moved to ...
51703 * sysdeps/sh/configure.in: ... here.
51704 * sysdeps/sh/elf/start.S: Moved to ...
51705 * sysdeps/sh/start.S: ... here.
51706 * sysdeps/sh/elf/configure: Delete file.
51708 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51709 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51710 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51711 * sysdeps/powerpc/powerpc64/entry.h: ... here.
51712 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51713 * sysdeps/powerpc/powerpc64/start.S: here.
51714 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51715 * sysdeps/powerpc/powerpc64/Makefile: ... this.
51716 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51717 * sysdeps/powerpc/powerpc64/configure.in: ... this.
51718 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51720 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51721 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51722 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51723 * sysdeps/powerpc/powerpc32/start.S: ... here.
51724 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51725 * sysdeps/powerpc/powerpc32/configure.in: ... this.
51726 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51728 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51729 * sysdeps/powerpc/ifunc-sel.h: ... here.
51730 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51731 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51733 * sysdeps/sparc/elf/configure.in: Moved to ...
51734 * sysdeps/sparc/configure.in: ... here.
51735 * sysdeps/sparc/elf/configure: Delete file.
51736 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51737 * sysdeps/sparc/sparc32/start.S: ... here.
51738 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51739 * sysdeps/sparc/sparc64/start.S: ... here.
51740 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51741 * sysdeps/sparc/sparc32/Makefile: ... this.
51742 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51743 * sysdeps/sparc/sparc64/Makefile: ... this.
51745 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51746 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51747 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51748 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51749 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51750 * sysdeps/s390/s390-32/setjmp.S: ... here.
51751 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51752 * sysdeps/s390/s390-32/configure.in: ... here.
51753 * sysdeps/s390/s390-32/elf/configure: Delete file.
51754 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51755 * sysdeps/s390/s390-32/start.S: ... here.
51757 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51758 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51759 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51760 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51761 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51762 * sysdeps/s390/s390-64/setjmp.S: ... here.
51763 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51764 * sysdeps/s390/s390-64/configure.in: ... here
51765 * sysdeps/s390/s390-64/elf/configure: Delete file.
51766 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51767 * sysdeps/s390/s390-64/start.S: ... here.
51768 * sysdeps/s390/s390-64/elf/configure: Delete.
51770 * configure.in: Remove support for elf directories in sysdeps.
51772 * configure: Regenerated.
51773 * sysdeps/i386/configure: Regenerated.
51774 * sysdeps/powerpc/powerpc32/configure: Regenerated.
51775 * sysdeps/powerpc/powerpc64/configure: Regenerated.
51776 * sysdeps/s390/s390-32/configure: Regenerated.
51777 * sysdeps/s390/s390-64/configure: Regenerated.
51778 * sysdeps/sh/configure: Regenerated.
51779 * sysdeps/sparc/configure: Regenerated.
51780 * sysdeps/x86_64/configure: Regenerated.
51782 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
51784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51786 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51787 denormal result into account.
51789 2012-03-25 Roland McGrath <roland@hack.frob.com>
51791 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51792 Reported by Allan McRae <allan@archlinux.org>.
51794 2012-03-23 Jeff Law <law@redhat.com>
51796 * nss/getnssent.c (__nss_getent): Fix typo.
51798 2012-03-23 David S. Miller <davem@davemloft.net>
51800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51802 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
51804 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51805 to pad to uint64_t for each field.
51806 (dl_tls_index): Replace unsigned long with uint64_t.
51808 2012-03-23 Daniel Jacobowitz <dmj@google.com>
51809 Paul Pluzhnikov <ppluzhnikov@google.com>
51812 * grp/Makefile (otherlibs): Don't set it.
51813 * inet/Makefile (otherlibs): Likewise.
51814 * login/Makefile (otherlibs): Likewise.
51815 * nscd/Makefile (otherlibs): Likewise.
51816 * posix/Makefile (otherlibs): Likewise.
51817 * pwd/Makefile (otherlibs): Likewise.
51818 * rt/Makefile (otherlibs): Likewise.
51819 * sunrpc/Makefile (otherlibs): Likewise.
51820 * nss/Makefile (otherlibs): Likewise.
51821 Add libnss_files to routines and static-only-routines.
51822 ($(objpfx)getent): Remove rule.
51823 * resolv/Makefile: Add libnss_dns and libresolv to routines and
51824 static-only-routines.
51826 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51829 * math/s_cexp.c: Include <float.h>.
51830 (__cexp): Handle exp result overflowing not necessarily
51831 overflowing both real and imaginary parts of result.
51832 * math/s_cexpf.c: Likewise.
51833 * math/s_cexpl.c: Likewise.
51834 * math/libm-test.inc (cexp_test): Add more tests.
51835 * sysdeps/i386/fpu/libm-test-ulps: Update.
51836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51838 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51840 * include/link.h (ELFW): New macro.
51841 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51842 Replace ELF64_R_TYPE with ELFW(R_TYPE).
51844 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51846 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51849 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51851 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51853 (struct La_x32_retval): Likewise.
51855 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51857 * sysdeps/x86_64/preconfigure.in: New file.
51858 * sysdeps/x86_64/preconfigure: New generated file.
51860 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51863 * math/e_exp2l.c: Include <float.h>.
51864 (__ieee754_exp2l): Handle overflow and underflow cases
51865 separately. Only pass fractional part of argument to
51867 * math/libm-test.inc (exp2_test): Add more tests.
51869 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51870 negating x to take absolute value.
51871 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51873 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51874 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51876 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51877 computing low part if x was negated.
51878 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51880 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51882 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51883 la_x32_gnu_pltexit.
51884 (pltexit): Cast int_retval to ptrdiff_t.
51885 * elf/tst-auditmod3b.c: Likewise.
51886 * elf/tst-auditmod4b.c: Likewise.
51887 * elf/tst-auditmod5b.c: Likewise.
51888 * elf/tst-auditmod6b.c: Likewise.
51889 * elf/tst-auditmod6c.c: Likewise.
51890 * elf/tst-auditmod7b.c: Likewise.
51892 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51893 and x32_gnu_pltexit.
51895 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51896 __ELF_NATIVE_CLASS.
51897 (La_x32_regs): New macro.
51898 (La_x32_retval): Likewise.
51899 (la_x32_gnu_pltenter): New function prototype.
51900 (la_x32_gnu_pltexit): Likewise.
51902 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
51904 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51909 * configure.in (libc_cv_cc_nofma): Check for option to disable
51910 generation of FMA instructions.
51911 * configure: Regenerate.
51912 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51913 * sysdeps/ieee754/dbl-64/Makefile: New file.
51914 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51915 Remove brandred-fma4.
51916 (CFLAGS-brandred-fma4.c): Remove.
51917 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51918 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51920 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51923 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51925 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51926 LLONG_MAX != LONG_MAX.
51927 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51928 (_fitoa_word): Likewise.
51929 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51930 LLONG_MAX != LONG_MAX.
51931 * stdio-common/_itowa.h: Include <_itoa.h>.
51932 (_itowa_word): Use _ITOA_WORD_TYPE on value.
51933 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
51934 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
51935 only if not defined.
51936 (_ITOA_WORD_TYPE): Likewise.
51937 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51938 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51940 2012-03-21 David S. Miller <davem@davemloft.net>
51942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51944 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51946 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51947 of x86_64 when setting libc_cv_slibdir, libdir and
51949 * sysdeps/unix/sysv/linux/configure: Regenerated.
51951 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51953 * manual/lang.texi (Old Varargs): Remove section.
51954 (How Variadic): Update menu.
51955 (va_start): Do not mention varargs.h.
51957 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51958 Joseph Myers <joseph@codesourcery.com>
51960 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51962 * configure: Regenerated.
51964 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51966 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51967 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51970 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51973 * Makefile (files-for-dist): Remove NOTES.
51974 (NOTES): Remove rule.
51975 * README: Don't refer to NOTES.
51976 * manual/creature.texi: Don't include macros.texi.
51977 * manual/intro.texi (creature.texi): Remove comment referring to
51980 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51981 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51982 * configure: Regenerated.
51983 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51984 LIBC_TRY_CC_OPTION.
51985 (libc_cv_as_i686): Likewise.
51986 (libc_cv_cc_avx): Likewise.
51987 (libc_cv_cc_sse2avx): Likewise.
51988 (libc_cv_cc_fma4): Likewise.
51989 (libc_cv_cc_novzeroupper): Likewise.
51990 * sysdeps/i386/configure: Regenerated.
51993 * sysdeps/i386/fpu/s_cexp.S: Remove.
51994 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51995 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51996 * math/libm-test.inc (cexp_test): Add more tests.
51997 * sysdeps/i386/fpu/libm-test-ulps: Update.
51998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52000 2012-03-21 Allan McRae <allan@archlinux.org>
52002 * timezone/Makefile: Do not install iso3166.tab and zone.tab
52004 2012-03-21 Joseph Myers <joseph@codesourcery.com>
52007 * math/w_exp2.c: Do not include <float.h>.
52008 (o_threshold, u_threshold): Remove.
52009 (__exp2): Calculate result before checking finiteness and calling
52011 * math/w_exp2f.c: Likewise.
52012 * math/w_exp2l.c: Likewise.
52013 * math/libm-test.inc (exp2_test): Require overflow exception for
52017 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
52018 range of signed 64-bit integers before using fistpll. Remove
52019 checks for whether integers fit in mantissa bits.
52020 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
52021 the range of signed 32-bit integers before using fistpl. Remove
52022 checks for whether integers fit in mantissa bits.
52023 * sysdeps/i386/fpu/e_powl.S (p64): New object.
52024 (__ieee754_powl): Test for y outside the range of signed 64-bit
52025 integers before using fistpll. Reduce 64-bit values to 63-bit
52027 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
52028 divide-by-zero is raised for zero to large negative powers.
52029 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
52030 (__ieee754_powl): Test for y outside the range of signed 64-bit
52031 integers before using fistpll. Reduce 64-bit values to 63-bit
52033 * math/libm-test.inc (pow_test): Add more tests.
52035 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52037 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
52038 <stdio-common/_itoa.h>.
52039 * debug/segfault.c: Likewise.
52040 * elf/dl-cache.c: Likewise.
52041 * elf/dl-minimal.c: Likewise.
52042 * elf/dl-misc.c: Likewise.
52043 * elf/dl-sysdep.c: Likewise.
52044 * elf/dl-version.c: Likewise.
52045 * elf/rtld.c: Likewise.
52046 * hurd/hurdsock.c: Likewise.
52047 * hurd/lookup-retry.c: Likewise.
52048 * malloc/malloc.c: Likewise.
52049 * malloc/mtrace.c: Likewise.
52050 * nscd/nscd_getgr_r.c: Likewise.
52051 * nscd/nscd_getpw_r.c: Likewise.
52052 * nscd/nscd_getserv_r.c: Likewise.
52053 * posix/getopt_init.c: Likewise.
52054 * posix/wordexp.c: Likewise.
52055 * stdio-common/_itoa.c: Likewise.
52056 * stdio-common/printf_fphex.c: Likewise.
52057 * stdio-common/vfprintf.c: Likewise.
52058 * string/_strerror.c: Likewise.
52059 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
52060 * sysdeps/i386/i686/hp-timing.h: Likewise.
52061 * sysdeps/mach/_strerror.c: Likewise.
52062 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
52063 * sysdeps/mach/hurd/sethostid.c: Likewise.
52064 * sysdeps/mach/hurd/xmknodat.c: Likewise.
52065 * sysdeps/mach/xpg-strerror.c: Likewise.
52066 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52067 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52068 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
52069 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
52070 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52071 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
52072 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
52073 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
52074 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
52075 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
52076 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
52077 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52078 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
52079 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52080 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52081 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
52082 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
52083 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
52084 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
52085 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
52086 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
52088 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
52090 * stdio-common/_itoa.h: Moved to ...
52091 * sysdeps/generic/_itoa.h: Here.
52093 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52095 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52096 instead of "_itoa.h" and "_itowa.h".
52097 * stdio-common/vfprintf.: Likewise.
52099 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52101 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52103 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52104 (__signbit): Likwise.
52105 (llrintf): Likwise.
52108 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52110 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52113 2012-03-20 Joseph Myers <joseph@codesourcery.com>
52115 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52116 OVERFLOW_EXCEPTION_OK.
52117 * math/libm-test.inc ("Philosophy"): Update comment about
52119 (OVERFLOW_EXCEPTION): Define.
52120 (OVERFLOW_EXCEPTION_OK): Likewise.
52121 (INVALID_EXCEPTION_OK): Renumber.
52122 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52123 (IGNORE_ZERO_INF_SIGN): Likewise.
52124 (test_exceptions): Handle FE_OVERFLOW.
52125 (exp10_test): Expect overflow exceptions.
52126 (exp2_test): Likewise.
52127 (expm1_test): Likewise.
52128 (nextafter_test): Likewise.
52129 (pow_test): Likewise.
52130 (scalbn_test): Likewise.
52131 (scalbln_test): Likewise.
52133 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52135 * sysdeps/x86_64/bits/atomic.h
52136 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52138 (atomic_exchange_acq): Likewise.
52139 (__arch_exchange_and_add_body): Likewise.
52140 (__arch_add_body): Likewise.
52141 (atomic_add_negative): Likewise.
52142 (atomic_add_zero): Likewise.
52144 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52146 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52147 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52149 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52151 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52152 Check __x86_64__ instead of __WORDSIZE.
52154 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52156 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52158 2012-03-19 David S. Miller <davem@davemloft.net>
52160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52162 * sysdeps/sparc/fpu/fenv_private.h: New file.
52163 * sysdeps/sparc/fpu/math_private.h: Use it.
52164 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52166 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52167 (libc_feholdexcept_setroundl): Remove.
52168 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52170 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52171 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52173 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52175 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52176 int64_t instead of long int.
52177 (INSERT_WORDS64): Likwise.
52179 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52181 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52182 _Unwind_GetCFA return to _Unwind_Ptr first.
52184 2012-03-19 Joseph Myers <joseph@codesourcery.com>
52187 * math/s_clog.c: Include <float.h>.
52188 (__clog): Scale large or subnormal inputs.
52189 * math/s_clogf.c: Likewise.
52190 * math/s_clogl.c: Likewise.
52191 * math/s_clog10.c: Include <float.h>.
52192 (M_LOG10_2): Define.
52193 (__clog10): Scale large or subnormal inputs.
52194 * math/s_clog10f.c: Likewise.
52195 * math/s_clog10l.c: Likewise.
52196 * math/libm-test.inc (clog_test): Add more tests.
52197 (clog10_test): Likewise.
52198 * sysdeps/i386/fpu/libm-test-ulps: Update.
52199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52202 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52204 * math/libm-test.inc (atan2_test): Add another test.
52206 * Makerules (common-objdir-compile): Remove.
52207 * sysdeps/unix/Makefile (config-generated): Do not add
52208 $(unix-generated) to variable.
52209 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52210 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52212 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52214 [generic bits/local_lim.h] (before-compile): Do not append to
52216 [generic bits/local_lim.h] (common-generated): Likewise.
52217 [generic sys/param.h] (before-compile): Do not append to variable.
52218 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52219 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52220 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52221 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52223 [generic sys/param.h] (sys/param.h-includes): Remove variable.
52224 [generic sys/param.h] (sys/param.h-includes): Remove rule.
52225 [generic sys/param.h] ($(addprefix
52226 $(common-objpfx),$(sys/param.h-includes))): Likewise.
52227 [generic sys/param.h] (common-generated): Do not append to
52229 [generic sys/param.h] (sysdep_headers): Likewise.
52230 [generic bits/errno.h] (before-compile): Do not append to
52232 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52234 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52235 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52236 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52237 [generic bits/errno.h] (common-generated): Do not append to
52239 [generic bits/ioctls.h] (before-compile): Do not append to
52241 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52243 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52244 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52245 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52247 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52248 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52249 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52250 [generic bits/ioctls.h] (common-generated): Do not append to
52252 [generic sys/syscall.h] (syscall.h): Remove variable.
52253 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52255 [generic sys/syscall.h] (before-compile): Do not append to
52257 [generic sys/syscall.h] (common-generated): Likewise.
52258 * sysdeps/unix/errnos-tmpl.c: Remove file.
52259 * sysdeps/unix/errnos.awk: Likewise.
52260 * sysdeps/unix/ioctls-tmpl.c: Likewise.
52261 * sysdeps/unix/ioctls.awk: Likewise.
52262 * sysdeps/unix/mk-local_lim.c: Likewise.
52263 * sysdeps/unix/snarf-ioctls: Likewise.
52265 2012-03-19 Richard Henderson <rth@twiddle.net>
52267 * sysdeps/i386/fpu/fenv_private.h: New file.
52268 * sysdeps/i386/fpu/math_private.h: Use it.
52269 (math_opt_barrier, math_force_eval): Remove.
52270 (libc_feholdexcept_setround_53bit): Remove.
52271 (libc_feupdateenv_53bit): Remove.
52272 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52273 (math_opt_barrier, math_force_eval): Remove.
52274 (libc_feholdexcept): Remove.
52275 (libc_feholdexcept_setround): Remove.
52276 (libc_fetestexcept, libc_fesetenv): Remove.
52277 (libc_feupdateenv_test): Remove.
52278 (libc_feupdateenv, libc_feholdsetround): Remove.
52279 (libc_feresetround): Remove.
52281 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52282 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52284 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52285 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52286 (libc_feupdateenv_testl): New.
52287 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52288 (libc_feupdateenv_testf): New.
52289 (libc_feupdateenv): Use libc_feupdateenv_test.
52290 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52291 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52293 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52294 (libc_feholdsetroundf, libc_feholdsetroundl): New.
52295 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52296 (libc_feresetround_noex): New.
52297 (libc_feresetround_noexf): New.
52298 (libc_feresetround_noexl): New.
52299 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52300 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52301 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52302 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52304 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52305 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52307 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52308 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52309 SET_RESTORE_ROUND_NOEX.
52310 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52311 SET_RESTORE_ROUND_NOEXF.
52312 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52313 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52314 (libc_feholdsetroundf): New.
52315 (libc_feresetround, libc_feresetroundf): New.
52317 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52318 (libc_feholdexcept_setround_53bit): Convert from macro to function.
52319 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
52321 * sysdeps/generic/math_private.h: Include <fenv.h>.
52322 (default_libc_feholdexcept): New.
52323 (default_libc_feholdexcept_setround): New.
52324 (default_libc_fesetenv, default_libc_feupdateenv): New.
52325 (libc_feholdexcept): Only define if undefined.
52326 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52327 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52328 (libc_feholdexcept_setroundl): Likewise.
52329 (libc_feholdexcept_setround_53bit): Likewise.
52330 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52331 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52332 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52333 (libc_feupdateenv_53bit): Likewise.
52334 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52335 (libc_feholdexcept): Convert from macro to inline function.
52336 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52337 (libc_fesetenv, libc_feupdateenv): Likewise.
52339 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52340 not previously defined.
52341 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52342 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52343 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52344 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52345 * sysdeps/ieee754/flt-32/math_private.h: New file.
52346 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52347 math_private.h below SET_FLOAT_WORD.
52348 (__isnan, __isinf_ns, __finite): Remove.
52349 (__isnanf, __isinf_nsf, __finitef): Remove.
52351 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
52353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52355 2012-03-17 David S. Miller <davem@davemloft.net>
52358 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52361 2012-03-16 David S. Miller <davem@davemloft.net>
52363 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52367 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52369 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52370 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52371 sysdep_routines when subdir is sysvipc.
52372 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52373 __getshmlba helper.
52375 * sysdeps/sparc/fpu/libm-test/ulps: Update.
52377 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52379 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52382 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52384 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52385 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52386 (__lround): Renamed to ...
52387 (__llround): This. Replace long int with long long int.
52388 Define lround functions as aliases of llround functions.
52389 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52391 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52393 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52394 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
52395 adresses to uintptr_t. Replace "long int" and "unsigned long
52396 int" with "greg_t" on va_arg.
52398 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52400 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52401 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52403 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52404 Move e_machine check before EI_CLASS check. Handle x32
52405 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52406 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52407 SKIP_EM_IA_64 and include
52408 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52410 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52411 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52412 (add_system_dir): New macro.
52414 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52415 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52417 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52428 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52430 * math/w_j0f.c (j0f): Likewise.
52432 * math/w_j0l.c (__j0l): Likewise.
52434 * math/w_j1.c (j1): Likewise.
52436 * math/w_j1f.c (j1f): Likewise.
52438 * math/w_j1l.c (__j1l): Likewise.
52440 * math/w_jn.c (jn): Likewise.
52442 * math/w_jnf.c (jnf): Likewise.
52444 * math/w_jnl.c (__jnl): Likewise.
52446 * math/libm-test.inc (j0_test): Add more tests.
52447 (j1_test): Likewise.
52448 (jn_test): Likewise. Add trailing semicolon to existing test.
52449 (y0_test): Likewise.
52450 (y1_test): Likewise.
52451 * sysdeps/i386/fpu/libm-test-ulps: Update.
52452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52456 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52457 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52458 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52459 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52460 (__tanl): Set errno for infinite argument.
52461 * sysdeps/i386/fpu/mptan.c: Remove.
52462 * sysdeps/i386/fpu/s_tan.S: Likewise.
52463 * sysdeps/i386/fpu/s_tanl.S: Likewise.
52464 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52465 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52466 * math/libm-test.inc (tan_test): Add more tests and enable more
52467 tests for double and long double.
52468 * sysdeps/i386/fpu/libm-test-ulps: Update.
52469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52471 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
52473 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52474 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52476 2012-03-16 Roland McGrath <roland@hack.frob.com>
52478 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52479 * configure.in: Use it for both main tree and add-ons.
52480 * configure: Regenerated.
52482 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52484 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52486 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52488 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52492 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52493 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52494 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52495 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52496 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52498 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52499 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52500 != 0 for prec == 2.
52501 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52502 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52503 * sysdeps/i386/fpu/s_cosl.S: Likewise.
52504 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52505 * sysdeps/i386/fpu/s_sinl.S: Likewise.
52506 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52507 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52508 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52509 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52510 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52511 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52512 * math/libm-test.inc (cos_test): Add more tests and enable more
52513 tests for long double.
52514 (sin_test): Likewise.
52515 (sincos_test): Likewise.
52516 * sysdeps/i386/fpu/libm-test-ulps: Update.
52517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52519 2012-03-16 David S. Miller <davem@davemloft.net>
52521 * sysdeps/sparc/fpu/math_private.h: New file.
52523 2012-03-15 David S. Miller <davem@davemloft.net>
52525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52535 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52539 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52540 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52542 * sysdeps/sparc/sparc-ifunc.h: New file.
52543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52569 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52570 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52581 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52583 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52584 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52585 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52586 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52588 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52590 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52594 2012-03-15 Andreas Jaeger <aj@suse.de>
52597 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52598 ieee754/flt-32 implementation for sin, cos and sincos.
52599 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52600 * sysdeps/i386/fpu/s_cosf.S: Likewise.
52601 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52602 * sysdeps/i386/fpu/s_sinf.S: Likewise.
52603 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52604 ieee754/flt-32 implementation for tan.
52606 * math/libm-test.inc (cos_test): Enable some large input tests for
52608 (sin_test): Likewise.
52609 (sincos_test): Likewise.
52610 (tan_test): Add tests for large input.
52612 * sysdeps/i386/fpu/libm-test-ulps: Update.
52614 2012-03-15 Andreas Jaeger <aj@suse.de>
52617 * math/libm-test.inc (cos_test): Add more test cases.
52618 (sin_test): Likewise.
52619 (sincos_test): Likewise.
52621 2012-03-15 Andreas Jaeger <aj@suse.de>
52624 * math/libm-test.inc (cos_test): Add a test case for large input
52626 (sin_test): Likewise.
52627 (sincos_test): Likewise.
52629 2012-03-15 Andreas Jaeger <aj@suse.de>
52630 Joseph Myers <joseph@codesourcery.com>
52633 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52634 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52635 * sysdeps/i386/fpu/branred.c: Likewise.
52636 * sysdeps/i386/fpu/dosincos.c: Likewise.
52637 * sysdeps/i386/fpu/mpa.c: Likewise.
52638 * sysdeps/i386/fpu/s_cos.S: Likewise.
52639 * sysdeps/i386/fpu/s_sin.S: Likewise.
52640 * sysdeps/i386/fpu/s_sincos.S: Likewise.
52641 * sysdeps/i386/fpu/sincos32.c: Likewise.
52643 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52645 (libc_feupdateenv_53bit): Define.
52646 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52648 (libc_feupdateenv_53bit): Define.
52650 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52651 53 bit (without extend i386 double precision).
52653 * math/libm-test.inc (sincos_test): Add tests for large input.
52657 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52659 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52663 2012-03-15 David S. Miller <davem@davemloft.net>
52665 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52666 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52667 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52668 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52693 fmin/fmax sysdep routines.
52694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52696 2012-03-14 David S. Miller <davem@davemloft.net>
52698 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52699 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52700 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52701 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52702 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52703 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52704 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52705 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52708 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52709 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52716 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52718 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52719 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52720 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52721 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52723 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52724 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52725 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52726 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52770 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52775 * sysdeps/sparc/configure.in: New file.
52776 * sysdeps/sparc/configure: Generate.
52777 * configure.in (libc_cv_sparc_as_vis3): Substitute.
52778 * configure: Regenerate.
52779 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52780 * config.make.in (have-as-vis3): New.
52781 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52782 available use -Av9d instead of -Av9a.
52783 * sysdeps/sparc/sparc64/Makefile: Likewise.
52784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52793 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52794 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52795 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52796 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52797 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52799 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52800 fzeros/fnegs to load 0x80000000 into a float register instead of
52802 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52804 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52806 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52808 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52809 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52810 ($(inst_includedir)/bits/syscall.h): Remove rule.
52811 ($(objpfx)bits/syscall.d): Include instead of
52812 $(objpfx)syscall-list.d.
52813 (generated): Change syscall-list.h and syscall-list.d to
52814 bits/syscall.h and bits/syscall.d.
52816 2012-03-14 Roland McGrath <roland@hack.frob.com>
52819 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52821 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52824 * math/s_csqrt.c: Include <float.h>.
52825 (__csqrt): Scale large or subnormal inputs.
52826 * math/s_csqrtf.c: Likewise.
52827 * math/s_csqrtl.c: Likewise.
52828 * math/libm-test.inc (csqrt_test): Add more tests.
52829 * sysdeps/i386/fpu/libm-test-ulps: Update.
52830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52833 * math/libm-test.inc (hypot_test): Add more tests.
52835 2012-03-13 David S. Miller <davem@davemloft.net>
52838 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52839 double-precision for the calculation instead of scaling.
52841 2012-03-13 Joseph Myers <joseph@codesourcery.com>
52843 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52844 manipulate bits before adding and subtracting TWO52[sx].
52845 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52846 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52848 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52850 2012-03-13 David S. Miller <davem@davemloft.net>
52852 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52853 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52854 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52855 rtld-global-offsets.h
52856 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52858 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52861 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52863 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52864 'err' in the ifdef scope in which it is actually used.
52866 * nss/nss_db/db-init.c: Include string.h
52868 2012-03-12 David S. Miller <davem@davemloft.net>
52870 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52871 masking out of the most significant byte of random value used.
52872 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52873 Fix coding style in previous change.
52875 * sysdeps/unix/sysv/linux/kernel-features.h
52876 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52877 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52879 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52882 2012-03-11 David S. Miller <davem@davemloft.net>
52884 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52885 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52886 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52887 for 'resultvar' otherwise things get truncated on 64-bit.
52889 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52890 Fix masking out of the most significant byte of random value used.
52892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52894 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
52896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52898 2012-03-09 David S. Miller <davem@davemloft.net>
52900 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52901 variables with appropriate CPP guards.
52902 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52903 from the frame pointer, not the stack pointer. Correct layout
52904 comments. Fix test on resulting framesize and the management of
52905 the outregs buffer for pltexit. Preserve floating point return
52906 values across _dl_call_pltexit call.
52907 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52908 framesize and the management of the outregs buffer for pltexit.
52909 Preserve floating point return values across _dl_call_pltexit
52911 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52912 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52913 (la_sparc64_gnu_pltexit): New functions.
52914 (print_exit): Fix format string for return register value.
52916 2012-03-10 Joseph Myers <joseph@codesourcery.com>
52918 * sunrpc/Makefile (others): Add rpcgen.
52919 ($(objpfx)rpcgen): Remove special build rule and dependency on
52921 * sunrpc/rpcgen.c: New file.
52923 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
52926 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52927 * stdio-common/bug-vfprintf-nargs.c: Likewise.
52928 * sysdeps/i386/crti.S: Likewise.
52929 * sysdeps/i386/crtn.S: Likewise.
52930 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52931 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52932 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52933 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52934 * sysdeps/sh/crti.S: Likewise.
52935 * sysdeps/sh/crtn.S: Likewise.
52936 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52939 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52941 * locale/programs/locfile-kw.gperf: Likewise.
52942 * locale/programs/charmap-kw.h: Regenerated.
52943 * locale/programs/locfile-kw.h: Likewise.
52946 * intl/plural.y: Replace FSF snail mail address with URL.
52947 * intl/plural.c: Regenerated.
52949 2012-03-09 Richard Henderson <rth@twiddle.net>
52951 * include/math_private.h: Remove file.
52952 * math/math_private.h: Move file ...
52953 * sysdeps/generic/math_private.h: ... here.
52955 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52956 * sysdeps/powerpc/fpu/math_private.h: Likewise.
52957 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52959 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52960 and <math_private.h>.
52961 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52962 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52963 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52964 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52965 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52966 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52967 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52968 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52969 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52970 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52971 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52972 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52973 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52974 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52975 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52976 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52977 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52978 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52979 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52980 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52981 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52982 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52983 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52984 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52985 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52986 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52987 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52988 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52989 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52990 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52991 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52992 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52993 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52994 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52995 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52996 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52997 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52998 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52999 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53000 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53001 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
53002 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53003 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53004 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
53005 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
53006 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53007 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
53008 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
53009 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53010 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53011 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
53012 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
53013 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
53014 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53015 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
53016 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53017 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53018 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
53019 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
53020 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
53021 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53022 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
53023 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53024 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53025 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
53026 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53027 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53028 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53029 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
53030 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
53031 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53032 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53033 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53034 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53035 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
53036 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
53037 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
53038 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53039 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
53040 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
53041 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53042 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
53043 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53044 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53045 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53046 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
53047 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
53048 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
53049 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53050 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53051 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53052 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53053 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53054 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53055 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53056 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53057 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53058 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53059 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53060 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53061 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53062 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53063 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53064 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53065 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53066 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53067 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53068 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53069 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53070 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53071 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53072 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53073 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53074 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53075 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
53076 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53077 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53078 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53079 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53080 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53081 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53082 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53083 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53084 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
53085 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53086 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53087 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53088 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
53089 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53090 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
53091 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
53092 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53093 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53094 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53095 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53096 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53097 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53098 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53099 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53100 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53101 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53102 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53103 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53104 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53105 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53106 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53107 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53108 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53109 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53110 * sysdeps/ieee754/k_standard.c: Likewise.
53111 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53112 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53113 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53114 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53115 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53116 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53117 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53118 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53119 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53120 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53121 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53122 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53123 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53124 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53125 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53126 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53127 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53128 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53129 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53130 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53131 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53132 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53133 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53134 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53135 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53136 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53137 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53138 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53139 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53140 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53141 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53142 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53143 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53144 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53145 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53146 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53147 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53148 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53149 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53150 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53151 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53152 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53153 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53154 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53155 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53156 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53157 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53158 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53159 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53160 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53161 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53162 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53163 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53164 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53165 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53166 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53167 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53168 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53169 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53170 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53171 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53172 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53173 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53174 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53175 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53176 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53177 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53178 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53179 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53180 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53181 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53183 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53184 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53185 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53186 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53187 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53188 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53189 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53190 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53191 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53192 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53193 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53194 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53195 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53196 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53197 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53198 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53199 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53200 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53201 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53202 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53203 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53204 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53205 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53206 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53207 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53208 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53209 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53210 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53211 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53212 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53213 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53214 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53215 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53216 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53217 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53218 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53219 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53220 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53221 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53222 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53223 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53224 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53225 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53226 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53227 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53228 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53229 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53230 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53231 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53232 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53233 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53234 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53235 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53236 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53237 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53238 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53239 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53240 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53241 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53242 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53243 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53244 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53245 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53246 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53247 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53248 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53249 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53250 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53251 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53252 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53253 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53254 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53255 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53256 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53257 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53258 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53259 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53260 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53261 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53262 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53263 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53264 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53265 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53266 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53267 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53268 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53269 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53270 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53271 * sysdeps/ieee754/s_lib_version.c: Likewise.
53272 * sysdeps/ieee754/s_matherr.c: Likewise.
53273 * sysdeps/ieee754/s_signgam.c: Likewise.
53274 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53275 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53276 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53277 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53278 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53279 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53280 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53281 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53282 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53283 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53284 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53285 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53286 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53287 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53288 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53289 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53290 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53291 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53292 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53293 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53294 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53296 2012-03-09 Joseph Myers <joseph@codesourcery.com>
53298 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53299 * sunrpc/rpc_main.c: Likewise.
53300 * sunrpc/rpc_svcout.c: Likewise.
53302 2012-03-09 David S. Miller <davem@davemloft.net>
53304 * include/math_private.h: New file.
53306 2012-03-09 Joseph Myers <joseph@codesourcery.com>
53308 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53309 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53310 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53311 from <bits/socket_type.h>.
53312 (enum __socket_type): Don't define here.
53313 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53315 bits/socket_type.h.
53318 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53319 checking __USE_GNU.
53321 * Makerules ($(inst_includedir)/%.h): New rule.
53322 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53323 (install-others): Remove variable setting.
53324 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53326 2012-03-08 Richard Henderson <rth@twiddle.net>
53328 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53329 from macro to inline function; merge with the
53330 !__LIBC_INTERNAL_MATH_INLINES version.
53331 (__ieee754_sqrtf): Likewise.
53333 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53334 to inline function.
53335 (__rintf, __floor, __floorf): Likewise.
53337 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53338 macro to inline function.
53339 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53341 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53342 not <math/math_private.h>.
53344 2012-03-08 David S. Miller <davem@davemloft.net>
53346 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53348 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53350 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
53352 * resolv/gai_misc.c (handle_requests): Fix struct timespec
53354 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53355 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53357 2012-03-08 Ulrich Drepper <drepper@gmail.com>
53359 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
53360 be defined individually, they must be defined as a block. Define
53361 S for printing a string instead of hidint the different by using a
53362 macro for adding the 'l'.
53363 * stdio-common/tst-fphex-wide.c: Adjust.
53365 2012-03-07 Marek Polacek <polacek@redhat.com>
53367 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53369 2012-03-08 Marek Polacek <polacek@redhat.com>
53372 * stdio-common/Makefile (tests): Add tst-fphex-wide.
53373 * stdio-common/tst-fphex.c: Define a few macros to make the
53374 test reusable. Use them.
53375 * stdio-common/tst-fphex-wide.c: New file.
53377 2012-03-08 Joseph Myers <joseph@codesourcery.com>
53380 * manual/macros.texi (gnusystems): New macro.
53381 (nongnusystems): Likewise.
53382 (gnulinuxhurdsystems): Likewise.
53383 (gnuhurdsystems): Likewise..
53384 (gnulinuxsystems): Likewise.
53385 * manual/charset.texi: Use new macros or @theglibc{} to refer to
53386 variants of the GNU system, not "GNU system".
53387 * manual/conf.texi: Likewise.
53388 * manual/errno.texi: Likewise. Update example of errno macro
53390 * manual/filesys.texi: Likewise.
53391 (getumask): Document as specific to GNU/Hurd.
53392 * manual/install.texi: Likewise. Reword some references to
53394 * manual/intro.texi: Likewise.
53395 * manual/io.texi: Likewise.
53396 (File Name Portability): Detail which constraints are inapplicable
53397 to all GNU systems and which are only inapplicable to GNU/Hurd.
53398 * manual/job.texi: Likewise.
53399 * manual/llio.texi: Likewise.
53400 (O_NOCTTY): Document as present on GNU/Linux.
53401 * manual/maint.texi: Likewise.
53402 * manual/memory.texi: Likewise.
53403 * manual/pattern.texi: Likewise.
53404 * manual/pipe.texi: Likewise.
53405 * manual/process.texi: Likewise.
53406 * manual/resource.texi: Likewise.
53407 (RUSAGE_CHILDREN): Remove statement about specifying a particular
53409 * manual/setjmp.texi: Likewise.
53410 * manual/signal.texi: Likewise.
53411 * manual/startup.texi: Likewise.
53412 * manual/stdio.texi: Likewise.
53413 * manual/terminal.texi: Likewise.
53414 (ONLCR): Document as POSIX.
53415 (OXTABS): Document availability on GNU/Linux as XTABS.
53416 (ONOEOT): Document availability separately from other bits.
53417 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53418 * manual/time.texi: Likewise.
53419 * manual/users.texi: Likewise.
53420 * INSTALL: Regenerated.
53421 * sysdeps/gnu/errlist.c: Regenerated.
53423 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53424 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53425 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
53427 * configure: Regenerated.
53429 2012-03-07 Joseph Myers <joseph@codesourcery.com>
53431 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53432 default includes instead of AC_HEADER_CHECK.
53433 * sysdeps/i386/configure: Regenerated.
53436 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53437 * math/s_cacoshf.c (__cacoshf): Likewise.
53438 * math/s_cacoshl.c (__cacoshl): Likewise.
53439 * math/s_casinh.c (__casinh): Set signs of result from argument.
53440 * math/s_casinhf.c (__casinhf): Likewise.
53441 * math/s_casinhl.c (__casinhl): Likewise.
53442 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53443 (casinh_test): Add more tests.
53444 * sysdeps/i386/fpu/libm-test-ulps: Update.
53445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53447 2012-03-07 Ulrich Drepper <drepper@gmail.com>
53449 * po/zh_TW.po: Update from translation team.
53451 * login/Makefile (distribute): Remove variable.
53452 * catgets/Makefile: Likewise.
53453 * mach/Makefile: Likewise.
53454 * malloc/Makefile: Likewise.
53455 * misc/Makefile: Likewise.
53456 * iconv/Makefile: Likewise.
53457 * nscd/Makefile: Likewise.
53458 * hurd/Makefile: Likewise.
53459 * manual/Makefile: Likewise.
53460 * locale/Makefile: Likewise.
53461 * intl/Makefile: Likewise.
53462 * conform/Makefile: Likewise.
53463 * nss/Makefile: Likewise.
53464 * time/Makefile: Likewise.
53465 * soft-fp/Makefile: Likewise.
53466 * dirent/Makefile: Likewise.
53467 * gmon/Makefile: Likewise.
53468 * po/Makefile: Likewise.
53469 * rt/Makefile: Likewise.
53470 * socket/Makefile: Likewise.
53471 * math/Makefile: Likewise.
53472 * signal/Makefile: Likewise.
53473 * debug/Makefile: Likewise.
53474 * elf/Makefile: Likewise.
53475 * timezone/Makefile: Likewise.
53476 * stdlib/Makefile: Likewise.
53477 * iconvdata/Makefile: Likewise.
53478 * sunrpc/Makefile: Likewise.
53479 * io/Makefile: Likewise.
53480 * argp/Makefile: Likewise.
53481 * inet/Makefile: Likewise.
53482 * hesiod/Makefile: Likewise.
53483 * grp/Makefile: Likewise.
53484 * csu/Makefile: Likewise.
53485 * wctype/Makefile: Likewise.
53486 * crypt/Makefile: Likewise.
53487 * libio/Makefile: Likewise.
53488 * string/Makefile: Likewise.
53489 * nis/Makefile: Likewise.
53490 * resolv/Makefile: Likewise.
53491 * stdio-common/Makefile: Likewise.
53492 * wcsmbs/Makefile: Likewise.
53493 * dlfcn/Makefile: Likewise.
53494 * posix/Makefile: Likewise.
53497 * timezone/Makefile: Don't install timezone files, just the programs
53500 2012-03-06 Ulrich Drepper <drepper@gmail.com>
53502 * nss/databases.def: Add missing gshadow entry.
53504 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
53506 2012-03-06 Marek Polacek <polacek@redhat.com>
53509 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53510 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53511 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53512 * stdio-common/tst-long-dbl-fphex.c: New file.
53514 2012-03-06 David S. Miller <davem@davemloft.net>
53516 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53517 (set_obp_int): New function.
53518 (get_obp_int): New function.
53519 (__get_clockfreq_via_dev_openprom): Likewise.
53520 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53521 Avoid unused variable warnings on 'val' and use builtin_expect.
53522 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53524 (INLINE_CLONE_SYSCALL): Likewise.
53526 2012-03-05 David S. Miller <davem@davemloft.net>
53528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53530 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
53532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53534 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53535 only for |x| >= 40.
53536 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53538 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
53540 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53541 Replace gettimeofday with __vdso_gettimeofday.
53543 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53544 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53545 __vdso_clock_gettime and __vdso_getcpu.
53547 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53548 time with __vdso_time.
53550 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53552 * manual/lang.texi (size_t): Note types to which size_t may be
53553 equivalent with the GNU C Library, but do not describe when
53554 differences between them are significant.
53556 2012-03-05 Andreas Jaeger <aj@suse.de>
53558 * sysdeps/i386/fpu/libm-test-ulps: Update.
53560 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53563 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53564 (__ieee754_pow): Save and restore rounding mode and use
53565 round-to-nearest for main computations.
53566 * math/libm-test.inc (pow_test_tonearest): New function.
53567 (pow_test_towardzero): Likewise.
53568 (pow_test_downward): Likewise.
53569 (pow_test_upward): Likewise.
53570 (main): Call the new functions.
53571 * sysdeps/i386/fpu/libm-test-ulps: Update.
53572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53575 * math/libm-test.inc (cosh_test_tonearest): New function.
53576 (cosh_test_towardzero): Likewise.
53577 (cosh_test_downward): Likewise.
53578 (cosh_test_upward): Likewise.
53579 (sinh_test_tonearest): Likewise.
53580 (sinh_test_towardzero): Likewise.
53581 (sinh_test_downward): Likewise.
53582 (sinh_test_upward): Likewise.
53583 (main): Call the new functions.
53584 * sysdeps/i386/fpu/libm-test-ulps: Update.
53585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53587 2012-03-05 Tom de Vries <tom@codesourcery.com>
53589 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53590 default stack guard is set in last bytes.
53591 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53593 2012-03-05 Kees Cook <keescook@chromium.org>
53595 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53598 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53599 possibly allocate from heap instead of stack.
53600 * stdio-common/bug-vfprintf-nargs.c: New file.
53601 * stdio-common/Makefile (tests): Add nargs overflow test.
53603 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
53605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53607 2012-03-03 Marek Polacek <polacek@redhat.com>
53609 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53610 * math/math_private.h: Likewise.
53611 * stdlib/tst-strtod.c: Likewise.
53612 * sysdeps/i386/i486/bits/atomic.h: Likewise.
53613 * sysdeps/x86_64/bits/atomic.h: Likewise.
53615 2012-03-02 David S. Miller <davem@davemloft.net>
53617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53621 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53622 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53623 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53624 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53626 2012-03-02 Roland McGrath <roland@hack.frob.com>
53629 * manual/examples/README: New file, says the example source files
53630 can be used under GPL>=2.
53631 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53632 line containing just "*/".
53633 * manual/examples/add.c: Add copyright header (GPL>=2).
53634 * manual/examples/argp-ex1.c: Likewise.
53635 * manual/examples/argp-ex2.c: Likewise.
53636 * manual/examples/argp-ex3.c: Likewise.
53637 * manual/examples/argp-ex4.c: Likewise.
53638 * manual/examples/atexit.c: Likewise.
53639 * manual/examples/db.c: Likewise.
53640 * manual/examples/dir.c: Likewise.
53641 * manual/examples/dir2.c: Likewise.
53642 * manual/examples/execinfo.c: Likewise.
53643 * manual/examples/filecli.c: Likewise.
53644 * manual/examples/filesrv.c: Likewise.
53645 * manual/examples/fmtmsgexpl.c: Likewise.
53646 * manual/examples/genpass.c: Likewise.
53647 * manual/examples/inetcli.c: Likewise.
53648 * manual/examples/inetsrv.c: Likewise.
53649 * manual/examples/isockad.c: Likewise.
53650 * manual/examples/longopt.c: Likewise.
53651 * manual/examples/memopen.c: Likewise.
53652 * manual/examples/memstrm.c: Likewise.
53653 * manual/examples/mkfsock.c: Likewise.
53654 * manual/examples/mkisock.c: Likewise.
53655 * manual/examples/mygetpass.c: Likewise.
53656 * manual/examples/pipe.c: Likewise.
53657 * manual/examples/popen.c: Likewise.
53658 * manual/examples/rprintf.c: Likewise.
53659 * manual/examples/search.c: Likewise.
53660 * manual/examples/select.c: Likewise.
53661 * manual/examples/setjmp.c: Likewise.
53662 * manual/examples/sigh1.c: Likewise.
53663 * manual/examples/sigusr.c: Likewise.
53664 * manual/examples/stpcpy.c: Likewise.
53665 * manual/examples/strdupa.c: Likewise.
53666 * manual/examples/strftim.c: Likewise.
53667 * manual/examples/strncat.c: Likewise.
53668 * manual/examples/subopt.c: Likewise.
53669 * manual/examples/swapcontext.c: Likewise.
53670 * manual/examples/termios.c: Likewise.
53671 * manual/examples/testopt.c: Likewise.
53672 * manual/examples/testpass.c: Likewise.
53673 * manual/examples/timeval_subtract.c: Likewise.
53676 * manual/time.texi (Elapsed Time): Move timeval_subtract example
53678 * manual/timeval_subtract.c.texi: ... here, new file.
53680 2012-03-02 David S. Miller <davem@davemloft.net>
53682 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53684 2012-03-02 Joseph Myers <joseph@codesourcery.com>
53687 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53688 (__sin): Save and restore rounding mode and use round-to-nearest
53689 for all computations.
53690 (__cos): Save and restore rounding mode and use round-to-nearest
53691 for all computations.
53692 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53694 (tan): Save and restore rounding mode and use round-to-nearest for
53696 * math/libm-test.inc (cos_test_tonearest): New function.
53697 (cos_test_towardzero): Likewise.
53698 (cos_test_downward): Likewise.
53699 (cos_test_upward): Likewise.
53700 (sin_test_tonearest): Likewise.
53701 (sin_test_towardzero): Likewise.
53702 (sin_test_downward): Likewise.
53703 (sin_test_upward): Likewise.
53704 (tan_test_tonearest): Likewise.
53705 (tan_test_towardzero): Likewise.
53706 (tan_test_downward): Likewise.
53707 (tan_test_upward): Likewise.
53708 (main): Call the new functions.
53709 * sysdeps/i386/fpu/libm-test-ulps: Update.
53710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53713 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53714 small n, then large n, before computing and testing k+n.
53715 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53716 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53718 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53720 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53721 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53722 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53723 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53724 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53725 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53726 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53727 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53728 * math/libm-test.inc (scalbn_test): Add more tests.
53729 (scalbln_test): Likewise.
53731 * manual/filesys.texi (mode_t): Describe constraints on size and
53732 signedness, not exact equivalence to a particular type.
53734 (ino64_t): Likewise.
53736 (nlink_t): Likewise.
53737 (blkcnt_t): Likewise.
53738 (blkcnt64_t): Likewise.
53739 * manual/llio.texi (off_t): Likewise.
53742 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53743 (__ieee754_exp): Save and restore rounding mode and use
53744 round-to-nearest for all computations.
53745 * math/libm-test.inc (exp_test_tonearest): New function.
53746 (exp_test_towardzero): Likewise.
53747 (exp_test_downward): Likewise.
53748 (exp_test_upward): Likewise.
53749 (main): Call the new functions.
53750 * sysdeps/i386/fpu/libm-test-ulps: Update.
53751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53753 2012-03-01 Chris Demetriou <cgd@google.com>
53755 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53756 have predictable order.
53758 2012-03-01 David S. Miller <davem@davemloft.net>
53760 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53762 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53763 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53764 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53765 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53767 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53768 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53769 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53771 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53772 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53773 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53774 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53775 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53779 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53780 * sysdeps/sparc/fpu/libm-test-ulps: to here.
53781 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53783 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53784 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53785 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53786 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53787 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53788 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53789 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53790 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53791 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53792 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53793 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53794 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53795 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53796 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53797 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53798 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53799 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53800 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53801 * sysdeps/sparc/elf/configure: Regenerated.
53803 2012-03-01 Joseph Myers <joseph@codesourcery.com>
53805 * configure.in (AS, LD): Require binutils 2.20 or later.
53806 * configure: Regenerated.
53807 * manual/install.texi (Tools for Compilation): Give binutils 2.20
53808 as required minimum version.
53809 * INSTALL: Regenerated.
53813 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53814 before squaring exponent.
53815 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53816 bottom long double and 27 bits of top long double before squaring
53818 * math/libm-test.inc (erfc_test): Add more tests.
53819 * sysdeps/i386/fpu/libm-test-ulps: Update.
53820 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53823 2012-03-01 Kai Tietz <ktietz@redhat.com>
53825 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53826 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53827 containing bit-fields.
53828 * soft-fp/extended.h (_FP_UNION_E): Likewise.
53829 * soft-fp/single.h (_FP_UNION_S): Likewise.
53830 * soft-fp/double.h (_FP_UNION_D): Likewise.
53832 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53835 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53836 not include ../strcmp.S.
53837 [USE_AS_STRNCASECMP_L]: Likewise.
53838 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53839 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53840 * sysdeps/i386/i686/multiarch/strncase_l-c.c
53841 (__strncasecmp_l_ia32): Define as alias to
53842 __strncasecmp_l_nonascii.
53845 * math/libm-test.inc (expm1_test): Add test for bug 5794.
53846 * sysdeps/i386/fpu/libm-test-ulps: Update.
53847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53849 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53852 2012-02-29 Jeff Law <law@redhat.com>
53854 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53855 out of bounds read.
53857 2012-02-29 Marek Polacek <polacek@redhat.com>
53860 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53861 * elf/Makefile: Add rules to run tst-unused-dep.out.
53863 2012-02-28 David S. Miller <davem@davemloft.net>
53865 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53866 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53867 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53868 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53869 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53870 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53872 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53874 * math/libm-test.inc (llround_test): Move one test from
53875 lround_test. Use TEST_f_L in moved test.
53876 (lround_test): Move misplaced test to llround_test. Add testcase
53879 2012-02-28 Ulrich Drepper <drepper@gmail.com>
53881 * sysdeps/x86_64/fpu/e_expf.S: New file.
53882 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53884 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
53887 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53888 of remain_len that may cause incomplete multi-byte character and
53890 * posix/bug-regex33.c: New file.
53891 * posix/Makefile (tests): Add bug-regex33.
53893 2012-02-28 Joseph Myers <joseph@codesourcery.com>
53895 * manual/macros.texi: New file.
53896 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53897 * manual/libc.texinfo: Include macros.texi.
53898 * manual/creatute.texi: Likewise.
53899 * manual/install.texi: Likewise.
53900 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53901 @glibcadj{} in references to the GNU C Library.
53902 * manual/charset.texi: Likewise.
53903 * manual/conf.texi: Likewise.
53904 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
53905 when not using those macros.
53906 * manual/creature.texi: Likewise.
53907 * manual/crypt.texi: Likewise.
53908 * manual/errno.texi: Likewise.
53909 * manual/filesys.texi: Likewise.
53910 * manual/header.texi: Likewise.
53911 * manual/install.texi: Likewise.
53912 * manual/intro.texi: Likewise.
53913 * manual/io.texi: Likewise.
53914 * manual/job.texi: Likewise.
53915 * manual/lang.texi: Likewise.
53916 * manual/libc.texiinfo: Likewise.
53917 * manual/llio.texi: Likewise.
53918 * manual/locale.texi: Likewise.
53919 * manual/maint.texi: Likewise.
53920 * manual/math.texi: Likewise.
53921 * manual/memory.texi: Likewise.
53922 * manual/message.texi: Likewise.
53923 * manual/nss.texi: Likewise.
53924 * manual/pattern.texi: Likewise.
53925 * manual/process.texi: Likewise.
53926 * manual/resource.texi: Likewise.
53927 * manual/search.texi: Likewise.
53928 * manual/setjmp.texi: Likewise.
53929 * manual/signal.texi: Likewise.
53930 * manual/socket.texi: Likewise.
53931 * manual/startup.texi: Likewise.
53932 * manual/stdio.texi: Likewise.
53933 * manual/string.texi: Likewise.
53934 * manual/sysinfo.texi: Likewise.
53935 * manual/syslog.texi: Likewise.
53936 * manual/terminal.texi: Likewise.
53937 * manual/time.texi: Likewise.
53938 * manual/users.texi: Likewise.
53939 * INSTALL: Regenerated.
53940 * NOTES: Regenerated.
53941 * sysdeps/gnu/errlist.c: Regenerated.
53943 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
53945 * include/dirent.h: Include <dirstream.h> before
53948 2012-02-28 David S. Miller <davem@davemloft.net>
53950 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53951 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53952 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53953 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53955 2012-02-27 David S. Miller <davem@davemloft.net>
53957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53959 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53960 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53963 frame pointer instead of stack pointer relative arg slot.
53964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53965 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53966 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53968 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
53971 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53973 2012-02-27 David S. Miller <davem@davemloft.net>
53975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53979 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53980 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53981 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53982 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53984 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53986 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53987 later. Allow versions 5-9.
53988 * configure: Regenerated.
53989 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53990 required minimum version and 4.6 as recommended version. Do not
53991 mention bugs in GCC 2.7 and 2.8.
53992 * INSTALL: Regenerated.
53994 2012-02-27 David S. Miller <davem@davemloft.net>
53996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
54000 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
54001 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
54002 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
54003 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
54005 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
54006 manipulate bits before adding and subtracting TWO112[sx].
54007 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
54009 2012-02-27 Roland McGrath <roland@hack.frob.com>
54012 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
54013 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
54014 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
54015 being in POSIX, because they are in 1003.1-2008.
54017 * rt/tst-aio.c: Include <fcntl.h>.
54018 * rt/tst-aio7.c: Likewise.
54019 * rt/tst-aio64.c: Likewise.
54021 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
54023 2012-02-27 Joseph Myers <joseph@codesourcery.com>
54025 * manual/install.texi (--with-headers): Describe headers as
54026 interface headers, not private headers.
54027 (Specific advice for GNU/Linux systems): Describe use of headers
54028 from "make headers_install", not private headers from older
54030 * INSTALL: Regenerated.
54031 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
54033 * sysdeps/unix/sysv/linux/configure: Regenerated.
54035 * manual/llio.texi (fclean): Remove documentation.
54037 * manual/Makefile (libc-texi-generated): New variable. Include
54039 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
54040 $(libc-texi-generated), not duplicated list of files.
54041 (version.texi, stamp-version): New rules.
54042 (realclean): Remove $(libc-texi-generated), not individual files
54043 from that list. Do not remove dir-add.texinfo.
54044 * manual/libc.texinfo: Comment out uses of edition numbers and
54045 references to printed manual. Remove last-updated dates.
54046 (EDITION): Comment out.
54048 (VERSION, UPDATED): Remove.
54049 (version.texi): Include.
54051 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
54053 * sysdeps/posix/spawni.c: Include <signal.h>.
54054 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
54055 * sysdeps/pthread/aio_fsync.c: Likewise.
54057 2012-02-26 Ulrich Drepper <drepper@gmail.com>
54059 * conform/Makefile (tests): Run only when not cross-compiling and
54060 when fast-check is not defined.
54062 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
54063 * conform/data/limits.h-data: Fixes for POSIX2008.
54064 * conform/run-conformtest.sh: Run all tests.
54065 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
54067 * include/bits/dlfcn.h: Likewise.
54068 * include/langinfo.h: Likewise.
54069 * include/monetary.h: Likewise.
54070 * include/sys/poll.h: Likewise.
54072 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
54074 * posix/spawn.h: Define __need_sigset_t.
54075 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
54076 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
54077 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
54078 to get sigevent_t only.
54079 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
54080 only for __USE_GNU.
54081 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54082 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54083 process_vm_writev only for __USE_GNU.
54084 * termios/termios.h: Declare tcgetsid also for POSIX2008.
54086 * conform/Makefile: For now ignore errors from run-conformtest.
54087 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
54088 POSIX to avoid namespace pollution. Don't prepend headers.
54089 * conform/data/aio.h-data: Fixes for POSIX testing.
54090 * conform/data/fcntl.h-data: Likewise.
54091 * conform/data/glob.h-data: Likewise.
54092 * conform/data/grp.h-data: Likewise.
54093 * conform/data/pthread.h-data: Likewise.
54094 * conform/data/pwd.h-data: Likewise.
54095 * conform/data/signal.h-data: Likewise.
54096 * conform/data/spawn.h-data: Likewise.
54097 * conform/data/stdio.h-data: Likewise.
54098 * conform/data/stdlib.h-data: Likewise.
54099 * conform/data/stropts.h-data: Likewise.
54100 * conform/data/sys/mman.h-data: Likewise.
54101 * conform/data/sys/stat.h-data: Likewise.
54102 * conform/data/sys/types.h-data: Likewise.
54103 * conform/data/sys/wait.h-data: Likewise.
54104 * conform/data/time.h-data: Likewise.
54105 * conform/data/unistd.h-data: Likewise.
54106 * conform/data/utime.h-data: Likewise.
54108 * io/sys/stat.h: fchmod was always in POSIX.
54109 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54110 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54111 * rt/aio.h: Define __need_timespec before including <time.h>.
54112 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54113 struct. Add forward declaration of pthread_attr_t and use it in
54115 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54116 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54117 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54118 always remove CLK_TCK definition.
54120 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
54122 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54124 2012-02-25 Ulrich Drepper <drepper@gmail.com>
54126 * conform/run-conformtest.sh: New file.
54127 * conform/Makefile: Run run-conformtest for tests.
54128 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
54131 * conform/data/uchar.h-data: New file.
54132 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54133 * conform/data/arpa/inet.h-data: Likewise.
54134 * conform/data/assert.h-data: Likewise.
54135 * conform/data/complex.h-data: Likewise.
54136 * conform/data/cpio.h-data: Likewise.
54137 * conform/data/ctype.h-data: Likewise.
54138 * conform/data/dirent.h-data: Likewise.
54139 * conform/data/dlfcn.h-data: Likewise.
54140 * conform/data/errno.h-data: Likewise.
54141 * conform/data/fcntl.h-data: Likewise.
54142 * conform/data/float.h-data: Likewise.
54143 * conform/data/fmtmsg.h-data: Likewise.
54144 * conform/data/fnmatch.h-data: Likewise.
54145 * conform/data/ftw.h-data: Likewise.
54146 * conform/data/glob.h-data: Likewise.
54147 * conform/data/grp.h-data: Likewise.
54148 * conform/data/iconv.h-data: Likewise.
54149 * conform/data/inttypes.h-data: Likewise.
54150 * conform/data/langinfo.h-data: Likewise.
54151 * conform/data/libgen.h-data: Likewise.
54152 * conform/data/limits.h-data: Likewise.
54153 * conform/data/locale.h-data: Likewise.
54154 * conform/data/math.h-data: Likewise.
54155 * conform/data/monetary.h-data: Likewise.
54156 * conform/data/mqueue.h-data: Likewise.
54157 * conform/data/ndbm.h-data: Likewise.
54158 * conform/data/net/if.h-data: Likewise.
54159 * conform/data/netdb.h-data: Likewise.
54160 * conform/data/netinet/in.h-data: Likewise.
54161 * conform/data/nl_types.h-data: Likewise.
54162 * conform/data/poll.h-data: Likewise.
54163 * conform/data/pthread.h-data: Likewise.
54164 * conform/data/pwd.h-data: Likewise.
54165 * conform/data/regex.h-data: Likewise.
54166 * conform/data/sched.h-data: Likewise.
54167 * conform/data/search.h-data: Likewise.
54168 * conform/data/semaphore.h-data: Likewise.
54169 * conform/data/setjmp.h-data: Likewise.
54170 * conform/data/signal.h-data: Likewise.
54171 * conform/data/spawn.h-data: Likewise.
54172 * conform/data/stdarg.h-data: Likewise.
54173 * conform/data/stdio.h-data: Likewise.
54174 * conform/data/stdlib.h-data: Likewise.
54175 * conform/data/string.h-data: Likewise.
54176 * conform/data/strings.h-data: Likewise.
54177 * conform/data/stropts.h-data: Likewise.
54178 * conform/data/sys/ipc.h-data: Likewise.
54179 * conform/data/sys/mman.h-data: Likewise.
54180 * conform/data/sys/msg.h-data: Likewise.
54181 * conform/data/sys/resource.h-data: Likewise.
54182 * conform/data/sys/select.h-data: Likewise.
54183 * conform/data/sys/sem.h-data: Likewise.
54184 * conform/data/sys/shm.h-data: Likewise.
54185 * conform/data/sys/socket.h-data: Likewise.
54186 * conform/data/sys/stat.h-data: Likewise.
54187 * conform/data/sys/statvfs.h-data: Likewise.
54188 * conform/data/sys/time.h-data: Likewise.
54189 * conform/data/sys/timeb.h-data: Likewise.
54190 * conform/data/sys/times.h-data: Likewise.
54191 * conform/data/sys/types.h-data: Likewise.
54192 * conform/data/sys/uio.h-data: Likewise.
54193 * conform/data/sys/un.h-data: Likewise.
54194 * conform/data/sys/utsname.h-data: Likewise.
54195 * conform/data/sys/wait.h-data: Likewise.
54196 * conform/data/syslog.h-data: Likewise.
54197 * conform/data/tar.h-data: Likewise.
54198 * conform/data/termios.h-data: Likewise.
54199 * conform/data/utime.h-data: Likewise.
54200 * conform/data/utmpx.h-data: Likewise.
54201 * conform/data/varargs.h-data: Likewise.
54202 * conform/data/wchar.h-data: Likewise.
54203 * conform/data/wctype.h-data: Likewise.
54204 * conform/data/wordexp.h-data: Likewise.
54206 * include/stropts.h: New file.
54207 * include/uchar.h: New file.
54208 * include/aio.h: Changes to allow conformtest.pl to use the headers.
54209 * include/assert.h: Likewise.
54210 * include/ctype.h: Likewise.
54211 * include/dirent.h: Likewise.
54212 * include/dlfcn.h: Likewise.
54213 * include/fcntl.h: Likewise.
54214 * include/fnmatch.h: Likewise.
54215 * include/glob.h: Likewise.
54216 * include/grp.h: Likewise.
54217 * include/libio.h: Likewise.
54218 * include/locale.h: Likewise.
54219 * include/math.h: Likewise.
54220 * include/net/if.h: Likewise.
54221 * include/netdb.h: Likewise.
54222 * include/netinet/in.h: Likewise.
54223 * include/pthread.h: Likewise.
54224 * include/pwd.h: Likewise.
54225 * include/regex.h: Likewise.
54226 * include/sched.h: Likewise.
54227 * include/search.h: Likewise.
54228 * include/setjmp.h: Likewise.
54229 * include/signal.h: Likewise.
54230 * include/stdio.h: Likewise.
54231 * include/stdlib.h: Likewise.
54232 * include/string.h: Likewise.
54233 * include/sys/cdefs.h: Likewise.
54234 * include/sys/mman.h: Likewise.
54235 * include/sys/msg.h: Likewise.
54236 * include/sys/resource.h: Likewise.
54237 * include/sys/select.h: Likewise.
54238 * include/sys/socket.h: Likewise.
54239 * include/sys/stat.h: Likewise.
54240 * include/sys/statvfs.h: Likewise.
54241 * include/sys/time.h: Likewise.
54242 * include/sys/times.h: Likewise.
54243 * include/sys/uio.h: Likewise.
54244 * include/sys/utsname.h: Likewise.
54245 * include/sys/wait.h: Likewise.
54246 * include/termios.h: Likewise.
54247 * include/time.h: Likewise.
54248 * include/ulimit.h: Likewise.
54249 * include/unistd.h: Likewise.
54250 * include/utime.h: Likewise.
54251 * include/wchar.h: Likewise.
54252 * include/wctype.h: Likewise.
54253 * include/wordexp.h: Likewise.
54255 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54257 * time/time.h: TIME_UTC must be a macro.
54258 Make timespec_get available for ISO C11 only as well.
54260 2012-02-24 Ulrich Drepper <drepper@gmail.com>
54262 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54263 Reported by Peng Haitao <penght@cn.fujitsu.com>.
54265 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54267 * configure.in: Use -o not -a in test for unsupported multi-arch.
54269 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54271 * manual/texinfo.tex: Update to version 2012-01-19.16.
54273 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54275 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54277 2012-02-24 Roland McGrath <roland@hack.frob.com>
54280 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54281 * manual/fdl-1.3.texi: New file.
54282 * manual/fdl-1.1.texi: File removed.
54285 * manual/libc.texinfo (FDL_VERSION): New @set.
54286 Use it for mention of FDL in cover text.
54287 (Documentation License): Use it in @include file name.
54289 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54290 Roland McGrath <roland@hack.frob.com>
54293 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54294 (not LONG_LONG_MAX and LONG_LONG_MIN.
54295 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54296 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
54298 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54300 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54304 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54305 manipulate bits before adding and subtracting TWO23[sx].
54306 * math/libm-test.inc (nearbyint_test): Add more tests.
54308 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54311 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54312 bits before adding and subtracting TWO23[sx].
54313 * math/libm-test.inc (rint_test): Add more tests.
54314 (rint_test_tonearest): Likewise.
54315 (rint_test_towardzero): Likewise.
54316 (rint_test_downward): Likewise.
54317 (rint_test_upward: Likewise.
54319 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54322 * include/stdc-predef.h: New file. Extracted from features.h.
54323 * include/features.h: Include stdc-predef.h.
54324 * Makefile (headers): Add stdc-predef.h.
54325 * CONFORMANCE (Compiler limitations): Update.
54327 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54329 * manual/libc.texinfo (VERSION, UPDATED): Revert.
54331 2012-02-21 David S. Miller <davem@davemloft.net>
54333 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54334 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54336 2012-02-20 David S. Miller <davem@davemloft.net>
54338 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54339 using a normal save/restore sequence, rather than allocating a
54340 dummy stack frame just to store a frame pointer and restore.
54341 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54343 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54345 * manual/install.texi: Fix stray word in line-wrapped comment.
54347 2012-02-20 David S. Miller <davem@davemloft.net>
54349 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54350 both binutils and gcc support GOTDATA.
54352 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54353 "rd %pc" in the PIC register setup sequences.
54355 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54356 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54357 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54358 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54359 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54360 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54361 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54362 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54363 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54364 (SYSCALL_ERROR_HANDLER): Likewise.
54365 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54366 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54367 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54368 (SYSCALL_ERROR_HANDLER): Likewise.
54370 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54371 (HAVE_GCC_GOTDATA): New.
54372 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54373 relocation support in both binutils and gcc.
54374 * sysdeps/sparc/elf/configure: Regenerate.
54376 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54377 * sysdeps/sparc/sparc32/elf/configure: Delete.
54378 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54379 * sysdeps/sparc/sparc64/elf/configure: Delete.
54380 * sysdeps/sparc/elf/configure.in: New file.
54381 * sysdeps/sparc/elf/configure: Generate.
54383 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54384 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54385 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54386 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54387 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54389 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54391 * manual/install.texi: Do not mention specific glibc version
54393 * manual/libc.texinfo (VERSION, UPDATED): Update.
54394 (@copying): Use @copyright{} and range of years.
54396 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54399 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54400 [crti.S not in sysdirs] (generated): Do not append.
54401 [crti.S not in sysdirs] (omit-deps): Likewise.
54402 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54403 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54404 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54405 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54406 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54408 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54409 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54410 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54411 * csu/defs.awk: Remove file.
54412 * sysdeps/generic/initfini.c: Likewise.
54413 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54415 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54418 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54420 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54421 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54422 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54423 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54424 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54425 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54427 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54428 (__EPOLL_PACKED): Define to empty if not defined by
54430 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54431 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54434 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54436 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54437 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54438 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54439 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54441 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54445 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54447 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54449 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54450 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54451 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54454 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
54456 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54457 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54459 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
54461 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54462 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54464 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54466 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54469 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
54471 * math/w_acos.c: Use non-signaling floating-point comparisons.
54472 * math/w_acosf.c: Likewise.
54473 * math/w_acosh.c: Likewise.
54474 * math/w_acoshf.c: Likewise.
54475 * math/w_acoshl.c: Likewise.
54476 * math/w_acosl.c: Likewise.
54477 * math/w_asin.c: Likewise.
54478 * math/w_asinf.c: Likewise.
54479 * math/w_asinl.c: Likewise.
54480 * math/w_atanh.c: Likewise.
54481 * math/w_atanhf.c: Likewise.
54482 * math/w_atanhl.c: Likewise.
54483 * math/w_exp2.c: Likewise.
54484 * math/w_exp2f.c: Likewise.
54485 * math/w_exp2l.c: Likewise.
54486 * math/w_j0.c: Likewise.
54487 * math/w_j0f.c: Likewise.
54488 * math/w_j0l.c: Likewise.
54489 * math/w_j1.c: Likewise.
54490 * math/w_j1f.c: Likewise.
54491 * math/w_j1l.c: Likewise.
54492 * math/w_jn.c: Likewise.
54493 * math/w_jnf.c: Likewise.
54494 * math/w_log.c: Likewise.
54495 * math/w_log10.c: Likewise.
54496 * math/w_log10f.c: Likewise.
54497 * math/w_log10l.c: Likewise.
54498 * math/w_log2.c: Likewise.
54499 * math/w_log2f.c: Likewise.
54500 * math/w_log2l.c: Likewise.
54501 * math/w_logf.c: Likewise.
54502 * math/w_logl.c: Likewise.
54503 * math/w_sqrt.c: Likewise.
54504 * math/w_sqrtf.c: Likewise.
54505 * math/w_sqrtl.c: Likewise.
54506 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54507 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54508 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54509 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54510 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54512 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54515 * manual/string.texi (strnlen): Use correct parameter name in
54516 equivalent expression.
54518 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54521 * manual/users.texi (seteuid): Consistently use neweuid for
54524 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54527 * manual/nss.texi (Services in the NSS configuration): Correct
54528 list of services in example configuration file.
54530 2012-02-19 Nick Bowler <nbowler@draconx.ca>
54533 * manual/arith.texi: Remove statements about negative zero
54534 behaving identically to zero.
54536 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54539 * manual/install.texi: Do not document upgrading from libc5.
54541 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54544 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54546 2012-02-18 David S. Miller <davem@davemloft.net>
54548 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54549 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54550 %o7 across the call.
54551 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54553 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54554 SETUP_PIC_REG_LEAF.
54555 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54556 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54557 * sysdeps/sparc/crtn.S: Likewise.
54559 2012-02-17 Ulrich Drepper <drepper@gmail.com>
54561 * aout/Makefile: Remove.
54563 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
54566 * manual/examples/argp-ex1.c (main): Format definition in GNU
54568 * manual/examples/argp-ex2.c (main): Likewise.
54569 * manual/examples/argp-ex3.c (main): Likewise.
54570 * manual/examples/argp-ex4.c (main): Likewise.
54571 * manual/examples/longopt.c (main): Use new-style prototype
54573 * manual/examples/strncat.c (main): Specify return type and use
54574 (void) for arguments.
54575 * manual/examples/subopt.c (main): Use char **argv argument.
54577 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54580 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54583 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
54586 * manual/string.texi (strchr): Change when strchrnul is
54589 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
54592 * manual/locale.texi (setlocale): Document LOCPATH.
54594 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54597 * manual/process.texi (execle): Move @dots{} before last argument.
54599 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
54602 * manual/charset.texi (Generic Charset Conversion): Fix typo
54603 (LC_TYPE -> LC_CTYPE).
54605 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
54608 * manual/arith.texi (scalbn): Use @var{} on parameter names.
54609 (scalbnf): Likewise.
54610 (scalbnl): Likewise.
54611 (scalbln): Likewise.
54612 (scalblnf): Likewise.
54613 (scalblnl): Likewise.
54614 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54615 (vwarnx): Likewise.
54618 * manual/filesys.texi (telldir): Use braces around return type.
54619 * manual/llio.texi (mmap): Add space after comma.
54620 (mmap64): Likewise.
54621 * manual/math.texi (jn): Use @var{} on parameter names.
54627 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54629 * manual/resource.texi (ulimit): Use @dots{} instead of literal
54631 (sched_get_priority_min): Remove semicolon on @deftypefun line.
54632 (sched_get_priority_max): Likewise.
54633 * manual/signal.texi (sigvec): Add space after comma.
54634 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54636 (if_indextoname): Likewise.
54637 (if_freenameindex): Likewise.
54638 (sendto): Use ',' instead of '.' in prototype.
54639 * manual/startup.texi (syscall): Use @dots{} instead of literal
54641 * manual/stdio.texi (__fpending): Separate initial words of
54642 paragraph from @deftypefun line.
54643 * manual/syslog.texi (syslog): Use @dots{} instead of literal
54645 (vsyslog): Use @var{} on parameter names.
54646 * manual/terminal.texi (stty): Use @var{} on parameter names.
54647 * manual/users.texi (getutmp): Use @var{} on parameter names.
54648 (getutmpx): Likewise.
54650 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54653 * manual/stdio.texi (fopen): Fix typos in description of
54656 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
54659 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54660 get clock_id definition.
54662 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
54665 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54666 (madvise): Cast every argument to void on its own.
54668 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54671 * manual/startup.texi (Exit Status): Fix typo.
54673 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54676 * manual/examples/argp-ex1.c: Include <stdlib.h>.
54677 * manual/examples/argp-ex2.c: Likewise.
54678 * manual/examples/argp-ex3.c: Likewise.
54680 2012-02-16 Richard Henderson <rth@redhat.com>
54682 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54683 * sysdeps/s390/s390-32/initfini.c: Remove.
54684 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54685 * sysdeps/s390/s390-64/initfini.c: Remove.
54687 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54689 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54690 compiler output for sysdeps/generic/initfini.c.
54691 * sysdeps/sh/elf/initfini.c: Remove file.
54693 2012-02-16 David S. Miller <davem@davemloft.net>
54696 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54698 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54699 * sysdeps/sparc/crti.S: New file.
54700 * sysdeps/sparc/crtn.S: New file.
54701 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54702 * sysdeps/sparc/sparc64/Makefile: Likewise.
54704 2012-02-15 Mike Frysinger <vapier@gentoo.org>
54707 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54709 2012-02-15 Roland McGrath <roland@hack.frob.com>
54712 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54714 * mach/devstream.c (cookie_io_functions_t): Macro removed.
54715 (write, read, close): Likewise.
54716 Patch by Aurelien Jarno <aurelien@aurel32.net>.
54718 2012-02-15 Joseph Myers <joseph@codesourcery.com>
54720 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54721 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54722 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54723 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54725 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54729 2012-02-14 Marek Polacek <polacek@redhat.com>
54731 * sysdeps/x86_64/crti.S: New file.
54732 * sysdeps/x86_64/crtn.S: New file.
54733 * sysdeps/x86_64/elf/initfini.c: Remove file.
54735 2012-02-13 Joseph Myers <joseph@codesourcery.com>
54737 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54738 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54739 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54740 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54742 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54746 2012-02-13 Joseph Myers <joseph@codesourcery.com>
54748 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54749 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54750 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54751 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54753 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54754 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54757 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
54759 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54760 __feraiseexcept instead of feraiseexcept.
54762 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54763 nanosleep invocations.
54764 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54765 strings, and add error checking for a nanosleep invocations.
54767 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
54769 Replace FSF snail mail address with URLs, as per GNU coding standards.
54770 Most of the snail mail addresses were wrong anyway, and omitting
54771 them makes the source code easier to maintain. Almost all of the
54772 changes are to license notices and to locale LC_IDENTIFICATION
54773 addresses, except for this one:
54774 * manual/libc.texinfo: In "Published by", give the FSF's URL,
54775 not its snail mail address.
54777 2012-02-09 Richard Henderson <rth@twiddle.net>
54779 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54780 of kernel-features.h.
54782 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54784 2012-02-08 Marek Polacek <polacek@redhat.com>
54786 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54787 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54788 * sysdeps/gnu/_G_config.h: Likewise.
54789 * sysdeps/generic/_G_config.h: Likewise.
54791 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
54793 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54797 * sysdeps/powerpc/powerpc32/crti.S: New file.
54798 * sysdeps/powerpc/powerpc32/crtn.S: New file.
54799 * sysdeps/powerpc/powerpc64/crti.S: New file.
54800 * sysdeps/powerpc/powerpc64/crtn.S: New file.
54802 * Makeconfig (have-initfini): Don't set.
54803 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54804 * configure.in (nopic_initfini): Don't substitute.
54805 * config.h.in (HAVE_INITFINI): Don't #undef.
54806 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54807 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54809 2012-02-08 Joseph Myers <joseph@codesourcery.com>
54811 Support crti.S and crtn.S provided directly by architectures.
54812 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54813 [crti.S in sysdirs] (omit-deps): Likewise.
54814 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54815 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54816 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54817 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54818 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54819 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54820 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54821 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54822 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54823 compiler output for sysdeps/generic/initfini.c.
54824 * sysdeps/i386/elf/Makefile: Remove file.
54825 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54827 2012-02-07 Marek Polacek <polacek@redhat.com>
54829 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54830 * sysdeps/gnu/_G_config.h: Likewise.
54831 * sysdeps/mach/hurd/_G_config.h: Likewise.
54833 2012-02-07 Marek Polacek <polacek@redhat.com>
54835 * math/Makefile (tests): Add tst-CMPLX2.
54836 * math/tst-CMPLX2.c: New file.
54838 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
54840 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54842 * math/libm-test.inc (jn_test): Add missing L suffix.
54844 2012-02-06 Marek Polacek <polacek@redhat.com>
54846 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54847 * sysdeps/i386/fpu/e_powf.S: Likewise.
54848 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54849 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54850 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54851 * sysdeps/i386/fpu/e_pow.S: Likewise.
54852 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54853 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54854 * sysdeps/i386/fpu/s_expm1.S: Likewise.
54855 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54856 * sysdeps/i386/fpu/e_log2.S: Likewise.
54857 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54858 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54859 * sysdeps/i386/fpu/e_powl.S: Likewise.
54860 * sysdeps/i386/fpu/s_log1p.S: Likewise.
54861 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54862 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54863 * sysdeps/i386/fpu/e_logl.S: Likewise.
54864 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54865 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54866 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54867 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54868 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54869 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54870 * sysdeps/i386/fpu/e_log.S: Likewise.
54871 * sysdeps/i386/fpu/s_cexp.S: Likewise.
54872 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54873 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54874 * sysdeps/i386/fpu/e_logf.S: Likewise.
54875 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54876 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54877 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54878 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54879 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54880 * sysdeps/i386/fpu/e_log10.S: Likewise.
54881 * sysdeps/i386/fpu/s_frexp.S: Likewise.
54882 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54883 * sysdeps/i386/fpu/s_asinh.S: Likewise.
54884 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54885 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54886 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54887 * sysdeps/i386/asm-syntax.h: Likewise.
54888 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54889 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54890 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54891 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54892 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54893 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54894 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54895 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54896 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54897 * sysdeps/powerpc/sysdep.h: Likewise.
54898 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54899 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54901 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54904 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54906 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54908 * sysdeps/i386/sysdep.h: Include <features.h>.
54909 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54912 2012-02-05 Joseph Myers <joseph@codesourcery.com>
54914 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54916 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54919 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54921 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54922 (SETUP_PIC_REG): Use GET_PC_THUNK.
54923 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54926 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54928 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54929 for non-PIC compilation.
54930 (SETUP_PIC_REG): Add .p2align directive.
54931 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54932 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54933 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54934 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54935 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54936 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54937 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54938 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54939 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54940 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54941 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54942 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54943 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54944 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54945 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54946 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54947 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54948 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54949 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54950 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54951 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54952 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54953 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54954 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54955 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54956 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54957 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54958 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54959 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54960 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54961 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54962 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54963 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54964 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54965 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54966 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54967 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54968 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54969 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54970 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54971 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54973 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54975 * math/tst-CMPLX.c: Include <stdio.h>.
54977 2012-01-31 Joseph Myers <joseph@codesourcery.com>
54979 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54981 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54982 * sysdeps/sparc/bits/mathdef.h: Likewise.
54984 2012-01-31 Marek Polacek <polacek@redhat.com>
54986 * libio/libio.h: Don't define _PARAMS.
54987 * locale/programs/config.h: Don't define PARAMS.
54988 * stdlib/strtol_l.c: Likewise.
54989 (__strtol_l): Remove PARAMS from the prototype.
54991 2012-01-31 Ulrich Drepper <drepper@gmail.com>
54993 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
54994 names. Just use the correct names. Remove unnecessary wrapper
54996 * malloc/arena.c: Likewise.
54997 * malloc/hooks.c: Likewise.
54999 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
55000 ARENA_TEST says not to. Simplify test for creation of a new arena.
55001 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
55003 2012-01-30 Ulrich Drepper <drepper@gmail.com>
55005 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
55007 (update_get_addr): New function.
55008 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
55009 GET_ADDR_MODULE parameter.
55011 2012-01-30 Joseph Myers <joseph@codesourcery.com>
55013 * crypt/cert.c: Remove __STDC__ conditionals.
55014 * crypt/crypt-entry.c: Likewise.
55015 * crypt/crypt_util.c: Likewise.
55016 * libio/filedoalloc.c: Likewise.
55017 * libio/fileops.c: Likewise.
55018 * libio/genops.c: Likewise.
55019 * libio/iofclose.c: Likewise.
55020 * libio/iofdopen.c: Likewise.
55021 * libio/iofopen.c: Likewise.
55022 * libio/iofopen64.c: Likewise.
55023 * libio/iogetdelim.c: Likewise.
55024 * libio/iopopen.c: Likewise.
55025 * libio/obprintf.c: Likewise.
55026 * libio/oldfileops.c: Likewise.
55027 * libio/oldiofclose.c: Likewise.
55028 * libio/oldiofdopen.c: Likewise.
55029 * libio/oldiofopen.c: Likewise.
55030 * libio/oldiopopen.c: Likewise.
55031 * libio/wfiledoalloc.c: Likewise.
55032 * libio/wgenops.c: Likewise.
55033 * locale/programs/xmalloc.c: Likewise.
55034 * misc/syslog.c: Likewise.
55035 * stdio-common/xbug.c: Likewise.
55036 * string/memchr.c: Likewise.
55037 * string/memcmp.c: Likewise.
55038 * string/memrchr.c: Likewise.
55039 * string/rawmemchr.c: Likewise.
55040 * sysdeps/posix/getcwd.c: Likewise.
55041 * time/strftime_l.c: Likewise.
55043 2012-01-30 Joseph Myers <joseph@codesourcery.com>
55045 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
55046 * config.make.in (config-cflags-sse2avx): Define.
55047 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
55050 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
55052 * scripts/config.guess: Update from upstream config git repository.
55053 * scripts/config.sub: Likewise.
55055 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
55057 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
55059 (R_TILEPRO_*, R_TILEGX_*): New macros.
55061 * scripts/firstversions.awk: Fix bug in version range handling.
55063 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
55065 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
55067 * include/sys/epoll.h: New file.
55068 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
55071 2012-01-28 Ulrich Drepper <drepper@gmail.com>
55073 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
55074 Avoid unnecessary __WORDSIZE == 64 test.
55075 (fmaxf): Use VEX format if possible.
55080 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
55081 * math/math_private.h: Remove libc_fegetround* and
55083 * sysdeps/i386/configure.in: Check for -msse2avx.
55084 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
55085 also if SSE2AVX is defined.
55086 Remove libc_fegetround* and libc_fesetround*.
55087 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
55088 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
55089 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
55091 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55092 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55093 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55094 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55095 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55097 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55099 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55101 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55103 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55105 2012-01-27 Ulrich Drepper <drepper@gmail.com>
55108 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55110 * Makeconfig (libm): Define.
55111 * elf/Makefile: Add rules to build and run tst-relsort1.
55112 * elf/tst-relsort1.c: New file.
55113 * elf/tst-relsort1mod1.c: New file.
55114 * elf/tst-relsort1mod2.c: New file.
55116 2012-01-27 Joseph Myers <joseph@codesourcery.com>
55118 * math/s_ldexp.c: Remove __STDC__ conditionals.
55119 * math/s_ldexpf.c: Likewise.
55120 * math/s_ldexpl.c: Likewise.
55121 * math/s_nextafter.c: Likewise.
55122 * math/s_nexttowardf.c: Likewise.
55123 * math/s_significand.c: Likewise.
55124 * math/s_significandf.c: Likewise.
55125 * math/s_significandl.c: Likewise.
55126 * math/w_jnl.c: Likewise.
55127 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55128 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55129 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55130 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55131 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55132 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55133 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55134 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55135 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55136 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55137 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55138 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55139 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55140 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55141 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55142 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55143 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55144 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55145 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55146 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55147 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55148 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55149 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55150 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55151 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55152 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55153 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55154 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55155 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55156 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55157 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55158 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55159 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55160 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55161 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55162 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55163 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55164 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55165 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55166 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55167 * sysdeps/ieee754/k_standard.c: Likewise.
55168 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55169 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55170 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55171 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55172 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55173 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55174 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55175 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55176 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55177 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55178 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55179 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55180 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55181 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55182 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55183 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55184 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55185 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55186 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55187 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55188 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55189 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55190 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55191 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55192 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55193 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55194 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55195 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55196 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55197 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55198 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55199 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55200 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55201 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55202 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55203 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55204 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55205 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55206 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55207 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55208 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55209 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55210 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55211 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55212 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55213 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55214 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55215 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55216 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55217 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55218 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55219 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55220 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55221 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55222 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55223 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55224 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55225 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55226 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55227 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55228 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55229 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55230 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55231 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55232 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55233 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55234 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55235 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55236 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55237 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55238 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55239 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55240 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55241 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55242 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55243 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55244 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55245 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55246 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55247 * sysdeps/ieee754/s_matherr.c: Likewise.
55248 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55249 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55250 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55251 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55253 2012-01-26 Joseph Myers <joseph@codesourcery.com>
55255 * crypt/md5.h: Remove __STDC__ conditionals.
55256 * libio/libioP.h: Likewise.
55257 * locale/programs/config.h: Likewise.
55258 * sysdeps/generic/sysdep.h: Likewise.
55259 * sysdeps/i386/asm-syntax.h: Likewise.
55260 * sysdeps/s390/asm-syntax.h: Likewise.
55261 * sysdeps/unix/sysdep.h: Likewise.
55262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55265 2012-01-26 Joseph Myers <joseph@codesourcery.com>
55267 * libio/libio.h: Remove __STDC__ conditionals.
55268 * malloc/obstack.h: Likewise.
55269 * math/complex.h: Likewise.
55270 * math/math.h: Likewise.
55271 * sysdeps/generic/_G_config.h: Likewise.
55272 * sysdeps/gnu/_G_config.h: Likewise.
55273 * sysdeps/mach/hurd/_G_config.h: Likewise.
55274 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55275 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55276 * sysdeps/sparc/bits/mathdef.h: Likewise.
55278 2012-01-26 Ulrich Drepper <drepper@gmail.com>
55281 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55282 Clean up HAS_* macros.
55283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55284 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55286 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55288 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55289 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55290 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55291 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55292 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55294 2012-01-25 Joseph Myers <joseph@codesourcery.com>
55296 * elf/tst-unique3.cc (gets): Remove declaration.
55297 * elf/tst-unique3lib.cc (gets): Likewise.
55298 * elf/tst-unique3lib2.cc (gets): Likewise.
55299 * elf/tst-unique4.cc (gets): Likewise.
55301 2012-01-24 Ulrich Drepper <drepper@gmail.com>
55303 * include/stdio.h: Add C++ protection. Add gets declarations and
55305 * debug/tst-chk1.c: Don't declare gets here.
55306 * stdio-common/tst-gets.c: Likewise.
55308 2012-01-24 Joseph Myers <joseph@codesourcery.com>
55310 * posix/glob: Remove directory.
55312 2012-01-24 Joseph Myers <joseph@codesourcery.com>
55314 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55316 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
55318 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55319 of the non-standard EPFNOSUPPORT.
55321 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
55323 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55324 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55325 ANYWHERE set to 1 only on KERN_NO_SPACE error.
55327 2012-01-21 Ulrich Drepper <drepper@gmail.com>
55329 * wcsmbs/uchar.h: Test __STDC_VERSION__.
55331 2012-01-20 Ulrich Drepper <drepper@gmail.com>
55333 * nscd/aicache.c (addhstaiX): Do not cache negative results of
55335 * nscd/grpcache.c (cache_addgr): Likewise.
55336 * nscd/hstcache.c (cache_addhst): Likewise.
55337 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55338 * nscd/pwdcache.c (cache_addpw): Likewise.
55339 * nscd/servicescache.c (cache_addserv): Likewise.
55341 2012-01-16 Ulrich Drepper <drepper@gmail.com>
55343 * malloc/malloc.c: Various cleanups.
55344 * malloc/hooks.c: Likewise.
55346 * stdlib/Makefile (tests): Add bug-fmtmsg1.
55347 * stdlib/bug-fmtmsg1.c: New file.
55349 * stdlib/fmtmsg.c (init): Add missing unlock.
55350 Patch by Peng Haitao <penght@cn.fujitsu.com>.
55352 2012-01-12 Marek Polacek <polacek@redhat.com>
55354 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55357 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
55359 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55360 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55361 macro to ensure uniqueness of label name.
55362 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55363 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55365 2012-01-11 Ulrich Drepper <drepper@gmail.com>
55367 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55369 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55370 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55371 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55372 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55374 2012-01-10 Ulrich Drepper <drepper@gmail.com>
55376 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55378 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55379 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55380 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55382 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55384 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55385 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55386 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55387 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55389 * math/bits/math-finite.h: Add ldexp support.
55391 2012-01-10 Marek Polacek <polacek@redhat.com>
55393 * locale/programs/localedef.h (show_archive_content): Add noreturn
55396 2012-01-09 Ulrich Drepper <drepper@gmail.com>
55398 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55400 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55402 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55404 * io/Makefile (headers): Add bits/poll2.h.
55406 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
55408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55409 typo #include statement.
55411 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55413 * include/sys/cdefs.h: Define __attribute_alloc_size.
55414 * catgets/gencat.c: Add alloc_size attribute and apply consistently
55415 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55416 * elf/pldd.c: Likewise.
55417 * iconv/iconv_charmap.c: Likewise.
55418 * iconv/iconvconfig.c: Likewise.
55419 * iconv/strtab.c: Likewise.
55420 * locale/programs/locale.c: Likewise.
55421 * locale/programs/localedef.h: Likewise.
55422 * locale/programs/simple-hash.c: Likewise.
55423 * nscd/nscd.h: Likewise.
55424 * nss/makedb.c: Likewise.
55425 * sysdeps/generic/ldconfig.h: Likewise.
55426 * locale/programs/localedef.c: Remove xmalloc prototype.
55427 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55429 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55431 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55434 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55436 * math/Makefile (tests): Add tst-CMPLX.
55437 * math/tst-CMPLX.c: New file.
55439 * math/complex.h (CMPLXL): Fix typo.
55441 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55442 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55444 * debug/tst-chk1.c: Add poll and ppoll tests.
55445 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55446 * include/sys/poll.h: Add hidden proto for ppoll.
55447 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55448 * sysdeps/mach/hurd/ppoll.c: Likewise.
55449 * io/ppoll.c: Likewise.
55450 * debug/poll_chk.c: New file.
55451 * debug/ppoll_chk.c: New file.
55452 * include/bits/poll2.h: New file.
55453 * io/bits/poll2.h: New file.
55456 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55458 * configure.in: static is always set to yes. Remove.
55459 * config.make.in: Don't set build-static.
55460 * Makeconfig: Remove use of build-static.
55461 * dlfcn/Makefile: Likewise.
55462 * elf/Makefile: Likewise.
55463 * math/Makefile: Likewise.
55464 * misc/Makefile: Likewise.
55465 * nptl/Makefile: Likewise.
55466 * sysdeps/mach/hurd/Makefile: Likewise.
55468 * configure.in: PWD_P is not used anymore.
55469 * config.make.in: Remove PWD_P entry.
55471 * configure.in: Remove last remnants of RANLIB.
55472 No need to check for signed size_t anymore.
55473 Don't set libc_commonpagesize and libc_relro_required here for Alpha
55475 Remove __builtin_expect test because we require at least gcc 3.4.
55476 * aclocal.m4: Likewise.
55478 * wcsmbs/mbrtoc16.c: Implement using towc function.
55479 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55480 * wcsmbs/wcsmbsload.c: Likewise.
55481 * iconv/gconv_simple.c: Likewise.
55482 * iconv/gconv_int.h: Likewise.
55483 * iconv/gconv_builtin.h: Likewise.
55484 * iconv/iconv_prog.c: Remove CHAR16 handling.
55486 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55488 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55490 * configure.in: Remove --with-elf and --enable-bounded options.
55491 Dont set base_machine for ia64. More non-ELF conditions removed.
55492 Remove testing and setting of leading underscore information.
55493 * config.make.in (build-bounded): Set to no.
55494 * config.h.in: Remove NO_UNDERSCORES entry.
55495 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
55497 * csu/start.c: Remove !NO_UNDERSCORE code.
55498 * locale/localeinfo.h: Likewise.
55499 * sysdeps/generic/machine-gmon.h: Likewise.
55500 * sysdeps/generic/sysdep.h: Likewise.
55501 * sysdeps/i386/sysdep.h: Likewise.
55502 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55503 * sysdeps/mach/sysdep.h: Likewise.
55504 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55505 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55506 * sysdeps/sh/sysdep.h: Likewise.
55507 * sysdeps/sparc/sparc32/alloca.S: Likewise.
55508 * sysdeps/unix/i386/sysdep.S: Likewise.
55509 * sysdeps/unix/sparc/start.c: Likewise.
55510 * sysdeps/unix/sparc/sysdep.S: Likewise.
55511 * sysdeps/unix/sparc/sysdep.h: Likewise.
55512 * sysdeps/unix/start.c: Likewise.
55513 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55514 * sysdeps/x86_64/sysdep.h: Likewise.
55516 2012-01-07 Ulrich Drepper <drepper@gmail.com>
55519 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55521 * argp/argp-fmtstream.h: Use const instead __const.
55522 * argp/argp.h: Likewise.
55523 * assert/assert.h: Likewise.
55524 * bits/fenv.h: Likewise.
55525 * bits/sched.h: Likewise.
55526 * bits/sigset.h: Likewise.
55527 * bits/sigthread.h: Likewise.
55528 * catgets/nl_types.h: Likewise.
55529 * conform/data/pthread.h-data: Likewise.
55530 * crypt/crypt-private.h: Likewise.
55531 * crypt/crypt.h: Likewise.
55532 * crypt/crypt_util.c: Likewise.
55533 * ctype/ctype.h: Likewise.
55534 * debug/execinfo.h: Likewise.
55535 * debug/mbsnrtowcs_chk.c: Likewise.
55536 * debug/mbsrtowcs_chk.c: Likewise.
55537 * debug/wcsnrtombs_chk.c: Likewise.
55538 * debug/wcsrtombs_chk.c: Likewise.
55539 * debug/wcstombs_chk.c: Likewise.
55540 * dirent/dirent.h: Likewise.
55541 * dlfcn/dlfcn.h: Likewise.
55542 * elf/neededtest4.c: Likewise.
55543 * grp/grp.h: Likewise.
55544 * gshadow/gshadow.h: Likewise.
55545 * iconv/gconv.h: Likewise.
55546 * iconv/gconv_int.h: Likewise.
55547 * iconv/gconv_simple.c: Likewise.
55548 * iconv/iconv.h: Likewise.
55549 * iconv/loop.c: Likewise.
55550 * iconv/skeleton.c: Likewise.
55551 * include/aio.h: Likewise.
55552 * include/aliases.h: Likewise.
55553 * include/argz.h: Likewise.
55554 * include/arpa/inet.h: Likewise.
55555 * include/assert.h: Likewise.
55556 * include/dirent.h: Likewise.
55557 * include/dlfcn.h: Likewise.
55558 * include/execinfo.h: Likewise.
55559 * include/fcntl.h: Likewise.
55560 * include/fenv.h: Likewise.
55561 * include/glob.h: Likewise.
55562 * include/grp.h: Likewise.
55563 * include/libintl.h: Likewise.
55564 * include/mntent.h: Likewise.
55565 * include/netdb.h: Likewise.
55566 * include/pwd.h: Likewise.
55567 * include/rpc/netdb.h: Likewise.
55568 * include/sched.h: Likewise.
55569 * include/search.h: Likewise.
55570 * include/shadow.h: Likewise.
55571 * include/signal.h: Likewise.
55572 * include/stdio.h: Likewise.
55573 * include/stdlib.h: Likewise.
55574 * include/string.h: Likewise.
55575 * include/sys/socket.h: Likewise.
55576 * include/sys/stat.h: Likewise.
55577 * include/sys/statfs.h: Likewise.
55578 * include/sys/statvfs.h: Likewise.
55579 * include/sys/syslog.h: Likewise.
55580 * include/sys/time.h: Likewise.
55581 * include/sys/uio.h: Likewise.
55582 * include/time.h: Likewise.
55583 * include/unistd.h: Likewise.
55584 * include/utmp.h: Likewise.
55585 * include/wchar.h: Likewise.
55586 * include/wctype.h: Likewise.
55587 * inet/aliases.h: Likewise.
55588 * inet/arpa/inet.h: Likewise.
55589 * inet/netinet/ether.h: Likewise.
55590 * inet/netinet/in.h: Likewise.
55591 * intl/libintl.h: Likewise.
55592 * io/bits/fcntl2.h: Likewise.
55593 * io/fcntl.h: Likewise.
55594 * io/ftw.h: Likewise.
55595 * io/sys/poll.h: Likewise.
55596 * io/sys/stat.h: Likewise.
55597 * io/sys/statfs.h: Likewise.
55598 * io/sys/statvfs.h: Likewise.
55599 * io/utime.h: Likewise.
55600 * libio/bits/stdio.h: Likewise.
55601 * libio/bits/stdio2.h: Likewise.
55602 * libio/libio.h: Likewise.
55603 * libio/libioP.h: Likewise.
55604 * libio/stdio.h: Likewise.
55605 * locale/lc-ctype.c: Likewise.
55606 * locale/locale.h: Likewise.
55607 * login/utmp.h: Likewise.
55608 * malloc/arena.c: Likewise.
55609 * malloc/malloc.c: Likewise.
55610 * malloc/malloc.h: Likewise.
55611 * malloc/mcheck.c: Likewise.
55612 * malloc/mtrace.c: Likewise.
55613 * math/bits/mathcalls.h: Likewise.
55614 * math/fenv.h: Likewise.
55615 * math/math_private.h: Likewise.
55616 * misc/bits/error.h: Likewise.
55617 * misc/bits/syslog.h: Likewise.
55618 * misc/err.h: Likewise.
55619 * misc/error.h: Likewise.
55620 * misc/fstab.h: Likewise.
55621 * misc/mntent.h: Likewise.
55622 * misc/regexp.h: Likewise.
55623 * misc/search.h: Likewise.
55624 * misc/sgtty.h: Likewise.
55625 * misc/sys/mman.h: Likewise.
55626 * misc/sys/syslog.h: Likewise.
55627 * misc/sys/uio.h: Likewise.
55628 * misc/sys/xattr.h: Likewise.
55629 * misc/ttyent.h: Likewise.
55630 * nis/rpcsvc/ypclnt.h: Likewise.
55631 * nss/nss.h: Likewise.
55632 * posix/bits/unistd.h: Likewise.
55633 * posix/fnmatch.h: Likewise.
55634 * posix/glob.h: Likewise.
55635 * posix/sched.h: Likewise.
55636 * posix/spawn.h: Likewise.
55637 * posix/sys/wait.h: Likewise.
55638 * posix/unistd.h: Likewise.
55639 * posix/wordexp.h: Likewise.
55640 * pwd/pwd.h: Likewise.
55641 * resolv/netdb.h: Likewise.
55642 * resource/sys/resource.h: Likewise.
55643 * rt/aio.h: Likewise.
55644 * rt/bits/mqueue2.h: Likewise.
55645 * rt/mqueue.h: Likewise.
55646 * shadow/shadow.h: Likewise.
55647 * signal/signal.h: Likewise.
55648 * socket/send.c: Likewise.
55649 * socket/sendto.c: Likewise.
55650 * socket/sys/socket.h: Likewise.
55651 * stdio-common/printf.h: Likewise.
55652 * stdlib/bits/stdlib.h: Likewise.
55653 * stdlib/fmtmsg.h: Likewise.
55654 * stdlib/monetary.h: Likewise.
55655 * stdlib/stdlib.h: Likewise.
55656 * stdlib/ucontext.h: Likewise.
55657 * streams/stropts.h: Likewise.
55658 * string/argz.h: Likewise.
55659 * string/bits/string2.h: Likewise.
55660 * string/string.h: Likewise.
55661 * string/strings.h: Likewise.
55662 * sunrpc/rpc/auth.h: Likewise.
55663 * sunrpc/rpc/auth_des.h: Likewise.
55664 * sunrpc/rpc/clnt.h: Likewise.
55665 * sunrpc/rpc/netdb.h: Likewise.
55666 * sunrpc/rpc/pmap_clnt.h: Likewise.
55667 * sunrpc/rpc/xdr.h: Likewise.
55668 * sysdeps/generic/inttypes.h: Likewise.
55669 * sysdeps/generic/net/if.h: Likewise.
55670 * sysdeps/generic/sys/swap.h: Likewise.
55671 * sysdeps/gnu/net/if.h: Likewise.
55672 * sysdeps/gnu/utmpx.h: Likewise.
55673 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55674 * sysdeps/i386/i486/bits/string.h: Likewise.
55675 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55676 * sysdeps/s390/bits/string.h: Likewise.
55677 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55678 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55679 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55680 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55681 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55682 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55683 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55684 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55685 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55686 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55687 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55688 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55689 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55690 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55691 * sysdeps/unix/sysv/linux/readv.c: Likewise.
55692 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55693 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55694 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55695 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55696 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55697 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55698 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55699 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55700 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55701 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55702 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55703 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55704 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55705 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55706 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55707 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55708 * sysvipc/sys/ipc.h: Likewise.
55709 * sysvipc/sys/msg.h: Likewise.
55710 * sysvipc/sys/sem.h: Likewise.
55711 * sysvipc/sys/shm.h: Likewise.
55712 * termios/termios.h: Likewise.
55713 * time/sys/time.h: Likewise.
55714 * time/time.h: Likewise.
55715 * wcsmbs/bits/wchar2.h: Likewise.
55716 * wcsmbs/uchar.h: Likewise.
55717 * wcsmbs/wchar.h: Likewise.
55718 * wctype/wctype.h: Likewise.
55721 * Makeconfig: Remove all but ELF support including AIX support.
55722 * Makerules: Likewise.
55723 * config.h.in: Likewise.
55724 * config.make.in: Likewise.
55725 * configure: Likewise.
55726 * configure.in: Likewise.
55727 * csu/Makefile: Likewise.
55728 * csu/version.c: Likewise.
55729 * debug/Makefile: Likewise.
55730 * dlfcn/Makefile: Likewise.
55731 * elf/Makefile: Likewise.
55732 * extra-lib.mk: Likewise.
55733 * iconv/Makefile: Likewise.
55734 * include/libc-symbols.h: Likewise.
55735 * include/shlib-compat.h: Likewise.
55736 * resolv/Makefile: Likewise.
55737 * resolv/res_libc.c: Likewise.
55738 * rt/Makefile: Likewise.
55739 * sysdeps/i386/asm-syntax.h: Likewise.
55740 * sysdeps/i386/sysdep.h: Likewise.
55741 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55742 * sysdeps/mach/sysdep.h: Likewise.
55743 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55744 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55745 * sysdeps/s390/asm-syntax.h: Likewise.
55746 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55747 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55748 * sysdeps/sh/sysdep.h: Likewise.
55749 * sysdeps/unix/sparc/sysdep.h: Likewise.
55750 * sysdeps/wordsize-32/divdi3.c: Likewise.
55751 * sysdeps/x86_64/sysdep.h: Likewise.
55753 * argp/Versions: Remove _argp_unlock_xxx.
55756 * abilist/ld.abilist: Update. Adjust for removal of tls option.
55757 * abilist/libBrokenLocale.abilist: Likewise.
55758 * abilist/libanl.abilist: Likewise.
55759 * abilist/libc.abilist: Likewise.
55760 * abilist/libcrypt.abilist: Likewise.
55761 * abilist/libdl.abilist: Likewise.
55762 * abilist/libm.abilist: Likewise.
55763 * abilist/libnsl.abilist: Likewise.
55764 * abilist/libpthread.abilist: Likewise.
55765 * abilist/libresolv.abilist: Likewise.
55766 * abilist/librt.abilist: Likewise.
55767 * abilist/libthread_db.abilist: Likewise.
55768 * abilist/libutil.abilist: Likewise.
55769 * abilist/libnss_db.abilist: New file.
55771 * scripts/abilist.awk: Add support for indirect functions.
55773 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55775 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55777 * shlib-versions: Remove entries for ports architectures.
55779 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
55781 * elf/stackguard-macros.h: Remove support for IA-64.
55782 * elf/tst-auditmod1.c: Likewise.
55783 * sysdeps/generic/ldsodefs.h: Likewise.
55785 * sysdeps/unix/sysv/linux/configure.in: Ports should define
55786 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55790 * configure.in: Remove --enable-omitfp support.
55792 * config.make.in: Likewise.
55793 * Makeconfig: Likewise.
55794 * manual/install.texi: Likewise.
55796 In case anyone cares, the IA-64 architecture could move to ports.
55797 * sysdeps/ia64/*: Removed.
55798 * sysdeps/unix/sysv/linux/ia64/*: Removed.
55799 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55802 * configure.in: Remove entries for unsupported architectures.
55805 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55806 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
55808 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55809 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55810 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
55811 fall back to using wcrtomb.
55812 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55813 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
55815 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55816 * wcsmbs/tst-c16c32-1.c: New file.
55818 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55821 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55823 * elf/tst-unique3.cc: Add explicit declaration of gets.
55824 * elf/tst-unique3lib.cc: Likewise.
55825 * elf/tst-unique3lib2.cc: Likewise.
55826 * elf/tst-unique4.cc: Likewise.
55828 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55830 2012-01-06 Joseph Myers <joseph@codesourcery.com>
55833 * assert/assert.h (static_assert): Don't define for C++.
55834 * libio/stdio.h (gets): Do declare for C++ <= C++11.
55835 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55837 2012-01-03 Ulrich Drepper <drepper@gmail.com>
55839 * iconv/loop.c (single loop): Fix assertion in storing of
55842 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55844 2012-01-01 Ulrich Drepper <drepper@gmail.com>
55846 * posix/getconf.c: Update copyright year.
55847 * nss/getent.c: Likewise.
55848 * nss/makedb.c: Likewise.
55849 * iconv/iconvconfig.c: Likewise.
55850 * iconv/iconv_prog.c: Likewise.
55851 * elf/ldconfig.c: Likewise.
55852 * elf/pldd.c: Likewise.
55853 * elf/sotruss.ksh: Likewise.
55854 * catgets/gencat.c: Likewise.
55855 * csu/version.c: Likewise.
55856 * elf/ldd.bash.in: Likewise.
55857 * elf/sprof.c (print_version): Likewise.
55858 * locale/programs/locale.c: Likewise.
55859 * locale/programs/localedef.c: Likewise.
55860 * login/programs/pt_chown.c: Likewise.
55861 * nscd/nscd.c (print_version): Likewise.
55862 * debug/xtrace.sh: Likewise.
55863 * malloc/memusage.sh: Likewise.
55864 * malloc/mtrace.pl: Likewise.
55865 * debug/catchsegv.sh: Likewise.
55867 2011-12-30 Jakub Jelinek <jakub@redhat.com>
55869 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55872 2011-12-24 Ulrich Drepper <drepper@gmail.com>
55875 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55876 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55878 * iconv/gconv_int.h: Likewise.
55879 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55880 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55881 from libc for GLIBC_2.16.
55882 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55883 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55884 * wcsmbs/uchar.h: Really define mbstate_t.
55885 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55886 * wcsmbs/c16rtomb.c: New file.
55887 * wcsmbs/mbrtoc16.c: New file.
55888 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55889 for C/POSIX locale.
55890 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55891 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55893 * wcsmbs/wchar.h: Add missing __restrict.
55895 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55898 * time/Makefile (routines): Add timespec_get.
55899 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55900 * time/time.h: Define TIME_UTC and declare timespec_get. Define
55901 timespec for ISO C11.
55902 * time/timespec_get.c: New file.
55903 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55904 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55907 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55908 * stdlib/stdlib.h: Declare aligned_alloc.
55909 * Versions.def: Add GLIBC_2.16 for libc.
55910 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55913 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55916 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55920 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55923 * assert/assert.h (static_assert): Define.
55925 * version.h: Update for 2.16 development version.
55928 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55931 * version.h (RELEASE): Bump for 2.15 release.
55932 * include/features.h (__GLIBC_MINOR__): Bump to 15.
55934 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55935 Patch by Marek Polacek <mpolacek@redhat.com>.
55937 * bits/byteswap.h: Protect long long constants with __extension__.
55938 * sysdeps/i386/bits/byteswap.h: Likewise.
55939 * sysdeps/ia64/bits/byteswap.h: Likewise.
55940 * sysdeps/s390/bits/byteswap.h: Likewise.
55941 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55943 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55946 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55947 destination buffer.
55948 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55950 2011-12-23 Marek Polacek <polacek@redhat.com>
55952 * elf/dl-addr.c (determine_info): Add inline keyword.
55953 * elf/tst-auditmod4b.c (check_avx): Likewise.
55954 * elf/tst-auditmod6b.c (check_avx): Likewise.
55955 * elf/tst-auditmod6c.c (check_avx): Likewise.
55956 * elf/tst-auditmod7b.c (check_avx): Likewise.
55958 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55960 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55963 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55966 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55967 processing for last bytes.
55969 2011-08-06 Bruno Haible <bruno@clisp.org>
55972 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55973 U+0385, not to U+1FEE.
55976 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55977 entry for U+00A5 U+0301.
55979 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55982 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55983 buffer for the output is too small.
55985 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55989 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55990 SSE flags if possible.
55992 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55995 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55996 processing for last bytes.
55998 2011-12-22 Joseph Myers <joseph@codesourcery.com>
56000 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
56001 (syscall-list-default-options, syscall-list-default-condition)
56002 (syscall-list-includes): Define.
56003 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
56004 list of ABIs and options and #if conditions for each ABI. Do not
56005 handle common syscalls between ABIs specially.
56006 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
56008 (syscall-list-variants, syscall-list-32bit-options)
56009 (syscall-list-32bit-condition, syscall-list-64bit-options)
56010 (syscall-list-64bit-condition): Define.
56011 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
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/sparc/Makefile (64bit-predefine):
56017 (syscall-list-variants, syscall-list-32bit-options)
56018 (syscall-list-32bit-condition, syscall-list-64bit-options)
56019 (syscall-list-64bit-condition): Define.
56020 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
56022 (syscall-list-variants, syscall-list-32bit-options)
56023 (syscall-list-32bit-condition, syscall-list-64bit-options)
56024 (syscall-list-64bit-condition): Define.
56026 2011-12-22 Ulrich Drepper <drepper@gmail.com>
56028 * locale/iso-639.def: Add brx entry.
56031 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
56032 Proposed by Mariusz_Cukr <marcukr@op.pl>.
56034 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
56035 __feraiseexcept_renamed.
56037 2011-12-21 Ulrich Drepper <drepper@gmail.com>
56040 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
56041 EPOLLET with unsigned values.
56042 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56043 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
56045 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
56046 to large cancellation.
56047 * math/s_cacoshf.c: Likewise.
56048 * math/s_cacoshl.c: Likewise.
56050 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
56054 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
56055 * math/s_cacoshf.c: Likewise.
56056 * math/s_cacoshl.c: Likewise.
56058 2011-12-21 Ulrich Drepper <drepper@gmail.com>
56061 * iconv/gconv.h: Define __GCONV_SWAP.
56062 * iconvdata/unicode.c: The swap bit must be stored in __flags.
56063 * iconvdata/utf-16.c: Likewise.
56064 * iconvdata/utf-32.c: Likewise.
56066 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
56069 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
56070 numerator after shifting it by one limb.
56072 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
56074 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
56075 under [__USE_EXTERN_INLINES].
56077 2011-12-17 Ulrich Drepper <drepper@gmail.com>
56080 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
56082 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56084 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
56085 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
56087 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
56088 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
56089 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
56090 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
56091 for strncasecmp/strncasecmp_l compilation.
56092 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
56093 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56095 2011-12-08 Marek Polacek <mpolacek@redhat.com>
56098 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56101 2011-12-17 Ulrich Drepper <drepper@gmail.com>
56104 * time/tzfile.c (__tzfile_read): Check values from file header.
56106 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
56108 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56109 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56110 * powerpc/powerpc32/dl-start.S: Likewise.
56111 * powerpc/powerpc32/elf/start.S: Likewise.
56112 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56113 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56114 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56115 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56116 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56117 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56118 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56119 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56120 * powerpc/powerpc32/fpu/s_round.S: Likewise.
56121 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56122 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56123 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56124 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56125 * powerpc/powerpc32/memset.S: Likewise.
56126 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56127 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56128 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56129 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56130 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56131 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56132 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56133 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56134 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56135 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56136 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56137 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56138 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56140 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56142 * math/libm-test.inc: Added more nearbyint tests.
56143 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56144 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56145 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56146 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56148 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
56150 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56153 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56155 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56156 Add wcscpy-ssse3 wcscpy-c.
56157 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56158 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56159 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56160 * sysdeps/x86_64/wcschr.S: New file.
56161 * sysdeps/x86_64/wcsrchr.S: New file.
56162 * string/test-strcmp.c: Remove checking of wcscmp function for
56164 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56165 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56166 wcsrchr-sse2 wcsrchr-c.
56167 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56168 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56169 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56170 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56171 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56172 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56173 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56174 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56175 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56176 * wcsmbc/wcschr.c (WCSCHR): New macro.
56178 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56180 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56181 * wcsmbs/test-wcsrchr.c: New file.
56182 * string/test-strrchr.c: Add wcsrchr support.
56184 * wcsmbs/test-wcscpy.c: New file.
56185 * string/test-strcpy.c: Add wcscpy support.
56188 2011-12-10 Ulrich Drepper <drepper@gmail.com>
56190 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56193 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
56196 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56198 2011-12-04 Ulrich Drepper <drepper@gmail.com>
56200 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56201 Minor optimizations.
56203 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56204 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56205 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56207 2011-12-03 Ulrich Drepper <drepper@gmail.com>
56209 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56210 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56211 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56212 for gcc to avoid warnings.
56213 * inet/Makefile (tests): Add tst-checks.
56214 * inet/tst-checks.c: New file.
56216 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56219 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56222 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56223 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56225 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56227 2011-12-02 Ulrich Drepper <drepper@gmail.com>
56229 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56232 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56234 2011-11-29 Joseph Myers <joseph@codesourcery.com>
56236 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56237 conditional on GCC version.
56238 (__arch_compare_and_exchange_val_8_acq)
56239 (__arch_compare_and_exchange_val_16_acq)
56240 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56241 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56242 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56244 2011-12-02 Joseph Myers <joseph@codesourcery.com>
56246 * sysdeps/sh/backtrace.c: New file.
56248 2011-12-02 Andreas Schwab <schwab@redhat.com>
56250 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
56253 2011-12-01 Andreas Schwab <schwab@redhat.com>
56255 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56256 falling back to utime.
56258 2011-11-30 Andreas Schwab <schwab@redhat.com>
56260 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56261 expectations for float.
56263 2011-11-29 Andreas Schwab <schwab@redhat.com>
56265 * locale/weight.h (findidx): Add parameter len.
56266 * locale/weightwc.h (findidx): Likewise.
56267 * posix/fnmatch_loop.c (FCT): Adjust caller.
56268 * posix/regcomp.c (build_equiv_class): Likewise.
56269 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56270 * posix/regexec.c (check_node_accept_bytes): Likewise.
56271 * string/strcoll_l.c (STRCOLL): Likewise.
56272 * string/strxfrm_l.c (STRXFRM): Likewise.
56274 2011-11-17 Ulrich Drepper <drepper@gmail.com>
56276 * Makefile.in: Remove CVSOPT handling.
56277 * configure.in: Remove use of AC_REVISION.
56278 * iconvdata/Makefile (distribute): No need to filter out CVS.
56279 * scripts/list-sources.sh: Remove CVS, subversion and monotone
56282 2011-11-16 Andreas Schwab <schwab@redhat.com>
56284 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56285 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56286 [USE_AS_STRNCASECMP_L]: Likewise.
56287 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56288 NO_TLS_DIRECT_SEG_REFS.
56289 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56290 Fix argument offsets for non-PIC.
56291 [USE_AS_STRNCASECMP_L]: Likewise.
56292 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56293 NO_TLS_DIRECT_SEG_REFS.
56295 2011-11-15 Ulrich Drepper <drepper@gmail.com>
56297 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56299 * locale/loadlocale.c (_nl_load_locale): Likewise.
56301 2011-11-15 Andreas Schwab <schwab@redhat.com>
56303 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56304 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56305 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56306 (SYSCALL_GETTIME): Set errno on error.
56308 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56309 count references to noai6ai_cached.
56311 2011-11-15 Ulrich Drepper <drepper@gmail.com>
56313 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56315 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56316 FD_CLOEXEC for /proc/self/maps.
56318 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56319 FD_CLOEXEC for /proc/meminfo.
56321 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56324 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
56325 FD_CLOEXEC for given file.
56327 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56329 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56330 FD_CLOEXEC for /etc/hosts.
56331 (_gethtent): Likewise.
56333 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56335 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56336 cancellation and set FD_CLOEXEC for /etc/netgroup.
56338 * nss/nss_files/files-key.c (search): Don't allow cancellation when
56339 reading /etc/publickey.
56341 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56342 allow cancellation when reading /etc/group.
56344 * nss/nss_files/files-alias.c (internal_setent): Don't allow
56346 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
56348 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56349 when using data file.
56351 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56353 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56354 (write_nis_obj): Use "c" and "e" in fopen.
56356 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56358 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56360 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56362 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56364 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56367 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56369 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56371 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56373 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56374 file parsing and set FD_CLOEXEC.
56376 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56378 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56380 2011-11-14 Andreas Schwab <schwab@redhat.com>
56382 * malloc/arena.c (arena_get2): Don't call reused_arena when
56383 _int_new_arena failed.
56385 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56387 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56388 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56389 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56390 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56391 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56392 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56393 to compile strcasecmp and strncasecmp.
56394 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56395 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56397 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56399 2011-11-13 Ulrich Drepper <drepper@gmail.com>
56401 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56402 locale-defines.sym to gen-as-const-headers.
56403 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56404 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56405 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56406 to compile strcasecmp and strncasecmp.
56407 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56408 strcasecmp_l and strncasecmp_l.
56409 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56410 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56411 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56412 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56413 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56414 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56415 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56416 * sysdeps/i386/i686/multiarch/strncase.S: New file.
56417 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56418 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56419 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56421 2011-11-12 Ulrich Drepper <drepper@gmail.com>
56423 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56424 result of SYSDEP_GETTIME_CPU to retval.
56425 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56426 parameter list to macro. Remove trailing semicolon. Adjust users.
56428 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56431 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56433 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56435 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56436 from unused variable.
56438 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56440 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56443 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56446 * sunrpc/rpc_prot.c (rejected): Fix case value.
56448 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56449 unsigned long long int to avoid warnings in shift.
56451 * posix/regex_internal.c (re_string_reconstruct): Actually use result
56453 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56456 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56457 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56458 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56460 * nis/nis_table.c (nis_list): Use variable of correct type for
56461 result of __follow_path call.
56463 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56465 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56466 of math functions ceil, trunc, floor, round, and sqrt, when
56467 avaliable on the platform.
56468 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56470 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56471 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56472 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56474 2011-10-30 Marek Polacek <mpolacek@redhat.com>
56476 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56477 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56479 2011-11-11 Roland McGrath <roland@hack.frob.com>
56481 * include/unistd.h: Fix __readlink return type.
56482 Reported by Chris Metcalf <cmetcalf@tilera.com>.
56484 2011-11-11 Ulrich Drepper <drepper@gmail.com>
56486 * stdlib/ucontext.h: Undo last change for makecontext.
56488 2011-11-11 Andreas Schwab <schwab@redhat.com>
56490 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56492 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56493 * setjmp/setjmp.h: Mark functions as non-leaf.
56494 * setjmp/bits/setjmp2.h: Likewise.
56495 * stdlib/ucontext.h: Likewise.
56497 2011-11-10 Andreas Schwab <schwab@redhat.com>
56499 * malloc/arena.c (_int_new_arena): Don't increment narenas.
56500 (reused_arena): Don't check arena limit.
56501 (arena_get2): Atomically check arena limit.
56503 2011-11-08 Ulrich Drepper <drepper@gmail.com>
56505 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56506 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56508 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56511 2011-11-07 Andreas Schwab <schwab@redhat.com>
56513 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56514 handler when locking.
56516 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56517 Fix size of allocated buffer.
56519 2011-11-04 Andreas Schwab <schwab@redhat.com>
56522 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56523 declarations for long double functions.
56524 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56526 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56528 2011-11-03 Andreas Schwab <schwab@redhat.com>
56530 * nscd/nscd.c (main): Don't start AVC thread until credentials are
56533 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56536 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
56538 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56540 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
56542 * include/alloca.h (stackinfo_alloca_round): Define.
56543 (extend_alloca): Use it.
56544 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56545 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56548 * scripts/check-local-headers.sh: Ignore libaudit.h.
56550 * nscd/Makefile (extra-objs): Make recursively expanded.
56552 2011-11-01 Ulrich Drepper <drepper@gmail.com>
56554 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56555 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56557 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56558 * posix/tst-rfc3484-2.c: Likewise.
56559 * posix/tst-rfc3484-3.c: Likewise.
56561 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56563 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56565 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56566 process_vm_writev from libc using GLIBC_2.15 version.
56568 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56570 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
56572 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56575 2011-10-31 Ulrich Drepper <drepper@gmail.com>
56578 * nss/getent.c (initgroups_keys): Show error message in case no group
56581 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56582 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56583 __bump_nl_timestamp.
56584 * nscd/connections (nscd_init): When host database is served open
56585 netlink socket and request notification about configuration changes.
56586 (main_loop_poll): Track netlink file descriptor and bump timestamp
56587 in case data becomes available.
56588 (main_loop_epoll): Likewise.
56589 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56590 (database_pers_head): Add extra_data fileds.
56591 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56592 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56593 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56595 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56596 in6ai data, call __free_in6ai.
56597 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56598 Add -DHAVE_NETLINK.
56599 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
56600 interface information. Reuse previous data if netlink timestamp
56602 (__bump_nl_timestamp): New function.
56603 (__free_in6ai): New function.
56605 2011-10-30 Ulrich Drepper <drepper@gmail.com>
56607 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56608 close_not_cancel_no_status here.
56609 (__check_pf): Reorganize code a bit to not call close twice if OOM.
56611 2011-10-29 Ulrich Drepper <drepper@gmail.com>
56614 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56617 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56618 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56619 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56621 2011-07-03 Andreas Jaeger <aj@suse.de>
56624 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56625 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56626 * math/libm-test.inc (sin_test): Add test case.
56628 2011-10-29 Ulrich Drepper <drepper@gmail.com>
56631 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56632 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56634 * elf/chroot_canon.c (chroot_canon): Cleanups.
56636 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56639 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56640 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56642 * string/test-strchr.c: Make usable for strchrnul testing.
56643 * string/test-strchrnul.c: New file.
56644 * string/Makefile (strop-tests): Add strchrnul.
56646 * po/it.po: Update from translation team.
56647 * po/es.po: Likewise.
56649 2011-10-28 Ulrich Drepper <drepper@gmail.com>
56651 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56652 the three constants needed as parameters. Drop the others.
56653 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56654 __m128i_strloadu_tolower.
56655 Create and initialize variable zero and use it in all the places
56656 where _mm_setzero_si128 was used.
56658 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56659 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56660 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56661 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56663 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56664 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56665 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56666 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56667 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56668 __mpranred, __mptan.
56669 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56670 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56671 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56672 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56673 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56674 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56675 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56676 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56677 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56679 2011-10-28 Andreas Schwab <schwab@redhat.com>
56681 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56682 redefine if SHARED.
56683 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56685 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56686 wide char related routines to wcsmbs subdir.
56688 2011-10-27 Andreas Schwab <schwab@redhat.com>
56691 * misc/sys/cdefs.h (__THROWNL): Define.
56692 * posix/unistd.h: Use __THREADNL instead of __THREAD
56693 for memory synchronization functions.
56695 2011-10-26 Roland McGrath <roland@hack.frob.com>
56698 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56700 * manual/stdio.texi (Obstack Streams): Node removed.
56702 2011-10-26 Andreas Schwab <schwab@redhat.com>
56704 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56705 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56706 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56708 * math/math_private.h (math_force_eval): Allow non-addressable
56710 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56712 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56714 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56715 file is not needed.
56717 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56718 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56719 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56720 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56721 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56722 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56723 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56724 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56726 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56727 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56728 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56729 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56730 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56731 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56732 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56733 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56734 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56735 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56736 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56737 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56738 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56739 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56740 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56741 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56742 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56743 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56744 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56746 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56747 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
56749 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56750 place. Use VEX encoding when compiling for AVX.
56752 2011-10-25 Andreas Schwab <schwab@redhat.com>
56754 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56755 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56757 * string/test-strchr.c (do_test): Don't generate NUL bytes.
56759 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56761 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56762 useless if() expression.
56763 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56764 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56765 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56766 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56767 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56768 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56769 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56770 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56771 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56772 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56773 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56774 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56775 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56776 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56777 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56778 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56779 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56780 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56781 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56783 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56785 2011-10-25 Andreas Schwab <schwab@redhat.com>
56787 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56789 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56791 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56793 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56794 .text section. Avoid duplicate constants.
56795 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56796 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56797 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56799 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56800 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56801 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56802 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56803 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56804 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56805 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56806 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56807 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56808 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56809 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56810 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56811 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56812 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56813 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56814 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56815 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56816 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56817 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56818 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56819 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56820 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56821 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56822 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56823 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56824 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56825 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56826 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56827 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56828 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56829 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56830 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56831 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56832 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56833 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56834 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56835 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56836 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56837 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56838 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56839 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56841 2011-10-24 Ulrich Drepper <drepper@gmail.com>
56843 * sysdeps/x86_64/dla.h: Move to ...
56844 * sysdeps/x86_64/fpu/dla.h: ...here.
56845 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56846 situations. Use __builtin_fma only for gcc 4.6 and up.
56848 * config.make.in: Add have-mfma4 entry.
56849 * configure.in: Substitute libc_cv_cc_fma4.
56850 * math/Makefile (dbl-only-routines): Add sincostab.
56851 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56852 Use __sincostab not sincos.
56853 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56855 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56856 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56857 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56858 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
56860 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
56861 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
56862 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56863 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56865 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56866 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56868 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
56869 define aliases when function name is a macro.
56870 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56871 sysdeps/ieee754/dbl-64/sincos.tbl.
56872 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56873 fma4-enabled routines.
56874 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56875 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56876 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56877 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56878 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56879 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56880 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56881 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56882 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56883 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56884 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56885 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56886 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56887 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56888 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56889 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56890 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56891 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56892 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56893 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56894 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56895 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56896 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56897 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56898 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56899 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56900 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56901 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56902 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56903 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56905 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56907 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56908 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56909 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56910 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56911 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56912 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56913 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56914 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56916 2011-10-24 Andreas Schwab <schwab@redhat.com>
56918 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56920 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56922 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56924 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56926 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56928 * string/strnlen.c: Don't define STRNLEN, reverse logic.
56929 Remove unused variable magic_bits.
56930 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56932 * string/strnlen.c: Define and use STRNLEN macro.
56933 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56934 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56935 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56936 * wcsmbs/wcslen.c: Define and use WCSLEN.
56937 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56938 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56939 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56940 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56941 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56942 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56943 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56945 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56948 strnlen-sse2-no-bsf.
56949 Rename strlen-no-bsf to strlen-sse2-no-bsf.
56950 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56951 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56952 Add strnlen support.
56953 (USE_AS_STRNLEN): New macro.
56954 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56955 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56956 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56957 * sysdeps/x86_64/wcslen.S: New file.
56959 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
56961 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56962 XMM-moves are used for copying on small sizes.
56964 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56966 * wcsmbs/Makefile (strop-tests): Add wcschr.
56967 * wcsmbs/test-wcschr.c: New file.
56968 * string/test-strchr.c: Update.
56969 Add wcschr support.
56972 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56974 * wcsmbs/Makefile (strop-tests): Add wcslen.
56975 * wcsmbs/test-wcslen.c: New file.
56976 * string/test-strlen.c: Update.
56977 Add wcslen support.
56980 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56982 * po/it.po: Update from translation team.
56984 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56986 * sysdeps/x86_64/wcscmp.S: Update.
56987 Fix wrong comparison semantics.
56988 wcscmp shall use signed comparison not unsigned.
56989 Don't use substraction to avoid overflow bug.
56990 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56991 * wcsmbc/wcscmp.c: Likewise.
56992 * string/test-strcmp.c: Likewise.
56993 Add new tests to check cases with negative values.
56995 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56997 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56998 * sysdeps/x86_64/dla.h: ...here. New file.
56999 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
57000 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57001 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57002 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57003 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57004 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57005 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57006 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57007 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57009 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
57011 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
57012 __ynl_finite aliases.
57014 2011-10-22 Ulrich Drepper <drepper@gmail.com>
57016 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57018 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
57020 [DLA_FMA] (EMULV): Use DLA_FMA.
57021 [DLA_FMA] (MUL12): Use EMULV.
57022 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
57023 that are not needed.
57024 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57025 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57026 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57027 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57028 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57029 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57030 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57032 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
57034 * math/s_nan.c: Undef __nan.
57035 * math/s_nanf.c: Undef __nanf.
57036 * math/s_nanl.c: Undef __nanl.
57037 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
57040 2011-10-22 Ulrich Drepper <drepper@gmail.com>
57042 * math/s_catan.c: Add branch predictions.
57043 * math/s_catanf.c: Likewise.
57044 * math/s_catanh.c: Likewise.
57045 * math/s_catanhf.c: Likewise.
57046 * math/s_catanhl.c: Likewise.
57047 * math/s_catanl.c: Likewise.
57048 * math/s_cexp.c: Likewise.
57049 * math/s_cexpf.c: Likewise.
57050 * math/s_cexpl.c: Likewise.
57051 * math/s_clog.c: Likewise.
57052 * math/s_clog10.c: Likewise.
57053 * math/s_clog10f.c: Likewise.
57054 * math/s_clog10l.c: Likewise.
57055 * math/s_clogf.c: Likewise.
57056 * math/s_clogl.c: Likewise.
57057 * math/s_csqrt.c: Likewise.
57058 * math/s_csqrtf.c: Likewise.
57059 * math/s_csqrtl.c: Likewise.
57060 * math/s_ctanf.c: Likewise.
57061 * math/s_ctanh.c: Likewise.
57062 * math/s_ctanhf.c: Likewise.
57063 * math/s_ctanhl.c: Likewise.
57064 * math/s_ctanl.c: Likewise.
57066 * math/math_private.h: Define __nan, __nanf, __nanl.
57067 * math/s_cacosh.c: Include <math_private.h>.
57068 * math/s_cacoshl.c: Likewise.
57069 * math/s_casinh.c: Likewise.
57070 * math/s_casinhf.c: Likewise.
57071 * math/s_casinhl.c: Likewise.
57072 * math/s_ccos.c: Rely entire on ccosh.
57073 * math/s_ccosf.c: Rely entire on ccoshf.
57074 * math/s_ccosl.c: Rely entirely on ccoshl.
57075 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
57076 Remove tests for FE_INVALID.
57077 * math/s_ccoshf.c: Likewise.
57078 * math/s_ccoshl.c: Likewise.
57079 * math/s_csin.c: Likewise.
57080 * math/s_csinf.c: Likewise.
57081 * math/s_csinh.c Likewise.
57082 * math/s_csinhf.c: Likewise.
57083 * math/s_csinhl.c: Likewise.
57084 * math/s_csinl.c: Likewise.
57085 * math/s_ctan.c: Likewise.
57086 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
57087 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
57088 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
57090 2011-10-21 Ulrich Drepper <drepper@gmail.com>
57092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
57093 compilation problems.
57095 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57098 2011-10-20 Ulrich Drepper <drepper@gmail.com>
57100 * sysdeps/i386/configure.in: Test for -mfma4 option.
57101 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57102 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57103 COMMON_CPUID_INDEX_80000001.
57104 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57105 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57106 use it if FMA3 is not supported.
57107 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57109 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57110 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57112 2011-10-20 Andreas Schwab <schwab@redhat.com>
57115 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57116 it would create a cycle with a link time dependency.
57118 2011-10-19 Ulrich Drepper <drepper@gmail.com>
57120 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57122 * string/Makefile (strop-tests): Add rawmemchr.
57123 * string/test-rawmemchr.c: New file.
57125 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57126 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
57127 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
57128 when compiling str{,n}casecmp and when AVX is available. Hook up
57129 new optimized code in initializers.
57131 2011-10-19 Andreas Schwab <schwab@redhat.com>
57133 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57134 __feraiseexcept instead of feraiseexcept.
57136 2011-10-18 Ulrich Drepper <drepper@gmail.com>
57138 * math/math_private.h: Define defaults for libc_fetestexcept and
57140 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57141 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57142 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57143 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57144 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57145 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57146 libc_fetestexcept and libc_feupdateenv.
57148 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57149 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57150 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57151 * sysdeps/x86_64/fpu/math_private.h: Define special version of
57152 libc_feholdexcept_setround.
57154 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57155 Add s_nearbyint-c and s_nearbyintf-c.
57156 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57157 nearbyintf inlines.
57158 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57159 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57160 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57161 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57163 * math/math_private.h: Define defaults for libc_fegetround,
57164 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57165 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57166 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57167 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57168 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57169 standard functions.
57170 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57171 Remove comments and hacks for old compiler versions.
57172 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57173 libc_fegetround, libc_fesetround, libc_feholdexcept, and
57174 libc_feholdexceptl.
57176 2011-10-18 Andreas Schwab <schwab@redhat.com>
57178 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57179 (__feraiseexcept_renamed): Add __NTH.
57180 (feraiseexcept): Add __NTH. Rename local variables to fix
57181 namespace violations.
57183 2011-10-17 Ulrich Drepper <drepper@gmail.com>
57185 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57187 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57189 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57190 recently added interfaces.
57191 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57193 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57194 about macro parameter expansion.
57196 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57197 __NO_MATH_INLINES is defined. Cleanups.
57199 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57200 and __floorf is target has SSE4.1.
57201 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57202 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57203 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57204 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57206 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57208 (floorf): Likewise.
57210 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57212 2011-10-17 Andreas Schwab <schwab@redhat.com>
57214 * misc/sys/cdefs.h: Fix last change.
57216 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57219 2011-10-16 Ulrich Drepper <drepper@gmail.com>
57221 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57223 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57224 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57225 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57226 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57227 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57228 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57229 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57230 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57231 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57232 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57233 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57234 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57235 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57236 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57237 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57238 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57239 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57240 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57241 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57242 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57243 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57244 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57246 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57247 ceil, ceilf, floor, floorf.
57249 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57250 Perform IRELATIVE relocations last.
57252 * elf/do-rel.h: Add another parameter nrelative, replacing the
57253 local variable with the same name. Change name of the function
57254 to end in Rel or Rela (uppercase).
57255 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57256 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
57257 elf_dynamic_do_##reloc function.
57259 2011-10-15 Ulrich Drepper <drepper@gmail.com>
57261 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57262 is sufficient, at least on modern CPUs.
57264 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57266 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57267 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57269 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57271 * math/bits/math-finite.h: Add entries for exp.
57272 * math/e_expl.c: Add __*_finite alias.
57273 * sysdeps/i386/fpu/e_exp.S: Likewise.
57274 * sysdeps/i386/fpu/e_expf.S: Likewise.
57275 * sysdeps/i386/fpu/e_expl.c: Likewise.
57276 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57277 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57278 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57279 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57280 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57281 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57282 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57284 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57285 is sufficient, at least on modern CPUs.
57287 * ctype/ctype-info.c (__ctype_init): Define.
57288 * include/ctype.h (__ctype_init): Declare.
57289 (__ctype_b_loc): The variable is always initialized.
57290 (__ctype_toupper_loc): Likewise.
57291 (__ctype_tolower_loc): Likewise.
57292 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57293 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57295 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
57297 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57299 * configure.in: Also look in $cxxmachine/include for C++ system
57302 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57304 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57305 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57306 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57307 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
57308 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57309 (USE_AS_WMEMCMP): New macro.
57311 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57312 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57313 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57314 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57315 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57316 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57317 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57318 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57319 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57320 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57321 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57322 (USE_AS_WMEMCMP): New macro.
57323 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57324 * sysdeps/string/test-memcmp.c: Update.
57325 Fix simple_wmemcmp.
57327 * wcsmbs/wmemcmp.c: Update.
57328 (WMEMCMP): New macro.
57331 2011-10-12 Andreas Jaeger <aj@suse.de>
57334 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57336 2011-10-15 Ulrich Drepper <drepper@gmail.com>
57338 * libio/iofwide.c (do_length): Avoid warning.
57340 * ctype/ctype.h (__isctype_f): Add missing __THROW.
57342 2011-10-14 Ulrich Drepper <drepper@gmail.com>
57344 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57346 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57347 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57348 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57349 * sysdeps/i386/i686/fpu/e_log.S: New file.
57350 * sysdeps/i386/i686/fpu/e_logf.S: New file.
57351 * sysdeps/i386/i686/fpu/e_logl.S: New file.
57353 * ctype/ctype.h: Add support for inlined isXXX functions when
57354 compiling C++ code.
57356 2011-10-14 Andreas Schwab <schwab@redhat.com>
57358 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57360 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57362 2011-10-13 Roland McGrath <roland@hack.frob.com>
57365 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57367 2011-10-13 Andreas Schwab <schwab@redhat.com>
57369 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57370 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57373 * sysdeps/x86_64/memrchr.S: Check for zero size.
57375 * string/stratcliff.c: Add memrchr tests.
57377 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57379 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57380 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57381 rawmemchr-sse2 rawmemchr-sse2-bsf.
57382 * sysdeps/i386/i686/multiarch/memchr.S: New file.
57383 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57384 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57385 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57386 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57387 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57388 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57389 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57390 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57391 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57392 * string/memrchr.c (MEMRCHR): New macro.
57394 2011-10-12 Ulrich Drepper <drepper@gmail.com>
57396 Add integration with gcc's -ffinite-math-only and optimize wrapper
57398 * Versions.def: Define GLIBC_2.15 version for libm.
57399 * math/Makefile (headers): Add bits/math-finite.h.
57400 * math/bits/math-finite.h: New file.
57401 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57402 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57403 * math/e_acoshl.c: Add __*_finite alias.
57404 * math/e_acosl.c: Likewise.
57405 * math/e_asinl.c: Likewise.
57406 * math/e_atan2l.c: Likewise.
57407 * math/e_atanhl.c: Likewise.
57408 * math/e_coshl.c: Likewise.
57409 * math/e_exp10.c: Likewise.
57410 * math/e_exp10f.c: Likewise.
57411 * math/e_exp10l.c: Likewise.
57412 * math/e_exp2l.c: Likewise.
57413 * math/e_fmodl.c: Likewise.
57414 * math/e_gammal_r.c: Likewise.
57415 * math/e_hypotl.c: Likewise.
57416 * math/e_j0l.c: Likewise.
57417 * math/e_j1l.c: Likewise.
57418 * math/e_jnl.c: Likewise.
57419 * math/e_lgammal_r.c: Likewise.
57420 * math/e_log10l.c: Likewise.
57421 * math/e_log2l.c: Likewise.
57422 * math/e_logl.c: Likewise.
57423 * math/e_powl.c: Likewise.
57424 * math/e_sinhl.c: Likewise.
57425 * math/e_sqrtl.c: Likewise.
57426 * math/e_scalb.c: Completely rewritten and optimized.
57427 * math/e_scalbf.c: Likewise.
57428 * math/e_scalbl.c: Likewise.
57429 * math/w_acos.c: Likewise.
57430 * math/w_acosf.c: Likewise.
57431 * math/w_acosl.c: Likewise.
57432 * math/w_acosh.c: Likewise.
57433 * math/w_acoshf.c: Likewise.
57434 * math/w_acoshl.c: Likewise.
57435 * math/w_asin.c: Likewise.
57436 * math/w_asinf.c: Likewise.
57437 * math/w_asinl.c: Likewise.
57438 * math/w_atan2.c: Likewise.
57439 * math/w_atan2f.c: Likewise.
57440 * math/w_atan2l.c: Likewise.
57441 * math/w_atanh.c: Likewise.
57442 * math/w_atanhf.c: Likewise.
57443 * math/w_atanhl.c: Likewise.
57444 * math/w_exp10.c: Likewise.
57445 * math/w_exp10f.c: Likewise.
57446 * math/w_exp10l.c: Likewise.
57447 * math/w_fmod.c: Likewise.
57448 * math/w_fmodf.c: Likewise.
57449 * math/w_fmodl.c: Likewise.
57450 * math/w_j0.c: Likewise.
57451 * math/w_j0f.c: Likewise.
57452 * math/w_j0l.c: Likewise.
57453 * math/w_j1.c: Likewise.
57454 * math/w_j1f.c: Likewise.
57455 * math/w_j1l.c: Likewise.
57456 * math/w_jn.c: Likewise.
57457 * math/w_jnf.c: Likewise.
57458 * math/w_log.c: Likewise.
57459 * math/w_logf.c: Likewise.
57460 * math/w_logl.c: Likewise.
57461 * math/w_log10.c: Likewise.
57462 * math/w_log10f.c: Likewise.
57463 * math/w_log10l.c: Likewise.
57464 * math/w_log2.c: Likewise.
57465 * math/w_log2f.c: Likewise.
57466 * math/w_log2l.c: Likewise.
57467 * math/w_pow.c: Likewise.
57468 * math/w_powf.c: Likewise.
57469 * math/w_powl.c: Likewise.
57470 * math/w_remainder.c: Likewise.
57471 * math/w_remainderf.c: Likewise.
57472 * math/w_remainderl.c: Likewise.
57473 * math/w_scalb.c: Likewise.
57474 * math/w_scalbf.c: Likewise.
57475 * math/w_scalbl.c: Likewise.
57476 * math/w_sqrt.c: Likewise.
57477 * math/w_sqrtf.c: Likewise.
57478 * math/w_sqrtl.c: Likewise.
57479 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57480 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
57482 * math/math_private.h: Declare __kernel_standard_f.
57483 * math/w_cosh.c: Remove cruft and optimize a bit.
57484 * math/w_coshf.c: Likewise.
57485 * math/w_coshl.c: Likewise.
57486 * math/w_exp2.c: Likewise.
57487 * math/w_exp2f.c: Likewise.
57488 * math/w_exp2l.c: Likewise.
57489 * math/w_hypot.c: Likewise.
57490 * math/w_hypotf.c: Likewise.
57491 * math/w_hypotl.c: Likewise.
57492 * math/w_lgamma.c: Likewise.
57493 * math/w_lgamma_r.c: Likewise.
57494 * math/w_lgammaf.c: Likewise.
57495 * math/w_lgammaf_r.c: Likewise.
57496 * math/w_lgammal.c: Likewise.
57497 * math/w_lgammal_r.c: Likewise.
57498 * math/w_sinh.c: Likewise.
57499 * math/w_sinhf.c: Likewise.
57500 * math/w_sinhl.c: Likewise.
57501 * math/w_tgamma.c: Likewise.
57502 * math/w_tgammaf.c: Likewise.
57503 * math/w_tgammal.c: Likewise.
57504 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57505 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57506 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57507 Minor optimizations. Pretty printing. Remove cruft.
57508 * sysdeps/i386/fpu/e_acosf.S: Likewise.
57509 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57510 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57511 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57512 * sysdeps/i386/fpu/e_acosl.c: Likewise.
57513 * sysdeps/i386/fpu/e_asin.S: Likewise.
57514 * sysdeps/i386/fpu/e_asinf.S: Likewise.
57515 * sysdeps/i386/fpu/e_atan2.S: Likewise.
57516 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57517 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57518 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57519 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57520 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57521 * sysdeps/i386/fpu/e_exp10.S: Likewise.
57522 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57523 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57524 * sysdeps/i386/fpu/e_exp2.S: Likewise.
57525 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57526 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57527 * sysdeps/i386/fpu/e_fmod.S: Likewise.
57528 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57529 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57530 * sysdeps/i386/fpu/e_hypot.S: Likewise.
57531 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57532 * sysdeps/i386/fpu/e_log.S: Likewise.
57533 * sysdeps/i386/fpu/e_log10.S: Likewise.
57534 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57535 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57536 * sysdeps/i386/fpu/e_log2.S: Likewise.
57537 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57538 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57539 * sysdeps/i386/fpu/e_logf.S: Likewise.
57540 * sysdeps/i386/fpu/e_logl.S: Likewise.
57541 * sysdeps/i386/fpu/e_pow.S: Likewise.
57542 * sysdeps/i386/fpu/e_powf.S: Likewise.
57543 * sysdeps/i386/fpu/e_powl.S: Likewise.
57544 * sysdeps/i386/fpu/e_remainder.S: Likewise.
57545 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57546 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57547 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57548 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57549 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57550 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57551 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57552 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57553 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57554 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57555 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57556 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57557 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57558 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57559 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57560 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57561 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57562 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57563 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57564 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57565 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57566 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57567 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57568 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57569 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57570 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57571 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57572 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57573 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57574 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57575 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57576 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57577 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57578 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57579 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57580 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57581 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57582 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57583 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57584 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57585 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57586 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57587 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57588 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57589 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57590 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57591 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57592 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57593 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57594 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57595 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57596 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57597 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57598 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57599 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57600 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57601 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57602 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57603 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57604 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57605 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57606 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57607 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57608 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57609 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57610 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57611 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57612 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57613 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57614 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57615 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57616 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57617 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57618 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57619 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57620 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57621 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57622 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57623 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57624 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57625 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57626 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57627 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57628 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57629 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57630 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57631 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57632 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57633 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57634 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57635 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57636 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57637 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57638 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57639 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57640 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57641 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57642 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57643 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57644 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57645 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57646 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57647 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57648 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57649 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57650 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57651 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57652 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57653 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57654 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57655 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57656 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57657 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57658 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57659 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57660 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57661 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57662 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57663 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
57664 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57665 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57666 (__isnanf): Likewise.
57667 (__isinf_ns): Likewise.
57668 (__isinf_nsf): Likewise.
57669 (__finite): Likewise.
57670 (__finitef): Likewise.
57671 (__ieee754_sqrt): Define as macro.
57672 (__ieee754_sqrtf): Define as macro.
57673 (__ieee754_sqrtl): Define as macro.
57674 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57676 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57677 __FINITE_MATH_ONLY__ consistent.
57678 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57680 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
57682 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57685 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57687 2011-10-09 Ulrich Drepper <drepper@gmail.com>
57689 * po/ja.po: Update from translation team.
57691 2011-10-08 Roland McGrath <roland@hack.frob.com>
57693 * locale/programs/locarchive.c (prepare_address_space): New function.
57694 (create_archive, enlarge_archive, open_archive): Use it.
57696 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57697 inside [SHARED], where it is used.
57699 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57701 * nss/getent.c (netgroup_keys): Remove unused variable.
57702 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57704 2011-10-08 Ulrich Drepper <drepper@gmail.com>
57706 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57707 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57708 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57709 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57710 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57711 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57712 * math/Makefile (libm-calls): Add s_isinf_ns.
57713 * math/divtc3.c: Use __isinf_nsl instead of isinf.
57714 * math/multc3.c: Likewise.
57715 * math/s_casin.c: Likewise.
57716 * math/s_casinf.c: Likewise.
57717 * math/s_casinl.c: Likewise.
57718 * math/s_ccos.c: Likewise.
57719 * math/s_ccosf.c: Likewise.
57720 * math/s_ccosl.c: Likewise.
57721 * math/s_ctan.c: Likewise.
57722 * math/s_ctanf.c: Likewise.
57723 * math/s_ctanh.c: Likewise.
57724 * math/s_ctanhf.c: Likewise.
57725 * math/s_ctanhl.c: Likewise.
57726 * math/s_ctanl.c: Likewise.
57727 * math/w_fmod.c: Likewise.
57728 * math/w_fmodf.c: Likewise.
57729 * math/w_fmodl.c: Likewise.
57730 * math/w_remainder.c: Likewise.
57731 * math/w_remainderf.c: Likewise.
57732 * math/w_remainderl.c: Likewise.
57733 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57734 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57735 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57736 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57737 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57738 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57739 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57740 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57742 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57744 * stdio-common/printf_fphex.c: Likewise.
57745 * stdio-common/printf_size.c: Likewise.
57747 * math/e_exp10.c: Include math_private.h using <...> not "...".
57748 * math/e_exp10f.c: Likewise.
57749 * math/e_exp10l.c: Likewise.
57750 * math/e_exp2l.c: Likewise.
57751 * math/e_j0l.c: Likewise.
57752 * math/e_j1l.c: Likewise.
57753 * math/e_jnl.c: Likewise.
57754 * math/e_lgammal_r.c: Likewise.
57755 * math/e_rem_pio2l.c: Likewise.
57756 * math/e_scalb.c: Likewise.
57757 * math/e_scalbf.c: Likewise.
57758 * math/e_scalbl.c: Likewise.
57759 * math/k_cosl.c: Likewise.
57760 * math/k_sinl.c: Likewise.
57761 * math/k_tanl.c: Likewise.
57762 * math/s_cacoshf.c: Likewise.
57763 * math/s_catan.c: Likewise.
57764 * math/s_catanf.c: Likewise.
57765 * math/s_catanh.c: Likewise.
57766 * math/s_catanhf.c: Likewise.
57767 * math/s_catanhl.c: Likewise.
57768 * math/s_catanl.c: Likewise.
57769 * math/s_ccosh.c: Likewise.
57770 * math/s_ccoshf.c: Likewise.
57771 * math/s_ccoshl.c: Likewise.
57772 * math/s_cexp.c: Likewise.
57773 * math/s_cexpf.c: Likewise.
57774 * math/s_cexpl.c: Likewise.
57775 * math/s_clog.c: Likewise.
57776 * math/s_clog10.c: Likewise.
57777 * math/s_clog10f.c: Likewise.
57778 * math/s_clog10l.c: Likewise.
57779 * math/s_clogf.c: Likewise.
57780 * math/s_clogl.c: Likewise.
57781 * math/s_csin.c: Likewise.
57782 * math/s_csinf.c: Likewise.
57783 * math/s_csinh.c: Likewise.
57784 * math/s_csinhf.c: Likewise.
57785 * math/s_csinhl.c: Likewise.
57786 * math/s_csinl.c: Likewise.
57787 * math/s_csqrt.c: Likewise.
57788 * math/s_csqrtf.c: Likewise.
57789 * math/s_csqrtl.c: Likewise.
57790 * math/s_ctan.c: Likewise.
57791 * math/s_ctanf.c: Likewise.
57792 * math/s_ctanh.c: Likewise.
57793 * math/s_ctanhf.c: Likewise.
57794 * math/s_ctanhl.c: Likewise.
57795 * math/s_ctanl.c: Likewise.
57796 * math/s_ldexp.c: Likewise.
57797 * math/s_ldexpf.c: Likewise.
57798 * math/s_ldexpl.c: Likewise.
57799 * math/s_significand.c: Likewise.
57800 * math/s_significandf.c: Likewise.
57801 * math/s_significandl.c: Likewise.
57802 * math/w_acos.c: Likewise.
57803 * math/w_acosf.c: Likewise.
57804 * math/w_acosh.c: Likewise.
57805 * math/w_acoshf.c: Likewise.
57806 * math/w_acoshl.c: Likewise.
57807 * math/w_acosl.c: Likewise.
57808 * math/w_asin.c: Likewise.
57809 * math/w_asinf.c: Likewise.
57810 * math/w_asinl.c: Likewise.
57811 * math/w_atan2.c: Likewise.
57812 * math/w_atan2f.c: Likewise.
57813 * math/w_atan2l.c: Likewise.
57814 * math/w_atanh.c: Likewise.
57815 * math/w_atanhf.c: Likewise.
57816 * math/w_atanhl.c: Likewise.
57817 * math/w_cosh.c: Likewise.
57818 * math/w_coshf.c: Likewise.
57819 * math/w_coshl.c: Likewise.
57820 * math/w_dremf.c: Likewise.
57821 * math/w_exp10.c: Likewise.
57822 * math/w_exp10f.c: Likewise.
57823 * math/w_exp10l.c: Likewise.
57824 * math/w_exp2.c: Likewise.
57825 * math/w_exp2f.c: Likewise.
57826 * math/w_fmod.c: Likewise.
57827 * math/w_fmodf.c: Likewise.
57828 * math/w_fmodl.c: Likewise.
57829 * math/w_hypot.c: Likewise.
57830 * math/w_hypotf.c: Likewise.
57831 * math/w_hypotl.c: Likewise.
57832 * math/w_j0.c: Likewise.
57833 * math/w_j0f.c: Likewise.
57834 * math/w_j0l.c: Likewise.
57835 * math/w_j1.c: Likewise.
57836 * math/w_j1f.c: Likewise.
57837 * math/w_j1l.c: Likewise.
57838 * math/w_jn.c: Likewise.
57839 * math/w_jnf.c: Likewise.
57840 * math/w_jnl.c: Likewise.
57841 * math/w_lgamma.c: Likewise.
57842 * math/w_lgamma_r.c: Likewise.
57843 * math/w_lgammaf.c: Likewise.
57844 * math/w_lgammaf_r.c: Likewise.
57845 * math/w_lgammal.c: Likewise.
57846 * math/w_lgammal_r.c: Likewise.
57847 * math/w_log.c: Likewise.
57848 * math/w_log10.c: Likewise.
57849 * math/w_log10f.c: Likewise.
57850 * math/w_log10l.c: Likewise.
57851 * math/w_log2.c: Likewise.
57852 * math/w_log2f.c: Likewise.
57853 * math/w_log2l.c: Likewise.
57854 * math/w_logf.c: Likewise.
57855 * math/w_logl.c: Likewise.
57856 * math/w_pow.c: Likewise.
57857 * math/w_powf.c: Likewise.
57858 * math/w_powl.c: Likewise.
57859 * math/w_remainder.c: Likewise.
57860 * math/w_remainderf.c: Likewise.
57861 * math/w_remainderl.c: Likewise.
57862 * math/w_scalb.c: Likewise.
57863 * math/w_scalbf.c: Likewise.
57864 * math/w_scalbl.c: Likewise.
57865 * math/w_sinh.c: Likewise.
57866 * math/w_sinhf.c: Likewise.
57867 * math/w_sinhl.c: Likewise.
57868 * math/w_sqrt.c: Likewise.
57869 * math/w_sqrtf.c: Likewise.
57870 * math/w_sqrtl.c: Likewise.
57871 * math/w_tgamma.c: Likewise.
57872 * math/w_tgammaf.c: Likewise.
57873 * math/w_tgammal.c: Likewise.
57875 * po/ja.po: Update from translation team.
57877 2011-09-29 Andreas Jaeger <aj@suse.de>
57880 * sunrpc/netname.c (netname2host): Fix logic.
57884 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57886 * math/w_remainder.c (__remainder): Likewise.
57887 * math/w_remainderf.c (__remainderf): Likewise.
57888 * math/libm-test.inc (remainder_test): Add test cases.
57890 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57892 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
57895 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57897 * string/test-memcmp.c: Avoid unncessary #defines.
57898 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57900 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57902 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57903 Use new sse2 version for core i3 - i7 as it's faster
57904 than sse42 version.
57905 (bit_Prefer_PMINUB_for_stringop): New.
57906 * sysdeps/x86_64/rawmemchr.S: Update.
57907 Replace with faster SSE2 version.
57908 * sysdeps/x86_64/memrchr.S: New file.
57909 * sysdeps/x86_64/memchr.S: Update.
57910 Replace with faster SSE2 version.
57912 2011-09-12 Marek Polacek <mpolacek@redhat.com>
57914 * elf/dl-load.c (lose): Add cast to avoid warning.
57916 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57918 * po/ca.po: Update from translation team.
57920 * inet/getnetgrent_r.c: Hook up nscd.
57921 * nscd/Makefile (routines): Add nscd_netgroup.
57922 (nscd-modules): Add netgroupcache.
57923 (CFLAGS-netgroupcache.c): Define.
57924 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57925 (cache_search): Add const to second parameter.
57926 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57928 (dbs): Add netgrdb entry.
57929 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57930 (verify_persistent_db): Handle netgrdb.
57931 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57932 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57934 (netgroup_response_header): Define.
57935 (innetgroup_response_header): Define.
57936 (datahead): Add netgroup_response_header and innetgroup_response_header
57938 * nscd/nscd.conf: Add entries for netgroup cache.
57939 * nscd/nscd.h (dbtype): Add netgrdb.
57940 (_PATH_NSCD_NETGROUP_DB): Define.
57941 (netgroup_iov_disabled): Declare.
57942 (xmalloc, xcalloc, xrealloc): Move declarations here.
57943 (cache_search): Adjust prototype.
57944 Add netgroup-related prototypes.
57945 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57946 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57947 (__nscd_innetgr): Declare.
57948 * nscd/selinux.c (perms): Use access_vector_t as element type and
57949 add netgroup-related initializers.
57950 * nscd/netgroupcache.c: New file.
57951 * nscd/nscd_netgroup.c: New file.
57952 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57953 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57954 For four parameters use innetgr.
57955 * nss/nss_files/files-init.c: Add definition and callback for netgr.
57956 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57957 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57958 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57960 * nscd/connections.c (register_traced_file): Don't register file
57961 for disabled databases.
57963 2011-10-06 Ulrich Drepper <drepper@gmail.com>
57965 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57967 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57968 from tree and freeing node.
57970 2011-09-25 Jiri Olsa <jolsa@redhat.com>
57972 * nss/nsswitch.c (__nss_database_lookup): Handle
57973 nss_parse_service_list out of memory case.
57975 2011-09-15 Jiri Olsa <jolsa@redhat.com>
57977 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57978 out of memory case.
57980 2011-10-04 Andreas Schwab <schwab@redhat.com>
57982 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57983 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57985 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57986 elf_machine_rela, elf_machine_lazy_rel.
57987 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57988 (ELF_DYNAMIC_DO_REL): Likewise.
57989 (ELF_DYNAMIC_DO_RELA): Likewise.
57990 (ELF_DYNAMIC_RELOCATE): Likewise.
57991 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57992 to ELF_DYNAMIC_DO_REL.
57993 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57994 (dl_main): In trace mode always set __RTLD_NOIFUNC.
57995 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57997 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57998 skip_ifunc, don't call ifunc function if non-zero.
57999 (elf_machine_rela): Likewise.
58000 (elf_machine_lazy_rel): Likewise.
58001 (elf_machine_lazy_rela): Likewise.
58002 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
58003 (elf_machine_lazy_rel): Likewise.
58004 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
58006 (elf_machine_lazy_rel): Likewise.
58007 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58009 (elf_machine_lazy_rel): Likewise.
58010 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
58011 (elf_machine_lazy_rel): Likewise.
58012 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
58013 (elf_machine_lazy_rel): Likewise.
58014 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58015 (elf_machine_lazy_rel): Likewise.
58016 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
58017 (elf_machine_lazy_rel): Likewise.
58018 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
58019 (elf_machine_lazy_rel): Likewise.
58020 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58021 (elf_machine_lazy_rel): Likewise.
58023 2011-09-28 Ulrich Drepper <drepper@gmail.com>
58025 * nss/nss_files/files-init.c (_nss_files_init): Use static
58026 initialization for all the *_traced_file variables.
58028 2011-09-28 Andreas Schwab <schwab@redhat.com>
58030 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58032 2011-09-27 Roland McGrath <roland@hack.frob.com>
58035 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
58037 2011-09-27 Andreas Schwab <schwab@redhat.com>
58039 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
58040 Reread the line before reparsing it.
58042 2011-09-26 Andreas Schwab <schwab@redhat.com>
58044 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
58046 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
58047 Maxim Kuvyrkov <maxim@codesourcery.com>
58048 Joseph Myers <joseph@codesourcery.com>
58050 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
58051 if needed for __stack_chk_guard.
58053 2011-09-19 Roland McGrath <roland@hack.frob.com>
58055 * sysdeps/posix/spawni.c (script_execute): Always define it.
58056 It will be optimized away if unused.
58057 (maybe_script_execute): New function.
58058 (__spawni): Call it.
58060 * Makerules: Don't include tls.make.
58061 (config-tls): Always set to thread.
58062 * tls.make.c: File removed.
58064 2011-09-19 Mike Frysinger <vapier@gentoo.org>
58066 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
58067 * config.make.in (CPPFLAGS-config): New substituted variable.
58069 2011-09-15 Ulrich Drepper <drepper@gmail.com>
58071 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
58074 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
58075 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
58077 2011-09-15 Roland McGrath <roland@hack.frob.com>
58079 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
58080 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
58081 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58082 (CALL_FAIL): Likewise.
58083 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
58084 (CALL_FAIL): Macro removed.
58085 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
58087 2011-09-15 Ulrich Drepper <drepper@gmail.com>
58089 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
58090 for __FINITE_MATH_ONLY__ == 1.
58092 2011-09-15 Andreas Schwab <schwab@redhat.com>
58094 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58095 __ieee754_sqrt instead of sqrt.
58096 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58097 __ieee754_sqrtf instead of sqrtf.
58098 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58099 __floorf instead of floorf.
58100 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58101 __floorf, __truncf instead of floorf, truncf.
58103 2011-09-14 Ulrich Drepper <drepper@gmail.com>
58105 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58107 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58108 __extern_always_inline.
58109 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58112 2011-09-14 Andreas Schwab <schwab@redhat.com>
58114 * elf/rtld.c (dl_main): Also relocate in dependency order when
58115 doing symbol dependency testing.
58117 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
58119 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58120 Always define `refsym'.
58122 2011-09-13 Andreas Schwab <schwab@redhat.com>
58124 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58125 (__FD_ELT): Renamed from __FDELT.
58126 * misc/bits/select2.h (__FD_ELT): Likewise.
58127 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58128 __FD_MASK instead of __FDELT, __FDMASK.
58129 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58131 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58134 * elf/Makefile (gen-ldd): Fix pattern.
58136 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58137 (init_tls): Likewise.
58139 2011-09-12 Ulrich Drepper <drepper@gmail.com>
58141 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58143 2011-09-12 Andreas Schwab <schwab@redhat.com>
58145 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58146 `struct cmsghdr *' instead of `void *'.
58147 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58150 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
58152 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58154 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58155 ldd_rewrite_script.
58157 2011-09-11 Ulrich Drepper <drepper@gmail.com>
58159 * configure.in: Remove --with-tls option.
58160 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58161 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58162 out in case it is missing.
58163 * sysdeps/ia64/elf/configure.in: Likewise.
58164 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58165 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58166 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58167 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58168 * sysdeps/sh/elf/configure.in: Likewise.
58169 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58170 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58171 * sysdeps/x86_64/elf/configure.in: Likewise.
58172 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58173 * sysdeps/mach/hurd/tls.h: Likewise.
58176 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58179 * configure.in: Fix use of AC_INIT.
58181 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58183 2011-09-10 Ulrich Drepper <drepper@gmail.com>
58185 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58187 * malloc/hooks.c: Likewise.
58190 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
58191 variables statically.
58192 (narenas): Initialize.
58193 (list_lock): Initialize.
58194 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
58195 initializtion of main_arena and list_lock. Small cleanups.
58196 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58197 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
58198 Add initializers to main_arena and mp_.
58199 (malloc_state): Remove pagesize member. Change all users to use
58202 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58203 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
58204 is always initialized.
58206 * malloc/malloc.c: Removed unused configurations and dead code.
58207 * malloc/arena.c: Likewise.
58208 * malloc/hooks.c: Likewise.
58209 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58211 * include/tls.h: Removed. USE___THREAD must always be defined.
58212 * bits/libc-tsd.h: Don't handle !USE___THREAD.
58213 * elf/dl-libc.c: Likewise.
58214 * elf/dl-tsd.c: Likewise.
58215 * include/errno.h: Likewise.
58216 * include/netdb.h: Likewise.
58217 * include/resolv.h: Likewise.
58218 * inet/herrno-loc.c: Likewise.
58219 * inet/herrno.c: Likewise.
58220 * malloc/arena.c: Likewise.
58221 * malloc/hooks.c: Likewise.
58222 * malloc/malloc.c: Likewise.
58223 * resolv/res-state.c: Likewise.
58224 * resolv/res_libc.c: Likewise.
58225 * sysdeps/i386/dl-machine.h: Likewise.
58226 * sysdeps/ia64/dl-machine.h: Likewise.
58227 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58228 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58229 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58230 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58231 * sysdeps/sh/dl-machine.h: Likewise.
58232 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58233 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58234 * sysdeps/unix/i386/sysdep.S: Likewise.
58235 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58236 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58237 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58238 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58239 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58240 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58241 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58242 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58243 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58244 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58245 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58246 * sysdeps/x86_64/dl-machine.h: Likewise.
58247 * tls.make.c: Likewise.
58249 * configure.in: Remove --with-__thread option. Make tests for
58250 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58251 tls_model attribute fail if no support is available. Remove
58253 * Makeconfig: Adjust for dropped configure option. All features are
58255 * Makerules: Likewise.
58256 * Versions.def: Likewise.
58257 * argp/argp-fmtstream.c: Likewise.
58258 * argp/argp-fmtstream.h: Likewise.
58259 * argp/argp-help.c: Likewise.
58260 * assert/assert.c: Likewise.
58261 * config.h.in: Likewise.
58262 * config.make.in: Likewise.
58263 * configure: Likewise.
58264 * configure.in: Likewise.
58265 * csu/Versions: Likewise.
58266 * csu/init.c: Likewise.
58267 * elf/tst-audit2.c: Likewise.
58268 * elf/tst-tls10.c: Likewise.
58269 * elf/tst-tls10.h: Likewise.
58270 * elf/tst-tls11.c: Likewise.
58271 * elf/tst-tls12.c: Likewise.
58272 * elf/tst-tls14.c: Likewise.
58273 * elf/tst-tlsmod11.c: Likewise.
58274 * elf/tst-tlsmod12.c: Likewise.
58275 * elf/tst-tlsmod13.c: Likewise.
58276 * elf/tst-tlsmod13a.c: Likewise.
58277 * elf/tst-tlsmod14a.c: Likewise.
58278 * elf/tst-tlsmod15b.c: Likewise.
58279 * elf/tst-tlsmod16a.c: Likewise.
58280 * elf/tst-tlsmod16b.c: Likewise.
58281 * elf/tst-tlsmod7.c: Likewise.
58282 * elf/tst-tlsmod8.c: Likewise.
58283 * elf/tst-tlsmod9.c: Likewise.
58284 * gmon/gmon.c: Likewise.
58285 * grp/fgetgrent_r.c: Likewise.
58286 * grp/putgrent.c: Likewise.
58287 * hurd/fopenport.c: Likewise.
58288 * include/libc-symbols.h: Likewise.
58289 * include/tls.h: Likewise.
58290 * intl/gettextP.h: Likewise.
58291 * intl/loadinfo.h: Likewise.
58292 * locale/global-locale.c: Likewise.
58293 * locale/localeinfo.h: Likewise.
58294 * mach/devstream.c: Likewise.
58295 * malloc/arena.c: Likewise.
58296 * malloc/set-freeres.c: Likewise.
58297 * misc/err.c: Likewise.
58298 * misc/getttyent.c: Likewise.
58299 * misc/mntent_r.c: Likewise.
58300 * posix/getopt.c: Likewise.
58301 * posix/wordexp.c: Likewise.
58302 * pwd/fgetpwent_r.c: Likewise.
58303 * resolv/Versions: Likewise.
58304 * resolv/res_hconf.c: Likewise.
58305 * shadow/fgetspent_r.c: Likewise.
58306 * shadow/putspent.c: Likewise.
58307 * stdio-common/printf_fphex.c: Likewise.
58308 * stdio-common/tmpfile.c: Likewise.
58309 * stdlib/abort.c: Likewise.
58310 * stdlib/fmtmsg.c: Likewise.
58311 * sunrpc/auth_unix.c: Likewise.
58312 * sunrpc/clnt_perr.c: Likewise.
58313 * sunrpc/clnt_tcp.c: Likewise.
58314 * sunrpc/clnt_udp.c: Likewise.
58315 * sunrpc/clnt_unix.c: Likewise.
58316 * sunrpc/openchild.c: Likewise.
58317 * sunrpc/svc_simple.c: Likewise.
58318 * sunrpc/svc_tcp.c: Likewise.
58319 * sunrpc/svc_udp.c: Likewise.
58320 * sunrpc/svc_unix.c: Likewise.
58321 * sunrpc/xdr.c: Likewise.
58322 * sunrpc/xdr_array.c: Likewise.
58323 * sunrpc/xdr_rec.c: Likewise.
58324 * sunrpc/xdr_ref.c: Likewise.
58325 * sunrpc/xdr_stdio.c: Likewise.
58327 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58329 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58331 2011-07-03 Andreas Jaeger <aj@suse.de>
58333 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58334 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58335 regenerate with gen-libm-tests.pl.
58337 2010-05-12 Petr Baudis <pasky@suse.cz>
58340 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58341 around j0() zero points by switching to j1().
58342 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58343 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58344 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58345 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58347 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58349 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58351 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58353 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58354 Patch in part by Pavel Roskin <proski@gnu.org>.
58357 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58359 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
58360 Free memory block if necessary.
58363 * libio/genops.c (INTDEF): For string streams the _lock pointer can
58364 be NULL. Don't lock in this case.
58366 2011-09-09 Roland McGrath <roland@hack.frob.com>
58368 * elf/elf.h (ELFOSABI_GNU): New macro.
58369 (ELFOSABI_LINUX): Define to that.
58371 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
58373 * string/strncat.c (strncat): Undef the symbol in case it has been
58374 defined in bits/string.h.
58376 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58378 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58380 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58383 2011-08-17 Andreas Jaeger <aj@suse.de>
58385 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58387 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
58388 Ian Lance Taylor <iant@google.com>
58390 * math/libm-test.inc (lround_test): New testcase.
58391 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58393 2011-09-08 Ulrich Drepper <drepper@gmail.com>
58395 * Makefile: Remove support for automatic cvs check-ins.
58396 * Makerules: Likewise.
58397 * config.make.in: Likewise.
58398 * configure.in: Likewise.
58399 * intl/Makefile: Likewise.
58400 * locale/Makefile: Likewise.
58401 * po/Makefile: Likewise.
58402 * posix/Makefile: Likewise.
58403 * sysdeps/gnu/Makefile: Likewise.
58404 * sysdeps/mach/hurd/Makefile: Likewise.
58405 * sysdeps/sparc/sparc32/Makefile: Likewise.
58408 * posix/Makefile (bug-regex32-ENV): Define.
58409 Patch by John Stanley <jpsinthemix@verizon.net>.
58411 * misc/Makefile (headers): Add bits/select2.h.
58412 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58413 * misc/bits/select2.h: New file.
58414 * include/bits/select2.h: New file.
58415 * debug/Makefile (routines): Add fdelt_chk.
58416 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58417 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58419 * debug/fdelt_chk.c: New file.
58421 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
58422 * wcsmbs/test-wmemcmp.c: Likewise.
58423 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58424 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58426 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58428 * string/Makefile (strop-tests): Add memcmp.
58429 * string/test-wmemcmp.c: New file.
58430 * string/test-memcmp.c: Add wmemcmp support.
58432 2011-09-08 Roland McGrath <roland@hack.frob.com>
58435 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58438 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58439 garbage value in a __mach_port_mod_refs call in the cases of the
58440 task-self and thread-self ports.
58442 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58444 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58446 2011-09-08 Andreas Schwab <schwab@redhat.com>
58448 * elf/dl-load.c (lose): Check for non-null L.
58450 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58452 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58454 * elf/dl-libc.c (dlerror_run): Pass back error code from
58458 * elf/dl-load.c (lose): Free l_origin if it is valid.
58460 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58462 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58463 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58464 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58465 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58466 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58467 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58469 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58471 * sysdeps/powerpc/fpu/e_hypot.c: New file.
58472 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58473 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58474 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58475 * sysdeps/powerpc/fpu/k_cosf.c: New file.
58476 * sysdeps/powerpc/fpu/k_sinf.c: New file.
58477 * sysdeps/powerpc/fpu/s_cosf.c: New file.
58478 * sysdeps/powerpc/fpu/s_sinf.c: New file.
58479 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58480 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58482 2011-08-15 Alan Modra <amodra@gmail.com>
58485 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58486 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58487 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
58488 ppc_mcount to static-only-routines.
58489 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58491 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58492 __mcount_internal with usual JUMPTARGET. Remove useless nop.
58494 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
58496 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58497 for finite and infinity parameters.
58499 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58501 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58502 and add nop instructions for throughput optimization.
58503 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58505 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
58507 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58508 aligned copy for power7 with vector-scalar instructions.
58509 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58511 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
58513 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58516 2011-09-07 Andreas Schwab <schwab@redhat.com>
58519 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58522 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58524 * sysdeps/unix/sysv/linux/x86_64/init-first.c
58525 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58526 syscall wrapper around clock_gettime in __vdso_clock_gettime.
58527 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58530 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58532 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58533 Forgot to demangle the pointer.
58535 * sysdeps/i386/sysdep.h: Define atom_text_section.
58536 * sysdeps/x86_64/sysdep.h: Likewise.
58537 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58538 section with atom_text_section.
58539 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58540 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58541 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58542 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58543 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58545 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58546 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58547 already be defined. Change to take two parameters and don't assign
58548 result to variable. Adjust all users.
58549 Define INTERNAL_GETTIME if not already defined.
58550 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58552 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58553 HAVE_CLOCK_GETTIME_VSYSCALL.
58554 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58556 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58557 gettimeofday vsyscall, just use time.
58559 2011-09-06 Andreas Schwab <schwab@redhat.com>
58561 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58564 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58566 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58568 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58570 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58571 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58572 syscall if possible.
58574 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58576 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58577 e_ident. Don't pass to find_mapsXX.
58578 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58580 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58583 strchr-sse2-no-bsf strrchr-sse2-no-bsf
58584 * sysdeps/x86_64/multiarch/strchr.S: Update.
58585 Check bit_slow_BSF bit.
58586 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58587 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58588 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58590 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58593 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58595 (tryshell): Define.
58596 (__spawni): Change last parameter to be flag. Test
58597 SPAWN_XFLAGS_USE_PATH flag to use path or not.
58598 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58599 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58600 * posix/spawni.c: Likewise.
58601 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58602 * posix/spawnp.c: Likewise. Change normal version to use
58603 SPAWN_XFLAGS_USE_PATH.
58604 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58605 SPAWN_XFLAGS_TRY_SHELL.
58608 * posix/glob.h: Remove gcc 1.x support.
58611 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58613 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58615 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58616 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58618 * sysdeps/i386/i686/multiarch/strchr.S: New file.
58619 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58620 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58621 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58622 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58623 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58625 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58627 * sysdeps/x86_64/wcscmp.S: New file.
58629 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58630 wcscmp-c wcscmp-sse2
58631 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58632 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58633 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58634 * wcsmbs/wcscmp.c: Allow renaming.
58636 2011-09-05 David S. Miller <davem@davemloft.net>
58638 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58639 stack slot, rather than the struct return pointer slot.
58640 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58641 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58643 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58645 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58647 * po/ja.po: Update from translation team.
58650 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58651 kernel in 64-bit binaries.
58653 2011-09-01 David S. Miller <davem@davemloft.net>
58655 * elf/elf.h (HWCAP_SPARC_*): Move to..
58656 * sysdeps/sparc/sysdep.h: this new file and add new values.
58657 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58658 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58659 _DL_HWCAP_COUNT to 24.
58660 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58662 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58663 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58664 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58665 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58666 instead of magic constants.
58667 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58669 2011-08-31 David S. Miller <davem@davemloft.net>
58671 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58672 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58673 Reimplement to do errno handling inline.
58674 (SYSCALL_ERROR_HANDLER): New macro.
58675 (__SYSCALL_STRING): Do not do errno handling in asm.
58676 (__CLONE_SYSCALL_STRING): Delete.
58677 (__INTERNAL_SYSCALL_STRING): Delete.
58678 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58679 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58680 (PSEUDO): Reimplement to do errno handling inline.
58681 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58682 (SYSCALL_ERROR_HANDLER): New macro.
58683 (__SYSCALL_STRING): Do not do errno handling in asm.
58684 (__CLONE_SYSCALL_STRING): Delete.
58685 (__INTERNAL_SYSCALL_STRING): Delete.
58686 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58687 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58689 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58690 (inline_syscall*): Add 'err' argument.
58691 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58692 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58693 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58694 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58696 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58697 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58699 2011-08-30 Andreas Schwab <schwab@redhat.com>
58701 * elf/rtld.c (dl_main): Relocate objects in dependency order.
58703 2011-08-29 Jiri Olsa <jolsa@redhat.com>
58705 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58708 2011-08-24 David S. Miller <davem@davemloft.net>
58710 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58712 2011-08-24 Andreas Schwab <schwab@redhat.com>
58714 * elf/Makefile: Add rules to build and run unload8 test.
58715 * elf/unload8.c: New file.
58716 * elf/unload8mod1.c: New file.
58717 * elf/unload8mod1x.c: New file.
58718 * elf/unload8mod2.c: New file.
58719 * elf/unload8mod3.c: New file.
58721 * elf/dl-close.c (_dl_close_worker): Reset private search list if
58724 2011-08-23 David S. Miller <davem@davemloft.net>
58726 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58727 subtract stack bias.
58728 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58729 %sp not %fp in calculations.
58730 (_JMPBUF_UNWINDS_ADJ): Likewise.
58732 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58733 (aio_suspend): Call it to force an exception region around the
58734 AIO_MISC_WAIT() invocation.
58736 2011-08-23 Andreas Schwab <schwab@redhat.com>
58738 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58741 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
58743 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58745 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58746 and <dl-machine.h>.
58747 (Elf64_FuncDesc): Remove.
58749 2011-08-22 David S. Miller <davem@davemloft.net>
58751 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58752 sigaltstack check, add missing cfi directives.
58753 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58754 missing cfi directives, and sigaltstack handling.
58756 2011-08-16 Andreas Schwab <schwab@redhat.com>
58759 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58760 object is seen twice.
58761 * elf/dl-fini.c (_dl_sort_fini): Likewise.
58763 * elf/Makefile (distribute): Add tst-initorder2.c.
58764 (tests): Add tst-initorder2.
58765 (modules-names): Add tst-initorder2a tst-initorder2b
58766 tst-initorder2c tst-initorder2d. Add rules to build them.
58767 ($(objpfx)tst-initorder2.out): New rule.
58768 * elf/tst-initorder2.c: New file.
58769 * elf/tst-initorder2.exp: New file.
58771 2011-08-22 Andreas Schwab <schwab@redhat.com>
58773 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58775 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58776 dependencies back to end of function.
58778 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58779 $(elfobjdir)/ld.so.
58781 2011-08-21 Ulrich Drepper <drepper@gmail.com>
58783 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58784 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58785 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58786 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58787 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58788 of __vdso_gettimeofday.
58789 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58790 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
58792 (_libc_vdso_platform_setup): Remove initialization of
58793 __vdso_gettimeofday and __vdso_time.
58795 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58797 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58798 and fgetc_unlocked.
58799 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58802 * elf/dl-open.c (add_to_global): Report additions to the global scope
58803 for LD_DEBUG=scopes.
58804 (dl_open_worker): Also print scope of newly loaded dependencies.
58805 (_dl_show_scope): Indicate if there is no scope.
58808 * stdio-common/Makefile (tests): Add bug24.
58809 * stdio-common/bug24.c: New file.
58811 2011-08-19 Andreas Jaeger <aj@suse.de>
58814 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58815 non-existant file when using close-on-exec mode.
58817 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58819 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58820 the very first instruction.
58822 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58823 the CFI state in the end.
58824 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58825 inclusion of dl-trampoline.h.
58826 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58828 2011-08-19 Andreas Schwab <schwab@redhat.com>
58830 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58831 expectations for long double.
58833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58834 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58836 2011-08-14 David S. Miller <davem@davemloft.net>
58838 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58839 artificual limit depends upon the system page size.
58841 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58843 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58844 * resolv/Makefile: Define CFLAGS-libresolv.
58846 2011-08-17 Andreas Schwab <schwab@redhat.com>
58848 * nss/makedb.c (compute_tables): Make variables used in nested
58851 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58853 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58854 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58855 if buffer was too small.
58857 * elf/pldd.c (main): Attach to all threads in the process.
58858 Rewrite /proc handling to use *at functions.
58860 2011-08-16 Ulrich Drepper <drepper@gmail.com>
58862 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58863 specifies first scope to show.
58864 (dl_open_worker): Update callers. Move printing scope of new
58865 object to before the relocation.
58866 * elf/rtld.c (dl_main): Update _dl_show_scope call.
58867 * sysdeps/generic/ldsodefs.h: Update declaration.
58869 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58870 string for the scope number.
58872 2011-08-14 Ulrich Drepper <drepper@gmail.com>
58874 * nscd/servicescache.c (cache_addserv): Make sure written is always
58877 2011-08-14 Roland McGrath <roland@hack.frob.com>
58879 * sysdeps/i386/i486/bits/atomic.h
58880 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58881 statement expression, so as to suppress "set but not used" warning.
58882 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58884 * string/strncat.c (STRNCAT): Use prototype definition.
58886 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58887 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58889 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58890 (localedef-modules): Add localedef.
58891 (locale-modules): Add locale.
58893 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58894 * elf/rtld.c (dl_main): Invert order of assignment in last change,
58895 to avoid a warning.
58897 2011-08-14 David S. Miller <davem@davemloft.net>
58899 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58900 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58902 2011-08-13 Ulrich Drepper <drepper@gmail.com>
58904 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58905 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58906 * elf/rtld.c (dl_main): Set l_name of vDSO.
58907 Call _dl_show_scope when DL_DEBUG_SCOPES.
58908 (process_dl_debug): Recognize scopes flag and also set it for all.
58909 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58910 Declare _dl_show_scope.
58912 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58913 (do_dlopen): Pass caller_dlopen to dl_open.
58914 (__libc_dlopen_mode): Initialize caller_dlopen.
58916 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58917 of libc. Make tolower call locale-independent. Optimize a bit by
58918 using isdigit instead of isalnum.
58919 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58921 2011-08-12 Ulrich Drepper <drepper@gmail.com>
58923 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58924 was a dependency or dynamically loaded.
58926 2011-08-11 Ulrich Drepper <drepper@gmail.com>
58928 * intl/l10nflist.c: Allow architecture-specific pop function.
58929 * sysdeps/x86_64/l10nflist.c: New file.
58931 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58934 2011-08-10 Andreas Schwab <schwab@redhat.com>
58936 * include/dirent.h: Add libc_hidden_proto for scandirat and
58937 scandirat64. Don't declare __scandirat64.
58938 * dirent/scandirat.c: Add libc_hidden_def.
58939 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58940 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58942 2011-08-10 David S. Miller <davem@davemloft.net>
58944 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58946 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58947 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58948 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58950 2011-08-09 Ulrich Drepper <drepper@gmail.com>
58952 * Versions.def [libc]: Add GLIBC_2.15.
58953 * dirent/Makefile (routines): Add scandirat and scandirat64.
58954 * dirent/Versions [libc]: Export scandirat and scandirat64 for
58956 * dirent/dirent.h: Declare scandirat and scandirat64.
58957 * dirent/scandirat.c: New file.
58958 * dirent/scandirat64.c: New file.
58959 * sysdeps/wordsize-64/scandirat.c: New file.
58960 * sysdeps/wordsize-64/scandirat64.c: New file.
58961 * dirent/opendir.c: Define opendirat.
58962 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
58964 * dirent/scandir64.c: Adjust for scandir.c change.
58965 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
58966 __scandirat64, and __scandir_cancel_handler.
58967 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
58968 additional parameter and use openat instead of open (outside of ld.so).
58969 Add new __opendir as wrapper around __opendirat.
58970 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58971 here without requiring old scandirat implementation.
58973 2011-08-08 Ulrich Drepper <drepper@gmail.com>
58975 * dirent/scandir.c (cancel_handler): Renamed to
58976 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
58977 defined. Adjust users.
58978 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58979 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58981 2011-08-04 Ulrich Drepper <drepper@gmail.com>
58983 * string/test-string.h (IMPL): Use __STRING to expand name and then
58986 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
58989 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58991 * string/Makefile: Update.
58992 (strop-tests): Append strncat.
58993 * string/test-wcscmp.c: New file.
58994 New comprehensive test for wcscmp.
58995 * string/test-strcmp.c: Update.
58996 (WIDE): New define.
58998 2011-07-22 Andreas Schwab <schwab@redhat.com>
59000 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
59003 2011-07-26 Andreas Schwab <schwab@redhat.com>
59005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59006 encoding to ACE if AI_IDN.
59008 2011-08-01 Jakub Jelinek <jakub@redhat.com>
59010 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
59011 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
59013 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59015 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
59016 Fix overflow bug in strncat.
59017 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
59019 * string/test-strncat.c: Update.
59020 Add new tests for checking overflow bugs.
59022 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59024 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59025 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
59026 * sysdeps/i386/i686/multiarch/strcat.S: New file.
59027 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
59028 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
59029 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
59030 * sysdeps/i386/i686/multiarch/strncat.S: New file.
59031 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
59032 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
59034 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
59035 (USE_AS_STRCAT): Define.
59036 Add strcat and strncat support.
59037 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59039 2011-07-25 Andreas Schwab <schwab@redhat.com>
59041 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
59042 __n bigger than INT_MAX+1.
59043 (__strncmp_g): Likewise.
59045 2011-07-23 Ulrich Drepper <drepper@gmail.com>
59047 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
59048 * libio/stido.h: Likewise.
59050 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
59052 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
59055 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
59056 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
59057 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
59058 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
59059 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
59062 * scripts/test-installation.pl: Don't expect libnss_test1 to be
59065 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
59067 (_dl_x86_64_save_sse): Likewise.
59069 2011-07-22 Ulrich Drepper <drepper@gmail.com>
59071 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
59073 (_dl_x86_64_save_sse): Likewise.
59075 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
59077 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
59079 2011-07-21 Andreas Schwab <schwab@redhat.com>
59081 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
59083 (_dl_x86_64_save_sse): Use correct AVX check.
59085 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59087 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
59088 bug in strncpy/strncat.
59089 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
59091 2011-07-21 Ulrich Drepper <drepper@gmail.com>
59093 * string/tester.c (test_strcat): Add tests for different alignments
59094 of source and destination.
59095 (test_strncat): Likewise.
59097 2011-07-20 Ulrich Drepper <drepper@gmail.com>
59100 * posix/glob.c (glob): Check passed in values before using them in
59101 expressions to avoid some overflows.
59102 (glob_in_dir): Likewise.
59105 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59106 check for AVX enablement so that we don't crash with old kernels and
59108 * elf/tst-audit4.c: Add same checks here.
59109 * elf/tst-audit6.c: Likewise.
59111 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59113 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
59115 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59117 2011-07-20 Ulrich Drepper <drepper@gmail.com>
59119 * po/cs.po: Update from translation team.
59120 * po/bg.po: Likewise.
59122 2011-07-12 Marek Polacek <mpolacek@redhat.com>
59124 * misc/sys/cdefs.h: Add support for const attribute.
59125 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59126 to gnu_dev_{major,minor,makedev} functions.
59128 2011-07-20 Marek Polacek <mpolacek@redhat.com>
59130 * intl/dcigettext.c (get_output_charset): Add missing bracket.
59132 2011-07-20 Andreas Schwab <schwab@redhat.com>
59134 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59137 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59139 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59140 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59141 register in order to avoid conflicts with the soft frame pointer
59142 being held in r11 when necessary.
59143 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59144 (INTERNAL_VSYSCALL_NCS): Likewise.
59146 2011-07-14 Marek Polacek <mpolacek@redhat.com>
59148 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59149 * elf/dl-fini.c (_dl_fini): Adjust caller.
59150 * elf/dl-close.c (_dl_close_worker): Likewise.
59151 * sysdeps/generic/ldsodefs.h: Adjust declaration.
59153 2011-07-15 Marek Polacek <mpolacek@redhat.com>
59155 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59156 "aux_cache->nlibs < 0".
59158 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59159 in the reload-count case.
59161 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59164 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59165 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59166 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59167 * sysdeps/x86_64/multiarch/strcat.S: New file.
59168 * sysdeps/x86_64/multiarch/strncat.S: New file.
59169 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59170 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59171 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59172 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59173 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59174 (USE_AS_STRCAT): Define.
59175 Add strcat and strncat support.
59176 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59177 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59178 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59179 * string/strncat.c: Update.
59180 (USE_AS_STRNCAT): Define.
59181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59182 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59184 * sysdeps/x86_64/multiarch/init-arch.h
59185 (bit_Prefer_PMINUB_for_stringop): New.
59186 (index_Prefer_PMINUB_for_stringop): Likewise.
59187 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59188 bit_Prefer_PMINUB_for_stringop.
59190 2011-07-19 Ulrich Drepper <drepper@gmail.com>
59192 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59194 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59195 of casting of buffer.
59196 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59197 buffer32 and buffer64.
59198 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59199 writes instead of casting of buffer.
59200 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59202 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59205 2011-07-19 Andreas Schwab <schwab@redhat.com>
59207 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59209 2011-07-19 Ulrich Drepper <drepper@gmail.com>
59211 * nscd/nscd.c (termination_handler): Don't do anything for a database
59212 if it has not yet been initialized.
59214 2011-07-18 Ulrich Drepper <drepper@gmail.com>
59216 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59218 2011-07-15 Marek Polacek <mpolacek@redhat.com>
59220 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59222 2011-07-18 Ulrich Drepper <drepper@gmail.com>
59224 * po/nl.po: Update from translation team.
59225 * po/sv.po: Likewise.
59227 2011-07-16 Roland McGrath <roland@hack.frob.com>
59229 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59230 now disallowed by GCC.
59232 * configure.in (use-default-link): Default to yes if a test -shared
59233 link meets our qualifications.
59234 * configure: Regenerated.
59236 * config.make.in (output-format): New variable.
59237 * configure.in: Check for ld --print-output-format support.
59238 * configure: Regenerated.
59239 * Makerules ($(common-objpfx)format.lds)
59240 [$(output-format) != unknown]: Just use $(output-format),
59241 instead of the linker-script munging.
59243 2011-07-14 Roland McGrath <roland@hack.frob.com>
59245 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59246 of $(common-objpfx)shlib.lds.
59247 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59249 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59250 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59252 * configure.in (-z relro check): Adjust test code to add a large
59253 writable data section after it.
59254 * configure: Regenerated.
59256 2011-07-11 Roland McGrath <roland@hack.frob.com>
59258 * configure.in (-z relro check): Fix test code to make the variable
59260 * configure: Regenerated.
59262 2011-07-11 Ulrich Drepper <drepper@gmail.com>
59264 * nscd/nscd.h (struct traced_file): Define.
59265 (struct database_dyn): Remove inotify_descr, reset_res, and filename
59266 elements. Add traced_files.
59267 (inotify_fd): Declare.
59268 (register_traced_file): Declare.
59269 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59270 (inotify_fd): Export.
59271 (resolv_conf_descr): Remove.
59272 (nscd_init): Move inotify descriptor creation to main.
59273 Don't register files for notification here.
59274 (register_traced_file): New function.
59275 (invalidate_cache): Don't use reset_res to determine whether to call
59276 res_init, go through the list of registered files.
59277 (main_loop_poll): The inotify descriptors are now stored in the
59278 structures for the traced files.
59279 (main_loop_epoll): Likewise
59280 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
59281 to __nss_disable_nscd.
59282 * nscd/cache.c (prune_cache): There is no single inotify descriptor
59283 for a database anymore. Check the records for all the registered
59285 * nss/Makefile (libnss_files-routines): Add files-init.
59286 (libnss_db-routines): Add db-init.
59287 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59288 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59289 * nss/nss_db/db-init.c: New file.
59290 * nss/nss_files/files-init.c: New file.
59291 * nss/nsswitch.c (nss_load_library): New function. Broken out of
59292 __nss_lookup_function.
59293 (__nss_lookup_function): Call nss_load_library.
59294 (nss_load_all_libraries): New function.
59295 (__nss_disable_nscd): Take parameter with callback function for files
59296 to register. Set is_nscd. Load all the DSOs for the NSS modules
59297 used for the cached services.
59298 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59299 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59300 options for features to all the files in nscd.
59302 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59304 2011-07-10 Roland McGrath <roland@hack.frob.com>
59306 * csu/elf-init.c (__libc_csu_init): Comment typo.
59308 2011-07-09 Ulrich Drepper <drepper@gmail.com>
59310 * po/pl.po: Update from translation team.
59311 * po/ja.po: Likewise.
59312 * po/ru.po: Likewise.
59313 * po/ko.po: Likewise.
59314 * po/fr.po: Likewise.
59316 2011-07-09 Roland McGrath <roland@hack.frob.com>
59318 * configure.in (.ctors/.dtors header and trailer check):
59319 Use an empirical test on a built program.
59320 * configure: Regenerated.
59322 * configure.in (-z relro check): Use an empirical test on a built DSO.
59323 Detect, but do not require, on ia64.
59324 * configure: Regenerated.
59326 * configure.in (READELF): Find it with AC_CHECK_TOOL.
59327 Update tests that use readelf to use $READELF instead.
59328 * configure: Regenerated.
59330 2011-07-08 Ulrich Drepper <drepper@gmail.com>
59332 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59333 if the result is not used.
59335 2011-07-05 Andreas Jaeger <aj@suse.de>
59338 * stdlib/tst-strtod.c: Add testcase.
59340 2011-07-07 Ulrich Drepper <drepper@gmail.com>
59342 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59343 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59344 The latter has a higher limit. Take additional parameter to pass to
59346 (__pathconf): Pass file to __statfs_link_max.
59347 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59349 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59353 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59354 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59356 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59357 (__statfs_filesize_max): Likewise.
59358 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59360 2011-07-05 Andreas Jaeger <aj@suse.de>
59362 * resolv/res_comp.c (dn_skipname): Remove unused variable.
59364 2011-07-06 Marek Polacek <mpolacek@redhat.com>
59366 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59368 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59371 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
59373 * Makefile (strop-tests): Add strncat.
59374 * string/test-strncat.c: New file.
59376 2011-06-30 Marek Polacek <mpolacek@redhat.com>
59378 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59380 2011-06-21 Andreas Jaeger <aj@suse.de>
59382 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59383 Copy rule from iconvdata/Makefile.
59385 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59388 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59389 but no long options are defined, just return 'W'.
59391 2011-06-22 Marek Polacek <mpolacek@redhat.com>
59394 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59396 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59398 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59400 (innetgr): Likewise.
59402 2011-07-05 Roland McGrath <roland@hack.frob.com>
59404 * config.make.in (install_root): Default to $(DESTDIR).
59406 2011-07-05 Ulrich Drepper <drepper@gmail.com>
59408 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59410 2011-07-02 Roland McGrath <roland@hack.frob.com>
59412 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59414 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59415 containing directory rather than embedding absolute directory names.
59417 * scripts/check-local-headers.sh: Rewritten using awk.
59418 Match by word, not by line. Print error messages for matches.
59419 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59421 * Makerules [shlib-lds-flags empty]:
59422 ($(common-objpfx)libc_pic.opts): New target.
59423 ($(common-objpfx)libc_pic.os.clean): New target.
59424 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59426 * config.make.in (OBJCOPY): New variable.
59427 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59428 * configure: Regenerated.
59430 * config.make.in (use-default-link): New variable.
59431 * configure.in (use_default_link): Grok --with-default-link to set it.
59432 * configure: Regenerated.
59433 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59434 (shlib-lds, shlib-lds-flags): Define to empty.
59436 * Makerules (shlib-lds): New variable.
59437 (shlib-lds-flags): New variable.
59438 (build-shlib, build-moduile, build-module-asneeded): Use it.
59439 ($(common-objpfx)libc.so): Use $(shlib-lds).
59440 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59441 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59443 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59444 DT_FLAGS/DT_FLAGS_1 with zero flags.
59446 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59447 linker script munging.
59449 2011-07-02 Ulrich Drepper <drepper@gmail.com>
59451 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59453 * crypt/sha512.c (sha512_process_block): Perform total addition using
59454 128-bit if possible.
59455 (__sha512_finish_ctx): Likewise.
59456 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59458 * crypt/sha256.c (SWAP64): Define.
59459 (sha256_process_block): Perform total addition using 64-bit if
59461 (__sha256_finish_ctx): Likewise.
59463 2011-07-01 Ulrich Drepper <drepper@gmail.com>
59465 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
59466 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59467 * nscd/hstcache.c (cache_addhst): Likewise.
59468 * nscd/grpcache.c (cache_addgr): Likewise.
59469 * nscd/aicache.c (addhstaiX): Likewise
59470 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59472 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
59474 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59476 * nscd/hstcache.c (cache_addhst): Likewise.
59477 * nscd/grpcache.c (cache_addgr): Likewise.
59478 * nscd/aicache.c (addhstaiX): Likewise
59480 2011-07-01 Andreas Schwab <schwab@redhat.com>
59482 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59483 domain only when needed.
59485 2011-06-30 Andreas Schwab <schwab@redhat.com>
59487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59488 is always restored.
59490 2011-06-29 Ulrich Drepper <drepper@gmail.com>
59492 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59493 are re-adding the entry.
59494 * nscd/servicescache.c (cache_addserv): Likewise.
59496 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
59498 * sysdeps/generic/dl-irel.h: fix protection against multiple
59500 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59502 2011-06-28 Ulrich Drepper <drepper@gmail.com>
59505 * malloc/memusage.sh: Fix quoting in message.
59506 * debug/xtrace.sh: Likewise.
59508 * configure.in: Remove support for --experimental-malloc option, make
59510 * config.make.in: Likewise.
59511 * malloc/Makefile: Likewise.
59513 2011-06-27 Andreas Schwab <schwab@redhat.com>
59515 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59516 two-byte characters.
59518 2011-06-27 Roland McGrath <roland@hack.frob.com>
59520 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59521 AC_CACHE_CHECK invocation.
59522 * configure: Regenerated.
59524 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59526 2011-06-27 Ulrich Drepper <drepper@gmail.com>
59529 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
59530 bit from old_res_options.
59532 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59534 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59535 value type for setfct.
59537 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
59539 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59540 __gettimeofday instead of gettimeofday.
59542 2011-06-26 Ulrich Drepper <drepper@gmail.com>
59544 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59546 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
59548 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59550 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59553 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59555 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59556 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59557 strcpy-sse2-unaligned strncpy-sse2-unaligned
59558 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59559 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59560 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59561 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59562 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59563 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59564 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59565 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59566 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59567 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59568 (STRCPY): Support SSE2 and SSSE3 versions.
59570 2011-06-24 Ulrich Drepper <drepper@gmail.com>
59573 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59574 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59575 kernels which artificially limit size of requests.
59577 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59579 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59580 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59581 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59582 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59583 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59584 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59585 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59586 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59587 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59588 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59589 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59590 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59591 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59592 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59593 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59595 Enable unaligned load optimization for Intel Core i3, i5 and i7
59597 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59599 (index_Fast_Unaligned_Load): Define.
59600 (HAS_FAST_UNALIGNED_LOAD): Define.
59602 2011-06-23 Marek Polacek <mpolacek@redhat.com>
59604 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59606 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59609 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59610 until it is clear that the information is realy needed.
59611 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59613 2011-06-22 Andreas Schwab <schwab@redhat.com>
59615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59617 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59619 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59620 /sys/devices/system/cpu/online if it is usable.
59622 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59623 reading the information from the /proc filesystem to once a second.
59625 2011-06-21 Andreas Jaeger <aj@suse.de>
59627 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59628 NULL after inclusion of kernel headers.
59630 2011-06-21 Ulrich Drepper <drepper@gmail.com>
59632 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59633 calls to internal_setent.
59636 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59637 addresses using gethostbyname4_r ignore IPv4 addresses.
59639 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59640 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
59642 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59644 2011-06-20 David S. Miller <davem@davemloft.net>
59646 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59648 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59650 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59651 (elf_irel): Use it.
59652 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59653 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59654 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59655 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59656 * sysdeps/x86_64/dl-irel.h: Likewise.
59658 * elf/dl-runtime.c: Use elf_ifunc_invoke.
59659 * elf/dl-sym.c: Likewise.
59661 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59663 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
59664 need to dereference resplen2.
59666 2011-06-14 Andreas Schwab <schwab@redhat.com>
59668 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59670 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59672 * Makeconfig: Define vardbdir and inst_vardbdir.
59673 * nss/Makefile: Add rules to install db-Makefile.
59675 * nss/nss_db/db-XXX.c: Cleanup.
59677 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59678 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59680 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59681 * nss/makedb.c: Implement -g option to specify that value strings
59682 are generated and should not be added to table iterated over for
59684 * nss/nss_db/db-initgroups.c: New file.
59686 * nss/getent.c: Add support for initgroups lookups through getgrouplist
59689 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59690 (internal_getgrouplist): Adjust to name change.
59691 Update use_initgroups_entry if this is not the first call.
59692 * nss/databases.def: Add initgroups entry.
59694 * nss/makedb.c (compute_tables): Check result of multiple hash table
59695 sizes to minimize maximum chain length.
59697 2011-06-14 Ulrich Drepper <drepper@gmail.com>
59699 * Versions.def: Add entry for libnss_db.
59700 * shlib-versions: Likewise.
59701 * nss/Makefile: Add rules to build libnss_db.
59702 * nss/Versions: Add libnss_db information. Organize libnss_files
59704 * nss/db-Makefile: Add gshadow support. Change rules for the new
59705 makedb progra. Some minor improvements to generate smaller files.
59706 * nss/nss_db/nss_db.h: Move NSS database header data structures to
59708 * nss/makedb.c: ...here.
59709 Improve database format to be smaller and require less memory at
59711 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
59713 * nss/nss_db/db-netgrp.c: Likewise.
59714 * nss/nss_db/db-open.c: Likewise.
59715 * nss/nss_files/flies-XXX.x: Adjust comments.
59716 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59717 * nss/nss_files/files-grp.c: Likewise.
59718 * nss/nss_files/files-hosts.c: Likewise.
59719 * nss/nss_files/files-network.c: Likewise.
59720 * nss/nss_files/files-proto.c: Likewise.
59721 * nss/nss_files/files-pwd.c: Likewise.
59722 * nss/nss_files/files-rpc.c: Likewise.
59723 * nss/nss_files/files-service.c: Likewise.
59724 * nss/nss_files/files-sgrp.c: Likewise.
59725 * nss/nss_files/files-spwd.c: Likewise.
59726 * nss/nss_db/db-alias.c: Removed.
59727 * nss/nss_db/dummy-db.h: Removed.
59729 2011-06-02 Ulrich Drepper <drepper@gmail.com>
59731 * nss/makedb.c: Rewritten to not use database library.
59732 * nss/Makefile: Update to build new makedb program.
59734 2011-06-14 Andreas Jaeger <aj@suse.de>
59736 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59737 memset declaration.
59739 2011-06-10 Andreas Schwab <schwab@redhat.com>
59741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59744 2011-06-10 Roland McGrath <roland@hack.frob.com>
59746 * Makerules (shlib.lds): Fail if the linker script comes out empty.
59747 * elf/Makefile ($(objpfx)ld.so): Likewise.
59749 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59750 Don't list ld.so twice in dependencies.
59752 * posix/bug-regex31.c: Include <stdlib.h>.
59754 * nscd/hstcache.c (cache_addhst): Remove unused variable.
59756 * nis/nss_compat/compat-spwd.c
59757 (getspent_next_nss_netgr): Remove unused variable.
59758 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59760 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59761 nonmembers" output to use the right array.
59763 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59765 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59767 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59768 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59769 * catgets/gencat.c (read_input_file): Likewise.
59770 * locale/programs/locarchive.c (enlarge_archive): Likewise.
59772 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59773 variable definition inside #if's controlling its use.
59775 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59777 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59779 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59781 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59784 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59786 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59787 * configure: Regenerated.
59789 * Makerules: Revert last change.
59790 * elf/Makefile: Likewise.
59792 2011-06-09 Roland McGrath <roland@hack.frob.com>
59794 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59795 * elf/Makefile ($(objpfx)librtld.os): Likewise.
59796 (reloc-link): Likewise.
59798 2011-06-09 Ulrich Drepper <drepper@gmail.com>
59800 * elf/Makefile: Add rules to build pldd.
59801 * elf/pldd.c: New file.
59802 * elf/pldd-xx.c: New file.
59804 2011-06-07 Ulrich Drepper <drepper@gmail.com>
59806 * version.h: Update for 2.15 development version.
59808 2011-06-07 David S. Miller <davem@davemloft.net>
59810 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59812 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59813 elf_machine_lazy_rel): Likewise.
59814 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59815 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59816 elf_machine_lazy_rel): Likewise.
59817 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59818 dl_hwcap via passed in argument.
59819 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59822 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59824 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
59826 2011-06-06 Roland McGrath <roland@hack.frob.com>
59829 * manual/fdl-1.1.texi: New file, verbatim from:
59830 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59831 * manual/lgpl-2.1.texi: New file, verbatim from:
59832 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59833 * manual/Makefile (licenses): New variable, list those new file names.
59835 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59837 * manual/fdl.texi: File removed.
59838 * manual/lesser.texi: File removed.
59839 * manual/libc.texinfo (Copying, Documentation License):
59840 Use new @include file names, put @appendix directive before @include.
59842 2011-06-04 Jakub Jelinek <jakub@redhat.com>
59845 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59846 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59847 (mq_open): Add __NTH.
59849 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
59851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59852 Assume Intel Core i3/i5/i7 processor if AVX is available.
59854 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59856 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59859 2011-05-31 Andreas Schwab <schwab@redhat.com>
59861 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59862 memory. Use alloca_account. Fix memory leak when retrying.
59864 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59866 * version.h (RELEASE): Bump for 2.14 release.
59867 * include/features.h (__GLIBC_MINOR__): Bump to 14.
59869 * config.make.in (RANLIB): Remove entry.
59871 2011-05-30 Ulrich Drepper <drepper@gmail.com>
59873 * po/Makefile (po-sed-cmd): Add ksh to extensions.
59874 (libc.pot): Work around missing support for .ksh extension in xgettext.
59877 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59878 if both request failed.
59879 (send_dg): In case of server errors clear resplen or *resplen2.
59882 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59883 when there are multiple maps.
59884 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59885 (_dl_fini): Remove test here.
59887 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59889 2011-05-29 Ulrich Drepper <drepper@gmail.com>
59892 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59893 bit from old_res_options.
59894 (gaih_inet): Likewise.
59897 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59900 * resolv/res_init.c (res_setoptions): Make the code more compact.
59903 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59907 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59909 * malloc/malloc.h: Mark malloc hook variables as deprecated.
59912 * malloc/malloc.h: Declare malloc hook variables as volatile.
59914 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59918 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59919 raise in the comment.
59920 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59921 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59922 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59924 2011-05-28 Ulrich Drepper <drepper@gmail.com>
59927 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59928 grow the buffers more if it already has to be sufficient.
59929 (build_wcs_upper_buffer): Likewise.
59930 * posix/regexec.c (check_matching): Likewise.
59931 (clean_state_log_if_needed): Likewise.
59932 (extend_buffers): Don't enlarge buffers beyond size of the input
59934 Patches mostly by Emil Wojak <emil@wojak.eu>.
59935 * posix/bug-regex32.c: New file.
59936 * posix/Makefile (tests): Add bug-regex32.
59938 * locale/findlocale.c (_nl_find_locale): Return right away if
59939 _nl_explode_name failed.
59940 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59942 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59944 * debug/xtrace.sh: Unify messages.
59945 * malloc/memusage.sh: Likewise.
59948 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59949 time symbol from vDSO. Substitute with vsyscall if not available.
59950 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59953 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59954 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59955 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59956 Add sendmmsg and internal_sendmmsg.
59957 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59958 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59959 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59961 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59962 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59963 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59965 2011-05-27 Ulrich Drepper <drepper@gmail.com>
59968 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59969 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
59971 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59975 * iconvdata/Makefile (tests): Add bug-iconv9.
59976 * iconvdata/bug-iconv9.c: New file.
59978 2011-05-27 Andreas Schwab <schwab@redhat.com>
59981 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59983 2011-05-25 Jakub Jelinek <jakub@redhat.com>
59985 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59986 (struct user_regs_struct): Change intcs field back to cs.
59988 2011-05-25 Ulrich Drepper <drepper@gmail.com>
59990 * po/ja.po: Update from translation team.
59992 2011-05-23 Ulrich Drepper <drepper@gmail.com>
59995 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59996 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59998 2011-05-20 Andreas Schwab <schwab@redhat.com>
60000 * stdlib/longlong.h: Update from GCC.
60002 2011-05-23 Andreas Schwab <schwab@redhat.com>
60004 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
60006 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
60007 Add parameter name.
60008 (__sysconf): Pass it down.
60010 2011-05-22 Ulrich Drepper <drepper@gmail.com>
60013 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
60015 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
60016 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
60017 add in in __libc_use_alloca calls. Adjust callers.
60018 (glob): Use malloc in some situations.
60020 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
60021 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
60024 2011-05-21 Ulrich Drepper <drepper@gmail.com>
60026 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
60027 and CLOCK_BOOTTIME_ALARM.
60030 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
60033 * string/_strerror.c (__strerror_r): Print negative errors as signed
60037 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
60038 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
60039 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
60041 * configure.in: Fix typo in redirection and correct removal of test
60042 files in two cases.
60045 * locale/setlocale.c (new_composite_name): Fix test to check for
60046 identical name of all categories.
60049 * libio/filedoalloc.c (local_isatty): New function.
60050 (_IO_file_doallocate): Use local_isatty.
60051 * stdio-common/perror.c (perror): In case a new stream is used
60052 forward the stream error.
60053 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
60056 2011-05-20 Ulrich Drepper <drepper@gmail.com>
60059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
60061 * include/alloca.h (extend_alloca_account): Define.
60064 * posix/regex.h: Fix comments with documentation of user-accessible
60065 fields after compilation and describe correct free'ing of pattern
60066 after re_compile_pattern.
60067 Patch by Reuben Thomas <rrt@sc3d.org>.
60069 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
60071 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
60072 and -mno-altivec to prevent the compiler from using Altivec and/or
60073 VSX instructions when the corresponding registers are not available.
60075 2011-05-19 Andreas Schwab <schwab@redhat.com>
60077 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
60079 2011-05-19 Ulrich Drepper <drepper@gmail.com>
60081 * libio/freopen.c (freopen): Use __dup2, not dup2.
60082 * libio/freopen64.c (freopen64): Likewise.
60084 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
60087 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
60088 * math/Makefile (tests): Add test-powl.
60089 (CFLAGS-test-powl.c): Define.
60090 * math/test-powl.c: New file.
60092 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
60094 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60096 2011-05-17 Ulrich Drepper <drepper@gmail.com>
60099 * iconvdata/gb18030.c: Update to GB18020-2005.
60101 2011-05-16 Ulrich Drepper <drepper@gmail.com>
60103 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60104 RE_SYNTAX_POSIX_AWK): Update to match recent development.
60105 Patch by Aharon Robbins <arnold@skeeve.com>.
60108 * stdlib/putenv.c (putenv): Don't always create copy of the variable
60112 * misc/pselect.c (__pselect): Handle timeout value errors hidden
60113 through underflows.
60116 * misc/error.c (error_at_line): Ensure file_name and old_file_name
60117 point to strings before performing equality test for error_one_per_line
60121 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60124 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60125 (struct user_fpregs_struct): Avoid __uint*_t types.
60128 * malloc/mtrace.c (tr_where): Add additional parameter to point to
60129 symbol info. Use it instead of calling _dl_addr locally.
60130 (lock_and_info): New function.
60131 (tr_freehook): Call lock_and_info and pass symbol info as additional
60132 parameter to tr_where.
60133 (tr_mallochook): Likewise.
60134 (tr_reallochook): Likewise.
60135 (tr_memalignhook): Likewise.
60137 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
60138 used and couldn't be at all thread-safe.
60140 2011-05-15 Ulrich Drepper <drepper@gmail.com>
60142 * libio/freopen.c (freopen): Don't close old file descriptor
60143 before the new one is opened. Instead dup the new file descriptor
60144 to the old one after the new stream is created.
60145 * libio/freopen64.c (freopen64): Likewise.
60146 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60147 * libio/fileops.c (_IO_new_file_close_it): Handle new
60148 _IO_FLAGS2_NOCLOSE flag.
60149 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60150 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60151 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60152 _IO_FLAGS2_NOCLOSE flag.
60153 * include/unistd.h: Add hidden_proto for dup3.
60154 Define __have_dup3.
60155 * io/dup3.c: Define hidden symbol.
60156 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60159 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60160 when an incomplete long option is used.
60161 * posix/tst-getopt_long1.c: New file.
60162 * posix/Makefile (tests): Add tst-getopt_long1.
60165 * scripts/config.guess: Update from autoconf-2.68.
60166 * scripts/config.sub: Likewise.
60169 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60171 (has_cpuclock): ...this. New function.
60172 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60173 macro here based on has_cpuclock code.
60176 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60177 First byte (not low byte) is now always NUL.
60178 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60180 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60181 Use non-cancelable interfaces.
60184 * locale/iso-639.def: Add entry for Sorani.
60187 * include/stdlib.h: Move include protection to the right place.
60188 Define abort_msg_s. Declare __abort_msg with it.
60189 * stdlib/abort.c (__abort_msg): Adjust type.
60190 * assert/assert.c (__assert_fail_base): New function. Majority
60191 of code from __assert_fail. Allocate memory for __abort_msg with
60193 (__assert_fail): Now call __assert_fail_base.
60194 * assert/assert-perr.c: Remove bulk of implementation. Use
60195 __assert_fail_base.
60196 * include/assert.hL Declare __assert_fail_base.
60197 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60199 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60201 2011-05-14 Ulrich Drepper <drepper@gmail.com>
60205 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60206 until all modules are registered in the DTV.
60207 * elf/Makefile: Add rules to build and run tst-tls19.
60208 * elf/tst-tls19.c: New file.
60209 * elf/tst-tls19mod1.c: New file.
60210 * elf/tst-tls19mod2.c: New file.
60211 * elf/tst-tls19mod3.c: New file.
60212 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60215 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60219 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60220 two-byte sequence errors.
60221 * iconvdata/Makefile (tests): Add bug-iconv8.
60222 * iconvdata/bug-iconv8.c: New file.
60225 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60228 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60231 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60232 (dummy_getcfa): New function.
60233 (init): Get _Unwind_GetCFA address, use dummy if not found.
60234 (backtrace_helper): In recursion check, also check whether CFA changes.
60235 (__backtrace): Completely initialize arg.
60237 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60238 storing incomplete byte sequence in state object. Avoid testing for
60239 guaranteed too small input if we know there is enough data available.
60241 2011-05-11 Andreas Schwab <schwab@redhat.com>
60243 * Makeconfig (+link-pie): Indent.
60244 * Rules (binaries-pie): Define if $(have-fpie) and
60246 (binaries-shared): Also filter out $(binaries-pie).
60247 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60248 * nscd/Makefile (others-pie): Add nscd.
60249 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60250 ($(objpfx)nscd): Remove command override.
60251 * login/Makefile (others-pie): Add pt_chown.
60252 ($(objpfx)pt_chown): Remove command override.
60253 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60254 remove command overrides.
60256 2011-05-13 Ulrich Drepper <drepper@gmail.com>
60258 * libio/tst_putwc.c: Fix error messages.
60261 * libio/fileops.c (_IO_new_file_close_it): Always flush when
60262 currently writing and seek to current position when not.
60263 * libio/Makefile (tests): Add bug-fclose1.
60264 * libio/bug-fclose1.c: New file.
60266 2011-05-12 Ulrich Drepper <drepper@gmail.com>
60269 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60270 don't set DF_1_NODELETE here.
60271 (do_lookup_x): When entering new entry test for copy relocation
60272 and if necessary set DF_1_NODELETE flag.
60273 * elf/tst-unique4.cc: New file.
60274 * elf/tst-unique4.h: New file.
60275 * elf/tst-unique4lib.cc: New file.
60276 * elf/Makefile: Add rules to build and run tst-unique4.
60277 Patch by Piotr Bury <pbury@goahead.com>.
60279 2011-05-11 Ulrich Drepper <drepper@gmail.com>
60282 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60285 * misc/mntent_r.c (addmntent): Flush the stream after the output
60288 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60289 (is_trusted_path_normalize): Skip initial colon. Append slash
60290 to empty buffer. Duplicate is_trusted_path code but allow
60291 constructed patch to be prefix.
60292 (is_dst): Allow $ORIGIN followed by /.
60293 (_dl_dst_substitute): Correct clearing of check_for_trusted.
60294 Correct testing of result of is_trusted_path_normalize
60295 (decompose_rpath): Fix warning.
60297 2011-05-10 Ulrich Drepper <drepper@gmail.com>
60300 * grp/initgroups.c (internal_getgrouplist): When we found the service
60301 list through the initgroups entry in nsswitch.conf do not always
60302 continue on a successful lookup. Don't always use the
60303 __nss_group_database value if it is set.
60304 * nss/nsswitch.conf (initgroups): Change action for successful db
60305 lookup to continue for compatibility.
60307 2011-05-09 Ulrich Drepper <drepper@gmail.com>
60310 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60312 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60314 * iconvdata/tst-tables.sh: Likewise.
60315 * iconvdata/cp770.c: New file.
60316 * iconvdata/cp771.c: New file.
60317 * iconvdata/cp772.c: New file.
60318 * iconvdata/cp773.c: New file.
60319 * iconvdata/cp774.c: New file.
60320 * iconvdata/testdata/CP770: New file.
60321 * iconvdata/testdata/CP770..UTF8: New file.
60322 * iconvdata/testdata/CP771: New file.
60323 * iconvdata/testdata/CP771..UTF8: New file.
60324 * iconvdata/testdata/CP772: New file.
60325 * iconvdata/testdata/CP772..UTF8: New file.
60326 * iconvdata/testdata/CP773: New file.
60327 * iconvdata/testdata/CP773..UTF8: New file.
60328 * iconvdata/testdata/CP774: New file.
60329 * iconvdata/testdata/CP774..UTF8: New file.
60331 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60333 * iconvdata/gen-8bit-gap.sh: Likewise.
60334 * iconvdata/gen-8bit.sh: Likewise.
60336 * locale/iso-639.def: Add ary entry.
60339 * locale/C-translit.h.in: Add U20A1 transliteration.
60342 * locale/iso-639.def: Add wae entry.
60343 Patch by Kevin Bortis <bortis@translate-wae.ch>.
60346 * locale/programs/localedef.c (construct_output_path): Use ssize_t
60350 * locale/C-translit.h.in: Add entry for U20B9.
60351 Patch by pravin.d.s@gmail.com.
60353 2011-05-08 Ulrich Drepper <drepper@gmail.com>
60356 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60357 ENAMETOOLONG use generic getcwd.
60358 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
60359 in rtld. Use *stat64.
60360 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60361 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60362 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60363 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60364 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60365 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60366 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60367 __fstatat64 macros.
60368 * include/dirent.h: Add libc_hidden_proto for rewinddir.
60369 * dirent/rewinddir.c: Add libc_hidden_def.
60370 * sysdeps/mach/hurd/rewinddir.c: Likewise.
60371 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
60373 * include/dirent.h (__alloc_dir): Add flags parameter.
60374 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60375 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60377 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
60378 from fdopendir if O_CLOEXEC is already set.
60380 2011-03-15 Alan Modra <amodra@gmail.com>
60382 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60383 l_tls_firstbyte_offset non-zero. Save padding offset in
60384 l_tls_firstbyte_offset for later use.
60385 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60386 freeing static tls block.
60388 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
60390 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60391 where #ifdef was intended. The intent is to prevent ARG_MAX from
60392 being defined by the kernel headers.
60394 2011-05-07 Ulrich Drepper <drepper@gmail.com>
60397 * resolv/resolv.h: Define RES_NOTLDQUERY.
60398 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60399 no-tld-query and set RES_NOTLDQUERY.
60400 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60401 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60402 modern BIND to search name as TLD unless forbidden.
60404 2011-05-07 Petr Baudis <pasky@suse.cz>
60405 Ulrich Drepper <drepper@gmail.com>
60408 * elf/dl-load.c (fillin_rpath): Move trusted path check...
60409 (is_trusted_path): ...to here.
60410 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60411 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60412 using is_trusted_path_normalize() in setuid scripts.
60414 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
60416 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60417 __BEGIN/__END_DECLS.
60419 2011-05-06 Ulrich Drepper <drepper@gmail.com>
60421 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60422 NSS_STATUS_NOTFOUND if no record was found.
60424 2011-05-05 Andreas Schwab <schwab@redhat.com>
60426 * sunrpc/Makefile (headers): Add rpc/netdb.h.
60427 (headers-not-in-tirpc): Remove rpc/netdb.h
60428 * resolv/netdb.h: Revert last change.
60430 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
60432 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60433 circular dependency between libgcc.a and libc.a.
60435 2011-05-05 Andreas Schwab <schwab@redhat.com>
60437 * resolv/netdb.h: Don't include <rpc/netdb.h>.
60438 * nis/Makefile: Don't install rpcsvc/*.
60439 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60440 instead of <rpc/types.h>.
60441 (MAXHOSTNAMELEN): Define.
60443 2011-05-03 Andreas Schwab <schwab@redhat.com>
60445 * elf/ldconfig.c (add_dir): Don't crash on empty path.
60447 2011-04-28 Maciej Babinski <mbabinski@google.com>
60450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60451 gethostbyname4_r when IPv6 results are possible.
60453 2011-05-02 Ulrich Drepper <drepper@gmail.com>
60456 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60457 _PC_PIPE_BUF handling.
60459 2011-04-30 Bruno Haible <bruno@clisp.org>
60462 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60463 * resolv/netdb.h (getnameinfo): Change type of flags parameter
60465 * inet/getnameinfo.c (getnameinfo): Likewise.
60467 2011-04-29 Ulrich Drepper <drepper@gmail.com>
60469 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60470 to groups setting in database lookup.
60471 * nss/nsswitch.conf: Add initgroups entry.
60473 2011-04-22 Ulrich Drepper <drepper@gmail.com>
60476 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60478 Patch by Eric Blake <eblake@redhat.com>.
60480 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
60482 * sunrpc/Makefile (need-export-routines): Add svc_run.
60483 (routines): Remove svc_run.
60484 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60485 * sunrpc/clnt_perr.c (clnt_perrno): Export.
60486 * sunrpc/svc_run.c (svc_run): Likewise.
60487 * sunrpc/svc_udp.c (svcudp_create): Likewise.
60489 2011-04-21 Ulrich Drepper <drepper@gmail.com>
60491 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60492 problem in reallocation in last patch.
60494 2011-04-20 Ulrich Drepper <drepper@gmail.com>
60496 * sunrpc/Makefile: Move inclusion of Rules.
60498 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60500 * nss/nss_files/files-initgroups.c: New file.
60501 * nss/Makefile (libnss_files-routines): Add files-initgroups.
60502 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60503 _nss_files_initgroups_dyn.
60505 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
60507 * elf/elf.h (R_ARM_IRELATIVE): Define.
60509 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60511 * po/ru.po: Update from translation team.
60513 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60515 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60518 2011-02-06 Mike Frysinger <vapier@gentoo.org>
60521 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60522 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60523 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60524 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60525 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60527 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
60529 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60531 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60532 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60533 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60535 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60538 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60540 * stdlib/bug-getcontext.c: New file.
60541 * stdlib/Makefile: Add rules to build and run bug-getcontext.
60543 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60545 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60546 instructions into .machine "z9-109".
60547 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60548 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60550 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60552 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60553 between environment variables and auxiliary vector.
60555 2011-04-16 Ulrich Drepper <drepper@gmail.com>
60557 * Makefile: Add rules to build linkobj/libc.so.
60558 * include/libc-symbols.h: Define libc_hidden_nolink.
60559 * include/rpc/auth.h: Mark functions which are to be hidden.
60560 * include/rpc/auth_des.h: Likewise.
60561 * include/rpc/auth_unix.h: Likewise.
60562 * include/rpc/clnt.h: Likewise.
60563 * include/rpc/des_crypt.h: Likewise.
60564 * include/rpc/key_prot.h: Likewise.
60565 * include/rpc/pmap_clnt.h: Likewise.
60566 * include/rpc/pmap_prot.h: Likewise.
60567 * include/rpc/pmap_rmt.h: Likewise.
60568 * include/rpc/rpc_msg.h: Likewise.
60569 * include/rpc/svc.h: Likewise.
60570 * include/rpc/svc_auth.h: Likewise.
60571 * include/rpc/xdr.h: Likewise.
60572 * nis/Makefile: Link all DSOs against linkobj/libc.so.
60573 * nss/Makefile: Likewise.
60574 * sunrpc/Makefile: Don't install headers. Build library with normal
60575 entry points. Don't build rpcinfo. Link RPC tests appropriately.
60576 * sunrpc/auth_des.c: Hide exported symbols by default, export some
60577 for the compat linking library. Remove use of INTDEF/INTUSE.
60578 * sunrpc/auth_none.c: Likewise.
60579 * sunrpc/auth_unix.c: Likewise.
60580 * sunrpc/authdes_prot.c: Likewise.
60581 * sunrpc/authuxprot.c: Likewise.
60582 * sunrpc/clnt_gen.c: Likewise.
60583 * sunrpc/clnt_perr.c: Likewise.
60584 * sunrpc/clnt_raw.c: Likewise.
60585 * sunrpc/clnt_simp.c: Likewise.
60586 * sunrpc/clnt_tcp.c: Likewise.
60587 * sunrpc/clnt_udp.c: Likewise.
60588 * sunrpc/clnt_unix.c: Likewise.
60589 * sunrpc/des_crypt.c: Likewise.
60590 * sunrpc/des_soft.c: Likewise.
60591 * sunrpc/get_myaddr.c: Likewise.
60592 * sunrpc/key_call.c: Likewise.
60593 * sunrpc/key_prot.c: Likewise.
60594 * sunrpc/netname.c: Likewise.
60595 * sunrpc/pm_getmaps.c: Likewise.
60596 * sunrpc/pm_getport.c: Likewise.
60597 * sunrpc/pmap_clnt.c: Likewise.
60598 * sunrpc/pmap_prot.c: Likewise.
60599 * sunrpc/pmap_prot2.c: Likewise.
60600 * sunrpc/pmap_rmt.c: Likewise.
60601 * sunrpc/publickey.c: Likewise.
60602 * sunrpc/rpc_cmsg.c: Likewise.
60603 * sunrpc/rpc_common.c: Likewise.
60604 * sunrpc/rpc_dtable.c: Likewise.
60605 * sunrpc/rpc_prot.c: Likewise.
60606 * sunrpc/rpc_thread.c: Likewise.
60607 * sunrpc/rtime.c: Likewise.
60608 * sunrpc/svc.c: Likewise.
60609 * sunrpc/svc_auth.c: Likewise.
60610 * sunrpc/svc_authux.c: Likewise.
60611 * sunrpc/svc_raw.c: Likewise.
60612 * sunrpc/svc_run.c: Likewise.
60613 * sunrpc/svc_simple.c: Likewise.
60614 * sunrpc/svc_tcp.c: Likewise.
60615 * sunrpc/svc_udp.c: Likewise.
60616 * sunrpc/svc_unix.c: Likewise.
60617 * sunrpc/svcauth_des.c: Likewise.
60618 * sunrpc/xcrypt.c: Likewise.
60619 * sunrpc/xdr.c: Likewise.
60620 * sunrpc/xdr_array.c: Likewise.
60621 * sunrpc/xdr_float.c: Likewise.
60622 * sunrpc/xdr_intXX_t.c: Likewise.
60623 * sunrpc/xdr_mem.c: Likewise.
60624 * sunrpc/xdr_rec.c: Likewise.
60625 * sunrpc/xdr_ref.c: Likewise.
60626 * sunrpc/xdr_sizeof.c: Likewise.
60627 * sunrpc/xdr_stdio.c: Likewise.
60629 2011-04-10 Ulrich Drepper <drepper@gmail.com>
60632 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60633 * sysdeps/ia64/dl-tls.h: Likewise.
60634 * sysdeps/powerpc/dl-tls.h: Likewise.
60635 * sysdeps/s390/dl-tls.h: Likewise.
60636 * sysdeps/sh/dl-tls.h: Likewise.
60637 * sysdeps/sparc/dl-tls.h: Likewise.
60638 * sysdeps/x86_64/dl-tls.h: Likewise.
60639 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60641 2011-03-14 Andreas Schwab <schwab@redhat.com>
60643 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60644 rpath element also skip the following colon.
60645 (expand_dynamic_string_token): Add is_path parameter and pass
60646 down to DL_DST_REQUIRED and _dl_dst_substitute.
60647 (decompose_rpath): Call expand_dynamic_string_token with
60648 non-zero is_path. Ignore empty rpaths.
60649 (_dl_map_object_from_fd): Call expand_dynamic_string_token
60652 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
60654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60657 2011-04-09 Ulrich Drepper <drepper@gmail.com>
60660 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60661 Patch by Filipe David Manana <fdmanana@apache.org>.
60663 2011-04-07 Andreas Schwab <schwab@redhat.com>
60665 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60666 Maintain aligned stack.
60667 (CHECK_RSP): Remove unused macro.
60669 2011-04-03 Ulrich Drepper <drepper@gmail.com>
60671 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60672 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60674 2011-04-02 Ulrich Drepper <drepper@gmail.com>
60676 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60678 * include/features.h: Mention __USE_XOPEN2K8 in comment.
60680 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
60683 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60684 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60685 * sysdeps/x86_64/memmove.c: New file.
60686 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60687 (memcpy): Renamed to ...
60688 (__new_memcpy): This.
60689 (memcpy): Provide GLIBC_2_14 memcpy.
60690 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60691 (memcpy): Provide GLIBC_2_2_5 memcpy.
60693 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60696 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60698 2011-03-30 Andreas Schwab <schwab@redhat.com>
60700 * misc/syncfs.c: New file.
60701 * misc/Makefile (routines): Add syncfs.
60702 * posix/unistd.h: Declare syncfs.
60703 * sysdeps/unix/syscalls.list: Add syncfs.
60705 2011-04-01 Andreas Schwab <schwab@redhat.com>
60707 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60709 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60710 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60712 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60714 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60715 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60717 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60719 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60720 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60721 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60722 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60723 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60725 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60727 * io/Makefile: Compile fallocate.c, fallocate64.c, and
60728 sync_file_range.c with -fexceptions.
60729 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60730 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60731 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60732 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60733 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60734 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60735 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60736 sync_file_range as cancellation point
60737 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
60738 now a wrapper around __call_sync_file_range with cancellation handling.
60739 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60740 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
60741 function name to __call_sync_file_range.
60742 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60743 Add call_sync_file_range.
60745 2011-04-01 Andreas Schwab <schwab@redhat.com>
60747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60750 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60752 * iconv/iconv.h: Fix typo in comment.
60753 * io/fcntl.h: Likewise.
60754 * libio/stdio.h: Likewise.
60755 * posix/spawn.h: Likewise.
60756 * posix/unistd.h: Likewise.
60757 * stdlib/stdlib.h: Likewise.
60758 * time/time.h: Likewise.
60759 * wcsmbs/wchar.h: Likewise.
60761 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60762 open_by_handle): Add.
60763 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60764 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
60765 Augment a few comments.
60766 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60767 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60768 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60770 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60771 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60774 * io/fcntl.h (AT_EMPTY_PATH): Define.
60776 2011-03-30 Ulrich Drepper <drepper@gmail.com>
60778 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60779 * sysdeps/unix/sysv/linux/bits/time.h: New file.
60780 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60782 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
60783 * Versions.def: Add GLIBC_2.14.
60784 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60787 2011-03-22 Ulrich Drepper <drepper@gmail.com>
60789 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60791 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60793 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
60796 * string/test-strncmp.c (do_page_test): New function.
60797 (check2): Likewise.
60798 (test_main): Call check2.
60799 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60801 2011-03-20 Ulrich Drepper <drepper@gmail.com>
60804 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60805 Handle cache information in CPU leaf 4.
60806 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60808 2011-03-18 Ulrich Drepper <drepper@gmail.com>
60811 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60812 character representation.
60813 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60815 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
60817 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60818 END(__isnan) to END(__isnanf) to match function entry point/label
60819 EALIGN(__isnanf,...).
60821 2011-03-10 Jakub Jelinek <jakub@redhat.com>
60823 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60825 2011-03-10 Ulrich Drepper <drepper@gmail.com>
60828 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60829 copy from the symbol referenced in the relocation to initialize the
60831 Patch by Piotr Bury <pbury@goahead.com>.
60832 * elf/Makefile: Add rules to build and tst-unique3.
60833 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60834 * elf/tst-unique3.cc: New file.
60835 * elf/tst-unique3.h: New file.
60836 * elf/tst-unique3lib.cc: New file.
60837 * elf/tst-unique3lib2.cc: New file.
60839 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60841 2011-03-10 Mike Frysinger <vapier@gentoo.org>
60843 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60844 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
60847 2011-03-06 Ulrich Drepper <drepper@gmail.com>
60849 * elf/dl-load.c (_dl_map_object): If we are looking for the first
60850 to-be-loaded object along a path to loader is ld.so.
60852 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60853 Ulrich Drepper <drepper@gmail.com>
60855 * sysdeps/x86_64/memset.S: After aligning destination, code
60856 branches to different locations depending on the value of
60857 misalignment, when multiarch is enabled. Fix this.
60859 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60861 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60862 Set _x86_64_preferred_memory_instruction for AMD processsors.
60863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60864 Set bit_Prefer_SSE_for_memop for AMD processors.
60866 2011-03-04 Ulrich Drepper <drepper@gmail.com>
60868 * libio/fmemopen.c (fmemopen): Optimize a bit.
60870 2011-03-03 Andreas Schwab <schwab@redhat.com>
60872 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60874 2011-03-03 Roland McGrath <roland@redhat.com>
60876 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60878 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
60880 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60881 __bzero_ultra1 instead of __memset_ultra1.
60883 2011-02-23 Andreas Schwab <schwab@redhat.com>
60884 Ulrich Drepper <drepper@gmail.com>
60887 * include/link.h (struct link_map): Add l_orig_initfini.
60888 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60889 returning unsuccessfully.
60890 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60891 close of a file loaded at startup, restore the original l_initfini
60893 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60894 list, store the pointer.
60895 * elf/Makefile ($(objpfx)noload-mem): New rule.
60896 (noload-ENV): Define.
60897 (tests): Add $(objpfx)noload-mem.
60898 * elf/noload.c: Include <memcheck.h>.
60899 (main): Call mtrace. Close all opened handles.
60901 2011-02-17 Andreas Schwab <schwab@redhat.com>
60904 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60905 dependencies are missing.
60907 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
60909 Fix __if_freereq crash: Unlike the generic version which uses free,
60911 * sysdeps/mach/hurd/ifreq.h: New file.
60913 2011-01-27 Petr Baudis <pasky@suse.cz>
60914 Ulrich Drepper <drepper@gmail.com>
60917 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60918 to extend_alloca().
60919 * stdio-common/bug23.c: New file.
60920 * stdio-common/Makefile (tests): Add bug23.
60922 2010-09-28 Andreas Schwab <schwab@redhat.com>
60923 Ulrich Drepper <drepper@gmail.com>
60926 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60927 before performing relro protection. At old place add assertion
60928 to make sure nothing changed.
60930 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
60931 Glauber de Oliveira Costa <glommer@gmail.com>
60933 * elf/elf.h: Add new ARM TLS relocs.
60935 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
60937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60938 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60940 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
60942 * sysdeps/wordsize-64/tst-writev.c: New file.
60944 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
60946 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60947 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60948 insns in _dl_start to prevent a TOC reference before relocs are
60951 2011-02-15 Ulrich Drepper <drepper@gmail.com>
60954 * Makeconfig: Remove RANLIB definition.
60955 * Makerules: Don't use RANLIB.
60956 * aclocal.m4: Remove ranlib test.
60957 * configure.in: No need to check for ranlib.
60958 * elf/rtld-Rules: Don't use RANLIB.
60960 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
60962 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60964 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60965 inclusion protection macro.
60967 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60968 SIGRTMIN and SIGRTMAX and print information in that case only when
60969 SIGRTMIN is defined.
60971 2011-02-11 Jakub Jelinek <jakub@redhat.com>
60973 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60974 arginfo fn returning -1.
60976 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60977 and thousands string is zero terminated.
60979 2011-02-03 Andreas Schwab <schwab@redhat.com>
60981 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60982 sysdeps/unix/sysv/linux/bits/socket.h.
60984 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
60986 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60987 (__CPU_COUNT): Remove old macros.
60988 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60989 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60990 (__CPU_ALLOC, __CPU_FREE): Add macros.
60991 (__sched_cpualloc, __sched_cpufree): Add declarations.
60993 2011-02-05 Ulrich Drepper <drepper@gmail.com>
60995 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60996 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60997 * nscd/aicache.c (addhstaiX): Return timeout of added value.
60998 (readdhstai): Return value of addhstaiX call.
60999 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
61000 (addgrbyX): Return value returned by cache_addgr.
61001 (readdgrbyname): Return value returned by addgrbyX.
61002 (readdgrbygid): Likewise.
61003 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
61004 (addpwbyX): Return value returned by cache_addpw.
61005 (readdpwbyname): Return value returned by addhstbyX.
61006 (readdpwbyuid): Likewise.
61007 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
61008 (addservbyX): Return value returned by cache_addserv.
61009 (readdservbyname): Return value returned by addservbyX:
61010 (readdservbyport): Likewise.
61011 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
61012 (addhstbyX): Return value returned by cache_addhst.
61013 (readdhstbyname): Return value returned by addhstbyX.
61014 (readdhstbyaddr): Likewise.
61015 (readdhstbynamev6): Likewise.
61016 (readdhstbyaddrv6): Likewise.
61017 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
61018 (readdinitgroups): Return value returned by addinitgroupsX.
61019 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
61020 (prune_cache): Keep track of timeout value of re-added entries.
61021 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
61022 * nscd/nscd.h: Adjust prototypes of readd* functions.
61024 2011-02-04 Roland McGrath <roland@redhat.com>
61026 * nis/nis_server.c (nis_servstate): Use the right name for 0.
61027 (nis_stats): Likewise.
61028 * nis/nis_modify.c (nis_modify): Likewise.
61029 * nis/nis_remove.c (nis_remove): Likewise.
61030 * nis/nis_add.c (nis_add): Likewise.
61032 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
61034 * posix/fnmatch_loop.c: Add some consts.
61036 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
61038 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
61041 * config.make.in (config-cflags-novzeroupper): Define.
61042 * configure.in: Substitute libc_cv_cc_novzeroupper.
61043 * elf/Makefile (AVX-CFLAGS): Define.
61044 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
61045 (CFLAGS-tst-auditmod4a.c): Likewise.
61046 (CFLAGS-tst-auditmod4b.c): Likewise.
61047 (CFLAGS-tst-auditmod6b.c): Likewise.
61048 (CFLAGS-tst-auditmod6c.c): Likewise.
61049 (CFLAGS-tst-auditmod7b.c): Likewise.
61050 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
61052 2011-02-02 Ulrich Drepper <drepper@gmail.com>
61054 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
61055 function to the callback.
61056 Patch partly by Jiri Olsa <jolsa@redhat.com>.
61058 2011-02-02 Andreas Schwab <schwab@redhat.com>
61060 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
61063 2011-01-19 Ulrich Drepper <drepper@gmail.com>
61066 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
61068 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
61070 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
61073 * elf/Makefile: Add rules to build and run new test.
61074 * elf/tst-initorder.c: New file.
61075 * elf/tst-initorder.exp: New file.
61076 * elf/tst-initordera1.c: New file.
61077 * elf/tst-initordera2.c: New file.
61078 * elf/tst-initordera3.c: New file.
61079 * elf/tst-initordera4.c: New file.
61080 * elf/tst-initorderb1.c: New file.
61081 * elf/tst-initorderb2.c: New file.
61082 * elf/tst-order-a1.c: New file.
61083 * elf/tst-order-a2.c: New file.
61084 * elf/tst-order-a3.c: New file.
61085 * elf/tst-order-a4.c: New file.
61086 * elf/tst-order-b1.c: New file.
61087 * elf/tst-order-b2.c: New file.
61088 * elf/tst-order-main.c: New file.
61089 New test case by George Gensure <werkt0@gmail.com>.
61091 2010-10-01 Andreas Schwab <schwab@redhat.com>
61093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61094 decoding ACE if AI_CANONIDN.
61096 2011-01-18 Ulrich Drepper <drepper@gmail.com>
61098 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61100 2011-01-17 Ulrich Drepper <drepper@gmail.com>
61102 * version.h (RELEASE): Bump for 2.13 release.
61103 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61105 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61107 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61109 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61110 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61111 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61112 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61113 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61114 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61116 * posix/getconf.c: Update copyright year.
61117 * catgets/gencat.c: Likewise.
61118 * csu/version.c: Likewise.
61119 * debug/catchsegv.sh: Likewise.
61120 * debug/xtrace.sh: Likewise.
61121 * elf/ldconfig.c: Likewise.
61122 * elf/ldd.bash.in: Likewise.
61123 * elf/sprof.c (print_version): Likewise.
61124 * iconv/iconv_prog.c: Likewise.
61125 * iconv/iconvconfig.c: Likewise.
61126 * locale/programs/locale.c: Likewise.
61127 * locale/programs/localedef.c: Likewise.
61128 * malloc/memusage.sh: Likewise.
61129 * malloc/mtrace.pl: Likewise.
61130 * nscd/nscd.c (print_version): Likewise.
61131 * nss/getent.c: Likewise.
61133 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61134 PF_CAIF, and PF_ALG.
61135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61137 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
61139 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61140 (modules-names): Use them.
61141 (ifunc-test-modules, ifunc-pie-tests): Define.
61142 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61143 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61144 (test-extras): Likewise.
61145 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61146 $(compile-command.c).
61147 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61148 (all-built-dso): Define.
61149 (check-textrel.out, check-execstack.out): Depend on it.
61151 * configure.in: Don't override --enable-multi-arch.
61153 2011-01-15 Ulrich Drepper <drepper@gmail.com>
61156 * nscd/hstcache.c (tryagain): Define.
61157 (cache_addhst): Return tryagain not notfound for temporary errors.
61158 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61161 2011-01-14 Ulrich Drepper <drepper@gmail.com>
61164 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61165 to make the syscall.
61166 * sysdeps/unix/sysv/linux/setgroups.c: New file.
61169 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61170 and fall back to matching as normal character if the string ends before
61171 the matching ']' is found. This is what POSIX requires.
61172 * posix/testfnm.c: Adjust test result.
61173 * posix/globtest.sh: Adjust test result. Add new test.
61174 * posix/tst-fnmatch.input: Likewise.
61175 * posix/tst-fnmatch2.c: Add new test.
61177 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
61179 * elf/Makefile (check-execstack): Revert last change. Depend on
61181 (check-execstack.h): New target.
61182 (generated): Add check-execstack.h.
61183 * elf/check-execstack.c: Include "check-execstack.h".
61184 (main): Revert last change.
61185 (handle_file): Return zero if GNU_STACK is absent and
61186 DEFAULT_STACK_PERMS doesn't include PF_X.
61188 2011-01-13 Ulrich Drepper <drepper@gmail.com>
61190 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61191 in child fails because the descriptor is already closed.
61192 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61193 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61194 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61197 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61201 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61202 temporary buffer used to handle multi lookups locally.
61203 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61205 2011-01-12 Ulrich Drepper <drepper@gmail.com>
61207 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61210 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
61212 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61213 alignment for SSE2.
61215 2011-01-12 Ulrich Drepper <drepper@gmail.com>
61218 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61219 characters. When rounding increased number of integer digits recompute
61221 * stdio-common/tst-grouping.c: New file.
61222 * stdio-common/Makefile: Add rules to build and run tst-grouping.
61224 2011-01-09 Ulrich Drepper <drepper@gmail.com>
61226 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61227 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
61229 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61231 * bits/select.h: Likewise.
61233 2011-01-08 Ulrich Drepper <drepper@gmail.com>
61235 * po/ja.po: Update from translation team.
61237 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
61240 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61241 implementation just like for lxstat, fxstatat, et al.
61243 2010-12-27 Jim Meyering <meyering@redhat.com>
61246 * posix/regexec.c (build_trtable): Return failure indication upon
61247 calloc failure. Otherwise, re_search_internal could infloop on OOM.
61249 2010-12-25 Ulrich Drepper <drepper@gmail.com>
61252 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61253 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61254 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61255 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61258 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61261 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61262 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61264 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
61266 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61267 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61268 script has SORT_BY_INIT_PRIORITY.
61269 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61270 NO_CTORS_DTORS_SECTIONS is defined.
61271 * elf/soinit.c: Likewise.
61272 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61273 NO_CTORS_DTORS_SECTIONS is defined.
61274 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61275 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61276 * sysdeps/sh/init-first.c: Likewise.
61277 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61279 2010-12-24 Ulrich Drepper <drepper@gmail.com>
61281 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61282 always use the slow path.
61284 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
61286 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61287 similar rule which adds the sysdep directories to the header search in
61288 order to pick up the correct platform stackinfo.h.
61289 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61290 perform test if it is, otherwise return successfully without testing.
61291 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61292 DEFAULT_STACK_PERMS define in stackinfo.h.
61293 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61294 defined in stackinfo.h.
61295 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61296 DEFAULT_STACK_PERMS defined in stackinfo.h.
61297 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61298 * sysdeps/ia64/stackinfo.h: Likewise.
61299 * sysdeps/s390/stackinfo.h: Likewise.
61300 * sysdeps/sh/stackinfo.h: Likewise.
61301 * sysdeps/sparc/stackinfo.h: Likewise.
61302 * sysdeps/x86_64/stackinfo.h: Likewise.
61303 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61304 PF_X for powerpc64. Retain PF_X for powerpc32.
61306 2010-12-19 Ulrich Drepper <drepper@gmail.com>
61308 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61310 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61311 GETDENTS_64BIT_ALIGNED.
61313 2010-12-14 Ulrich Drepper <dreper@gmail.com>
61315 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61317 2010-12-10 Andreas Schwab <schwab@redhat.com>
61319 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61322 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61323 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61325 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61326 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61328 2010-12-09 Ulrich Drepper <drepper@gmail.com>
61331 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61334 2010-12-09 Jakub Jelinek <jakub@redhat.com>
61336 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61338 2010-12-03 Ulrich Drepper <drepper@gmail.com>
61340 * po/it.po: Update from translation team.
61342 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
61344 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61347 2010-11-30 Ulrich Drepper <drepper@gmail.com>
61349 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61351 2010-11-24 Andreas Schwab <schwab@redhat.com>
61353 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61355 (gaih_getanswer_slice): Likewise.
61357 2010-10-20 Jakub Jelinek <jakub@redhat.com>
61359 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61361 2010-05-31 Petr Baudis <pasky@suse.cz>
61364 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61365 silently even in the chroot mode.
61367 2010-11-22 Ulrich Drepper <drepper@gmail.com>
61369 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61370 last patch a bit. Pretty printing
61372 2010-05-31 Petr Baudis <pasky@suse.cz>
61375 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61376 initialization of skip_initgroups_dyn.
61378 2010-11-19 Ulrich Drepper <drepper@gmail.com>
61380 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61381 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61383 2010-11-16 Ulrich Drepper <drepper@gmail.com>
61385 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61387 2010-11-11 Andreas Schwab <schwab@redhat.com>
61389 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61390 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61391 (tst-fnmatch-ENV): Set MALLOC_TRACE.
61392 ($(objpfx)tst-fnmatch-mem): New rule.
61393 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61394 * posix/tst-fnmatch.c (main): Call mtrace.
61396 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
61398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61399 Support Intel processor model 6 and model 0x2c.
61401 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
61403 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61406 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
61409 * string/test-strncasecmp.c (check_result): New function.
61410 (do_one_test): Use it.
61411 (check1): New function.
61412 (test_main): Use it.
61413 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61414 Support strcasecmp and strncasecmp.
61416 2010-11-08 Ulrich Drepper <drepper@gmail.com>
61419 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61420 * sysdeps/x86_64/bits/byteswap.h: Likewise.
61422 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
61424 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61428 * sysdeps/x86_64/multiarch/bzero.S: New file.
61429 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61430 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61431 * sysdeps/x86_64/multiarch/memset.S: New file.
61432 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61434 Set bit_Prefer_SSE_for_memop for Intel processors.
61435 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61437 (index_Prefer_SSE_for_memop): Define.
61438 (HAS_PREFER_SSE_FOR_MEMOP): Define.
61440 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
61442 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61443 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61445 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
61448 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61449 (__x86_64_raw_data_cache_size_half): Likewise.
61450 (__x86_64_raw_shared_cache_size): Likewise.
61451 (__x86_64_raw_shared_cache_size_half): Likewise.
61453 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61454 (__x86_64_raw_data_cache_size_half): Likewise.
61455 (__x86_64_raw_shared_cache_size): Likewise.
61456 (__x86_64_raw_shared_cache_size_half): Likewise.
61457 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61458 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61459 and __x86_64_raw_shared_cache_size_half. Round
61460 __x86_64_data_cache_size_half, __x86_64_data_cache_size
61461 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61462 to multiple of 256 bytes.
61464 2010-11-03 Ulrich Drepper <drepper@gmail.com>
61467 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61468 of inacessible symlinks. Verify result of symlink before returning it.
61469 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61470 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61472 2010-10-28 Erich Ritz <erichritz@gmail.com>
61474 * math/math.h (isinf): Fix typo in comment.
61476 2010-11-01 Ulrich Drepper <drepper@gmail.com>
61478 * po/da.po: Update from translation team.
61480 2010-10-26 Ulrich Drepper <drepper@gmail.com>
61482 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61483 is added to the list.
61485 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61486 Ulrich Drepper <drepper@gmail.com>
61488 * elf/dl-object.c (_dl_new_object): Don't append the new object to
61489 the global list here. Move code to...
61490 (_dl_add_to_namespace_list): ...here. New function.
61491 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61492 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61493 * elf/dl-load.c (lose): Don't remove the element from the list.
61494 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61495 (_dl_map_object): Likewise.
61497 2010-10-25 Ulrich Drepper <drepper@gmail.com>
61500 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61501 into all bytes of SSE register.
61502 Patch by Richard Li <richardpku@gmail.com>.
61504 2010-10-24 Ulrich Drepper <drepper@gmail.com>
61507 * malloc/malloc.c (_int_free): Fill correct number of bytes when
61510 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
61512 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61513 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61514 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61515 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61520 2010-10-22 Andreas Schwab <schwab@redhat.com>
61522 * include/dlfcn.h (__RTLD_SECURE): Define.
61523 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
61524 mode & __RTLD_SECURE instead.
61525 (open_path): Rename preloaded parameter to secure.
61526 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61527 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61528 * elf/dl-deps.c (openaux): Likewise.
61529 * elf/rtld.c (struct map_args): Remove is_preloaded.
61530 (map_doit): Don't use it.
61531 (dl_main): Likewise.
61532 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61533 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61535 2010-09-09 Andreas Schwab <schwab@redhat.com>
61537 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61538 (sysd-rules-targets): Remove duplicates.
61539 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61540 rtld-%.$o dependency.
61542 2010-10-18 Andreas Schwab <schwab@redhat.com>
61544 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61545 _dl_map_object do it.
61547 2010-10-19 Ulrich Drepper <drepper@gmail.com>
61549 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61550 fast fma builtins, define the macros in the C99 standard.
61551 (FP_FAST_FMAF): Likewise.
61552 (FP_FAST_FMAL): Likewise.
61553 * sysdeps/x86_64/bits/mathdef.h: Likewise.
61555 * bits/mathdef.h: Update copyright year.
61556 * sysdeps/powerpc/bits/mathdef.h: Likewise.
61558 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
61560 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61561 builtins, define the macros in the C99 standard.
61562 (FP_FAST_FMAF): Likewise.
61563 (FP_FAST_FMAL): Likewise.
61564 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61566 (FP_FAST_FMAF): Likewise.
61568 2010-10-15 Jakub Jelinek <jakub@redhat.com>
61571 * math/libm-test.inc (fma_test): Some new testcases.
61572 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61573 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61574 y and infinite z. Do multiplication by C already in long double.
61575 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61576 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61577 y and infinite z. Do bitwise or of inexact bit into u.d.
61578 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61579 * sysdeps/i386/fpu/s_fmaf.S: Removed.
61580 * sysdeps/i386/fpu/s_fma.S: Removed.
61581 * sysdeps/i386/fpu/s_fmal.S: Removed.
61583 2010-10-16 Jakub Jelinek <jakub@redhat.com>
61586 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61587 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61588 computation is not scheduled after fetestexcept. Fix value
61589 of minimum denormal long double.
61591 2010-10-14 Jakub Jelinek <jakub@redhat.com>
61594 * math/libm-test.inc (fma_test): Add some more tests.
61595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61598 2010-10-15 Andreas Schwab <schwab@redhat.com>
61600 * scripts/data/localplt-s390-linux-gnu.data: New file.
61601 * scripts/data/localplt-s390x-linux-gnu.data: New file.
61603 2010-10-13 Jakub Jelinek <jakub@redhat.com>
61606 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61607 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61609 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61611 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61612 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61613 if one of x and y is very large and the other is subnormal.
61614 * sysdeps/s390/fpu/s_fmaf.c: New file.
61615 * sysdeps/s390/fpu/s_fma.c: New file.
61616 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61617 * sysdeps/powerpc/fpu/s_fma.S: New file.
61618 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61619 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61620 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61622 2010-10-12 Jakub Jelinek <jakub@redhat.com>
61625 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61627 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61628 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61629 * sysdeps/i386/i686/multiarch/s_fma.c: Include
61630 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61631 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61632 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61633 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61635 2010-10-12 Ulrich Drepper <drepper@redhat.com>
61638 * posix/regcomp.c (parse_branch): One more memory leak plugged.
61639 * posix/bug-regex31.input: Add test case.
61641 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61643 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61644 * posix/bug-regex31.input: New file.
61647 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61648 (parse_sub_exp): Fix last change, use postorder.
61650 * posix/bug-regex31.c: New file.
61651 * posix/Makefile: Add rules to build and run bug-regex31.
61653 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61656 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61659 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61660 to have entries in sys_siglist.
61663 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61666 2010-10-07 Jakub Jelinek <jakub@redhat.com>
61669 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61670 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61671 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61672 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61673 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61674 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61675 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61676 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61677 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61678 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61679 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61680 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61681 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61682 * math/ftestexcept.c (fetestexcept): Likewise.
61683 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61684 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61685 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61686 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61687 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61688 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61689 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61691 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61694 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61697 2010-10-06 Ulrich Drepper <drepper@gmail.com>
61699 * string/bug-strstr1.c: New file.
61700 * string/Makefile: Add rules to build and run bug-strstr1.
61702 2010-10-05 Eric Blake <eblake@redhat.com>
61705 * string/str-two-way.h (two_way_long_needle): Always clear memory
61706 when skipping input due to the shift table.
61708 2010-10-03 Ulrich Drepper <drepper@gmail.com>
61711 * malloc/mcheck.c: Handle large requests.
61714 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61715 for strncmp and strncasecmp.
61716 * string/stratcliff.c: Add tests for strcmp and strncmp.
61717 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61719 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61721 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61724 2010-09-30 Andreas Jaeger <aj@suse.de>
61726 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61727 (CGROUP_SUPER_MAGIC): Define.
61728 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61729 Handle btrfs and cgroup file systems.
61730 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61733 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
61735 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61736 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61738 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61741 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61742 trying to locate the ELF header.
61744 2010-09-27 Andreas Schwab <schwab@redhat.com>
61747 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61748 Mask out sign-bit copies when constructing f_fsid.
61750 2010-09-24 Petr Baudis <pasky@suse.cz>
61752 * debug/stack_chk_fail_local.c: Add missing licence exception.
61753 * debug/warning-nop.c: Likewise.
61755 2010-09-15 Joseph Myers <joseph@codesourcery.com>
61757 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61758 implementing getdents64 using getdents syscall, set d_type if
61759 __ASSUME_GETDENTS32_D_TYPE.
61761 2010-09-16 Andreas Schwab <schwab@redhat.com>
61763 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61764 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61766 2010-09-21 Ulrich Drepper <drepper@redhat.com>
61769 * posix/unistd.h: Undo change of feature selection for ftruncate from
61772 2010-09-20 Ulrich Drepper <drepper@redhat.com>
61774 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61777 2010-09-20 Andreas Schwab <schwab@redhat.com>
61779 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61781 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61783 2010-09-14 Andreas Schwab <schwab@redhat.com>
61785 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61786 variables after CHECK_SP call.
61787 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61789 2010-09-13 Andreas Schwab <schwab@redhat.com>
61790 Ulrich Drepper <drepper@redhat.com>
61792 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61793 re-relocationg ld.so.
61794 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61795 _dl_init_paths call.
61796 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
61799 2010-09-14 Ulrich Drepper <drepper@redhat.com>
61801 * resolv/res_init.c (__res_vinit): Count the default server we added.
61803 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
61804 Ulrich Drepper <drepper@redhat.com>
61807 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61808 (____longjmp_chk): Use %ebx for saving value across system call.
61811 2010-09-06 Andreas Schwab <schwab@redhat.com>
61813 * manual/Makefile: Don't mix pattern rules with normal rules.
61815 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
61817 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61819 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61820 * libio/iofopncook.c (_IO_cookie_init): Likewise.
61821 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61822 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61823 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61826 2010-09-04 Ulrich Drepper <drepper@redhat.com>
61829 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61830 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61832 2010-09-02 Ulrich Drepper <drepper@redhat.com>
61834 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61835 * sysdeps/x86_64/addmul_1.S: Likewise.
61836 * sysdeps/x86_64/lshift.S: Likewise.
61837 * sysdeps/x86_64/mul_1.S: Likewise.
61838 * sysdeps/x86_64/rshift.S: Likewise.
61839 * sysdeps/x86_64/sub_n.S: Likewise.
61840 * sysdeps/x86_64/submul_1.S: Likewise.
61842 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
61844 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61845 Define __sched_param instead of SCHED_* and sched_param when
61846 <bits/sched.h> is included with __need_schedparam defined.
61847 * bits/sched.h [__need_schedparam]
61848 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61849 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61850 (__defined_schedparam): Define to 1.
61851 (__sched_param): New structure, identical to sched_param.
61852 (__need_schedparam): Undefine.
61854 2010-08-31 Mike Frysinger <vapier@gentoo.org>
61856 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61857 (epoll_create1): Declare.
61859 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61861 2010-08-31 Andreas Schwab <schwab@redhat.com>
61864 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61865 shifting retval into place.
61867 2010-09-01 Ulrich Drepper <drepper@redhat.com>
61869 * nis/rpcsvc/nis.h: Update copyright notice.
61870 * nis/rpcsvc/nis.x: Likewise.
61871 * nis/rpcsvc/nis_callback.h: Likewise.
61872 * nis/rpcsvc/nis_callback.x: Likewise.
61873 * nis/rpcsvc/nis_object.x: Likewise.
61874 * nis/rpcsvc/nis_tags.h: Likewise.
61875 * nis/rpcsvc/yp.h: Likewise.
61876 * nis/rpcsvc/yp.x: Likewise.
61877 * nis/rpcsvc/ypupd.h: Likewise.
61878 * nis/yp_xdr.c: Likewise.
61879 * nis/ypupdate_xdr.c: Likewise.
61881 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
61882 mainly the body of pmap_getport. Add parameters to specify timeouts.
61883 (pmap_getport): Use __libc_rpc_getport.
61884 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61885 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61886 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61888 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
61890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61893 2010-08-27 Roland McGrath <roland@redhat.com>
61895 * sysdeps/i386/i686/multiarch/Makefile
61896 (CFLAGS-varshift.c): New variable.
61898 2010-08-27 Ulrich Drepper <drepper@redhat.com>
61900 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61901 * sysdeps/i386/i686/multiarch/varshift.c: New file.
61903 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61905 * sysdeps/x86_64/strlen.S: Minimal code improvement.
61907 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
61909 * sysdeps/x86_64/strlen.S: Unroll the loop.
61910 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61911 strlen-sse2 strlen-sse2-bsf.
61912 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61913 __strlen_no_bsf if bit_Slow_BSF is set.
61914 (__strlen_sse42): Removed.
61915 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61916 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61918 2010-08-25 Roland McGrath <roland@redhat.com>
61920 * sysdeps/x86_64/multiarch/varshift.S: File removed.
61921 * sysdeps/x86_64/multiarch/varshift.c: New file.
61922 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61923 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61924 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61925 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61927 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
61929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61930 strlen-sse2 strlen-sse2-bsf.
61931 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61932 __strlen_sse2_bsf if bit_Slow_BSF is unset.
61933 (__strlen_sse2): Removed.
61934 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61935 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61937 bit_Slow_BSF for Atom.
61938 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61939 (index_Slow_BSF): Define.
61940 (HAS_SLOW_BSF): Define.
61942 2010-08-25 Ulrich Drepper <drepper@redhat.com>
61945 * resolv/res_init.c (__res_vinit): When no server address at all
61946 is given default to loopback.
61948 2010-08-24 Roland McGrath <roland@redhat.com>
61950 * configure.in: Remove config-name.h generation.
61951 * configure: Regenerated.
61952 * config-name.in: File removed.
61953 * scripts/config-uname.sh: New file.
61954 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61955 ($(objdir)config-name.h): New target.
61957 * sunrpc/rpc_parse.h: Avoid nested comment.
61959 2010-08-24 Richard Henderson <rth@redhat.com>
61960 Ulrich Drepper <drepper@redhat.com>
61961 H.J. Lu <hongjiu.lu@intel.com>
61963 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61965 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61966 Replace _mm_srli_si128 with __m128i_shift_right. Replace
61967 _mm_alignr_epi8 with _mm_loadu_si128.
61968 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61969 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61970 (__m128i_shift_right): Removed.
61971 * sysdeps/i386/i686/multiarch/varshift.h: New file.
61972 * sysdeps/i386/i686/multiarch/varshift.S: New file.
61973 * sysdeps/x86_64/multiarch/varshift.h: New file.
61974 * sysdeps/x86_64/multiarch/varshift.S: New file.
61976 2010-08-21 Mike Frysinger <vapier@gentoo.org>
61978 * configure.in: Move assembler checks to before sysdep dir checking.
61980 2010-08-20 Petr Baudis <pasky@suse.cz>
61982 * LICENSES: Sync the sunrpc license.
61984 2010-08-19 Ulrich Drepper <drepper@redhat.com>
61986 * sunrpc/auth_des.c: Update copyright notice once again.
61987 * sunrpc/auth_none.c: Likewise.
61988 * sunrpc/auth_unix.c: Likewise.
61989 * sunrpc/authdes_prot.c: Likewise.
61990 * sunrpc/authuxprot.c: Likewise.
61991 * sunrpc/bindrsvprt.c: Likewise.
61992 * sunrpc/clnt_gen.c: Likewise.
61993 * sunrpc/clnt_perr.c: Likewise.
61994 * sunrpc/clnt_raw.c: Likewise.
61995 * sunrpc/clnt_simp.c: Likewise.
61996 * sunrpc/clnt_tcp.c: Likewise.
61997 * sunrpc/clnt_udp.c: Likewise.
61998 * sunrpc/clnt_unix.c: Likewise.
61999 * sunrpc/des_crypt.c: Likewise.
62000 * sunrpc/des_soft.c: Likewise.
62001 * sunrpc/get_myaddr.c: Likewise.
62002 * sunrpc/getrpcport.c: Likewise.
62003 * sunrpc/key_call.c: Likewise.
62004 * sunrpc/key_prot.c: Likewise.
62005 * sunrpc/openchild.c: Likewise.
62006 * sunrpc/pm_getmaps.c: Likewise.
62007 * sunrpc/pm_getport.c: Likewise.
62008 * sunrpc/pmap_clnt.c: Likewise.
62009 * sunrpc/pmap_prot.c: Likewise.
62010 * sunrpc/pmap_prot2.c: Likewise.
62011 * sunrpc/pmap_rmt.c: Likewise.
62012 * sunrpc/rpc/auth.h: Likewise.
62013 * sunrpc/rpc/auth_unix.h: Likewise.
62014 * sunrpc/rpc/clnt.h: Likewise.
62015 * sunrpc/rpc/des_crypt.h: Likewise.
62016 * sunrpc/rpc/key_prot.h: Likewise.
62017 * sunrpc/rpc/netdb.h: Likewise.
62018 * sunrpc/rpc/pmap_clnt.h: Likewise.
62019 * sunrpc/rpc/pmap_prot.h: Likewise.
62020 * sunrpc/rpc/pmap_rmt.h: Likewise.
62021 * sunrpc/rpc/rpc.h: Likewise.
62022 * sunrpc/rpc/rpc_des.h: Likewise.
62023 * sunrpc/rpc/rpc_msg.h: Likewise.
62024 * sunrpc/rpc/svc.h: Likewise.
62025 * sunrpc/rpc/svc_auth.h: Likewise.
62026 * sunrpc/rpc/types.h: Likewise.
62027 * sunrpc/rpc/xdr.h: Likewise.
62028 * sunrpc/rpc_clntout.c: Likewise.
62029 * sunrpc/rpc_cmsg.c: Likewise.
62030 * sunrpc/rpc_common.c: Likewise.
62031 * sunrpc/rpc_cout.c: Likewise.
62032 * sunrpc/rpc_dtable.c: Likewise.
62033 * sunrpc/rpc_hout.c: Likewise.
62034 * sunrpc/rpc_main.c: Likewise.
62035 * sunrpc/rpc_parse.c: Likewise.
62036 * sunrpc/rpc_parse.h: Likewise.
62037 * sunrpc/rpc_prot.c: Likewise.
62038 * sunrpc/rpc_sample.c: Likewise.
62039 * sunrpc/rpc_scan.c: Likewise.
62040 * sunrpc/rpc_scan.h: Likewise.
62041 * sunrpc/rpc_svcout.c: Likewise.
62042 * sunrpc/rpc_tblout.c: Likewise.
62043 * sunrpc/rpc_util.c: Likewise.
62044 * sunrpc/rpc_util.h: Likewise.
62045 * sunrpc/rpcinfo.c: Likewise.
62046 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
62047 * sunrpc/rpcsvc/key_prot.x: Likewise.
62048 * sunrpc/rpcsvc/klm_prot.x: Likewise.
62049 * sunrpc/rpcsvc/mount.x: Likewise.
62050 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
62051 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
62052 * sunrpc/rpcsvc/rex.x: Likewise.
62053 * sunrpc/rpcsvc/rstat.x: Likewise.
62054 * sunrpc/rpcsvc/rusers.x: Likewise.
62055 * sunrpc/rpcsvc/sm_inter.x: Likewise.
62056 * sunrpc/rpcsvc/spray.x: Likewise.
62057 * sunrpc/rpcsvc/yppasswd.x: Likewise.
62058 * sunrpc/rtime.c: Likewise.
62059 * sunrpc/svc.c: Likewise.
62060 * sunrpc/svc_auth.c: Likewise.
62061 * sunrpc/svc_authux.c: Likewise.
62062 * sunrpc/svc_raw.c: Likewise.
62063 * sunrpc/svc_run.c: Likewise.
62064 * sunrpc/svc_simple.c: Likewise.
62065 * sunrpc/svc_tcp.c: Likewise.
62066 * sunrpc/svc_udp.c: Likewise.
62067 * sunrpc/svc_unix.c: Likewise.
62068 * sunrpc/svcauth_des.c: Likewise.
62069 * sunrpc/xcrypt.c: Likewise.
62070 * sunrpc/xdr.c: Likewise.
62071 * sunrpc/xdr_array.c: Likewise.
62072 * sunrpc/xdr_float.c: Likewise.
62073 * sunrpc/xdr_mem.c: Likewise.
62074 * sunrpc/xdr_rec.c: Likewise.
62075 * sunrpc/xdr_ref.c: Likewise.
62076 * sunrpc/xdr_sizeof.c: Likewise.
62077 * sunrpc/xdr_stdio.c: Likewise.
62079 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
62082 2010-08-19 Andreas Schwab <schwab@redhat.com>
62084 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
62086 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
62088 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
62089 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
62090 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
62091 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
62092 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
62093 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
62094 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62095 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62096 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62097 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62098 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62099 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62100 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62101 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62103 2010-07-26 Anton Blanchard <anton@samba.org>
62105 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62106 * malloc/arena.c (heap_trim): Likewise.
62108 2010-08-16 Ulrich Drepper <drepper@redhat.com>
62110 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62112 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62113 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62115 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
62117 * sysdeps/i386/elf/Makefile: New file.
62119 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
62121 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62122 from fanotify_init.
62123 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62124 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62126 2010-08-15 Ulrich Drepper <drepper@redhat.com>
62128 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62130 * sysdeps/multiarch/strcmp.S: Likewise.
62132 2010-08-14 Ulrich Drepper <drepper@redhat.com>
62134 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62135 strncase_l-nonascii.
62136 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62137 Add strncase_l-ssse3.
62138 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62139 * sysdeps/x86_64/strcmp.S: Likewise.
62140 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62141 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62142 * sysdeps/x86_64/strncase.S: New file.
62143 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62144 * sysdeps/x86_64/strncase_l.S: New file.
62145 * string/Makefile (strop-tests): Add strncasecmp.
62146 * string/test-strncasecmp.c: New file.
62148 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62151 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62152 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62154 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
62156 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62158 2010-08-12 Ulrich Drepper <drepper@redhat.com>
62160 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62161 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62162 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62164 2010-05-01 Alan Modra <amodra@gmail.com>
62166 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62167 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62168 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62169 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62170 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62171 tidying. Don't tail-call __sigjmp_save for static lib.
62172 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62174 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62175 (CALL_MCOUNT): Add eh info, and nop after bl.
62176 (TAIL_CALL_SYSCALL_ERROR): New macro.
62177 (PSEUDO_RET): Use it.
62178 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62179 Correct save location of integer regs and cr.
62180 (_dl_profile_resolve): Correct cr save location. Delete nops
62181 after bl when SHARED. Reduce cfi size a little by better
62182 placement of cfi directives.
62183 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62184 make a stack frame. Instead use parm save area as a temp.
62185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62186 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
62187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62188 Don't make a stack frame for parent, use parm save area.
62189 Increase child stack frame to 112 bytes. Don't save unused reg,
62190 and adjust reg usage. Set up cfi on error recovery and
62191 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62193 (__makecontext): Add dummy nop after jump to exit.
62194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62195 Use correct parm save area and cr save, reduce stack frame.
62196 Correct cfi for possible PSEUDO_RET frame setup.
62197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62198 Branch to local label emitted by PSEUDO_RET rather than
62201 2010-08-12 Andreas Schwab <schwab@redhat.com>
62204 * locale/programs/locale.c (print_assignment): New function.
62205 (show_locale_vars): Use it.
62207 2010-08-11 Ulrich Drepper <drepper@redhat.com>
62209 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62211 (struct statfs64): Likewise.
62212 (_STATFS_F_FLAGS): Define.
62213 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62214 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62215 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62216 (ST_VALID): Define locally.
62217 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62218 __statvfs_getflags, use the provided value.
62219 * sysdeps/unix/sysv/linux/kernel-features.h: Define
62220 __ASSUME_STATFS_F_FLAGS.
62222 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62224 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62225 Add sys/fanotify.h.
62226 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62227 fanotify_mask for GLIBC_2.13.
62228 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62229 fanotify_init and fanotify_mark.
62230 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62231 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62233 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62235 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62236 prlimit64 for GLIBC_2.13.
62237 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62239 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62242 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62243 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62244 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62245 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
62247 * sysdeps/unix/sysv/linux/prlimit.c: New file.
62250 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62251 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62253 * nss/Makefile: Add rules to build and run tst-nss-test1.
62254 * shlib-versions: Add entry for libnss_test1.
62255 * nss/nss_test1.c: New file.
62256 * nss/tst-nss-test1.c: New file.
62258 * nss/nsswitch.c (__nss_database_custom): Define new variable.
62259 (__nss_configure_lookup): Set appropriate entry in
62260 __nss_configure_lookup to true.
62261 * nss/nsswitch.h: Define enum with indeces of databases in
62262 databases and __nss_database_custom arrays. Declare
62263 __nss_database_custom.
62264 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62265 to avoid using nscd when custom rules are installed.
62266 * nss/getXXbyYY_r.c: Likewise.
62267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62269 * nss/nss_files/files-parse.c: Whitespace fixes.
62271 2010-08-09 Ulrich Drepper <drepper@redhat.com>
62274 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62275 * posix/fnmatch_loop.c: Likewise.
62277 2010-07-17 Andi Kleen <ak@linux.intel.com>
62279 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62280 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62281 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62282 * Versions.def [GLIBC_2.13]: Add.
62284 2010-08-06 Ulrich Drepper <drepper@redhat.com>
62286 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62287 Also fail if tpwd after pwuid call is NULL.
62289 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
62291 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62292 when converting to ms.
62294 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62296 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62297 EOPNOTSUPP errors with ENOTTY.
62298 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62299 EOPNOTSUPP errors with ENOTTY.
62301 2010-07-31 Ulrich Drepper <drepper@redhat.com>
62303 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62304 Add strcasecmp_l-ssse3.
62305 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62307 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62308 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62309 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62311 2010-07-30 Ulrich Drepper <drepper@redhat.com>
62313 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62315 * string/Makefile (strop-tests): Add strcasecmp.
62316 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62317 strcasecmp_l-nonascii.
62318 (gen-as-const-headers): Add locale-defines.sym.
62319 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62320 * sysdeps/x86_64/strcasecmp.S: New file.
62321 * sysdeps/x86_64/strcasecmp_l.S: New file.
62322 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62323 * sysdeps/x86_64/locale-defines.sym: New file.
62324 * string/test-strcasecmp.c: New file.
62326 * string/test-strcasestr.c: Test both ends of the range of characters.
62327 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62329 2010-07-29 Roland McGrath <roland@redhat.com>
62332 * manual/locale.texi (Yes-or-No Questions): Fix example code.
62334 2010-07-27 Ulrich Drepper <drepper@redhat.com>
62336 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62339 2010-07-27 Andreas Schwab <schwab@redhat.com>
62341 * manual/memory.texi (Malloc Tunable Parameters): Document
62344 2010-07-26 Roland McGrath <roland@redhat.com>
62347 * configure.in (-fgnu89-inline check): Set and substitute
62348 gnu89_inline, not libc_cv_gnu89_inline.
62349 * configure: Regenerated.
62350 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62352 2010-07-26 Ulrich Drepper <drepper@redhat.com>
62354 * string/test-strnlen.c: New file.
62355 * string/Makefile (strop-tests): Add strnlen.
62356 * string/tester.c (test_strnlen): Add a few more test cases.
62357 * string/tst-strlen.c: Better error reporting.
62359 * sysdeps/x86_64/strnlen.S: New file.
62361 2010-07-24 Ulrich Drepper <drepper@redhat.com>
62363 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62364 lower-latency instructions.
62366 2010-07-23 Ulrich Drepper <drepper@redhat.com>
62368 * string/test-strcasestr.c: New file.
62369 * string/test-strstr.c: New file.
62370 * string/Makefile (strop-tests): Add strstr and strcasestr.
62371 * string/str-two-way.h: Don't undefine MAX.
62372 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62374 2010-07-21 Andreas Schwab <schwab@redhat.com>
62376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62377 strcasestr-nonascii.
62378 (CFLAGS-strcasestr-nonascii.c): Define.
62379 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62380 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62381 Remove unused attribute.
62383 2010-07-20 Roland McGrath <roland@redhat.com>
62385 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62386 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
62387 ld.so.cache was broken. With it, there is no way to disable dsocaps
62388 like LD_HWCAP_MASK can disable hwcaps.
62390 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62392 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62394 2010-07-16 Ulrich Drepper <drepper@redhat.com>
62396 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62397 call in strcasestr.
62398 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62399 __strcasestr_sse42_nonascii.
62400 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62401 strcasestr-nonascii.c.
62402 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62404 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
62406 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62407 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62408 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62409 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62411 2010-07-09 Ulrich Drepper <drepper@redhat.com>
62413 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62416 2010-07-06 Andreas Schwab <schwab@redhat.com>
62419 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62422 2010-07-06 Ulrich Drepper <drepper@redhat.com>
62424 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62425 _PC_PIPE_BUF using F_GETPIPE_SZ.
62427 2010-07-05 Roland McGrath <roland@redhat.com>
62429 * manual/arith.texi (Rounding Functions): Fix rint description
62430 implicit in round description.
62432 2010-07-02 Ulrich Drepper <drepper@redhat.com>
62434 * elf/Makefile: Fix linking for a few tests to make recent linker
62437 2010-06-30 Andreas Schwab <schwab@redhat.com>
62439 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62440 $(common-objpfx)libc_nonshared.a.
62442 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
62444 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62445 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62446 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62447 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62448 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62449 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62450 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62451 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62466 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62467 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62468 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62469 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62470 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62471 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62472 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62473 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62474 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62475 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62476 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62477 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62493 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
62495 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62496 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
62497 * string/memmove.c (memmove): Renamed to ...
62498 (MEMMOVE): ...this. Default to memmove.
62499 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62500 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62503 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62504 mempcpy-ssse3-back memmove-ssse3-back.
62505 * sysdeps/x86_64/multiarch/bcopy.S: New file .
62506 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62507 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62508 * sysdeps/x86_64/multiarch/memcpy.S: New file.
62509 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62510 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62511 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62512 * sysdeps/x86_64/multiarch/memmove.c: New file.
62513 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62514 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62515 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62516 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62517 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62518 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62520 (index_Fast_Copy_Backward): Define.
62521 (HAS_ARCH_FEATURE): Define.
62522 (HAS_FAST_REP_STRING): Define.
62523 (HAS_FAST_COPY_BACKWARD): Define.
62525 2010-06-21 Andreas Schwab <schwab@redhat.com>
62527 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62528 Restore proper fallback handling.
62530 2010-06-19 Ulrich Drepper <drepper@redhat.com>
62533 * posix/group_member.c (__group_member): Correct checking loop.
62535 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62536 OOM in getpwuid_r correctly. Return error number when the caller
62537 should return, otherwise -1.
62538 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62539 call returning > 0 value.
62540 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62542 2010-06-07 Andreas Schwab <schwab@redhat.com>
62544 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62545 libc_nonshared.a from targets in modules-names.
62547 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
62549 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62552 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
62554 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62555 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62556 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62557 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62559 2010-06-02 Andreas Schwab <schwab@redhat.com>
62561 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62563 2010-06-14 Ulrich Drepper <drepper@redhat.com>
62565 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62567 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62568 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62571 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62572 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62574 2010-06-14 Roland McGrath <roland@redhat.com>
62576 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62578 2010-06-07 Jakub Jelinek <jakub@redhat.com>
62580 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62581 __REDIRECT followed by __THROW.
62582 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62583 * posix/getopt.h (getopt): Likewise.
62585 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62587 * hurd/lookup-at.c (__file_name_lookup_at): Accept
62588 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
62589 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62591 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62592 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62594 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
62596 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62598 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
62601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62602 Properly check family and model.
62604 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
62606 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62608 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
62610 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62612 2010-05-21 Ulrich Drepper <drepper@redhat.com>
62614 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62617 2010-05-19 Andreas Schwab <schwab@redhat.com>
62619 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62622 2010-05-21 Andreas Schwab <schwab@redhat.com>
62624 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62625 and internal_recvmmsg.
62626 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62627 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62628 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62629 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62631 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62632 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62633 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62635 2010-05-20 Andreas Schwab <schwab@redhat.com>
62637 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62639 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
62641 POWER7 optimizations.
62642 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62643 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62645 2010-05-19 Ulrich Drepper <drepper@redhat.com>
62647 * version.h: Update for 2.13 development version.
62649 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
62651 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62652 exceptions. Return 0.
62654 2010-05-07 Roland McGrath <roland@redhat.com>
62656 * elf/ldconfig.c (main): Add a const.
62658 2010-05-06 Ulrich Drepper <drepper@redhat.com>
62660 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62661 (args_options): Add no-idn option.
62662 (ahosts_keys_int): Add idn_flags to ai_flags.
62663 (parse_option): Handle 'i' option to clear idn_flags.
62665 * malloc/malloc.c (_int_free): Possible race in the most recently
62666 added check. Only act on the data if no current modification
62669 See ChangeLog.17 for earlier changes.