1 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
3 * posix/wordexp.c (CHAR_IN_SET): New macro.
6 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8 * sysdeps/powerpc/fpu/libm-test-ulps: update.
10 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
13 * posix/wordexp.c (parse_param): Fix buffer overflow.
14 * posix/wordexp-test.c (test_case): Add test case.
16 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
19 * posix/wordexp.c (parse_backtick): Fix off-by-one.
20 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
25 * posix/wordexp-test.c (test_case): Add test for BZ #18043
28 (testit): Refactor to have words at the edge of unreadable page.
30 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
34 Cleanup read-only streams as well.
35 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
37 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
39 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
42 2015-03-07 Joseph Myers <joseph@codesourcery.com>
44 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
46 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
47 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
48 * soft-fp/op-common.h (_FP_DECL): Likewise.
50 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
52 * elf/ifuncdep2.c (global): Replace
53 __attribute__((visibility("protected"))) with
54 asm (".protected global").
55 * elf/ifuncmod1.c (global): Likewise.
56 * elf/ifuncmod5.c (global): Likewise.
58 2015-03-06 Joseph Myers <joseph@codesourcery.com>
60 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
61 <asm/sfp-machine.h> instead of <sfp-machine.h>.
63 2015-03-06 Roland McGrath <roland@hack.frob.com>
65 * manual/install.texi (Configuring and compiling):
66 Document test-wrapper-env-only.
67 * INSTALL: Regenerated.
69 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
72 * posix/wordexp.c (parse_param): Fix buffer overflow.
73 * posix/wordexp-test.c (do_bz18043): Add test case.
75 2015-03-06 Vincent Bernat <vincent@bernat.im>
77 * time/tst-strptime2.c (do_test): Ensure failing tests are
79 * time/tst-strptime3.c (do_test): Likewise.
81 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
83 Fix aio_error thread-safety.
84 * sysdeps/pthread/aio_error.c: New file
85 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
88 2015-03-06 Florian Weimer <fweimer@redhat.com>
90 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
91 (group_number, vfprintf): Use it.
92 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
94 (WORK_BUFFER_SIZE): New enum constant.
95 (process_arg, vfprintf): Use it.
97 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
99 * manual/errno.texi (Error Messages): Complete example function
100 by adding missing #define.
101 (program_invocation_name): Add statement indicating GNU
102 extension and reference which header file declares the variable.
103 (program_invocation_short_name): Likewise.
105 2015-03-06 Mike Frysinger <vapier@gentoo.org>
107 * manual/errno.texi (Error Messages): Delete strerror ISO C89
110 2015-03-05 Roland McGrath <roland@hack.frob.com>
112 * Makeconfig (test-wrapper-env-only): New variable.
113 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
114 then use that with $(test-wrapper-env-only) rather than using
115 $(test-wrapper-env) $(run-program-env) $($*-ENV).
117 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
120 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
121 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
122 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
123 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
124 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
125 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
126 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
127 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
129 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
130 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
132 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
134 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
136 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
138 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
139 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
141 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
143 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
144 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
146 2015-03-04 Roland McGrath <roland@hack.frob.com>
148 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
149 (ETH_ALEN): New macro.
150 (struct ether_addr): Use it for length of ether_addr_octet.
152 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
153 (setdb): Don't call __nss_configure_lookup for "rpc".
154 (do_test): Don't call test_rpc.
155 (output_rpcent, test_rpc): Functions moved ...
156 * sunrpc/test-rpcent.c: ... to this new file.
157 * sunrpc/Makefile (tests): Add it.
159 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
161 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
162 * nptl/tst-signal6.c: Likewise.
163 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
164 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
166 * configure.ac (libc_cv_cxx_link_ok): New check.
167 Reset CXX to empty if it fails to link.
168 * configure: Regenerated.
169 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
170 bug-atexit3-lib only if $(CXX) is nonempty.
171 * nptl/Makefile (tests): Likewise for tst-cancel24.
172 (tests, tests-static): Likewise for tst-cancel24-static.
173 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
174 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
175 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
176 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
178 2015-03-04 Andreas Schwab <schwab@suse.de>
181 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
182 for non-GCC compilers.
183 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
186 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
189 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
190 integer before bitwise and assembly operations.
191 (feclearexcept): Likewise.
192 * math/test-fenvinline.c: New file.
193 * math/Makefile: Add test-fenvinline test.
195 2015-03-03 Alan Modra <amodra@gmail.com>
198 * scripts/localplt.awk: Strip off symbol version.
199 * NEWS: Mention bug fix.
201 2015-03-02 Roland McGrath <roland@hack.frob.com>
203 * sysdeps/pthread/timer_routines.c
204 (timer_free_list, thread_free_list, thread_active_list): Make static.
206 2015-03-02 Joseph Myers <joseph@codesourcery.com>
209 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
210 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
212 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
213 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
215 * sysdeps/unix/sysv/linux/sh/kernel-features.h
216 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
219 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
222 * posix/fnmatch_loop.c (END): Detect invalid pattern.
223 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
225 2015-03-02 Andreas Schwab <schwab@suse.de>
227 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
230 2015-03-02 Florian Weimer <fweimer@redhat.com>
232 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
235 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
238 * locale/findlocale.c (_nl_find_locale): Introduce const
239 version of loc_name and drop unsafe type casts.
241 2015-02-27 Roland McGrath <roland@hack.frob.com>
243 * dlfcn/tststatic2.c (main): Converted to ...
245 (TEST_FUNCTION): New macro.
246 Include test-skeleton.c.
248 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
251 * elf/Makefile (tests): Add vismain only if PIE is enabled.
252 (tests-pie): Add vismain.
253 (CFLAGS-vismain.c): New.
254 * elf/vismain.c: Add comments for PIE requirement.
256 2015-02-27 Joseph Myers <joseph@codesourcery.com>
260 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
261 0x1p-56L as threshold for just returning the argument.
262 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
263 0x1p-32L as threshold for just returning the argument.
264 * math/auto-libm-test-in: Add more tests of atanh.
265 * math/auto-libm-test-out: Regenerated.
266 * sysdeps/i386/fpu/libm-test-ulps: Update.
267 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
269 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
271 * string/bcopy.c (bcopy): Call memmove for performance.
273 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
275 * string/bzero.c (__bzero): Call memset for performance.
277 2015-02-27 John David Anglin <dave.anglin@bell.net>
279 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
282 2015-02-27 Joseph Myers <joseph@codesourcery.com>
284 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
286 2015-02-26 Joseph Myers <joseph@codesourcery.com>
288 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
289 (__kernel_standard): Use CSTR macro when setting exc.name.
290 * sysdeps/ieee754/Makefile [$(subdir) = math]
291 (CFLAGS-k_standard.c): Remove variable.
293 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
294 setting p and q from "else if" to "else".
296 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
298 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
300 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
302 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
304 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
309 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
310 return pi/2 for arguments below 0x1p-113L.
311 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
312 return pi/2 for arguments below 0x1p-106L.
313 * math/auto-libm-test-in: Add more tests of acos.
314 * math/auto-libm-test-out: Regenerated.
317 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
319 (__ieee754_asin): Force underflow exception for results with small
321 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
323 (__ieee754_asinf): Force underflow exception for results with
324 small absolute value.
325 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
326 (__ieee754_asin): Force underflow exception for results with small
328 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
329 (__ieee754_asinf): Force underflow exception for results with
330 small absolute value.
331 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
332 (__ieee754_asinl): Force underflow exception for results with
333 small absolute value.
334 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
335 (__ieee754_asinl): Force underflow exception for results with
336 small absolute value.
337 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
338 (__ieee754_asinl): Force underflow exception for results with
339 small absolute value.
340 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
342 * math/auto-libm-test-in: Do not mark underflow exceptions as
343 possibly missing for bug 16351.
344 * math/auto-libm-test-out: Regenerated.
347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
348 of power of 2 down when low part has opposite sign.
349 * math/libm-test.inc (logb_test_data): Add more tests.
351 2015-02-26 Andreas Schwab <schwab@suse.de>
354 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
355 over collating symbol inside a bracket expression. Minor cleanup.
356 * posix/tst-fnmatch3.c (do_test): Add test case.
358 2015-02-26 Joseph Myers <joseph@codesourcery.com>
361 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
362 Adjust exponent of power of 2 down when low part has opposite
364 * math/libm-test.inc (ilogb_test_data): Add more tests.
366 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
369 * locale/findlocale.c (_nl_find_locale): Fix constness error in
373 * locale/findlocale.c (_nl_find_locale): Retry archive search
374 after alias expansion.
376 2015-02-25 Roland McGrath <roland@hack.frob.com>
378 * iconv/tst-iconv3.c (main): Converted to ...
380 (TEST_FUNCTION): New macro.
381 Include test-skeleton.c.
383 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
384 (convert): Make function static.
385 (test_unalign): Likewise. Add const to argument pointee types.
386 (main): Replace with static function do_test.
387 Print "Succeeded." only if RET is zero.
388 (TEST_FUNCTION): New macro.
389 Include test-skeleton.c.
391 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
392 returns a null pointer.
394 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
396 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
397 to __memcpy_ppc only for static builds.
399 2015-02-25 Joseph Myers <joseph@codesourcery.com>
402 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
403 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
404 * math/auto-libm-test-in: Add more tests of asinh.
405 * math/auto-libm-test-out: Regenerated.
406 * sysdeps/i386/fpu/libm-test-ulps: Update.
407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
409 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
412 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
413 and ip6_mtuinfo definitions here.
414 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
415 in this define too. Update comment.
417 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
419 * elf/sprof.c (load_shobj): Tweak error message to match others.
421 2015-02-24 Kevin Easton <kevin@guarana.org>
423 [BZ #16145] (partial fix)
424 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
425 to reduce lock contention.
427 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
429 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
430 (struct timex): Update time comment.
431 (ADJ_SETOFFSET): Define.
433 2015-02-24 Joseph Myers <joseph@codesourcery.com>
436 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
437 2**56 not 2**28 as threshold for log (2x) formula.
438 * math/auto-libm-test-in: Add more tests of acosh.
439 * math/auto-libm-test-out: Regenerated.
440 * sysdeps/i386/fpu/libm-test-ulps: Update.
441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
443 2015-02-24 Mike Frysinger <vapier@gentoo.org>
445 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
446 parenthesis around the buf assignment.
447 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
449 2015-02-24 Joseph Myers <joseph@codesourcery.com>
452 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
453 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
454 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
455 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
456 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
457 * math/libm-test.inc (scalb_test_data): Add more tests.
459 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
462 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
463 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
465 2015-02-24 Eric Rannaud <e@nanocritical.com>
468 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
469 * io/bits/fcntl2.h (open): Use it.
471 * io/open.c (__libc_open): Likewise.
472 * io/open64.c (__libc_open64): Likewise.
473 * io/open64_2.c (__open64_2): Likewise.
474 * io/open_2.c (__open_2): Likewise.
475 * io/openat.c (__openat): Likewise.
476 * io/openat64.c (__openat64): Likewise.
477 * io/openat64_2.c (__openat64_2): Likewise.
478 * io/openat_2.c (__openat_2): Likewise.
479 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
480 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
481 * sysdeps/posix/open64.c (__libc_open64): Likewise.
482 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
483 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
484 (__open_nocancel): Likewise.
485 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
486 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
487 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
489 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
492 * resolv/gethnamaddr.c (getanswer): Skip logging if
493 RES_USE_DNSSEC is set.
494 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
496 2015-02-24 Mike Frysinger <vapier@gentoo.org>
498 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
500 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
502 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
503 201304L, for Unicode 7.
505 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
508 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
509 shared library. Add gmon-start.os otherwise.
510 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
511 $(objpfx)gmon-start.os if builing shared library.
512 ($(objpfx)g$(static-start-installed-name)): Likewise.
514 2015-02-23 Andreas Schwab <schwab@suse.de>
516 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
518 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
521 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
522 (enlarge_userbuf): Likewise.
524 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
526 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
527 * math/atest-exp.c (TIMEOUT): Adjust to 200.
528 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
529 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
531 2015-02-20 Joseph Myers <joseph@codesourcery.com>
533 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
534 expression inside statement expression.
536 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
538 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
539 <sysdeps/nptl/lowlevellock.h> and remove macros and
540 functions that are now defined there.
542 (lll_compare_and_swap): Remove.
543 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
545 2015-02-19 Joseph Myers <joseph@codesourcery.com>
548 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
549 instead of scandirat.
550 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
551 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
552 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
554 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
555 (__scandirat): Declare. Use libc_hidden_proto.
556 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
558 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
560 2015-02-18 Joseph Myers <joseph@codesourcery.com>
563 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
565 (__ieee754_atan2): For results with small absolute value, force
566 underflow exception and remove excess range and precision from
568 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
570 (__ieee754_atan2f): For results with small absolute value, force
571 underflow exception and remove excess range and precision from
573 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
575 (__atan): For results with small absolute value, force underflow
576 exception and remove excess range and precision from return value.
577 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
579 (__atanf): For results with small absolute value, force underflow
580 exception and remove excess range and precision from return value.
581 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
583 (__ieee754_atan2): Force underflow exception for results with
584 small absolute value.
585 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
587 (atan): Force underflow exception for results with small absolute
589 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
590 (__atanf): Force underflow exception for results with small
592 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
594 (__atanl): Force underflow exception for results with small
596 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
597 (__atanl): Force underflow exception for results with small
599 * sysdeps/x86/fpu/bits/mathinline.h
600 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
601 (__ieee754_atan2): Only define inline for long double.
602 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
603 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
604 * math/auto-libm-test-in: Do not mark underflow exceptions as
605 possibly missing for bug 15319. Add more tests of atan2.
606 * math/auto-libm-test-out: Regenerated.
607 * math/libm-test.inc (casin_test_data): Do not mark underflow
608 exceptions as possibly missing for bug 15319.
609 (casinh_test_data): Likewise.
610 * sysdeps/i386/fpu/libm-test-ulps: Update.
612 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
614 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
615 * sysdeps/mips/bits/endian.h: Fix comments.
617 2015-02-18 Joseph Myers <joseph@codesourcery.com>
620 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
621 (hdestroy_r): Likewise.
622 (hsearch_r): Likewise.
623 (__hcreate_r): Declare and use libc_hidden_proto.
624 (__hdestroy_r): Likewise.
625 (__hsearch_r): Likewise.
626 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
627 (hcreate): Call __hcreate_r instead of hcreate_r.
628 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
629 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
630 as weak alias of __hcreate_r.
631 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
633 (hsearch_r): Rename to __hsearch_r and define as weak alias of
635 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
637 (test-xfail-XPG4/search.h/linknamespace): Likewise.
638 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
639 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
640 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
642 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
644 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
645 arena_lock into a single arena_get.
647 2015-02-17 Carlos O'Donell <carlos@redhat.com>
649 * dl-reloc.c: Inlucde libc-internal.h.
650 (_dl_try_allocate_static_tls): Call ALIGN_UP.
651 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
652 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
653 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
654 (grow_heap): Likewise.
655 * malloc/malloc.c: Include libc-internal.h.
656 (do_check_malloc): Call powerof2.
657 (sysmalloc): Use pagesize. Call ALIGN_UP.
658 (systrim): Use pagesize.
659 (mremap_chunk): Use pagesize. Call ALIGN_UP.
660 (__libc_valloc): Use pagesize.
661 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
663 2015-02-17 Joseph Myers <joseph@codesourcery.com>
666 * include/sys/resource.h (__getrlimit64): Declare. Use
668 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
669 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
670 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
672 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
674 [!getrlimit64] (getrlimit64): Define as weak alias of
675 __getrlimit64. Use libc_hidden_weak.
676 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
677 using __getrlimit64 not __new_getrlimit64.
678 (__GI_getrlimit64): Likewise.
679 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
681 (__GI_getrlimit64): Likewise.
682 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
684 (getrlimit): Add __getrlimit64 alias.
685 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
687 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
689 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
690 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
692 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
694 * libio/fileops.c: Add missing sys/mman.h
695 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
697 2015-02-17 Joseph Myers <joseph@codesourcery.com>
699 * manual/math.texi (Errors in Math Functions): Clarify goals
700 regarding inexact and underflow exceptions.
702 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
704 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
705 * sysdeps/mips/memset.S: Ditto.
707 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
709 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
711 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
713 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
714 (__v1longjmp): Remove versioned symbol.
715 (__v1siglongjmp): Remove alias and versioned symbol.
716 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
717 (__v2siglongjmp): Likewise.
719 2015-02-16 Torvald Riegel <triegel@redhat.com>
721 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
723 2015-02-16 Mike Frysinger <vapier@gentoo.org>
725 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
727 2015-02-16 Joseph Myers <joseph@codesourcery.com>
730 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
731 zero result does not depend on the sign resulting from
733 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
735 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
736 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
737 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
738 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
739 * math/libm-test.inc (remquo_test_data): Add more tests.
741 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
743 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
744 Problem reported by J William Piggott.
746 2015-02-16 Joseph Myers <joseph@codesourcery.com>
749 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
750 products 4 * y and 2 * y where those would overflow.
751 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
753 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
754 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
755 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
756 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
757 * math/libm-test.inc (remquo_test_data): Add more tests.
759 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
761 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
762 [defined _COMPILING_NEWLIB].
763 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
764 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
766 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
767 [!defined __mips_isa_rev || __mips_isa_rev < 6].
769 2015-02-16 Torvald Riegel <triegel@redhat.com>
771 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
774 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
777 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
778 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
779 HOST_STACK_END_ADDR): Likewise.
781 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
783 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
784 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
785 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
787 2015-02-13 Roland McGrath <roland@hack.frob.com>
789 * sysdeps/generic/c++-types.data: New file.
790 * sysdeps/generic/ld.abilist: New file.
791 * sysdeps/generic/libBrokenLocale.abilist: New file.
792 * sysdeps/generic/libanl.abilist: New file.
793 * sysdeps/generic/libc.abilist: New file.
794 * sysdeps/generic/libcrypt.abilist: New file.
795 * sysdeps/generic/libdl.abilist: New file.
796 * sysdeps/generic/libm.abilist: New file.
797 * sysdeps/generic/libpthread.abilist: New file.
798 * sysdeps/generic/libresolv.abilist: New file.
799 * sysdeps/generic/librt.abilist: New file.
801 2015-02-13 Joseph Myers <joseph@codesourcery.com>
804 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
805 Compute absolute value of x as modified by fmod, not original
807 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
808 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
809 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
810 RUN_TEST_ffI_f1_mod8.
811 (remquo_test_data): Add more tests.
813 2015-02-13 Roland McGrath <roland@hack.frob.com>
815 * sysdeps/init_array/pt-crti.S: New file.
817 2015-02-13 Joseph Myers <joseph@codesourcery.com>
820 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
821 __builtin_fmaf instead of relying on contraction of a * b + c.
823 2015-02-12 J William Piggott <elseifthen@gmx.com>
826 * manual/time.texi: correct the zoneinfo path in the TZ Variable
829 2015-02-12 Joseph Myers <joseph@codesourcery.com>
832 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
833 __builtin_fma instead of relying on contraction of a * b + c.
835 2015-02-12 Roland McGrath <roland@hack.frob.com>
837 * Makeconfig (ASFLAGS): Add -Werror=undef.
838 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
839 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
840 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
842 * Makeconfig (after-link): New variable.
843 (+link-pie, +link-pie-tests): Use it.
844 (+link-static, +link-static-tests): Likewise.
845 (+link, +link-tests): Likewise.
846 * Makerules (build-module, build-module-asneeded): Likewise.
847 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
849 * elf/Makefile ($(objpfx)ld.so): Likewise.
851 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
854 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
855 both struct timeval and struct timespec.
857 2015-02-12 Joseph Myers <joseph@codesourcery.com>
860 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
862 (__ieee754_exp2l): Do not multiply small fractional parts by
864 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
866 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
867 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
868 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
869 * math/auto-libm-test-in: Add more tests of exp2.
870 * math/auto-libm-test-out: Regenerated.
872 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
874 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
877 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
879 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
882 2015-02-12 Andreas Schwab <schwab@suse.de>
885 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
886 Filter out elision flags from value returned in kind.
887 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
888 * nptl/tst-pthread-mutexattr.c: New file.
890 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
892 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
893 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
894 into gnu-gnu, and update comment to refer to abi-tags.
896 2015-02-11 Joseph Myers <joseph@codesourcery.com>
899 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
900 (__sincos): Set errno to EDOM for infinite argument.
901 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
902 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
903 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
904 (__sincosl): Set errno to EDOM for infinite argument.
905 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
906 (__sincosl): Set errno to EDOM for infinite argument.
907 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
908 (__sincosl): Set errno to EDOM for infinite argument.
909 * math/libm-test.inc (sincos_test_data): Test errno setting.
911 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
913 * string/strxfrm_l.c: Remove #define STRCMP.
914 * string/strcoll_l.c: Remove #define STRLEN.
915 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
916 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
918 2015-02-10 Joseph Myers <joseph@codesourcery.com>
920 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
921 * sysdeps/mips/mips32/sfp-machine.h: ... here.
922 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
923 * sysdeps/mips/mips64/Makefile: ... here.
924 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
925 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
926 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
927 * sysdeps/mips/mips64/sfp-machine.h: ... here.
928 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
929 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
930 * sysdeps/mips/mips64/n64/Implies: Likewise.
932 2015-02-10 Roland McGrath <roland@hack.frob.com>
934 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
935 <sys/time.h>, <string.h>, and <errno.h>.
936 (dest_offset, dest_address, value, zero): Remove unused variables.
937 (ldouble): Remove typedef.
938 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
939 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
941 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
942 (check): Function removed.
944 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
945 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
946 Don't call set_sigaction_FP and remove_sigaction_FP here.
947 (ldouble_test): Just use 'long double' as macro argument, no need for
948 the 'ldouble' typedef.
949 (do_test): Set up SIGFPE handler at start, using plain signal rather
950 than sigaction. Fix code style.
952 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
955 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
958 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
960 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
961 * sysdeps/powerpc/powerpc32/configure: Regenerated.
963 * sysdeps/powerpc/configure.ac: Remove file.
964 * sysdeps/powerpc/configure: Likewise.
966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
967 [sysdep_routines]: Remove wordcopy-power6 object.
968 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
969 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
970 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
971 (__memmove_ppc32): Likewise.
972 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
974 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
975 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
978 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
979 [sysdep_routines]: Remove wide chars objects.
980 [wcsmbs]: New rule for wide char objects.
982 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
983 Remove wordcopy-power6 obejct.
984 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
985 Use local call for wordcopy and memcpy symbols.
986 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
987 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
988 implementation for loader.
989 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
991 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
992 Remove wordcopy-power7 object.
993 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
994 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
995 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
996 (_wordcopy_fwd_dest_aligned): Likewise.
997 (_wordcopy_bwd_aligned): Likewise.
998 (_wordcopy_bwd_dest_aligned): Likewise.
1000 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1001 Rewrite to call __memmove_ppc instead of include default
1004 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1005 Remove wide chars objects.
1006 [wcsmbs]: New rule for wide char objects.
1008 2015-02-09 Andreas Schwab <schwab@suse.de>
1011 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1012 in terms of __O_DIRECTORY.
1014 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1016 * time/getdate.c: Include <stdbool.h>.
1017 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1019 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1022 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1024 Add ersatz _Static_assert on older C hosts
1025 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1026 pre-C11 C platform that is not known to support _Static_assert.
1028 2015-02-07 Richard Braun <rbraun@sceen.net>
1030 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1032 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1034 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1036 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1037 priority against unexistent AIO_PRIO_DELTA_MAX.
1038 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1040 * misc/fchflags.c (fchflags): Likewise.
1041 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1042 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1043 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1044 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1045 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1047 [__USE_MISC] (chflags, fchflags): Declare functions.
1048 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1049 EINVAL when nfds is greater than FD_SETSIZE.
1050 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1051 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1053 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1054 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1055 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1057 * hurd/hurd/signal.h (_hurd_self_sigstate,
1058 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1059 Explicit casts from void *.
1060 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1061 * abi-tags: Rename gnu-gnu os into gnu.
1064 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1065 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1066 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1067 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1068 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1069 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1072 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1073 duplicates ADDR->sun_path with sockaddr LEN limitation.
1074 * sysdeps/mach/hurd/connect.c: Include <string.h>
1075 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1076 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1077 * sysdeps/mach/hurd/sendto.c: Likewise.
1078 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1079 implementing it by hand.
1081 2015-02-06 Roland McGrath <roland@hack.frob.com>
1083 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1084 Use sfi_breg on ldr.
1085 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1088 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1090 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1091 Test SIGSETXID only if it's defined.
1093 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1095 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1096 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1098 * nptl/tst-align2.c: Moved ...
1099 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1100 * nptl/Makefile (tests): Remove tst-align2.
1101 * sysdeps/unix/sysv/linux/Makefile
1102 [$(subdir) = nptl] (tests): Add tst-align-clone.
1103 * nptl/tst-getpid1.c: Moved ...
1104 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1105 * nptl/tst-getpid2.c: Moved ...
1106 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1107 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1108 * sysdeps/unix/sysv/linux/Makefile
1109 [$(subdir) = nptl] (tests): ... here.
1110 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1111 * sysdeps/unix/sysv/linux/Makefile
1112 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1114 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1115 Drop trailing \n from perror argument. Use return rather than exit.
1117 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1119 * nptl/tst-cancel21.c (do_test): Likewise.
1120 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1121 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1122 [!SA_SIGINFO]: Make it a stub test.
1124 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1125 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1127 * posix/tst-getlogin.c: Move to ...
1128 * login/tst-getlogin.c: ... here.
1129 * posix/Makefile (tests): Move tst-getlogin to ...
1130 * login/Makefile (tests): ... here.
1132 * libio/tst-atime.c (do_test): Move local variables SV and E
1133 inside [ST_NOATIME] conditional.
1135 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1137 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1139 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1140 (wait_code): New function replaces macro.
1141 Call nanosleep rather than syscall.
1143 * nptl/pt-system.c: Rewritten. Put everything under
1144 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1145 Use IFUNC to redirect when possible.
1147 * nptl/pt-longjmp.c: Rewritten. Put everything under
1148 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1149 Use IFUNC to redirect when possible.
1151 * nptl/pt-fork.c: Rewritten. Put everything under
1152 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1153 Use IFUNC to redirect when possible.
1154 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1156 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1157 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1158 unconditionally nowadays. This included the only reference to
1159 __vdso_clock_gettime that appears outside libc proper.
1160 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1161 Remove version set (containing only __vdso_clock_gettime).
1162 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1163 Add attribute_hidden.
1164 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1165 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1166 libc_hidden_data_def.
1167 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1168 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1170 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1171 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1172 setrpcent, and getrpcport to ...
1173 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1174 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1175 getrpcbynumber_r, and getrpcent_r to ...
1176 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1177 * inet/getrpcbyname.c: Moved ...
1178 * sunrpc/getrpcbyname.c: ... here.
1179 * inet/getrpcbyname_r.c: Moved ...
1180 * sunrpc/getrpcbyname_r.c: ... here.
1181 * inet/getrpcbynumber.c: Moved ...
1182 * sunrpc/getrpcbynumber.c: ... here.
1183 * inet/getrpcbynumber_r.c: Moved ...
1184 * sunrpc/getrpcbynumber_r.c: ... here.
1185 * inet/getrpcent.c: Moved ...
1186 * sunrpc/getrpcent.c: ... here.
1187 * inet/getrpcent_r.c: Moved ...
1188 * sunrpc/getrpcent_r.c: ... here.
1189 * inet/Makefile (routines): Move those to ...
1190 * sunrpc/Makefile (routines): ... here.
1191 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1192 the $(subdirs) list.
1193 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1194 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1195 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1196 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1198 * elf/Makefile (routines): Include $(all-dl-routines), not just
1200 (rtld-routines): Likewise. Use = rather than :=.
1201 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1202 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1203 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1204 * sysdeps/arm/Makefile: Likewise.
1205 * sysdeps/i386/Makefile: Likewise.
1206 * sysdeps/x86_64/Makefile: Likewise.
1207 * sysdeps/hppa/Makefile [$(subdir) = elf]
1208 (sysdep_routines, sysdep-rtld-routines): Don't add
1209 $(sysdep-dl-routines) to these.
1210 * sysdeps/ia64/Makefile: Likewise.
1211 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1212 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1213 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1214 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1215 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1216 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1217 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1218 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1219 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1220 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1221 these; sysdep-dl-routines alone is enough.
1223 2015-02-06 Joseph Myers <joseph@codesourcery.com>
1226 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1227 where multiplication results in zero and third argument is finite
1229 * math/auto-libm-test-in: Add more tests of fma.
1230 * math/auto-libm-test-out: Regenerated.
1232 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1233 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1234 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1235 (_FP_CMP_EQ): Likewise.
1236 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1238 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1239 extra argument CHECK_NAN. Redefine as wrapper around
1242 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1244 * version.h (RELEASE): Set to "stable".
1245 (VERSION): Set to "2.21"
1246 * include/features.h (__GLIBC_MINOR__): Set to 21.
1248 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1250 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1251 Paul Eggert <eggert@cs.ucla.edu>
1254 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1255 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1256 size in bytes. Store needed elements in wpmax. Use needed size
1257 in bytes for extend_alloca.
1259 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1261 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1262 binutls 2.25, and texinfo 5.2.
1263 * INSTALL: Regenerate.
1264 * sysdeps/nios2/configure: Regenerate.
1265 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1266 * manual/contrib.texi: Update.
1290 * po/pt_BR.po: Update.
1299 * po/zh_CN.po: Update.
1300 * po/zh_TW.po: Update.
1302 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1303 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1304 * sysdeps/hppa/dl-irel.h: Remove #warning.
1305 * sysdeps/hppa/entry.h: Provide prototype for
1306 __canonicalize_funcptr_for_compare and cast argument.
1307 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1308 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1309 * sysdeps/hppa/sotruss-lib.c: New file.
1310 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1311 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1312 (atomic_compare_and_exchange_bool_acq): Likewise.
1313 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1314 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1316 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1317 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1318 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1320 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1322 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1323 called function in non-PIC case.
1325 2015-01-31 David S. Miller <davem@davemloft.net>
1327 * sysdeps/sparc/sparc32/bits/atomic.h
1328 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1329 unlock not after it.
1330 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1331 volatile register usage warnings from the compiler.
1333 * sysdeps/sparc/nptl/sem_init.c: Delete.
1334 * sysdeps/sparc/nptl/sem_post.c: Delete.
1335 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1336 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1337 * sysdeps/sparc/sparc32/sem_init.c: New file.
1338 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1339 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1340 padding explicitly initialized.
1341 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1342 padding for in-semaphore spinlock.
1343 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1344 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1345 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1346 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1347 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1348 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1349 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1350 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1352 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1353 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1355 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1359 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1360 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1362 (index_AVX_Fast_Unaligned_Load): Likewise.
1363 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1364 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1365 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1366 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1367 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1368 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1369 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1370 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1371 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1373 2015-01-29 Andreas Schwab <schwab@suse.de>
1375 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1377 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1380 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1382 2015-01-28 Martin Sebor <msebor@redhat.com>
1384 * math/README.libm-test: Clarify. Add "How to read the test output."
1386 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1388 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1391 2015-01-28 Joseph Myers <joseph@codesourcery.com>
1393 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1394 (__HAVE_64B_ATOMICS): Define to 0.
1396 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1399 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1400 value to set as new flag.
1403 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1404 and use _ARCH_PPCSQ instead.
1405 (__ieee754_sqrt): Likewise.
1406 (__ieee754_sqrtf): Likewise.
1407 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1408 _ARCH_PPCSQ is defined.
1409 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1411 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1412 _ARCH_PPCSQ is defined.
1413 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1415 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1417 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1419 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1420 bug (GCC BZ #64739).
1422 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1424 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1425 Mark _retval as used.
1426 (lll_futex_wake_unlock): Likewise.
1427 (lll_futex_timed_wait_requeue_pi): Likewise.
1429 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1430 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1433 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1436 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1437 (__bswap_64): Mark as __always_inline.
1439 2015-01-25 Bram <bug_rh@spam.wizbit.be>
1442 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1443 when none of the search directories exist.
1445 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1448 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1449 power8 in .machine directive.
1452 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1453 set dependency from opd value.
1455 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1458 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1461 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1464 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1466 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1468 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1469 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1470 Replace 1UL with (uint64_t) 1.
1471 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1474 2015-01-23 Roland McGrath <roland@hack.frob.com>
1476 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1477 (if_freenameindex): Likewise.
1479 * resource/getrlimit64.c: Add missing libc_hidden_def.
1481 2015-01-22 Joseph Myers <joseph@codesourcery.com>
1483 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1485 (_FP_FMA): Likewise.
1486 (_FP_TO_INT_ROUND): Likewise.
1487 (_FP_FROM_INT): Likewise.
1489 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1492 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1493 Make code racy and cancel safe.
1495 2015-01-21 Carlos O'Donell <carlos@redhat.com>
1497 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1498 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1501 * pwd/tst-getpw.c: Rewrite.
1504 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1505 (modules-names): Add moddummy1 and moddummy2.
1506 ($(objpfx)tst-rec-dlopen): Define.
1507 * dlfcn/moddummy1.c: New file.
1508 * dlfcn/moddummy2.c: New file.
1509 * dlfcn/tst-rec-dlopen.c: New file.
1510 * elf/dl-cache.c (_dl_load_cache_lookup):
1511 Return char*. Copy result with alloca/strcpy/strdup.
1512 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1513 returns char*. Free cached. If not saving realname
1515 * elf/dl-open.c (dl_open_worker): Do not assert that
1516 _r_debug->r_state is RT_CONSISTENT.
1517 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1520 2015-01-21 Torvald Riegel <triegel@redhat.com>
1521 Carlos O'Donell <carlos@redhat.com>
1524 * nptl/sem_waitcommon.c: New file.
1525 * nptl/sem_wait.c: Include sem_waitcommon.c.
1526 (__sem_wait_cleanup, do_futex_wait): Remove.
1527 (__new_sem_wait): Adapt.
1528 (__new_sem_trywait): New function.
1529 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1530 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1531 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1532 (sem_timedwait): Adapt.
1533 * nptl/sem_post.c (__new_sem_post): Adapt.
1534 (futex_wake): New function.
1535 (__old_sem_post): Add release MO fence.
1536 * nptl/sem_open.c (sem_open): Adapt.
1537 * nptl/sem_init.c (__new_sem_init): Adapt.
1538 (futex_private_if_supported): New function.
1539 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1540 (__old_sem_getvalue): Add using previous code.
1541 * sysdeps/nptl/internaltypes.h: Adapt.
1542 * nptl/tst-sem13.c (do_test): Adapt.
1543 * nptl/tst-sem11.c (main): Adapt.
1544 * nptl/sem_trywait.c: Remove.
1545 * nptl/DESIGN-sem.txt: Remove.
1546 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1547 (gen-as-const-headers): Remove structsem.sym.
1548 * nptl/structsem.sym: Remove.
1549 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1550 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1551 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1552 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1553 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1554 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1555 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1556 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1557 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1558 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1559 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1560 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1561 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1562 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1563 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1564 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1565 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1566 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1567 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1568 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1569 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1570 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1572 2015-01-20 Carlos O'Donell <carlos@redhat.com>
1574 * INSTALL: Regenerated.
1576 * po/libc.pot: Regenerated.
1578 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1579 Sandra Loosemore <sandra@codesourcery.com>
1580 Andrew Jenner <andrew@codesourcery.com>
1581 Joseph Myers <joseph@codesourcery.com>
1582 Nathan Sidwell <nathan@codesourcery.com>
1584 * NEWS: Mention new Nios II port.
1585 * sysdeps/nios2/Implies: New file.
1586 * sysdeps/nios2/Makefile: New file.
1587 * sysdeps/nios2/Subdirs: New file.
1588 * sysdeps/nios2/Versions: New file.
1589 * sysdeps/nios2/__longjmp.S: New file.
1590 * sysdeps/nios2/abort-instr.h: New file.
1591 * sysdeps/nios2/backtrace.c: New file.
1592 * sysdeps/nios2/bits/endian.h: New file.
1593 * sysdeps/nios2/bits/fenv.h: New file.
1594 * sysdeps/nios2/bits/link.h: New file.
1595 * sysdeps/nios2/bits/setjmp.h: New file.
1596 * sysdeps/nios2/bsd-_setjmp.S: New file.
1597 * sysdeps/nios2/bsd-setjmp.S: New file.
1598 * sysdeps/nios2/configure: New generated file.
1599 * sysdeps/nios2/configure.ac: New file.
1600 * sysdeps/nios2/crti.S: New file.
1601 * sysdeps/nios2/crtn.S: New file.
1602 * sysdeps/nios2/dl-init.c: New file.
1603 * sysdeps/nios2/dl-machine.h: New file.
1604 * sysdeps/nios2/dl-sysdep.h: New file.
1605 * sysdeps/nios2/dl-tls.h: New file.
1606 * sysdeps/nios2/dl-trampoline.S: New file.
1607 * sysdeps/nios2/gccframe.h: New file.
1608 * sysdeps/nios2/gmp-mparam.h: New file.
1609 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1610 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1611 * sysdeps/nios2/ldsodefs.h: New file.
1612 * sysdeps/nios2/libc-tls.c: New file.
1613 * sysdeps/nios2/libm-test-ulps: New file.
1614 * sysdeps/nios2/machine-gmon.h: New file.
1615 * sysdeps/nios2/math-tests.h: New file.
1616 * sysdeps/nios2/math_private.h: New file.
1617 * sysdeps/nios2/memusage.h: New file.
1618 * sysdeps/nios2/nptl/Makefile: New file.
1619 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1620 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1621 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1622 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1623 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1624 * sysdeps/nios2/nptl/tls.h: New file.
1625 * sysdeps/nios2/preconfigure: New file.
1626 * sysdeps/nios2/s_fma.c: New file.
1627 * sysdeps/nios2/s_fmaf.c: New file.
1628 * sysdeps/nios2/setjmp.S: New file.
1629 * sysdeps/nios2/sfp-machine.h: New file.
1630 * sysdeps/nios2/sotruss-lib.c: New file.
1631 * sysdeps/nios2/stackguard-macros.h: New file.
1632 * sysdeps/nios2/stackinfo.h: New file.
1633 * sysdeps/nios2/start.S: New file.
1634 * sysdeps/nios2/sysdep.h: New file.
1635 * sysdeps/nios2/tls-macros.h: New file.
1636 * sysdeps/nios2/tst-audit.h: New file.
1637 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1638 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1639 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1640 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1641 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1642 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1643 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1644 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1645 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1646 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1647 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1648 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1649 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1650 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1651 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1652 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1653 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1654 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1655 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1656 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1657 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1658 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1659 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1660 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1661 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1662 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1663 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1664 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1665 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1666 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1667 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1668 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1669 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1670 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1671 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1672 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1673 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1674 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1675 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1676 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1677 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1678 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1679 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1680 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1682 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1685 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1686 (getutent): Use weak_alias in non SHARED case
1687 and default_symbol_version in SHARED case.
1688 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1689 (getutent_r, pututline): Likewise.
1690 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1691 (getutid): Likewise.
1692 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1693 (getutid_r): Likewise.
1694 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1695 (getutline): Likewise.
1696 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1697 (getutline_r): Likewise.
1698 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1699 (updwtmp): Likewise.
1701 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1704 * sysdeps/s390/s390-32/memcmp.S
1705 (memcmp_g5): Rename to __memcmp_g5.
1706 * sysdeps/s390/s390-32/memcpy.S
1707 (memcpy_g5): Rename to __memcpy_g5.
1708 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1709 (memcpy_mvcle) Rename to __memcpy_mvcle.
1710 * sysdeps/s390/s390-32/memset.S
1711 (memset_g5): Rename to __memset_g5.
1712 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1713 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1714 and use prefixed functions.
1715 * sysdeps/s390/s390-32/multiarch/memcmp.S
1716 (memcmp_z196): Rename to __memcmp_z196.
1717 (memcmp_z10): Rename to __memcmp_z10.
1718 (memcmp): Set alias to __memcmp_g5.
1719 (bcmp): Set alias to __memcmp_g5.
1720 * sysdeps/s390/s390-32/multiarch/memcpy.S
1721 (memcpy_z196): Rename to __memcpy_z196.
1722 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1723 (memcpy_z10): Rename to __memcpy_z10.
1724 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1725 (memcpy): Set alias to __memcpy_g5.
1726 * sysdeps/s390/s390-32/multiarch/memset.S
1727 (memset_z196): Rename to __memset_z196.
1728 Jump to __memset_mvcle instead of memset_mvcle.
1729 (memset_z10): Rename to __memset_z10.
1730 Jump to __memset_mvcle instead of memset_mvcle.
1731 (memset_mvcle) Rename to __memset_mvcle.
1732 (memset): Set alias to __memset_g5.
1733 * sysdeps/s390/s390-64/memcmp.S
1734 (memcmp_z900): Rename to __memcmp_z900.
1735 * sysdeps/s390/s390-64/memcpy.S
1736 (memcpy_z900): Rename to __memcpy_z900.
1737 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1738 (memcpy_mvcle) Rename to __memcpy_mvcle.
1739 * sysdeps/s390/s390-64/memset.S
1740 (memset_z900): Rename to __memset_z900.
1741 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1742 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1743 and use prefixed functions.
1744 * sysdeps/s390/s390-64/multiarch/memcmp.S
1745 (memcmp_z196): Rename to __memcmp_z196.
1746 (memcmp_z10): Rename to __memcmp_z10.
1747 (memcmp): Set alias to __memcmp_z900.
1748 (bcmp): Set alias to __memcmp_z900.
1749 * sysdeps/s390/s390-64/multiarch/memcpy.S
1750 (memcpy_z196): Rename to __memcpy_z196.
1751 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1752 (memcpy_z10): Rename to __memcpy_z10.
1753 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1754 (memcpy): Set alias to __memcpy_z900.
1755 * sysdeps/s390/s390-64/multiarch/memset.S
1756 (memset_z196): Rename to __memset_z196.
1757 Jump to __memset_mvcle instead of memset_mvcle.
1758 (memset_z10): Rename to __memset_z10.
1759 Jump to __memset_mvcle instead of memset_mvcle.
1760 (memset_mvcle) Rename to __memset_mvcle.
1761 (memset): Set alias to __memset_z900.
1763 2015-01-14 Joseph Myers <joseph@codesourcery.com>
1766 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1767 __fesetenv instead of fesetenv.
1769 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1771 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1774 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1776 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1779 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1780 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1781 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1782 strncmp-power8 object.
1783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1784 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1785 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1788 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1789 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1791 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1792 trailing byte check.
1794 2015-01-13 David S. Miller <davem@davemloft.net>
1796 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1798 2015-01-13 Roland McGrath <roland@hack.frob.com>
1800 * login/logout.c (logout): Use memset rather than bzero.
1801 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1802 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1803 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1804 (_gethtbyaddr): Likewise.
1805 * locale/programs/simple-hash.c (bcopy): Macro removed.
1807 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1809 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1810 Add strcmp-power8 object.
1811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1812 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1813 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1814 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1815 __strcmp_power8 implementation.
1816 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1819 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1820 Add strncpy-power8 and stpncpy-power8 objects.
1821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1822 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1824 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1825 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1826 __stpncpy_power8 implementation.
1827 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1828 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1829 __strncpy_power8 implementation.
1830 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1831 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1834 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1835 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1836 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1838 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1839 strncat-power8 object.
1840 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1841 __strcat_power8 implementation.
1842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1843 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1844 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1845 optimized strcat for power8.
1847 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1848 strcpy-power8 and stpcpy-power8 objects.
1849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1850 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1852 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1853 multiarch stpcpy implementation for POWER8.
1854 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1855 multiarch strcpy implementation for POWER8.
1856 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1857 __strcpy_power8 function.
1858 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1860 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1864 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
1867 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1868 weights and rules. Use do_xfrm_cached if data fits in cache,
1869 do_xfrm otherwise. Moved former main loop to...
1870 * (do_xfrm_cached): New function.
1871 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1872 find_idx, find_position and stack_push.
1873 * (find_idx): New function.
1874 * (find_position): Likewise.
1875 * localedata/sort-test.sh: Added test run for do_xfrm.
1876 * localedata/xfrm-test.c (main): Added command line option
1877 -nocache to run the test with strings that are too large for
1880 2015-01-13 Torvald Riegel <triegel@redhat.com>
1882 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1883 variable to lll_futex_wake call, not the value itself.
1885 2015-01-12 Joseph Myers <joseph@codesourcery.com>
1888 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1889 twom64. Adjust value to 0x1p-64L.
1890 (__scalblnl): Only return standard underflowing result for K <=
1891 -64 not K <= -63; adjust exponent for underflowing result by 64
1893 * math/libm-test.inc (scalbn_test_data): Add more tests.
1894 (scalbln_test_data): Likewise.
1897 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1899 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1901 * math/libm-test.inc (scalbn_test_data): Add more tests.
1902 (scalbln_test_data): Likewise.
1904 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1905 Stefani Seibold <stefani@seibold.net>
1907 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1908 (sysdep_routines): Add dl-vdso here, ...
1909 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1910 (sysdep_routines): ... not here.
1911 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1912 fallback when vDSO is not presented.
1913 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1914 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1915 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1916 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1917 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1918 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1919 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1920 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1921 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1923 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1924 fallback configurable symbol when vDSO is not available.
1925 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1926 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1927 be able to redefine fallback symbol when vDSO is not available.
1928 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1929 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1931 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1933 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1934 (TLS_INIT_TP): Add tm_capable initialization.
1935 (TLS_DEFINE_INIT_TP): Likewise.
1936 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1938 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1939 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1941 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1942 transactoion is lock elision is built and TCB tm_capable is set.
1943 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1945 (INTERNAL_SYSCALL_NCS): Likewise.
1946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1947 (INTERNAL_SYSCALL_NCS): Likewise.
1948 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1950 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1952 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1953 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1954 and remove it for 32 bits case.
1955 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1956 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1958 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1959 Disable lock elision with rdlocks if elision is not available.
1961 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1962 (sysdep_routines): Add lock elision objects.
1963 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1964 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1965 [pthread_mutex_t] (__elision): Add field.
1966 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1967 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1968 elision definitions for powerpc.
1969 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1970 implementation of lock elision for powerpc.
1971 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1972 implementation of timed lock elision for powerpc.
1973 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1974 implementation of trylock with lock elision for powerpc.
1975 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1976 implementaion of unlock for lock elision for powerpc.
1977 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1978 automatic enable lock elision for mutexes.
1979 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1980 transaction execution definitions for powerpc.
1981 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1983 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1984 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1985 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1986 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1989 2015-01-09 Roland McGrath <roland@hack.frob.com>
1991 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1992 for #include of <shm-directory.h>.
1994 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1996 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1997 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1999 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2002 * NEWS: Mention bug fix.
2003 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2004 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2005 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2007 2015-01-09 Torvald Riegel <triegel@redhat.com>
2009 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2011 2015-01-09 Torvald Riegel <triegel@redhat.com>
2013 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2015 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2017 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2018 pointer and cast to uintptr_t.
2020 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2022 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2024 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2026 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2028 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2031 2015-01-08 Roland McGrath <roland@hack.frob.com>
2033 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2034 <nptl/pthreadP.h> instead.
2035 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2037 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2039 [__SIGRTMIN] (init): Function removed.
2040 [__SIGRTMIN] (initialized): Variable removed.
2041 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2042 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2043 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2044 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2045 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2046 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2047 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2048 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2049 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2050 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2051 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2052 * sysdeps/nptl/allocrtsig.c: New file.
2053 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2054 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2055 * sysdeps/generic/testrtsig.h: File removed.
2057 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2058 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2060 * nptl/nptl-init.c (pthread_functions): Conditionalize
2061 .ptr__nptl_setxid initialization on [SIGSETXID].
2063 * sysdeps/nptl/sys/procfs.h: New file.
2064 * nptl_db/Makefile (headers): Add it.
2065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2067 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2068 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2069 * nptl/pthread_attr_setaffinity.c: Include it.
2070 * nptl/pthread_setattr_default_np.c: Likewise.
2071 * nptl/check-cpuset.h: New file.
2073 2015-01-08 Richard Henderson <rth@redhat.com>
2075 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2076 (CFLAGS-tst-execstack-prog.c): Likewise.
2077 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2079 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2080 Sandra Loosemore <sandra@codesourcery.com>
2081 Andrew Jenner <andrew@codesourcery.com>
2082 Joseph Myers <joseph@codesourcery.com>
2083 Nathan Sidwell <nathan@codesourcery.com>
2085 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2086 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2087 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2088 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2089 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2090 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2091 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2092 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2093 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2094 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2095 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2096 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2097 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2098 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2099 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2100 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2101 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2103 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2105 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2106 timespec struct member in syscall macro.
2107 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2108 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2109 first timeval struct member in syscall macro.
2110 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2112 2015-01-07 Joseph Myers <joseph@codesourcery.com>
2115 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2116 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2117 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2118 __feupdateenv and define as weak alias of __feupdateenv. Use
2120 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2122 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2123 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2124 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2125 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2127 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2128 __feupdateenv and define as weak alias of __feupdateenv. Use
2130 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2132 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2133 __feupdateenv and define as weak alias of __feupdateenv. Use
2135 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2137 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2138 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2139 (__feupdateenv): Likewise.
2140 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2141 __feupdateenv and define as weak alias of __feupdateenv. Use
2143 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2144 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2146 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2148 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2150 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2151 __feupdateenv instead of feupdateenv.
2152 (default_libc_feupdateenv_test): Likewise.
2153 (libc_feresetround_ctx): Likewise.
2155 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2157 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2160 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2162 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2163 COLL_SYM in a couple of places to avoid uninitialized variable
2164 wanings on tilegx gcc 4.8.2.
2166 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2168 * sysdeps/aarch64/strcpy.S: New file.
2169 * sysdeps/aarch64/stpcpy.S: New file.
2172 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2174 * sysdeps/aarch64/strrchr.S: New file.
2177 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
2180 * stdlib/setenv.c: Fix memory leak when setting large,
2183 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2186 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2187 and tabs from buffer before parsing fstab entry.
2188 * misc/tst-mntent.c (main): Add test for mount entry with
2189 trailing spaces and tabs.
2191 2015-01-06 Joseph Myers <joseph@codesourcery.com>
2194 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2195 * math/fesetround.c (fesetround): Rename to __fesetround and
2196 define as weak alias of __fesetround. Use libm_hidden_weak.
2197 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2198 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2199 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2200 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2201 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2202 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2203 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2204 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2205 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2206 __fesetround_inline.
2207 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2208 __fesetround_inline instead of __fesetround.
2209 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2210 __fesetround and define as weak alias of __fesetround. Use
2211 libm_hidden_weak. Call __fesetround_inline instead of
2213 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2214 __fesetround and define as weak alias of __fesetround. Use
2216 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2218 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2219 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2220 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2221 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2222 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2223 __fesetround and define as weak alias of __fesetround. Use
2225 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2226 __fesetround instead of fesetround.
2227 (default_libc_feholdexcept_setround): Likewise.
2228 (libc_feholdsetround_ctx): Likewise.
2229 (libc_feholdsetround_noex_ctx): Likewise.
2232 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2233 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2234 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2235 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2236 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2237 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2238 define as weak alias of __fesetenv. Use libm_hidden_weak.
2239 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2240 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2241 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2242 define as weak alias of __fesetenv. Use libm_hidden_weak.
2243 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2244 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2245 define as weak alias of __fesetenv. Use libm_hidden_weak.
2246 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2248 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2249 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2251 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2252 define as weak alias of __fesetenv. Use libm_hidden_weak.
2253 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2254 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2255 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2256 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2257 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2258 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2259 __fesetenv instead of fesetenv.
2260 (libc_feresetround_noex_ctx): Likewise.
2261 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2262 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2263 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2264 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2265 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2266 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2267 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2268 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2269 (__feupdateenv): Likewise.
2270 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2271 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2272 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2273 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2275 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2278 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2279 addresses have been freed.
2281 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2283 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2286 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
2288 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2289 Clean up check_pf allocation pattern. addresses
2291 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2293 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2294 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2295 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2296 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2297 * nptl/pthread_join.c (pthread_join): Likewise.
2298 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2299 * sysdeps/posix/waitid.c (__waitid): Likewise.
2300 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2301 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2302 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2303 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2304 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2306 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2307 (__libc_pread64): Likewise.
2308 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2309 (__libc_pwrite): Likewise.
2310 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2311 (__libc_pwrite64): Likewsie.
2312 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2313 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2314 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2315 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2316 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2317 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2318 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2322 (__libc_pread64): Likewise.
2323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2326 (__libc_pwrite64): Likewise.
2327 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2328 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2329 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2330 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2331 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2332 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2333 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2334 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2335 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2336 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2337 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2338 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2339 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2340 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2341 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2342 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2345 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2347 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2348 (CFLAGS-test-double.c): Likewise.
2349 (CFLAGS-test-ldouble.c): Likewise.
2350 (CPPFLAGS-test-ifloat.c): Likewise.
2351 (CPPFLAGS-test-idouble.c): Likewise.
2352 (CPPFLAGS-test-ildoubl.c): Likewise.
2353 (CFLAGS-test-test-fenv.c): Remove variable.
2354 (CFLAGS-test-misc.c): Likewise.
2356 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2359 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2360 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2361 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2362 CLOCKS_PER_SEC == 1000000.
2363 * time/clocktest.c (main): Replace %ld with %jd and cast to
2366 2015-01-05 Roland McGrath <roland@hack.frob.com>
2368 * sysdeps/generic/unwind-resume.h: New file.
2369 * sysdeps/gnu/unwind-resume.c: Include it.
2370 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2371 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2373 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2374 global rather than static.
2375 (_Unwind_Resume): Update user.
2376 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2377 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2378 rather than static. Add __attribute__ ((cold)).
2379 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2380 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2381 * sysdeps/arm/arm-unwind-resume.S: New file.
2382 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2383 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2384 * sysdeps/arm/Makefile [$(subdir) = csu]
2385 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2386 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2387 Add rt-arm-unwind-resume.
2389 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2390 Add pt-arm-unwind-resume.
2391 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2392 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2394 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2397 * include/fenv.h (__feholdexcept): Declare. Use
2399 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2400 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2401 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2402 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2403 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2404 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2405 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2406 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2407 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2408 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2409 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2410 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2411 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2412 (feholdexcept): Likewise.
2413 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2414 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2415 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2416 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2417 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2418 __feholdexcept instead of feholdexcept.
2419 (default_libc_feholdexcept_setround): Likewise.
2421 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2423 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2424 to avoid using stl/str to align destination.
2426 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2428 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2430 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2433 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2434 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2435 Define as weak alias not strong alias.
2437 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2439 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2440 bltzal with addiupc.
2441 (RTLD_START): Ditto.
2443 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2445 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2446 for __vdso_* functions in declarations.
2447 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2449 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2450 INTERNAL_VSYSCALL): Use struct return types to check for error.
2452 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2453 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2454 function with cast from llround().
2455 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2456 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2459 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2462 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2463 Define as weak alias not strong alias.
2466 * ctype/ctype-c99.c: New file. isblank implementation moved from
2468 * ctype/ctype-extn.c: ... here.
2469 (__isblank_l): Move to ...
2470 * ctype/ctype-c99_l.c: ... here. New file.
2471 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2472 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2474 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2475 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2476 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2477 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2478 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2481 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2482 (posix_fadvise64): Define as weak alias not strong alias.
2483 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2484 (posix_fallocate64): Likewise.
2485 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2487 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2488 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2489 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2490 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2491 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2493 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2496 * NEWS: Mention bug fix.
2497 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2498 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2499 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2500 (HOST_STACK_END_ADDR): Likewise.
2502 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2505 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2506 * math/fegetround.c (fegetround): Rename to __fegetround and
2507 define as weak alias of __fegetround. Use libm_hidden_weak.
2508 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2509 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2510 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2511 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2512 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2513 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2514 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2515 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2516 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2517 Undefine after rather than before function definition; use
2518 parentheses around function name in definition.
2519 (__fegetround): Also undefine macro after function definition.
2520 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2521 __fegetround and define as weak alias of __fegetround. Use
2522 libm_hidden_weak. Do not undefine as macro.
2523 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2525 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2526 __fegetround and define as weak alias of __fegetround. Use
2528 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2529 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2530 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2531 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2532 __fegetround and define as weak alias of __fegetround. Use
2534 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2535 __fegetround instead of fegetround.
2538 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2539 Condition macro definition on [__USE_MISC].
2542 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2543 (struct sigaction): Change type of sa_flags field to int.
2546 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2547 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2550 * nptl/version.c (banner): Use single year in copyright notice.
2552 * NEWS: Update copyright dates.
2553 * catgets/gencat.c (print_version): Likewise.
2554 * csu/version.c (banner): Likewise.
2555 * debug/catchsegv.sh: Likewise.
2556 * debug/pcprofiledump.c (print_version): Likewise.
2557 * debug/xtrace.sh (do_version): Likewise.
2558 * elf/ldconfig.c (print_version): Likewise.
2559 * elf/ldd.bash.in: Likewise.
2560 * elf/pldd.c (print_version): Likewise.
2561 * elf/sotruss.sh: Likewise.
2562 * elf/sprof.c (print_version): Likewise.
2563 * iconv/iconv_prog.c (print_version): Likewise.
2564 * iconv/iconvconfig.c (print_version): Likewise.
2565 * locale/programs/locale.c (print_version): Likewise.
2566 * locale/programs/localedef.c (print_version): Likewise.
2567 * login/programs/pt_chown.c (print_version): Likewise.
2568 * malloc/memusage.sh (do_version): Likewise.
2569 * malloc/memusagestat.c (print_version): Likewise.
2570 * malloc/mtrace.pl: Likewise.
2571 * manual/libc.texinfo: Likewise.
2572 * nptl/version.c (banner): Likewise.
2573 * nscd/nscd.c (print_version): Likewise.
2574 * nss/getent.c (print_version): Likewise.
2575 * nss/makedb.c (print_version): Likewise.
2576 * posix/getconf.c (main): Likewise.
2577 * scripts/test-installation.pl: Likewise.
2578 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2580 2015-01-02 Will Newton <will.newton@linaro.org>
2582 * sysdeps/arm/armv7/configure: Removed.
2583 * sysdeps/arm/armv7/configure.ac: Likewise.
2585 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2587 * All files with FSF copyright notices: Update copyright dates
2588 using scripts/update-copyrights.
2589 * intl/plural.c: Regenerated.
2590 * locale/programs/charmap-kw.h: Likewise.
2591 * locale/programs/locfile-kw.h: Likewise.
2593 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2595 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2597 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2600 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2601 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2602 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2603 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2604 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2605 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2606 define as weak alias of __fegetenv. Use libm_hidden_weak.
2607 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2608 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2609 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2610 define as weak alias of __fegetenv. Use libm_hidden_weak.
2611 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2612 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2613 define as weak alias of __fegetenv. Use libm_hidden_weak.
2614 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2616 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2617 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2619 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2620 define as weak alias of __fegetenv. Use libm_hidden_weak.
2621 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2622 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2623 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2624 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2625 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2626 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2627 __fegetenv instead of fegetenv.
2628 (libc_feholdsetround_noex_ctx): Likewise.
2630 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2632 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2633 (Elf_MIPS_ABIFlags_v0): New structure.
2634 (EF_MIPS_FP64): Define.
2635 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2636 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2637 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2638 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2639 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2640 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2641 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2642 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2643 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2644 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2645 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2646 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2647 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2648 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2649 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2650 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2651 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2652 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2653 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2654 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2655 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2656 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2658 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2660 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2661 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2662 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2663 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2664 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2665 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2666 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2667 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2668 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2669 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2670 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2671 record the current FP ABI extension.
2672 (mips-mode-switch): Define to show if kernel headers support mode
2674 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2675 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2676 supported SYSV ABI version to 3.
2677 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2680 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2681 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2683 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2685 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2687 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2689 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2690 __fegetround and redefine to call __fegetround. Remove condition
2691 on [!__NO_MATH_INLINES].
2692 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2694 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2695 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2697 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2698 instead of <fenv_libc.h>.
2699 (__llrintl): Call fegetround instead of __fegetround.
2700 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2701 instead of <fenv_libc.h>.
2702 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2703 (__lrintl): Call fegetround instead of __fegetround.
2704 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2705 instead of <fenv_libc.h>.
2706 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2707 (__rintl): Call fegetround instead of __fegetround.
2709 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2711 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2714 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2717 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2718 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2719 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2721 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2723 * sysdeps/i386/tls-macros.h: Include <features.h>.
2724 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2728 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2729 define for GCC >= 5.0.
2731 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2733 * math/test-fenv.c (test_single_exception, set_single_exc,
2734 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2735 feexcp_mask_test, feenable_test, fe_single_test): Add
2736 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2737 case where they are not used.
2738 * math/libm-test.inc: Likewise.
2739 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2740 unused in the absence of FP rounding/exception support.
2741 * stdio-common/tst-printf-round.c: Likewise.
2742 * stdlib/tst-strtod-round.c: Likewise.
2743 * stdlib/tst-strtod-underflow.c: Likewise.
2745 2014-12-30 Joseph Myers <joseph@codesourcery.com>
2748 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2749 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2750 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2751 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2753 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2754 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2755 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2757 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2758 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2760 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2762 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2763 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2764 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2766 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2768 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2769 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2770 (__feraiseexcept): Likewise.
2771 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2772 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2774 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2775 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2777 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2778 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2779 Use libm_hidden_def.
2780 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2782 (feraiseexcept): Define as weak not strong alias. Use
2784 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2785 New inline function. Factored out of ...
2786 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2787 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2788 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2790 * math/w_acos.c (__acos): Likewise.
2791 * math/w_asin.c (__asin): Likewise.
2792 * math/w_ilogb.c (__ilogb): Likewise.
2793 * math/w_j0.c (y0): Likewise.
2794 * math/w_j1.c (y1): Likewise.
2795 * math/w_jn.c (yn): Likewise.
2796 * math/w_log.c (__log): Likewise.
2797 * math/w_log10.c (__log10): Likewise.
2798 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2799 * sysdeps/aarch64/fpu/math_private.h
2800 (libc_feupdateenv_test_aarch64): Likewise.
2801 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2802 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2803 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2804 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2805 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2806 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2807 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2808 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2809 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2810 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2812 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2815 * io/test-utime.c (main): Replace %ld with %jd and cast to
2817 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2818 * nptl/tst-mutex5.c: Include <stdint.h>.
2819 (do_test): Replace %ld with %jd and cast to intmax_t.
2820 * posix/tst-regex.c (run_test): Likewise.
2821 (run_test_backwards): Likewise.
2822 * rt/tst-clock.c: Include <stdint.h>.
2823 (clock_test): Replace %ld with %jd and cast to intmax_t.
2824 * rt/tst-cpuclock1.c: Include <stdint.h>.
2825 (do_test): Replace %lu with %ju and cast to uintmax_t.
2826 * rt/tst-cpuclock2.c: Include <stdint.h>.
2827 (do_test): Replace %lu with %ju and cast to uintmax_t.
2828 * rt/tst-mqueue1.c: Include <stdint.h>.
2829 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2830 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2832 * rt/tst-mqueue4.c (do_test): Likewise.
2833 * rt/tst-timer4.c: Include <stdint.h>.
2834 (check_ts): Replace %ld with %jd and cast to intmax_t.
2835 (do_test): Likewise.
2836 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2837 and cast to intmax_t.
2838 * sysdeps/pthread/tst-timer.c (main): Likewise.
2839 * time/clocktest.c (main): Likewise.
2840 * time/tst-posixtz.c (do_test): Likewise.
2841 * timezone/tst-timezone.c (main): Likewise.
2843 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2844 H.J. Lu <hongjiu.lu@intel.com>
2846 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2847 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2848 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2849 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2850 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2851 version if bit_Fast_Unaligned_Load is set.
2852 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2853 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2854 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2855 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2856 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2857 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2859 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2860 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2861 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2863 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2864 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2865 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2866 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2868 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2870 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2871 instead of #if to avoid a Wundef warning.
2872 * stdlib/tst-limits.c (do_test): Likewise.
2874 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2875 parallel other exception macros.
2876 (fegetenv): Convert from macro to extern inline so that it applies
2877 retroactively to inline functions already seen by the compiler.
2878 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2880 * posix/Makefile (before-compile): Use $(objpfx) for
2881 posix-conf-vars-def.h.
2883 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2885 * posix/getconf.c (main): Use size_t for type of I.
2886 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2889 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2890 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2891 * posix/posix-envs.def: Likewise.
2892 * sysdeps/posix/sysconf.c: Likewise.
2893 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2894 (specs): Remove array.
2895 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2898 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2899 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2900 (__sysconf): Use CONF_IS_* macros.
2902 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2903 ($(objpfx)posix-conf-vars-def.h): New target.
2904 * posix/posix-conf-vars.list: New file.
2905 * posix/posix-conf-vars.h: New file.
2906 * posix/confstr.c: Include posix-conf-vars.h.
2907 (confstr): Use CONF_IS_* macros.
2908 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2910 * scripts/gen-posix-conf-vars.awk: New file.
2912 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2914 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2915 fegetround): Add no-op macros to avoid linknamespace issues.
2917 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2918 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2920 * sysdeps/unix/sysv/linux/tile/sysdep.h
2921 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2922 assembly-specific section to avoid a redefinition warning.
2924 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2925 long before casting to pointer to avoid a cast warning.
2927 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2929 * sysdeps/tile/tilegx/Implies: New file.
2931 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
2933 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2935 2014-12-23 Florian Weimer <fweimer@redhat.com>
2937 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2939 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2941 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2943 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2944 <kernel-features.h>.
2945 (__utimes) [__NR_utimes]: Make code unconditional.
2946 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2947 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2948 (__ASSUME_UTIMES): Do not undefine.
2949 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2950 (__ASSUME_UTIMES): Likewise.
2951 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2952 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2953 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2954 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2956 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2958 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2960 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2963 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2964 alias to weak alias for j0l, y0l.
2965 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2966 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2969 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2972 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
2974 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2975 to zero if not already defined.
2977 2014-12-22 Joseph Myers <joseph@codesourcery.com>
2980 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2981 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2982 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2983 (char *) casts added.
2984 * sysdeps/ieee754/k_standardf.c: New file.
2985 * sysdeps/ieee754/k_standardl.c: Likewise.
2986 * math/Makefile (libm-support): Remove k_standard.
2987 (libm-calls): Add k_standard.
2989 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2991 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2992 Optimize to avoid an unnecessary FPCR read.
2994 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2996 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2997 Optimize to reduce FPCR/FPSR accesses.
2999 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3001 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3002 Call libc_fetestexcept_aarch64.
3004 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3006 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3007 Call libc_fesetround_aarch64.
3009 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3012 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3013 (__bind): Do not define as weak alias.
3014 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3016 (__getsockname): Do not define as weak alias.
3018 2014-12-22 Will Newton <will.newton@linaro.org>
3020 * manual/install.texi: Document that we require bison 2.7
3022 * INSTALL: Regenerate.
3023 * configure.ac: Use AC_CHECK_PROG_VER instead of
3024 AC_PATH_PROG when checking for bison and check for
3025 version 2.7 or above.
3026 * configure: Regenerate.
3028 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3031 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3032 * sysdeps/tile/ffsll.c (ffsll): To here.
3034 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3036 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3038 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3040 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3042 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3043 hidden ___tls_get_addr.
3044 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3045 hidden __tls_get_addr.
3046 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3047 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3050 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3052 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3055 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3057 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3058 from "call _dl_init@PLT".
3059 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3061 2014-12-21 Anders Kaseorg <andersk@mit.edu>
3063 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3066 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3068 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3070 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3073 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3076 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3078 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3080 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3081 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3082 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3083 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3084 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3086 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3088 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3089 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3090 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3091 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3092 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3094 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3096 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
3098 * string/strncat.c (STRNCAT): Simplify implementation.
3100 2014-12-19 David S. Miller <davem@davemloft.net>
3102 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3103 access the quad as both a long double and as a series of 4 words.
3105 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3106 link_map->l_info array access.
3108 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3110 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3112 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3113 * math/atest-exp2.c (TIMEOUT): Likewise.
3114 * math/atest-sincos.c (TIMEOUT): Likewise.
3116 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3118 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3119 -Wno-error with -fno-builtin-lround.
3121 2014-12-19 Torvald Riegel <triegel@redhat.com>
3123 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3124 Contains futex constants and functions moved over from ...
3125 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3126 <lowlevellock-futex.h>.
3127 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3128 (lll_timedwait_tid): Add comments and parentheses around macro
3131 2014-12-19 Torvald Riegel <triegel@redhat.com>
3133 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3134 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3135 (__lll_private_flag): Remove.
3136 (lll_futex_wait): Likewise.
3137 (lll_futex_timed_wait): Likewise.
3138 (lll_futex_wake): Likewise.
3139 (lll_futex_requeue): Likewise.
3140 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3141 (__lll_timedwait_tid): Spell out argument names.
3142 (lll_timedwait_tid): Add comments and parentheses around macro
3144 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3145 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3147 2014-12-19 Torvald Riegel <triegel@redhat.com>
3149 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3150 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3151 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3152 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3153 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3154 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3155 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3156 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3157 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3158 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3159 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3160 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3161 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3162 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3163 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3164 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3165 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3166 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3167 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3169 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3171 * sysdeps/x86_64/x32/Makefile: New file.
3173 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3175 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3176 1L with (mp_limb_t) 1.
3178 2014-12-17 Roland McGrath <roland@hack.frob.com>
3180 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3181 * nptl/libc_pthread_init.c: ... here.
3182 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3183 * nptl/register-atfork.c: ... here.
3185 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3186 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3187 Use assert_perror to check its return value.
3188 (__gai_create_helper_thread): Likewise.
3190 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3192 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3194 2014-12-17 Joseph Myers <joseph@codesourcery.com>
3197 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3199 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3201 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3203 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3205 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3206 (profil_counter): Likewise.
3207 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3208 (profil_counter): Likewise.
3209 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3211 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3213 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3214 (profil_counter): Likewise.
3215 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3217 [!__profil_counter] (profil_counter): Define as weak alias of
3219 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3220 (profil_counter): Rename to __profil_counter.
3221 [!__profil_counter] (profil_counter): Define as weak alias of
3223 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3224 (profil_counter): Rename to __profil_counter.
3225 [!__profil_counter] (profil_counter): Define as weak alias of
3227 * sysdeps/posix/profil.c: Update comment referring to
3229 (__profil): Use __profil_counter instead of profil_counter.
3230 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3231 __profil_counter. Use __profil_counter_ushort and
3232 __profil_counter_uint in definitions.
3233 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3234 instead of profil_counter_uint and profil_counter_ushort.
3237 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3238 define as weak alias of __inet_makeaddr.
3239 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3240 as weak alias of __inet_addr.
3241 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3242 as weak alias of __inet_pton. Use libc_hidden_weak.
3243 * include/arpa/inet.h (__inet_pton): Declare. Use
3245 (inet_makeaddr): Don't use libc_hidden_proto.
3246 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3247 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3248 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3249 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3251 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3252 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3254 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
3256 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3258 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3260 * stdio-common/bug-vfprintf-nargs.c (do_test):
3261 Cast value to intptr_t to avoid format warning
3262 for usage with PRIdPTR printing macro.
3264 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3266 * libio/tst-widetext.c (do_test):
3267 Use format type %td instead of %Zd for ptrdiff_t
3268 in order to avoid format warning.
3270 2014-12-17 Andreas Schwab <schwab@suse.de>
3272 * nscd/mem.c (gc): Add size_t cast to match printf format.
3274 2014-12-16 Roland McGrath <roland@hack.frob.com>
3276 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3277 (init): Apply PTR_MANGLE to pointers before storing them.
3278 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3281 2014-12-16 Joseph Myers <joseph@codesourcery.com>
3284 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3285 define as weak alias of __memrchr.
3286 (__memrchr): Do not define as strong alias of memrchr.
3287 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3289 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3290 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3291 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3294 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3295 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3296 (if_indextoname): Rename to __if_indextoname and define as weak
3297 alias of __if_indextoname. Use libc_hidden_weak.
3298 (if_freenameindex): Rename to __if_freenameindex and define as
3299 weak alias of __if_freenameindex.
3300 (if_nameindex): Rename to __if_nameindex and define as weak alias
3302 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3303 __if_nametoindex and define as weak alias of __if_nametoindex.
3304 Use libc_hidden_weak.
3305 (if_freenameindex): Rename to __if_freenameindex and define as
3306 weak alias of __if_freenameindex.
3307 (if_nameindex): Rename to __if_nameindex and define as weak alias
3309 (if_indextoname): Rename to __if_indextoname and define as weak
3310 alias of __if_indextoname. Use libc_hidden_weak.
3311 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3312 __if_nametoindex and define as weak alias of __if_nametoindex.
3313 Use libc_hidden_weak.
3314 (if_freenameindex): Rename to __if_freenameindex and define as
3315 weak alias of __if_freenameindex. Use libc_hidden_weak.
3316 (if_nameindex_netlink): Use __if_freenameindex instead of
3318 (if_nameindex): Rename to __if_nameindex and define as weak alias
3319 of __if_nameindex. Use libc_hidden_weak.
3320 (if_indextoname): Rename to __if_indextoname and define as weak
3321 alias of __if_indextoname. Use libc_hidden_weak.
3322 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3324 [!_ISOMAC] (__if_freenameindex): Likewise.
3325 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3327 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3329 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3330 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3331 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3332 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3333 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3334 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3335 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3337 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3339 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3340 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3342 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3344 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3345 subscript above bounds'
3347 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3350 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
3352 * libio/tst-fopenloc.c: Use test-skeleton.c.
3354 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3355 (entry): Rename to ITEM.
3356 (do_test, comp): Adjust.
3358 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3360 2014-12-16 Torvald Riegel <triegel@redhat.com>
3362 * string/tester.c: Include <libc-internal.h>.
3363 (test_memset): Ignore -Wmemset-transposed-args.
3365 2014-12-16 Torvald Riegel <triegel@redhat.com>
3367 * misc/tst-mntent2.c (do_test): Fix warning.
3369 2014-12-16 Torvald Riegel <triegel@redhat.com>
3371 * elf/tst-unique4lib.cc(a): Mark as used.
3373 2014-12-16 Florian Weimer <fweimer@redhat.com>
3376 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3379 2014-12-16 Allan McRae <allan@archlinux.org>
3381 * stdio-common/Makefile (tests): Re-add bug26.
3383 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
3386 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3389 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3391 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3392 (__lll_lock_wait): Likewise.
3393 (__lll_timedlock_wait): Likewise.
3394 (__lll_timedwait_tid): Likewise.
3395 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3396 (__lll_robust_timedlock_wait): Likewise.
3397 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3398 (lll_cond_trylock): Likewise.
3399 (__lll_lock): Likewise.
3400 (__lll_robust_lock): Likewise.
3401 (__lll_cond_lock): Likewise.
3402 (lll_robust_cond_lock): Likewise.
3403 (__lll_timedlock): Likewise.
3404 (__lll_robust_timedlock): Likewise.
3405 (__lll_unlock): Likewise.
3406 (__lll_robust_unlock): Likewise.
3407 (lll_wait_tid): Likewise.
3408 (lll_timedwait_tid): Likewise.
3410 2014-12-15 Torvald Riegel <triegel@redhat.com>
3412 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3414 2014-12-15 Torvald Riegel <triegel@redhat.com>
3416 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3418 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3420 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3421 * stdio-common/tst-sprintf.c: Likewise.
3423 2014-12-15 Torvald Riegel <triegel@redhat.com>
3425 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3427 2014-12-15 Jeff Law <law@redhat.com>
3430 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3431 on the heap. (CVE-2012-3406)
3432 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3433 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3434 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3436 2014-12-15 Will Newton <will.newton@linaro.org>
3438 * manual/install.texi: Bump required version of texinfo
3440 * INSTALL: Regenerated.
3441 * configure.ac: Check for makeinfo version 4.7 and above.
3442 * configure: Regenerated.
3444 2014-12-12 Roland McGrath <roland@hack.frob.com>
3446 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3447 PREFIX, string constant to insert between directory and name.
3448 * sysdeps/posix/shm_open.c: Update caller.
3449 * sysdeps/posix/shm_unlink.c: Likewise.
3450 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3451 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3452 (SEM_SHM_PREFIX): New macro.
3453 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3454 [$(have-thread-library) = no].
3455 * nptl/Makefile (libpthread-routines): Add shm-directory.
3456 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3457 * sysdeps/nptl/shm-directory.h: New file.
3458 * sysdeps/posix/shm-directory.c
3459 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3460 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3461 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3463 (__where_is_shmfs): Function removed.
3464 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3466 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3468 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3470 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3471 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3472 unconditional for use inside libpthread.
3473 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3475 2014-12-12 Roland McGrath <roland@hack.frob.com>
3477 * nptl/pthread_getaffinity.c: New file.
3478 * nptl/pthread_setaffinity.c: New file.
3479 * nptl/pthread_getname.c: New file.
3480 * nptl/pthread_setname.c: New file.
3482 * nptl/pthread_create.c (START_THREAD_DEFN)
3483 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3485 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3486 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3488 * resolv/res_send.c (send_vc): Disable warning resplen may
3489 be used uninitialized.
3491 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3494 (ATTR_NULL): New define checks ATTR against NULL.
3495 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3496 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3498 2014-12-11 James Lemke <jwlemke@codesourcery.com>
3502 (mem2mem_check): Revert my previous change.
3503 (malloc_check_get_size): Revert my previous change.
3504 (mem2chunk_check): Revert my previous change.
3506 2014-12-11 Roland McGrath <roland@hack.frob.com>
3508 * sysdeps/posix/shm-directory.c: New file.
3509 * sysdeps/posix/shm-directory.h: New file.
3510 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3511 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3512 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3513 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3514 Transmute EPERM to EACCES.
3515 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3517 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3518 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3520 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3522 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3523 pointer and cast to uintptr_t.
3524 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3525 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3526 Add cast to avoid warning.
3527 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3529 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3531 * nptl/semaphore.h: Move to ...
3532 * sysdeps/pthread/semaphore.h: ... here.
3533 * Makefile (installed-headers): Change nptl/semaphore.h to
3534 sysdeps/pthread/semaphore.h.
3536 2014-12-11 Roland McGrath <roland@hack.frob.com>
3538 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3539 generated error format strings.
3541 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3542 -Wformat-extra-args warnings for scanf formats.
3543 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3544 test of zero-length format (duh).
3545 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3546 corner-case scanf format test.
3547 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3548 generated fprintf format string.
3549 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3550 corner-case sprintf format tests.
3551 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3552 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3553 -Wformat-extra-args warnings throughout.
3554 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3555 (CFLAGS-scanf4.c): Likewise.
3556 (CFLAGS-scanf7.c): Likewise.
3557 (CFLAGS-tst-sprintf.c): Likewise.
3558 (CFLAGS-tst-printf.c): Likewise.
3559 (CFLAGS-tst-printfsz.c): Likewise.
3561 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3563 * include/cpio.h: New file.
3564 * include/fmtmsg.h: Likewise.
3566 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3567 corresponding format argument to size_t.
3568 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3570 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3571 corresponding format argument to size_t.
3572 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3574 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3575 corresponding format argument to size_t.
3576 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3577 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3578 (CFLAGS-tst-mbswcs2.c): Likewise.
3579 (CFLAGS-tst-mbswcs3.c): Likewise.
3580 (CFLAGS-tst-mbswcs4.c): Likewise.
3581 (CFLAGS-tst-mbswcs5.c): Likewise.
3582 (CFLAGS-tst-trans.c): Likewise
3584 2014-12-11 Roland McGrath <roland@hack.frob.com>
3586 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3587 rather than assuming they won't contain any '%'s.
3589 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3591 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3592 inhibit_loop_to_libcall to avoid recursive calls.
3593 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3594 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3596 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3598 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3601 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3603 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3604 integer value instead of boolean.
3606 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3608 * malloc/malloc.c: Fix powerof2 check.
3610 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3612 * locale/programs/locfile.h (maybe_swap_uint32):
3613 Remove inline and add unused attribute.
3615 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3617 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3618 Truncating assembler expression to a .long expression.
3620 2014-12-11 Andreas Schwab <schwab@suse.de>
3622 * elf/rtld.c (struct map_args): Constify str member.
3623 (do_preload): Constify fname argument.
3625 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3627 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3628 constants definition.
3630 2014-12-11 Andreas Schwab <schwab@suse.de>
3633 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3634 FORCE_ELISION instead of DO_ELISION.
3635 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3637 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3640 * iconvdata/gconv-modules: Remove duplicate entry.
3642 2014-12-11 Will Newton <will.newton@linaro.org>
3644 Merge gettext 0.19.3 into intl/.
3646 This involves a number of cosmetic changes to comments
3647 and ANSI function definitions and prototypes throughout
3648 all the files. The gettext copyright header is used but
3649 with the date ranges taken from the glibc copy.
3651 * NEWS: Add gettext merge to 2.21.
3652 * intl/bindtextdom.c: Switch to gettext copyright.
3653 Use ANSI definitions and prototypes.
3654 Use gl_* locking primitives rather than __libc_* ones.
3655 Use __builtin_expect rather than __glibc_likely/unlikely.
3656 * intl/dcgettext.c: Switch to gettext copyright.
3657 Use ANSI definitions and prototypes.
3658 * intl/dcigettext.c: Switch to gettext copyright.
3659 Use ANSI definitions and prototypes.
3660 (INTDIV0_RAISES_SIGFPE): New define.
3661 Use gl_* locking primitives rather than __libc_* ones.
3662 Include eval-plural.h instead of plural-eval.c.
3663 Use __builtin_expect rather than __glibc_likely/unlikely.
3664 * intl/dcngettext.c: Switch to gettext copyright.
3665 Use ANSI definitions and prototypes.
3666 * intl/dgettext.c: Likewise.
3667 * intl/dngettext.c: Likewise.
3668 * intl/plural-eval.c: Renamed to...
3669 * intl/eval-plural.h: ...this.
3670 * intl/explodename.c: Switch to gettext copyright.
3671 Use ANSI definitions and prototypes.
3672 (_nl_explode_name): Use strchr instead of __rawmemchr.
3673 * intl/finddomain.c: Switch to gettext copyright.
3674 Use ANSI definitions and prototypes.
3675 Use gl_* locking primitives rather than __libc_* ones.
3676 (_nl_find_domain): Use malloc rather than alloca for
3677 allocation of temporary locale name.
3678 * intl/gettext.c: Switch to gettext copyright.
3679 Use ANSI definitions and prototypes.
3680 * intl/gettextP.h: Switch to gettext copyright.
3681 Use ANSI definitions and prototypes.
3682 Use gl_* locking primitives rather than __libc_* ones.
3683 * intl/gmo.h: Switch to gettext copyright.
3684 (struct sysdep_string): Move struct segment_pair outside of
3686 * intl/hash-string.c: Use ANSI definitions and prototypes.
3687 * intl/hash-string.h: Switch to gettext copyright.
3688 Use ANSI definitions and prototypes.
3689 * intl/l10nflist.c: Switch to gettext copyright.
3690 Use ANSI definitions and prototypes.
3691 (_nl_normalize_codeset): Avoid integer overflow.
3692 * intl/loadinfo.h: Switch to gettext copyright.
3693 Use ANSI definitions and prototypes.
3694 (LIBINTL_DLL_EXPORTED): New define.
3695 (PATH_SEPARATOR): New define.
3696 * intl/loadmsgcat.c: Switch to gettext copyright.
3697 * intl/localealias.c: Switch to gettext copyright.
3698 Use ANSI definitions and prototypes.
3699 (_nl_expand_alias): Use PATH_SEPARATOR.
3700 * intl/ngettext.c: Switch to gettext copyright.
3701 Use ANSI definitions and prototypes.
3702 * intl/plural-exp.c: Likewise.
3703 * intl/plural-exp.h: Switch to gettext copyright.
3704 Use ANSI definitions and prototypes.
3705 (struct expression): Move definition of enum operator outside
3706 of struct definition.
3707 * intl/plural.c: Regenerate.
3708 * intl/plural.y: Switch to gettext copyright.
3709 Use ANSI definitions and prototypes.
3711 * intl/textdomain.c: Switch to gettext copyright.
3712 Use ANSI definitions and prototypes.
3713 Use gl_* locking primitives rather than __libc_* ones.
3715 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
3717 * debug/warning-nop.c: Add used atrribute.
3719 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3721 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3723 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3724 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3725 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3727 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3728 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3731 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3732 Undefine after defining function. Define as weak alias of
3733 __wcschr. Use libc_hidden_weak.
3734 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3735 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3736 (libc_hidden_def): Also define __GI___wcschr alias.
3737 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3738 __wcschr and define as weak alias of __wcschr.
3739 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3741 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3742 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3743 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3744 libc_hidden_weak. Do not use libc_hidden_def.
3745 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3746 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3747 __GI___wcschr alias.
3748 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3749 [IS_IN (libc)] (wcschr): Define as macro expanding to
3751 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3752 [IS_IN (libc)] (__wcschr_power6): Likewise.
3753 [IS_IN (libc)] (__wcschr_power7): Likewise.
3754 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3756 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3758 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3759 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3760 __wcschr and define as weak alias of __wcschr. Use
3761 libc_hidden_builtin_def.
3762 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3763 as weak alias of __wcschr. Use libc_hidden_weak.
3764 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3766 * time/era.c (_nl_init_era_entries): Likewise.
3767 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3769 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3770 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3772 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3774 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3775 format for long int variable.
3777 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3780 * manual/search.texi: (Array Sort Function): Remove claim how to make
3783 2014-12-10 Andreas Schwab <schwab@suse.de>
3786 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3787 user-controlled locks.
3789 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
3791 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3794 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3796 * configure.ac (--disable-werror): New configure option.
3797 (enable_werror): New AC_SUBST.
3798 * configure: Regenerated.
3799 * config.make.in (enable-werror): New variable.
3800 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3802 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3803 * manual/install.texi (Configuring and compiling): Document
3805 * INSTALL: Regenerated.
3806 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3807 (CFLAGS-tst-chk2.c): Likewise.
3808 (CFLAGS-tst-chk3.c): Likewise.
3809 (CFLAGS-tst-chk4.cc): Likewise.
3810 (CFLAGS-tst-chk5.cc): Likewise.
3811 (CFLAGS-tst-chk6.cc): Likewise.
3812 (CFLAGS-tst-lfschk1.c): Likewise.
3813 (CFLAGS-tst-lfschk2.c): Likewise.
3814 (CFLAGS-tst-lfschk3.c): Likewise.
3815 (CFLAGS-tst-lfschk4.cc): Likewise.
3816 (CFLAGS-tst-lfschk5.cc): Likewise.
3817 (CFLAGS-tst-lfschk6.cc): Likewise.
3819 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3820 (main): Disable -Wdeprecated-declarations around calls to
3821 register_printf_function.
3823 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3824 (do_test): Disable -Wdiv-by-zero around some calls to
3825 fwrite_unlocked and fread_unlocked.
3827 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3828 (DIAG_POP_NEEDS_COMMENT): Likewise.
3829 (_DIAG_STR1): Likewise.
3830 (_DIAG_STR): Likewise.
3831 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3832 * stdio-common/bug21.c: Include <libc-internal.h>.
3833 (do_test): Disable -Wformat around call to sscanf.
3834 * stdio-common/scanf14.c: Include <libc-internal.h>.
3835 (main): Disable -Wformat around some calls to scanf functions.
3837 2014-12-09 Torvald Riegel <triegel@redhat.com>
3839 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3841 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3843 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3844 stack variable alignment.
3846 2014-12-06 Joseph Myers <joseph@codesourcery.com>
3849 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3850 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3851 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3852 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3853 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3854 __getrlimit instead of getrlimit.
3855 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3856 __gettimeofday instead of gettimeofday.
3857 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3859 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3861 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3862 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3864 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3865 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3867 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3869 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3870 for wide-character tests.
3872 2014-12-04 Roland McGrath <roland@hack.frob.com>
3874 * io/openat64.c: #include <libc-internal.h>
3875 (__openat64): Prototypify. Use ignore_value on MODE.
3876 * io/openat.c: Likewise.
3877 * misc/reboot.c: #include <libc-internal.h>
3878 (reboot): Prototypify. Use ignore_value on HOWTO.
3879 * misc/ptrace.c: #include <libc-internal.h>
3880 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3882 2014-12-04 Joseph Myers <joseph@codesourcery.com>
3884 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3885 XPG4, UNIX98 and XOPEN2K.
3886 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3888 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3890 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3892 * libio/fileops.c: Use ISO C style for function definitions.
3893 * libio/iofopen.c: Likewise.
3894 * libio/wfileops.c: Likewise.
3897 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3899 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3900 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3901 (fgets_func): Function pointer to fgets and fgetws.
3902 (do_ftell_test): Add test to verify ftell value after read
3904 (do_test): Set fgets_func.
3906 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3907 O_TRUNC flag for w and w+ modes.
3908 (do_rewind_test): Likewise.
3909 (do_ftell_test): Likewise.
3910 (do_write_test): Likewise.
3913 * libio/fileops.c (do_ftell): Seek only when there are
3915 * libio/wfileops.c (do_ftell_wide): Likewise.
3916 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3918 (do_one_test): Call it.
3920 2014-12-03 Joseph Myers <joseph@codesourcery.com>
3922 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3923 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3924 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3926 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3927 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3928 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3930 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3932 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3934 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3937 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3938 as weak alias of __getifaddrs. Use libc_hidden_weak.
3939 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3940 __freeifaddrs. Use libc_hidden_weak.
3941 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3942 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3943 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3944 __freeifaddrs. Use libc_hidden_weak.
3945 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3946 __getifaddrs and define as weak alias of __getifaddrs. Use
3948 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3949 __freeifaddrs. Use libc_hidden_weak.
3950 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3952 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3953 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3955 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3958 * sysdeps/mips/start.S (__start): Use indirect jump to call
3961 2014-12-02 Joseph Myers <joseph@codesourcery.com>
3963 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3965 * nptl/tst-mutex1.c: Include <stdbool.h>.
3966 [!ATTR] (ATTR_NULL): New macro.
3967 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3968 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3969 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3971 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3975 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3976 Change conditional to [__USE_MISC].
3979 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3981 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3983 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3985 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3987 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3988 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3989 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3990 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3991 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3992 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3993 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3994 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3995 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3997 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3999 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4001 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4002 Remove strpbrk objects.
4003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4004 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4005 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4006 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4007 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4008 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4010 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4011 Remove strcspn objects.
4012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4013 (__libc_ifunc_impl_list): Remove strcspn implementation.
4014 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4015 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4016 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4017 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4019 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4020 Remove strspn objetcs.
4021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4022 (__libc_ifunc_impl_list): Remove strspn implementation.
4023 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4024 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4025 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4026 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4028 2014-12-01 James Lemke <jwlemke@codesourcery.com>
4032 (mem2mem_check): Add a terminator to the chain of checking blocks.
4033 (malloc_check_get_size): Use it here.
4034 (mem2chunk_check): Ditto.
4036 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4038 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4039 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4041 2014-11-29 Carlos O'Donell <carlos@redhat.com>
4043 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4045 * nptl/nptl-init.c: Include libc-internal.h.
4046 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4048 * elf/ldconfig.c (search_dir): Expand comment.
4050 2014-11-29 Joseph Myers <joseph@codesourcery.com>
4052 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4054 (linknamespace-symlist-stdlibs-tests): Likewise.
4055 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4056 instead of $(objpfx)symlist-stdlibs.
4057 (linknamespace-libs-isoc): New variable.
4058 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4059 (linknamespace-libs-ISO): New variable.
4060 (linknamespace-libs-ISO99): Likewise.
4061 (linknamespace-libs-ISO11): Likewise.
4062 (linknamespace-libs-XPG3): Likewise.
4063 (linknamespace-libs-XPG4): Likewise.
4064 (linknamespace-libs-POSIX): Likewise.
4065 (linknamespace-libs-UNIX98): Likewise.
4066 (linknamespace-libs-XOPEN2K): Likewise.
4067 (linknamespace-libs-POSIX2008): Likewise.
4068 (linknamespace-libs-XOPEN2K8): Likewise.
4069 ($(objpfx)symlist-stdlibs): Replace by
4070 $(linknamespace-symlist-stdlibs-tests). Use
4071 $(linknamespace-libs-$*) as set of libraries.
4072 ($(linknamespace-header-tests)): Update dependencies. Use
4073 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4074 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4075 * conform/linknamespace.pl: Remove comment about considering
4076 definitions of symbols from irrelevant libraries.
4078 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4081 * elf/dl-tls.c: Include <atomic.h>.
4082 (oom): Remove #ifdef SHARED/#endif.
4083 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4084 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4085 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4087 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4088 * nptl/Makefile (tests): Add tst-stack4.
4089 (modules-names): Add tst-stack4mod.
4090 ($(objpfx)tst-stack4): New.
4091 (tst-stack4mod.sos): Likewise.
4092 ($(objpfx)tst-stack4.out): Likewise.
4093 ($(tst-stack4mod.sos)): Likewise.
4095 * nptl/tst-stack4.c: New file.
4096 * nptl/tst-stack4mod.c: Likewise.
4098 2014-11-27 J. Brown <jb999@gmx.de>
4100 * sysdeps/x86/bits/string.h: Add recent CPUs.
4102 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4104 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4107 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4110 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4113 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4115 * nscd/connections.c: Include libc-internal.h because of macro
4118 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4120 * string/bits/string3.h (__warn_memset_zero_len): Don't
4121 declare for gcc newer than 5.0.
4122 (memset): Don't test for zero-length __LEN for gcc newer than
4125 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4127 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4128 size_t for %zu format.
4130 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4131 difference, not %ju.
4133 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4135 * include/libc-internal.h (ignore_value): New macro.
4136 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4139 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4142 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4143 pthread_cleanup_push to void *.
4145 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4150 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4151 instead of 1L << 52.
4153 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4154 * libio/bug-rewind2.c (do_test): Likewise.
4156 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4157 * debug/test-strcpy_chk-ifunc.c: Likewise.
4158 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4159 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4160 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4161 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4162 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4163 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4164 * Rules [$(multi-arch) = no] (tests): Do not filter out
4166 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4167 * debug/Makefile (tests-ifunc): Remove variable.
4168 (tests): Do not add $(tests-ifunc).
4169 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4170 (tests): Do not add $(tests-ifunc).
4171 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4172 [TEST_IFUNC]: Remove conditionals.
4173 * string/test-string.h (TEST_IFUNC): Remove macro.
4174 [TEST_IFUNC]: Remove conditionals.
4176 * string/test-strchr.c [!WIDE] (L): New macro.
4177 [WIDE] (L): Likewise.
4178 (check1): Use CHAR instead of char. Use L on string and character
4181 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4183 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4185 * sysdeps/powerpc/bits/atomic.h
4186 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4187 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4188 (atomic_exchange_and_add_acq): Likewise.
4189 (atomic_exchange_and_add_rel): Likewise.
4190 * sysdeps/powerpc/powerpc32/bits/atomic.h
4191 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4192 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4193 * sysdeps/powerpc/powerpc64/bits/atomic.h
4194 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4195 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4197 2014-11-26 Torvald Riegel <triegel@redhat.com>
4199 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4200 Change synchronization of __sched_fifo_min_prio and
4201 __sched_fifo_max_prio.
4202 * nptl/pthread_mutexattr_getprioceiling.c
4203 (pthread_mutexattr_getprioceiling): Likewise.
4204 * nptl/pthread_mutexattr_setprioceiling.c
4205 (pthread_mutexattr_setprioceiling): Likewise.
4206 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4207 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4210 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4212 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4215 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4217 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4218 third argument const.
4220 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4222 fnmatch: work around GCC compiler warning bug with uninit var
4223 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4224 This works around a bug with x86-64 GCC 4.9.2 and earlier
4225 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4226 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4227 used uninitialized in this function [-Wmaybe-uninitialized]".
4229 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4231 * posix/bug-regex31.c (main): Return RES not 0.
4233 2014-11-25 Anton Blanchard <anton@samba.org>
4235 * sysdeps/powerpc/bits/atomic.h
4236 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4238 2014-11-24 Sterling Augustine <saugustine@google.com>
4240 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4242 2014-11-24 Ryan Cumming <etaoins@gmail.com>
4245 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4247 2014-11-24 Joseph Myers <joseph@codesourcery.com>
4250 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4251 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4253 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4254 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4256 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4258 * string/strncpy.c (strncpy): Improve performance by using memset.
4260 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4262 * string/strcpy.c (strcpy):
4263 Improve performance by using strlen and memcpy.
4265 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
4267 * string/strcoll_l.c (get_next_seq): __always_inline.
4268 * string/strcoll_l.c (do_compare): __always_inline.
4270 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4272 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4274 * include/mqueue.h: Likewise.
4275 * include/stdlib.h: Likewise.
4277 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4278 (get_null_defines): Adjust.
4279 * sunrpc/Makefile: Adjust comment.
4280 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4281 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4282 (CFLAGS-interp.c): Likewise.
4283 (CFLAGS-ldconfig.c): Likewise.
4284 (CPPFLAGS-.os): Likewise.
4285 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4286 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4287 * extra-modules.mk (extra-modules.mk): Likewise.
4288 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4289 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4290 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4291 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4292 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4293 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4294 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4295 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4296 * iconvdata/Makefile (CPPFLAGS): Likewise.
4297 (cpp-srcs-left): Add libof for all iconvdata routines.
4298 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4299 * include/assert.h: Likewise.
4300 * include/ctype.h: Likewise.
4301 * include/errno.h: Likewise.
4302 * include/libc-symbols.h: Likewise.
4303 * include/math.h: Likewise.
4304 * include/netdb.h: Likewise.
4305 * include/resolv.h: Likewise.
4306 * include/stdio.h: Likewise.
4307 * include/stdlib.h: Likewise.
4308 * include/string.h: Likewise.
4309 * include/sys/stat.h: Likewise.
4310 * include/wctype.h: Likewise.
4311 * intl/l10nflist.c: Likewise.
4312 * libidn/idn-stub.c: Likewise.
4313 * libio/libioP.h: Likewise.
4314 * nptl/libc_multiple_threads.c: Likewise.
4315 * nptl/pthreadP.h: Likewise.
4316 * posix/regex_internal.h: Likewise.
4317 * resolv/res_hconf.c: Likewise.
4318 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4319 * sysdeps/arm/memmove.S: Likewise.
4320 * sysdeps/arm/sysdep.h: Likewise.
4321 * sysdeps/generic/_itoa.h: Likewise.
4322 * sysdeps/generic/symbol-hacks.h: Likewise.
4323 * sysdeps/gnu/errlist.awk: Likewise.
4324 * sysdeps/gnu/errlist.c: Likewise.
4325 * sysdeps/i386/i586/memcpy.S: Likewise.
4326 * sysdeps/i386/i586/memset.S: Likewise.
4327 * sysdeps/i386/i686/memcpy.S: Likewise.
4328 * sysdeps/i386/i686/memmove.S: Likewise.
4329 * sysdeps/i386/i686/mempcpy.S: Likewise.
4330 * sysdeps/i386/i686/memset.S: Likewise.
4331 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4332 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4333 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4334 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4335 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4336 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4337 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4338 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4339 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4340 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4341 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4342 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4343 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4344 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4345 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4346 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4347 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4348 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4349 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4350 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4351 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4352 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4353 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4354 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4355 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4356 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4357 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4358 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4359 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4360 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4361 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4362 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4363 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4364 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4365 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4366 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4367 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4368 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4369 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4370 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4371 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4372 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4373 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4374 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4375 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4376 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4377 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4378 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4379 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4380 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4381 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4382 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4383 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4384 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4385 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4386 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4387 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4388 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4389 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4390 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4391 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4392 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4393 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4394 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4395 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4396 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4397 * sysdeps/posix/closedir.c: Likewise.
4398 * sysdeps/posix/opendir.c: Likewise.
4399 * sysdeps/posix/readdir.c: Likewise.
4400 * sysdeps/posix/rewinddir.c: Likewise.
4401 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4402 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4403 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4404 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4405 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4406 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4407 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4408 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4409 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4410 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4411 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4412 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4413 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4414 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4415 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4416 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4417 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4418 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4419 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4420 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4421 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4422 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4423 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4424 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4425 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4426 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4427 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4428 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4429 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4430 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4431 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4432 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4433 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4434 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4435 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4436 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4437 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4438 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4439 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4440 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4441 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4442 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4443 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4444 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4445 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4446 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4447 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4448 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4449 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4450 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4451 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4452 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4453 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4454 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4455 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4456 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4457 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4458 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4459 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4460 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4461 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4462 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4463 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4464 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4465 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4466 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4467 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4468 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4469 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4470 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4471 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4472 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4473 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4474 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4475 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4476 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4477 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4478 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4479 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4480 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4481 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4482 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4483 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4484 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4485 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4486 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4487 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4488 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4489 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4490 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4491 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4492 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4493 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4494 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4495 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4496 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4497 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4499 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4500 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4501 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4502 * sysdeps/unix/alpha/sysdep.S: Likewise.
4503 * sysdeps/unix/alpha/sysdep.h: Likewise.
4504 * sysdeps/unix/make-syscalls.sh: Likewise.
4505 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4506 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4507 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4508 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4509 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4510 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4511 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4512 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4513 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4514 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4515 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4516 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4517 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4518 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4519 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4520 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4521 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4522 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4523 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4524 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4525 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4526 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4527 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4528 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4529 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4530 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4531 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4534 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4535 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4536 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4537 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4538 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4539 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4540 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4541 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4542 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4543 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4544 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4545 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4546 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4547 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4548 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4549 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4550 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4551 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4552 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4553 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4554 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4555 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4556 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4557 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4558 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4559 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4560 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4561 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4562 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4563 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4564 * sysdeps/x86_64/memcpy.S: Likewise.
4565 * sysdeps/x86_64/memmove.c: Likewise.
4566 * sysdeps/x86_64/memset.S: Likewise.
4567 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4568 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4569 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4570 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4571 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4572 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4573 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4574 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4575 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4576 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4577 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4578 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4579 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4580 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4581 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4582 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4583 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4584 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4585 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4586 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4587 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4588 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4589 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4590 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4591 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4592 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4593 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4594 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4595 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4596 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4597 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4598 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4599 * sysdeps/x86_64/strcmp.S: Likewise.
4601 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4603 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4604 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4605 * elf/rtld-Rules: Likewise.
4606 * elf/setup-vdso.h: Likewise.
4607 * include/assert.h: Likewise.
4608 * include/bits/stdlib-float.h: Likewise.
4609 * include/errno.h: Likewise.
4610 * include/sys/stat.h: Likewise.
4611 * include/unistd.h: Likewise.
4612 * sysdeps/aarch64/setjmp.S: Likewise.
4613 * sysdeps/alpha/setjmp.S: Likewise.
4614 * sysdeps/arm/__longjmp.S: Likewise.
4615 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4616 * sysdeps/arm/setjmp.S: Likewise.
4617 * sysdeps/arm/sysdep.h: Likewise.
4618 * sysdeps/generic/_itoa.h: Likewise.
4619 * sysdeps/generic/dl-sysdep.h: Likewise.
4620 * sysdeps/generic/ldsodefs.h: Likewise.
4621 * sysdeps/i386/dl-tls.h: Likewise.
4622 * sysdeps/i386/setjmp.S: Likewise.
4623 * sysdeps/m68k/setjmp.c: Likewise.
4624 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4625 * sysdeps/mach/hurd/opendir.c: Likewise.
4626 * sysdeps/posix/getcwd.c: Likewise.
4627 * sysdeps/posix/opendir.c: Likewise.
4628 * sysdeps/posix/profil.c: Likewise.
4629 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4630 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4631 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4632 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4633 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4634 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4635 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4636 * sysdeps/s390/dl-tls.h: Likewise.
4637 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4638 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4639 * sysdeps/sh/sh3/setjmp.S: Likewise.
4640 * sysdeps/sh/sh4/setjmp.S: Likewise.
4641 * sysdeps/unix/alpha/sysdep.h: Likewise.
4642 * sysdeps/unix/arm/sysdep.S: Likewise.
4643 * sysdeps/unix/i386/sysdep.S: Likewise.
4644 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4645 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4646 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4647 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4648 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4649 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4650 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4651 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4652 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4653 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4654 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4655 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4656 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4659 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4660 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4661 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4662 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4663 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4664 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4665 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4666 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4667 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4668 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4669 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4671 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4672 * sysdeps/x86_64/setjmp.S: Likewise.
4674 * include/math.h: Use IS_IN instead of IS_IN_libm.
4675 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4676 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4677 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4678 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4681 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4682 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4684 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4685 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4686 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4687 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4688 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4689 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4690 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4691 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4692 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4693 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4694 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4695 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4696 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4697 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4698 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4699 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4700 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4701 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4702 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4703 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4704 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4705 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4706 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4707 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4718 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4719 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4720 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4721 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4722 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4723 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4729 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4730 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4731 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4732 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4733 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4734 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4735 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4736 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4737 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4738 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4739 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4740 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4741 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4742 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4744 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4746 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4747 * nptl/pthreadP.h: Likewise.
4748 * nptl_db/structs.def: Likewise.
4749 * sysdeps/arm/sysdep.h: Likewise.
4750 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4751 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4752 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4753 * sysdeps/unix/alpha/sysdep.h: Likewise.
4754 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4755 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4756 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4757 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4758 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4759 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4760 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4761 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4762 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4763 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4764 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4765 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4766 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4767 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4770 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4771 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4772 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4773 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4774 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4775 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4776 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4777 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4778 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4779 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4781 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4782 * nptl/pthreadP.h: Likewise.
4783 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4784 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4785 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4786 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4787 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4788 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4789 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4790 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4791 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4792 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4793 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4794 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4799 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4800 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4801 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4802 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4803 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4804 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4805 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4806 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4808 * dlfcn/dladdr.c: Use IS_IN.
4809 * dlfcn/dladdr1.c: Likewise.
4810 * dlfcn/dlclose.c: Likewise.
4811 * dlfcn/dlerror.c: Likewise.
4812 * dlfcn/dlinfo.c: Likewise.
4813 * dlfcn/dlmopen.c: Likewise.
4814 * dlfcn/dlopen.c: Likewise.
4815 * dlfcn/dlsym.c: Likewise.
4816 * dlfcn/dlvsym.c: Likewise.
4818 * include/ifaddrs.h: Use IS_IN.
4819 * inet/check_pf.c: Likewise.
4820 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4821 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4823 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4825 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4826 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4828 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4829 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4832 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4834 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4835 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4836 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4837 * include/libc-symbols.h (IS_IN_LIB): New macro.
4838 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4839 * include/netdb.h: Likewise.
4840 * include/stap-probe.h: Remove all uses of IN_LIB.
4842 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4843 instead of IN_MODULE.
4844 * include/libc-symbols.h (IN_MODULE): Define using
4846 (PASTE_NAME, PASTE_NAME1): New macros.
4847 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4849 (STAP_PROBE_ASM): Likewise.
4851 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4853 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4854 __mach_init in dlopened libc.
4856 2014-11-22 Mike Frysinger <vapier@gentoo.org>
4858 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4859 * sysdeps/arm/preconfigure: Regenerate.
4861 2014-11-21 Roland McGrath <roland@hack.frob.com>
4863 * nptl/pthread_create.c (__pthread_create_2_1): Set
4864 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4865 when copying values from IATTR into PD.
4867 2014-11-21 Will Newton <will.newton@linaro.org>
4868 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4870 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4871 Refactor inline-asm. Also add comment.
4873 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4874 ElfW macro instead of hardcoded Elf64 types.
4875 (la_aarch64_gnu_pltenter): Likewise.
4876 * sysdeps/aarch64/dl-machine.h
4877 (elf_machine_runtime_setup): Use ElfW(Addr).
4879 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4880 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4881 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4882 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4883 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4884 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4885 (R_AARCH64_TLS_DTPMOD): This.
4886 (R_AARCH64_TLS_DTPREL64): Rename to ...
4887 (R_AARCH64_TLS_DTPREL): This.
4888 (R_AARCH64_TLS_TPREL64): Rename to ...
4889 (R_AARCH64_TLS_TPREL): This.
4890 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4891 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4892 R_AARCH64_TLS_TPREL64.
4893 (elf_machine_rela): Likewise.
4895 2014-11-21 Torvald Riegel <triegel@redhat.com>
4897 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4898 by setting it to 0. 64b atomics are not supported currently.
4900 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4903 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4904 search domain names.
4906 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4910 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4912 * posix/tst-getaddrinfo5.c: New.
4913 * posix/Makefile (tests): Add it.
4915 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4919 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4920 after parsing line but before break_if_match.
4921 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4922 if there is a protocol mismatch.
4924 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4926 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4927 because the potential race is on the user-supplied stream.
4929 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4931 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4932 string literal if not passed a buffer.
4933 * manual/job.texi (ctermid): Update reasoning, note deviation
4934 from posix, suggest mtasurace when not passed a buffer, for
4935 future non-preliminary safety notes.
4937 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4939 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4940 of not passing it a buffer.
4941 Reported by Peng Haitao.
4943 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
4945 * manual/Makefile ($(objpfx)stamp-summary): Require
4946 check-safety.sh to pass.
4947 * manual/check-safety.sh: Wish for verification that every
4948 @deftypefn and @deftypefun is followed by a @safety remark.
4950 2014-11-20 Roland McGrath <roland@hack.frob.com>
4952 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4954 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4955 PTHREAD_CANCEL_ASYNCHRONOUS.
4956 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4959 * nptl/default-sched.h: New file.
4960 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4961 * nptl/pthread_create.c: Include it.
4962 (__pthread_create_2_1): Use collect_default_sched instead of making
4963 Linux syscalls here directly.
4965 2014-11-20 Torvald Riegel <triegel@redhat.com>
4967 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4968 __pthread_once): Use C11 atomics.
4970 2014-11-20 Torvald Riegel <triegel@redhat.com>
4972 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4974 2014-11-20 Torvald Riegel <triegel@redhat.com>
4976 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4977 atomic_thread_fence_acquire, atomic_thread_fence_release,
4978 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4979 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4980 atomic_compare_exchange_weak_relaxed,
4981 atomic_compare_exchange_weak_acquire,
4982 atomic_compare_exchange_weak_release,
4983 atomic_exchange_acquire, atomic_exchange_release,
4984 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4985 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4986 atomic_fetch_and_acquire,
4987 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4989 2014-11-20 Torvald Riegel <triegel@redhat.com>
4991 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4992 USE_ATOMIC_COMPILER_BUILTINS): Define.
4993 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4994 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4995 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4996 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4997 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4998 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4999 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5000 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5001 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5002 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5003 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5004 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5005 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5006 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5007 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5008 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5009 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5010 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5011 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5012 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5013 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5014 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5015 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5016 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5017 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5018 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5019 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5020 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5021 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5022 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5023 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5024 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5025 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5026 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5027 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5028 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5029 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5030 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5031 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5032 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5034 2014-11-19 Roland McGrath <roland@hack.frob.com>
5036 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5037 the sched_priority value here. It was already checked when the user
5038 called pthread_attr_setschedparam.
5040 * nptl/tst-bad-schedattr.c: New file.
5041 * nptl/Makefile (tests): Add it.
5043 2014-11-19 Carlos O'Donell <carlos@redhat.com>
5044 Florian Weimer <fweimer@redhat.com>
5045 Joseph Myers <joseph@codesourcery.com>
5046 Adam Conrad <adconrad@0c3.net>
5047 Andreas Schwab <schwab@suse.de>
5048 Brooks <bmoses@google.com>
5051 * wordexp-test.c (__dso_handle): Add prototype.
5052 (__register_atfork): Likewise.
5053 (__app_register_atfork): New function.
5054 (registered_forks): New global.
5055 (register_fork): New function.
5056 (test_case): Add 3 new tests for WRDE_CMDSUB.
5057 (main): Call __app_register_atfork.
5058 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5059 fork count is non-zero fail the test.
5060 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5062 (parse_dollars): Remove check for WRDE_NOCMD.
5063 (parse_dquote): Likewise.
5065 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5067 * Makeconfig (built-modules): List non-library modules to be
5069 (module-cppflags): Include libc-modules.h for
5070 everything except shlib-versions.v.i.
5072 (before-compile): Add libc-modules.h.
5073 ($(common-objpfx)libc-modules.h,
5074 $(common-objpfx)libc-modules.stmp): New targets.
5075 (common-generated): Add libc-modules.h and libc-modules.stmp.
5076 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5077 * include/libc-symbols.h: Don't include libc-modules.h.
5078 * include/libc-modules.h: Remove file.
5079 * scripts/gen-libc-modules.awk: New script to generate
5081 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5082 Depend on libc-modules.stmp.
5084 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5086 * Makeconfig (in-module): Get value of libof set for the
5088 (CPPFLAGS): Use $(in-module).
5089 * Makerules: Don't suffix routine names for nonlib.
5090 * include/libc-modules.h: New file.
5091 * include/libc-symbols.h: Include libc-modules.h
5092 (IS_IN): New macro to replace IS_IN_* macros.
5093 * elf/Makefile: Set libof-* for each routine.
5094 * elf/rtld-Rules: Likewise.
5095 * extra-modules.mk: Likewise.
5096 * iconv/Makefile: Likewise.
5097 * iconvdata/Makefile: Likewise.
5098 * locale/Makefile: Likewise.
5099 * malloc/Makefile: Likewise.
5100 * nss/Makefile: Likewise.
5101 * sysdeps/gnu/Makefile: Likewise.
5102 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5103 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5104 * sysdeps/s390/s390-64/Makefile: Likewise.
5105 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5106 CPPFLAGS for nscd instead of nonlib.
5108 2014-11-18 Roland McGrath <roland@hack.frob.com>
5110 * nptl/createthread.c: New file.
5112 * nptl/createthread.c: Moved ...
5113 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5115 * nptl/createthread.c: Add proper top-line comment.
5116 (do_clone): Folded into ...
5117 (create_thread): ... here. Take new arguments STOPPED_START and
5118 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5119 increment __nptl_threads, do event-reporting logic, do
5120 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5121 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5122 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5123 just send SIGCANCEL.
5124 * nptl/pthread_create.c: Forward-declare create_thread before
5125 including createthread.c.
5126 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5127 declaration, and new macro START_THREAD_SELF to replace argument.
5128 Remove return statement.
5129 (report_thread_creation): New function.
5130 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5131 synchronization logic, and __nptl_nthreads increment here, around
5132 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5133 PD->parent_cancelhandling here, before create_thread. When
5134 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5135 __deallocate_stack, and ENOMEM translation here.
5137 2014-11-18 Joseph Myers <joseph@codesourcery.com>
5140 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5141 (mptwo): Rename to __mptwo.
5142 (__inv): Use __mptwo instead of mptwo.
5143 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5144 (mptwo): Rename to __mptwo.
5145 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5146 of mpone and __mptwo instead of mptwo.
5147 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5149 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5150 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5151 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5152 of mpone and __mptwo instead of mptwo.
5153 (__mpranred): Use __mpone instead of mpone.
5154 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5156 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5157 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5158 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5159 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5160 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5161 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5162 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5163 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5164 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5165 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5166 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5167 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5168 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5169 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5170 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5171 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5172 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5173 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5174 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5176 2014-11-18 Tom de Vries <tom@codesoucery.com>
5178 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5179 replace BSD Handler xref with BSD Signal Handling.
5181 2014-11-17 Richard Henderson <rth@redhat.com>
5183 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5184 (_FP_PACK_RAW_2): Remove.
5185 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5186 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5187 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5188 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5189 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5190 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5191 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5192 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5193 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5194 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5195 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5196 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5197 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5198 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5199 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5200 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5202 2014-11-14 Roland McGrath <roland@hack.frob.com>
5204 * signal/signal.h [__USE_MISC]
5205 (struct sigvec): Remove type.
5206 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5207 (sigvec): Remove declaration.
5208 * sysdeps/posix/sigvec.c: Moved ...
5209 * signal/sigvec.c: ... here, replacing old file.
5210 (struct sigvec): New type, copied from old signal.h definition.
5211 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5212 (__sigvec): Convert definition to prototype.
5213 (sigvec): Replace weak_alias with compat_symbol.
5214 * signal/Versions (libc: GLIBC_2.21): New version set.
5215 * include/signal.h: Remove __sigvec declaration.
5216 * sysdeps/unix/bsd/sigvec.c: Remove file.
5217 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5218 * manual/signal.texi (BSD Handler): Remove subsection.
5219 Move siginterrupt up to ...
5220 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5221 (Blocking in BSD): Fold subsection into its parent.
5222 * NEWS: Mention sigvec removal.
5224 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5226 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5227 (DLA_FMS): Make definition conditional only on [__FMA4__].
5228 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5231 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5232 Make definition conditional only on [PROF].
5233 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5235 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5236 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5238 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5240 * include/signal.h (__sigpause): Move declaration above call to
5242 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5244 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5245 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5247 2014-11-14 David S. Miller <davem@davemloft.net>
5249 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5250 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5252 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5254 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5255 * configure: Regenerated.
5256 * manual/install.texi (Tools for Compilation): Document a
5257 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5258 compiler verified to work.
5259 * INSTALL: Regenerated.
5261 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5262 redeclare with asm name.
5263 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5264 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5265 including <string.h>.
5266 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5267 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5268 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5269 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5270 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5271 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5272 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5274 2014-11-13 Joseph Myers <joseph@codesourcery.com>
5276 * stdlib/strtol.c (__strtol): Use prototype definition.
5279 * stdlib/strtol.c (SYM__): New macro.
5281 (__strtol): Likewise.
5282 (strtol): Rename to __strtol and define as weak alias of
5283 __strtol. Use libc_hidden_weak.
5285 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5287 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5288 Use numbered labels in inline assembly.
5290 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5292 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5293 Add setjmp LIBC_PROBE.
5294 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5296 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5297 Add longjmp, longjmp_target LIBC_PROBE.
5298 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5301 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5303 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5304 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5305 to get rid of unused variable warning.
5307 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5309 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5310 Check for unwind_backtrace == NULL only in SHARED case.
5311 (__backchain_backtrace): Compile only in SHARED case.
5312 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5314 (__backchain_backtrace): Declare as static.
5316 2014-11-12 Roland McGrath <roland@hack.frob.com>
5318 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5319 (__libc_multiple_threads_ptr): Variable moved ...
5320 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5322 2014-11-12 Joseph Myers <joseph@codesourcery.com>
5324 * conform/GlibcConform.pm: New file.
5325 * conform/conformtest.pl: Use GlibcConform module.
5326 * conform/linknamespace.pl: New file.
5327 * conform/list-header-symbols.pl: Likewise.
5328 * conform/Makefile (linknamespace-symlists-base): New variable.
5329 (linknamespace-symlists-tests): Likewise.
5330 (linknamespace-header-base): Likewise.
5331 (linknamespace-header-tests): Likewise.
5332 (tests-special): Add new tests.
5333 ($(linknamespace-symlists-tests)): New rule.
5334 (linknamespace-libs): New variable.
5335 ($(objpfx)symlist-stdlibs): New rule.
5336 ($(linknamespace-header-tests)): Likewise.
5337 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5338 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5339 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5340 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5341 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5342 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5343 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5344 (test-xfail-ISO/math.h/linknamespace): Likewise.
5345 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5346 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5347 (test-xfail-ISO/time.h/linknamespace): Likewise.
5348 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5349 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5350 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5351 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5352 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5353 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5354 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5355 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5356 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5357 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5358 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5359 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5360 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5361 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5362 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5363 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5364 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5365 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5366 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5367 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5368 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5369 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5370 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5371 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5372 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5373 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5374 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5375 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5376 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5377 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5378 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5379 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5380 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5381 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5382 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5383 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5384 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5385 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5386 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5387 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5388 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5389 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5390 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5391 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5392 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5393 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5394 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5395 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5396 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5397 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5398 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5399 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5400 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5401 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5402 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5403 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5404 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5405 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5406 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5407 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5408 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5409 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5410 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5411 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5412 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5413 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5414 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5415 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5416 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5417 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5418 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5419 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5420 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5421 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5422 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5423 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5424 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5425 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5426 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5427 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5428 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5429 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5430 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5431 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5432 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5433 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5434 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5435 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5436 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5437 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5438 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5439 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5440 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5441 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5442 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5443 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5444 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5445 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5446 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5447 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5448 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5449 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5450 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5451 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5452 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5453 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5454 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5455 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5456 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5457 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5458 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5459 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5460 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5461 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5462 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5463 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5464 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5465 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5466 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5467 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5468 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5469 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5470 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5471 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5472 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5473 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5474 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5475 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5476 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5477 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5478 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5479 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5480 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5481 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5482 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5483 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5484 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5485 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5486 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5487 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5488 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5489 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5490 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5491 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5492 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5493 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5494 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5495 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5496 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5497 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5500 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5504 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5505 (memmem): Rename to __memmem and define as weak alias of
5506 __memmem. Use libc_hidden_weak.
5507 (__memmem): Use libc_hidden_def.
5508 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5509 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5513 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5514 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5515 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5516 and define as weak alias of __fgets_unlocked. Use
5518 (__fgets_unlocked): Use libc_hidden_def.
5519 * include/stdio.h (__fgets_unlocked): Declare. Use
5521 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5522 __fgets_unlocked instead of fgets_unlocked.
5523 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5524 (GET_NPROCS_CONF_PARSER): Likewise.
5525 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5526 (GET_NPROCS_CONF_PARSER): Likewise.
5529 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5530 weak alias of __wmemset. Use libc_hidden_weak.
5531 (__wmemset): Use libc_hidden_def.
5532 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5533 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5537 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5538 with asm name __mempcpy.
5539 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5542 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5543 and define as weak alias of __rawmemchr.
5544 (__rawmemchr): Do not define as strong alias of rawmemchr.
5547 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5549 (qsort): Call __qsort_r instead of qsort_r.
5550 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5551 (__qsort_r): Declare. Call libc_hidden_proto.
5552 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5554 * nscd/gai.c (__qsort_r): Define to qsort_r.
5555 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5556 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5557 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5560 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5561 define as weak alias of __malloc_info.
5564 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5565 as weak alias of __rewinddir. Don't use libc_hidden_def.
5566 (__rewinddir): Use libc_hidden_def.
5567 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5568 as weak alias of __rewinddir. Don't use libc_hidden_def.
5569 (__rewinddir): Use libc_hidden_def.
5570 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5571 weak alias of __rewinddir. Don't use libc_hidden_def.
5572 (__rewinddir): Use libc_hidden_def.
5573 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5574 (__rewinddir): Use libc_hidden_proto.
5575 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5577 (__getcwd): Use __rewinddir instead of rewinddir.
5580 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5581 alias of __fileno. Use libc_hidden_weak.
5582 (__fileno): Use libc_hidden_def.
5583 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5584 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5586 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5588 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5589 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5591 (fread_unlocked): Don't use libc_hidden_ver.
5592 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5593 and define as weak alias of __fread_unlocked. Don't use
5595 (__fread_unlocked): Use libc_hidden_def.
5596 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5597 (ftello): Don't use libc_hidden_proto.
5598 (__ftello): Declare. Use libc_hidden_proto.
5599 (fread_unlocked): Don't use libc_hidden_proto.
5600 (__fread_unlocked): Declare. Use libc_hidden_proto.
5601 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5602 and __ftello instead of fileno, fread_unlocked and ftello.
5604 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5606 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5608 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5610 (_dl_start_user): Likewise.
5611 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5613 2014-11-12 Carlos O'Donell <carlos@redhat.com>
5614 Siddhesh Poyarekar <siddhesh@redhat.com>
5616 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5617 Move argv and envp down instead of moving argc up.
5618 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5620 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
5623 * test-skeleton.c (main): Return successful if one of
5624 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5625 * string/tst-strcoll-overflow.c: Define expected status.
5627 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5630 * locale/iso-639.def: Define Bhili and Tulu language codes.
5632 2014-11-11 Alan Hayward <alan.hayward@arm.com>
5634 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5636 2014-11-10 Renlin Li <Renlin.Li@arm.com>
5639 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5641 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5643 * configure.ac: Updated check of minimal required version to
5645 * manual/install.texi (Tools for Compilation): Updated version
5647 * configure: Regenerated.
5648 * INSTALL: Likewise.
5650 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5652 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5655 2014-11-07 Joseph Myers <joseph@codesourcery.com>
5657 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5658 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5659 (__waitpid): Don't define as alias. Use libc_hidden_def not
5661 (waitpid): Define as alias of __waitpid.
5662 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5664 (__waitpid): Don't define as alias. Use libc_hidden_def not
5666 (waitpid): Define as alias of __waitpid.
5667 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5668 __libc_waitpid alias.
5669 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5670 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5672 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5673 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5674 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5676 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5678 (__waitpid): Don't define as alias. Use libc_hidden_def not
5680 (waitpid): Define as alias of __waitpid.
5682 2014-11-06 Carlos O'Donell <carlos@redhat.com>
5684 * manual/llio.texi: Add comment that write safety has been
5687 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5688 (localplt-build-dso): Add elf/ld.so.
5689 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5690 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5693 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5698 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5699 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5700 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5701 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5702 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5703 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5704 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5705 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5706 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5707 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5708 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5710 2014-11-05 Joseph Myers <joseph@codesourcery.com>
5713 * include/libc-symbols.h (INTUSE): Remove macro.
5715 (INTVARDEF): Likewise.
5716 (_INTVARDEF): Likewise.
5717 (INTDEF2): Likewise.
5718 (INTVARDEF2): Likewise.
5719 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5720 rtld_hidden_def instead of INTVARDEF.
5721 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5722 (_dl_starting_up_internal): Remove declaration.
5723 (_dl_starting_up): Use rtld_hidden_proto.
5724 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5726 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5727 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5729 * elf/dl-writev.h (_dl_writev): Likewise.
5730 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5731 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5732 _dl_starting_up_internal.
5734 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5736 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5739 2014-11-05 Will Newton <will.newton@linaro.org>
5741 * benchtests/Makefile: (bench-malloc): Add malloc thread
5742 scalability benchmark.
5743 * benchtests/bench-malloc-threads.c: New file.
5745 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
5747 * sysdeps/aarch64/strchrnul.S: New file.
5749 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5751 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5753 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5755 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5757 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5759 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5761 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5764 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
5766 * catgets/test-gencat.c: Use test-skeleton.c.
5767 * catgets/tst-catgets.c: Likewise.
5768 * csu/tst-empty.c: Likewise.
5769 * elf/tst-audit2.c: Likewise.
5770 * elf/tst-global1.c: Likewise.
5771 * elf/tst-pathopt.c: Likewise.
5772 * elf/tst-piemod1.c: Likewise.
5773 * elf/tst-tls10.c: Likewise.
5774 * elf/tst-tls11.c: Likewise.
5775 * elf/tst-tls12.c: Likewise.
5776 * gnulib/tst-gcc.c: Likewise.
5777 * iconvdata/tst-e2big.c: Likewise.
5778 * iconvdata/tst-loading.c: Likewise.
5779 * iconv/tst-iconv1.c: Likewise.
5780 * iconv/tst-iconv2.c: Likewise.
5781 * inet/test-inet6_opt.c: Likewise.
5782 * inet/tst-gethnm.c: Likewise.
5783 * inet/tst-network.c: Likewise.
5784 * inet/tst-ntoa.c: Likewise.
5785 * intl/tst-codeset.c: Likewise.
5786 * intl/tst-gettext2.c: Likewise.
5787 * intl/tst-gettext3.c: Likewise.
5788 * intl/tst-ngettext.c: Likewise.
5789 * intl/tst-translit.c: Likewise.
5790 * io/test-stat.c: Likewise.
5791 * libio/test-fmemopen.c: Likewise.
5792 * libio/tst-freopen.c: Likewise.
5793 * libio/tst-sscanf.c: Likewise.
5794 * libio/tst-ungetwc1.c: Likewise.
5795 * libio/tst-ungetwc2.c: Likewise.
5796 * libio/tst-widetext.c: Likewise.
5797 * localedata/tst-ctype.c: Likewise.
5798 * localedata/tst-digits.c: Likewise.
5799 * localedata/tst-leaks.c: Likewise.
5800 * localedata/tst-mbswcs1.c: Likewise.
5801 * localedata/tst-mbswcs2.c: Likewise.
5802 * localedata/tst-mbswcs3.c: Likewise.
5803 * localedata/tst-mbswcs4.c: Likewise.
5804 * localedata/tst-mbswcs5.c: Likewise.
5805 * localedata/tst-setlocale.c: Likewise.
5806 * localedata/tst-trans.c: Likewise.
5807 * localedata/tst-wctype.c: Likewise.
5808 * localedata/tst-xlocale1.c: Likewise.
5809 * login/tst-grantpt.c: Likewise.
5810 * malloc/tst-calloc.c: Likewise.
5811 * malloc/tst-malloc.c: Likewise.
5812 * malloc/tst-mallocstate.c: Likewise.
5813 * malloc/tst-mcheck.c: Likewise.
5814 * malloc/tst-mtrace.c: Likewise.
5815 * malloc/tst-obstack.c: Likewise.
5816 * math/atest-exp2.c: Likewise.
5817 * math/atest-exp.c: Likewise.
5818 * math/atest-sincos.c: Likewise.
5819 * math/test-matherr.c: Likewise.
5820 * math/test-misc.c: Likewise.
5821 * math/test-powl.c: Likewise.
5822 * math/tst-definitions.c: Likewise.
5823 * misc/tst-dirname.c: Likewise.
5824 * misc/tst-efgcvt.c: Likewise.
5825 * misc/tst-fdset.c: Likewise.
5826 * misc/tst-hsearch.c: Likewise.
5827 * misc/tst-mntent2.c: Likewise.
5828 * nptl/tst-sem7.c: Likewise.
5829 * nptl/tst-sem8.c: Likewise.
5830 * nptl/tst-sem9.c: Likewise.
5831 * nss/test-netdb.c: Likewise.
5832 * posix/tst-fnmatch.c: Likewise.
5833 * posix/tst-getlogin.c: Likewise.
5834 * posix/tst-gnuglob.c: Likewise.
5835 * posix/tst-mmap.c: Likewise.
5836 * pwd/tst-getpw.c: Likewise.
5837 * resolv/tst-inet_ntop.c: Likewise.
5838 * rt/tst-timer.c: Likewise.
5839 * stdio-common/test-fseek.c: Likewise.
5840 * stdio-common/test-popen.c: Likewise.
5841 * stdio-common/test-vfprintf.c: Likewise.
5842 * stdio-common/tst-cookie.c: Likewise.
5843 * stdio-common/tst-fileno.c: Likewise.
5844 * stdio-common/tst-gets.c: Likewise.
5845 * stdio-common/tst-obprintf.c: Likewise.
5846 * stdio-common/tst-perror.c: Likewise.
5847 * stdio-common/tst-sprintf2.c: Likewise.
5848 * stdio-common/tst-sprintf3.c: Likewise.
5849 * stdio-common/tst-sprintf.c: Likewise.
5850 * stdio-common/tst-swprintf.c: Likewise.
5851 * stdio-common/tst-tmpnam.c: Likewise.
5852 * stdio-common/tst-unbputc.c: Likewise.
5853 * stdio-common/tst-wc-printf.c: Likewise.
5854 * stdlib/tst-environ.c: Likewise.
5855 * stdlib/tst-fmtmsg.c: Likewise.
5856 * stdlib/tst-limits.c: Likewise.
5857 * stdlib/tst-rand48-2.c: Likewise.
5858 * stdlib/tst-rand48.c: Likewise.
5859 * stdlib/tst-random2.c: Likewise.
5860 * stdlib/tst-random.c: Likewise.
5861 * stdlib/tst-strtol.c: Likewise.
5862 * stdlib/tst-strtoll.c: Likewise.
5863 * stdlib/tst-tls-atexit.c: Likewise.
5864 * stdlib/tst-xpg-basename.c: Likewise.
5865 * string/test-ffs.c: Likewise.
5866 * string/tst-bswap.c: Likewise.
5867 * string/tst-inlcall.c: Likewise.
5868 * string/tst-strtok.c: Likewise.
5869 * string/tst-strxfrm.c: Likewise.
5870 * sysdeps/x86_64/tst-audit10.c: Likewise.
5871 * sysdeps/x86_64/tst-audit3.c: Likewise.
5872 * sysdeps/x86_64/tst-audit4.c: Likewise.
5873 * sysdeps/x86_64/tst-audit5.c: Likewise.
5874 * time/tst-ftime_l.c: Likewise.
5875 * time/tst-getdate.c: Likewise.
5876 * time/tst-mktime3.c: Likewise.
5877 * time/tst-mktime.c: Likewise.
5878 * time/tst-posixtz.c: Likewise.
5879 * time/tst-strptime2.c: Likewise.
5880 * time/tst-strptime3.c: Likewise.
5881 * wcsmbs/tst-btowc.c: Likewise.
5882 * wcsmbs/tst-mbrtowc.c: Likewise.
5883 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5884 * wcsmbs/tst-wchar-h.c: Likewise.
5885 * wcsmbs/tst-wcpncpy.c: Likewise.
5886 * wcsmbs/tst-wcrtomb.c: Likewise.
5887 * wcsmbs/tst-wcsnlen.c: Likewise.
5888 * wcsmbs/tst-wcstof.c: Likewise.
5890 2014-11-04 Joseph Myers <joseph@codesourcery.com>
5893 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5895 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5897 (_dl_mcount): Use rtld_hidden_proto.
5898 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5900 * elf/rtld.c (_rtld_global_ro): Likewise.
5903 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5904 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5905 of _dl_init_internal.
5906 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5907 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5908 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5909 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5910 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5911 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5912 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5913 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5914 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5915 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5916 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5917 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5918 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5919 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5920 * sysdeps/tile/dl-start.S (_start): Likewise.
5921 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5922 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5925 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5926 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5927 (rtld_progname): Make macro definition unconditional.
5928 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5930 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5931 (dl_main): Likewise.
5932 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5933 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5934 instead of _dl_argv_internal.
5935 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5936 __GI__dl_argv instead of INTUSE(_dl_argv).
5937 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5938 __GI__dl_argv instead of _dl_argv_internal.
5940 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5941 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5943 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5944 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5946 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5947 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5949 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5950 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5952 2014-11-04 Andreas Schwab <schwab@suse.de>
5954 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5956 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5958 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5959 mtvsrd instruction in binary form.
5961 2014-11-03 Andreas Schwab <schwab@suse.de>
5964 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5965 for less than MB_LEN_MAX use a local buffer of that size.
5966 * libio/tst-fputws.c: New file.
5967 * libio/Makefile (tests): Add tst-fputws.
5969 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5971 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5972 the size of the fpu_fr.fpu_dregs[] array.
5974 2014-11-01 Joseph Myers <joseph@codesourcery.com>
5976 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5977 (__nanosleep): Do not define as alias.
5978 (nanosleep): Define as alias of __nanosleep.
5979 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5980 __libc_nanosleep name.
5982 2014-10-31 Joseph Myers <joseph@codesourcery.com>
5984 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5985 install.texi in comment.
5987 2014-10-31 Torvald Riegel <triegel@redhat.com>
5989 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5990 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5991 ... add here and use lwsync or sync ...
5992 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5993 ... and add here using lwsync.
5995 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5997 * elf/dl-machine-reject-phdr.h: New file.
5998 * elf/dl-load.c: #include that.
5999 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6000 if that returned true.
6002 2014-10-31 Roland McGrath <roland@hack.frob.com>
6005 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6006 gen-as-const-headers chunk. Add a big scare comment after the last
6007 safe place to touch before-compile.
6009 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6011 * manual/install.texi (Tools for Compilation): Update autoconf
6012 version requirements.
6013 * INSTALL: Regenerated.
6015 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6016 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6017 (__libc_pselect): Likewise.
6020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6025 2014-10-31 Torvald Riegel <triegel@redhat.com>
6027 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6028 correct barrier instruction.
6029 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6031 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6034 2014-10-30 Roland McGrath <roland@hack.frob.com>
6036 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6037 after defining inlines. Instead, just use parens to defeat macro
6038 expansion of __isctype in its declaration.
6040 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6042 * include/sys/uio.h (__libc_readv): Remove declaration.
6043 (__libc_writev): Likewise.
6044 * misc/readv.c (__libc_readv): Rename to __readv.
6045 (__readv): Do not define as alias.
6046 (readv): Define as alias of __readv.
6047 * misc/writev.c (__libc_writev): Rename to __writev.
6048 (__writev): Do not define as alias.
6049 (writev): Define as alias of __writev.
6050 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6051 (__readv): Do not define as alias.
6052 (readv): Define unconditionally as alias of __readv.
6053 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6054 (__writev): Do not define as alias.
6055 (writev): Define unconditionally as alias of __writev.
6056 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6058 (writev): Do not define __libc_writev name.
6060 2014-10-30 Roland McGrath <roland@hack.frob.com>
6062 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6063 (convert_charseq): New function, broken out of ...
6064 (use_from_charmap): ... here. Call it.
6065 (use_to_charmap): Use convert_charseq and free instead of duplicating
6066 its code with a variable-length stack struct.
6068 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6070 * include/fcntl.h (__libc_creat): Remove declaration.
6071 * io/creat.c (__libc_creat): Rename to creat.
6072 (creat): Do not define as alias.
6073 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6074 of creat instead of __libc_creat.
6075 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6077 (creat): Do not define as alias.
6078 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6080 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6082 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6085 2014-10-29 Carlos O'Donell <carlos@redhat.com>
6087 * manual/llio.texi: Add comments discussing why write() may be
6088 considered MT-unsafe on Linux.
6090 2014-10-28 Carlos O'Donell <carlos@redhat.com>
6092 * dl-load.c (local_strdup): Remove.
6093 (expand_dynamic_string_token): Use __strdup.
6094 (decompose_rpath): Likewise.
6095 (_dl_map_object): Likewise.
6097 2014-10-28 Joseph Myers <joseph@codesourcery.com>
6100 * sysdeps/generic/unwind-dw2-fde.c
6101 (__register_frame_info_bases_internal): Do not declare.
6102 (__register_frame_info_table_bases_internal): Likewise.
6103 (__deregister_frame_info_bases_internal): Likewise.
6104 (__register_frame_info_bases): Declare and use hidden_proto before
6105 definition. Use hidden_def instead of INTDEF.
6106 (__register_frame_info_table_bases): Likewise.
6107 (__deregister_frame_info_bases): Likewise.
6108 (__register_frame_info): Do not use INTUSE.
6109 (__register_frame): Likewise.
6110 (__register_frame_info_table): Likewise.
6111 (__register_frame_table): Likewise.
6112 (__deregister_frame_info): Likewise.
6113 (__deregister_frame): Likewise.
6115 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6117 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6118 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6120 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6122 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6125 2014-10-27 Joseph Myers <joseph@codesourcery.com>
6128 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6129 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6130 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6131 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6132 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6133 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6134 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6135 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6136 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6137 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6138 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6139 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6140 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6142 (setfsuid): Likewise.
6143 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6144 (setfsuid): Likewise.
6145 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6146 (setfsuid): Likewise.
6147 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6149 (setfsuid): Likewise.
6150 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6151 (setfsuid): Likewise.
6152 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6154 (setfsuid): Likewise.
6156 2014-10-27 Andreas Schwab <schwab@suse.de>
6159 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6160 check for Slow_SSE4_2 feature bit.
6161 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6162 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6163 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6164 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6166 2014-10-24 Roland McGrath <roland@hack.frob.com>
6168 * configure.ac: Validate compiler version with a empirical test of
6169 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6171 * configure: Regenerated.
6173 * inet/htons.c (htons): Prototypify.
6174 * inet/htonl.c (htonl): Likewise.
6176 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6178 * string/strncat.c (strncat): Improve performance by using strlen.
6180 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6182 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6184 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6186 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6187 Call libc_fetestexcept_aarch64.
6189 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6191 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6192 Call libc_feholdexcept_aarch64.
6194 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6196 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6197 Call get_rounding_mode.
6199 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6201 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6204 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6206 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6209 2014-10-24 Joseph Myers <joseph@codesourcery.com>
6212 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6213 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6214 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6215 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6216 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6217 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6218 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6219 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6220 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6221 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6222 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6223 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6224 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6225 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6226 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6227 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6228 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6229 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6230 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6231 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6232 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6233 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6234 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6235 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6236 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6237 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6238 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6239 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6240 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6241 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6242 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6243 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6244 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6245 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6246 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6247 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6248 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6249 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6250 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6251 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6252 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6254 (geteuid): Likewise.
6257 (getresgid): Likewise.
6258 (getresuid): Likewise.
6259 (getgroups): Likewise.
6260 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6261 (geteuid): Likewise.
6264 (getresgid): Likewise.
6265 (getresuid): Likewise.
6266 (getgroups): Likewise.
6267 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6268 (geteuid): Likewise.
6271 (getresgid): Likewise.
6272 (getresuid): Likewise.
6273 (getgroups): Likewise.
6274 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6276 (geteuid): Likewise.
6279 (getresgid): Likewise.
6280 (getresuid): Likewise.
6281 (getgroups): Likewise.
6282 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6283 (geteuid): Likewise.
6286 (getresgid): Likewise.
6287 (getresuid): Likewise.
6288 (getgroups): Likewise.
6289 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6291 (geteuid): Likewise.
6294 (getgroups): Likewise.
6297 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6298 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6299 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6300 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6301 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6302 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6303 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6304 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6305 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6306 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6307 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6308 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6309 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6311 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6314 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6318 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6321 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6326 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6328 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6331 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6333 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6336 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6338 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6339 Remove unused include.
6341 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6343 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6344 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6345 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6346 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6348 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6349 Helge Deller <deller@gmx.de>
6352 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6353 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6354 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6356 2014-10-23 Joseph Myers <joseph@codesourcery.com>
6359 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6360 Remove macro definition.
6361 (__ashrdi3_v_glibc20): Likewise.
6362 (__lshrdi3_v_glibc20): Likewise.
6363 (__cmpdi2_v_glibc20): Likewise.
6364 (__ucmpdi2_v_glibc20): Likewise.
6365 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6366 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6367 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6368 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6369 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6370 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6372 2014-10-22 Roland McGrath <roland@hack.frob.com>
6374 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6375 old GNU extension [0] syntax.
6376 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6377 alloca rather than an array member with variable length.
6378 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6379 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6380 (parse_opt): ... here. Likewise use alloca there.
6381 Validate the -i argument before checking for rootness.
6382 (send_shutdown): New function, broken out of ...
6383 (parse_opt): ... here.
6385 2014-10-22 Roland McGrath <roland@hack.frob.com>
6387 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6388 macro to get at the _rt_local_ro field.
6389 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6390 ([PIC] case) or _dl_hwcap ([!PIC] case).
6391 * sysdeps/arm/setjmp.S: Likewise.
6393 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6394 * sysdeps/arm/configure.ac: New check to define it.
6395 * sysdeps/arm/configure: Regenerated.
6396 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6397 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6398 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6399 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6400 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6401 Use move/movt pair instead of a load.
6402 (LDST_GLOBAL): Macro removed.
6403 (LDR_GLOBAL): New macro replaces it.
6404 (LDR_HIDDEN): New macro.
6405 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6406 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6408 * setjmp/tst-setjmp-static.c: New file.
6409 * setjmp/Makefile (tests): Add it.
6410 (tests-static): New variable.
6412 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6415 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6417 2014-10-21 Joseph Myers <joseph@codesourcery.com>
6420 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6422 2014-10-21 Roland McGrath <roland@hack.frob.com>
6424 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6426 2014-10-20 Roland McGrath <roland@hack.frob.com>
6428 * io/fts.c (dirent_not_directory): New function.
6429 (fts_build): Call it.
6431 2014-10-20 Roland McGrath <roland@hack.frob.com>
6433 * nptl/version.c (__nptl_main): Use normal __write rather than
6435 (banner): Update copyright years.
6437 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6439 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6440 * nptl/pthread_cond_timedwait.c: Likewise.
6441 * nptl/pthread_mutex_timedlock.c: Likewise.
6442 * nptl/sem_timedwait.c: Likewise.
6444 * sysdeps/nptl/bits/libc-lock.h
6445 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6446 (__libc_lock_init_recursive): Return void, not 0.
6447 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6448 (__libc_rwlock_init): Likewise.
6449 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6451 2014-10-20 Torvald Riegel <triegel@redhat.com>
6454 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6455 (__pthread_once_slow): ... here.
6456 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6457 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6459 2014-10-20 Torvald Riegel <triegel@redhat.com>
6462 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6463 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6464 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6465 * nptl/pthread_once.c (__pthread_once): Likewise.
6468 2014-10-20 Joseph Myers <joseph@codesourcery.com>
6471 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6473 (writev): Use __libc_writev as strong name.
6474 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6475 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6477 2014-10-17 Roland McGrath <roland@hack.frob.com>
6479 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6481 * sysdeps/i386/nptl/tls.h
6482 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6483 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6485 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6486 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6487 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6488 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6489 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6490 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6492 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6493 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6495 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6497 (__pthread_mutex_init): ... here. Call it.
6498 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6499 Conditionalize PI cases on [__NR_futex].
6500 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6501 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6502 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6504 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6505 conditional on [SIGSETXID].
6506 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6507 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6508 is defined. Likewise for SIGSETXID.
6509 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6510 Conditionalize definitions on [SIGSETXID].
6511 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6512 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6513 unblocking on [SIGCANCEL].
6515 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6516 [__NR_set_robust_list].
6518 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6520 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6521 (do_compare): Likewise.
6523 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
6526 * string/strcoll_l.c: Don't include stdio.h.
6527 (coll_seq): Remove members idxarr and rulearr.
6528 (get_next_seq_cached): Remove function.
6529 (get_next_seq): Likewise.
6530 (get_next_seq_nocache): Rename to get_next_seq.
6531 (do_compare): Remove function.
6532 (do_compare_nocache): Rename to do_compare.
6533 (STRCOLL): Remove weight and rules cache.
6535 2014-10-16 Roland McGrath <roland@hack.frob.com>
6537 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6538 * sysdeps/arm/sfp-machine.h: ... to here.
6539 * sysdeps/arm/Implies: Remove arm/soft-fp.
6541 2014-10-14 Joseph Myers <joseph@codesourcery.com>
6543 * conform/data/sys/utsname.h-data (*_t): Allow.
6544 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6545 [POSIX] (WEXITED): Do not expect constant.
6546 [POSIX] (WSTOPPED): Likewise.
6547 [POSIX] (WNOHANG): Likewise.
6548 [POSIX] (WNOWAIT): Likewise.
6549 [POSIX] (siginfo_t): Do not expect type or elements.
6550 [POSIX] (pid_t): Do not expect type.
6551 [POSIX] (signal.h): Do not allow header.
6552 [POSIX] (sys/resource.h): Likewise.
6553 [POSIX] (si_*): Do not allow pattern.
6554 [POSIX] (W*): Likewise.
6555 [POSIX] (P_*): Likewise.
6556 [POSIX] (BUS_*): Likewise.
6557 [POSIX] (CLD_*): Likewise.
6558 [POSIX] (FPE_*): Likewise.
6559 [POSIX] (ILL_*): Likewise.
6560 [POSIX] (POLL_*): Likewise.
6561 [POSIX] (SEGV_*): Likewise.
6562 [POSIX] (SI_*): Likewise.
6563 [POSIX] (TRAP_*): Likewise.
6564 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6567 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6570 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6571 infinite loop when __recvmsg returns 0.
6573 2014-10-10 Joseph Myers <joseph@codesourcery.com>
6575 * CANCEL-FCT-WAIVE: Remove file.
6576 * CANCEL-FILE-WAIVE: Likewise.
6579 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6580 instead of INTVARDEF.
6581 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6582 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6583 rtld_hidden_data_def instead of INTVARDEF.
6584 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6585 * elf/dl-deps.c (expand_dst): Likewise.
6586 * elf/dl-load.c (_dl_dst_count): Likewise.
6587 (_dl_dst_substitute): Likewise.
6588 (decompose_rpath): Likewise.
6589 (_dl_init_paths): Likewise.
6590 (open_path): Likewise.
6591 (_dl_map_object): Likewise.
6592 * elf/rtld.c (dl_main): Likewise.
6593 (process_dl_audit): Likewise.
6594 (process_envvars): Likewise.
6595 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6597 (__libc_enable_secure): Use rtld_hidden_proto.
6599 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6602 (add_path): New function broken out of _dl_rtld_di_serinfo.
6603 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6605 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6607 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6608 parentheses around macro arguments.
6609 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6610 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6611 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6612 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6613 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6614 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6615 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6616 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6617 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6618 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6619 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6620 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6621 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6622 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6623 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6624 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6625 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6626 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6627 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6628 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6629 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6630 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6631 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6632 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6633 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6634 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6635 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6636 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6637 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6638 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6639 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6640 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6641 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6642 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6643 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6644 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6646 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6647 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6648 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6649 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6650 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6651 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6652 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6653 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6654 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6655 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6656 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6657 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6658 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6659 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6660 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6661 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6662 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6663 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6664 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6665 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6666 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6667 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6668 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6669 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6670 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6671 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6672 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6673 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6674 (_FP_FRAC_SRS_1): Likewise.
6675 (_FP_FRAC_CLZ_1): Likewise.
6676 (_FP_MUL_MEAT_1_imm): Likewise.
6677 (_FP_MUL_MEAT_1_wide): Likewise.
6678 (_FP_MUL_MEAT_1_hard): Likewise.
6679 (_FP_SQRT_MEAT_1): Likewise.
6680 (_FP_FRAC_ASSEMBLE_1): Likewise.
6681 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6682 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6683 (__FP_CLZ_2): Likewise.
6684 (_FP_MUL_MEAT_2_wide): Likewise.
6685 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6686 (_FP_MUL_MEAT_2_gmp): Likewise.
6687 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6688 (_FP_SQRT_MEAT_2): Likewise.
6689 (_FP_FRAC_ASSEMBLE_2): Likewise.
6690 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6691 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6692 (_FP_FRAC_CLZ_4): Likewise.
6693 (_FP_MUL_MEAT_4_wide): Likewise.
6694 (_FP_MUL_MEAT_4_gmp): Likewise.
6695 (_FP_SQRT_MEAT_4): Likewise.
6696 (_FP_FRAC_ASSEMBLE_4): Likewise.
6697 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6698 * soft-fp/op-common.h (_FP_CMP): Likewise.
6699 (_FP_CMP_EQ): Likewise.
6700 (_FP_CMP_UNORD): Likewise.
6701 (_FP_TO_INT): Likewise.
6702 (_FP_FROM_INT): Likewise.
6703 [!__FP_CLZ] (__FP_CLZ): Likewise.
6704 (_FP_DIV_HELP_imm): Likewise.
6705 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6707 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6708 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6709 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6710 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6711 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6712 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6713 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6714 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6715 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6716 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6717 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6718 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6719 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6720 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6721 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6722 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6723 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6724 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6725 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6726 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6727 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6728 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6729 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6730 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6731 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6732 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6733 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6734 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6735 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6736 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6737 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6738 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6739 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6740 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6741 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6742 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6743 (FP_UNPACK_RAW_SP): Likewise.
6744 (FP_PACK_RAW_S): Likewise.
6745 (FP_PACK_RAW_SP): Likewise.
6746 (FP_UNPACK_S): Likewise.
6747 (FP_UNPACK_SP): Likewise.
6748 (FP_UNPACK_SEMIRAW_S): Likewise.
6749 (FP_UNPACK_SEMIRAW_SP): Likewise.
6750 (FP_PACK_S): Likewise.
6751 (FP_PACK_SP): Likewise.
6752 (FP_PACK_SEMIRAW_S): Likewise.
6753 (FP_PACK_SEMIRAW_SP): Likewise.
6754 (_FP_SQRT_MEAT_S): Likewise.
6755 (FP_CMP_S): Likewise.
6756 (FP_CMP_EQ_S): Likewise.
6757 (FP_CMP_UNORD_S): Likewise.
6758 (FP_TO_INT_S): Likewise.
6759 (FP_FROM_INT_S): Likewise.
6761 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6763 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6764 (FP_EX_INVALID_IMZ): Likewise.
6765 (FP_EX_INVALID_IMZ_FMA): Likewise.
6766 (FP_EX_INVALID_ISI): Likewise.
6767 (FP_EX_INVALID_ZDZ): Likewise.
6768 (FP_EX_INVALID_IDI): Likewise.
6769 (FP_EX_INVALID_SQRT): Likewise.
6770 (FP_EX_INVALID_CVI): Likewise.
6771 (FP_EX_INVALID_VC): Likewise.
6772 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6773 "invalid" exceptions.
6774 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6775 (_FP_ADD_INTERNAL): Likewise.
6776 (_FP_MUL): Likewise.
6777 (_FP_FMA): Likewise.
6778 (_FP_DIV): Likewise.
6779 (_FP_CMP_CHECK_NAN): Likewise.
6780 (_FP_SQRT): Likewise.
6781 (_FP_TO_INT): Likewise.
6782 (FP_EXTEND): Likewise.
6784 2014-10-09 Allan McRae <allan@archlinux.org>
6786 * po/fr.po: Update French translation from translation project.
6788 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6791 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6793 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6794 (__cxa_atexit): Use libc_hidden_proto.
6795 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6798 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6800 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6801 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6802 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6803 [!_ISOMAC] (__iswctype_internal): Likewise.
6804 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6805 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6807 (fcntl): Remove __fcntl_internal alias.
6808 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6809 __connect_internal alias.
6810 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6813 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6814 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6816 (_FP_CHECK_FLUSH_ZERO): New macro.
6817 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6818 (_FP_CMP): Likewise.
6819 (_FP_CMP_EQ): Likewise.
6820 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6822 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6823 (FP_TRUNC): Likewise.
6825 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6826 treated as invalid conversion, not as normal exponent.
6828 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6829 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6830 (_FP_CMP_EQ): Likewise.
6831 (_FP_CMP_UNORD): Likewise.
6832 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6833 (FP_CMP_EQ_D): Likewise.
6834 (FP_CMP_UNORD_D): Likewise.
6835 * soft-fp/extended.h (FP_CMP_E): Likewise.
6836 (FP_CMP_EQ_E): Likewise.
6837 (FP_CMP_UNORD_E): Likewise.
6838 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6839 (FP_CMP_EQ_Q): Likewise.
6840 (FP_CMP_UNORD_Q): Likewise.
6841 * soft-fp/single.h (FP_CMP_S): Likewise.
6842 (FP_CMP_EQ_S): Likewise.
6843 (FP_CMP_UNORD_S): Likewise.
6844 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6845 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6846 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6847 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6848 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6849 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6850 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6851 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6852 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6853 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6854 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6855 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6856 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6858 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6860 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6861 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6863 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6865 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6866 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6867 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6868 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6870 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6872 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6873 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6875 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6877 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6878 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6879 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6880 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6883 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6884 a subnormal result, set the underflow exception if trapping on
6885 underflow is enabled.
6886 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6887 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6888 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6890 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6891 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6892 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6893 * soft-fp/extendxftf2.c (__extendxftf2): Use
6894 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6896 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6897 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6898 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6899 FP_HANDLE_EXCEPTIONS.
6900 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6901 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6902 FP_HANDLE_EXCEPTIONS.
6903 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6904 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6905 FP_HANDLE_EXCEPTIONS.
6906 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6907 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6908 FP_HANDLE_EXCEPTIONS.
6910 2014-10-08 Joseph Myers <joseph@codesourcery.com>
6913 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6914 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6916 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6917 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6919 (__adjtimex): Define using libc_hidden_ver.
6920 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6922 (ntp_gettime): Call __adjtimex directly.
6923 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6925 (ntp_gettimex): Call __adjtimex directly.
6926 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6927 __adjtimex_internal alias.
6929 2014-10-08 Roland McGrath <roland@hack.frob.com>
6932 * nscd/nscd.c (more_help): Rewrite list of tables collection
6933 using xstrdup and asprintf.
6935 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6937 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6938 Roland McGrath <roland@hack.frob.com>
6940 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6941 (do_lookup_unique): ... local function 'enter' here; update callers.
6943 2014-10-06 Joseph Myers <joseph@codesourcery.com>
6945 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6946 compat_symbol calls on [SHARED].
6947 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6948 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6950 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6951 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6952 (oldsetrlimit): Remove.
6953 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6955 (lchown): New syscall entry.
6956 (oldsetrlimit): Remove.
6957 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6958 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6959 (oldsetrlimit): Remove.
6960 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6963 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6964 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6965 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6966 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6967 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6968 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6970 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6975 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6977 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6978 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6979 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6980 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6981 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6983 (__old_sem_post): Likewise.
6985 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
6987 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6988 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6989 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6990 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6991 Use INLINE_VSYSCALL macro.
6992 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6993 __vdso_clock_gettime.
6994 * sysdeps/unix/sysv/linux/tile/init-first.c
6995 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6996 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6997 __vdso_clock_gettime.
6999 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7000 to set up frame more cleanly.
7002 * sysdeps/tile/memcmp.c: New file.
7004 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7006 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7007 * sysdeps/tile/tilegx/strcasestr.c: New file.
7008 * sysdeps/tile/tilegx/strnlen.c: New file.
7009 * sysdeps/tile/tilegx/strstr.c: New file.
7011 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7013 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
7015 * nptl/tst-setuid3.c: Write errors to stdout.
7017 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7020 (preload): New functions broken out of _dl_map_object_deps.
7021 (_dl_map_object_deps): Remove a nested function. Update call sites.
7023 2014-10-01 Joseph Myers <joseph@codesourcery.com>
7026 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7027 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7029 2014-10-01 Steve Ellcey <sellcey@mips.com>
7031 * sysdeps/mips/strcmp.S: New.
7033 2014-09-30 Joseph Myers <joseph@codesourcery.com>
7036 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7038 (mkdirat): Likewise.
7039 (readlinkat): Likewise.
7040 (renameat): Likewise.
7041 (symlinkat): Likewise.
7042 (unlinkat): Likewise.
7043 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7044 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7045 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7046 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7047 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7048 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7049 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7051 2014-09-30 Will Newton <will.newton@linaro.org>
7053 * math/math.h: Define long double math functions if
7054 _LIBC_TEST is defined.
7055 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7057 * localedata/Makefile: Move assignment to tests-special
7058 into an ifdef testing run-built-tests.
7059 * timezone/Makefile: Likewise.
7061 2014-09-29 Joseph Myers <joseph@codesourcery.com>
7063 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7064 with $(BASH) not $(SHELL).
7066 2014-09-29 Carlos O'Donell <carlos@redhat.com>
7067 Matthew LeGendre <legendre1@llnl.gov>
7070 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7073 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7075 * stdio-common/printf_fp.c
7076 (hack_digit): New function, broken out of ...
7077 (__printf_fp): ... local function here. Update call sites.
7078 hack_digit now takes an additional parameter that is a pointer
7079 to a struct of the referenced locals. Those locals moved inside
7080 the struct and references updated.
7082 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7084 * aclocal.m4: Require autoconf 2.69.
7085 * configure: Regenerated.
7086 * sysdeps/aarch64/configure: Likewise.
7087 * sysdeps/alpha/configure: Likewise.
7088 * sysdeps/arm/armv7/configure: Likewise.
7089 * sysdeps/arm/configure: Likewise.
7090 * sysdeps/ia64/configure: Likewise.
7091 * sysdeps/mach/configure: Likewise.
7092 * sysdeps/mips/configure: Likewise.
7093 * sysdeps/s390/configure: Likewise.
7094 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7097 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7099 * sysdeps/ia64/configure.ac: Likewise.
7101 2014-09-26 Joseph Myers <joseph@codesourcery.com>
7103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7104 specify symbol version for ld.so. Do not include entry for
7106 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7107 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7108 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7111 * Makeconfig [$(build-shared) = yes]
7112 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7114 [$(build-shared) = yes && $(soversions.mk-done) = t]
7115 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7116 [$(build-shared) = yes && $(soversions.mk-done) = t]
7117 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7119 [$(build-shared) = yes && $(soversions.mk-done) = t]
7120 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7122 [$(build-shared) = yes && $(soversions.mk-done) = t]
7123 (common-generated): Don't append gnu/lib-names.h and
7124 gnu/lib-names.stmp here.
7125 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7126 (lib-names-h-abi): New variable.
7127 [$(build-shared) = yes && $(soversions.mk-done) = t]
7128 (lib-names-stmp-abi): Likewise.
7129 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7130 abi-variants] (before-compile): Append
7131 $(common-objpfx)$(lib-names-h-abi).
7132 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7133 abi-variants] (common-generated): Append gnu/lib-names.h.
7134 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7135 abi-variants] (install-others-nosubdir): Depend on
7136 $(inst_includedir)/$(lib-names-h-abi).
7137 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7138 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7139 [$(build-shared) = yes && $(soversions.mk-done) = t]
7140 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7141 [$(build-shared) = yes && $(soversions.mk-done) = t]
7142 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7143 [$(build-shared) = yes && $(soversions.mk-done) = t]
7144 (common-generated): Append $(lib-names-h-abi) and
7145 $(lib-names-stmp-abi).
7146 * scripts/lib-names.awk: Do not handle multi being set.
7147 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7149 (abi-lp64_be-ld-soname): Likewise.
7150 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7152 (abi-hard-ld-soname): Likewise.
7153 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7154 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7156 (abi-o32_hard-ld-soname): Likewise.
7157 (abi-o32_soft_2008-ld-soname): Likewise.
7158 (abi-o32_hard_2008-ld-soname): Likewise.
7159 (abi-n32_soft-ld-soname): Likewise.
7160 (abi-n32_hard-ld-soname): Likewise.
7161 (abi-n32_soft_2008-ld-soname): Likewise.
7162 (abi-n32_hard_2008-ld-soname): Likewise.
7163 (abi-n64_soft-ld-soname): Likewise.
7164 (abi-n64_hard-ld-soname): Likewise.
7165 (abi-n64_soft_2008-ld-soname): Likewise.
7166 (abi-n64_hard_2008-ld-soname): Likewise.
7167 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7169 (abi-64-v2-ld-soname): Likewise.
7170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7172 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7174 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7176 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7178 (abi-64-ld-soname): Likewise.
7179 (abi-x32-ld-soname): Likewise.
7180 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7182 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7184 2014-09-23 Joseph Myers <joseph@codesourcery.com>
7187 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7188 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7189 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7190 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7191 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7192 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7193 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7194 syscall entry for GLIBC_2.2 symbol version.
7195 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7198 (setrlimit): Likewise.
7199 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7202 2014-09-23 Will Newton <will.newton@linaro.org>
7204 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7205 _LINUX_ARM_SYSDEP_H include guard too.
7206 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7209 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7211 * sysdeps/unix/sysv/linux/eventfd.c:
7212 Make first argument unsigned.
7213 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7214 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7216 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
7218 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7219 * socket/sys/socket.h: Likewise
7220 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7222 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7224 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7226 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
7228 * time/tst-ftime.c: New test.
7229 * time/Makefile (tests): Add tst-ftime.
7231 2014-09-17 Joseph Myers <joseph@codesourcery.com>
7233 * soft-fp/extended.h: Fix comment formatting.
7234 * soft-fp/op-1.h: Likewise.
7235 * soft-fp/op-2.h: Likewise.
7236 * soft-fp/op-4.h: Likewise.
7237 * soft-fp/op-8.h: Likewise.
7238 * soft-fp/op-common.h: Likewise.
7239 * soft-fp/soft-fp.h: Likewise.
7241 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7243 2014-09-16 Joseph Myers <joseph@codesourcery.com>
7246 * Makeconfig (soversions-default-setname): Remove variable.
7247 ($(common-objpfx)soversions.i): Don't pass default_setname to
7249 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7250 oldest_abi to abi-versions.awk.
7251 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7252 * config.make.in (oldest-abi): Remove variable.
7253 * configure.ac (--enable-oldest-abi): Remove configure option.
7254 * configure: Regenerated.
7255 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7257 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7258 * scripts/soversions.awk: Do not handle default_setname variable.
7259 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7261 * sysdeps/mach/hurd/configure: Regenerated.
7262 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7264 * sysdeps/unix/sysv/linux/configure: Regenerated.
7266 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7268 * elf/Makefile (CFLAGS-interp.c): Remove.
7269 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7271 * elf/interp.c: Include generated runtime-linker.h
7273 * Makerules (lib%.so): Don't include $(+interp) in
7275 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7276 * dlfcn/eval.c: Remove file.
7278 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7282 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7286 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7288 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7289 Jakub Jelinek <jakub@redhat.com>
7292 * libio/stdio.h: Check definition of __fortify_function
7293 instead of __extern_always_inline to include bits/stdio2.h.
7294 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7295 check if __extern_always_inline is defined.
7296 [__USE_MISC || __USE_XOPEN]: Likewise.
7297 [__USE_ISOC99] Likewise.
7298 * misc/sys/cdefs.h (__fortify_function): Define only if
7299 __extern_always_inline is defined.
7300 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7301 __extern_always_inline and __extern_inline only for g++-4.3
7302 and newer or a compatible gcc.
7304 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7307 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7308 last change to handle zero prefix length.
7310 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7312 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7315 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7318 2014-09-13 Allan McRae <allan@archlinux.org>
7320 * po/ru.po: Update Russian translation from translation project.
7322 2014-09-12 Roland McGrath <roland@hack.frob.com>
7324 * locale/programs/locale.c (show_locale_vars): Inline local function
7325 into its sole call site. Clean up some style nits.
7326 (print_item): New function, broken out of ...
7327 (show_info): ... local function here. Clean up style nits.
7329 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7331 (set_class_defaults): ... local function set_default here.
7332 Define set_default as a macro locally to pass constant parameters.
7333 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7334 rather than a shared local.
7336 * stdlib/rpmatch.c (try): New function, broken out of ...
7337 (rpmatch): ... local function here. Also, prototypify definition.
7339 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7341 * scripts/soversions.awk: Do not handle configuration names.
7342 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7343 vendor and os variables to soversions.awk.
7344 * configure.ac: Do not modify gnu-* host_os.
7345 * configure: Regenerated
7346 * shlib-versions: Remove first column with configuration names.
7347 * nptl/shlib-versions: Likewise.
7348 * nptl_db/shlib-versions: Likewise.
7349 * sysdeps/hppa/shlib-versions: Likewise.
7350 * sysdeps/m68k/shlib-versions: Likewise.
7351 * sysdeps/mach/hurd/shlib-versions: Likewise.
7352 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7353 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7354 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7355 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7356 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7357 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7358 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7359 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7362 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7363 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7364 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7365 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7366 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7367 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7368 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7369 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7372 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7375 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7377 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7379 * shlib-versions: Remove OS-specific entries. Moved to files in
7381 * sysdeps/mach/hurd/shlib-versions: New file.
7382 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7384 * nptl/shlib-versions: Remove architecture-specific entries.
7385 Moved to files in sysdeps.
7386 * shlib-versions: Likewise.
7387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7389 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7390 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7391 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7392 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7394 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7395 (UDP_NO_CHECK6_RX): Likewise.
7397 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7399 * sysdeps/posix/sysconf.c (__sysconf): Spell
7400 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7402 2014-08-12 Florian Weimer <fweimer@redhat.com>
7404 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7406 * iconv/Versions (__gconv_transliterate): Export for use from
7408 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7409 (struct __gconv_trans_data, __gconv_trans_fct,
7410 __gconv_trans_context_fct, __gconv_trans_query_fct,
7411 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7413 (struct __gconv_step_data): Remove __trans member.
7414 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7415 longer hidden. Remove unused trans_data argument.
7416 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7417 (__gconv_translit_find): Remove declaration.
7418 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7420 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7421 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7422 trans_data argument. Add hidden definition.
7423 (__gconv_translit_find): Remove.
7424 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7425 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7426 * iconv/skeleton.c: Remove transliteration initialization.
7427 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7428 __gconv_step_data initialization.
7429 * libio/iofwide.c (__libio_translit_): Remove.
7430 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7431 * wcsmbs/btowc.c (__btowc): Likewise.
7432 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7433 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7434 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7435 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7436 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7437 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7438 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7439 * wcsmbs/wctob.c (wctob): Likewise.
7441 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7444 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7445 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7447 * sysdeps/x86/Makefile: Adjust.
7449 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7450 Roland McGrath <roland@hack.frob.com>
7452 * locale/weight.h: Add include guard.
7453 (findidx): Make static rather than auto; take new parameters
7454 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7455 * locale/weightwc.h: Likewise.
7456 * posix/fnmatch_loop.c
7457 (FCT): Change type of EXTRA from int32_t to wint_t.
7458 Don't include either header inside the function.
7459 Call FINDIDX rather than findidx, and pass new arguments.
7460 #undef FINDIDX at the end of the file.
7461 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7462 FINDIDX before including fnmatch_loop.c for the non-wide version.
7463 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7464 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7465 for the wide version.
7466 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7467 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7468 Pass new arguments to findidx.
7469 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7470 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7471 Don't #include it inside the function. Pass new arguments to findidx.
7472 * posix/regex_internal.h
7473 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7474 (re_string_elem_size_at): Don't #include it inside the function.
7475 Pass new arguments to findidx.
7476 * string/strcoll_l.c: #include WEIGHT_H at top level.
7477 (get_next_seq): Don't #include it inside the function.
7478 Pass new arguments to findidx.
7479 (get_next_seq_nocache): Likewise.
7480 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7481 (STRXFRM): Don't #include it inside the function.
7482 Pass new arguments to findidx.
7484 2014-09-11 Florian Weimer <fweimer@redhat.com>
7487 * malloc/malloc.c (unlink): Turn asserts into a call to
7490 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
7493 * libio/wfileops (do_ftell_wide): Free OUT.
7495 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7497 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7499 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7502 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7503 group if the current group is empty.
7505 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7507 * benchtests/bench-memset.c (test_main): Add more test from size
7508 from 32 to 512 bytes.
7509 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7510 Add POWER8 memset object.
7511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7512 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7513 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7515 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7517 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7518 multiarch POWER8 memset optimization.
7519 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7520 POWER8 memset optimization.
7522 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7523 Remove bzero multiarch objects.
7524 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7525 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7526 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7527 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7529 [__bzero]: Redefine to specific name.
7530 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7531 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7532 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7534 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7535 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7537 2014-09-10 Florian Weimer <fweimer@redhat.com>
7539 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7540 warnings into errors.
7542 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7543 __cxa_thread_atexit_impl prototype.
7545 2014-09-09 Steve Ellcey <sellcey@mips.com>
7547 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7548 Fix capitalization of error message.
7550 2014-09-09 Steve Ellcey <sellcey@mips.com>
7552 * sysdeps/mips/preconfigure: Modify ABI tests.
7554 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7556 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7558 2014-09-07 Roland McGrath <roland@hack.frob.com>
7559 Carlos O'Donell <carlos@systemhalted.org>
7561 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7562 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7563 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7564 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7565 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7566 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7567 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7568 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7569 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7570 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7571 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7572 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7573 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7574 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7575 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7576 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7577 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7578 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7579 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7580 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7581 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7582 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7583 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7584 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7585 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7586 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7587 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7588 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7589 Deconditionalize the code that was previously under [RESET_PID].
7590 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7591 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7592 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7593 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7596 2014-09-08 Allan McRae <allan@archlinux.org>
7598 * version.h (RELEASE): Set to "development".
7599 (VERSION): Set to "2.20.90"
7601 2014-09-07 Allan McRae <allan@archlinux.org
7603 * version.h (RELEASE): Set to "stable".
7604 (VERSION): Set to "2.20"
7605 * include/features.h (__GLIBC_MINOR__): Set to 20.
7607 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7610 * po/ko.po: Update Korean translation from translation project.
7612 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7615 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7616 macro for handling signed relocations.
7618 2014-09-03 Florian Weimer <fweimer@redhat.com>
7621 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7622 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7624 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7625 * iconvdata/ibm935.c (BODY): Likewise.
7626 * iconvdata/ibm937.c (BODY): Likewise.
7627 * iconvdata/ibm939.c (BODY): Likewise.
7628 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7630 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7632 * iconvdata/run-iconv-test.sh: New test loop for checking for
7635 2014-09-02 Khem Raj <raj.khem@gmail.com>
7637 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7640 2014-09-01 Allan McRae <allan@archlinux.org>
7642 * po/eo.po: Update Esperanto translation from translation project.
7644 * po/ca.po: Update Catalan translation from translation project.
7646 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7648 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7651 2014-08-27 Mark Wielaard <mjw@redhat.com>
7654 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7655 to call set_thread_area instead of hand written asm.
7656 (__NR_set_thread_area): Removed define.
7657 (TLS_FLAG_WRITABLE): Likewise.
7658 (__ASSUME_SET_THREAD_AREA): Remove check.
7659 (TLS_EBX_ARG): Remove define.
7660 (TLS_LOAD_EBX): Likewise.
7662 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7664 Simplify atomicity of socket creation in bind.
7666 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7667 looking up the name after linking the file.
7669 2014-08-27 Allan McRae <allan@archlinux.org>
7671 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7673 2014-08-26 Florian Weimer <fweimer@redhat.com>
7676 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7677 trans_compare, open_translit, __gconv_translit_find):
7678 Remove module loading code.
7680 2014-08-26 Allan McRae <allan@archlinux.org>
7682 * po/vi.po: Update Vietnamese translation from translation project.
7684 * po/uk.po: Update Ukrainian translation from translation project.
7686 * po/fr.po: Update French translation from translation project.
7688 * po/ru.po: Update Russian translation from translation project.
7690 * po/pl.po: Update Polish translation from translation project.
7692 * po/cs.po: Update Czech translation from translation project.
7694 * po/de.po: Update German translation from translation project.
7696 * po/bg.po: Update Bulgarian translation from translation project.
7698 * po/sv.po: Update Sweedish translation from translation project.
7700 * po/nl.po: Update Dutch translation from translation project.
7702 * po/es.po: Update Spanish translation from translation project.
7704 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7706 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7708 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7709 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7710 (CPPFLAGS-iconvconfig): Likewise.
7711 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7713 * include/libc-symbols.h: Remove unnecessary check for
7715 * nptl/pthreadP.h: Likewise.
7716 * sysdeps/aarch64/setjmp.S: Likewise.
7717 * sysdeps/alpha/setjmp.S: Likewise.
7718 * sysdeps/arm/sysdep.h: Likewise.
7719 * sysdeps/i386/setjmp.S: Likewise.
7720 * sysdeps/m68k/setjmp.c: Likewise.
7721 * sysdeps/posix/getcwd.c: Likewise.
7722 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7723 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7724 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7725 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7726 * sysdeps/sh/sh3/setjmp.S: Likewise.
7727 * sysdeps/sh/sh4/setjmp.S: Likewise.
7728 * sysdeps/unix/alpha/sysdep.h: Likewise.
7729 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7730 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7731 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7732 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7735 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7736 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7737 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7739 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7740 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7742 * sysdeps/x86_64/setjmp.S: Likewise.
7744 2014-08-13 Joseph Myers <joseph@codesourcery.com>
7747 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7749 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7750 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7752 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7754 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7757 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7758 and __x86_64__ when disabling x87 inline functions.
7760 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7763 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7764 asm statement with __cpuid_count.
7766 2014-08-12 Mike Frysinger <vapier@gentoo.org>
7768 * configure.ac: Change __ehdr_start code to dereference the struct.
7769 Run readelf on the output to look for relocations.
7770 * configure: Regenerated.
7772 2014-08-12 Joseph Myers <joseph@codesourcery.com>
7775 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7777 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7779 2014-08-12 Roland McGrath <roland@hack.frob.com>
7781 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7783 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7786 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7787 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7789 2014-08-12 Sean Anderson <seanga2@gmail.com>
7791 * malloc/malloc.c: Fix typo in comment.
7793 2014-08-09 Allan McRae <allan@archlinux.org>
7795 * Regenerate libc.po.
7797 2014-08-08 Mike Frysinger <vapier@gentoo.org>
7799 * intl/tst-gettext2.sh: Check every lang file for creation.
7801 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7803 * sysdeps/aarch64/fpu/math_private.h
7804 (libc_feholdsetround_noex_aarch64_ctx): New function.
7806 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7808 * sysdeps/arm/armv6/strcpy.S (strcpy):
7809 Fix performance issue in misaligned cases.
7811 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7813 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7814 Move definition from termios.h.
7815 (struct termio): Likewise.
7816 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7817 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7818 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7819 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7821 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7822 Move definition to ioctl-types.h
7823 (struct termio): Likewise.
7824 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7825 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7826 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7827 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7830 2014-08-05 Richard Henderson <rth@redhat.com>
7832 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7834 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7836 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7837 Use __feraiseexcept.
7838 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7839 Protect libm symbols with IS_IN_libm.
7841 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7843 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7845 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7847 2014-08-04 Will Newton <will.newton@linaro.org>
7849 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7852 2014-08-04 Mike Frysinger <vapier@gentoo.org>
7854 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7855 variants for each function.
7857 2014-08-04 Roland McGrath <roland@hack.frob.com>
7859 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7861 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7862 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7864 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7865 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7866 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7867 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7868 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7869 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7870 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7871 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7872 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7873 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7874 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7875 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7876 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7877 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7878 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7879 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7880 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7881 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7882 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7883 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7884 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7885 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7886 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7887 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7888 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7889 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7890 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7891 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7892 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7893 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7894 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7895 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7896 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7897 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7898 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7899 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7900 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7901 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7902 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7903 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7904 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7905 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7906 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7907 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7908 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7909 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7910 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7911 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7912 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7913 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7914 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7915 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7916 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7918 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7919 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7921 2014-08-04 Roland McGrath <roland@hack.frob.com>
7923 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7924 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7925 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7926 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7927 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7928 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7930 2014-08-04 Roland McGrath <roland@hack.frob.com>
7932 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7933 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7934 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7935 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7937 2014-08-04 Roland McGrath <roland@hack.frob.com>
7939 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7940 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7941 (__libc_vfork): Define function under this name.
7942 (__vfork): Define as an alias.
7943 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7944 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7946 2014-08-04 Roland McGrath <roland@hack.frob.com>
7948 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7949 that was previously under [RESET_PID].
7950 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7952 2014-08-04 Andreas Schwab <schwab@suse.de>
7954 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7956 2014-08-03 Mike Frysinger <vapier@gentoo.org>
7958 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7961 2014-08-01 Roland McGrath <roland@hack.frob.com>
7963 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7965 2014-08-01 Richard Henderon <rth@redhat.com>
7967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7968 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7969 typo in exact zero test.
7970 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7971 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7972 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7974 2014-08-01 Roland McGrath <roland@hack.frob.com>
7976 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7977 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7978 * sysdeps/arm/sysdep.h: ... here.
7979 [!__ASSEMBLER__]: Include <stdint.h>.
7981 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7983 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7984 (HAVE_WCTYPE_H): Likewise.
7985 (HAVE_ISWCTYPE): Likewise.
7986 (ENABLE_NLS): Likewise.
7987 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7988 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7990 * posix/regex_internal.c: Check if DEBUG is defined and is
7993 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7994 (HAVE_MBSRTOWCS): Likewise.
7995 * posix/fnmatch.c: Include string.h unconditionally.
7997 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7999 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8002 2014-07-31 Roland McGrath <roland@hack.frob.com>
8004 * sysdeps/generic/safe-fatal.h: New file.
8005 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8006 * nptl/forward.c: Include it.
8007 (__pthread_unwind): Use __safe_fatal as default action, rather
8008 than a bogus use of INTERNAL_SYSCALL that could never work.
8010 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8011 * configure.ac (libc_cv_builtin_trap): New test.
8012 * configure: Regenerated.
8013 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8014 (ABORT_INSTRUCTION): Define using __builtin_trap.
8016 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8017 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8018 * sysdeps/nptl/nptl-signals.h: New file.
8019 * nptl/pthreadP.h: Include <nptl-signals.h>.
8021 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8023 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8024 (ONE_DIRECTION): Define.
8025 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8026 (ONE_DIRECTION): Define.
8027 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8028 (ONE_DIRECTION): Define.
8030 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8032 * sysdeps/s390/Makefile: Delete file.
8033 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8034 * sysdeps/s390/__longjmp.c: Delete file.
8035 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8036 Remove fields __flags and __reserved.
8037 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8039 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8040 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8041 * sysdeps/s390/rtld-setjmp.S: Likewise.
8042 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8043 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8044 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8045 * sysdeps/s390/s390-32/setjmp.S: ... here.
8047 (__sigsetjmp): Remove setting __flags field.
8048 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8049 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8050 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8051 * sysdeps/s390/s390-64/setjmp.S: ... here.
8053 (__sigsetjmp): Remove setting __flags field.
8054 * sysdeps/s390/setjmp.S: Delete file.
8055 * sysdeps/s390/sigjmp.c: Likewise.
8056 * sysdeps/s390/v1-longjmp.c: Likewise.
8057 * sysdeps/s390/v1-setjmp.h: Likewise.
8058 * sysdeps/s390/v1-sigjmp.c: Likewise.
8059 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8060 Remove v1-longjmp_chk.
8061 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8062 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8063 Include debug/longjmp_chk.c and add versioning.
8064 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8065 Include nptl/pt-longjmp.c and add versioning.
8066 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8067 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8068 Include __longjmp.c.
8069 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8071 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8072 (__getcontext): Remove setting __flags field.
8074 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8075 Don't restore upper high grps.
8076 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8078 (__swapcontext): Remove setting uc_flags field.
8079 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8081 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8082 Include __longjmp.c.
8083 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8085 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8086 (__getcontext): Remove setting __flags field.
8088 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8089 (__swapcontext): Remove setting uc_flags field.
8090 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8091 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8092 Remove fields uc_high_gprs and __reserved.
8093 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8094 New file with reverted content.
8095 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8096 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8098 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8101 2014-07-31 Andreas Schwab <schwab@suse.de>
8103 * config.h.in (HAVE_IFUNC): Define to 0.
8104 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8107 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8110 memmove-avx-unaligned, memcpy-avx-unaligned and
8111 mempcpy-avx-unaligned.
8112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8113 Add tests for AVX memcpy functions.
8114 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8115 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8117 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8118 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8120 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8121 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8123 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8124 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8125 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8127 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8130 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8133 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
8136 * manual/llio.texi: Add section about open file description locks.
8137 * manual/examples/ofdlocks.c: Example of open file description
8139 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8140 F_OFD_SETLK, and F_OFD_SETLKW.
8142 2014-07-23 Allan McRae <allan@archlinux.org>
8144 * po/es.po: Update Spanish translation from translation project.
8146 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8148 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8150 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8153 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8154 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8155 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8157 2014-07-17 Joseph Myers <joseph@codesourcery.com>
8160 * math/fesetenv.c (__fesetenv)
8161 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8162 * math/feupdateenv.c (__feupdateenv)
8163 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8165 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8166 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8167 (__ASSUME_SOCKETCALL): Do not define.
8169 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8170 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8171 (__ASSUME_SOCKETCALL): Do not define.
8172 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8173 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8174 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8175 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8176 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8177 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8178 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8179 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8181 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8182 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8183 (__ASSUME_SOCKETCALL): Do not define.
8184 (__ASSUME_IPC64): Define unconditionally.
8185 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8186 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8187 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8188 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8189 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8190 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8191 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8194 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8195 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8196 (__ASSUME_SOCKETCALL): Do not define.
8197 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8198 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8199 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8200 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8201 (__ASSUME_REQUEUE_PI): Define unconditionally.
8202 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8203 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8204 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8205 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8206 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8207 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8209 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8210 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8211 (__ASSUME_SOCKETCALL): Do not define.
8212 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8213 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8214 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8215 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8216 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8217 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8219 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8220 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8221 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8222 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8223 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8224 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8225 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8226 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8227 (__ASSUME_GETCPU_SYSCALL): Likewise.
8229 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8230 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8231 cases for individual architectures.
8232 * sysdeps/gnu/configure: Regenerated.
8233 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8234 LIBC_SLIBDIR_RTLDDIR.
8235 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8236 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8237 LIBC_SLIBDIR_RTLDDIR.
8238 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8240 LIBC_SLIBDIR_RTLDDIR.
8241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8243 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8244 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8246 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8247 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8249 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8250 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8251 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8252 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8254 * sysdeps/aarch64/shlib-versions: Move to ...
8255 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8256 * sysdeps/alpha/shlib-versions: Move to ...
8257 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8258 * sysdeps/arm/shlib-versions: Move to ...
8259 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8260 * sysdeps/hppa/shlib-versions: Move all contents except for
8261 libgcc_s entry to ...
8262 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8264 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8265 * sysdeps/ia64/shlib-versions: Move to ...
8266 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8268 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8269 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8270 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8271 * sysdeps/microblaze/shlib-versions: Move to ...
8272 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8273 * sysdeps/mips/shlib-versions: Move to ...
8274 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8276 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8277 * sysdeps/tile/shlib-versions: Move to ...
8278 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8279 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8281 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8282 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8284 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8286 2014-07-17 Will Newton <will.newton@linaro.org>
8288 * sysdeps/arm/bits/atomic.h
8289 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8290 (__arch_compare_and_exchange_bool_16_int): Likewise.
8291 (__arch_compare_and_exchange_bool_64_int): Likewise.
8293 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8294 into an #else block.
8296 2014-07-16 Roland McGrath <roland@hack.frob.com>
8298 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8299 just Linux configurations. Test empirically that the compiler sets
8300 __ARM_EABI__, rather than using the tuple to decide.
8301 * sysdeps/arm/preconfigure: Regenerated.
8302 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8303 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8304 contents appended ...
8305 * sysdeps/arm/configure.ac: ... here.
8306 * sysdeps/arm/configure: Regenerated.
8308 2014-07-15 Roland McGrath <roland@hack.frob.com>
8310 * nptl/pthread_kill.c: New file.
8311 * nptl/pthread_sigmask.c: New file.
8312 * nptl/pthread_sigqueue.c: New file.
8314 * sysdeps/nptl/lowlevellock.h: New file.
8315 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8316 * sysdeps/nptl/lowlevellock-futex.h: New file.
8318 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8319 Remove dead declarations.
8321 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8323 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8324 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8326 * sysdeps/x86_64/configure.ac: Likewise.
8327 * sysdeps/i386/configure: Regenerated.
8328 * sysdeps/x86_64/configure: Likewise.
8329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8330 memset-avx2 only if config-cflags-avx2 is yes.
8331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8332 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8334 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8335 only if HAVE_AVX2_SUPPORT is defined.
8336 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8338 2014-07-14 Alan Modra <amodra@gmail.com>
8341 * elf/elf.h (DT_PPC64_NUM): Correct value.
8342 * NEWS: Add to fixed bug list.
8344 2014-07-13 Jim Meyering <meyering@fb.com>
8347 regex: don't deref NULL upon heap allocation failure
8348 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8349 failure in one more place.
8350 To trigger the segfault, configure grep -with-included-regex,
8351 build it, and run these commands:
8352 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8354 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8356 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8358 2014-07-11 Richard Henderson <rth@redhat.com>
8360 * sysdeps/aarch64/libm-test-ulps: Update.
8362 2014-07-10 Florian Weimer <fweimer@redhat.com>
8365 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8366 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8367 (__nptl_setxid): Initialize error member. Call
8368 __nptl_setxid_error.
8369 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8370 * nptl/descr.h (struct xid_command): Add error member.
8371 * nptl/tst-setuid3.c: New file.
8372 * nptl/Makefile (tests): Add it.
8374 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8376 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8378 (__lll_trylock): Use __lll_base_trylock.
8379 (__lll_cond_trylock): Likewise.
8381 2014-07-10 Roland McGrath <roland@hack.frob.com>
8383 * nptl/pthread_create.c (start_thread): Use atomic_or and
8384 lll_futex_wake directly rather than lll_robust_dead.
8385 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8386 (lll_robust_dead): Macro removed.
8387 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8388 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8389 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8390 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8391 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8392 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8393 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8394 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8395 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8396 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8397 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8398 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8399 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8400 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8401 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8403 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8404 Use atomic_compare_and_exchange_val_acq directly rather than
8406 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8407 (__lll_robust_trylock, lll_robust_trylock): Removed.
8408 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8409 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8410 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8411 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8412 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8413 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8414 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8415 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8416 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8417 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8418 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8419 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8420 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8421 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8423 2014-07-02 Florian Weimer <fweimer@redhat.com>
8425 * manual/locale.texi (Locale Names): New section documenting
8426 locale name syntax. Adjust menu and node chaining accordingly.
8427 (Choosing Locale): Reference Locale Names, Locale Categories.
8428 Mention setting LC_ALL=C. Reflect that name syntax is now
8430 (Locale Categories): New section title. Reference Locale Names.
8431 LC_ALL is an environment variable, but not a category.
8432 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8433 description, now in Locale Name. Reference that section. Locale
8434 name syntax is now documented.
8436 2014-07-02 Florian Weimer <fweimer@redhat.com>
8439 * locale/findlocale.c (name_present, valid_locale_name): New
8441 (_nl_find_locale): Use the loc_name variable to store name
8442 candidates. Call name_present and valid_locale_name to check and
8443 validate locale names. Return an error if the locale is invalid.
8445 2014-07-02 Florian Weimer <fweimer@redhat.com>
8447 * locale/setlocale.c (setlocale): Use strdup for allocating
8448 composite name copy.
8450 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8452 Sync up with gnulib.
8453 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8454 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8455 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8456 and _GL_ARG_NONNULL.
8457 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8458 [!_LIBC]: Include code for Windows and Cygwin.
8459 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8460 Include prototype for int strerror_r.
8461 [!_LIBC] (is_open): New function.
8462 (flush_stdout): New function.
8463 (print_errno_message): Use it.
8465 (error_at_line): Likewise.
8466 (error_tail) Add function attribute macros. Use
8469 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8471 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8473 * io/ftw.c: Include sys/param.h unconditionally.
8475 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8478 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8480 (freecache): New function to free CACHE on exit.
8482 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8485 2014-07-09 David S. Miller <davem@davemloft.net>
8487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8489 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8490 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8491 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8492 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8493 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8494 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8495 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8496 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8497 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8498 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8499 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8500 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8501 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8503 2014-07-09 Andreas Schwab <schwab@suse.de>
8505 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8507 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8508 (do_test): Likewise.
8510 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8512 2014-07-09 Will Newton <will.newton@linaro.org>
8514 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8515 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8516 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8517 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8518 * sysdeps/hppa/start.S (_start): Likewise.
8520 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8522 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8524 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8527 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8529 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8530 after checking that it is non-NULL.
8532 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8534 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8536 * sysdeps/powerpc/memmove.c: Remove file.
8537 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8538 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8539 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8540 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8541 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8542 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8543 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8544 string memmove instead of removed powerpc one.
8546 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8547 [weak_alias]: Fix compiler warning due trailing data.
8548 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8549 [weak_alias]: Likewise.
8550 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8551 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8553 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8554 (__libc_ifunc_impl_list): Add memmove functions.
8556 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8558 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8560 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8562 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8564 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8566 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8568 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8570 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8572 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8574 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8576 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8578 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8580 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8582 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8584 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8586 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8588 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8590 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8593 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8595 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8596 to avoid alignment traps in non-cacheable memory.
8597 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8599 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8601 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8602 file: multiarch power7 memmove.
8603 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8604 multiarch default memmove.
8605 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8606 multiarch memove for powerpc32/power4.
8608 * string/bcopy.c: Use full path to include memmove.c.
8609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8611 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8612 bcopy for powerpc64.
8613 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8614 bcopy for powerpc64.
8615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8616 and memmove implementations.
8617 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8618 optimized multiarch memmove for POWER7/powerpc64.
8619 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8620 default multiarch memmove for powerpc64.
8621 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8622 multiarch for powerpc64.
8623 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8624 for POWER7/powerpc64.
8625 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8626 memmove for POWER7/powerpc64.
8628 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8631 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8632 __ELF_NATIVE_CLASS equal to 64.
8634 2014-07-07 Roland McGrath <roland@hack.frob.com>
8636 * sysdeps/nptl/lowlevellock.h: File removed.
8638 * NEWS: NPTL is no longer an add-on!
8639 * nptl/internaltypes.h: Moved ...
8640 * sysdeps/nptl/internaltypes.h: ... here.
8641 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8642 * sysdeps/nptl/fork.c: Likewise.
8643 * sysdeps/nptl/gai_misc.h: Likewise.
8644 * sysdeps/nptl/librt-cancellation.c: Likewise.
8645 * sysdeps/nptl/jmp-unwind.c: Likewise.
8646 * sysdeps/nptl/setxid.h: Likewise.
8647 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8648 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8649 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8650 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8651 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8652 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8653 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8654 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8655 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8656 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8657 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8658 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8659 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8660 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8661 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8662 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8663 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8664 * nptl/Makeconfig: Moved ...
8665 * sysdeps/nptl/Makeconfig: ... here.
8666 * nptl/configure: File removed.
8667 * nptl/ANNOUNCE: File removed.
8668 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8669 * sysdeps/unix/sysv/linux/configure: Regenerated.
8671 * nptl/Makefile (routines): Add libc_pthread_init,
8672 libc_multiple_threads, register-atfork and unregister-atfork.
8673 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8674 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8675 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8676 pthread-pi-defines.sym, structsem.sym.
8677 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8678 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8679 [$(subdir) = nptl] (tests): Add tst-setgetname.
8680 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8681 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8682 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8683 [!LIBC_SIGACTION]: Remove aliases.
8684 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8685 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8686 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8687 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8688 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8689 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8690 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8691 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8692 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8693 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8694 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8695 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8696 __libc_allocate_rtsig_private.
8697 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8698 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8699 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8700 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8701 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8702 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8703 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8704 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8705 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8706 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8707 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8708 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8709 * nptl/internaltypes.h: ... here.
8710 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8711 * sysdeps/nptl/jmp-unwind.c: ... here.
8712 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8713 * nptl/libc-lowlevellock.c: ... here.
8714 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8715 * nptl/libc_multiple_threads.c: ... here.
8716 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8717 * nptl/libc_pthread_init.c: ... here.
8718 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8719 * nptl/lowlevelbarrier.sym: ... here.
8720 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8721 * nptl/lowlevelcond.sym: ... here.
8722 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8723 * nptl/lowlevellock.c: ... here.
8724 * nptl/lowlevellock.h: Moved ...
8725 * sysdeps/nptl/lowlevellock.h: ... here.
8726 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8727 * nptl/lowlevelrobustlock.c: ... here.
8728 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8729 * nptl/lowlevelrobustlock.sym: ... here.
8730 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8731 * nptl/lowlevelrwlock.sym: ... here.
8732 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8733 * nptl/pt-fork.c: ... here.
8734 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8735 * nptl/pthread-pi-defines.sym: ... here.
8736 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8737 * nptl/pthread_attr_getaffinity.c: ... here.
8738 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8739 * nptl/pthread_attr_setaffinity.c: ... here.
8740 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8741 * nptl/pthread_mutex_cond_lock.c: ... here.
8742 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8744 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8745 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8746 * nptl/pthread_once.c: ... here, replacing old file.
8747 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8748 * nptl/pthread_yield.c: ... here.
8749 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8750 * nptl/register-atfork.c: ... here.
8751 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8752 * nptl/sem_post.c: ... here.
8753 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8754 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8755 * nptl/sem_timedwait.c: ... here.
8756 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8757 * nptl/sem_trywait.c: ... here.
8758 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8759 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8760 * nptl/sem_wait.c: ... here.
8761 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8762 * nptl/structsem.sym: ... here.
8763 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8764 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8765 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8766 * nptl/unregister-atfork.c: ... here.
8767 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8768 * nptl/unwindbuf.sym: ... here.
8769 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8770 * sysdeps/nptl/fork.c: ... here.
8771 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8772 * sysdeps/nptl/fork.h: ... here.
8773 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8774 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8775 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8776 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8777 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8778 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8779 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8780 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8781 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8782 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8783 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8784 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8785 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8786 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8787 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8788 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8789 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8790 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8791 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8792 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8793 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8794 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8795 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8796 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8797 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8798 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8799 * sysdeps/unix/sysv/linux/raise.c: ... here.
8800 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8801 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8802 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8803 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8804 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8805 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8806 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8807 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8808 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8809 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8810 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8811 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8812 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8813 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8814 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8816 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8818 * sysdeps/generic/memcopy.h: Add comment for
8819 MEMCPY_OK_FOR_FWD_MEMMOVE.
8821 2014-07-04 Will Newton <will.newton@linaro.org>
8823 * string/memchr.c: Merge from gnulib.
8824 [_LIBC]: Remove conditionals.
8825 (__ptr_t): Remove define.
8826 (LONG_MAX_32_BITS): Likewise.
8827 (LONG_MAX): Likewise.
8828 (MEMCHR): Use ANSI prototype and optimize algorithm.
8830 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8832 2014-07-03 Roland McGrath <roland@hack.frob.com>
8834 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8835 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8837 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8838 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8839 in a bare environment with no <stdlib.h> installed.
8840 * sysdeps/nptl/configure: Regenerated.
8842 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8844 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8845 AC_EGREP_CPP for kernel header checks, so they only succeed if
8846 including <linux/version.h> actually works right.
8847 * sysdeps/unix/sysv/linux/configure: Regenerated.
8849 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8850 value so it's not diagnosed as unused.
8852 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8853 thing) with "ifeq ($(subdir),rt)".
8855 2014-07-03 Richard Henderson <rth@redhat.com>
8857 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8858 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8859 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8861 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8862 (math_force_eval): New.
8864 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8865 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8867 * sysdeps/alpha/fpu/s_round.c: Remove file.
8868 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8870 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8871 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8872 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8873 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8874 (_dl_start, print_statistics): Likewise.
8875 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8876 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8878 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8879 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8880 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8881 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8882 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8883 (HP_SMALL_TIMING_AVAIL): Define.
8884 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8885 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8886 (HP_SMALL_TIMING_AVAIL): Define.
8887 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8888 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8890 * sysdeps/aarch64/hp-timing.h: New file.
8892 * sysdeps/generic/hp-timing.h: Remove dead comment.
8893 * sysdeps/generic/hp-timing-common.h: New file.
8894 * sysdeps/alpha/hp-timing.h: Include it.
8895 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8896 * sysdeps/i386/i686/hp-timing.h: Likewise.
8897 * sysdeps/ia64/hp-timing.h: Likewise.
8898 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8899 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8900 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8901 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8902 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8903 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8906 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8907 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8908 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8909 * elf/rtld.c (_dl_start_final): Likewise.
8910 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8911 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8912 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8913 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8914 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8915 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8916 (HP_TIMING_DIFF_INIT): Remove.
8917 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8918 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8919 (HP_TIMING_DIFF_INIT): Remove.
8920 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8921 * sysdeps/i386/i686/hp-timing.c: Remove file.
8922 * sysdeps/x86_64/hp-timing.c: Remove file.
8923 * sysdeps/ia64/hp-timing.c: Remove file.
8924 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8925 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8926 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8927 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8929 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8930 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8931 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8932 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8933 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8934 (HP_TIMING_ACCUM): Remove.
8935 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8936 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8937 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8939 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8940 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8941 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8942 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8943 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8944 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8945 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8946 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8948 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8950 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8952 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8954 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8956 Sync up with gettext.
8957 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8958 [_MSC_VER]: Include malloc.h
8959 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8960 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8961 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8962 TEMP_FAILURE_RETRY. Cast return of alloca.
8963 [!_LIBC] Call gl_rwlock_init.
8964 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8966 2014-07-02 Roland McGrath <roland@hack.frob.com>
8968 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8969 before checking its value.
8971 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8973 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8975 * debug/memcpy_chk.c: Don't include pagecopy.h.
8976 * debug/mempcpy_chk.c: Likewise.
8977 * string/memcpy.c: Likewise.
8978 * string/memmove.c: Likewise.
8979 * sysdeps/powerpc/memmove.c: Likewise.
8980 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8981 definition of PAGE_COPY_FWD_MAYBE here...
8982 * sysdeps/generic/pagecopy.h: ... from here.
8983 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8985 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8986 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8988 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8992 (__libc_ifunc_impl_list): Likewise.
8993 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8994 multiarch strcat for PPC64.
8995 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8996 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8998 2014-07-02 Roland McGrath <roland@hack.frob.com>
9000 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9002 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9004 * intl/loadmsgcat.c: Remove declaration of
9005 get_sysdep_segment_value.
9006 (get_sysdep_segment_value): Use ISO C style.
9007 (_nl_load_domain): Use ISO C style. Get rid of redundant
9008 semicolon. Fix typo and formatting in comment.
9009 (_nl_unload_domain): Use ISO C style.
9011 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9013 2014-07-02 Will Newton <will.newton@linaro.org>
9015 * malloc/obstack.c: Merge from gnulib master.
9016 [HAVE_CONFIG_H]: Remove conditional code.
9017 [!_LIBC]: Include config.h.
9018 [!ELIDE_CODE]: Don't include inttypes.h, include
9019 stdint.h unconditionally.
9020 (print_and_abort): Mark as _Noreturn.
9021 (_obstack_allocated_p): Mark as __attribute_pure__.
9022 (obstack_free): Rename to __obstack_free.
9023 [!__attribute__]: Remove conditional code.
9024 * malloc/obstack.h: Merge from gnulib master.
9025 [__cplusplus]: Move conditional down.
9026 [!__attribute_pure__]: Define __attribute_pure__ here
9027 if it is not already defined.
9028 (_obstack_memory_used): Mark as __attribute_pure__.
9029 [!__obstack_free]: Define as obstack_free.
9030 [__GNUC__]: Remove check for ancient NeXT gcc.
9032 2014-07-02 Will Newton <will.newton@linaro.org>
9033 Paul Eggert <eggert@cs.ucla.edu>
9035 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9037 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9039 * resolv/gethnamaddr.c: Add comment warning that the file is
9042 2014-07-01 Carlos O'Donell <carlos@redhat.com>
9044 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9047 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9048 entry for aio_cancel and aio_cancel64.
9049 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9050 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9051 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9052 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9053 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9054 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9055 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9056 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9057 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9058 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9059 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9060 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9061 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9063 2014-07-01 Roland McGrath <roland@hack.frob.com>
9065 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9066 * nptl/pthread_mutex_lock.c: Likewise.
9067 * nptl/pthread_mutex_timedlock.c: Likewise.
9068 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9070 2014-07-01 Richard henderson <rth@redhat.com>
9072 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9073 (__isnan, __isnanl): Remove.
9074 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9076 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9078 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9080 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9082 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9084 * resolv/nss_dns/dns-host.c (getanswer_r)
9085 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9087 2014-07-01 Joseph Myers <joseph@codesourcery.com>
9089 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9090 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9092 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9093 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9095 2014-07-01 Roland McGrath <roland@hack.frob.com>
9097 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9098 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9100 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9101 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9103 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9104 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9106 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9107 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9109 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9110 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9111 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9112 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9114 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9115 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9116 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9117 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9118 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9120 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9122 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9123 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9124 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9125 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9126 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9127 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9128 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9129 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9130 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9131 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9132 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9133 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9134 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9135 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9136 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9137 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9138 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9139 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9140 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9141 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9143 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9144 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9145 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9146 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9147 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9148 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9149 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9150 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9152 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9154 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9155 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9156 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9159 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9163 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9165 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9166 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9168 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9170 * sysdeps/arm/libm-test-ulps: Regenerated.
9172 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9173 Roland McGrath <roland@hack.frob.com>
9175 * test-skeleton.c (signal_handler): Kill the whole process group
9176 before killing the child individually.
9177 (main): Report any failure on `setpgid'.
9179 2014-06-30 Roland McGrath <roland@hack.frob.com>
9181 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9182 from _TLS_H to _ARM_NPTL_TLS_H.
9183 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9184 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9186 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9189 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9190 (__expm1l): Return argument unchanged when small but not
9193 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9195 (_FP_UNPACK_RAW_1_P): Likewise.
9196 (_FP_PACK_RAW_1): Likewise.
9197 (_FP_PACK_RAW_1_P): Likewise.
9198 (_FP_MUL_MEAT_1_wide): Likewise.
9199 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9200 (_FP_MUL_MEAT_1_hard): Likewise.
9201 (_FP_DIV_MEAT_1_imm): Likewise.
9202 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9203 (_FP_DIV_MEAT_1_udiv): Likewise.
9204 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9205 (_FP_UNPACK_RAW_2): Likewise.
9206 (_FP_UNPACK_RAW_2_P): Likewise.
9207 (_FP_PACK_RAW_2): Likewise.
9208 (_FP_PACK_RAW_2_P): Likewise.
9209 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9210 (_FP_MUL_MEAT_2_wide): Likewise.
9211 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9212 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9213 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9214 (_FP_MUL_MEAT_2_gmp): Likewise.
9215 (_FP_DIV_MEAT_2_udiv): Likewise.
9216 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9217 (_FP_FRAC_SRL_4): Likewise.
9218 (_FP_FRAC_SRST_4): Likewise.
9219 (_FP_FRAC_SRS_4): Likewise.
9220 (_FP_UNPACK_RAW_4): Likewise.
9221 (_FP_UNPACK_RAW_4_P): Likewise.
9222 (_FP_PACK_RAW_4): Likewise.
9223 (_FP_PACK_RAW_4_P): Likewise.
9224 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9225 (_FP_MUL_MEAT_4_wide): Likewise.
9226 (_FP_MUL_MEAT_4_gmp): Likewise.
9227 (umul_ppppmnnn): Likewise.
9228 (_FP_DIV_MEAT_4_udiv): Likewise.
9229 (__FP_FRAC_ADD_4): Likewise.
9230 (__FP_FRAC_SUB_3): Likewise.
9231 (__FP_FRAC_SUB_4): Likewise.
9232 (__FP_FRAC_DEC_3): Likewise.
9233 (__FP_FRAC_DEC_4): Likewise.
9234 (__FP_FRAC_ADDI_4): Likewise.
9235 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9236 (_FP_FRAC_SRL_8): Likewise.
9237 (_FP_FRAC_SRS_8): Likewise.
9239 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9241 (FP_UNPACK_RAW_EP): Likewise.
9242 (FP_PACK_RAW_E): Likewise.
9243 (FP_PACK_RAW_EP): Likewise.
9244 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9245 (_FP_ISSIGNAN): Likewise.
9246 (_FP_ADD_INTERNAL): Likewise.
9247 (_FP_FMA): Likewise.
9248 (_FP_CMP): Likewise.
9249 (_FP_SQRT): Likewise.
9250 (_FP_TO_INT): Likewise.
9251 (_FP_FROM_INT): Likewise.
9252 (FP_EXTEND): Likewise.
9253 (_FP_DIV_MEAT_N_loop): Likewise.
9255 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9257 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9260 2014-06-29 Joseph Myers <joseph@codesourcery.com>
9263 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9264 result with correct sign in case of exponents that produce
9265 overflow except for X very close to 1.
9267 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9269 mktime: merge #if/#ifdef usage from glibc
9270 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9271 as that works with both Glibc's and Gnulib's style.
9272 See thread starting at Siddhesh Poyarekar's bug report at:
9273 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9275 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9277 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9278 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9279 * sysdeps/tile/tilegx/memmove.c: Remove file.
9281 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9283 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9284 abi-name definition.
9285 * scripts/soversions.awk: Do not handle or generate ABI lines.
9286 * shlib-versions: Remove ABI entries.
9287 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9288 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9290 2014-06-27 Roland McGrath <roland@hack.frob.com>
9292 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9293 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9294 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9295 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9296 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9297 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9298 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9300 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9302 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9303 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9304 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9305 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9306 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9307 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9308 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9309 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9310 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9311 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9312 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9313 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9314 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9316 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9317 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9318 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9319 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9320 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9321 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9323 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9324 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9326 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9327 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9328 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9329 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9331 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9332 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9333 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9334 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9335 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9336 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9337 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9338 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9340 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9341 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9342 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9343 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9345 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9346 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9348 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9349 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9350 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9351 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9353 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9355 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9356 Identical file removed.
9357 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9359 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9360 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9361 Identical file removed.
9362 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9363 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9364 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9366 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9367 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9368 Identical file removed.
9369 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9370 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9371 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9372 Identical file removed.
9373 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9374 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9375 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9376 Identical file removed.
9377 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9378 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9379 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9380 Identical file removed.
9381 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9383 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9384 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9385 Identical file removed.
9386 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9388 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9389 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9390 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9391 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9392 Identical file removed.
9393 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9395 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9397 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9398 Identical file removed.
9399 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9401 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9402 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9403 Identical file removed.
9404 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9406 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9407 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9408 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9409 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9410 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9411 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9413 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9414 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9415 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9417 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9418 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9419 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9420 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9421 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9423 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
9426 * nscd/nscd.c (monitor_child): Return exit status of child
9427 instead of return value from wait syscall.
9429 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9431 * configure.ac (libc_commonpagesize): Remove variable.
9432 (libc_relro_required): Likewise.
9433 (libc_cv_z_relro): Remove configure test.
9434 * configure: Regenerated.
9435 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9437 (libc_relro_required): Likewise.
9438 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9439 (libc_relro_required): Likewise.
9440 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9441 (libc_relro_required): Likewise.
9442 * sysdeps/arm/preconfigure: Regenerated.
9443 * sysdeps/ia64/preconfigure: Remove file.
9444 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9446 (libc_relro_required): Likewise.
9450 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9451 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9452 recompute overflowing results in original rounding mode.
9453 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9454 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9455 recompute overflowing results in original rounding mode.
9456 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9457 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9458 recompute overflowing results in original rounding mode.
9459 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9460 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9461 recompute overflowing results in original rounding mode.
9462 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9463 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9464 recompute overflowing results in original rounding mode.
9465 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9466 (libc_feholdsetround_ctx): New macro.
9467 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9468 * sysdeps/i386/fpu/libm-test-ulps: Update.
9469 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9471 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9473 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9474 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9475 corresponding .cpsetup call.
9477 2014-06-26 Roland McGrath <roland@hack.frob.com>
9479 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9480 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9481 * sysdeps/arm/Makefile [$(subdir) = csu]
9482 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9483 (static-only-routines): Add aeabi_read_tp here.
9484 (shared-only-routines): Add libc-aeabi_read_tp here.
9485 (CFLAGS-libc-start.c): Add -fexceptions here.
9486 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9487 (sysdep_routines, static-only-routines, shared-only-routines):
9488 Don't add to these here.
9489 (CFLAGS-libc-start.c): Likewise.
9491 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9492 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9493 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9494 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9495 * sysdeps/arm/Makefile [$(subdir) = rt]
9496 (librt-sysdep_routines, librt-shared-only-routines):
9497 Append rt-aeabi_unwind_cpp_pr1 here.
9498 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9499 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9500 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9501 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9502 Append nptl-aeabi_unwind_cpp_pr1 here.
9503 (tests): Filter out tst-cleanupx4 here.
9504 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9505 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9506 Don't do those here.
9508 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9510 * scripts/list-sources.sh: Do not handle ports specially.
9512 2014-06-26 Roland McGrath <roland@hack.frob.com>
9514 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9515 * sysdeps/arm/feupdateenv.c: Likewise.
9517 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9519 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9521 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9522 trailing whitespace removed.
9523 * scripts/config.guess: Update to version 2014-03-23.
9524 * scripts/config.sub: Update to version 2014-05-01
9525 * scripts/install-sh: Update to version 2013-12-25.23.
9526 * scripts/move-if-change: Update from gnulib.
9528 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9530 * debug/memmove_chk.c: Remove pagecopy.h include.
9532 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9534 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9535 identical to gnulib mktime.
9537 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9539 * configure.ac: Do not test for machine being rs6000. Do not test
9541 * configure: Regenerated.
9543 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9545 * configure: Regenerated.
9546 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9547 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9548 Remove configure test.
9549 * sysdeps/arm/configure: Regenerated.
9550 * sysdeps/nptl/configure.ac: Do not check
9551 libc_cv_asm_cfi_directives.
9552 * sysdeps/nptl/configure: Regenerated.
9553 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9554 * sysdeps/x86_64/nptl/configure: Remove generated file.
9555 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9557 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9559 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9561 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9562 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9563 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9566 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9567 instead of whether it is defined.
9568 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9569 * sysdeps/hppa/dl-machine.h: Likewise.
9570 * sysdeps/ia64/dl-machine.h: Likewise.
9571 * sysdeps/m68k/dl-machine.h: Likewise.
9572 * sysdeps/microblaze/dl-machine.h: Likewise.
9573 * sysdeps/mips/dl-machine.: Likewise.
9574 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9575 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9576 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9577 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9578 * sysdeps/sh/dl-machine.h: Likewise.
9579 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9580 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9581 * sysdeps/tile/dl-machine.h: Likewise.
9582 * sysdeps/x86_64/dl-machine.h: Likewise.
9584 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9586 (verify_persistent_db): Likewise.
9588 2014-06-26 Roland McGrath <roland@hack.frob.com>
9590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9591 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9593 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9596 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9599 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9601 Identical file removed.
9602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9603 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9605 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9607 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9609 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9611 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9614 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9616 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9618 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9621 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9623 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9625 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9627 Identical file removed.
9628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9629 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9631 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9634 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9637 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9639 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9641 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9643 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9645 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9648 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9651 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9653 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9656 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9658 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9660 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9662 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9663 * sysdeps/unix/sysv/linux/s390/Versions
9664 (libpthread: GLIBC_2.19): New version set.
9665 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9666 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9667 (librt: GLIBC_2.3.3): New version set.
9668 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9669 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9670 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9671 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9672 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9673 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9674 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9675 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9676 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9677 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9678 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9679 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9680 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9681 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9682 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9683 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9684 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9685 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9686 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9687 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9688 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9689 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9690 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9691 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9692 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9693 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9694 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9695 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9696 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9697 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9698 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9699 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9700 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9701 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9702 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9703 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9704 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9705 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9706 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9707 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9708 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9709 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9710 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9711 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9712 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9714 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9715 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9716 (__libc_vfork): Define the function under this name.
9717 [!NOT_IN_libc] (__vfork): Make this an alias.
9718 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9719 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9720 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9721 (__libc_vfork): Define the function under this name.
9722 [!NOT_IN_libc] (__vfork): Make this an alias.
9723 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9724 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9725 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9726 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9727 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9728 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9730 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9731 code that was previously under [RESET_PID].
9732 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9733 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9734 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9736 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9737 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9738 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9739 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9740 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9741 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9742 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9743 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9744 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9745 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9746 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9748 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9749 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9750 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9751 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9752 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9753 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9754 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9755 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9756 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9757 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9758 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9759 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9760 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9761 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9762 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9763 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9764 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9765 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9766 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9767 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9768 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9769 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9770 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9771 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9772 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9773 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9774 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9775 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9776 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9778 2014-06-25 Roland McGrath <roland@hack.frob.com>
9780 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9781 that was previously under [RESET_PID].
9782 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9784 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9786 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9787 not undefine and redefine.
9788 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9789 [O_CLOEXEC]: Make code unconditional.
9790 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9791 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9792 <kernel-features.h>.
9793 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9794 conditional variable definition.
9795 (shm_open) [O_CLOEXEC]: Make code unconditional.
9796 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9799 * configure.ac (USE_REGPARMS): Don't define here.
9800 * configure: Regenerated.
9801 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9802 * sysdeps/i386/configure: Regenerated.
9804 * nptl/createthread.c: Don't include kernel-features.h.
9805 * nptl/pthread_cancel.c: Likewise.
9806 * nptl/pthread_condattr_setclock.c: Likewise.
9807 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9808 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9809 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9810 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9811 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9812 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9813 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9814 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9815 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9816 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9817 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9818 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9819 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9820 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9821 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9822 * nscd/gai.c: Likewise.
9823 * nss/nss_db/db-open.c: Likewise.
9824 * sysdeps/generic/ldsodefs.h: Likewise.
9825 * sysdeps/sh/nptl/tls.h: Likewise.
9826 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9827 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9828 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9829 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9830 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9831 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9832 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9833 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9834 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9835 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9836 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9837 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9838 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9839 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9840 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9841 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9842 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9843 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9844 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9845 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9846 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9847 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9848 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9849 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9850 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9851 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9852 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9853 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9854 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9855 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9856 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9857 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9858 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9859 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9860 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9861 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9862 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9863 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9864 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9865 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9866 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9867 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9868 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9869 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9870 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9871 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9872 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9873 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9874 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9875 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9876 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9877 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9878 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9879 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9880 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9881 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9882 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9883 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9906 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9907 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9908 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9909 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9910 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9911 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9912 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9913 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9914 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9915 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9916 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9917 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9918 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9919 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9920 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9921 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9922 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9923 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9924 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9925 * sysdeps/unix/sysv/linux/system.c: Likewise.
9926 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9927 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9928 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9929 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9930 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9931 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9932 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9934 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9935 * configure: Regenerated.
9936 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9938 * configure.ac (base_machine): Do not set specially for particular
9940 * configure: Regenerated.
9941 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9942 settings from configure.ac.
9943 * sysdeps/i386/preconfigure: New file.
9944 * sysdeps/s390/preconfigure: Likewise.
9945 * sysdeps/sh/preconfigure: Likewise.
9946 * sysdeps/sparc/preconfigure: Likewise.
9948 2014-06-25 Roland McGrath <roland@hack.frob.com>
9950 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9951 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9952 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9953 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9954 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9955 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9956 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9957 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9958 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9959 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9960 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9961 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9962 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9963 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9964 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9965 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9966 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9967 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9968 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9970 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9971 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9972 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9973 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9974 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9975 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9976 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9977 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9978 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9979 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9980 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9981 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9982 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9983 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9984 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9985 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9986 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9987 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9988 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9989 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9990 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9991 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9992 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9993 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9994 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9995 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9996 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9997 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9998 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9999 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10000 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10001 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10002 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10003 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10004 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10005 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10006 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10007 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10010 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10012 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10015 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10018 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10020 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10023 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10025 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10027 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10029 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10032 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10035 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10037 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10040 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10042 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10044 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10046 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10048 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10051 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10054 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10056 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10059 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10061 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10063 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10065 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10068 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10071 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10073 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10076 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10078 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10080 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10082 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10084 * timezone/checktab.awk: Update from tzcode 2014e.
10085 * timezone/private.h: Likewise.
10086 * timezone/tzfile.h: Likewise.
10087 * timezone/zdump.c: Likewise.
10088 * timezone/zic.c: Likewise.
10090 * sysdeps/unix/sysv/linux/kernel-features.h
10091 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10092 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10093 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10094 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10095 Remove conditional code.
10097 2014-06-25 Will Newton <will.newton@linaro.org>
10099 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10100 (_dl_arm_cap_flags): Add HWCAP2 values.
10101 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10102 (_DL_HWCAP_COUNT): Increase to 37.
10103 (_DL_HWCAP_LAST): New define.
10104 (_DL_HWCAP2_LAST): New define.
10105 (_dl_procinfo): Add support for printing
10107 (_dl_string_hwcap): Use _dl_hwcap_string.
10109 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10113 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10115 * README: Do not mention ports directory.
10117 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10119 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10120 <kernel-features.h>.
10121 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10122 conditional variable definition.
10123 (__futimes): Update comment.
10124 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10125 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10128 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10129 arguments close to 0.
10130 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10132 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10134 * math/auto-libm-test-in: Add more tests of exp10.
10135 * math/auto-libm-test-out: Regenerated.
10136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10138 * sysdeps/unix/sysv/linux/kernel-features.h
10139 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10140 * sysdeps/unix/sysv/linux/readv.c: Do not include
10141 <kernel-features.h>.
10142 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10143 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10144 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10146 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10148 * sysdeps/unix/sysv/linux/writev.c: Do not include
10149 <kernel-features.h>.
10150 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10151 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10152 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10154 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10157 2014-06-25 Will Newton <will.newton@linaro.org>
10159 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10160 comment changes throughout the file. Remove checks
10161 for HAVE_*_H definitions that are not required.
10162 (__gen_tempname): Call abort if an unknown kind value is
10165 2014-06-25 Andreas Schwab <schwab@suse.de>
10168 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10169 scalbln, scalblnf, scalblnl in libc.
10171 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10174 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10175 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10176 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10178 2014-06-24 Roland McGrath <roland@hack.frob.com>
10180 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10181 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10182 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10183 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10185 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10186 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10188 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10189 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10190 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10191 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10192 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10193 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10194 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10195 * sysdeps/x86/bits/semaphore.h: ... here.
10196 * sysdeps/x86/nptl/elide.h: Moved ...
10197 * sysdeps/x86/elide.h: ... here.
10198 * sysdeps/x86_64/nptl/Implies: File removed.
10199 * sysdeps/i386/nptl/Implies: File removed.
10201 2014-06-24 Joseph Myers <joseph@codesourcery.com>
10204 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10205 return the argument for normal arguments with exponent below -64.
10206 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10208 * math/auto-libm-test-in: Add another test of expm1.
10209 * math/auto-libm-test-out: Regenerated.
10212 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10213 calling __erfcl for arguments at least 16.
10214 * math/auto-libm-test-in: Add more tests of erf.
10215 * math/auto-libm-test-out: Regenerated.
10217 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10218 individual architectures.
10219 * sysdeps/unix/sysv/linux/configure: Regenerated.
10220 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10221 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10222 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10223 (ldd_rewrite_script): Define variable.
10224 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10229 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10230 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10231 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10232 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10233 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10234 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10235 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10236 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10238 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10241 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10242 Rename member __data.d to __data.__elision_data.
10244 2014-06-24 Wilco <wdijkstr@arm.com>
10246 * NEWS: Add 16918 to fixed bug list.
10248 2014-06-24 Wilco <wdijkstr@arm.com>
10250 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10252 2014-06-24 Wilco <wdijkstr@arm.com>
10254 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10255 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10256 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10257 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10258 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10259 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10260 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10263 2014-06-24 Wilco <wdijkstr@arm.com>
10265 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10267 2014-06-24 Wilco <wdijkstr@arm.com>
10269 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10270 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10271 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10272 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10274 2014-06-24 Wilco <wdijkstr@arm.com>
10277 * sysdeps/arm/feupdateenv.c (feupdateenv):
10278 Rewrite to reduce FPSCR accesses and fix return value.
10280 2014-06-24 Wilco <wdijkstr@arm.com>
10282 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10283 Optimize to avoid unnecessary FPSCR writes.
10284 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10285 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10286 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10287 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10289 2014-06-24 Wilco <wdijkstr@arm.com>
10291 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10292 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10293 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10294 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10295 Call libc_fetestexcept_vfp.
10296 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10297 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10298 __SOFTFP__ ifdef so that they can be built for softfp.
10300 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10302 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10303 argument type signed char.
10305 * Makerules (check-abi): Dump diff of symlist if the test
10308 2014-06-23 Roland McGrath <roland@hack.frob.com>
10310 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10313 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10314 Remove unused variable ST.
10316 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10320 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10321 small arguments before calling __expm1.
10322 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10323 small arguments before calling __expm1f.
10324 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10325 small arguments before calling __expm1l.
10326 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10328 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10329 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10330 spurious underflow for some cosh tests.
10331 * math/auto-libm-test-out: Regenerated.
10332 * sysdeps/i386/fpu/libm-test-ulps: Update.
10335 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10336 (__ieee754_y1): Set errno if return value overflows.
10337 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10338 (__ieee754_y1f): Set errno if return value overflows.
10339 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10340 (__ieee754_y1l): Set errno if return value overflows.
10341 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10342 (__ieee754_y1l): Set errno if return value overflows.
10343 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10344 * math/auto-libm-test-out: Regenerated.
10346 * math/gen-auto-libm-tests.c: Document use of
10347 ignore-zero-inf-sign.
10348 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10349 (input_flags): Add ignore-zero-inf-sign.
10350 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10351 * math/gen-libm-test.pl (generate_testfile): Handle
10352 ignore-zero-inf-sign.
10353 * math/auto-libm-test-in: Mark some cpow tests with
10354 ignore-zero-inf-sign and some with xfail-rounding.
10355 * math/auto-libm-test-out: Regenerated.
10356 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10357 * sysdeps/i386/fpu/libm-test-ulps: Update.
10358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10361 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10362 overflowing or underflowing operations take place with sign of
10364 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10365 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10366 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10367 (__ieee754_pow): Recompute overflowing and underflowing results in
10368 original rounding mode.
10369 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10370 (__powl_helper): Allow negative argument X and scale negated value
10371 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10372 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10373 overflowing or underflowing operations take place with sign of
10375 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10377 * math/auto-libm-test-in: Add more tests of pow.
10378 * math/auto-libm-test-out: Regenerated.
10379 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10380 (pow_tonearest_test_data): Remove.
10381 (pow_test_tonearest): Likewise.
10382 (pow_towardzero_test_data): Likewise.
10383 (pow_test_towardzero): Likewise.
10384 (pow_downward_test_data): Likewise.
10385 (pow_test_downward): Likewise.
10386 (pow_upward_test_data): Likewise.
10387 (pow_test_upward): Likewise.
10388 (main): Don't call removed functions.
10389 * sysdeps/i386/fpu/libm-test-ulps: Update.
10390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10392 2014-06-23 Roland McGrath <roland@hack.frob.com>
10394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10568 2014-06-23 Will Newton <will.newton@linaro.org>
10569 Wilco <wdijkstr@arm.com>
10571 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10572 implementation. Include get-rounding-mode.h.
10573 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10574 [!libc_feholdsetround_noex_ctx]: Define
10575 libc_feholdsetround_noex_ctx.
10576 [!libc_feholdsetround_noexf_ctx]: Define
10577 libc_feholdsetround_noexf_ctx.
10578 [!libc_feholdsetround_noexl_ctx]: Define
10579 libc_feholdsetround_noexl_ctx.
10580 (libc_feholdsetround_ctx): New function.
10581 (libc_feresetround_ctx): New function.
10582 (libc_feholdsetround_noex_ctx): New function.
10583 (libc_feresetround_noex_ctx): New function.
10585 2014-06-23 Roland McGrath <roland@hack.frob.com>
10587 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10588 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10589 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10590 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10591 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10592 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10594 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10595 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10596 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10597 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10598 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10599 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10600 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10601 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10602 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10603 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10604 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10606 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10608 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10609 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10610 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10611 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10612 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10614 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10615 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10616 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10617 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10618 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10619 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10620 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10621 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10623 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10624 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10626 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10627 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10628 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10629 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10631 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10632 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10633 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10634 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10635 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10636 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10637 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10638 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10639 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10640 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10642 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10644 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10645 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10646 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10647 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10648 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10649 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10650 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10651 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10652 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10653 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10654 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10655 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10656 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10658 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10659 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10660 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10661 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10662 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10663 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10665 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10666 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10667 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10668 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10669 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10671 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10672 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10673 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10674 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10675 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10676 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10677 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10678 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10679 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10680 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10681 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10682 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10683 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10684 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10685 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10686 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10687 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10688 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10689 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10690 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10691 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10692 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10693 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10694 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10695 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10696 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10697 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10698 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10700 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10702 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10703 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10704 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10705 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10706 (IPV6_PMTUDISC_INTERFACE): Likewise.
10707 (IPV6_PMTUDISC_OMIT): Likewise.
10709 2014-06-23 Andreas Schwab <schwab@suse.de>
10711 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10712 Remove unused errout label.
10714 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10716 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10717 macro: hardware supports Vector Crypto instructions.
10719 2014-06-23 Will Newton <will.newton@linaro.org>
10721 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10722 rather than __builtin_expect.
10724 * elf/dl-lookup.c (undefined_msg): Remove variable.
10725 (_dl_lookup_symbol_x): Replace undefined_msg with string
10728 * elf/dl-lookup.c (do_lookup_unique): New function.
10729 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10730 to a separate function.
10732 2014-06-23 Andreas Schwab <schwab@suse.de>
10735 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10736 before reading the next line.
10738 2014-06-23 Will Newton <will.newton@linaro.org>
10740 * test-skeleton.c (signal_handler): Use printf and %m
10741 rather than perror. Use printf rather than fprintf to
10742 stderr. Use puts rather than fputs to stderr.
10745 2014-06-22 Ludovic Courtès <ludo@gnu.org>
10747 * nscd/nscd.c (thread_info_t): Remove typedef.
10748 (thread_info): Remove variable.
10750 2014-06-21 Allan McRae <allan@archlinux.org>
10752 * NEWS: Mention CVE-2014-4043.
10754 2014-06-20 Roland McGrath <roland@hack.frob.com>
10756 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10757 * nptl/smp.h: ... here.
10759 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10761 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10762 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10763 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10764 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10766 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10767 * nptl/stack-aliasing.h: New file.
10768 * sysdeps/i386/i686/stack-aliasing.h: New file.
10769 * sysdeps/i386/i686/nptl/Makefile: File removed.
10770 * sysdeps/x86_64/stack-aliasing.h: New file.
10771 * sysdeps/x86_64/nptl/Makefile
10772 (CFLAGS-pthread_create.c): Variable removed.
10774 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10775 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10777 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10778 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10781 2014-06-21 Joseph Myers <joseph@codesourcery.com>
10783 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10784 (__ASSUME_SIGFRAME_V2): Remove macro.
10785 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10786 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10787 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10788 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10789 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10790 Declare as function. Remove conditional macro definitions.
10791 (__default_rt_sa_restorer): Likewise.
10792 (__default_sa_restorer_v1): Remove declaration.
10793 (__default_sa_restorer_v2): Likewise.
10794 (__default_rt_sa_restorer_v1): Likewise.
10795 (__default_rt_sa_restorer_v2): Likewise.
10796 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10797 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10798 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10800 2014-06-20 Roland McGrath <roland@hack.frob.com>
10802 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10803 (libpthread-routines): Add sysdep.
10804 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10805 * sysdeps/unix/sysv/linux/sparc/Versions
10806 (libpthread: GLIBC_2.3.3): New version set.
10807 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10808 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10809 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10810 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10811 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10812 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10814 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10815 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10816 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10817 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10818 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10819 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10820 * sysdeps/sparc/nptl/sem_init.c: ... here.
10821 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10822 * sysdeps/sparc/nptl/sem_post.c: ... here.
10823 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10824 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10825 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10826 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10827 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10828 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10829 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10830 (libpthread-routines): Add cpu_relax.
10831 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10833 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10834 (librt: GLIBC_2.3.3): New version set.
10835 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10836 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10837 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10838 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10839 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10840 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10841 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10844 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10846 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10847 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10848 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10849 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10850 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10852 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10855 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10857 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10859 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10863 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10867 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10871 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10873 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10875 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10878 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10879 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10880 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10884 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10886 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10887 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10889 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10890 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10891 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10892 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10893 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10895 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10897 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10898 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10899 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10900 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10901 * nscd/nscd.c: Likewise.
10902 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10903 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10904 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10905 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10907 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10908 <kernel-features.h>.
10909 (init_mq_netlink): Remove conditional have_sock_cloexec
10910 definitions. Remove code conditional on have_sock_cloexec < 0.
10911 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10912 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10913 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10914 <kernel-features.h>.
10915 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10916 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10918 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10920 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10921 Add tests for memset_chk and memset.
10923 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10926 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10929 * elf/tst-dl-iter-static.c: New file.
10930 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10932 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10935 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10937 * sysdeps/unix/sysv/linux/kernel-features.h
10938 (__ASSUME_F_GETOWN_EX): Remove macro.
10939 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10940 <kernel-features.h>.
10941 (miss_F_GETOWN_EX): Remove variable or macro.
10942 (do_fcntl): Do not check miss_F_GETOWN_EX.
10943 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10945 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10947 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10948 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10949 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10951 * sysdeps/unix/sysv/linux/kernel-features.h
10952 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10953 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10954 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10955 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10957 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10960 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10961 Fix calculation of the symbol's value.
10962 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10963 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10964 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10965 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10966 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10967 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10968 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10969 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10970 (modules-names): Add `tst-armtlsdescmod',
10971 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10972 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10973 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10974 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10975 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10976 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10977 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10978 ($(objpfx)tst-armtlsdescloc): New dependency.
10979 ($(objpfx)tst-armtlsdescextnow): Likewise.
10980 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10981 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10982 TLS scheme support.
10983 * sysdeps/arm/configure: Regenerate.
10985 2014-06-20 Joseph Myers <joseph@codesourcery.com>
10987 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10988 (__atfct_seterrno_2): Likewise.
10989 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10990 <kernel-features.h>.
10991 (__ASSUME_ATFCTS): Do not undefine and redefine.
10992 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10993 (__have_atfcts): Remove conditional definition.
10994 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10995 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10996 unreachable if [__ASSUME_ATFCTS].
10997 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10998 not undefine and redefine.
10999 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11000 <kernel-features.h>.
11001 (faccessat) [__NR_faccessat]: Make code unconditional.
11002 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11003 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11004 <kernel-features.h>.
11005 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11006 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11007 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11008 <kernel-features.h>.
11009 (fchownat) [__NR_fchownat]: Make code unconditional.
11010 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11011 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11012 <kernel-features.h>.
11013 (futimesat) [__NR_futimesat]: Make code unconditional.
11014 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11015 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11016 <kernel-features.h>.
11017 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11018 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11019 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11020 <kernel-features.h>.
11021 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11022 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11023 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11024 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11025 <kernel-features.h>.
11026 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11027 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11028 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11029 <kernel-features.h>.
11030 (linkat) [__NR_linkat]: Make code unconditional.
11031 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11032 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11033 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11034 <kernel-features.h>.
11035 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11036 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11037 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11038 <kernel-features.h>.
11039 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11040 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11041 * sysdeps/unix/sysv/linux/openat.c: Do not include
11042 <kernel-features.h>.
11043 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11044 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11045 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11046 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11047 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11048 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11049 <kernel-features.h>.
11050 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11051 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11052 result of INLINE_SYSCALL directly, not via int variable.
11053 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11054 <kernel-features.h>.
11055 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11056 (renameat) [__NR_renameat]: Make code unconditional.
11057 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11058 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11059 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11060 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11061 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11062 (__ASSUME_ATFCTS): Do not undefine and redefine.
11063 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11064 <kernel-features.h>.
11065 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11066 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11067 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11068 <kernel-features.h>.
11069 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11070 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11071 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11072 (__ASSUME_ATFCTS): Do not undefine and redefine.
11073 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11074 <kernel-features.h>.
11075 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11076 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11077 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11078 <kernel-features.h>.
11079 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11080 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11082 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11084 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11086 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11089 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11090 constructed tree before returning error.
11091 * posix/bug-regexp36.c: Expand test case.
11093 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11096 * math/libm-test.inc (scalbln_test_date):
11097 Add errno expectations.
11098 * math/w_scalblnf.c: New File.
11099 Add wrapper which checks for setting errno to ERANGE.
11100 Add weak_alias for corresponding scalbln function.
11101 * math/w_scalbln.c: Likewise.
11102 * math/w_scalblnl.c: Likewise.
11103 * math/Makefile (libm-calls): Add w_scalbln.
11104 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11105 Remove weak_alias for corresponding scalbln function.
11106 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11107 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11108 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11110 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11111 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11112 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11113 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11114 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11115 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11116 Remove long_double_symbol for scalblnl function in libm, libc.
11117 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11118 Add wrapper which checks for setting errno to ERANGE.
11119 Add long_double_symbol for scalblnl function in libm, libc.
11120 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11121 Remove long_double_symbol for scalblnl in libm.
11122 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11123 Add wrapper which checks for setting errno to ERANGE.
11124 Add long_double_symbol for scalblnl function in libm.
11125 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11126 Do not use wrapper because of own implementation.
11128 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11130 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11131 3 bytes for __pad1 for x32.
11132 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11134 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11135 H.J. Lu <hongjiu.lu@intel.com>
11137 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11138 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11139 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11140 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11141 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11143 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11146 * posix/regcomp.c (parse_expression): Deallocate partially
11147 constructed tree before returning error.
11148 * posix/Makefile.c (tests): Add bug-regex36.
11149 (generated): Add bug-regex36.mtrace.
11150 (tests-special): Add $(objpfx)bug-regex36-mem.out
11151 (bug-regex36-ENV): New variable.
11152 ($(objpfx)bug-regex36-mem.out): New rule.
11153 * posix/bug-regex36.c: New file.
11155 2014-06-19 Will Newton <will.newton@linaro.org>
11157 * malloc/malloc.c (systrim): If extra is zero then return
11160 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11162 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11164 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
11166 * sysdeps/aarch64/strchr.S: New file.
11168 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11171 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11172 from arguments -2 or below.
11173 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11174 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11176 2014-06-18 Andreas Schwab <schwab@suse.de>
11179 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11180 of a bracket expr not to run off the end of the string.
11181 * posix/Makefile (tests): Add tst-fnmatch3.
11182 * posix/tst-fnmatch3.c: New file.
11184 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11186 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11187 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11188 [$(cross-compiling) = no]: Likewise.
11189 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11190 [$(cross-compiling) = no]: Likewise.
11192 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11195 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11196 double, adjusted for any remainder from the high double.
11197 * math/libm-test.inc (nearbyint): Add tests.
11200 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11202 * nptl/sysdeps/powerpc/Makefile: Moved ...
11203 * sysdeps/powerpc/nptl/Makefile: ... here.
11204 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11205 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11206 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11207 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11208 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11209 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11210 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11211 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11212 * nptl/sysdeps/powerpc/tls.h: Moved ...
11213 * sysdeps/powerpc/nptl/tls.h: ... here.
11215 2014-06-16 Joseph Myers <joseph@codesourcery.com>
11218 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11219 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11220 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11221 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11222 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11223 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11224 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11225 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11226 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11228 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11230 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11232 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11234 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11237 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11240 2014-06-16 Florian Weimer <fweimer@redhat.com>
11243 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11244 non-executed part of the test.
11246 2014-06-16 Andreas Schwab <schwab@suse.de>
11248 * string/bits/string2.h (strdup, strndup): Update feature guard.
11250 2014-06-14 David S. Miller <davem@davemloft.net>
11252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11254 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11256 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11257 that was previously under [RESET_PID].
11258 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11260 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11261 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11262 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11263 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11264 (__libc_vfork): New strong alias.
11265 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11267 2014-06-14 Andi Kleen <ak@linux.intel.com>
11269 * sysdeps/generic/elide.h: New file.
11271 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11273 * Makefile (installed-headers): Adjust path of pthread.h header.
11275 2014-06-13 Roland McGrath <roland@hack.frob.com>
11277 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11278 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11279 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11280 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11282 * nptl/sysdeps/s390/Makefile: Moved ...
11283 * sysdeps/s390/nptl/Makefile: ... here.
11284 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11285 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11286 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11287 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11288 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11289 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11290 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11291 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11292 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11293 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11294 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11295 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11296 * nptl/sysdeps/s390/tls.h: Moved ...
11297 * sysdeps/s390/nptl/tls.h: ... here.
11299 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11300 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11302 2014-06-13 David S. Miller <davem@davemloft.net>
11304 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11305 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11306 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11307 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11308 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11309 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11310 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11311 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11312 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11313 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11314 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11315 Remove RESET_PID cpp guards.
11316 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11317 Remove RESET_PID cpp guards.
11318 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11320 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11322 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11325 2014-06-13 Andi Kleen <ak@linux.intel.com>
11327 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11328 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11329 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11330 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11331 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11332 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11333 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11334 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11335 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11336 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11337 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11338 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11339 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11340 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11341 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11342 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11343 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11344 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11345 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11346 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11348 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11349 (pthread_rwlock_rdlock): Add elision.
11350 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11351 (pthread_rwlock_wrlock): Add elision.
11352 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11353 (pthread_rwlock_trywrlock): Add elision.
11354 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11355 (pthread_rwlock_tryrdlock): Add elision.
11356 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11357 (pthread_rwlock_tryrdlock): Add elision unlock.
11358 * nptl/sysdeps/pthread/pthread.h:
11359 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11360 (PTHREAD_RWLOCK_INITIALIZER,
11361 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11362 Handle new elision field.
11363 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11364 * sysdeps/arm/nptl/bits/pthreadtypes.h
11365 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11366 * sysdeps/sh/nptl/bits/pthreadtypes.h
11367 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11368 * sysdeps/tile/nptl/bits/pthreadtypes.h
11369 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11370 * sysdeps/a/nptl/bits/pthreadtypes.h
11371 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11372 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11373 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11374 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11375 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11376 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11377 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11378 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11379 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11380 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11381 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11382 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11383 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11384 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11385 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11386 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11387 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11388 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11389 (elision_init): Set try_xbegin to zero when no RTM.
11390 * sysdeps/x86/nptl/bits/pthreadtypes.h
11391 (pthread_rwlock_t): Change __pad1 to __rwelision.
11392 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11394 2014-06-13 Andi Kleen <ak@linux.intel.com>
11396 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11397 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11398 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11399 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11401 2014-06-13 Meador Inge <meadori@codesourcery.com>
11404 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11405 that the cached result has been set before returning it.
11407 2014-06-12 Roland McGrath <roland@hack.frob.com>
11409 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11410 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11411 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11412 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11413 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11414 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11416 * nptl/sysdeps/sparc/Makefile: Moved ...
11417 * sysdeps/sparc/nptl/Makefile: ... here.
11418 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11419 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11420 * nptl/sysdeps/sparc/tls.h: Moved ...
11421 * sysdeps/sparc/nptl/tls.h: ... here.
11422 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11423 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11424 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11425 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11426 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11427 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11428 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11429 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11430 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11431 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11432 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11433 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11434 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11435 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11436 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11437 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11438 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11439 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11441 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11442 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11444 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11445 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11447 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11448 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11451 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11453 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11454 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11456 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11457 (struct list_links): Type removed.
11458 (struct thread_node, struct timer_node): Replace struct list_links
11459 with struct list_head.
11460 (list_unlink_ip): Likewise.
11461 * sysdeps/pthread/timer_routines.c
11462 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11463 (list_append, list_insbefore): Likewise.
11464 (list_init): Function removed.
11465 (thread_init, init_module): Use INIT_LIST_HEAD instead.
11466 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11467 * sysdeps/pthread/Makefile: ... here, new file.
11469 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11470 * sysdeps/nptl/Implies: ... here.
11471 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11472 * nptl/sysdeps/pthread/list.h: Moved ...
11473 * include/list.h: ... here.
11474 * nptl/sysdeps/pthread/createthread.c: Moved ...
11475 * nptl/createthread.c: ... here.
11476 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11477 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11478 * nptl/pt-longjmp.c: ... here.
11479 * nptl/sysdeps/pthread/Makefile: Moved ...
11480 * sysdeps/nptl/Makefile: ... here.
11481 * nptl/sysdeps/pthread/Subdirs: Moved ...
11482 * sysdeps/nptl/Subdirs: ... here.
11483 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11484 * sysdeps/nptl/aio_misc.h: ... here.
11485 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11486 * sysdeps/nptl/bits/libc-lock.h: ... here.
11487 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11488 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11489 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11490 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11491 * nptl/sysdeps/pthread/configure: Moved ...
11492 * sysdeps/nptl/configure: ... here.
11493 * nptl/sysdeps/pthread/configure.ac: Moved ...
11494 * sysdeps/nptl/configure.ac: ... here.
11495 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11496 * sysdeps/nptl/gai_misc.h: ... here.
11497 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11498 * sysdeps/nptl/librt-cancellation.c: ... here.
11499 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11500 * sysdeps/nptl/malloc-machine.h: ... here.
11501 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11502 * sysdeps/nptl/pthread-functions.h: ... here.
11503 * nptl/sysdeps/pthread/pthread.h: Moved ...
11504 * sysdeps/nptl/pthread.h: ... here.
11505 * nptl/sysdeps/pthread/setxid.h: Moved ...
11506 * sysdeps/nptl/setxid.h: ... here.
11507 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11508 * sysdeps/nptl/sigfillset.c: ... here.
11509 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11510 * sysdeps/nptl/tcb-offsets.h: ... here.
11511 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11512 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11513 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11514 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11515 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11516 * sysdeps/pthread/allocalim.h: ... here.
11517 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11518 * sysdeps/pthread/bits/sigthread.h: ... here.
11519 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11520 * sysdeps/pthread/flockfile.c: ... here.
11521 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11522 * sysdeps/pthread/ftrylockfile.c: ... here.
11523 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11524 * sysdeps/pthread/funlockfile.c: ... here.
11525 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11526 * sysdeps/pthread/posix-timer.h: ... here.
11527 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11528 * sysdeps/pthread/timer_create.c: ... here.
11529 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11530 * sysdeps/pthread/timer_delete.c: ... here.
11531 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11532 * sysdeps/pthread/timer_getoverr.c: ... here.
11533 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11534 * sysdeps/pthread/timer_gettime.c: ... here.
11535 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11536 * sysdeps/pthread/timer_routines.c: ... here.
11537 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11538 * sysdeps/pthread/timer_settime.c: ... here.
11539 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11540 * sysdeps/pthread/tst-timer.c: ... here.
11541 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11542 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11544 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11545 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11547 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11548 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11549 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11550 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11551 Update #include target.
11552 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11553 * sysdeps/i386/i686/nptl/Makefile: ... here.
11554 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11555 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11556 Update #include target.
11557 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11558 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11559 * nptl/sysdeps/i386/Makefile: Moved ...
11560 * sysdeps/i386/nptl/Makefile: ... here.
11561 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11562 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11563 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11564 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11565 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11566 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11567 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11568 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11569 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11570 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11571 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11572 * nptl/sysdeps/i386/tls.h: Moved ...
11573 * sysdeps/i386/nptl/tls.h: ... here.
11575 * sysdeps/sh/Makefile [$(subdir) = csu]
11576 (gen-as-const-headers): Add tcb-offsets.sym.
11577 * nptl/sysdeps/sh/Makefile: File removed.
11578 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11579 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11580 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11581 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11582 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11583 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11584 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11585 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11586 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11587 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11588 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11589 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11590 * nptl/sysdeps/sh/tls.h: Moved ...
11591 * sysdeps/sh/nptl/tls.h: ... here.
11592 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11593 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11594 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11595 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11596 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11597 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11598 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11599 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11600 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11601 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11602 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11603 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11604 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11605 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11606 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11607 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11608 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11609 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11610 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11611 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11612 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11613 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11614 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11615 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11616 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11618 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11619 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11621 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11622 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11623 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11624 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11625 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11626 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11627 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11628 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11629 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11630 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11631 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11632 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11633 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11634 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11635 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11636 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11637 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11638 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11639 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11641 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11643 * posix/spawn_faction_addopen.c: Include string.h.
11645 2014-06-11 Roland McGrath <roland@hack.frob.com>
11647 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11648 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11649 * nptl/sysdeps/x86_64/Makefile: Moved ...
11650 * sysdeps/x86_64/nptl/Makefile: ... here.
11651 * nptl/sysdeps/x86_64/configure: Moved ...
11652 * sysdeps/x86_64/nptl/configure: ... here.
11653 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11654 * sysdeps/x86_64/nptl/configure.ac: ... here.
11655 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11656 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11657 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11658 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11659 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11660 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11661 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11662 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11663 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11664 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11665 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11666 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11667 * nptl/sysdeps/x86_64/tls.h: Moved ...
11668 * sysdeps/x86_64/nptl/tls.h: ... here.
11669 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11670 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11671 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11672 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11674 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11676 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11680 2014-06-11 Joseph Myers <joseph@codesourcery.com>
11682 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11684 [POSIX] (off_t): Likewise.
11685 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11686 [POSIX] (S_ISBLK): Require macro.
11687 [POSIX] (S_ISCHR): Likewise.
11688 [POSIX] (S_ISDIR): Likewise.
11689 [POSIX] (S_ISFIFO): Likewise.
11690 [POSIX] (S_ISREG): Likewise.
11691 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11693 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11695 [POSIX] (time_t): Likewise.
11696 [POSIX] (timer_t): Likewise.
11698 2014-06-11 Florian Weimer <fweimer@redhat.com>
11701 * posix/spawn_int.h (struct __spawn_action): Make the path string
11702 non-const to support deallocation.
11703 * posix/spawn_faction_addopen.c
11704 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11705 * posix/spawn_faction_destroy.c
11706 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11707 path in all spawn_do_open actions.
11708 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11709 posix_spawn_file_actions_addopen.
11711 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11713 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11714 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11715 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11716 conditional code always true.
11717 (__libc_vfork): New alias.
11719 2014-06-11 Roland McGrath <roland@hack.frob.com>
11721 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11722 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11724 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11726 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11727 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11729 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11730 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11732 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11733 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11735 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11737 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11738 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11739 multiarch strcmp for PPC64.
11740 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11741 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11743 multiarch optimizations.
11744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11745 (__libc_ifunc_impl_list): Likewise.
11747 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11749 * benchtests/scripts/validate_benchout.py: New script.
11750 * benchtests/Makefile (bench-func): Call it.
11751 * benchtests/scripts/benchout.schema.json: New file.
11753 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11755 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11756 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11757 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11758 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11759 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11760 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11761 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11762 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11763 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11764 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11765 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11766 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11767 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11768 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11769 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11770 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11874 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11875 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11876 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11877 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11878 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11880 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11882 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11883 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11884 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11885 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11886 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11887 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11888 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11889 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11890 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11891 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11892 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11893 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11894 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11896 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11897 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11899 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11900 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11901 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11902 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11904 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11905 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11906 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11907 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11908 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11909 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11910 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11912 2014-06-10 Wilco <wdijkstr@arm.com>
11914 * math/test-fenv-return.c: New file.
11915 * math/Makefile: Add new test test-fenv-return.
11917 2014-06-10 Joseph Myers <joseph@codesourcery.com>
11920 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11921 when x - 1 is zero.
11922 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11923 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11924 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11925 0.0L for an argument of 1.0L.
11926 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11928 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11929 value when x - 1 is zero.
11930 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11931 * sysdeps/i386/fpu/libm-test-ulps: Update.
11932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11934 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11937 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11939 2014-06-09 Roland McGrath <roland@hack.frob.com>
11941 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11942 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11944 2014-06-09 Roland McGrath <roland@hack.frob.com>
11946 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11947 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11949 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11950 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11952 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11953 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11955 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11956 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11958 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11959 if not already defined.
11960 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11961 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11962 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11963 (TLS_INIT_TP): Use it.
11964 (TLS_DEFINE_INIT_TP): New macro.
11965 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11967 2014-06-09 Joseph Myers <joseph@codesourcery.com>
11969 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11971 [POSIX] (IXANY): Likewise.
11972 [POSIX] (OLCUC): Likewise.
11973 [POSIX || POSIX2008] (CBAUD): Do not allow.
11974 [POSIX || POSIX2008] (DEFECHO): Likewise.
11975 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11976 [POSIX || POSIX2008] (ECHOKE): Likewise.
11977 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11978 [POSIX || POSIX2008] (EXTA): Likewise.
11979 [POSIX || POSIX2008] (EXTB): Likewise.
11980 [POSIX || POSIX2008] (FLUSHO): Likewise.
11981 [POSIX || POSIX2008] (LOBLK): Likewise.
11982 [POSIX || POSIX2008] (PENDIN): Likewise.
11983 [POSIX || POSIX2008] (SWTCH): Likewise.
11984 [POSIX || POSIX2008] (VDISCARD): Likewise.
11985 [POSIX || POSIX2008] (VDSUSP): Likewise.
11986 [POSIX || POSIX2008] (VLNEXT): Likewise.
11987 [POSIX || POSIX2008] (VREPRINT): Likewise.
11988 [POSIX || POSIX2008] (VSTATUS): Likewise.
11989 [POSIX || POSIX2008] (VWERASE): Likewise.
11990 (B*): Change to B[0123456789]*.
11991 * conform/data/time.h-data [POSIX || UNIX98]
11992 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11993 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11994 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11995 [POSIX] (tm_*): Do not allow.
11997 2014-06-07 Joseph Myers <joseph@codesourcery.com>
11999 * Makefile (install): Don't set LANGUAGE.
12000 * Makefile.in (install): Likewise.
12001 * assert/Makefile (test-assert-ENV): Remove variable.
12002 (test-assert-perr-ENV): Likewise.
12003 * elf/Makefile (neededtest4-ENV): Likewise.
12004 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12005 [$(cross-compiling) = no]: Don't set LANGUAGE.
12006 * io/ftwtest-sh (LANG): Remove variable.
12007 * libio/Makefile (tst-widetext-ENV): Likewise.
12008 * manual/install.texi (Running make install): Don't refer to
12009 environment settings for make install.
12010 * INSTALL: Regenerated.
12011 * nptl/tst-tls6.sh: Don't set LANG.
12012 * posix/globtest.sh (LANG): Remove variable.
12013 * string/Makefile (tester-ENV): Likewise.
12014 (inl-tester-ENV): Likewise.
12015 (noinl-tester-ENV): Likewise.
12016 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12017 [$(cross-compiling) = no]: Don't set LANGUAGE.
12018 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12019 without explicit environment settings.
12021 2014-06-06 Roland McGrath <roland@hack.frob.com>
12023 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12024 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12025 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12026 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12028 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12030 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12031 other files in the crypt directory.
12032 * crypt/crypt.c: Remove duplicate includes.
12033 * crypt/crypt-entry.c: Likewise.
12034 * crypt/crypt_util.c: Likewise.
12036 2014-06-06 Joseph Myers <joseph@codesourcery.com>
12038 * Makeconfig (run-program-env): New variable.
12039 (run-program-prefix-before-env): Likewise.
12040 (run-program-prefix-after-env): Likewise.
12041 (run-program-prefix): Define in terms of new variables.
12042 (built-program-cmd-before-env): New variable.
12043 (built-program-cmd-after-env): Likewise.
12044 (built-program-cmd): Define in terms of new variables.
12045 (test-program-prefix-before-env): New variable.
12046 (test-program-prefix-after-env): Likewise.
12047 (test-program-prefix): Define in terms of new variables.
12048 (test-program-cmd-before-env): New variable.
12049 (test-program-cmd-after-env): Likewise.
12050 (test-program-cmd): Define in terms of new variables.
12051 * Rules (make-test-out): Use $(run-program-env).
12052 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12053 (help): Do not mention environment variables. Mention
12054 --timeoutfactor option.
12055 (timeoutfactor): New variable.
12056 (blacklist_exports): Remove function.
12057 (exports): Remove variable.
12058 (command): Do not include ${exports}.
12059 * manual/install.texi (Configuring and compiling): Do not mention
12060 test wrappers preserving environment variables. Mention that last
12061 assignment to a variable must take precedence.
12062 * INSTALL: Regenerated.
12063 * benchtests/Makefile (run-bench): Use $(run-program-env).
12064 * catgets/Makefile ($(objpfx)test1.cat): Use
12065 $(built-program-cmd-before-env), $(run-program-env) and
12066 $(built-program-cmd-after-env).
12067 ($(objpfx)test2.cat): Do not specify environment variables
12069 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12070 $(run-program-env) and $(built-program-cmd-after-env).
12071 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12072 $(run-program-env) and $(test-program-cmd-after-env).
12073 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12075 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12076 run_program_env and test_program_cmd_after_env arguments.
12077 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12078 * elf/tst-pathopt.sh: Use run_program_env argument.
12079 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12080 $(test-wrapper-env) and $(run-program-env).
12081 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12082 run_program_env arguments.
12083 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12084 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12085 $(test-program-prefix-before-env), $(run-program-env) and
12086 $(test-program-prefix-after-env).
12087 ($(objpfx)tst-gettext2.out): Likewise.
12088 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12089 run_program_env and test_program_prefix_after_env arguments.
12090 * intl/tst-gettext2.sh: Likewise.
12091 * intl/tst-gettext4.sh: Do not set environment variables
12093 * intl/tst-gettext6.sh: Likewise.
12094 * intl/tst-translit.sh: Likewise.
12095 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12096 $(test-program-prefix-before-env), $(run-program-env) and
12097 $(test-program-prefix-after-env).
12098 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12099 run_program_env and test_program_prefix_after_env arguments.
12100 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12101 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12102 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12103 explicitly with each use of ${test_wrapper_env}.
12104 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12105 $(test-program-prefix-before-env), $(run-program-env) and
12106 $(test-program-prefix-after-env).
12107 * posix/tst-getconf.sh: Do not set environment variables
12109 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12110 run_program_env and test_program_prefix_after_env arguments.
12111 * stdio-common/tst-printf.sh: Do not set environment variables
12113 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12114 $(test-program-prefix-before-env), $(run-program-env) and
12115 $(test-program-prefix-after-env).
12116 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12117 run_program_env and test_program_prefix_after_env arguments.
12118 Split $test calls into $test_pre and $test.
12119 * timezone/Makefile (build-testdata): Use
12120 $(built-program-cmd-before-env), $(run-program-env) and
12121 $(built-program-cmd-after-env).
12123 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12125 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12126 strlen for non SHARED builds.
12128 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12130 * nptl/allocatestack.c (check_list): Inlined function...
12131 (__reclaim_stacks): ... here.
12133 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12136 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12139 2014-06-05 Joseph Myers <joseph@codesourcery.com>
12141 * Rules (make-test-out): Include
12142 LOCPATH=$(common-objpfx)localedata in default environment.
12143 * debug/Makefile (tst-chk1-ENV): Remove variable.
12144 (tst-chk2-ENV): Likewise.
12145 (tst-chk3-ENV): Likewise.
12146 (tst-chk4-ENV): Likewise.
12147 (tst-chk5-ENV): Likewise.
12148 (tst-chk6-ENV): Likewise.
12149 (tst-lfschk1-ENV): Likewise.
12150 (tst-lfschk2-ENV): Likewise.
12151 (tst-lfschk3-ENV): Likewise.
12152 (tst-lfschk4-ENV): Likewise.
12153 (tst-lfschk5-ENV): Likewise.
12154 (tst-lfschk6-ENV): Likewise.
12155 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12156 (tst-iconv7-ENV): Likewise.
12157 * intl/Makefile (LOCPATH-ENV): Likewise.
12158 (tst-codeset-ENV): Likewise.
12159 (tst-gettext3-ENV): Likewise.
12160 (tst-gettext5-ENV): Likewise.
12161 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12162 (tst-fopenloc-ENV): Likewise.
12163 (tst-fgetws-ENV): Remove variable.
12164 (tst-ungetwc1-ENV): Likewise.
12165 (tst-ungetwc2-ENV): Likewise.
12166 (bug-ungetwc2-ENV): Likewise.
12167 (tst-swscanf-ENV): Likewise.
12168 (bug-ftell-ENV): Likewise.
12169 (tst-fgetwc-ENV): Likewise.
12170 (tst-fseek-ENV): Likewise.
12171 (tst-ftell-partial-wide-ENV): Likewise.
12172 (tst-ftell-active-handler-ENV): Likewise.
12173 (tst-ftell-append-ENV): Likewise.
12174 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12175 (tst-regexloc-ENV): Likewise.
12176 (bug-regex1-ENV): Likewise.
12177 (tst-regex-ENV): Likewise.
12178 (tst-regex2-ENV): Likewise.
12179 (bug-regex5-ENV): Likewise.
12180 (bug-regex6-ENV): Likewise.
12181 (bug-regex17-ENV): Likewise.
12182 (bug-regex18-ENV): Likewise.
12183 (bug-regex19-ENV): Likewise.
12184 (bug-regex20-ENV): Likewise.
12185 (bug-regex22-ENV): Likewise.
12186 (bug-regex23-ENV): Likewise.
12187 (bug-regex25-ENV): Likewise.
12188 (bug-regex26-ENV): Likewise.
12189 (bug-regex30-ENV): Likewise.
12190 (bug-regex32-ENV): Likewise.
12191 (bug-regex33-ENV): Likewise.
12192 (bug-regex34-ENV): Likewise.
12193 (bug-regex35-ENV): Likewise.
12194 (tst-rxspencer-ENV): Likewise.
12195 (tst-rxspencer-no-utf8-ENV): Likewise.
12196 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12197 (tst-sscanf-ENV): Likewise.
12198 (tst-swprintf-ENV): Likewise.
12199 (tst-swscanf-ENV): Likewise.
12200 (test-vfprintf-ENV): Likewise.
12201 (scanf13-ENV): Likewise.
12202 (bug14-ENV): Likewise.
12203 (tst-grouping-ENV): Likewise.
12204 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12205 (tst-strtod3-ENV): Likewise.
12206 (tst-strtod4-ENV): Likewise.
12207 (tst-strtod5-ENV): Likewise.
12208 (testmb2-ENV): Likewise./
12209 * string/Makefile (tst-strxfrm-ENV): Likewise.
12210 (tst-strxfrm2-ENV): Likewise.
12211 (bug-strcoll1-ENV): Likewise.
12212 (test-strcasecmp-ENV): Likewise.
12213 (test-strncasecmp-ENV): Likewise.
12214 * time/Makefile (tst-strptime-ENV): Likewise.
12215 (tst-ftime_l-ENV): Likewise.
12216 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12217 (tst-mbrtowc-ENV): Likewise.
12218 (tst-wcrtomb-ENV): Likewise.
12219 (tst-mbrtowc2-ENV): Likewise.
12220 (tst-c16c32-1-ENV): Likewise.
12221 (tst-mbsnrtowcs-ENV): Likewise.
12223 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12225 * manual/resource.texi (How to get information about the memory
12226 subsystem?): Fix typo.
12227 Reported by Peon de la Parra Ivan <peon@keba.com>
12229 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12232 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12233 (pthread_spin_lock): Branch out of spin loop to proper location.
12234 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12235 (pthread_spin_lock): Likewise.
12237 * nptl/tst-spin4.c: New test.
12238 * nptl/Makefile (tests): Add tst-spin4.
12240 2014-06-03 Andreas Schwab <schwab@suse.de>
12243 * resolv/res_send.c (send_dg): Reload file descriptor after
12246 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12248 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12250 2014-06-03 Richard Henderson <rth@redhat.com>
12252 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12253 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12254 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12255 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12256 in the SAVE_PID block.
12257 (__libc_vfork): New alias.
12258 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12260 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12261 child in registers, not on the stack. Remove RESET_PID conditionals.
12262 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12264 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12266 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12268 2014-06-03 Wilco <wdijkstr@arm.com>
12270 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12271 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12272 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12273 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12274 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12277 2014-06-03 Wilco <wdijkstr@arm.com>
12279 * sysdeps/aarch64/fpu/math_private.h
12280 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12281 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12282 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12283 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12286 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12288 * crypt/crypt-private.h: Include ufc-crypt.h.
12289 (__b64_from_24bit): Declare extern.
12290 * crypt/crypt_util.c(__b64_from_24bit): New function.
12291 (b64t): New static const variable.
12292 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12293 (b64t): Remove variable.
12294 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12295 * crypt/sha256-crypt.c: Include crypt-private.h.
12296 (b64t): Remove variable.
12297 (__sha256_crypt_r): Remove b64_from_24bit and replace
12298 with __b64_from_24bit.
12299 * crypt/sha512-crypt.c: Likewise.
12301 2014-06-02 Roland McGrath <roland@hack.frob.com>
12303 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12304 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12305 Label the code __libc_vfork rather than __vfork.
12306 [!NOT_IN_libc] (vfork): Define as weak alias.
12307 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12308 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12309 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12311 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12313 * malloc/malloc.c (malloc_info): Fix format specifier for
12316 2014-06-02 Wilco <wdijkstr@arm.com>
12318 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12321 2014-06-02 Wilco <wdijkstr@arm.com>
12324 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12325 Rewrite to reduce FPCR/FPSR accesses.
12327 2014-06-01 David S. Miller <davem@davemloft.net>
12329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12331 2014-05-31 David S. Miller <davem@davemloft.net>
12333 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12334 to occur in round to nearest mode when |x| >= 2.0
12336 2014-05-30 Richard Henderson <rth@twiddle.net>
12338 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12339 (PSEUDO_RET_NOERRNO): Remove.
12340 (ret): Don't redefine.
12341 (ret_NOERRNO): Define in terms of ret.
12342 (ret_ERRVAL): Likewise.
12344 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12345 use of PSEUDO_RET; perform the error check directly.
12347 2014-05-30 Marko Myllynen <myllynen@redhat.com>
12349 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12352 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12354 * malloc/malloc (malloc_info): Fix formatting.
12356 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12357 Roland McGrath <roland@hack.frob.com>
12359 * malloc/malloc (malloc_info): Also print mmapped statistics.
12361 2014-05-30 Roland McGrath <roland@hack.frob.com>
12363 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12364 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12366 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
12368 * malloc/malloc.c (malloc_info): Inline mi_arena.
12370 2014-05-29 Richard Henderson <rth@twiddle.net>
12372 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12373 Remove comma before expanding ASM_ARGS_##nr.
12374 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12375 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12377 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12378 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12379 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12380 (ASM_ARGS_1): Add leading comma.
12382 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12383 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12384 to __errno_location.
12385 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12386 Remove the expected plt for __errno_location.
12388 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12389 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12392 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12393 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12394 it and break it down.
12395 (DOCARGS_0, DOCARGS_1): Do nothing.
12396 (DOCARGS_2): Update to store into the new stack frame.
12397 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12398 (UNDOCARGS_1): Update to restore from the new stack frame.
12399 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12400 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12402 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12403 (SINGLE_THREAD_P): New parameter for result regno.
12404 (PSEUDO): Update to match; use cbz instead of beq.
12406 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12407 Use ENTRY to define the _nocancel entry point. Share the syscall
12408 and syscall error check paths with the cancel path.
12411 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12412 whitespace; tabs before and after asm mnemonics.
12414 2014-05-29 Eric Wong <normalperson@yhbt.net>
12417 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12418 Call fstat64 or stat64 internally, depending on arguments passed.
12419 Replace stat buffer argument with file descriptor argument.
12420 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12421 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12422 Pass fd to __internal_statvfs instead of calling fstat64.
12423 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12424 Pass fd to __internal_statvfs64 instead of calling fstat64.
12425 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12426 Pass -1 to __internal_statvfs instead of calling stat64.
12427 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12428 Pass -1 to __internal_statvfs64 instead of calling stat64.
12430 2014-05-28 Roland McGrath <roland@hack.frob.com>
12432 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12433 that was previously under [RESET_PID].
12434 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12436 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12437 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12439 2014-05-27 Roland McGrath <roland@hack.frob.com>
12441 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12443 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12444 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12446 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
12448 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12450 2014-05-27 Andreas Schwab <schwab@suse.de>
12452 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12454 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12455 * elf/rtld.c (init_tls, dl_main): Likewise.
12456 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12457 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12458 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12459 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12460 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12461 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12462 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12463 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12464 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12465 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12466 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12467 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12468 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12469 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12470 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12471 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12472 * sysdeps/generic/tls.h: Update description.
12474 2014-05-27 Will Newton <will.newton@linaro.org>
12477 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12478 and restore r2 rather than just restoring.
12480 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12483 * libio/tst-ftell-append.c: New test case.
12484 * libio/Makefile (tests): Add test case.
12485 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12487 * libio/wfileops.c (do_ftell_wide): Likewise.
12489 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12493 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12497 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12498 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12499 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12500 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12501 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12502 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12503 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12506 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12509 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12510 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12511 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12512 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12513 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12515 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12516 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12518 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12520 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12522 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12523 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12524 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12526 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12527 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12528 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12529 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12531 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12534 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12537 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12540 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12544 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12547 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12552 conditional [RESET_PID].
12553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12554 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12556 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12561 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12562 (__libc_vfork): New strong alias.
12563 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12565 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12570 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12571 (__libc_vfork): New strong alias.
12572 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12574 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12577 2014-05-26 Carlos O'Donell <carlos@redhat.com>
12579 * malloc/malloc.c (mi_arena): New function.
12580 (malloc_info): Remove nested function mi_arena. Call non-nosted
12583 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12585 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12587 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12588 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12589 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12590 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12591 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12592 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12593 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12595 2014-05-26 Andreas Schwab <schwab@suse.de>
12598 * locale/programs/repertoire.c (repertoire_read): Add slash
12599 between I18NPATH element and file name.
12600 * locale/programs/locfile.c (locfile_read): Likewise.
12602 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12604 * nptl/pthread_mutexattr_settype.c
12605 (__pthread_mutexattr_settype):
12606 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12608 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12610 * nptl/tst-mutex5 (do_test):
12611 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12613 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12615 * benchtests/README: Document 'init' directive.
12616 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12618 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12619 (parse_file): Recognize 'init' directive.
12621 2014-05-26 Kyle McMartin <kyle@redhat.com>
12624 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12625 alignment of struct pthread.
12627 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12630 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12631 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12632 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12633 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12635 2014-05-25 Richard Henderson <rth@twiddle.net>
12637 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12638 (SINGLE_THREAD_P_PIC): Remove.
12639 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12640 (SINGLE_THREAD_P_PIC): Remove.
12642 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12643 branch to syscall error ...
12644 (PSEUDO): ... here.
12645 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12646 from __local_syscall_error to .Lsyscall_error.
12647 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12648 (SYSCALL_ERROR): Update label name.
12650 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12651 Do not use DOARGS/UNDOARGS.
12652 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12653 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12654 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12655 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12656 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12658 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12661 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12662 define if !NOT_IN_libc.
12663 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12664 define with non-default symbol versions.
12666 2014-05-23 Richard Henderson <rth@twiddle.net>
12668 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12669 (vfork, __vfork): Define via compat_symbol.
12671 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12672 [!HAVE_IFUNC] (vfork_compat): Remove.
12673 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12675 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12678 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12679 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12682 2014-05-23 Richard Henderson <rth@twiddle.net>
12684 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12685 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12686 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12687 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12689 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12690 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12691 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12692 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12693 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12694 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12695 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12696 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12697 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12698 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12699 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12700 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12701 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12702 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12703 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12704 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12705 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12706 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12707 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12708 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12709 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12710 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12711 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12712 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12713 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12714 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12715 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12716 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12717 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12718 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12719 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12720 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12721 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12722 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12723 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12724 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12725 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12726 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12727 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12728 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12729 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12730 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12731 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12732 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12733 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12734 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12735 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12736 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12737 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12738 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12739 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12740 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12741 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12742 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12743 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12744 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12746 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12747 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12748 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12749 before exiting on error.
12750 (__libc_vfork): New strong alias.
12751 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12752 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12754 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12755 that was previously under [RESET_PID].
12756 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12758 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12760 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12763 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12764 value when x - 1 is zero.
12765 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12766 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12767 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12768 0.0L for an argument of 1.0L.
12769 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12771 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12772 value when x - 1 is zero.
12773 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12774 * sysdeps/i386/fpu/libm-test-ulps: Update.
12775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12777 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12779 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12780 alphasort and versionsort.
12782 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12784 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12786 [copysignf]: Likewise.
12788 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12790 * crypt/md5-crypt.c: Fix formatting.
12792 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12794 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12795 (b64_from_24bit): New function.
12797 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12799 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12800 libc_hidden_builtin_def to ifunc.
12801 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12802 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12804 2014-05-21 Roland McGrath <roland@hack.frob.com>
12806 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12807 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12809 2014-05-21 Joseph Myers <joseph@codesourcery.com>
12811 * nscd/Depend (linuxthreads): Remove.
12813 * resolv/Depend (linuxthreads): Remove.
12814 * rt/Depend (linuxthreads): Remove.
12816 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12817 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12818 $(common-objpfx)elf/.
12819 (link-libc-before-gnulib): Likewise.
12820 (elfobjdir): Remove variable.
12821 * Makefile (install): Use $(elf-objpfx) instead of
12822 $(common-objpfx)elf/.
12823 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12825 (link-libc-deps): Likewise.
12826 ($(common-objpfx)libc.so): Likewise.
12827 ($(common-objpfx)linkobj/libc.so): Likewise.
12828 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12829 instead of $(common-objpfx)elf/.
12830 (symbolic-link-list): Likewise.
12831 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12832 [$(cross-compiling) = no]: Likewise.
12833 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12835 (static-gnulib-arch): Likewise.
12836 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12837 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12838 $(common-objpfx)elf/.
12840 2014-05-21 Richard Henderson <rth@redhat.com>
12842 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12843 (SINGLE_THREAD_P): Use the correct width load. Fold
12844 into the ldr offset.
12846 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12847 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12849 2014-05-20 Joseph Myers <joseph@codesourcery.com>
12851 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12852 (libgcc_s_resume): Use __attribute_used__.
12853 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12856 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12858 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12859 optimization when used with float constants.
12861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12863 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12866 * locale/nl_langinfo_l.c: Make direct reference to every
12867 _nl_current_CATEGORY symbol.
12868 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12869 (tests-static): Add tst-langinfo-static.
12870 (tests-special): Add tst-langinfo-static.out.
12871 ($(objpfx)tst-langinfo.out): Redirect output.
12872 ($(objpfx)tst-langinfo-static.out): New.
12873 * localedata/tst-langinfo.sh: Send output to stdout.
12874 * localedata/tst-langinfo-static.c: New file.
12877 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12878 when the shift amount is modulo the limb size.
12880 2014-05-20 Richard Henderson <rth@redhat.com>
12883 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12884 Change type of sa_flags from unsigned int to int.
12887 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12889 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12891 2014-05-20 Will Newton <will.newton@linaro.org>
12893 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12894 Test the return value of the system call in the nocancel case.
12896 2014-05-20 Will Newton <will.newton@linaro.org>
12897 Yvan Roux <yvan.roux@linaro.org>
12899 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12900 #include of asm/ptrace.h.
12901 (PTRACE_GET_THREAD_AREA): Remove #undef.
12902 (PTRACE_GETHBPREGS): Likewise.
12903 (PTRACE_SETHBPREGS): Likewise.
12904 (struct user_regs_struct): New structure.
12905 (struct user_fpsimd_struct): New structure.
12906 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12907 #include of asm/ptrace.h and second #include of sys/user.h.
12908 (PTRACE_GET_THREAD_AREA): Remove #undef.
12909 (PTRACE_GETHBPREGS): Likewise.
12910 (PTRACE_SETHBPREGS): Likewise.
12911 (ELF_NGREG): Use new struct user_regs_struct.
12912 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12914 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12916 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12917 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12919 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12922 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12923 membar to avoid block loads/stores to overlap previous stores.
12925 2014-05-17 Richard Henderson <rth@redhat.com>
12927 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12928 Create the __##syscall_name##_nocancel entry point.
12929 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12930 Remove; let the sysdep-cancel.h code create it.
12932 2014-05-17 David S. Miller <davem@davemloft.net>
12934 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12935 Protect with __USE_GNU.
12936 (TIOCSET_TEMPT): Likewise.
12937 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12938 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12939 these are already provided in bits/ioctl-types.h
12941 2014-05-16 Roland McGrath <roland@hack.frob.com>
12943 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12944 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12946 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12947 Use wait4 regardless of [__NR_waitpid].
12949 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12952 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12953 (_FP_NANSIGN_Q): Set the quiet bit.
12955 2014-05-16 Joseph Myers <joseph@codesourcery.com>
12957 * benchtests/Makefile
12958 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12959 not $(common-objpfx)math/libm.so.
12960 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12961 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12962 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12963 $(common-objpfx)dlfcn/libdl.so.
12964 ($(objpfx)tst-audit8): Depend on $(libm), not
12965 $(common-objpfx)math/libm.so.
12966 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12967 not $(common-objpfx)dlfcn/libdl.so.
12969 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12970 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12971 [$(build-shared) = yes].
12972 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12973 $(common-objpfx)nptl/libpthread.so.
12974 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12975 $(common-objpfx)math/libm.so$(libm.so-version) or
12976 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12977 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12978 $(common-objpfx)dlfcn/libdl.so.
12979 * setjmp/Makefile (link-libm): Remove variable.
12980 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12981 * stdio-common/Makefile (link-libm): Remove variable.
12982 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12983 * stdlib/Makefile (link-libm): Remove variable.
12984 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12985 ($(objpfx)tst-strtod-round): Likewise.
12986 ($(objpfx)tst-tininess): Likewise.
12987 ($(objpfx)tst-strtod-underflow): Likewise.
12988 ($(objpfx)tst-strtod6): Likewise.
12989 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12990 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12991 $(common-objpfx)dlfcn/libdl.so.
12993 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12995 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12996 BSD terminal modes definitions.
12998 2014-05-16 Roland McGrath <roland@hack.frob.com>
13000 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13001 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13003 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13004 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13005 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13006 Don't do #include_next.
13007 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13008 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13009 Don't do #include_next.
13010 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13011 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13012 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13013 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13015 2014-05-16 Allan McRae <allan@archlinux.org>
13017 * po/sv.po: Update Swedish translation from translation project.
13019 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13022 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13025 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13026 errno if the TIOCGPTN ioctl fails with an error different than
13028 * login/tst-ptsname.c: New file.
13029 * login/Makefile (tests): Add tst-ptsname.
13032 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13035 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13039 herrno to return EAI_AGAIN.
13041 2014-05-14 Roland McGrath <roland@hack.frob.com>
13043 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13044 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13045 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13046 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13047 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13048 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13049 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13050 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13051 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13052 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13053 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13054 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13055 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13056 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13057 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13058 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13059 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13060 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13061 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13062 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13063 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13064 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13065 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13066 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13067 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13068 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13069 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13070 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13071 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13072 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13074 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13076 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13079 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13081 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13083 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13085 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13087 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13088 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13089 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13091 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13093 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13095 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13097 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13099 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13101 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13103 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13105 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13108 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13110 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13112 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13114 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13116 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13118 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13120 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13122 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13124 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13126 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13129 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13131 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13133 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13134 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13135 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13136 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13137 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13138 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13139 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13140 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13141 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13142 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13143 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13144 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13145 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13146 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13147 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13148 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13149 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13150 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13151 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13152 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13153 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13154 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13155 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13156 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13157 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13158 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13159 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13160 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13161 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13162 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13163 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13165 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13166 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13168 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13169 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13170 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13171 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13172 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13173 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13175 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13176 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13178 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13179 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13181 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13182 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13184 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13185 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13186 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13187 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13189 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13190 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13191 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13192 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13193 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13194 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13195 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13196 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13198 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13199 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13201 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13203 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13204 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13205 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13206 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13207 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13209 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13211 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13213 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13214 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13215 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13216 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13217 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13218 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13220 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13221 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13223 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13224 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13226 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13227 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13229 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13230 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13231 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13232 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13234 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13235 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13236 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13237 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13238 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13239 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13240 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13241 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13243 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13244 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13246 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13248 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13249 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13250 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13251 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13252 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13254 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13256 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13258 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13259 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13260 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13261 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13262 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13263 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13264 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13265 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13266 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13267 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13269 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13270 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13272 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13273 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13275 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13276 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13278 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13279 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13280 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13281 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13282 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13283 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13285 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13286 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13287 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13288 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13289 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13290 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13291 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13292 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13294 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13295 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13297 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13299 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13300 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13301 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13302 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13303 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13305 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13307 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13309 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13310 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13311 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13312 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13313 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13314 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13315 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13316 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13317 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13318 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13319 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13321 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13322 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13324 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13325 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13327 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13328 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13329 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13330 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13331 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13332 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13333 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13334 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13335 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13336 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13337 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13338 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13339 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13340 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13341 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13342 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13343 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13344 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13346 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13347 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13348 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13349 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13351 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13352 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13353 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13354 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13355 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13356 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13357 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13358 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13360 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13361 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13363 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13364 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13365 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13366 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13367 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13368 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13369 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13370 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13371 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13372 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13373 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13374 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13375 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13376 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13377 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13378 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13379 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13381 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13382 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13383 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13384 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13385 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13387 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13388 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13389 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13390 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13391 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13392 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13393 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13394 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13395 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13396 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13399 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13401 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13402 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13403 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13404 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13405 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13406 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13407 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13408 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13409 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13410 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13411 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13412 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13413 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13414 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13415 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13417 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13419 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13421 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13423 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13425 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13427 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13429 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13431 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13433 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13435 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13436 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13437 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13439 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13440 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13441 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13442 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13443 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13444 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13445 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13446 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13447 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13448 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13449 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
13451 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13452 that was previously under [RESET_PID].
13453 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13454 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13455 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13457 * sysdeps/i386/nptl/Implies: New file.
13458 * sysdeps/x86_64/nptl/Implies: New file.
13459 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13460 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13461 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13462 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13464 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13465 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13466 (__libc_vfork): New strong alias.
13467 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13468 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13470 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13471 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13472 (__libc_vfork): New strong alias.
13473 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13474 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13476 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13477 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13478 (__libc_vfork): New strong alias.
13479 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13480 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13481 * nptl/pt-vfork.c: New file.
13482 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13483 (libpthread: GLIBC_2.20): New version set (empty).
13485 2014-05-14 Will Newton <will.newton@linaro.org>
13487 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13490 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13493 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13494 arguments with exponent 65 or above.
13495 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13496 arguments 0x1p113L or above.
13497 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13498 to arguments 0x1p107L or above.
13499 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13500 positive arguments with exponent 65 or above.
13501 * math/auto-libm-test-in: Add more tests of log1p.
13502 * math/auto-libm-test-out: Regenerated.
13505 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13506 non-finite arguments is +0.
13507 * math/s_cacosf.c (__cacosf): Likewise.
13508 * math/s_cacosl.c (__cacosl): Likewise.
13509 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13510 * sysdeps/i386/fpu/libm-test-ulps: Update.
13511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13514 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13516 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13517 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13518 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13519 for explicit high bit of mantissa when testing for argument equal
13521 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13522 * sysdeps/i386/fpu/libm-test-ulps: Update.
13523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13526 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13527 (__erf): Scale by 16 instead of 8 in potentially underflowing
13528 case. Ensure exception if result actually underflows.
13529 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13530 (__erff): Scale by 16 instead of 8 in potentially underflowing
13531 case. Ensure exception if result actually underflows.
13532 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13533 (efx8): Remove variable.
13534 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13535 case. Ensure exception if result actually underflows.
13536 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13537 (efx8): Remove variable.
13538 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13539 case. Ensure exception if result actually underflows.
13540 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13541 (efx8): Remove variable.
13542 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13543 case. Ensure exception if result actually underflows.
13544 * math/auto-libm-test-in: Add more tests of erf.
13545 * math/auto-libm-test-out: Regenerated.
13547 2014-05-14 Andreas Schwab <schwab@suse.de>
13549 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13550 Remove code conditionalized on USE___THREAD.
13552 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13553 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13556 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13558 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13559 Define unconditionally.
13560 (__ASSUME_O_CLOEXEC): Likewise.
13561 (__ASSUME_SOCK_CLOEXEC): Likewise.
13562 (__ASSUME_IN_NONBLOCK): Likewise.
13563 (__ASSUME_PIPE2): Likewise.
13564 (__ASSUME_EVENTFD2): Likewise.
13565 (__ASSUME_SIGNALFD4): Likewise.
13566 (__ASSUME_DUP3): Likewise.
13567 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13568 (__ASSUME_DUP3): Do not define.
13569 (__ASSUME_EVENTFD2): Likewise.
13570 (__ASSUME_IN_NONBLOCK): Likewise.
13571 (__ASSUME_O_CLOEXEC): Likewise.
13572 (__ASSUME_PIPE2): Likewise.
13573 (__ASSUME_SIGNALFD4): Likewise.
13574 (__ASSUME_SOCK_CLOEXEC): Likewise.
13575 (__ASSUME_UTIMES): Undefine.
13576 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13577 (__ASSUME_UTIMES): Do not define.
13578 (__ASSUME_O_CLOEXEC): Likewise.
13579 (__ASSUME_SOCK_CLOEXEC): Likewise.
13580 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13581 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13583 (__ASSUME_PIPE2): Likewise.
13584 (__ASSUME_EVENTFD2): Likewise.
13585 (__ASSUME_SIGNALFD4): Likewise.
13586 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13587 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13589 (__ASSUME_EVENTFD2): Likewise.
13590 (__ASSUME_SIGNALFD4): Likewise.
13591 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13592 (__ASSUME_32BITUIDS): Likewise.
13593 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13594 (__ASSUME_IPC64): Likewise.
13595 (__ASSUME_ST_INO_64_BIT): Likewise.
13596 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13597 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13598 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13599 (__ASSUME_UTIMES): Do not define.
13600 (__ASSUME_PSELECT): Likewise.
13601 (__ASSUME_PPOLL): Likewise.
13602 (__ASSUME_O_CLOEXEC): Likewise.
13603 (__ASSUME_SOCK_CLOEXEC): Likewise.
13604 (__ASSUME_IN_NONBLOCK): Likewise.
13605 (__ASSUME_PIPE2): Likewise.
13606 (__ASSUME_EVENTFD2): Likewise.
13607 (__ASSUME_SIGNALFD4): Likewise.
13608 (__ASSUME_DUP3): Likewise.
13609 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13610 (__ASSUME_UTIMES): Likewise.
13611 (__ASSUME_O_CLOEXEC): Likewise.
13612 (__ASSUME_SOCK_CLOEXEC): Likewise.
13613 (__ASSUME_IN_NONBLOCK): Likewise.
13614 (__ASSUME_PIPE2): Likewise.
13615 (__ASSUME_EVENTFD2): Likewise.
13616 (__ASSUME_SIGNALFD4): Likewise.
13617 (__ASSUME_DUP3): Likewise.
13618 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13619 (__ASSUME_UTIMES): Likewise.
13620 (__ASSUME_O_CLOEXEC): Likewise.
13621 (__ASSUME_SOCK_CLOEXEC): Likewise.
13622 (__ASSUME_IN_NONBLOCK): Likewise.
13623 (__ASSUME_PIPE2): Likewise.
13624 (__ASSUME_EVENTFD2): Likewise.
13625 (__ASSUME_SIGNALFD4): Likewise.
13626 (__ASSUME_DUP3): Likewise.
13627 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13629 (__ASSUME_UTIMES): Likewise.
13630 (__ASSUME_EVENTFD2): Likewise.
13631 (__ASSUME_SIGNALFD4): Likewise.
13632 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13633 (__ASSUME_O_CLOEXEC): Likewise.
13634 (__ASSUME_SOCK_CLOEXEC): Likewise.
13635 (__ASSUME_IN_NONBLOCK): Likewise.
13636 (__ASSUME_PIPE2): Likewise.
13637 (__ASSUME_EVENTFD2): Likewise.
13638 (__ASSUME_SIGNALFD4): Likewise.
13639 (__ASSUME_DUP3): Likewise.
13640 (__ASSUME_UTIMES): Undefine.
13642 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13643 feclearexcept. Remove symbol versioning code.
13644 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13645 symbol versioning code.
13646 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13647 symbol versioning code.
13648 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13649 feupdateenv. Remove symbol versioning code.
13650 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13651 fegetexceptflag. Remove symbol versioning code.
13652 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13653 fesetexceptflag. Remove symbol versioning code.
13654 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13655 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13656 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13657 (__posix_fadvise64_l32): Remove prototype.
13658 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13661 2014-05-13 Roland McGrath <roland@hack.frob.com>
13663 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13664 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13665 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13666 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13668 2014-05-13 Sami Kerola <kerolasa@iki.fi>
13670 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13671 current working directory
13673 2014-05-13 Roland McGrath <roland@hack.frob.com>
13675 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13676 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13677 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13678 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13679 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13680 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13681 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13682 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13683 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13684 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13685 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13686 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13687 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13688 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13689 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13690 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13691 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13692 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13693 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13694 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13695 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13696 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13697 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13698 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13699 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13700 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13701 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13702 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13703 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13704 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13705 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13706 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13707 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13708 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13709 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13710 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13711 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13712 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13713 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13714 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13715 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13716 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13718 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13719 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13721 * sysdeps/unix/sysv/linux/arm/Makefile
13722 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13723 Add rt-aeabi_unwind_cpp_pr1.
13724 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13725 Add nptl-aeabi_unwind_cpp_pr1.
13726 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13727 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13728 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13729 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13730 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13731 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13733 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13734 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13735 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13736 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13738 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13739 Deconditionalize the code that was previously under [RESET_PID].
13740 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13742 * sysdeps/generic/exit-thread.h: New file.
13743 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13744 * include/unistd.h (__exit_thread): Remove declaration.
13745 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13746 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13747 * csu/libc-start.c: Include <exit-thread.h>.
13748 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13749 * nptl/pthread_create.c: Include <exit-thread.h>.
13750 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13751 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13752 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13753 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13754 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13755 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13756 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13757 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13758 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13759 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13760 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13761 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13762 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13763 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13764 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13765 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13766 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13768 2014-05-13 Andreas Schwab <schwab@suse.de>
13770 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13772 2014-05-12 Joseph Myers <joseph@codesourcery.com>
13774 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13775 (__ASSUME_UTIMES): Do not condition on kernel version.
13776 (__ASSUME_PSELECT): Define unconditionally.
13777 (__ASSUME_PPOLL): Likewise.
13778 (__ASSUME_ATFCTS): Likewise.
13779 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13780 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13781 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13782 (__ASSUME_UTIMENSAT): Define unconditionally.
13783 (__ASSUME_PRIVATE_FUTEX): Likewise.
13784 (__ASSUME_FALLOCATE): Likewise.
13785 (__ASSUME_O_CLOEXEC): Likewise.
13786 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13787 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13788 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13789 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13790 (__ASSUME_IN_NONBLOCK): Likewise.
13791 (__ASSUME_PIPE2): Likewise.
13792 (__ASSUME_EVENTFD2): Likewise.
13793 (__ASSUME_SIGNALFD4): Likewise.
13794 (__ASSUME_DUP3): Likewise.
13795 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13796 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13797 (__ASSUME_AT_RANDOM): Likewise.
13798 (__ASSUME_PREADV): Likewise.
13799 (__ASSUME_PWRITEV): Likewise.
13800 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13801 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13802 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13803 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13804 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13805 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13806 (__ASSUME_O_CLOEXEC): Define unconditionally.
13807 (__ASSUME_PSELECT): Do not undefine conditionally.
13808 (__ASSUME_PPOLL): Likewise.
13809 (__ASSUME_ATFCTS): Likewise.
13810 (__ASSUME_SET_ROBUST_LIST): Likewise.
13811 (__ASSUME_UTIMENSAT): Likewise.
13812 (__ASSUME_FDATASYNC): Define unconditionally.
13813 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13814 (__ASSUME_SIGFRAME_V2): Likewise.
13815 )__ASSUME_EVENTFD2): Likewise.
13816 (__ASSUME_SIGNALFD4): Likewise.
13817 (__ASSUME_PSELECT): Do not undefine conditionally.
13818 (__ASSUME_PPOLL): Likewise.
13819 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13820 (__ASSUME_PSELECT): Define unconditionally.
13821 (__ASSUME_PPOLL): Likewise.
13822 (__ASSUME_O_CLOEXEC): Likewise.
13823 (__ASSUME_SOCK_CLOEXEC): Likewise.
13824 (__ASSUME_IN_NONBLOCK): Likewise.
13825 (__ASSUME_PIPE2): Likewise.
13826 (__ASSUME_EVENTFD2): Likewise.
13827 (__ASSUME_SIGNALFD4): Likewise.
13828 (__ASSUME_DUP3): Likewise.
13829 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13830 (__ASSUME_O_CLOEXEC): Likewise.
13831 (__ASSUME_SOCK_CLOEXEC): Likewise.
13832 (__ASSUME_IN_NONBLOCK): Likewise.
13833 (__ASSUME_PIPE2): Likewise.
13834 (__ASSUME_EVENTFD2): Likewise.
13835 (__ASSUME_SIGNALFD4): Likewise.
13836 (__ASSUME_DUP3): Likewise.
13837 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13838 (__ASSUME_EVENTFD2): Likewise.
13839 (__ASSUME_SIGNALFD4): Likewise.
13840 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13842 2014-05-12 Andreas Schwab <schwab@suse.de>
13845 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13846 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13847 than maximum RPC packet size.
13848 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13849 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13850 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13851 (_nss_nis_getservbyport_r): Likewise.
13853 2014-05-12 Will Newton <will.newton@linaro.org>
13855 * malloc/Makefile (tests): Add tst-mallopt.
13856 * malloc/tst-mallopt.c: New file.
13858 2014-05-09 Roland McGrath <roland@hack.frob.com>
13860 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13861 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13863 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13865 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13866 (tst-tlsmod6.so): Likewise.
13868 2014-05-09 Roland McGrath <roland@hack.frob.com>
13870 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13872 2014-05-09 Joseph Myers <joseph@codesourcery.com>
13875 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13876 and <dl-procinfo.h>.
13877 (__fegetenv): Save SSE state in envp->__eip if supported.
13878 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13879 envp->__eip if supported.
13880 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13881 and <dl-procinfo.h>.
13882 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13883 __data_offset and __data_selector in environment to 0. Set SSE
13884 state if supported.
13885 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13887 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13889 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13891 2014-05-09 Will Newton <will.newton@linaro.org>
13893 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13894 and libc_relro_required for ARM.
13895 * sysdeps/arm/preconfigure: Regenerate.
13897 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13898 Stefan Liebler <stli@linux.vnet.ibm.com>
13900 * config.make.in (enable-lock-elision): New Makefile variable.
13901 * configure.ac: Likewise.
13902 * configure: Regenerate.
13903 * sysdeps/s390/configure.ac:
13904 Add check for gcc transactions support.
13905 * sysdeps/s390/configure: Regenerate.
13906 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13907 Build elision files if enabled.
13908 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13909 Add lock elision support for s390.
13910 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13911 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13912 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13913 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13914 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13915 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13916 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13918 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13920 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13922 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13924 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13925 (__lll_timedlock_elision, __lll_lock_elision)
13926 (__lll_unlock_elision, __lll_trylock_elision)
13927 (lll_timedlock_elision, lll_lock_elision)
13928 (lll_unlock_elision, lll_trylock_elision): Add.
13929 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13930 (pthread_mutex_t): Add lock elision support for s390.
13932 2014-05-14 Wilco <wdijkstr@arm.com>
13934 * sysdeps/arm/fclrexcpt.c: Cleanup.
13935 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13936 * sysdeps/arm/feenablxcpt.c: Cleanup.
13937 * sysdeps/arm/fegetenv.c: Cleanup.
13938 * sysdeps/arm/fegetexcept.c: Cleanup.
13939 * sysdeps/arm/fegetround.c: Cleanup.
13940 * sysdeps/arm/feholdexcpt.c: Cleanup.
13941 * sysdeps/arm/fesetenv.c: Cleanup.
13942 * sysdeps/arm/fesetround.c: Cleanup.
13943 * sysdeps/arm/feupdateenv.c: Cleanup.
13944 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13945 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13946 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13947 * sysdeps/arm/ftestexcept.c: Cleanup.
13948 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13949 * sysdeps/arm/setfpucw.c: Cleanup.
13951 2014-05-09 Will Newton <will.newton@linaro.org>
13953 * sysdeps/arm/armv7/strcmp.S: New file.
13954 * NEWS: Mention addition of ARMv7 optimized strcmp.
13956 2014-05-08 Roland McGrath <roland@hack.frob.com>
13958 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13959 look for %.ac rather than %.in.
13961 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13962 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13963 * sysdeps/mach/hurd/configure: Regenerated.
13964 * sysdeps/unix/sysv/linux/configure: Regenerated.
13966 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13968 2014-05-07 Steve Ellcey <sellcey@mips.com>
13971 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13975 2014-05-07 Andreas Schwab <schwab@suse.de>
13977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13978 when skipping over non-matching result from nscd.
13980 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
13983 * nptl/sockperf.c (client): Check socket return value.
13986 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13987 nscd security class.
13989 2014-05-06 Roland McGrath <roland@hack.frob.com>
13991 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13992 * sysdeps/arm/unwind.h: ... here.
13994 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13997 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14000 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14002 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14003 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14004 multiarch strncpy for PPC64.
14005 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14006 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14008 multiarch optimizations.
14009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14010 (__libc_ifunc_impl_list): Likewise.
14011 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14012 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14013 multiarch stpncpy for PPC64.
14014 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14015 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14017 2014-05-06 Andreas Schwab <schwab@suse.de>
14020 * gmon/mcount.c (_MCOUNT_DECL): Use
14021 atomic_compare_and_exchange_bool_acq instead of
14022 catomic_compare_and_exchange_bool_acq.
14024 2014-05-05 Roland McGrath <roland@hack.frob.com>
14026 * elf/Makefile (others, install-bin): Remove pldd.
14027 (pldd-modules): Variable removed.
14028 ($(objpfx)pldd): Target removed.
14029 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14030 (others, install-bin): Append pldd here.
14031 ($(objpfx)pldd): New target.
14033 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14034 to 0, so the first #if test emitted later doesn't see it undefined.
14035 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14036 * sysdeps/gnu/errlist.c: Regenerated.
14038 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14040 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14041 [libc_hidden_builtin_def]: Define to empty value.
14042 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14043 [libc_hidden_builtin_def]: Likewise.
14044 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14045 [libc_hidden_builtin_def]: Likewise.
14046 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14047 [libc_hidden_builtin_def]: Likewise.
14048 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14049 __redirect_memcpy and define ifunc as default hidden symbol.
14050 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14051 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14053 2014-05-04 Adam Conrad <adconrad@0c3.net>
14055 * locale/iso-4217.def: Reintroduce XDR currency.
14057 2014-05-04 Allan McRae <allan@archlinux.org>
14059 * po/eo.po: Update Esperanto translation from translation project.
14061 2014-05-02 Carlos O'Donell <carlos@redhat.com>
14063 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14064 and FEATURE_INDEX_MAX to 1.
14065 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14067 2014-05-01 Steve Ellcey <sellcey@mips.com>
14069 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14070 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14071 * iconvdata/big5.c (ONE_DIRECTION): Define.
14072 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14073 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14074 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14075 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14076 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14077 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14078 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14079 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14080 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14081 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14082 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14083 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14084 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14085 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14086 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14087 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14088 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14089 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14090 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14091 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14092 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14093 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14094 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14095 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14096 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14097 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14098 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14099 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14100 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14101 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14102 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14103 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14104 * iconvdata/johab.c (ONE_DIRECTION): Define.
14105 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14106 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14107 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14108 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14109 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14110 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14111 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14112 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14113 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14114 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14116 2014-05-01 Roland McGrath <roland@hack.frob.com>
14118 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14119 (_IO_JUMPS_OFFSET): Define to 0.
14121 * nptl/sysdeps/pthread/bits/libc-lock.h
14122 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14123 (__libc_lock_define_initialized_recursive): Always define using
14124 initializer. Modern compilers treat uninitialized (implicit zero) and
14125 explicit zero initializers the same (i.e. put the datum in bss).
14127 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14129 * nscd/nscd-client.h: Include <string.h>.
14131 2014-05-01 David S. Miller <davem@davemloft.net>
14134 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14135 multiple zero bytes exist at the end of a string.
14136 Reported by Aurelien Jarno <aurelien@aurel32.net>
14138 * string/test-strcmp.c (check): Add explicit test for situations where
14139 there are multiple zero bytes after the first.
14141 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14144 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14145 when compiling wprintf.
14146 * stdio-common/tstdiomisc.c (t3): New function.
14149 2014-05-01 Steve Ellcey <sellcey@mips.com>
14151 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14152 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14153 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14154 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14156 2014-05-01 Steve Ellcey <sellcey@mips.com>
14158 * stdlib/longlong.h: Updated from GCC.
14160 2014-05-01 Will Newton <will.newton@linaro.org>
14161 Bernard Ogden <bernie.ogden@linaro.org>
14163 * NEWS: Update fixed bug list.
14166 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14168 2014-04-30 David S. Miller <davem@davemloft.net>
14170 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14171 (libc_feholdexcept_setround_sparc_ctx): New function.
14172 (libc_fesetenv_sparc_ctx): Likewise.
14173 (libc_feupdateenv_sparc_ctx): Likewise.
14174 (libc_feholdsetround_sparc_ctx): Likewise.
14175 (libc_feholdexcept_setround_ctx): Define.
14176 (libc_feholdexcept_setroundf_ctx): Likewise.
14177 (libc_feholdexcept_setroundl_ctx): Likewise.
14178 (libc_fesetenv_ctx): Likewise.
14179 (libc_fesetenvf_ctx): Likewise.
14180 (libc_fesetenvl_ctx): Likewise.
14181 (libc_feupdateenv_ctx): Likewise.
14182 (libc_feupdateenvf_ctx): Likewise.
14183 (libc_feupdateenvl_ctx): Likewise.
14184 (libc_feresetround_ctx): Likewise.
14185 (libc_feresetroundf_ctx): Likewise.
14186 (libc_feresetroundl_ctx): Likewise.
14187 (libc_feholdsetround_ctx): Likewise.
14188 (libc_feholdsetroundf_ctx): Likewise.
14189 (libc_feholdsetroundl_ctx): Likewise.
14191 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14192 with __USE_GNU instead of XOPEN cpp guards.
14194 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14197 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14198 with XOPEN cpp guards.
14200 2014-04-30 Julian Brown <julian@codesourcery.com>
14203 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14206 2014-04-30 Joseph Myers <joseph@codesourcery.com>
14209 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14211 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14212 * sysdeps/unix/sysv/linux/configure: Regenerated.
14213 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14214 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14215 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14216 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14217 * README: Update reference to required Linux kernel version.
14218 * manual/install.texi (Linux): Update reference to required Linux
14219 kernel headers version.
14220 * INSTALL: Regenerated.
14222 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14224 [POSIX] (limits.h): Likewise.
14225 [POSIX] (math.h): Likewise.
14226 [POSIX] (sys/wait.h): Likewise.
14227 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14229 [POSIX] (stddef.h): Do not allow header inclusion.
14231 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14233 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14235 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14237 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14238 Return immediately after lll_futex_wake.
14240 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14243 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14245 (datahead_init_pos): Call datahead_init_common early.
14246 (datahead_init_neg): Likewise.
14248 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14249 datahead_init_neg): New functions.
14250 * nscd/aicache.c (addhstaiX): Use them.
14251 * nscd/grpcache.c (cache_addgr): Likewise.
14252 * nscd/hstcache.c (cache_addhst): Likewise.
14253 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14254 * nscd/netgroupcache.c (do_notfound): Likewise.
14255 (addgetnetgrentX): Likewise.
14256 (addinnetgrX): Likewise.
14257 * nscd/pwdcache.c (cache_addpw): Likewise.
14258 * nscd/servicescache.c (cache_addserv): Likewise.
14260 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14261 Atsushi Onoe <atsushi@onoe.org>
14266 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14267 one response is valid.
14268 * resolv/res_send.c (send_dg): Check for validity of other
14269 response if the current response is a referral.
14271 2014-04-29 Steve Ellcey <sellcey@mips.com>
14273 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14275 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14278 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14279 Always divide by positive zero when computing -Inf result.
14280 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14281 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14283 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14285 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14286 FPSCR if value do not change.
14287 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14288 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14289 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14290 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14291 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14292 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14295 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14297 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14298 * sysdeps/unix/sysv/linux/hppa: Move directory from
14299 ports/systeps/unix/sysv/linux/hppa.
14300 * README: Update listing for hppa-*-linux-gnu.
14302 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
14305 * manual/stdio.texi (Hook functions): Fix types of stream hook
14308 * socket/sys/socket.h: Fix typo in comment.
14310 2014-04-28 Wilco <wdijkstr@arm.com>
14312 * sysdeps/arm/fenv_private.h: New file.
14313 * sysdeps/arm/math_private.h: New file.
14314 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14316 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14318 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14320 (La_x86_64_retval): Likewise.
14322 2014-04-24 Ian Bolton <ian.bolton@arm.com>
14324 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14325 fpsr if value didn't change.
14326 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14327 to fpcr if value didn't change.
14328 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14329 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14330 fpsr or fpcr if value didn't change.
14331 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14332 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14333 fpcr if value didn't change.
14334 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14335 to fpsr if value didn't change.
14337 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14339 * nptl/tst-sem3.c: Use test-skeleton.c
14340 (main): Rename to do_test. Use return instead of
14342 * nptl/tst-sem4.c: Use test-skeleton.c
14343 (main): Rename to do_test.
14345 2014-04-22 David S. Miller <davem@davemloft.net>
14347 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14348 (struct sigaction): New struct member __glibc_reserved0, change
14349 type of sa_flags to int.
14351 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14353 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14354 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14356 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14358 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14359 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14361 2014-04-22 Will Newton <will.newton@linaro.org>
14362 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14364 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14365 (__longjmp): Add longjmp and longjmp_target SystemTap
14367 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14368 (__sigsetjmp): Add setjmp SystemTap probe.
14370 2014-04-17 Carlos O'Donell <carlos@redhat.com>
14372 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14373 match manual order.
14375 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14377 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14379 * sysdeps/powerpc/fpu/fenv_private.h
14380 (libc_feholdexcept_setroundl_ctx): Define to
14381 libc_feholdexcept_setround_ppc_ctx.
14382 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14383 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14384 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14385 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14387 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14389 * sysdeps/aarch64/math-tests.h: New file.
14391 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14393 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14396 Check and set bit_AVX2_Usable.
14397 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14399 (bit_AVX2): Likewise.
14400 (index_AVX2_Usable): Likewise.
14401 (CPUID_AVX2): Likewise.
14402 (HAS_AVX2): Likewise.
14404 2014-04-17 Will Newton <will.newton@linaro.org>
14406 * manual/setjmp.texi (System V contexts): Add note that
14407 calling setcontext on a context created by a call to a
14408 signal handler is undefined. Update text to note that
14409 setcontext from a signal handler is possible but not
14413 * stdlib/tst-setcontext.c: Include signal.h.
14414 (main): Check that the signal stack before and
14415 after swapcontext is the same.
14417 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14418 Re-implement to restore registers in user code and avoid
14419 rt_sigreturn system call.
14421 2014-04-17 Wilco <wdijkstr@arm.com>
14423 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14424 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14425 * math/test-fenv.c: Skip exception trap tests on targets which only
14426 support non-stop mode.
14428 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14429 Wilco Dijkstra <wilco.dijkstra@arm.com>
14431 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14432 (libc_feholdsetround_aarch64_ctx)
14433 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14434 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14435 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14436 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14437 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14438 (libc_feresetround_noexl_ctx): Define.
14440 2014-04-16 Richard Henderson <rth@redhat.com>
14442 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14444 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14447 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14448 const from the non-libc, non-ldso copy.
14450 * sysdeps/alpha/libm-test-ulps: Regenerate.
14452 2014-04-16 Ian Bolton <ian.bolton@arm.com>
14453 Wilco Dijkstra <wilco.dijkstra@arm.com>
14455 * sysdeps/aarch64/fpu/math_private.h: New file.
14457 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14459 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14461 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14464 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14465 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14466 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14467 Intel MPX bound registers before _dl_profile_fixup.
14468 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14469 registers after _dl_profile_fixup. Save and restore bound
14470 registers bnd0/bnd1 when calling _dl_call_pltexit.
14471 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14472 (LR_BND_OFFSET): Likewise.
14473 (LRV_BND0_OFFSET): Likewise.
14474 (LRV_BND1_OFFSET): Likewise.
14476 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14478 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14480 * sysdeps/mach/hurd/i386/tls.h: ... here.
14481 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14482 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14485 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14487 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14489 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14491 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14493 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14496 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14497 * sysdeps/s390/configure: Regenerate.
14500 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14501 Set round-to-nearest internally to reduce error accumulation.
14503 2014-04-16 Alan Modra <amodra@gmail.com>
14507 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14508 * math/libm-test.inc (frexp_test_data): Add tests.
14509 * NEWS: Update fixed bug list.
14511 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14513 * benchtests/Makefile: Depend on libraries in build directory.
14514 (bench-math): Separate out math tests.
14515 (bench-pthread): Separate out pthread tests.
14516 (bench): Include math and pthread tests.
14518 2014-04-14 Carlos O'Donell <carlos@redhat.com>
14521 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14522 _dl_debug_initialize.
14524 * configure.ac: Remove SELinux header check.
14525 * configure: Regenerate.
14526 * nscd/selinux.c (perms): Array of const char* to permission names.
14527 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14528 default policy. Call string_to_security_class and string_to_av_perm to
14529 translate strings. Enforce default policy and call avs_has_perm with
14530 results of translated strings.
14532 2014-04-13 David S. Miller <davem@davemloft.net>
14534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14536 2014-04-12 Allan McRae <allan@archlinux.org>
14539 * manual/string.texi (Collation Functions): Fix qsort argument
14541 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14543 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14545 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14546 Make the test a no-op if there are no exceptions defined.
14548 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14550 * elf/Makefile (tests): make tst-dlopen-aout conditional on
14551 enable-hardcoded-path-in-tests
14553 2014-04-11 Will Newton <will.newton@linaro.org>
14555 * benchtests/Makefile (extra-objs): Add json-lib.o.
14556 (bench-func): Tidy up JSON output.
14557 * benchtests/bench-skeleton.c: Include json-lib.h.
14558 (main): Use JSON library functions to do output of
14560 * benchtests/bench-timing-type.c (main): Output the
14561 timing type simply, leaving formatting to the user.
14562 * benchtests/json-lib.c: New file.
14563 * benchtests/json-lib.h: Likewise.
14565 2014-04-11 Torvald Riegel <triegel@redhat.com>
14568 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14569 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14570 memory barriers. Add comments.
14571 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14572 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14573 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14574 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14575 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14576 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14578 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14580 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14581 * sysdeps/s390/s390-64/configure.ac: ... this ...
14582 * sysdeps/s390/configure.ac: ... to here.
14583 * sysdeps/s390/s390-32/configure: Delete file.
14584 * sysdeps/s390/s390-64/configure: Delete file.
14585 * sysdeps/s390/configure: Regenerate.
14587 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14589 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14591 2014-04-11 Will Newton <will.newton@linaro.org>
14593 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14594 to zero if it is not defined elsewhere. (mtrim): Test
14595 the value of MALLOC_DEBUG with #if rather than #ifdef.
14597 2014-04-10 Torvald Riegel <triegel@redhat.com>
14599 * benchtests/pthread_once-inputs: New file.
14600 * benchtests/pthread_once-source.c: New file.
14601 * benchtests/README: Update documentation.
14603 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14604 H.J. Lu <hongjiu.lu@intel.com>
14607 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14608 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14609 * sysdeps/x86_64/configure: Regenerated.
14610 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14612 (REGISTER_SAVE_RAX): Likewise.
14613 (REGISTER_SAVE_RCX): Likewise.
14614 (REGISTER_SAVE_RDX): Likewise.
14615 (REGISTER_SAVE_RSI): Likewise.
14616 (REGISTER_SAVE_RDI): Likewise.
14617 (REGISTER_SAVE_R8): Likewise.
14618 (REGISTER_SAVE_R9): Likewise.
14619 (REGISTER_SAVE_BND0): Likewise.
14620 (REGISTER_SAVE_BND1): Likewise.
14621 (REGISTER_SAVE_BND2): Likewise.
14622 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14623 bound registers when calling _dl_fixup.
14625 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14627 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14628 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14630 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14631 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14632 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14633 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14634 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14635 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14636 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14638 2014-04-09 Peter Brett <peter@peter-b.co.uk>
14641 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14642 pathconf(_PC_NAME_MAX).
14644 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14646 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14647 Remove macro usage.
14648 (__PTHREAD_SPINS): Move definition to ...
14649 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14650 (__PTHREAD_SPINS): ... here.
14651 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14652 (__PTHREAD_SPIN): Likewise.
14653 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14654 (__PTHREAD_SPIN): Likewise.
14655 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14656 (__PTHREAD_SPIN): Likewise.
14657 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14658 (__PTHREAD_SPIN): Likewise.
14659 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14660 (__PTHREAD_SPIN): Likewise.
14661 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14662 (__PTHREAD_SPIN): Likewise.
14663 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14664 (__PTHREAD_SPIN): Likewise.
14665 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14666 (__PTHREAD_SPIN): Likewise.
14667 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14668 (__PTHREAD_SPIN): Likewise.
14669 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14670 (__PTHREAD_SPIN): Likewise.
14671 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14672 (__PTHREAD_SPIN): Likewise.
14673 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14674 (__PTHREAD_SPIN): Likewise.
14676 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14677 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14678 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14679 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14681 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14682 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14683 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14684 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14685 correct imply path.
14686 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14687 strlen symbol for non multi-arch builds.
14688 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14689 missing hidden_def and weak_alias.
14691 2014-04-08 Carlos O'Donell <carlos@redhat.com>
14693 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14695 2014-04-07 Will Newton <will.newton@linaro.org>
14697 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14698 and contents. [!_LIBC] Remove #ifndef and contents.
14699 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14700 * string/memccpy.c (__memccpy): Use ANSI prototype.
14701 * string/memfrob.c (memfrob): Likewise.
14702 * string/strcoll.c (STRCOLL): Likewise.
14703 * string/strlen.c (strlen): Likewise.
14704 * string/strtok.c (STRTOK): Likewise.
14705 * string/strcat.c: Remove unused #include of memcopy.h.
14706 (strcat): Use ANSI prototype.
14707 * string/strchr.c: Remove unused #include of memcopy.h.
14708 (strchr): Use ANSI prototype.
14709 * string/strcmp.c: Remove unused #include of memcopy.h.
14710 (strcmp): Use ANSI prototype.
14711 * string/strcpy.c: Remove unused #include of memcopy.h.
14712 (strcpy): Use ANSI prototype.
14714 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14716 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14717 * config.make.in (config-extra-cppflags): Set it from
14718 libc_extra_cppflags.
14719 * configure.ac (libc_extra_cflags): Make it accumulate over
14720 configure fragments.
14721 (libc_extra_cppflags): New flag.
14722 * configure. Regenerate.
14723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14724 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14725 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14729 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14730 result for FE_DOWNWARD rounding mode.
14731 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14735 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14737 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14738 in function argument name.
14740 2014-04-03 David Svoboda <svoboda@cert.org>
14743 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14746 2014-04-03 Roland McGrath <roland@hack.frob.com>
14748 * elf/dl-unmap-segments.h: New file.
14749 * sysdeps/generic/ldsodefs.h
14750 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14751 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14752 * elf/dl-fptr.c: Likewise.
14753 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14754 * sysdeps/aarch64/tlsdesc.c: Likewise.
14755 * sysdeps/arm/tlsdesc.c: Likewise.
14756 * sysdeps/i386/tlsdesc.c: Likewise.
14757 * sysdeps/tile/dl-runtime.c: Likewise.
14758 * sysdeps/x86_64/tlsdesc.c: Likewise.
14759 * elf/dl-load.h: New file.
14760 * elf/dl-load.c: Include it.
14761 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14762 Macros moved to dl-load.h.
14763 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14764 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14765 Use _dl_unmap_segments in place of __munmap.
14766 Break out segment-mapping loop into ...
14767 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14769 2014-04-03 Will Newton <will.newton@linaro.org>
14771 * elf/dl-lookup.c (do_lookup_x): Remove comment
14772 referring to nested function and move variable
14773 declarations down to before first use.
14775 2014-04-02 Joseph Myers <joseph@codesourcery.com>
14779 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14781 * math/s_catanf.c (__catanf): Likewise.
14782 * math/s_catanh.c (__catanh): Likewise.
14783 * math/s_catanhf.c (__catanhf): Likewise.
14784 * math/s_catanhl.c (__catanhl): Likewise.
14785 * math/s_catanl.c (__catanl): Likewise.
14786 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14787 by positive zero when computing -Inf result.
14788 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14789 (catanh_test): Likewise.
14790 * sysdeps/i386/fpu/libm-test-ulps: Update.
14791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14794 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14795 instead of using underflowing value in computing result.
14796 * math/s_clog10.c (__clog10): Likewise.
14797 * math/s_clog10f.c (__clog10f): Likewise.
14798 * math/s_clog10l.c (__clog10l): Likewise.
14799 * math/s_clogf.c (__clogf): Likewise.
14800 * math/s_clogl.c (__clogl): Likewise.
14801 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14802 (clog10_test): Likewise.
14803 * sysdeps/i386/fpu/libm-test-ulps: Update.
14804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14806 2014-04-02 Alan Modra <amodra@gmail.com>
14809 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14810 output when value is near a power of two. Use int64_t for lx and
14811 remove casts. Use decimal rather than hex exponent constants.
14812 Don't use long double multiplication when double will suffice.
14813 * math/libm-test.inc (nextafter_test_data): Add tests.
14814 * NEWS: Add 16739 and 16786 to bug list.
14816 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14818 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14820 2014-04-01 Will Newton <will.newton@linaro.org>
14822 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14823 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14825 2014-04-01 Florian Weimer <fweimer@redhat.com>
14828 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14829 * nptl/tst-setuid2.c: New file.
14830 * nptl/Makefile (xtests): Add tst-setuid2.
14832 2014-04-01 Alan Modra <amodra@gmail.com>
14835 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14837 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14841 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14842 set errno as appropriate.
14843 * math/w_scalbf.c (__scalbf): Likewise.
14844 * math/w_scalbl.c (__scalbl): Likewise.
14845 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14846 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14847 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14848 Add more NaN tests.
14851 * math/w_atan2.c: Include <errno.h>.
14852 (__atan2): Set errno for result underflowing to zero.
14853 * math/w_atan2f.c: Include <errno.h>.
14854 (__atan2f): Set errno for result underflowing to zero.
14855 * math/w_atan2l.c: Include <errno.h>.
14856 (__atan2l): Set errno for result underflowing to zero.
14857 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14859 * math/auto-libm-test-out: Regenerated.
14861 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14863 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14864 Encode instruction correctly in little endian.
14865 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14867 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14869 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14871 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14874 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14877 * sysdeps/unix/sysv/linux/kernel-features.h
14878 [__sparc__ && !__arch64__ && !__sparc_v9__]
14879 (__ASSUME_SET_ROBUST_LIST): Do not define.
14880 [__sparc__ && !__arch64__ && !__sparc_v9__]
14881 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14882 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14884 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14885 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14886 (__ASSUME_REQUEUE_PI): Likewise.
14887 (__ASSUME_SET_ROBUST_LIST): Likewise.
14888 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14889 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14891 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14892 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14894 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14896 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14898 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14899 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14901 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14902 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14906 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14907 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14908 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14910 2014-03-31 Will Newton <will.newton@linaro.org>
14912 * benchtests/Makefile (bench): Add ffs and ffsll to list
14914 * benchtests/ffs-inputs: New file.
14915 * benchtests/ffsll-inputs: Likewise.
14917 2014-03-29 Joseph Myers <joseph@codesourcery.com>
14920 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14921 too large before casting to int.
14922 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14923 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14924 * math/libm-test.inc (scalb_test_data): Add more tests.
14926 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14928 * benchtests/Makefile (DETAILED_OPT): New make option.
14929 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14931 * benchtests/bench-skeleton.c: Include stdbool.h.
14932 (main): Store and print timings per input.
14933 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14934 member to each argument value.
14935 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14936 (_print_arg_data): Initialize per-input timing to 0.
14938 * benchtests/Makefile (timing-type): New binary.
14939 (bench-clean): Also remove bench-timing-type.
14940 (bench): New target for timing-type.
14941 (bench-func): Print output in JSON format.
14942 * benchtests/bench-skeleton.c (main): Print output in JSON
14944 * benchtests/bench-timing-type.c: New file.
14945 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14946 (TIMING_PRINT_STATS): Remove.
14947 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14950 * benchtests/bench-modf.c: Remove.
14951 * benchtests/modf-inputs: New inputs file.
14953 2014-03-28 Joseph Myers <joseph@codesourcery.com>
14956 * math/s_clog10.c (M_PI_LOG10E): New macro.
14957 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14958 imaginary parts are 0.
14959 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14960 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14961 imaginary parts are 0.
14962 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14963 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14964 imaginary parts are 0.
14965 * math/libm-test.inc (clog10_test_data): Update expected results
14966 for when real and imaginary parts are 0.
14968 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14970 * elf/dl-load.c: Finish conversion of __builtin_expect into
14971 __glibc_{un}likely.
14973 2014-03-27 Joseph Myers <joseph@codesourcery.com>
14976 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14977 1+x for argument with exponent below -67.
14978 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14980 * math/auto-libm-test-in: Add more tests of exp.
14981 * math/auto-libm-test-out: Regenerated.
14983 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14986 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14987 (nscd_getnetgrent): Use it.
14990 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14993 2014-03-27 Andi Kleen <ak@linux.intel.com>
14995 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14996 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14997 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14998 (lll_robust_unlock): Remove out of line section. Use cfi
15000 (LLL_STUB_UNWIND_INFO*): Remove.
15001 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15002 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15003 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15004 (lll_robust_unlock): Remove out of line section. Use cfi
15006 (LLL_STUB_UNWIND_INFO*): Remove.
15008 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15011 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15014 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15016 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15018 2014-03-26 Joseph Myers <joseph@codesourcery.com>
15021 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15023 * math/test-fenv-preserve.c: New file.
15024 * math/Makefile (tests): Add test-fenv-preserve.
15026 2014-03-26 Will Newton <will.newton@linaro.org>
15028 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15030 2014-03-25 Roland McGrath <roland@hack.frob.com>
15032 * scripts/versionlist.awk: Partition the version sets and emit all
15033 GLIBC_* (sorted) before all others (sorted).
15035 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15037 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15038 GLIBC_2.2.5 version.
15040 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15042 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15045 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15050 2014-03-25 Andreas Schwab <schwab@suse.de>
15052 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15053 label to be used after in6ailist is initialized.
15055 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15057 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15058 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15060 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15064 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15066 (fp_formats): Update initializers.
15067 (init_fp_formats): Initialize new field.
15068 (output_for_one_input_case): Allow underflow for results up to
15070 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15071 * math/auto-libm-test-in: Don't mark some underflows from asin and
15073 * math/auto-libm-test-out: Regenerated.
15074 * sysdeps/i386/fpu/libm-test-ulps: Update.
15075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15077 2014-03-25 Andreas Schwab <schwab@suse.de>
15079 * libio/Makefile (tst-ftell-partial-wide-ENV)
15080 (tst-ftell-active-handler-ENV): Define.
15082 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15084 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15086 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15088 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15090 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15092 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15093 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15094 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15096 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15099 * elf/dl-load.c (open_verify): Add mode parameter.
15100 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15101 (open_path): Change from boolean 'secure' to complete flag 'mode'
15102 (_dl_map_object): Adjust.
15103 * elf/Makefile (tests): Add tst-dlopen-aout.
15104 * elf/tst-dlopen-aout.c: New test.
15106 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15109 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15110 (struct stat): Rename member pad0 to __glibc_reserved0.
15113 * sysdeps/s390/s390-32/bits/wordsize.h
15114 (__WORDSIZE32_SIZE_ULONG): New define.
15115 * sysdeps/s390/s390-64/bits/wordsize.h
15116 (__WORDSIZE32_SIZE_ULONG): Likewise.
15117 * sysdeps/generic/stdint.h (SIZE_MAX):
15118 Define as UL if __WORDSIZE32_SIZE_ULONG.
15121 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15122 (__glibc_reserved0): New variable.
15123 (sa_flags): Change type to int.
15125 * posix/Makefile (before-compile): Use += before-compile instead
15128 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15129 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15131 2014-03-20 Andreas Schwab <schwab@suse.de>
15134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15135 non-matching result from nscd.
15137 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15139 * scripts/bench.py: Moved to ...
15140 * benchtests/scripts/bench.py: ... here.
15141 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15143 2014-03-24 Andreas Schwab <schwab@suse.de>
15146 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15147 alloca_account and account alloca use for struct in6ailist.
15149 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15152 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15153 rounding mode to recompute results that overflow to infinity or
15155 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15157 * math/auto-libm-test-out: Regenerated.
15158 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15159 (ccosh_test): Likewise.
15160 (csin_test_data): Use plus_oflow.
15161 (csin_test): Use ALL_RM_TEST.
15162 (csinh_test_data): Use plus_oflow.
15163 (csinh_test): Use ALL_RM_TEST.
15164 * sysdeps/i386/fpu/libm-test-ulps: Update.
15165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15167 2014-03-21 Joseph Myers <joseph@codesourcery.com>
15169 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15170 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15171 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15174 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15175 when x - 1 is zero.
15176 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15177 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15178 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15179 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15181 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15182 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15184 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15185 * sysdeps/i386/fpu/libm-test-ulps: Update.
15186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15188 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15190 * scripts/bench.pl: Remove file.
15191 * scripts/bench.py: New benchmark script.
15192 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15193 * benchtests/README: Mention python dependency.
15194 * scripts/pylintrc: New file.
15195 * scripts/pylint: New file.
15197 * bits/mathdef.h: Use #ifdef instead of #if.
15198 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15199 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15200 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15201 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15202 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15203 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15205 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15206 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15208 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15209 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15210 and strpbrk-ppc64 objects.
15211 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15212 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15213 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15214 multiarch strpbrk for POWER7.
15215 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15216 multiarch strpbrk for PPC64.
15217 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15219 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15220 strpbrk for POWER7.
15222 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15224 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15225 (atan_test): Likewise.
15226 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15227 (atanh_test): Use ALL_RM_TEST.
15228 (atan2_test_data): Likewise.
15229 (cabs_test): Likewise.
15230 (cacosh_test): Likewise.
15231 (carg_test): Likewise.
15232 (casin_test): Likewise.
15233 (casinh_test): Likewise.
15234 (cbrt_test): Likewise.
15235 (csqrt_test): Likewise.
15236 (erf_test): Likewise.
15237 (erfc_test): Likewise.
15238 (pow10_test): Likewise.
15239 (exp2_test): Likewise.
15240 (hypot_test): Likewise.
15241 (j0_test): Likewise.
15242 (j1_test): Likewise.
15243 (lgamma_test): Likewise.
15244 (gamma_test): Likewise.
15245 (sincos_test): Likewise.
15246 (tanh_test): Likewise.
15247 (y0_test): Likewise.
15248 (y1_test): Likewise.
15249 * sysdeps/i386/fpu/libm-test-ulps: Update.
15250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15252 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15254 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15255 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15256 and strcspn-ppc64 objects.
15257 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15258 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15259 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15260 multiarch strcspn for POWER7.
15261 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15262 multiarch strcspn for PPC64.
15263 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15265 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15266 strcspn for POWER7.
15268 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15270 * math/gen-libm-test.pl (generate_testfile): Expect only function
15271 name as argument to AUTO_TESTS_* and pass results for all rounding
15272 modes to parse_args.
15273 (parse_auto_input): Separate inputs of automatic tests from
15274 outputs before storing in %auto_tests.
15275 * math/libm-test.inc (acos_test_data): Update call to
15277 (acos_test): Use ALL_RM_TEST.
15278 (acos_tonearest_test_data): Remove.
15279 (acos_test_tonearest): Likewise.
15280 (acos_towardzero_test_data): Likewise.
15281 (acos_test_towardzero): Likewise.
15282 (acos_downward_test_data): Likewise.
15283 (acos_test_downward): Likewise.
15284 (acos_upward_test_data): Likewise.
15285 (acos_test_upward): Likewise.
15286 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15287 (asin_test_data): Likewise.
15288 (asin_test): Use ALL_RM_TEST.
15289 (asin_tonearest_test_data): Remove.
15290 (asin_test_tonearest): Likewise.
15291 (asin_towardzero_test_data): Likewise.
15292 (asin_test_towardzero): Likewise.
15293 (asin_downward_test_data): Likewise.
15294 (asin_test_downward): Likewise.
15295 (asin_upward_test_data): Likewise.
15296 (asin_test_upward): Likewise.
15297 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15298 (atan_test_data): Likewise.
15299 (atanh_test_data): Likewise.
15300 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15301 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15302 (carg_test_data): Likewise.
15303 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15304 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15305 (ccosh_test_data): Likewise.
15306 (cexp_test_data): Likewise.
15307 (clog_test_data): Likewise.
15308 (clog10_test_data): Likewise.
15309 (cos_test_data): Update call to AUTO_TESTS_f_f.
15310 (cos_test): Use ALL_RM_TEST.
15311 (cos_tonearest_test_data): Remove.
15312 (cos_test_tonearest): Likewise.
15313 (cos_towardzero_test_data): Likewise.
15314 (cos_test_towardzero): Likewise.
15315 (cos_downward_test_data): Likewise.
15316 (cos_test_downward): Likewise.
15317 (cos_upward_test_data): Likewise.
15318 (cos_test_upward): Likewise.
15319 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15320 (cosh_test): Use ALL_RM_TEST.
15321 (cosh_tonearest_test_data): Remove.
15322 (cosh_test_tonearest): Likewise.
15323 (cosh_towardzero_test_data): Likewise.
15324 (cosh_test_towardzero): Likewise.
15325 (cosh_downward_test_data): Likewise.
15326 (cosh_test_downward): Likewise.
15327 (cosh_upward_test_data): Likewise.
15328 (cosh_test_upward): Likewise.
15329 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15330 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15331 (ctan_test_data): Likewise.
15332 (ctan_test): Use ALL_RM_TEST.
15333 (ctan_tonearest_test_data): Remove.
15334 (ctan_test_tonearest): Likewise.
15335 (ctan_towardzero_test_data): Likewise.
15336 (ctan_test_towardzero): Likewise.
15337 (ctan_downward_test_data): Likewise.
15338 (ctan_test_downward): Likewise.
15339 (ctan_upward_test_data): Likewise.
15340 (ctan_test_upward): Likewise.
15341 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15342 (ctanh_test): Use ALL_RM_TEST.
15343 (ctanh_tonearest_test_data): Remove.
15344 (ctanh_test_tonearest): Likewise.
15345 (ctanh_towardzero_test_data): Likewise.
15346 (ctanh_test_towardzero): Likewise.
15347 (ctanh_downward_test_data): Likewise.
15348 (ctanh_test_downward): Likewise.
15349 (ctanh_upward_test_data): Likewise.
15350 (ctanh_test_upward): Likewise.
15351 (erf_test_data): Update call to AUTO_TESTS_f_f.
15352 (erfc_test_data): Likewise.
15353 (exp_test_data): Likewise.
15354 (exp_test): Use ALL_RM_TEST.
15355 (exp_tonearest_test_data): Remove.
15356 (exp_test_tonearest): Likewise.
15357 (exp_towardzero_test_data): Likewise.
15358 (exp_test_towardzero): Likewise.
15359 (exp_downward_test_data): Likewise.
15360 (exp_test_downward): Likewise.
15361 (exp_upward_test_data): Likewise.
15362 (exp_test_upward): Likewise.
15363 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15364 (exp10_test): Use ALL_RM_TEST.
15365 (exp10_tonearest_test_data): Remove.
15366 (exp10_test_tonearest): Likewise.
15367 (exp10_towardzero_test_data): Likewise.
15368 (exp10_test_towardzero): Likewise.
15369 (exp10_downward_test_data): Likewise.
15370 (exp10_test_downward): Likewise.
15371 (exp10_upward_test_data): Likewise.
15372 (exp10_test_upward): Likewise.
15373 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15374 (expm1_test_data): Likewise.
15375 (expm1_test): Use ALL_RM_TEST.
15376 (expm1_tonearest_test_data): Remove.
15377 (expm1_test_tonearest): Likewise.
15378 (expm1_towardzero_test_data): Likewise.
15379 (expm1_test_towardzero): Likewise.
15380 (expm1_downward_test_data): Likewise.
15381 (expm1_test_downward): Likewise.
15382 (expm1_upward_test_data): Likewise.
15383 (expm1_test_upward): Likewise.
15384 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15385 (fma_test): Use ALL_RM_TEST.
15386 (fma_towardzero_test_data): Remove.
15387 (fma_test_towardzero): Likewise.
15388 (fma_downward_test_data): Likewise.
15389 (fma_test_downward): Likewise.
15390 (fma_upward_test_data): Likewise.
15391 (fma_test_upward): Likewise.
15392 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15393 (j0_test_data): Update call to AUTO_TESTS_f_f.
15394 (j1_test_data): Likewise.
15395 (jn_test_data): Update call to AUTO_TESTS_if_f.
15396 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15397 (log_test_data): Update call to AUTO_TESTS_f_f.
15398 (log10_test_data): Likewise.
15399 (log1p_test_data): Likewise.
15400 (log2_test_data): Likewise.
15401 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15402 (pow_tonearest_test_data): Likewise.
15403 (sin_test_data): Update call to AUTO_TESTS_f_f.
15404 (sin_test): Use ALL_RM_TEST.
15405 (sin_tonearest_test_data): Remove.
15406 (sin_test_tonearest): Likewise.
15407 (sin_towardzero_test_data): Likewise.
15408 (sin_test_towardzero): Likewise.
15409 (sin_downward_test_data): Likewise.
15410 (sin_test_downward): Likewise.
15411 (sin_upward_test_data): Likewise.
15412 (sin_test_upward): Likewise.
15413 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15414 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15415 (sinh_test): Use ALL_RM_TEST.
15416 (sinh_tonearest_test_data): Remove.
15417 (sinh_test_tonearest): Likewise.
15418 (sinh_towardzero_test_data): Likewise.
15419 (sinh_test_towardzero): Likewise.
15420 (sinh_downward_test_data): Likewise.
15421 (sinh_test_downward): Likewise.
15422 (sinh_upward_test_data): Likewise.
15423 (sinh_test_upward): Likewise.
15424 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15425 (sqrt_test): Use ALL_RM_TEST.
15426 (sqrt_tonearest_test_data): Remove.
15427 (sqrt_test_tonearest): Likewise.
15428 (sqrt_towardzero_test_data): Likewise.
15429 (sqrt_test_towardzero): Likewise.
15430 (sqrt_downward_test_data): Likewise.
15431 (sqrt_test_downward): Likewise.
15432 (sqrt_upward_test_data): Likewise.
15433 (sqrt_test_upward): Likewise.
15434 (tan_test_data): Update call to AUTO_TESTS_f_f.
15435 (tan_test): Use ALL_RM_TEST.
15436 (tan_tonearest_test_data): Remove.
15437 (tan_test_tonearest): Likewise.
15438 (tan_towardzero_test_data): Likewise.
15439 (tan_test_towardzero): Likewise.
15440 (tan_downward_test_data): Likewise.
15441 (tan_test_downward): Likewise.
15442 (tan_upward_test_data): Likewise.
15443 (tan_test_upward): Likewise.
15444 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15445 (tgamma_test_data): Likewise.
15446 (y0_test_data): Likewise.
15447 (y1_test_data): Likewise.
15448 (yn_test_data): Update call to AUTO_TESTS_if_f.
15449 (main): Do not call removed functions.
15451 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15453 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15454 (ldexp_test_data): Remove.
15455 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15457 (scalb_test): Use ALL_RM_TEST.
15459 2014-03-19 Andreas Schwab <schwab@suse.de>
15461 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15463 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15466 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15467 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15468 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15469 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15470 (__ASSUME_PREADV): Undefine.
15471 (__ASSUME_PWRITEV): Likewise.
15473 2014-03-18 Roland McGrath <roland@hack.frob.com>
15475 * bits/mman-linux.h: Add comment about non-Linux use.
15476 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15477 bits/mman-linux.h resting place.
15479 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15480 * bits/mman-linux.h: ... here.
15482 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15484 * conform/conformtest.pl: Add standard definition when calling C
15485 preprocessor on data files.
15486 (checknamespace): Remove unused variable.
15488 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15490 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15491 minus_oflow, plus_uflow and minus_uflow in expected results.
15492 * math/libm-test.inc (scalbn_test_data): Add more tests of
15493 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15495 (scalbn_test): Use ALL_RM_TEST.
15496 (scalbln_test_data): Add more tests of negative arguments. Use
15497 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15498 (scalbln_test): Use ALL_RM_TEST.
15500 2014-03-18 Roland McGrath <roland@hack.frob.com>
15502 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15504 2014-03-18 Will Newton <will.newton@linaro.org>
15506 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15507 inaccurate comment.
15509 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15511 * Makerules [!subdir] (check-abi): Exit with error status if a
15514 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15516 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15517 for rint. Include results for all rounding modes.
15518 (nearbyint_test): Use ALL_RM_TEST.
15519 (rint_test_data): Include all tests used for nearbyint.
15521 2014-03-17 Will Newton <will.newton@linaro.org>
15523 * nptl/sysdeps/pthread/pthread.h: Revert previous
15526 * sysdeps/generic/ldsodefs.h: Revert previous
15529 * libio/genops.c: Revert previous change.
15530 * libio/libioP.h: Likewise.
15531 * stdio-common/vfprintf.c: Likewise.
15533 * sysdeps/generic/math_private.h: Revert previous
15536 * sysdeps/generic/math_private.h: Check whether
15537 HAVE_RM_CTX is defined with #ifdef rather
15540 * argp/argp-fmtstream.h: Check whether
15541 __STRICT_ANSI__ is defined with #ifdef rather
15543 * argp/argp.h: Likewise.
15545 * libio/genops.c: Check whether
15546 _IO_JUMPS_OFFSET is defined with #ifdef rather
15548 * libio/libioP.h: Likewise.
15549 * stdio-common/vfprintf.c: Likewise.
15551 * sysdeps/generic/ldsodefs.h: Check whether
15552 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15555 * nptl/sysdeps/pthread/pthread.h: Check
15556 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15559 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15561 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15563 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15567 * libio/fileops.c (_IO_file_open): Seek to end of file but
15568 don't cache the offset.
15569 (get_file_offset): Remove function.
15570 (do_ftell): Use cached offset when available.
15571 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15572 don't cache the offset.
15573 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15575 (do_one_test): Call it.
15576 (do_ftell_test): Fix up expected old offset for a+ mode.
15577 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15580 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15581 up test status with function return status.
15582 (do_write_test): Likewise.
15583 (do_append_test): Likewise.
15585 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15586 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15589 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15591 * math/gen-libm-test.pl (parse_args): Handle results specified for
15592 each rounding mode separately.
15593 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15594 tests and results from lrint_tonearest_test_data,
15595 lrint_towardzero_test_data, lrint_downward_test_data and
15596 lrint_upward_test_data.
15597 (lrint_test): Use ALL_RM_TEST.
15598 (lrint_tonearest_test_data): Remove.
15599 (lrint_test_tonearest): Likewise.
15600 (lrint_towardzero_test_data): Likewise.
15601 (lrint_test_towardzero): Likewise.
15602 (lrint_downward_test_data): Likewise.
15603 (lrint_test_downward): Likewise.
15604 (lrint_upward_test_data): Likewise.
15605 (lrint_test_upward): Likewise.
15606 (llrint_test_data): Merge in per-rounding-mode tests and results
15607 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15608 llrint_downward_test_data and llrint_upward_test_data.
15609 (llrint_test): Use ALL_RM_TEST.
15610 (llrint_tonearest_test_data): Remove.
15611 (llrint_test_tonearest): Likewise.
15612 (llrint_towardzero_test_data): Likewise.
15613 (llrint_test_towardzero): Likewise.
15614 (llrint_downward_test_data): Likewise.
15615 (llrint_test_downward): Likewise.
15616 (llrint_upward_test_data): Likewise.
15617 (llrint_test_upward): Likewise.
15618 (rint_test_data): Merge in per-rounding-mode tests and results
15619 from rint_tonearest_test_data, rint_towardzero_test_data,
15620 rint_downward_test_data and rint_upward_test_data. Add
15621 per-rounding-mode results for tests not in those arrays.
15622 (rint_test): Use ALL_RM_TEST.
15623 (rint_tonearest_test_data): Remove.
15624 (rint_test_tonearest): Likewise.
15625 (rint_towardzero_test_data): Likewise.
15626 (rint_test_towardzero): Likewise.
15627 (rint_downward_test_data): Likewise.
15628 (rint_test_downward): Likewise.
15629 (rint_upward_test_data): Likewise.
15630 (rint_test_upward): Likewise.
15631 (main): Don't call removed functions.
15633 2014-03-14 Roland McGrath <roland@hack.frob.com>
15635 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15636 "Compiled on ..." crapola. It is anti-useful.
15638 2014-03-14 Joseph Myers <joseph@codesourcery.com>
15640 * scripts/evaluate-test.sh: Handle fourth argument to determine
15641 whether test run should stop on failure.
15642 * Makeconfig (stop-on-test-failure): New variable.
15643 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15644 $(stop-on-test-failure).
15645 * Makefile (tests): Give a summary of results from testing and
15646 exit with failure status if they include an ERROR or FAIL.
15647 (xtests): Likewise.
15648 * manual/install.texi (Configuring and compiling): Mention
15649 stop-on-test-failure=y.
15650 * INSTALL: Regenerated.
15652 2014-03-14 Roland McGrath <roland@hack.frob.com>
15654 * scripts/versionlist.awk: New file.
15655 * Makerules [$(build-shared) = yes]
15656 (postclean-generated): Add Versions.def, not Versions.def.v and
15658 ($(common-objpfx)Versions.def.v.i): Target removed.
15659 ($(common-objpfx)Versions.def): New target.
15660 ($(common-objpfx)Versions.all): Depend on that rather that
15661 $(common-objpfx)Versions.def.v.
15662 * Versions.def: File removed.
15664 * Makeconfig (+gccwarn): Add -Wundef.
15665 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15666 a dl-sysdep.h breaking its contract.
15667 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15668 * include/stackinfo.h: New file.
15669 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15670 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15671 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15672 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15673 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15674 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15675 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15676 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15677 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15678 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15679 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15680 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15681 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15682 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15683 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15685 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15688 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15690 * math/libm-test.inc (round_test_data): Add more tests.
15693 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15695 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15698 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15700 * math/libm-test.inc (ceil_test_data): Add more tests.
15702 * math/libm-test.inc (trunc_test_data): Add more tests related to
15705 2014-03-14 Roland McGrath <roland@hack.frob.com>
15707 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15708 with #if rather than #ifdef.
15709 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15711 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15713 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15714 first. Disable AVX-512 GCC support if assembler doesn't support
15716 * sysdeps/x86_64/configure: Regenerated.
15718 2014-03-13 Carlos O'Donell <carlos@redhat.com>
15720 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15721 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15722 (__old_pthread_attr_setstack): Likewise.
15723 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15724 [!_STACK_GROWS_DOWN]: Likewise.
15726 2014-03-13 Mike Frysinger <vapier@gentoo.org>
15728 * config.make.in (have-bash2): Delete.
15729 * configure.ac (libc_cv_have_bash2): Delete.
15730 * configure: Regenerate.
15731 * elf/Makefile (common-ldd-rewrite): Rename to ...
15732 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15733 (sh-ldd-rewrite): Delete.
15734 (bash-ldd-rewrite): Delete.
15735 (have-bash2): Delete checks.
15736 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15739 * config.make.in (have-ksh): Delete.
15741 * configure.ac (libc_cv_have_ksh): Delete.
15742 * configure: Regenerate.
15744 * elf/Makefile: Delete $(have-ksh) check.
15745 ($(objpfx)sotruss): Change KSH to BASH.
15746 * elf/sotruss.ksh: Rename to ...
15747 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15748 function style to match POSIX. Drop ksh vim mode setting.
15750 * manual/time.texi (Specifying the Time Zone with TZ): Change
15751 Tuesday to Thursday.
15753 * debug/tst-longjmp_chk2.c: Update header comment.
15754 (stackoverflow_handler): Add comment. Call assert on pass value.
15756 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15759 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15760 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15761 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15762 (La_x86_64_vector): Add zmm.
15763 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15764 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15765 ($(objpfx)tst-audit10): New target.
15766 ($(objpfx)tst-audit10.out): Likewise.
15767 (tst-audit10-ENV): New.
15768 (AVX512-CFLAGS): Likewise.
15769 (CFLAGS-tst-audit10.c): Likewise.
15770 (CFLAGS-tst-auditmod10a.c): Likewise.
15771 (CFLAGS-tst-auditmod10b.c): Likewise.
15772 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15773 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15774 * sysdeps/x86_64/configure: Regenerated.
15775 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15776 AVX-512 zmm register support.
15777 (_dl_x86_64_save_sse): Likewise.
15778 (_dl_x86_64_restore_sse): Likewise.
15779 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15780 size vector registers.
15781 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15782 (ZMM_SIZE): Likewise.
15783 * sysdeps/x86_64/tst-audit10.c: New file.
15784 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15785 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15787 2014-03-13 Roland McGrath <roland@hack.frob.com>
15789 * configure.ac (HAVE_EHDR_START): New check.
15790 * configure: Regenerated.
15791 * config.h.in (HAVE_EHDR_START): New #undef.
15792 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15793 assuming the lowest-addressed segment maps the start of the file.
15795 2014-03-13 Joseph Myers <joseph@codesourcery.com>
15797 * INSTALL: Regenerated.
15799 2014-03-13 Will Newton <will.newton@linaro.org>
15801 * manual/setjmp.texi (System V contexts): Improve
15802 clarity and grammar of documentation.
15804 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15807 * elf/Makefile (tests): Add tst-pie2.
15808 (tests-pie): Add tst-pie2.
15809 * elf/tst-pie2.c: New file.
15810 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15812 * elf/rtld.c (map_doit): Load executable as lt_executable.
15813 (dl_main): Likewise.
15815 2014-03-12 Joseph Myers <joseph@codesourcery.com>
15818 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15819 (__ASSUME_PSELECT): Undefine.
15821 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15824 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15825 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15827 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15828 selector for static builds.
15830 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15833 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15836 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15838 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15839 IFUNC selector for static builds.
15841 2014-03-11 Joseph Myers <joseph@codesourcery.com>
15843 * sysdeps/mips/math_private.h [__mips_hard_float]
15844 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15845 libc_feresetround_mips_ctx.
15846 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15847 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15848 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15851 * math/s_nextafter.c (__nextafter): Do not return value from
15852 overflowing computation.
15853 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15854 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15855 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15857 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15859 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15860 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15862 2014-03-11 Roland McGrath <roland@hack.frob.com>
15864 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15865 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15866 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15867 the new mov targetting sp.
15869 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15872 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15873 Define it for static builds as well.
15874 (NO_BZERO_IMPL): Likewise.
15876 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15878 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15879 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15880 multiarch strspn for PPC64.
15881 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15882 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15884 (__libc_ifunc_impl_list): Likewise.
15885 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15886 multiarch optimizations
15887 * string/strspn.c (strspn): Using macro to redefine symbol name.
15889 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15890 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15892 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15893 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15894 multiarch strncat for PPC64.
15895 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15896 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15897 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15898 (__libc_ifunc_impl_list): Likewise.
15899 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15900 multiarch optimizations
15902 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15905 * nscd/nscd.service: Make service type forking.
15907 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15909 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15910 sign in non default rounding modes.
15911 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15913 2014-03-08 Joseph Myers <joseph@codesourcery.com>
15915 * math/libm-test.inc (ALL_RM_TEST): New macro.
15916 (ceil_test): Use ALL_RM_TEST.
15917 (cimag_test): Likewise.
15918 (conj_test): Likewise.
15919 (copysign_test): Likewise.
15920 (cproj_test): Likewise.
15921 (creal_test): Likewise.
15922 (fabs_test): Likewise.
15923 (floor_test): Likewise.
15924 (fmax_test): Likewise.
15925 (fmin_test): Likewise.
15926 (fmod_test): Likewise.
15927 (fpclassify_test): Likewise.
15928 (frexp_test): Likewise.
15929 (ilogb_test): Likewise.
15930 (isfinite_test): Likewise.
15931 (finite_test): Likewise.
15932 (isgreater_test): Likewise.
15933 (isgreaterequal_test): Likewise.
15934 (isinf_test): Likewise.
15935 (isless_test): Likewise.
15936 (islessequal_test): Likewise.
15937 (islessgreater_test): Likewise.
15938 (isnan_test): Likewise.
15939 (isnormal_test): Likewise.
15940 (issignaling_test): Likewise.
15941 (isunordered_test): Likewise.
15942 (logb_test): Likewise.
15943 (logb_downward_test_data): Remove.
15944 (logb_test_downward): Likewise.
15945 (lround_test): Use ALL_RM_TEST.
15946 (llround_test): Likewise.
15947 (modf_test): Likewise.
15948 (nexttoward_test): Likewise.
15949 (remainder_test): Likewise.
15950 (drem_test): Likewise.
15951 (remainder_tonearest_test_data): Likewise.
15952 (remainder_test_tonearest): Likewise.
15953 (drem_test_tonearest): Likewise.
15954 (remainder_towardzero_test_data): Likewise.
15955 (remainder_test_towardzero): Likewise.
15956 (drem_test_towardzero): Likewise.
15957 (remainder_downward_test_data): Likewise.
15958 (remainder_test_downward): Likewise.
15959 (drem_test_downward): Likewise.
15960 (remainder_upward_test_data): Likewise.
15961 (remainder_test_upward): Likewise.
15962 (drem_test_upward): Likewise.
15963 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15964 (round_test): Use ALL_RM_TEST.
15965 (signbit_test): Likewise.
15966 (trunc_test): Likewise.
15967 (significand_test): Likewise.
15968 (main): Don't call removed functions.
15970 2014-03-07 Joseph Myers <joseph@codesourcery.com>
15973 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15974 || __USE_XOPEN2K8].
15975 (ILL_ILLOPN): Likewise.
15976 (ILL_ILLADR): Likewise.
15977 (ILL_ILLTRP): Likewise.
15978 (ILL_PRVOPC): Likewise.
15979 (ILL_PRVREG): Likewise.
15980 (ILL_COPROC): Likewise.
15981 (ILL_BADSTK): Likewise.
15982 (FPE_INTDIV): Likewise.
15983 (FPE_INTOVF): Likewise.
15984 (FPE_FLTDIV): Likewise.
15985 (FPE_FLTOVF): Likewise.
15986 (FPE_FLTUND): Likewise.
15987 (FPE_FLTRES): Likewise.
15988 (FPE_FLTINV): Likewise.
15989 (FPE_FLTSUB): Likewise.
15990 (SEGV_MAPERR): Likewise.
15991 (SEGV_ACCERR): Likewise.
15992 (BUS_ADRALN): Likewise.
15993 (BUS_ADRERR): Likewise.
15994 (BUS_OBJERR): Likewise.
15995 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15996 (TRAP_TRACE): Likewise.
15997 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15999 (CLD_KILLED): Likewise.
16000 (CLD_DUMPED): Likewise.
16001 (CLD_TRAPPED): Likewise.
16002 (CLD_STOPPED): Likewise.
16003 (CLD_CONTINUED): Likewise.
16004 (POLL_IN): Likewise.
16005 (POLL_OUT): Likewise.
16006 (POLL_MSG): Likewise.
16007 (POLL_ERR): Likewise.
16008 (POLL_PRI): Likewise.
16009 (POLL_HUP): Likewise.
16010 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16012 (ILL_ILLOPN): Likewise.
16013 (ILL_ILLADR): Likewise.
16014 (ILL_ILLTRP): Likewise.
16015 (ILL_PRVOPC): Likewise.
16016 (ILL_PRVREG): Likewise.
16017 (ILL_COPROC): Likewise.
16018 (ILL_BADSTK): Likewise.
16019 (FPE_INTDIV): Likewise.
16020 (FPE_INTOVF): Likewise.
16021 (FPE_FLTDIV): Likewise.
16022 (FPE_FLTOVF): Likewise.
16023 (FPE_FLTUND): Likewise.
16024 (FPE_FLTRES): Likewise.
16025 (FPE_FLTINV): Likewise.
16026 (FPE_FLTSUB): Likewise.
16027 (SEGV_MAPERR): Likewise.
16028 (SEGV_ACCERR): Likewise.
16029 (BUS_ADRALN): Likewise.
16030 (BUS_ADRERR): Likewise.
16031 (BUS_OBJERR): Likewise.
16032 (BUS_MCEERR_AR): Likewise.
16033 (BUS_MCEERR_AO): Likewise.
16034 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16035 (TRAP_TRACE): Likewise.
16036 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16038 (CLD_KILLED): Likewise.
16039 (CLD_DUMPED): Likewise.
16040 (CLD_TRAPPED): Likewise.
16041 (CLD_STOPPED): Likewise.
16042 (CLD_CONTINUED): Likewise.
16043 (POLL_IN): Likewise.
16044 (POLL_OUT): Likewise.
16045 (POLL_MSG): Likewise.
16046 (POLL_ERR): Likewise.
16047 (POLL_PRI): Likewise.
16048 (POLL_HUP): Likewise.
16049 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16050 (ILL_ILLOPN): Likewise.
16051 (ILL_ILLADR): Likewise.
16052 (ILL_ILLTRP): Likewise.
16053 (ILL_PRVOPC): Likewise.
16054 (ILL_PRVREG): Likewise.
16055 (ILL_COPROC): Likewise.
16056 (ILL_BADSTK): Likewise.
16057 (FPE_INTDIV): Likewise.
16058 (FPE_INTOVF): Likewise.
16059 (FPE_FLTDIV): Likewise.
16060 (FPE_FLTOVF): Likewise.
16061 (FPE_FLTUND): Likewise.
16062 (FPE_FLTRES): Likewise.
16063 (FPE_FLTINV): Likewise.
16064 (FPE_FLTSUB): Likewise.
16065 (SEGV_MAPERR): Likewise.
16066 (SEGV_ACCERR): Likewise.
16067 (BUS_ADRALN): Likewise.
16068 (BUS_ADRERR): Likewise.
16069 (BUS_OBJERR): Likewise.
16070 (BUS_MCEERR_AR): Likewise.
16071 (BUS_MCEERR_AO): Likewise.
16072 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16073 (TRAP_TRACE): Likewise.
16074 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16076 (CLD_KILLED): Likewise.
16077 (CLD_DUMPED): Likewise.
16078 (CLD_TRAPPED): Likewise.
16079 (CLD_STOPPED): Likewise.
16080 (CLD_CONTINUED): Likewise.
16081 (POLL_IN): Likewise.
16082 (POLL_OUT): Likewise.
16083 (POLL_MSG): Likewise.
16084 (POLL_ERR): Likewise.
16085 (POLL_PRI): Likewise.
16086 (POLL_HUP): Likewise.
16087 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16089 (ILL_ILLOPN): Likewise.
16090 (ILL_ILLADR): Likewise.
16091 (ILL_ILLTRP): Likewise.
16092 (ILL_PRVOPC): Likewise.
16093 (ILL_PRVREG): Likewise.
16094 (ILL_COPROC): Likewise.
16095 (ILL_BADSTK): Likewise.
16096 (ILL_BADIADDR): Likewise.
16097 (ILL_BREAK): Likewise.
16098 (FPE_INTDIV): Likewise.
16099 (FPE_INTOVF): Likewise.
16100 (FPE_FLTDIV): Likewise.
16101 (FPE_FLTOVF): Likewise.
16102 (FPE_FLTUND): Likewise.
16103 (FPE_FLTRES): Likewise.
16104 (FPE_FLTINV): Likewise.
16105 (FPE_FLTSUB): Likewise.
16106 (FPE_DECOVF): Likewise.
16107 (FPE_DECDIV): Likewise.
16108 (FPE_DECERR): Likewise.
16109 (FPE_INVASC): Likewise.
16110 (FPE_INVDEC): Likewise.
16111 (SEGV_MAPERR): Likewise.
16112 (SEGV_ACCERR): Likewise.
16113 (SEGV_PSTKOVF): Likewise.
16114 (BUS_ADRALN): Likewise.
16115 (BUS_ADRERR): Likewise.
16116 (BUS_OBJERR): Likewise.
16117 (BUS_MCEERR_AR): Likewise.
16118 (BUS_MCEERR_AO): Likewise.
16119 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16120 (TRAP_TRACE): Likewise.
16121 (TRAP_BRANCH): Likewise.
16122 (TRAP_HWBKPT): Likewise.
16123 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16125 (CLD_KILLED): Likewise.
16126 (CLD_DUMPED): Likewise.
16127 (CLD_TRAPPED): Likewise.
16128 (CLD_STOPPED): Likewise.
16129 (CLD_CONTINUED): Likewise.
16130 (POLL_IN): Likewise.
16131 (POLL_OUT): Likewise.
16132 (POLL_MSG): Likewise.
16133 (POLL_ERR): Likewise.
16134 (POLL_PRI): Likewise.
16135 (POLL_HUP): Likewise.
16136 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16137 (ILL_ILLOPN): Likewise.
16138 (ILL_ILLADR): Likewise.
16139 (ILL_ILLTRP): Likewise.
16140 (ILL_PRVOPC): Likewise.
16141 (ILL_PRVREG): Likewise.
16142 (ILL_COPROC): Likewise.
16143 (ILL_BADSTK): Likewise.
16144 (FPE_INTDIV): Likewise.
16145 (FPE_INTOVF): Likewise.
16146 (FPE_FLTDIV): Likewise.
16147 (FPE_FLTOVF): Likewise.
16148 (FPE_FLTUND): Likewise.
16149 (FPE_FLTRES): Likewise.
16150 (FPE_FLTINV): Likewise.
16151 (FPE_FLTSUB): Likewise.
16152 (SEGV_MAPERR): Likewise.
16153 (SEGV_ACCERR): Likewise.
16154 (BUS_ADRALN): Likewise.
16155 (BUS_ADRERR): Likewise.
16156 (BUS_OBJERR): Likewise.
16157 (BUS_MCEERR_AR): Likewise.
16158 (BUS_MCEERR_AO): Likewise.
16159 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16160 (TRAP_TRACE): Likewise.
16161 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16163 (CLD_KILLED): Likewise.
16164 (CLD_DUMPED): Likewise.
16165 (CLD_TRAPPED): Likewise.
16166 (CLD_STOPPED): Likewise.
16167 (CLD_CONTINUED): Likewise.
16168 (POLL_IN): Likewise.
16169 (POLL_OUT): Likewise.
16170 (POLL_MSG): Likewise.
16171 (POLL_ERR): Likewise.
16172 (POLL_PRI): Likewise.
16173 (POLL_HUP): Likewise.
16174 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16175 (ILL_ILLOPN): Likewise.
16176 (ILL_ILLADR): Likewise.
16177 (ILL_ILLTRP): Likewise.
16178 (ILL_PRVOPC): Likewise.
16179 (ILL_PRVREG): Likewise.
16180 (ILL_COPROC): Likewise.
16181 (ILL_BADSTK): Likewise.
16182 (FPE_INTDIV): Likewise.
16183 (FPE_INTOVF): Likewise.
16184 (FPE_FLTDIV): Likewise.
16185 (FPE_FLTOVF): Likewise.
16186 (FPE_FLTUND): Likewise.
16187 (FPE_FLTRES): Likewise.
16188 (FPE_FLTINV): Likewise.
16189 (FPE_FLTSUB): Likewise.
16190 (SEGV_MAPERR): Likewise.
16191 (SEGV_ACCERR): Likewise.
16192 (BUS_ADRALN): Likewise.
16193 (BUS_ADRERR): Likewise.
16194 (BUS_OBJERR): Likewise.
16195 (BUS_MCEERR_AR): Likewise.
16196 (BUS_MCEERR_AO): Likewise.
16197 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16198 (TRAP_TRACE): Likewise.
16199 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16201 (CLD_KILLED): Likewise.
16202 (CLD_DUMPED): Likewise.
16203 (CLD_TRAPPED): Likewise.
16204 (CLD_STOPPED): Likewise.
16205 (CLD_CONTINUED): Likewise.
16206 (POLL_IN): Likewise.
16207 (POLL_OUT): Likewise.
16208 (POLL_MSG): Likewise.
16209 (POLL_ERR): Likewise.
16210 (POLL_PRI): Likewise.
16211 (POLL_HUP): Likewise.
16212 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16213 (ILL_ILLOPN): Likewise.
16214 (ILL_ILLADR): Likewise.
16215 (ILL_ILLTRP): Likewise.
16216 (ILL_PRVOPC): Likewise.
16217 (ILL_PRVREG): Likewise.
16218 (ILL_COPROC): Likewise.
16219 (ILL_BADSTK): Likewise.
16220 (FPE_INTDIV): Likewise.
16221 (FPE_INTOVF): Likewise.
16222 (FPE_FLTDIV): Likewise.
16223 (FPE_FLTOVF): Likewise.
16224 (FPE_FLTUND): Likewise.
16225 (FPE_FLTRES): Likewise.
16226 (FPE_FLTINV): Likewise.
16227 (FPE_FLTSUB): Likewise.
16228 (SEGV_MAPERR): Likewise.
16229 (SEGV_ACCERR): Likewise.
16230 (BUS_ADRALN): Likewise.
16231 (BUS_ADRERR): Likewise.
16232 (BUS_OBJERR): Likewise.
16233 (BUS_MCEERR_AR): Likewise.
16234 (BUS_MCEERR_AO): Likewise.
16235 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16236 (TRAP_TRACE): Likewise.
16237 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16239 (CLD_KILLED): Likewise.
16240 (CLD_DUMPED): Likewise.
16241 (CLD_TRAPPED): Likewise.
16242 (CLD_STOPPED): Likewise.
16243 (CLD_CONTINUED): Likewise.
16244 (POLL_IN): Likewise.
16245 (POLL_OUT): Likewise.
16246 (POLL_MSG): Likewise.
16247 (POLL_ERR): Likewise.
16248 (POLL_PRI): Likewise.
16249 (POLL_HUP): Likewise.
16250 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16251 (ILL_ILLOPN): Likewise.
16252 (ILL_ILLADR): Likewise.
16253 (ILL_ILLTRP): Likewise.
16254 (ILL_PRVOPC): Likewise.
16255 (ILL_PRVREG): Likewise.
16256 (ILL_COPROC): Likewise.
16257 (ILL_BADSTK): Likewise.
16258 (ILL_DBLFLT): Likewise.
16259 (ILL_HARDWALL): Likewise.
16260 (FPE_INTDIV): Likewise.
16261 (FPE_INTOVF): Likewise.
16262 (FPE_FLTDIV): Likewise.
16263 (FPE_FLTOVF): Likewise.
16264 (FPE_FLTUND): Likewise.
16265 (FPE_FLTRES): Likewise.
16266 (FPE_FLTINV): Likewise.
16267 (FPE_FLTSUB): Likewise.
16268 (SEGV_MAPERR): Likewise.
16269 (SEGV_ACCERR): Likewise.
16270 (BUS_ADRALN): Likewise.
16271 (BUS_ADRERR): Likewise.
16272 (BUS_OBJERR): Likewise.
16273 (BUS_MCEERR_AR): Likewise.
16274 (BUS_MCEERR_AO): Likewise.
16275 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16276 (TRAP_TRACE): Likewise.
16277 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16279 (CLD_KILLED): Likewise.
16280 (CLD_DUMPED): Likewise.
16281 (CLD_TRAPPED): Likewise.
16282 (CLD_STOPPED): Likewise.
16283 (CLD_CONTINUED): Likewise.
16284 (POLL_IN): Likewise.
16285 (POLL_OUT): Likewise.
16286 (POLL_MSG): Likewise.
16287 (POLL_ERR): Likewise.
16288 (POLL_PRI): Likewise.
16289 (POLL_HUP): Likewise.
16290 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16291 (ILL_ILLOPN): Likewise.
16292 (ILL_ILLADR): Likewise.
16293 (ILL_ILLTRP): Likewise.
16294 (ILL_PRVOPC): Likewise.
16295 (ILL_PRVREG): Likewise.
16296 (ILL_COPROC): Likewise.
16297 (ILL_BADSTK): Likewise.
16298 (FPE_INTDIV): Likewise.
16299 (FPE_INTOVF): Likewise.
16300 (FPE_FLTDIV): Likewise.
16301 (FPE_FLTOVF): Likewise.
16302 (FPE_FLTUND): Likewise.
16303 (FPE_FLTRES): Likewise.
16304 (FPE_FLTINV): Likewise.
16305 (FPE_FLTSUB): Likewise.
16306 (SEGV_MAPERR): Likewise.
16307 (SEGV_ACCERR): Likewise.
16308 (BUS_ADRALN): Likewise.
16309 (BUS_ADRERR): Likewise.
16310 (BUS_OBJERR): Likewise.
16311 (BUS_MCEERR_AR): Likewise.
16312 (BUS_MCEERR_AO): Likewise.
16313 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16314 (TRAP_TRACE): Likewise.
16315 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16317 (CLD_KILLED): Likewise.
16318 (CLD_DUMPED): Likewise.
16319 (CLD_TRAPPED): Likewise.
16320 (CLD_STOPPED): Likewise.
16321 (CLD_CONTINUED): Likewise.
16322 (POLL_IN): Likewise.
16323 (POLL_OUT): Likewise.
16324 (POLL_MSG): Likewise.
16325 (POLL_ERR): Likewise.
16326 (POLL_PRI): Likewise.
16327 (POLL_HUP): Likewise.
16328 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16329 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16332 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16333 before #include of <time.h>.
16334 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16335 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16336 (test-xfail-UNIX98/sched.h/conform): Likewise.
16338 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16340 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16341 error absence of trapping exception support.
16342 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16344 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16346 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16347 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16348 * timezone/Makefile (testdata): Move definition above include of
16350 (test-zones): New variable.
16351 (tests-special): Add zone files.
16352 (build-testdata): Use $(evaluate-test).
16354 * elf/Makefile (tests-special): Rename tests to end with .out.
16355 ($(objpfx)noload-mem): Likewise.
16356 ($(objpfx)tst-leaks1-mem): Likewise.
16357 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16358 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16359 $(objpfx)test-iconvconfig.out.
16360 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16361 set -e inside subshell and redirect output to file.
16362 * iconvdata/Makefile (generated): Rename tests to end with .out.
16364 (tests-special): Rename tests to end with .out.
16365 ($(objpfx)mtrace-tst-loading): Likewise.
16366 * intl/Makefile (generated): Likewise.
16367 (tests-special): Likewise.
16368 ($(objpfx)mtrace-tst-gettext): Likewise.
16369 * misc/Makefile (generated): Likewise.
16370 (tests-special): Likewise.
16371 ($(objpfx)tst-error1-mem): Likewise.
16372 * nptl/Makefile (tests-special): Likewise.
16373 ($(objpfx)tst-stack3-mem): Likewise.
16374 (generated): Likewise.
16375 * posix/Makefile (generated): Likewise.
16376 (tests-special): Likewise.
16377 (xtests-special): Likewise.
16378 ($(objpfx)tst-fnmatch-mem): Likewise.
16379 ($(objpfx)bug-regex2-mem): Likewise.
16380 ($(objpfx)bug-regex14-mem): Likewise.
16381 ($(objpfx)bug-regex21-mem): Likewise.
16382 ($(objpfx)bug-regex31-mem): Likewise.
16383 ($(objpfx)tst-vfork3-mem): Likewise.
16384 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16385 ($(objpfx)tst-pcre-mem): Likewise.
16386 ($(objpfx)tst-boost-mem): Likewise.
16387 ($(objpfx)bug-ga2-mem): Likewise.
16388 ($(objpfx)bug-glob2-mem): Likewise.
16389 * resolv/Makefile (generate): Likewise.
16390 (tests-special): Likewise.
16391 (xtests-special): Likewise.
16392 (generated): Likewise.
16393 ($(objpfx)mtrace-tst-leaks): Likewise.
16394 ($(objpfx)mtrace-tst-leaks2): Likewise.
16396 * scripts/merge-test-results.sh: New file.
16397 * Makefile (tests-special-notdir): New variable.
16398 (tests): Run merge-test-results.sh.
16399 (xtests): Likewise.
16400 * Rules (tests-special-notdir): New variable.
16401 (xtests-special-notdir): Likewise.
16402 (tests): Run merge-test-results.sh
16403 (xtests): Likewise.
16405 * Makeconfig (test-xfail-name): New variable.
16406 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16407 compute variable name for expected failures.
16408 * conform/Makefile (conformtest-headers-data): New variable.
16409 (conformtest-standards): Likewise.
16410 (conformtest-headers-ISO): Likewise.
16411 (conformtest-headers-ISO99): Likewise.
16412 (conformtest-headers-ISO11): Likewise.
16413 (conformtest-headers-POSIX): Likewise.
16414 (conformtest-headers-XPG3): Likewise.
16415 (conformtest-headers-XPG4): Likewise.
16416 (conformtest-headers-UNIX98): Likewise.
16417 (conformtest-headers-XOPEN2K): Likewise.
16418 (conformtest-headers-POSIX2008): Likewise.
16419 (conformtest-headers-XOPEN2K8): Likewise.
16420 (conformtest-header-list-base): Likewise.
16421 (conformtest-header-list-tests): Likewise.
16422 (conformtest-header-base): Likewise.
16423 (conformtest-header-tests): Likewise.
16424 (tests-special): Add $(conformtest-header-list-tests). If
16425 [$(fast-check) && !$(cross-compiling)], add
16426 $(conformtest-header-tests) instead of
16427 $(objpfx)run-conformtest.out.
16428 (generated): Add $(conformtest-header-list-base). If
16429 [$(fast-check) && !$(cross-compiling)], add
16430 $(conformtest-header-base). Remove previous setting.
16431 ($(conformtest-header-list-tests)): New target.
16432 (test-xfail-run-conformtest): Remove variable.
16433 ($(objpfx)run-conformtest.out): Remove target.
16434 (test-xfail-ISO11/complex.h/conform): New variable.
16435 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16436 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16437 (test-xfail-XPG3/varargs.h/conform): Likewise.
16438 (test-xfail-XPG4/varargs.h/conform): Likewise.
16439 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16440 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16441 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16442 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16443 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16444 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16445 (test-xfail-XPG3/ftw.h/conform): Likewise.
16446 (test-xfail-XPG3/grp.h/conform): Likewise.
16447 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16448 (test-xfail-XPG3/limits.h/conform): Likewise.
16449 (test-xfail-XPG3/pwd.h/conform): Likewise.
16450 (test-xfail-XPG3/search.h/conform): Likewise.
16451 (test-xfail-XPG3/signal.h/conform): Likewise.
16452 (test-xfail-XPG3/stdio.h/conform): Likewise.
16453 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16454 (test-xfail-XPG3/string.h/conform): Likewise.
16455 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16456 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16457 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16458 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16459 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16460 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16461 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16462 (test-xfail-XPG3/termios.h/conform): Likewise.
16463 (test-xfail-XPG3/time.h/conform): Likewise.
16464 (test-xfail-XPG3/unistd.h/conform): Likewise.
16465 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16466 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16467 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16468 (test-xfail-XPG4/netdb.h/conform): Likewise.
16469 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16470 (test-xfail-XPG4/signal.h/conform): Likewise.
16471 (test-xfail-XPG4/stdio.h/conform): Likewise.
16472 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16473 (test-xfail-XPG4/stropts.h/conform): Likewise.
16474 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16475 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16476 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16477 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16478 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16479 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16480 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16481 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16482 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16483 (test-xfail-XPG4/termios.h/conform): Likewise.
16484 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16485 (test-xfail-XPG4/unistd.h/conform): Likewise.
16486 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16487 (test-xfail-POSIX/sched.h/conform): Likewise.
16488 (test-xfail-POSIX/signal.h/conform): Likewise.
16489 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16490 (test-xfail-POSIX/tar.h/conform): Likewise.
16491 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16492 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16493 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16494 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16495 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16496 (test-xfail-UNIX98/sched.h/conform): Likewise.
16497 (test-xfail-UNIX98/signal.h/conform): Likewise.
16498 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16499 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16500 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16501 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16502 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16503 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16504 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16505 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16506 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16507 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16508 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16509 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16510 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16511 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16512 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16513 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16514 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16515 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16516 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16517 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16518 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16519 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16520 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16521 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16522 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16523 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16524 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16525 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16526 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16527 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16528 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16529 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16530 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16531 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16532 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16533 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16534 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16535 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16536 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16537 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16538 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16539 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16540 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16541 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16542 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16543 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16544 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16545 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16546 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16547 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16548 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16549 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16550 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16551 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16552 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16553 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16554 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16555 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16556 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16557 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16558 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16559 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16560 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16561 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16562 (conformtest-cc-flags): Likewise.
16563 ($(conformtest-header-tests): New target.
16564 * conform/check-header-lists.sh: New file.
16565 * conform/run-conformtest.sh: Remove.
16567 * conform/conformtest.pl: Allow ' and \ in values given for
16569 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16571 [POSIX] (sys/types.h): Likewise.
16572 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16574 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16576 * conform/data/signal.h-data (SIGIO): Remove expectation.
16577 [XPG3] (SIGBUS): Do not expect.
16578 [POSIX || XPG3] (SIGPOLL): Likewise.
16579 [POSIX || XPG3] (SIGPROF): Likewise.
16580 [POSIX || XPG3] (SIGSYS): Likewise.
16581 [XPG3] (SIGTRAP): Likewise.
16582 [POSIX || XPG3] (SIGURG): Likewise.
16583 [POSIX || XPG3] (SIGVTALRM): Likewise.
16584 [POSIX || XPG3] (SIGXCPU): Likewise.
16585 [POSIX || XPG3] (SIGXFSZ): Likewise.
16586 [POSIX] (SA_SIGINFO): Expect.
16587 [XPG3] (siginfo_t): Do not expect type or contents.
16588 [POSIX] (si_pid): Do not expect element.
16589 [POSIX] (si_uid): Likewise.
16590 [POSIX] (si_addr): Likewise.
16591 [POSIX] (si_status): Likewise.
16592 [POSIX] (si_band): Likewise.
16593 [XPG4] (si_value): Likewise.
16594 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16595 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16596 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16597 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16598 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16599 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16600 [POSIX || XPG3] (ILL_COPROC): Likewise.
16601 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16602 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16603 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16604 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16605 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16606 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16607 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16608 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16609 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16610 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16611 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16612 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16613 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16614 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16615 [POSIX || XPG3] (CLD_EXITED): Likewise.
16616 [POSIX || XPG3] (CLD_KILLED): Likewise.
16617 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16618 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16619 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16620 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16621 [POSIX || XPG3] (POLL_IN): Likewise.
16622 [POSIX || XPG3] (POLL_OUT): Likewise.
16623 [POSIX || XPG3] (POLL_MSG): Likewise.
16624 [POSIX || XPG3] (POLL_ERR): Likewise.
16625 [POSIX || XPG3] (POLL_PRI): Likewise.
16626 [POSIX || XPG3] (POLL_HUP): Likewise.
16627 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16628 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16629 (SIG*): Do not allow.
16630 [XPG3] (si_*): Likewise.
16631 [XPG3] (SI_*): Likewise.
16632 [XPG3 || XPG4] (sigev_*): Likewise.
16633 [XPG3 || XPG4] (SIGEV_*): Likewise.
16634 [XPG3 || XPG4] (sival_*): Likewise.
16635 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16636 [POSIX || XPG3] (BUS_*): Likewise.
16637 [POSIX || XPG3] (CLD_*): Likewise.
16638 [POSIX || XPG3] (FPE_*): Likewise.
16639 [POSIX || XPG3] (ILL_*): Likewise.
16640 [POSIX || XPG3] (POLL_*): Likewise.
16641 [POSIX || XPG3] (SEGV_*): Likewise.
16642 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16643 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16644 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16645 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16646 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16647 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16648 Specify type and value.
16649 (TVERSLEN): Likewise.
16650 (REGTYPE): Likewise.
16651 (AREGTYPE): Likewise.
16652 (LNKTYPE): Likewise.
16653 (SYMTYPE): Likewise.
16654 (CHRTYPE): Likewise.
16655 (BLKTYPE): Likewise.
16656 (DIRTYPE): Likewise.
16657 (FIFOTYPE): Likewise.
16658 (CONTTYPE): Likewise.
16662 (TUREAD): Likewise.
16663 (TUWRITE): Likewise.
16664 (TUEXEC): Likewise.
16665 (TGREAD): Likewise.
16666 (TGWRITE): Likewise.
16667 (TGEXEC): Likewise.
16668 (TOREAD): Likewise.
16669 (TOWRITE): Likewise.
16670 (TOEXEC): Likewise.
16671 [POSIX] (TSVTX): Expect constant.
16673 2014-03-06 Joseph Myers <joseph@codesourcery.com>
16675 * Makefile (tests): Change dependencies to ....
16676 (tests-special): ... additions to this variable.
16677 (tests): Depend on $(tests-special).
16678 * Makerules (check-abi-list): New variable.
16679 (check-abi): Depend on $(check-abi-list).
16680 [$(subdir) = elf] (tests-special): Add
16681 $(objpfx)check-abi-libc.out.
16682 [$(build-shared) = yes && subdir] (tests-special): Add
16684 [$(build-shared) = yes && subdir] (tests): Do not depend on
16686 * Rules (tests): Depend on $(tests-special).
16687 (xtests): Depend on $(xtests-special).
16688 * catgets/Makefile (tests): Change dependencies to ....
16689 (tests-special): ... additions to this variable.
16690 * conform/Makefile (tests): Change dependencies to ....
16691 (tests-special): ... additions to this variable.
16692 * elf/Makefile (tests): Change dependencies to ....
16693 (tests-special): ... additions to this variable.
16694 * grp/Makefile (tests): Change dependencies to ....
16695 (tests-special): ... additions to this variable.
16696 * iconv/Makefile (xtests): Change dependencies to ....
16697 (xtests-special): ... additions to this variable.
16698 * iconvdata/Makefile (tests): Change dependencies to ....
16699 (tests-special): ... additions to this variable.
16700 * intl/Makefile (tests): Change dependencies to ....
16701 (tests-special): ... additions to this variable. Also add
16702 $(objpfx)tst-gettext.out.
16703 * io/Makefile (tests): Change dependencies to ....
16704 (tests-special): ... additions to this variable.
16705 * libio/Makefile (tests): Change dependencies to ....
16706 (tests-special): ... additions to this variable.
16707 * malloc/Makefile (tests): Change dependencies to ....
16708 (tests-special): ... additions to this variable.
16709 * misc/Makefile (tests): Change dependencies to ....
16710 (tests-special): ... additions to this variable.
16711 * nptl/Makefile (tests): Change dependencies to ....
16712 (tests-special): ... additions to this variable.
16713 * nptl_db/Makefile (tests): Change dependencies to ....
16714 (tests-special): ... additions to this variable.
16715 * posix/Makefile (tests): Change dependencies to ....
16716 (tests-special): ... additions to this variable.
16717 (xtests): Change dependencies to ....
16718 (xtests-special): ... additions to this variable.
16719 * resolv/Makefile (tests): Change dependencies to ....
16720 (tests-special): ... additions to this variable.
16721 (xtests): Change dependencies to ....
16722 (xtests-special): ... additions to this variable.
16723 * stdio-common/Makefile (tests): Change dependencies to ....
16724 (tests-special): ... additions to this variable.
16725 (do-tst-unbputc): Remove target.
16726 (do-tst-printf): Likewise.
16727 * stdlib/Makefile (tests): Change dependencies to ....
16728 (tests-special): ... additions to this variable.
16729 * string/Makefile (tests): Change dependencies to ....
16730 (tests-special): ... additions to this variable.
16731 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16732 (tests-special): ... additions to this variable.
16734 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16736 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16738 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16739 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16741 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16742 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16743 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16744 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16745 * conform/data/libgen.h-data [XPG3]: Likewise.
16746 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16747 * conform/data/ndbm.h-data [XPG3]: Likewise.
16748 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16749 * conform/data/netdb.h-data [XPG3]: Likewise.
16750 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16751 * conform/data/poll.h-data [XPG3]: Likewise.
16752 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16753 * conform/data/strings.h-data [XPG3]: Likewise.
16754 * conform/data/stropts.h-data [XPG3]: Likewise.
16755 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16756 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16757 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16759 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16760 * conform/data/sys/time.h-data [XPG3]: Likewise.
16761 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16762 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16763 * conform/data/sys/un.h-data [XPG3]: Likewise.
16764 * conform/data/syslog.h-data [XPG3]: Likewise.
16765 * conform/data/ucontext.h-data [XPG3]: Likewise.
16766 * conform/data/utmpx.h-data [XPG3]: Likewise.
16767 * conform/data/varargs.h-data [UNIX98]: Enable file.
16769 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16771 * math/libm-test.inc (struct test_f_f_data): Move expected results
16772 into structure for each rounding mode.
16773 (struct test_ff_f_data): Likewise.
16774 (struct test_ff_f_data_nexttoward): Likewise.
16775 (struct test_fi_f_data): Likewise.
16776 (struct test_fl_f_data): Likewise.
16777 (struct test_if_f_data): Likewise.
16778 (struct test_fff_f_data): Likewise.
16779 (struct test_c_f_data): Likewise.
16780 (struct test_f_f1_data): Likewise.
16781 (struct test_fF_f1_data): Likewise.
16782 (struct test_ffI_f1_data): Likewise.
16783 (struct test_c_c_data): Likewise.
16784 (struct test_cc_c_data): Likewise.
16785 (struct test_f_i_data): Likewise.
16786 (struct test_ff_i_data): Likewise.
16787 (struct test_f_l_data): Likewise.
16788 (struct test_f_L_data): Likewise.
16789 (struct test_fFF_11_data): Likewise.
16791 (RM_FE_DOWNWARD): Likewise.
16792 (RM_FE_TONEAREST): Likewise.
16793 (RM_FE_TOWARDZERO): Likewise.
16794 (RM_FE_UPWARD): Likewise.
16795 (RUN_TEST_LOOP_f_f): Update references to expected results.
16796 (RUN_TEST_LOOP_2_f): Likewise.
16797 (RUN_TEST_LOOP_fff_f): Likewise.
16798 (RUN_TEST_LOOP_c_f): Likewise.
16799 (RUN_TEST_LOOP_f_f1): Likewise.
16800 (RUN_TEST_LOOP_fF_f1): Likewise.
16801 (RUN_TEST_LOOP_fI_f1): Likewise.
16802 (RUN_TEST_LOOP_ffI_f1): Likewise.
16803 (RUN_TEST_LOOP_c_c): Likewise.
16804 (RUN_TEST_LOOP_cc_c): Likewise.
16805 (RUN_TEST_LOOP_f_i): Likewise.
16806 (RUN_TEST_LOOP_f_i_tg): Likewise.
16807 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16808 (RUN_TEST_LOOP_f_b): Likewise.
16809 (RUN_TEST_LOOP_f_b_tg): Likewise.
16810 (RUN_TEST_LOOP_f_l): Likewise.
16811 (RUN_TEST_LOOP_f_L): Likewise.
16812 (RUN_TEST_LOOP_fFF_11): Likewise.
16813 * math/gen-libm-test.pl (parse_args): Output four copies of
16814 expected results for each test.
16816 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16817 (__ASSUME_UTIMES): Remove.
16818 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16819 (__ASSUME_UTIMES): Likewise.
16821 * math/gen-auto-libm-tests.c: Update comment on output format.
16822 (output_for_one_input_case): Generate before-rounding and
16823 after-rounding information as conditions on output flags not
16824 floating-point format.
16825 * math/auto-libm-test-out: Regenerated.
16826 * math/gen-libm-test.pl (cond_value): New function.
16827 (or_cond_value): Use cond_value.
16828 (generate_testfile): Handle conditional exceptions.
16830 2014-03-05 Joseph Myers <joseph@codesourcery.com>
16832 * math/libm-test.inc (max_valid_error): New variable.
16833 (init_max_error): Take new argument specifying whether function
16834 results are exactly determined. Set max_valid_error and bound
16835 other variables for errors based on this argument.
16836 (set_max_error): Do not record results above max_valid_error.
16837 (check_float_internal): Only accept errors of up to 0.5ulps if
16838 also at most max_valid_error.
16839 (START): Take new argument EXACT and pass it to init_max_error.
16840 (acos_test): Update call to START.
16841 (acos_test_tonearest): Likewise.
16842 (acos_test_towardzero): Likewise.
16843 (acos_test_downward): Likewise.
16844 (acos_test_upward): Likewise.
16845 (acosh_test): Likewise.
16846 (asin_test): Likewise.
16847 (asin_test_tonearest): Likewise.
16848 (asin_test_towardzero): Likewise.
16849 (asin_test_downward): Likewise.
16850 (asin_test_upward): Likewise.
16851 (asinh_test): Likewise.
16852 (atan_test): Likewise.
16853 (atanh_test): Likewise.
16854 (atan2_test): Likewise.
16855 (cabs_test): Likewise.
16856 (cacos_test): Likewise.
16857 (cacosh_test): Likewise.
16858 (carg_test): Likewise.
16859 (casin_test): Likewise.
16860 (casinh_test): Likewise.
16861 (catan_test): Likewise.
16862 (catanh_test): Likewise.
16863 (cbrt_test): Likewise.
16864 (ccos_test): Likewise.
16865 (ccosh_test): Likewise.
16866 (ceil_test): Likewise.
16867 (cexp_test): Likewise.
16868 (cimag_test): Likewise.
16869 (clog_test): Likewise.
16870 (clog10_test): Likewise.
16871 (conj_test): Likewise.
16872 (copysign_test): Likewise.
16873 (cos_test): Likewise.
16874 (cos_test_tonearest): Likewise.
16875 (cos_test_towardzero): Likewise.
16876 (cos_test_downward): Likewise.
16877 (cos_test_upward): Likewise.
16878 (cosh_test): Likewise.
16879 (cosh_test_tonearest): Likewise.
16880 (cosh_test_towardzero): Likewise.
16881 (cosh_test_downward): Likewise.
16882 (cosh_test_upward): Likewise.
16883 (cpow_test): Likewise.
16884 (cproj_test): Likewise.
16885 (creal_test): Likewise.
16886 (csin_test): Likewise.
16887 (csinh_test): Likewise.
16888 (csqrt_test): Likewise.
16889 (ctan_test): Likewise.
16890 (ctan_test_tonearest): Likewise.
16891 (ctan_test_towardzero): Likewise.
16892 (ctan_test_downward): Likewise.
16893 (ctan_test_upward): Likewise.
16894 (ctanh_test): Likewise.
16895 (ctanh_test_tonearest): Likewise.
16896 (ctanh_test_towardzero): Likewise.
16897 (ctanh_test_downward): Likewise.
16898 (ctanh_test_upward): Likewise.
16899 (erf_test): Likewise.
16900 (erfc_test): Likewise.
16901 (exp_test): Likewise.
16902 (exp_test_tonearest): Likewise.
16903 (exp_test_towardzero): Likewise.
16904 (exp_test_downward): Likewise.
16905 (exp_test_upward): Likewise.
16906 (exp10_test): Likewise.
16907 (exp10_test_tonearest): Likewise.
16908 (exp10_test_towardzero): Likewise.
16909 (exp10_test_downward): Likewise.
16910 (exp10_test_upward): Likewise.
16911 (pow10_test): Likewise.
16912 (exp2_test): Likewise.
16913 (expm1_test): Likewise.
16914 (expm1_test_tonearest): Likewise.
16915 (expm1_test_towardzero): Likewise.
16916 (expm1_test_downward): Likewise.
16917 (expm1_test_upward): Likewise.
16918 (fabs_test): Likewise.
16919 (fdim_test): Likewise.
16920 (floor_test): Likewise.
16921 (fma_test): Likewise.
16922 (fma_test_towardzero): Likewise.
16923 (fma_test_downward): Likewise.
16924 (fma_test_upward): Likewise.
16925 (fmax_test): Likewise.
16926 (fmin_test): Likewise.
16927 (fmod_test): Likewise.
16928 (fpclassify_test): Likewise.
16929 (frexp_test): Likewise.
16930 (hypot_test): Likewise.
16931 (ilogb_test): Likewise.
16932 (isfinite_test): Likewise.
16933 (finite_test): Likewise.
16934 (isgreater_test): Likewise.
16935 (isgreaterequal_test): Likewise.
16936 (isinf_test): Likewise.
16937 (isless_test): Likewise.
16938 (islessequal_test): Likewise.
16939 (islessgreater_test): Likewise.
16940 (isnan_test): Likewise.
16941 (isnormal_test): Likewise.
16942 (issignaling_test): Likewise.
16943 (isunordered_test): Likewise.
16944 (j0_test): Likewise.
16945 (j1_test): Likewise.
16946 (jn_test): Likewise.
16947 (ldexp_test): Likewise.
16948 (lgamma_test): Likewise.
16949 (gamma_test): Likewise.
16950 (lrint_test): Likewise.
16951 (lrint_test_tonearest): Likewise.
16952 (lrint_test_towardzero): Likewise.
16953 (lrint_test_downward): Likewise.
16954 (lrint_test_upward): Likewise.
16955 (llrint_test): Likewise.
16956 (llrint_test_tonearest): Likewise.
16957 (llrint_test_towardzero): Likewise.
16958 (llrint_test_downward): Likewise.
16959 (llrint_test_upward): Likewise.
16960 (log_test): Likewise.
16961 (log10_test): Likewise.
16962 (log1p_test): Likewise.
16963 (log2_test): Likewise.
16964 (logb_test): Likewise.
16965 (logb_test_downward): Likewise.
16966 (lround_test): Likewise.
16967 (llround_test): Likewise.
16968 (modf_test): Likewise.
16969 (nearbyint_test): Likewise.
16970 (nextafter_test): Likewise.
16971 (nexttoward_test): Likewise.
16972 (pow_test): Likewise.
16973 (pow_test_tonearest): Likewise.
16974 (pow_test_towardzero): Likewise.
16975 (pow_test_downward): Likewise.
16976 (pow_test_upward): Likewise.
16977 (remainder_test): Likewise.
16978 (drem_test): Likewise.
16979 (remainder_test_tonearest): Likewise.
16980 (drem_test_tonearest): Likewise.
16981 (remainder_test_towardzero): Likewise.
16982 (drem_test_towardzero): Likewise.
16983 (remainder_test_downward): Likewise.
16984 (drem_test_downward): Likewise.
16985 (remainder_test_upward): Likewise.
16986 (drem_test_upward): Likewise.
16987 (remquo_test): Likewise.
16988 (rint_test): Likewise.
16989 (rint_test_tonearest): Likewise.
16990 (rint_test_towardzero): Likewise.
16991 (rint_test_downward): Likewise.
16992 (rint_test_upward): Likewise.
16993 (round_test): Likewise.
16994 (scalb_test): Likewise.
16995 (scalbn_test): Likewise.
16996 (scalbln_test): Likewise.
16997 (signbit_test): Likewise.
16998 (sin_test): Likewise.
16999 (sin_test_tonearest): Likewise.
17000 (sin_test_towardzero): Likewise.
17001 (sin_test_downward): Likewise.
17002 (sin_test_upward): Likewise.
17003 (sincos_test): Likewise.
17004 (sinh_test): Likewise.
17005 (sinh_test_tonearest): Likewise.
17006 (sinh_test_towardzero): Likewise.
17007 (sinh_test_downward): Likewise.
17008 (sinh_test_upward): Likewise.
17009 (sqrt_test): Likewise.
17010 (sqrt_test_tonearest): Likewise.
17011 (sqrt_test_towardzero): Likewise.
17012 (sqrt_test_downward): Likewise.
17013 (sqrt_test_upward): Likewise.
17014 (tan_test): Likewise.
17015 (tan_test_tonearest): Likewise.
17016 (tan_test_towardzero): Likewise.
17017 (tan_test_downward): Likewise.
17018 (tan_test_upward): Likewise.
17019 (tanh_test): Likewise.
17020 (tgamma_test): Likewise.
17021 (trunc_test): Likewise.
17022 (y0_test): Likewise.
17023 (y1_test): Likewise.
17024 (yn_test): Likewise.
17025 (significand_test): Likewise.
17027 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17028 individual tests in comment.
17029 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17030 (prev_max_error): New variable.
17031 (prev_real_max_error): Likewise.
17032 (prev_imag_max_error): Likewise.
17033 (compare_ulp_data): Don't refer to test names in comment.
17034 (find_test_ulps): Remove function.
17035 (find_function_ulps): Likewise.
17036 (find_complex_function_ulps): Likewise.
17037 (init_max_error): Take function name as argument. Look up ulps
17039 (print_ulps): Remove function.
17040 (print_max_error): Use prev_max_error instead of calling
17041 find_function_ulps.
17042 (print_complex_max_error): Use prev_real_max_error and
17043 prev_imag_max_error instead of calling find_complex_function_ulps.
17044 (check_float_internal): Take max_ulp parameter instead of calling
17045 find_test_ulps. Don't call print_ulps.
17046 (check_float): Update call to check_float_internal.
17047 (check_complex): Update calls to check_float_internal.
17048 (START): Pass argument to init_max_error.
17049 * math/gen-libm-test.pl (%results): Don't include "kind"
17051 (parse_ulps): Don't handle ulps of individual tests.
17052 (print_ulps_file): Likewise.
17053 (output_ulps): Likewise.
17054 * math/README.libm-test: Update.
17055 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17057 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17058 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17059 * sysdeps/arm/libm-test-ulps: Likewise.
17060 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17061 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17062 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17063 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17064 * sysdeps/microblaze/libm-test-ulps: Likewise.
17065 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17066 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17067 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17068 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17069 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17070 * sysdeps/sh/libm-test-ulps: Likewise.
17071 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17072 * sysdeps/tile/libm-test-ulps: Likewise.
17073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17075 2014-03-04 Joseph Myers <joseph@codesourcery.com>
17077 * math/libm-test.inc (print_complex_max_error): Check separately
17078 whether real and imaginary errors are within allowed range and
17079 pass 0 to print_complex_function_ulps instead of value within
17082 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17084 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17086 (get_handles_fopen): Likewise.
17087 (do_write_test): Likewise.
17089 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17091 * libio/fileops.c (do_ftell): Use cached offset when
17093 * libio/iofwide.c (do_ftell_wide): Likewise.
17094 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17096 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17099 * libio/libioP.h (get_file_offset): New function.
17100 * libio/fileops.c (get_file_offset): Likewise.
17101 (do_ftell): Likewise.
17102 (_IO_new_file_seekoff): Split out ftell logic.
17103 * libio/wfileops.c (do_ftell_wide): Likewise.
17104 (_IO_wfile_seekoff): Split out ftell logic.
17105 * libio/tst-ftell-active-handler.c: New test case.
17106 * libio/Makefile (tests): Add it.
17108 2014-03-03 Roland McGrath <roland@hack.frob.com>
17110 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17111 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17113 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17116 * nscd/connections.c (nscd_init): Call do_exit.
17117 (start_threads): Call do_exit and notify_parent.
17118 (begin_drop_privileges): Call do_exit.
17119 (finish_drop_privileges): Likewise.
17120 * nscd/selinux.c (preserve_capabilities): Likewise.
17121 (install_real_capabilities): Likewise.
17122 (nscd_selinux_enabled): Likewise.
17123 (avc_create_thread): Likewise.
17124 (avc_alloc_lock): Likewise.
17125 (nscd_avc_init): Likewise.
17126 * nscd/nscd.c (parent_fd): New static variable.
17127 (main): Create a pipe between parent and child processes.
17128 Skip closing parent_fd.
17129 (monitor_child): New function.
17130 (do_exit): Likewise.
17131 (notify_parent): Likewise.
17132 * nscd/nscd.h (notify_parent): Likewise.
17133 (do_exit): Likewise.
17135 2014-03-03 Carlos O'Donell <carlos@redhat.com>
17137 * malloc/malloc.c (__libc_calloc): Revert last change.
17139 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17143 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17145 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17146 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17148 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17149 (__libc_ifunc_impl_list): Likewise.
17150 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17151 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17152 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17153 * string/strrchr.c: Define STRRCHR.
17155 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
17157 * benchtest/bench-strtok.c (simple_strtok): Delete.
17158 (strtok_string): Use as benchmark.
17159 * string/strtok (STRTOK): New macro.
17161 2014-02-28 Carlos O'Donell <carlos@redhat.com>
17163 * manual/threads.texi: Add header and standard comments to all
17166 * elf/dl-lookup.c (check_match): New function.
17167 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17168 (do_lookup_x): Remove nested function check_match. Use non-nested
17169 function check_match.
17171 2014-02-28 Roland McGrath <roland@hack.frob.com>
17173 * csu/Makefile (generated, before-compile): Use += rather than =.
17174 * catgets/Makefile (generated, generated-dirs): Likewise.
17175 * debug/Makefile (generated): Likewise.
17176 * dlfcn/Makefile (generated): Likewise.
17177 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17178 * iconvdata/Makefile (before-compile, generated): Likewise.
17179 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17180 * libio/Makefile (generated): Likewise.
17181 * malloc/Makefile (generated): Likewise.
17182 * manual/Makefile (generated, generated-dirs): Likewise.
17183 * misc/Makefile (generated): Likewise.
17184 * posix/Makefile (generated): Likewise.
17185 * resolv/Makefile (generated): Likewise.
17186 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17187 * timezone/Makefile (generated, generated-dirs): Likewise.
17189 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17191 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17193 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17194 power8 implementation.
17195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17196 file: POWER8 llround ifunc implementation.
17197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17198 (__lllround): Add POWER8 implementation.
17199 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17200 POWER8 llround implementation.
17202 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17203 power8 implementation.
17204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17205 file: POWER8 llrint ifunc implementation.
17206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17207 Add POWER8 implementation.
17208 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17209 POWER8 llrint implementation.
17211 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17212 power8 implementation.
17213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17214 file: POWER8 finite ifunc implementation.
17215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17216 Add POWER8 implementation.
17217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17219 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17220 POWER8 finite implementation.
17221 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17223 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17224 power8 implementation.
17225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17226 file: POWER8 isinf ifunc implementation.
17227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17228 POWER8 implementation.
17229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17231 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17232 isinf implementation.
17233 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17235 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17236 (INIT_ARCH): Add hwcap2 initialization.
17237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17238 power8 implementation.
17239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17240 file: POWER8 isnan ifunc implementation.
17241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17242 POWER8 implementation.
17243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17245 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17246 isnan implementation.
17247 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17249 2014-02-27 Joey Ye <joey.ye@arm.com>
17251 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17252 (_FP_NANFRAC_Q): Set to zero.
17254 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17257 * math/auto-libm-test-in: New test inputs.
17258 * math/auto-libm-test-out: Regenerate.
17259 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17262 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17264 2014-02-27 Joseph Myers <joseph@codesourcery.com>
17266 * scripts/evaluate-test.sh: Take new argument indicating whether
17267 failure is expected.
17268 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17269 indicating whether failure is expected.
17270 * conform/Makefile (test-xfail-run-conformtest): New variable.
17271 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17273 * posix/Makefile (test-xfail-annexc): New variable.
17274 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17276 2014-02-26 Joseph Myers <joseph@codesourcery.com>
17278 * argp/Makefile: Include Makeconfig immediately after defining
17280 * assert/Makefile: Likewise.
17281 * benchtests/Makefile: Likewise.
17282 * catgets/Makefile: Likewise.
17283 * conform/Makefile: Likewise.
17284 * crypt/Makefile: Likewise.
17285 * csu/Makefile: Likewise.
17286 (all): Remove target.
17287 * ctype/Makefile: Include Makeconfig immediately after defining
17289 * debug/Makefile: Likewise.
17290 * dirent/Makefile: Likewise.
17291 * dlfcn/Makefile: Likewise.
17292 * gmon/Makefile: Likewise.
17293 * gnulib/Makefile: Likewise.
17294 * grp/Makefile: Likewise.
17295 * gshadow/Makefile: Likewise.
17296 * hesiod/Makefile: Likewise.
17297 * hurd/Makefile: Likewise.
17298 (all): Remove target.
17299 * iconvdata/Makefile: Include Makeconfig immediately after
17301 * inet/Makefile: Likewise.
17302 * intl/Makefile: Likewise.
17303 * io/Makefile: Likewise.
17304 * libio/Makefile: Likewise.
17305 (all): Remove target.
17306 * locale/Makefile: Include Makeconfig immediately after defining
17308 * login/Makefile: Likewise.
17309 * mach/Makefile: Likewise.
17310 (all): Remove target.
17311 * malloc/Makefile: Include Makeconfig immediately after defining
17313 (all): Remove target.
17314 * manual/Makefile: Include Makeconfig immediately after defining
17316 * math/Makefile: Likewise.
17317 * misc/Makefile: Likewise.
17318 * nis/Makefile: Likewise.
17319 * nss/Makefile: Likewise.
17320 * po/Makefile: Likewise.
17321 (all): Remove target.
17322 * posix/Makefile: Include Makeconfig immediately after defining
17324 * pwd/Makefile: Likewise.
17325 * resolv/Makefile: Likewise.
17326 * resource/Makefile: Likewise.
17327 * rt/Makefile: Likewise.
17328 * setjmp/Makefile: Likewise.
17329 * shadow/Makefile: Likewise.
17330 * signal/Makefile: Likewise.
17331 * socket/Makefile: Likewise.
17332 * soft-fp/Makefile: Likewise.
17333 * stdio-common/Makefile: Likewise.
17334 * stdlib/Makefile: Likewise.
17335 * streams/Makefile: Likewise.
17336 * string/Makefile: Likewise.
17337 * sunrpc/Makefile: Likewise.
17338 (all): Remove target.
17339 * sysvipc/Makefile: Include Makeconfig immediately after defining
17341 * termios/Makefile: Likewise.
17342 * time/Makefile: Likewise.
17343 * timezone/Makefile: Likewise.
17344 (all): Remove target.
17345 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17347 * wctype/Makefile: Likewise.
17349 2014-02-26 Steve Ellcey <sellcey@mips.com>
17351 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17352 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17353 (libc_feholdexcept_setround_mips): Ditto.
17354 (libc_feholdsetround): New.
17355 (libc_feholdsetroundf): New.
17356 (libc_feholdsetroundl): New.
17357 (libc_feupdateenv_test_mips): New.
17358 (libc_feupdateenv_test): New.
17359 (libc_feupdateenv_testf): New.
17360 (libc_feupdateenv_testl): New.
17361 (libc_feresetround): New.
17362 (libc_feresetroundf): New.
17363 (libc_feresetroundl): New.
17364 (libc_fetestexcept_mips): New.
17365 (libc_fetestexcept): New.
17366 (libc_fetestexceptf): New.
17367 (libc_fetestexceptl): New.
17368 (HAVE_RM_CTX): New.
17369 (libc_feholdexcept_setround_mips_ctx): New.
17370 (libc_feholdexcept_setround_ctx): New.
17371 (libc_feholdexcept_setroundf_ctx): New.
17372 (libc_feholdexcept_setroundl_ctx): New.
17373 (libc_fesetenv_mips_ctx): New.
17374 (libc_fesetenv_ctx): New.
17375 (libc_fesetenv_ctxf): New.
17376 (libc_fesetenv_ctxl): New.
17377 (libc_feupdateenv_mips_ctx): New.
17378 (libc_feupdateenv_ctx): New.
17379 (libc_feupdateenvf_ctx): New.
17380 (libc_feupdateenvl_ctx): New.
17381 (libc_feholdsetround_mips_ctx): New.
17382 (libc_feholdsetround_ctx): New.
17383 (libc_feholdsetroundf_ctx): New.
17384 (libc_feholdsetroundl_ctx): New.
17385 (libc_feresetround_mips_ctx): New.
17386 (libc_feresetround_ctx): New.
17387 (libc_feresetroundf_ctx): New.
17388 (libc_feresetroundl_ctx): New.
17390 2014-02-26 Carlos O'Donell <carlos@redhat.com>
17392 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17394 * manual/ipc.texi: New file.
17395 * manual/Makefile (chapters): Add ipc.
17396 * manual/job.texi: Add "Inter-Process Communication" to next.
17397 * manual/process.texi: Add "Inter-Process Communication" to prev.
17399 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17403 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
17405 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17407 * manual/arith.texi: Fix spaces after sentences.
17408 * manual/charset.texi: Likewise.
17409 * manual/errno.texi: Likewise.
17410 * manual/install.texi: Likewise.
17411 * manual/llio.texi: Likewise.
17412 * manual/locale.texi: Likewise.
17413 * manual/maint.texi: Likewise.
17414 * manual/math.texi: Likewise.
17415 * manual/memory.texi: Likewise.
17416 * manual/message.texi: Likewise.
17417 * manual/probes.texi: Likewise.
17418 * manual/resource.texi: Likewise.
17419 * manual/signal.texi: Likewise.
17420 * manual/socket.texi: Likewise.
17421 * manual/stdio.texi: Likewise.
17422 * manual/string.texi: Likewise.
17423 * manual/time.texi: Likewise.
17424 * manual/users.texi: Likewise.
17426 2014-02-25 Carlos O'Donell <carlos@redhat.com>
17429 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17430 _DEFAULT_SOURCE is defined.
17432 2014-02-25 Ulrich Drepper <drepper@gmail.com>
17433 Carlos O'Donell <carlos@redhat.com>
17436 * elf/dl-tls.c (_dl_count_modids): New function.
17437 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17438 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17439 audit library and increment generation counter.
17440 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17441 * elf/tst-audit9.c: New file.
17442 * elf/tst-auditmod9a.c: New file.
17443 * elf/tst-auditmod9b.c: New file.
17444 * elf/Makefile: Add rules to build and run tst-audit9.
17446 2014-02-25 Florian Weimer <fweimer@redhat.com>
17449 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17451 2014-02-25 Will Newton <will.newton@linaro.org>
17453 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17454 (__longjmp): Restore sp and lr before restoring callee
17455 saved registers. Add longjmp and longjmp_target
17456 SystemTap probe point.
17457 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17458 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17459 Define to zero to match jmpbuf layout.
17460 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17461 (__sigsetjmp): Save sp and lr before saving callee
17462 saved registers. Add setjmp SystemTap probe point.
17464 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17466 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17468 2014-02-24 Andreas Schwab <schwab@suse.de>
17471 * elf/pldd.c (wait_for_ptrace_stop): New function.
17472 (main): Call it after attaching.
17474 2014-02-22 Roland McGrath <roland@hack.frob.com>
17476 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17477 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17478 Versions files is now verboten.
17479 * hurd/Versions (libc: GLIBC_2.0):
17480 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17481 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17482 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17483 * mach/Versions: Likewise.
17485 * csu/Versions: Remove unused %include.
17486 * resolv/Versions: Likewise.
17488 2014-02-21 Joseph Myers <joseph@codesourcery.com>
17490 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17491 ($(objpfx)check-local-headers.out): Likewise.
17492 ($(objpfx)begin-end-check.out): Likewise.
17493 * Makerules (check-abi-%.out): Likewise.
17494 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17495 ($(objpfx)test2.cat): Likewise.
17496 ($(objpfx)de/libc.cat): Likewise.
17497 ($(objpfx)test-gencat.out): Likewise.
17498 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17499 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17500 ($(objpfx)noload-mem): Likewise.
17501 ($(objpfx)tst-pathopt.out): Likewise.
17502 ($(objpfx)tst-rtld-load-self.out): Likewise.
17503 ($(objpfx)tst-array1-cmp.out): Likewise.
17504 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17505 ($(objpfx)tst-array2-cmp.out): Likewise.
17506 ($(objpfx)tst-array3-cmp.out): Likewise.
17507 ($(objpfx)tst-array4-cmp.out): Likewise.
17508 ($(objpfx)tst-array5-cmp.out): Likewise.
17509 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17510 ($(objpfx)check-textrel.out): Likewise.
17511 ($(objpfx)check-execstack.out): Likewise.
17512 ($(objpfx)check-localplt.out): Likewise.
17513 ($(objpfx)order2-cmp.out): Likewise.
17514 ($(objpfx)tst-leaks1-mem): Likewise.
17515 ($(objpfx)tst-leaks1-static-mem): Likewise.
17516 ($(objpfx)tst-initorder-cmp.out): Likewise.
17517 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17518 ($(objpfx)tst-unused-dep.out): Likewise.
17519 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17520 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17521 * iconv/Makefile (test-iconvconfig): Likewise.
17522 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17523 ($(objpfx)iconv-test.out): Likewise.
17524 ($(objpfx)tst-tables.out): Likewise.
17525 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17526 ($(objpfx)tst-gettext.out): Likewise.
17527 ($(objpfx)tst-translit.out): Likewise.
17528 ($(objpfx)tst-gettext2.out): Likewise.
17529 ($(objpfx)tst-gettext4.out): Likewise.
17530 ($(objpfx)tst-gettext6.out): Likewise.
17531 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17532 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17533 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17534 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17535 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17536 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17537 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17538 ($(objpfx)wordexp-tst.out): Likewise.
17539 ($(objpfx)annexc.out): Likewise.
17540 ($(objpfx)tst-fnmatch-mem): Likewise.
17541 ($(objpfx)bug-regex2-mem): Likewise.
17542 ($(objpfx)bug-regex14-mem): Likewise.
17543 ($(objpfx)bug-regex21-mem): Likewise.
17544 ($(objpfx)bug-regex31-mem): Likewise.
17545 ($(objpfx)tst-vfork3-mem): Likewise.
17546 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17547 ($(objpfx)tst-pcre-mem): Likewise.
17548 ($(objpfx)tst-boost-mem): Likewise.
17549 ($(objpfx)tst-getconf.out): Likewise.
17550 ($(objpfx)bug-ga2-mem): Likewise.
17551 ($(objpfx)bug-glob2-mem): Likewise.
17552 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17553 ($(objpfx)mtrace-tst-leaks2): Likewise.
17554 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17555 ($(objpfx)tst-printf.out): Likewise.
17556 ($(objpfx)tst-setvbuf1.out): Likewise.
17557 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17558 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17559 ($(objpfx)tst-fmtmsg.out): Likewise.
17560 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17561 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17563 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17564 * bits/sigaction.h [__USE_MISC]: Likewise.
17565 * bits/waitstatus.h: Update #endif comments.
17566 * ctype/ctype.h: Likewise.
17567 * dirent/dirent.h: Likewise.
17568 [__USE_MISC]: Remove redundant conditionals.
17569 * grp/grp.h: Update #endif comments.
17570 [__USE_GNU]: Remove redundant conditionals.
17571 [__USE_MISC]: Likewise.
17572 * inet/netinet/in.h [__USE_GNU]: Likewise.
17573 * io/sys/stat.h [__USE_MISC]: Likewise.
17574 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17575 * libio/bits/stdio.h: Update #endif comments.
17576 [__USE_MISC]: Remove redundant conditionals.
17577 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17578 * libio/stdio.h: Update #endif comments.
17579 [__USE_MISC]: Remove redundant conditionals.
17580 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17581 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17582 * math/math.h: Update #else and #endif comments.
17583 [__USE_MISC]: Remove redundant conditionals.
17584 * misc/sys/uio.h: Update #endif comments.
17585 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17586 * posix/glob.h [__USE_MISC]: Likewise.
17587 * posix/sys/types.h: Update #endif comments.
17588 [__USE_MISC]: Remove redundant conditionals.
17589 * posix/sys/wait.h: Update #endif comments.
17590 [__USE_MISC]: Remove redundant conditionals.
17591 * posix/unistd.h: Update #endif comments.
17592 [__USE_MISC]: Remove redundant conditionals.
17593 * pwd/pwd.h [__USE_GNU]: Likewise.
17594 [__USE_MISC]: Likewise.
17595 * resolv/netdb.h [__USE_GNU]: Likewise.
17596 * signal/signal.h: Update #endif comments.
17597 [__USE_MISC]: Remove redundant conditionals.
17598 * stdlib/stdlib.h: Update #else and #endif comments.
17599 [__USE_MISC]: Remove redundant conditionals.
17600 [__USE_GNU]: Likewise.
17601 * string/bits/string2.h [__USE_MISC]: Likewise.
17602 * string/string.h: Update #endif comments.
17603 [__USE_MISC]: Remove redundant conditionals.
17604 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17606 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17607 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17608 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17610 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17612 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17614 [__USE_MISC]: Remove redundant conditionals.
17615 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17616 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17617 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17618 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17619 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17621 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17622 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17624 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17625 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17627 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17629 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17630 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17632 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17634 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17635 * sysdeps/x86/bits/string.h: Update #endif comments.
17636 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17638 * time/sys/time.h: Update #endif comments.
17639 * time/time.h: Likewise.
17640 [__USE_MISC]: Remove redundant conditionals.
17642 2014-02-21 Yury Gribov <y.gribov@samsung.com>
17645 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17647 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17649 * Versions.def (librt): Add GLIBC_2.17.
17651 2014-02-21 Adam Conrad <adconrad@0c3.net>
17653 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17654 synonym for _SYS_AUXV_H to allow direct inclusion.
17655 * sysdeps/sparc/bits/hwcap.h: Likewise.
17656 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17657 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17658 * sysdeps/sparc/sysdep.h: Likewise.
17660 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17662 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17664 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17666 * benchtests/bench-strrchr.c: Print length instead of position.
17668 2014-02-20 Joseph Myers <joseph@codesourcery.com>
17671 * sysdeps/unix/sysv/linux/kernel-features.h
17672 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17673 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17674 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17675 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17677 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17678 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17679 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17680 (__ASSUME_SENDMMSG): Define instead of using previous
17681 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17682 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17683 (__ASSUME_SENDMMSG_SYSCALL): Define.
17684 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17685 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17687 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17688 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17690 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17691 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17693 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17694 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17695 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17696 [__ASSUME_SENDMMSG]: Change conditionals to
17697 [__ASSUME_SENDMMSG_SOCKETCALL].
17698 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17699 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17701 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17702 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17704 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17705 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17706 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17707 [!__ASSUME_SENDMMSG]: Change conditional to
17708 [!__ASSUME_SENDMMSG_SOCKETCALL].
17709 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17710 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17714 * sysdeps/unix/sysv/linux/kernel-features.h
17715 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17716 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17717 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17718 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17719 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17720 [__i386__ || __sparc__]
17721 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17722 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17723 (__ASSUME_RECVMMSG): Define instead of using previous
17724 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17725 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17726 (__ASSUME_RECVMMSG_SYSCALL): Define.
17727 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17728 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17730 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17731 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17733 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17734 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17736 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17737 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17738 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17739 [__ASSUME_RECVMMSG]: Change condition to
17740 [__ASSUME_RECVMMSG_SOCKETCALL].
17741 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17742 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17744 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17745 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17746 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17748 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17749 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17750 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17751 [!__ASSUME_RECVMMSG]: Change condition to
17752 [!__ASSUME_RECVMMSG_SOCKETCALL].
17753 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17754 (__ASSUME_RECVMMSG_SYSCALL): Define.
17757 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17758 __powerpc__ || __s390__ || __sh__ || __sparc__]
17759 (__ASSUME_SOCKETCALL): Define.
17760 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17761 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17762 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17763 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17764 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17765 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17766 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17767 (__ASSUME_ACCEPT4): Define instead of using previous
17768 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17769 __powerpc__ || __sparc__ || __s390__)] condition.
17770 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17771 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17772 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17773 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17774 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17775 [!__ASSUME_ACCEPT4]: Change condition to
17776 [!__ASSUME_ACCEPT4_SOCKETCALL].
17777 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17778 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17779 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17780 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17781 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17782 __ASSUME_ACCEPT4_SYSCALL.
17783 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17784 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17785 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17786 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17787 __ASSUME_ACCEPT4_SYSCALL.
17788 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17789 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17790 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17791 [__ASSUME_ACCEPT4]: Change condition to
17792 [__ASSUME_ACCEPT4_SOCKETCALL].
17793 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17794 (__ASSUME_SOCKETCALL): Define.
17795 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17796 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17797 (__ASSUME_SOCKETCALL): Define.
17798 (__ASSUME_ACCEPT4): Remove.
17799 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17801 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17802 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17804 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17805 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17807 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17809 (HWCAP_ARM_LPAE): Likewise.
17810 (HWCAP_ARM_EVTSTRM): Likewise.
17811 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17812 Add vpfd32, lpae and evtstrm.
17813 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17816 2014-02-19 Joseph Myers <joseph@codesourcery.com>
17818 * math/auto-libm-test-in: Add tests of clog10.
17819 * math/auto-libm-test-out: Regenerated.
17820 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17821 * sysdeps/i386/fpu/libm-test-ulps: Update.
17822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17824 2014-02-18 Andreas Schwab <schwab@suse.de>
17827 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17828 Store non-zero if the second buffer was newly allocated.
17829 (send_dg): Likewise.
17830 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17831 to send_vc and send_dg.
17832 (res_nsend): Pass NULL for ansp2_malloced.
17833 * resolv/res_query.c (__libc_res_nquery): Add parameter
17834 answerp2_malloced and pass it down to __libc_res_nsend.
17835 (res_nquery): Pass additional NULL to __libc_res_nquery.
17836 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17837 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17838 second answer buffer if answerp2_malloced was set.
17839 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17840 (__libc_res_nquerydomain): Add parameter
17841 answerp2_malloced and pass it down to __libc_res_nquery.
17842 (res_nquerydomain): Pass additional NULL to
17843 __libc_res_nquerydomain.
17844 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17845 additional NULL to __libc_res_nsend and __libc_res_nquery.
17846 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17847 additional NULL to __libc_res_nsearch.
17848 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17849 parameter of __libc_res_nsearch to check for separately allocated
17851 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17853 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17854 additional NULL to __libc_res_nquery.
17855 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17856 __libc_res_nsearch.
17857 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17858 * include/resolv.h: Update prototypes of __libc_res_nquery,
17859 __libc_res_nsearch, __libc_res_nsend.
17861 2014-02-18 Joseph Myers <joseph@codesourcery.com>
17863 * math/auto-libm-test-in: Add tests of fma.
17864 * math/auto-libm-test-out: Regenerated.
17865 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17866 (fma_towardzero_test_data): Likewise.
17867 (fma_downward_test_data): Likewise.
17868 (fma_upward_test_data): Likewise.
17869 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17871 (rounding_modes): Add values for new field.
17872 (func_calc_method): Add value mpfr_fff_f.
17873 (func_calc_desc): Add mpfr_fff_f union field.
17874 (test_function): Add field exact_args.
17875 (FUNC): Add macro argument EXACT_ARGS.
17876 (FUNC_mpfr_f_f): Update call to FUNC.
17877 (FUNC_mpfr_f_f): Likewise.
17878 (FUNC_mpfr_ff_f): Likewise.
17879 (FUNC_mpfr_if_f): Likewise.
17880 (FUNC_mpc_c_f): Likewise.
17881 (FUNC_mpc_c_c): Likewise.
17882 (test_functions): Add fma. Update calls to FUNC.
17883 (handle_input_arg): Add argument exact_args.
17884 (add_test): Update call to handle_input_arg.
17885 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17886 (output_for_one_input_case): Update call to calc_generic_results.
17887 Recalculate exact zero results in each rounding mode.
17889 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17890 non-negative before setting low bit.
17891 * math/auto-libm-test-in: Mark one asin test possibly having
17892 spurious underflow.
17893 * math/auto-libm-test-out: Regenerated.
17894 * sysdeps/i386/fpu/libm-test-ulps: Update.
17895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17897 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17899 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17900 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17901 ports/sysdeps/unix/sysv/linux/microblaze.
17902 * README: Add missing listing for microblaze*-*-linux-gnu.
17904 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
17906 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17909 2014-02-16 Mike Frysinger <vapier@gentoo.org>
17911 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17912 * sysdeps/unix/sysv/linux/ia64: Move directory from
17913 ports/sysdeps/unix/sysv/linux/ia64.
17914 * README: Update listing for ia64-*-linux-gnu.
17916 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17917 Joseph Myers <joseph@codesourcery.com>
17919 * Makeconfig (test-name): New variable.
17920 (evaluate-test): Likewise.
17921 * Makerules (do-test-clean): Remove .test-result files.
17922 (common-mostlyclean): Likewise.
17923 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17924 * scripts/evaluate-test.sh: New file.
17926 2014-02-14 Joseph Myers <joseph@codesourcery.com>
17928 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17929 separate $(objpfx)tst-fopenloc-cmp.out and
17930 $(objpfx)tst-fopenloc-mem.out targets.
17931 (tests): Update dependencies.
17932 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17933 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17934 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17935 (tst-rxspencer-no-utf8-ARGS): New variable.
17936 (tst-rxspencer-no-utf8-ENV): Likewise.
17937 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17938 instead of $(objpfx)tst-rxspencer-mem.
17939 ($(objpfx)tst-rxspencer-mem): Change target to
17940 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17941 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17942 * posix/tst-rxspencer-no-utf8.c: New file.
17944 * elf/Makefile ($(objpfx)order.out): Remove rule.
17945 [$(run-built-tests) = yes] (tests): Depend on
17946 $(objpfx)order-cmp.out.
17947 ($(objpfx)order-cmp.out): New rule.
17948 [$(run-built-tests) = yes] (tests): Depend on
17949 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17950 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17951 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17952 $(objpfx)tst-array5-static-cmp.out.
17953 ($(objpfx)tst-array1.out): Remove rule.
17954 ($(objpfx)tst-array1-cmp.out): New rule.
17955 ($(objpfx)tst-array1-static.out): Remove rule.
17956 ($(objpfx)tst-array1-static-cmp.out): New rule.
17957 ($(objpfx)tst-array2.out): Remove rule.
17958 ($(objpfx)tst-array2-cmp.out): New rule.
17959 ($(objpfx)tst-array3.out): Remove rule.
17960 ($(objpfx)tst-array3-cmp.out): New rule.
17961 ($(objpfx)tst-array4.out): Remove rule.
17962 ($(objpfx)tst-array4-cmp.out): New rule.
17963 ($(objpfx)tst-array5.out): Remove rule.
17964 ($(objpfx)tst-array5-cmp.out): New rule.
17965 ($(objpfx)tst-array5-static.out): Remove rule.
17966 ($(objpfx)tst-array5-static-cmp.out): New rule.
17967 [$(run-built-tests) = yes] (tests): Depend on
17968 $(objpfx)order2-cmp.out.
17969 ($(objpfx)order2.out): Remove rule.
17970 ($(objpfx)order2-cmp.out): New rule.
17971 ($(objpfx)tst-initorder.out): Remove rule.
17972 [$(run-built-tests) = yes] (tests): Depend on
17973 $(objpfx)tst-initorder-cmp.out.
17974 ($(objpfx)tst-initorder-cmp.out): New rule.
17975 ($(objpfx)tst-initorder2.out): Remove rule.
17976 [$(run-built-tests) = yes] (tests): Depend on
17977 $(objpfx)tst-initorder2-cmp.out.
17978 ($(objpfx)tst-initorder2-cmp.out): New rule.
17979 [$(run-built-tests) = yes] (tests): Depend on
17980 $(objpfx)tst-unused-dep-cmp.out.
17981 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17982 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17983 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17984 on $(objpfx)tst-setvbuf1-cmp.out.
17985 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17986 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17987 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17988 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17989 ($(objpfx)tst-svc.out): Remove rule.
17990 ($(objpfx)tst-svc-cmp.out): New rule.
17992 2014-02-13 Joseph Myers <joseph@codesourcery.com>
17994 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17995 * ctype/ctype.h [__USE_MISC]: Likewise.
17996 * dirent/dirent.h [__USE_MISC]: Likewise.
17997 * grp/grp.h [__USE_MISC]: Likewise.
17998 * io/fcntl.h [__USE_MISC]: Likewise.
17999 * io/sys/stat.h [__USE_MISC]: Likewise.
18000 * libio/stdio.h [__USE_MISC]: Likewise.
18001 * posix/unistd.h [__USE_MISC]: Likewise.
18002 * pwd/pwd.h [__USE_MISC]: Likewise.
18003 * stdlib.h [__USE_MISC]: Likewise.
18004 * string/bits/string2.h [__USE_MISC]: Likewise.
18005 * string/string.h [__USE_MISC]: Likewise.
18006 * time/time.h [__USE_MISC]: Likewise.
18008 2014-02-13 Andreas Schwab <schwab@suse.de>
18011 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18012 second answer buffer if it was separately allocated.
18014 2014-02-12 Joseph Myers <joseph@codesourcery.com>
18016 * sysdeps/mips/math-tests.h: Include <features.h>.
18017 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18018 (ROUNDING_TESTS_long_double): Do not define.
18019 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18020 (EXCEPTION_TESTS_long_double): Likewise.
18021 * sysdeps/mips/mips64/libm-test-ulps: Update.
18023 * include/features.h (__USE_BSD): Remove macro definitions.
18024 (__USE_SVID): Likewise.
18025 (_BSD_SOURCE): Likewise.
18026 (_SVID_SOURCE): Likewise.
18027 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18028 from definition of _DEFAULT_SOURCE.
18029 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18031 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18032 * bits/mman.h [__USE_BSD]: Likewise.
18033 * bits/termios.h [__USE_BSD]: Likewise.
18034 * bits/waitstatus.h [__USE_BSD]: Likewise.
18035 * ctype/ctype.h [__USE_SVID]: Likewise.
18036 * dirent/dirent.h [__USE_BSD]: Likewise.
18037 * grp/grp.h [__USE_SVID]: Likewise.
18038 [__USE_BSD]: Likewise.
18039 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18040 * io/fcntl.h [__USE_BSD]: Likewise.
18041 * io/ftw.h [__USE_BSD]: Likewise.
18042 * io/sys/stat.h [__USE_BSD]: Likewise.
18043 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18044 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18045 * libio/stdio.h [__USE_SVID]: Likewise.
18046 [__USE_BSD]: Likewise.
18047 * math/math.h [__USE_SVID]: Likewise.
18048 [__USE_BSD]: Likewise.
18049 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18050 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18051 * misc/search.h [__USE_SVID]: Likewise.
18052 * misc/sys/mman.h [__USE_BSD]: Likewise.
18053 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18054 * misc/sys/uio.h [__USE_BSD]: Likewise.
18055 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18056 * posix/glob.h [__USE_BSD]: Likewise.
18057 * posix/regex.h [__USE_BSD]: Likewise.
18058 * posix/sys/types.h [__USE_BSD]: Likewise.
18059 [__USE_SVID]: Likewise.
18060 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18061 * posix/sys/wait.h [__USE_BSD]: Likewise.
18062 [__USE_SVID]: Likewise.
18063 * posix/unistd.h [__USE_BSD]: Likewise.
18064 [__USE_SVID]: Likewise.
18065 * pwd/pwd.h [__USE_SVID]: Likewise.
18066 * resolv/netdb.h [__USE_BSD]: Likewise.
18067 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18068 * signal/signal.h [__USE_BSD]: Likewise.
18069 [__USE_SVID]: Likewise.
18070 * socket/sys/socket.h [__USE_BSD]: Likewise.
18071 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18072 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18073 [__USE_SVID]: Likewise.
18074 * string/bits/string2.h [__USE_BSD]: Likewise.
18075 [__USE_SVID]: Likewise.
18076 * string/bits/string3.h [__USE_BSD]: Likewise.
18077 * string/endian.h [__USE_BSD]: Likewise.
18078 * string/string.h [__USE_SVID]: Likewise.
18079 [__USE_BSD]: Likewise.
18080 * string/strings.h [__USE_BSD]: Likewise.
18081 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18082 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18083 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18084 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18085 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18086 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18088 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18090 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18091 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18093 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18094 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18096 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18098 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18099 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18100 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18102 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18104 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18105 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18106 * termios/termios.h [__USE_BSD]: Likewise.
18107 * time/sys/time.h [__USE_BSD]: Likewise.
18108 * time/time.h [__USE_BSD]: Likewise.
18109 [__USE_SVID]: Likewise.
18111 * Makefile (subdir_targets): Remove subdir_lint.out.
18113 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18114 (do-tst-printf): Likewise.
18115 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18116 $(objpfx)tst-printf.out.
18118 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18120 * Makerules (check-abi-%): Change target to
18121 $(objpfx)check-abi-%.out.
18122 (check-abi target): Update dependencies.
18123 (check-abi-pattern variable): Redirect output of diff to $@.
18124 (check-abi variable): Likewise.
18125 * elf/Makefile (check-abi): Update dependencies.
18127 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18129 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18130 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18132 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18133 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18134 value has largest subnormal exponent.
18135 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18136 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18137 * sysdeps/aarch64/soft-fp/sfp-machine.h
18138 (_FP_TININESS_AFTER_ROUNDING): New macro.
18139 * sysdeps/alpha/soft-fp/sfp-machine.h
18140 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18141 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18143 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18144 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18145 * sysdeps/mips/soft-fp/sfp-machine.h
18146 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18147 * sysdeps/powerpc/soft-fp/sfp-machine.h
18148 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18149 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18151 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18152 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18153 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18154 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18155 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18158 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
18161 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18164 2014-02-12 Richard Henderson <rth@redhat.com>
18166 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18167 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18168 * sysdeps/unix/sysv/linux/alpha: Move directory from
18169 ports/sysdeps/unix/sysv/linux/alpha.
18170 * README: Update listing for alpha-*-linux-gnu.
18172 2014-02-11 Joseph Myers <joseph@codesourcery.com>
18174 * include/features.h: Update comment documenting feature test
18176 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18178 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18179 (_SVID_SOURCE): Likewise.
18180 (_DEFAULT_SOURCE): Update description of default features.
18181 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18183 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18184 (S_ISVTX): Likewise.
18185 * manual/math.texi (Mathematical Constants): Likewise.
18186 * manual/signal.texi (Interrupted Primitives): Likewise.
18187 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18188 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18189 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18190 Don't refer to _SVID_SOURCE in warning text.
18192 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18194 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18196 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18197 * sysdeps/mips/dl-lookup.c: Remove.
18198 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18200 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18203 * math/auto-libm-test-in: Add testcase for expl.
18204 * math/auto-libm-test-out: Regenerate.
18205 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18206 calculation of unsafe.
18207 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18209 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18211 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18212 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18213 ports/sysdeps/unix/sysv/linux/aarch64.
18214 * README: Update listing for aarch64*-*-linux-gnu.
18216 2014-02-11 Will Newton <will.newton@linaro.org>
18218 * manual/probes.texi (Mathematical Function Probes): Use
18219 "triggered" instead of "hit".
18221 * manual/probes.texi (Internal Probes): Add documentation
18222 of setjmp, longjmp and longjmp_target probes.
18224 * include/stap-probe.h: Add comment about probe argument
18227 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18228 definition. (tr_where, tr_freehook, tr_mallochook,
18229 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18231 2014-02-11 David S. Miller <davem@davemloft.net>
18233 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18234 processing int_tests.
18236 2014-02-10 Joseph Myers <joseph@codesourcery.com>
18238 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18239 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18240 * sysdeps/unix/sysv/linux/mips: Move directory from
18241 ports/sysdeps/unix/sysv/linux/mips.
18242 * README: Update listing for mips-*-linux-gnu and
18243 mips64-*-linux-gnu.
18245 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18247 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18248 * sysdeps/unix/sysv/linux/m68k: Move directory from
18249 ports/sysdeps/unix/sysv/linux/m68k.
18250 * README: Update listing for m68k-*-linux-gnu.
18252 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18254 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18255 * sysdeps/unix/sysv/linux/generic: Move directory from
18256 ports/sysdeps/unix/sysv/linux/generic.
18257 * sysdeps/unix/sysv/linux/tile: Move directory from
18258 ports/sysdeps/unix/sysv/linux/tile.
18259 * README: Update listing for tile*-*-linux-gnu.
18261 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
18263 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18265 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18266 * catgets/open_catalog.c (__open_catalog): Likewise.
18267 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18268 * debug/confstr_chk.c: Likewise.
18269 * debug/fread_chk.c (__fread_chk): Likewise.
18270 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18271 * debug/getgroups_chk.c: Likewise.
18272 * debug/mbsnrtowcs_chk.c: Likewise.
18273 * debug/mbsrtowcs_chk.c: Likewise.
18274 * debug/mbstowcs_chk.c: Likewise.
18275 * debug/memcpy_chk.c: Likewise.
18276 * debug/memmove_chk.c: Likewise.
18277 * debug/mempcpy_chk.c: Likewise.
18278 * debug/memset_chk.c: Likewise.
18279 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18280 * debug/strcat_chk.c (__strcat_chk): Likewise.
18281 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18282 * debug/strncat_chk.c (__strncat_chk): Likewise.
18283 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18284 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18285 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18286 * debug/wcpncpy_chk.c: Likewise.
18287 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18288 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18289 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18290 * debug/wcsncpy_chk.c: Likewise.
18291 * debug/wcsnrtombs_chk.c: Likewise.
18292 * debug/wcsrtombs_chk.c: Likewise.
18293 * debug/wcstombs_chk.c: Likewise.
18294 * debug/wmemcpy_chk.c: Likewise.
18295 * debug/wmemmove_chk.c: Likewise.
18296 * debug/wmempcpy_chk.c: Likewise.
18297 * debug/wmemset_chk.c: Likewise.
18298 * dirent/scandirat.c (SCANDIRAT): Likewise.
18299 * dlfcn/dladdr1.c (dladdr1): Likewise.
18300 * dlfcn/dladdr.c (dladdr): Likewise.
18301 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18302 * dlfcn/dlerror.c (__dlerror): Likewise.
18303 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18304 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18305 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18306 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18307 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18308 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18309 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18310 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18312 * elf/dl-conflict.c: Likewise.
18313 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18314 * elf/dl-dst.h: Likewise.
18315 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18316 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18317 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18318 * elf/dl-init.c (call_init, _dl_init): Likewise.
18319 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18320 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18321 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18323 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18325 * elf/dl-minimal.c (__libc_memalign): Likewise.
18326 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18327 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18328 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18329 * elf/dl-sym.c (do_sym): Likewise.
18330 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18331 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18332 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18333 * elf/dl-writev.h (_dl_writev): Likewise.
18334 * elf/ldconfig.c (search_dir): Likewise.
18335 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18336 (dl_main): Likewise.
18337 * elf/setup-vdso.h (setup_vdso): Likewise.
18338 * grp/compat-initgroups.c (compat_call): Likewise.
18339 * grp/fgetgrent.c (fgetgrent): Likewise.
18340 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18341 * grp/putgrent.c (putgrent): Likewise.
18342 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18344 * hurd/hurdinit.c: Likewise.
18345 * iconvdata/8bit-gap.c (struct): Likewise.
18346 * iconvdata/ansi_x3.110.c : Likewise.
18347 * iconvdata/big5.c : Likewise.
18348 * iconvdata/big5hkscs.c : Likewise.
18349 * iconvdata/cp1255.c: Likewise.
18350 * iconvdata/cp1258.c : Likewise.
18351 * iconvdata/cp932.c : Likewise.
18352 * iconvdata/euc-cn.c: Likewise.
18353 * iconvdata/euc-jisx0213.c : Likewise.
18354 * iconvdata/euc-jp.c: Likewise.
18355 * iconvdata/euc-jp-ms.c : Likewise.
18356 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18357 * iconvdata/gb18030.c : Likewise.
18358 * iconvdata/gbbig5.c (const): Likewise.
18359 * iconvdata/gbgbk.c: Likewise.
18360 * iconvdata/gbk.c : Likewise.
18361 * iconvdata/ibm1364.c : Likewise.
18362 * iconvdata/ibm930.c : Likewise.
18363 * iconvdata/ibm932.c: Likewise.
18364 * iconvdata/ibm933.c : Likewise.
18365 * iconvdata/ibm935.c : Likewise.
18366 * iconvdata/ibm937.c : Likewise.
18367 * iconvdata/ibm939.c : Likewise.
18368 * iconvdata/ibm943.c: Likewise.
18369 * iconvdata/iso_11548-1.c: Likewise.
18370 * iconvdata/iso-2022-cn.c : Likewise.
18371 * iconvdata/iso-2022-cn-ext.c : Likewise.
18372 * iconvdata/iso-2022-jp-3.c: Likewise.
18373 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18374 * iconvdata/iso-2022-kr.c : Likewise.
18375 * iconvdata/iso646.c (gconv_end): Likewise.
18376 * iconvdata/iso_6937-2.c : Likewise.
18377 * iconvdata/iso_6937.c : Likewise.
18378 * iconvdata/iso8859-1.c: Likewise.
18379 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18380 * iconvdata/shift_jisx0213.c : Likewise.
18381 * iconvdata/sjis.c : Likewise.
18382 * iconvdata/t.61.c : Likewise.
18383 * iconvdata/tcvn5712-1.c : Likewise.
18384 * iconvdata/tscii.c: Likewise.
18385 * iconvdata/uhc.c : Likewise.
18386 * iconvdata/unicode.c (gconv_end): Likewise.
18387 * iconvdata/utf-16.c (gconv_end): Likewise.
18388 * iconvdata/utf-32.c (gconv_end): Likewise.
18389 * iconvdata/utf-7.c (base64): Likewise.
18390 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18391 * iconv/gconv_close.c (__gconv_close): Likewise.
18392 * iconv/gconv_open.c (__gconv_open): Likewise.
18393 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18394 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18395 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18396 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18397 (ucs4le_internal_loop_single): Likewise.
18398 * iconv/iconv.c (iconv): Likewise.
18399 * iconv/iconv_close.c: Likewise.
18400 * iconv/loop.c (SINGLE): Likewise.
18401 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18402 * include/atomic.h: Likewise.
18403 * inet/inet6_option.c (option_alloc): Likewise.
18404 * intl/bindtextdom.c (set_binding_values): Likewise.
18405 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18406 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18407 * intl/localealias.c (read_alias_file): Likewise.
18408 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18409 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18410 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18411 * libio/fmemopen.c (fmemopen): Likewise.
18412 * libio/iofgets.c (_IO_fgets): Likewise.
18413 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18414 * libio/iofgetws.c (fgetws): Likewise.
18415 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18416 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18417 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18418 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18419 * locale/findlocale.c (_nl_find_locale): Likewise.
18420 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18421 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18423 * locale/setlocale.c (setlocale): Likewise.
18424 * login/programs/pt_chown.c (main): Likewise.
18425 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18426 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18427 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18428 (mmap, mmap64, mremap, munmap): Likewise.
18429 * math/e_exp2l.c: Likewise.
18430 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18431 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18432 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18433 * math/s_catan.c (__catan): Likewise.
18434 * math/s_catanf.c (__catanf): Likewise.
18435 * math/s_catanh.c (__catanh): Likewise.
18436 * math/s_catanhf.c (__catanhf): Likewise.
18437 * math/s_catanhl.c (__catanhl): Likewise.
18438 * math/s_catanl.c (__catanl): Likewise.
18439 * math/s_ccosh.c (__ccosh): Likewise.
18440 * math/s_ccoshf.c (__ccoshf): Likewise.
18441 * math/s_ccoshl.c (__ccoshl): Likewise.
18442 * math/s_cexp.c (__cexp): Likewise.
18443 * math/s_cexpf.c (__cexpf): Likewise.
18444 * math/s_cexpl.c (__cexpl): Likewise.
18445 * math/s_clog10.c (__clog10): Likewise.
18446 * math/s_clog10f.c (__clog10f): Likewise.
18447 * math/s_clog10l.c (__clog10l): Likewise.
18448 * math/s_clog.c (__clog): Likewise.
18449 * math/s_clogf.c (__clogf): Likewise.
18450 * math/s_clogl.c (__clogl): Likewise.
18451 * math/s_csin.c (__csin): Likewise.
18452 * math/s_csinf.c (__csinf): Likewise.
18453 * math/s_csinh.c (__csinh): Likewise.
18454 * math/s_csinhf.c (__csinhf): Likewise.
18455 * math/s_csinhl.c (__csinhl): Likewise.
18456 * math/s_csinl.c (__csinl): Likewise.
18457 * math/s_csqrt.c (__csqrt): Likewise.
18458 * math/s_csqrtf.c (__csqrtf): Likewise.
18459 * math/s_csqrtl.c (__csqrtl): Likewise.
18460 * math/s_ctan.c (__ctan): Likewise.
18461 * math/s_ctanf.c (__ctanf): Likewise.
18462 * math/s_ctanh.c (__ctanh): Likewise.
18463 * math/s_ctanhf.c (__ctanhf): Likewise.
18464 * math/s_ctanhl.c (__ctanhl): Likewise.
18465 * math/s_ctanl.c (__ctanl): Likewise.
18466 * math/w_pow.c: Likewise.
18467 * math/w_powf.c: Likewise.
18468 * math/w_powl.c: Likewise.
18469 * math/w_scalb.c (sysv_scalb): Likewise.
18470 * math/w_scalbf.c (sysv_scalbf): Likewise.
18471 * math/w_scalbl.c (sysv_scalbl): Likewise.
18472 * misc/error.c (error_tail): Likewise.
18473 * misc/pselect.c (__pselect): Likewise.
18474 * nis/nis_callback.c (__nis_create_callback): Likewise.
18475 * nis/nis_call.c (__nisfind_server): Likewise.
18476 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18477 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18478 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18479 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18480 * nis/nis_lookup.c (nis_lookup): Likewise.
18481 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18482 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18483 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18484 * nis/nis_xdr.c (xdr_endpoint): Likewise.
18485 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18486 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18487 * nis/nss_compat/compat-initgroups.c (add_group)
18488 (internal_getgrent_r): Likewise.
18489 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18490 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18491 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18492 (internal_getspnam_r): Likewise.
18493 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18494 (_nss_nis_getaliasbyname_r): Likewise.
18495 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18496 (_nss_nis_getntohost_r): Likewise.
18497 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18498 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18499 (_nss_nis_getgrgid_r): Likewise.
18500 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18501 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18502 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18503 (_nss_nis_gethostbyname4_r): Likewise.
18504 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18505 (initgroups_netid): Likewise.
18506 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18507 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18508 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18509 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18510 (_nss_nis_getprotobynumber_r): Likewise.
18511 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18512 (_nss_nis_getsecretkey): Likewise.
18513 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18514 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18515 (_nss_nis_getpwuid_r): Likewise.
18516 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18517 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18518 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18519 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18520 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18521 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18522 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18524 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18525 (_nss_nisplus_getntohost_r): Likewise.
18526 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18527 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18528 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18529 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18531 * nis/nss_nisplus/nisplus-initgroups.c
18532 (_nss_nisplus_initgroups_dyn): Likewise.
18533 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18534 (_nss_nisplus_getnetbyaddr_r): Likewise.
18535 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18536 (_nss_nisplus_getprotobynumber_r): Likewise.
18537 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18538 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18539 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18541 * nis/nss_nisplus/nisplus-service.c
18542 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18543 (_nss_nisplus_getservbyport_r): Likewise.
18544 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18545 (_nss_nisplus_getspnam_r): Likewise.
18546 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18548 * nscd/aicache.c (addhstaiX): Likewise.
18549 * nscd/cache.c (cache_search, prune_cache): Likewise.
18550 * nscd/connections.c (register_traced_file, send_ro_fd)
18551 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18552 (main_loop_epoll): Likewise.
18553 * nscd/grpcache.c (addgrbyX): Likewise.
18554 * nscd/hstcache.c (addhstbyX): Likewise.
18555 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18556 * nscd/mem.c (gc, mempool_alloc): Likewise.
18557 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18558 (addinnetgrX): Likewise.
18559 * nscd/nscd-client.h (__nscd_acquire_maplock)
18560 (__nscd_drop_map_ref): Likewise.
18561 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18562 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18563 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18565 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18566 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18567 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18568 (__nscd_get_map_ref): Likewise.
18569 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18570 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18572 * nscd/pwdcache.c (addpwbyX): Likewise.
18573 * nscd/selinux.c (preserve_capabilities): Likewise.
18574 * nscd/servicescache.c (addservbyX): Likewise.
18575 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18576 * posix/fnmatch.c (fnmatch): Likewise.
18577 * posix/getopt.c (_getopt_internal_r): Likewise.
18578 * posix/glob.c (glob, glob_in_dir): Likewise.
18579 * posix/wordexp.c (exec_comm_child): Likewise.
18580 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18581 (getanswer_r, gaih_getanswer_slice): Likewise.
18582 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18583 * resolv/res_init.c: Likewise.
18584 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18585 * resolv/res_query.c (__libc_res_nquery): Likewise.
18586 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18588 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18589 * stdio-common/perror.c (perror): Likewise.
18590 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18591 * stdio-common/tmpnam.c (tmpnam): Likewise.
18592 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18593 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18594 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18596 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18597 * stdlib/putenv.c (putenv): Likewise.
18598 * stdlib/setenv.c (__add_to_environ): Likewise.
18599 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18600 * stdlib/strtol_l.c (INTERNAL): Likewise.
18601 * string/memmem.c (memmem): Likewise.
18602 * string/strerror.c (strerror): Likewise.
18603 * string/strnlen.c (__strnlen): Likewise.
18604 * string/test-memmem.c (simple_memmem): Likewise.
18605 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18606 * sunrpc/pm_getport.c (__get_socket): Likewise.
18607 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18608 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18609 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18610 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18612 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18613 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18614 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18615 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18616 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18617 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18619 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18621 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18622 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18623 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18624 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18625 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18627 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18628 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18629 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18630 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18631 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18632 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18634 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18636 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18638 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18639 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18640 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18641 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18642 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18643 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18644 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18645 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18646 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18647 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18648 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18649 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18650 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18651 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18652 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18653 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18655 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18657 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18659 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18661 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18662 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18663 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18665 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18666 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18667 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18668 * sysdeps/posix/sleep.c: Likewise.
18669 * sysdeps/posix/tempname.c: Likewise.
18670 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18671 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18673 * sysdeps/powerpc/powerpc32/dl-machine.h
18674 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18675 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18676 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18677 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18678 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18680 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18681 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18682 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18683 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18684 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18685 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18686 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18687 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18688 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18689 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18690 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18691 (elf_machine_lazy_rel): Likewise.
18692 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18693 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18694 (elf_machine_lazy_rel): Likewise.
18695 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18696 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18697 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18698 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18699 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18700 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18701 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18702 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18704 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18705 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18706 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18707 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18708 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18709 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18710 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18711 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18712 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18713 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18714 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18716 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18717 (__posix_fallocate64_l64): Likewise.
18718 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18719 (posix_fallocate): Likewise.
18720 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18722 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18723 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18724 (getifaddrs_internal): Likewise.
18725 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18726 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18727 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18728 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18729 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18730 (__posix_fallocate64_l64): Likewise.
18731 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18733 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18734 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18735 (__get_clockfreq): Likewise.
18736 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18737 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18738 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18739 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18740 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18741 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18742 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18743 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18745 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18746 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18747 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18748 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18749 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18750 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18751 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18753 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18754 (posix_fallocate): Likewise.
18755 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18756 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18757 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18758 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18759 (elf_machine_rela, elf_machine_rela_relative)
18760 (elf_machine_lazy_rel): Likewise.
18761 * time/asctime.c (asctime_internal): Likewise.
18762 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18763 * time/tzset.c (__tzset_parse_tz): Likewise.
18764 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18765 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18766 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18767 * wcsmbs/wcsmbsload.h: Likewise.
18770 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18772 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18773 (arena_get2): Remove THREAD_STATS conditionals.
18774 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18775 (__malloc_stats, int): Likewise.
18777 2014-02-08 Mike Frysinger <vapier@gentoo.org>
18779 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18780 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18782 * manual/setjmp.texi: Fix typos/grammar errors.
18784 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18785 Only return early when n is <= 0. Delete unused return statement.
18787 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18788 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18789 * debug/tst-longjmp_chk3.c: New file.
18791 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18792 (test_main): Replace code with set_fortify_handler call.
18793 * debug/test-strcpy_chk.c: Likewise.
18794 * debug/tst-chk1.c: Likewise.
18795 * debug/tst-longjmp_chk.c: Likewise.
18796 * test-skeleton.c: Include fcntl.h & paths.h
18797 (set_fortify_handler): Define.
18799 * debug/tst-longjmp_chk.c: Add header comment and include
18800 ../test-skeleton.c.
18801 (do_test): Mark static.
18802 (TEST_FUNCTION): Define.
18804 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18805 (IP_PMTUDISC_INTERFACE): Likewise.
18806 (IP_MULTICAST_IF): Likewise.
18807 (IP_MULTICAST_TTL): Likewise.
18808 (IP_MULTICAST_LOOP): Likewise.
18809 (IP_ADD_MEMBERSHIP): Likewise.
18810 (IP_DROP_MEMBERSHIP): Likewise.
18811 (IP_UNBLOCK_SOURCE): Likewise.
18812 (IP_BLOCK_SOURCE): Likewise.
18813 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18814 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18815 (IP_MSFILTER): Likewise.
18816 (MCAST_JOIN_GROUP): Likewise.
18817 (MCAST_BLOCK_SOURCE): Likewise.
18818 (MCAST_UNBLOCK_SOURCE): Likewise.
18819 (MCAST_LEAVE_GROUP): Likewise.
18820 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18821 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18822 (MCAST_MSFILTER): Likewise.
18823 (IP_MULTICAST_ALL): Likewise.
18824 (IP_UNICAST_IF): Likewise.
18826 * timezone/Makefile: Delete $(have-ksh) check.
18827 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18828 * timezone/tzselect.ksh: Add +x mode bits.
18830 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18831 (ANON_INODE_FS_MAGIC): Likewise.
18832 (BDEVFS_MAGIC): Likewise.
18833 (BINFMTFS_MAGIC): Likewise.
18834 (BTRFS_TEST_MAGIC): Likewise.
18835 (CRAMFS_MAGIC_WEND): Likewise.
18836 (DEBUGFS_MAGIC): Likewise.
18837 (ECRYPTFS_SUPER_MAGIC): Likewise.
18838 (EXT3_SUPER_MAGIC): Likewise.
18839 (EXT4_SUPER_MAGIC): Likewise.
18840 (FUTEXFS_SUPER_MAGIC): Likewise.
18841 (HOSTFS_SUPER_MAGIC): Likewise.
18842 (HUGETLBFS_MAGIC): Likewise.
18843 (MINIX3_SUPER_MAGIC): Likewise.
18844 (MTD_INODE_FS_MAGIC): Likewise.
18845 (NILFS_SUPER_MAGIC): Likewise.
18846 (OPENPROM_SUPER_MAGIC): Likewise.
18847 (PIPEFS_MAGIC): Likewise.
18848 (PSTOREFS_MAGIC): Likewise.
18849 (QNX6_SUPER_MAGIC): Likewise.
18850 (RAMFS_MAGIC): Likewise.
18851 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18852 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18853 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18854 (SECURITYFS_MAGIC): Likewise.
18855 (SELINUX_MAGIC): Likewise.
18856 (SMACK_MAGIC): Likewise.
18857 (SOCKFS_MAGIC): Likewise.
18858 (SQUASHFS_MAGIC): Likewise.
18859 (STACK_END_MAGIC): Likewise.
18860 (TMPFS_MAGIC): Likewise.
18861 (USBDEVICE_SUPER_MAGIC): Likewise.
18862 (V9FS_MAGIC): Likewise.
18863 (XENFS_SUPER_MAGIC): Likewise.
18864 (CRAMFS_MAGIC): Fix typo in comment.
18865 (EXT2_SUPER_MAGIC): Update comment.
18866 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18868 2014-02-08 Joseph Myers <joseph@codesourcery.com>
18870 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18871 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18872 * sysdeps/unix/sysv/linux/arm: Move directory from
18873 ports/sysdeps/unix/sysv/linux/arm.
18874 * README: Update listing for arm-*-linux-gnueabi.
18876 * README: Remove mention of am33.
18878 2014-02-07 Roland McGrath <roland@hack.frob.com>
18880 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18881 than the comma operator, to avoid "rhs of comma has no effect"
18883 (__sigfillset, __sigandset, __sigorset): Likewise.
18884 * include/signal.h (__sigemptyset): Likewise.
18885 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18887 2014-02-07 Allan McRae <allan@archlinux.org>
18889 * version.h (RELEASE): Set to "development".
18890 (VERSION): Set to "2.19.90"
18891 * NEWS: Add 2.20 section.
18893 2014-02-06 Carlos O'Donell <carlos@redhat.com>
18896 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18898 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18900 * manual/contrib.texi: Update entry for Carlos O'Donell,
18901 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18903 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
18905 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18907 * sysdeps/unix/sysv/linux/kernel-features.h
18908 [__LINUX_KERNEL_VERSION >= 0x020621]
18909 (__ASSUME_PROC_PID_TASK_COMM): Define.
18911 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18914 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18915 conversion when destination buffer does not have enough space.
18916 * libio/tst-ftell-partial-wide.c: New test case.
18917 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18919 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18920 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18921 Leonard and Allan McRae.
18923 2014-02-04 David S. Miller <davem@davemloft.net>
18925 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18928 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18957 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18959 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18960 * shlib-versions: Likewise.
18962 2014-02-04 Roland McGrath <roland@hack.frob.com>
18963 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18965 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18966 (abilist-pattern): New variable, set to %-le.abilist.
18968 * Makerules (abilist-pattern): New variable.
18969 (vpath): Use $(abilist-pattern) in place of %.abilist.
18970 (check-abi-% pattern rule): Likewise.
18971 (check-abi, update-abi): Likewise.
18973 2014-02-04 Eric Wong <normalperson@yhbt.net>
18975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18977 2014-02-03 Carlos O'Donell <carlos@redhat.com>
18979 * manual/startup.texi: Add next, previous, and top entries for
18980 the `Program Arguments' and `Environment Variables' nodes.
18982 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
18984 * manual/macros.texi: Add comments before MTASC-safety macros.
18986 * manual/users.texi: Document MTASC-safety properties.
18988 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18989 (pthread_getspecific, pthread_setspecific): Format with
18990 @deftypefun, and add @safety note.
18991 * manual/signal.texi: Move comments that analyze the above
18992 functions to their home place.
18994 2014-02-03 Allan McRae <allan@archlinux.org>
18996 * po/sl.po: Update Slovenian translation from translation project.
18998 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
19000 * manual/time.texi (timegm): Add missing blank after @c.
19001 Reported by Joseph Myers <joseph@codesourcery.com>.
19003 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
19005 * manual/check-safety.sh: New.
19006 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19008 * manual/terminal.texi: Document MTASC-safety properties.
19010 * manual/filesys.texi: Document MTASC-safety properties.
19012 * manual/errno.texi: Document MTASC-safety properties.
19014 * manual/intro.texi: Document safety identifiers and
19017 * manual/string.texi (wcstok): Fix prototype.
19018 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19020 * manual/time.texi: Document MTASC-safety properties.
19022 * manual/string.texi: Document MTASC-safety properties.
19024 * manual/threads.texi: Document MTASC-safety properties.
19026 * manual/stdio.texi: Document MTASC-safety properties.
19028 * manual/syslog.texi: Document MTASC-safety properties.
19030 * manual/sysinfo.texi: Document MTASC-safety properties.
19032 * manual/startup.texi: Document MTASC-safety properties.
19034 * manual/socket.texi: Document MTASC-safety properties.
19036 * manual/signal.texi: Document MTASC-safety properties.
19038 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
19040 * manual/setjmp.texi: Document MTASC-safety properties.
19042 * manual/search.texi: Document MTASC-safety properties.
19044 * manual/resource.texi: Document MTASC-safety properties.
19046 * manual/process.texi: Document MTASC-safety properties.
19048 * manual/platform.texi: Document MTASC-safety properties.
19050 * manual/pipe.texi: Document MTASC-safety properties.
19052 * manual/pattern.texi: Document MTASC-safety properties.
19054 * manual/message.texi: Document MTASC-safety properties.
19057 * manual/memory.texi: Document MTASC-safety properties.
19059 * manual/math.texi: Document MTASC-safety properties.
19061 * manual/locale.texi: Document MTASC-safety properties.
19063 * manual/llio.texi: Document MTASC-safety properties.
19065 * manual/libdl.texi: New.
19067 * manual/lang.texi: Document MTASC-safety properties.
19069 * manual/job.texi: Document MTASC-safety properties.
19071 * manual/getopt.texi: Document MTASC-safety properties.
19073 * manual/ctype.texi: Document MTASC-safety properties.
19075 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19078 * csu/libc-tls.c (static_map): Remove variable.
19079 (__libc_setup_tls): Use main executable's link map for TLS data.
19080 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19081 casing for LM_ID_BASE and GL(dl_nns).
19082 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19083 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19084 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19085 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19086 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19088 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19091 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
19093 * manual/debug.texi: Document MTASC-safety properties.
19095 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19098 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19099 of __x86_64__ when disabling x87 inline functions.
19101 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
19103 * manual/charset.texi: Document MTASC-safety properties.
19105 * manual/crypt.texi: Document MTASC-safety properties.
19107 * manual/conf.texi: Document MTASC-safety properties.
19109 * manual/arith.texi: Document MTASC-safety properties.
19111 * manual/argp.texi: Document MTASC-safety properties.
19113 * manual/macros.texi: Introduce macros to document multi
19114 thread, asynchronous signal and asynchronous cancellation
19116 * manual/intro.texi: Introduce the properties themselves.
19118 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19120 * sysdeps/sh/sh4/Makefile: New file.
19122 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19124 * math/gen-libm-test.pl ($srcdir): New variable.
19125 ($auto_input): Use it.
19127 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19130 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19131 access beyond array bounds when parsing netgroups file.
19133 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19134 the old buffer before realloc.
19136 2014-01-27 Allan McRae <allan@archlinux.org>
19138 * po/fr.po: Update French translation from translation project.
19140 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19142 * sysdeps/sh/libm-test-ulps: Regenerate.
19144 2014-01-24 David S. Miller <davem@davemloft.net>
19146 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19148 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19150 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19151 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19153 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19156 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19157 string pointers after reallocation.
19159 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19161 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19162 __SH4A__ instead of __SH_FPU_ANY__.
19164 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19166 * sysdeps/sh/fpu_control.h: New file.
19167 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19168 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19169 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19170 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19171 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19172 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19173 * sysdeps/sh/sys/ucontext.h: Remove.
19174 * sysdeps/sh/sys: Remove directory.
19176 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19178 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19179 s390/sys/ucontext.h.
19180 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19181 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19183 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19186 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19188 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19191 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19192 Adjust the vDSO correctly for internal calls.
19193 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19195 2014-01-20 Allan McRae <allan@archlinux.org>
19197 * po/ca.po: Update Catalan translation from translation project.
19199 2014-01-16 Mike Frysinger <vapier@gentoo.org>
19201 * sysdeps/s390/sotruss-lib.c: New file.
19203 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19206 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19207 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19208 local calls issues by not having a PLT stub required for IFUNC calls.
19209 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19211 2014-01-16 Joseph Myers <joseph@codesourcery.com>
19213 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19214 * math/test-fpucw-static.c: Likewise.
19216 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19219 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19221 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19223 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19224 implementation for powerpc.
19226 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
19229 * sysdeps/posix/system.c (__libc_system): Do not enable
19230 asynchronous cancellation.
19232 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19235 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19236 handling only for numbers special also in the IEEE case.
19238 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19240 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19242 2014-01-11 Allan McRae <allan@archlinux.org>
19244 * po/bg.po: Update Bulgarian translation from translation project.
19246 * po/de.po: Update German translation from translation project.
19248 2014-01-10 Roland McGrath <roland@hack.frob.com>
19250 * sysdeps/generic/gcc-compat.h: New file.
19252 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19254 * benchtests/asin-inputs: Correct slow inputs.
19255 * benchtests/acos-inputs: Likewise.
19257 2014-01-10 Allan McRae <allan@archlinux.org>
19259 * po:sv.po: Update Swedish translation from translation project.
19261 * po/vi.po: Update Vietnamese translation from translation project.
19263 * po/eo.po: Update Esperanto translation from translation project.
19265 * po/cs.po: Update Czech translation from translation project.
19267 * po/nl.po: Update Dutch translation from translation project.
19269 * po/pl.po: Update Polish translation from translation project.
19271 * po/ru.po: Update Russian translation from translation project.
19273 * po/uk.po: Update Ukrainian translation from translation project.
19275 2014-01-08 Brooks Moses <bmoses@google.com>
19277 * elf/dl-load.c: Fix comment typo.
19279 2014-01-08 Carlos O'Donell <carlos@redhat.com>
19281 * po/header.pot: Rename to...
19282 * po/pot.header: ... this.
19283 * po/Makefile: Use pot.header.
19285 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19286 Maxim Kuvyrkov <maxim@kugelworks.com>
19289 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19290 SRC and DEST against LEN.
19292 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19295 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19297 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19299 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19303 2014-01-08 Joseph Myers <joseph@codesourcery.com>
19306 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19307 for large positive arguments.
19309 2014-01-07 Joseph Myers <joseph@codesourcery.com>
19311 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19313 * math/auto-libm-test-in: Mark various tests with
19314 xfail-rounding:ldbl-128ibm.
19315 * math/auto-libm-test-out: Regenerated.
19318 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19319 Increase overflow threshold.
19321 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
19324 * stdio-common/vfprintf.c: Check for integer overflow.
19326 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19328 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19329 the first argument and return value of __tls_get_addr_internal.
19331 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19333 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19334 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19336 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19338 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19339 * sysdeps/s390/rtld-global-offsets.sym: New file.
19340 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19342 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19343 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19344 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19346 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19347 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19353 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19354 halfs of GPRs for high_gprs contexts.
19355 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19356 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19358 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19360 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19362 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19363 for high GPRs (uc_high_gprs) and for future extensions
19365 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19366 for future extensions (__reserved).
19367 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19369 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19370 SC_HIGHGPRS offset definition.
19371 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19372 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19374 * Versions.def: Add GLIBC_2.19 for libpthread.
19375 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19376 siglongjmp for libpthread with GLIBC_2.19 symver.
19377 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19378 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19379 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19380 * sysdeps/s390/__longjmp.c: New file.
19381 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19382 * sysdeps/s390/longjmp.c: New file.
19383 * sysdeps/s390/setjmp.S: New file.
19384 * sysdeps/s390/sigjmp.S: New file.
19385 * sysdeps/s390/v1-longjmp.c: New file.
19386 * sysdeps/s390/v1-setjmp.h: New file.
19387 * sysdeps/s390/v1-sigjmp.c: New file.
19388 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19389 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19390 GLIBC_2.19 version.
19391 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19392 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19393 versioned symbols for ____longjmp_chk.
19394 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19404 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19405 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19406 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19407 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19408 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19409 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19410 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19411 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19412 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19413 * sysdeps/s390/rtld-__longjmp.c: New file.
19414 * sysdeps/s390/rtld-setjmp.S: New file.
19416 2014-01-06 Joseph Myers <joseph@codesourcery.com>
19419 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19420 Return -__logl (x) for small positive arguments without evaluating
19423 2014-01-06 Mike Frysinger <vapier@gentoo.org>
19425 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19427 (__ptrace_peeksiginfo_args): ... this.
19428 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19429 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19430 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19432 2014-01-06 Allan McRae <allan@archlinux.org>
19434 * inet/netinet/in.h: Fix typo in comment.
19436 2014-01-05 Andreas Jaeger <aj@suse.de>
19438 * sysdeps/i386/fpu/libm-test-ulps: Update.
19440 2014-01-05 Allan McRae <allan@archlinux.org>
19442 * po/libc.pot: Regenerated.
19444 * malloc/memusagestat.c: Fix gettext call formatting.
19446 2014-01-04 Sami Kerola <kerolasa@iki.fi>
19448 * nscd/nscd.c: Improve usage() output.
19450 2014-01-04 Mike Frysinger <vapier@gentoo.org>
19452 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19453 * sysdeps/unix/sysv/linux/configure: Regenerated.
19454 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19455 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19457 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19460 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19461 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19463 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19465 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19466 extra tokens at end of #undef directive.
19467 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19468 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19469 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19471 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19473 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19475 * math/auto-libm-test-in: Mark various tests with
19476 xfail-rounding:ldbl-128ibm.
19477 * math/auto-libm-test-out: Regenerated.
19479 2014-01-02 Joseph Myers <joseph@codesourcery.com>
19482 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19483 numbers with subnormal high part when calculating exponent.
19486 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19490 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19492 (__ieee754_acoshl): Use __log1pl not __log1p.
19494 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
19496 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19497 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19498 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19499 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19500 (reused_arena, arena_get2): Convert to GNU style.
19501 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19502 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19503 (memalign_check, __malloc_set_state): Likewise.
19504 * malloc/mallocbug.c (main): Likewise.
19505 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19506 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19507 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19508 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19509 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19510 (__posix_memalign, malloc_info): Likewise.
19511 * malloc/malloc.h: Likewise.
19512 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19513 (mallochook, memalignhook, reallochook, mabort): Likewise.
19514 * malloc/mcheck.h: Likewise.
19515 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19516 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19517 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19518 * malloc/morecore.c (__default_morecore): Likewise.
19519 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19520 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19521 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19522 (print_and_abort): Likewise.
19523 * malloc/obstack.h: Likewise.
19524 * malloc/set-freeres.c (__libc_freeres): Likewise.
19525 * malloc/tst-mallocstate.c (main): Likewise.
19526 * malloc/tst-mtrace.c (main): Likewise.
19527 * malloc/tst-realloc.c (do_test): Likewise.
19529 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19532 * nscd/netgroupcache.c (do_notfound): New function.
19533 (addgetnetgrentX): Use it.
19536 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19537 NSS_STATUS_NOTFOUND.
19539 2014-01-01 Joseph Myers <joseph@codesourcery.com>
19541 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19544 2014-01-01 Allan McRae <allan@archlinux.org>
19546 * scripts/update-copyrights: Update configure input file suffix.
19548 * NEWS: Update copyright year.
19549 * catgets/gencat.c: Likewise.
19550 * csu/version.c: Likewise.
19551 * debug/catchsegv.sh: Likewise.
19552 * debug/pcprofiledump.c: Likewise.
19553 * debug/xtrace.sh: Likewise.
19554 * elf/ldconfig.c: Likewise.
19555 * elf/ldd.bash.in: Likewise.
19556 * elf/pldd.c: Likewise.
19557 * elf/sotruss.ksh: Likewise.
19558 * elf/sprof.c: Likewise.
19559 * iconv/iconv_prog.c: Likewise.
19560 * iconv/iconvconfig.c: Likewise.
19561 * locale/programs/locale.c: Likewise.
19562 * locale/programs/localedef.c: Likewise.
19563 * login/programs/pt_chown.c: Likewise.
19564 * malloc/memusage.sh: Likewise.
19565 * malloc/memusagestat.c: Likewise.
19566 * malloc/mtrace.pl: Likewise.
19567 * manual/libc.texinfo: Likewise.
19568 * nscd/nscd.c: Likewise.
19569 * nss/getent.c: Likewise.
19570 * nss/makedb.c: Likewise.
19571 * posix/getconf.c: Likewise.
19572 * scripts/test-installation.pl: Likewise.
19574 * All files with FSF copyright notices: Update copyright dates
19575 using scripts/update-copyrights.
19576 * intl/plural.c: Regenerated.
19577 * locale/programs/charmap-kw.h: Likewise.
19578 * locale/programs/locfile-kw.h: Likewise.
19580 2013-12-31 Mike Frysinger <vapier@gentoo.org>
19582 * sysdeps/unix/sysv/linux/configure: Regenerated.
19583 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19584 the linux/fanotify.h header.
19585 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19586 HAVE_LINUX_FANOTIFY_H is defined.
19588 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19590 * benchtests/cos-inputs: New inputs.
19591 * benchtests/sin-inputs: Likewise.
19593 * benchtests/atan-inputs: New inputs. Fix name of multiple
19594 precision fallback inputs.
19596 * benchtests/atanh-inputs: New inputs.
19597 * benchtests/tanh-inputs: Likewise.
19599 * benchtests/acosh-inputs: New inputs.
19600 * benchtests/asinh-inputs: Likewise.
19602 * benchtests/cosh-inputs: New inputs.
19603 * benchtests/sinh-inputs: Likewise.
19605 * benchtests/acos-inputs: Add more inputs.
19606 * benchtests/asin-inputs: Likewise.
19608 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
19611 * manual/arith.texi: Fix spelling.
19612 * manual/charset.texi: Likewise.
19613 * manual/errno.texi: Likewise.
19614 * manual/filesys.texi: Likewise.
19615 * manual/lang.texi: Likewise.
19616 * manual/llio.texi: Likewise.
19617 * manual/locale.texi: Likewise.
19618 * manual/message.texi: Likewise.
19619 * manual/resource.texi: Likewise.
19620 * manual/search.texi: Likewise.
19621 * manual/setjmp.texi: Likewise.
19622 * manual/stdio.texi: Likewise.
19623 * manual/string.texi: Likewise.
19624 * manual/sysinfo.texi: Likewise.
19625 * manual/time.texi: Likewise.
19627 2013-12-27 Carlos O'Donell <carlos@redhat.com>
19629 * po/sl.po: New file.
19631 2013-12-27 Mike Frysinger <vapier@gentoo.org>
19633 * .gitignore: Add core/.gdbinit/.gdb_history.
19635 2013-12-27 Allan McRae <allan@archlinux.org>
19638 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19639 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19641 2013-12-24 Brooks Moses <bmoses@google.com>
19643 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19644 all compilers that claim C++98 compliance, not just GCC.
19645 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19648 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19650 * NEWS: Restore accidentally deleted bug-fix entries.
19652 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19653 Ondřej Bílka <neleai@seznam.cz>
19656 * malloc/malloc.c (_int_free): Perform sanity check only if we
19659 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
19662 * manual/stdio.texi (String Input Conversions): Clarify that character
19663 classes are not supported.
19665 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19669 2013-12-22 Joseph Myers <joseph@codesourcery.com>
19672 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19673 Calculate results for small negative arguments directly rather
19674 than using reflection formula with special underflow handling.
19676 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19677 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19678 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19679 (fchflags): Likewise.
19680 (revoke): Likewise.
19681 (setlogin): Likewise.
19682 (sigaltstack): Likewise.
19684 (sigblock): Remove.
19685 (sigsetmask): Likewise.
19687 (waitpid): Likewise.
19688 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19689 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19691 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19692 * sysdeps/unix/bsd/Makefile: ... here.
19693 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19694 * sysdeps/unix/bsd/Versions: ... here.
19695 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19696 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19697 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19698 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19699 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19700 * sysdeps/unix/bsd/sigblock.c: ... here.
19701 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19702 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19703 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19704 * sysdeps/unix/bsd/sigvec.c: ... here.
19705 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19706 * sysdeps/unix/bsd/tcdrain.c: ... here.
19707 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19708 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19709 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19710 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19711 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19712 * sysdeps/unix/bsd/wait.c: ... here.
19713 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19714 * sysdeps/unix/bsd/wait3.c: ... here.
19715 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19716 * sysdeps/unix/bsd/waitpid.c: ... here.
19718 2013-12-21 Joseph Myers <joseph@codesourcery.com>
19721 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19722 round-to-nearest for [!USE_AS_EXPM1L].
19723 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19724 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19725 more tests of exp and exp10. Expect some exp10 tests to miss
19726 exceptions or fail in directed rounding modes.
19727 * math/auto-libm-test-out: Regenerated.
19728 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19729 (exp10_test_tonearest): New function.
19730 (exp10_towardzero_test_data): New array.
19731 (exp10_test_towardzero): New function.
19732 (exp10_downward_test_data): New array.
19733 (exp10_test_downward): New function.
19734 (exp10_upward_test_data): New array.
19735 (exp10_test_upward): New function.
19736 (main): Call the new functions.
19737 * sysdeps/i386/fpu/libm-test-ulps: Update.
19738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19740 2013-12-20 Joseph Myers <joseph@codesourcery.com>
19742 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19743 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19744 * math/auto-libm-test-out: Regenerated.
19745 * math/libm-test.inc (acosh_test_data): Add more tests.
19746 (atanh_test_data): Likewise.
19747 (ceil_test_data): Likewise.
19748 (copysign_test_data): Likewise.
19749 * sysdeps/i386/fpu/libm-test-ulps: Update.
19750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19752 * timezone/checktab.awk: Update from tzcode 2013i.
19753 * timezone/private.h: Likewise.
19754 * timezone/scheck.c: Likewise.
19755 * timezone/tzfile.h: Likewise.
19756 * timezone/tzselect.ksh: Likewise.
19757 * timezone/zdump.c: Likewise.
19758 * timezone/zic.c: Likewise.
19760 * math/auto-libm-test-in: Add tests of cpow.
19761 * math/auto-libm-test-out: Regenerated.
19762 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19763 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19765 (func_calc_desc): Add mpc_cc_c union field.
19766 (test_functions): Add cpow.
19767 (special_fill_2pi): New function.
19768 (special_real_inputs): Add 2pi.
19769 (calc_generic_results): Handle mpc_cc_c.
19770 * sysdeps/i386/fpu/libm-test-ulps: Update.
19771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19773 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19774 csqrt, ctan and ctanh.
19775 * math/auto-libm-test-out: Regenerated.
19776 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19777 (TEST_COND_x86): Likewise.
19778 (ccos_test_data): Use AUTO_TESTS_c_c.
19779 (ccosh_test_data): Likewise.
19780 (cexp_test_data): Likewise.
19781 (clog_test_data): Likewise.
19782 (csqrt_test_data): Likewise.
19783 (ctan_test_data): Likewise.
19784 (ctan_tonearest_test_data): Likewise.
19785 (ctan_towardzero_test_data): Likewise.
19786 (ctan_downward_test_data): Likewise.
19787 (ctan_upward_test_data): Likewise.
19788 (ctanh_test_data): Likewise.
19789 (ctanh_tonearest_test_data): Likewise.
19790 (ctanh_towardzero_test_data): Likewise.
19791 (ctanh_downward_test_data): Likewise.
19792 (ctanh_upward_test_data): Likewise.
19793 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19795 (func_calc_desc): Add mpc_c_c union field.
19796 (FUNC_mpc_c_c): New macro.
19797 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19798 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19800 (special_fill_min_subnorm_p120): New function.
19801 (special_real_inputs): Add min_subnorm_p120.
19802 (calc_generic_results): Handle mpc_c_c.
19803 * sysdeps/i386/fpu/libm-test-ulps: Update.
19804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19806 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19808 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19809 (do_sin_slow): New functions.
19810 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19811 (cslow2, csloww1, csloww2): Use the new functions.
19813 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19814 Use M to change sign of result instead of X. Assume X is
19816 (csloww1): Likewise.
19820 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19821 arguments A and DA.
19825 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19827 (sloww1): Don't adjust sign of DX.
19828 (csloww1): Likewise.
19829 (sloww2): Use X directly and don't adjust sign of DX.
19830 (csloww2): Likewise.
19832 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19834 * math/auto-libm-test-in: Add tests of cabs and carg.
19835 * math/auto-libm-test-out: Regenerated.
19836 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19837 (carg_test_data): Likewise.
19838 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19840 (func_calc_desc): Add mpc_c_f union field.
19841 (test_functions): Add cabs and carg.
19842 (calc_generic_results): Handle mpc_c_f.
19844 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19845 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19846 as a macro and a compat symbol.
19847 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19848 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19849 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19850 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19851 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19852 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19854 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19856 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19858 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19860 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19862 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19864 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19865 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19868 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19872 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19874 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19875 trailing whitespace removed.
19876 * scripts/config.guess: Update to version 2013-11-29.
19877 * scripts/config.sub: Update to version 2013-10-01.
19879 * math/auto-libm-test-in: Add tests of sincos.
19880 * math/auto-libm-test-out: Regenerated.
19881 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19882 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19884 (func_calc_desc): Add mpfr_f_11 union field.
19885 (test_functions): Add sincos.
19886 (calc_generic_results): Handle mpfr_f_11.
19887 * sysdeps/i386/fpu/libm-test-ulps: Update.
19888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19890 2013-12-19 Andreas Schwab <schwab@suse.de>
19892 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19894 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19895 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19896 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19898 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19900 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19901 * sysdeps/i386/fpu/libm-test-ulps: Update.
19902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19905 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19906 round-to-nearest mode when using frndint.
19907 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19908 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19909 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19911 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19913 * math/auto-libm-test-out: Regenerated.
19914 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19915 (TEST_COND_x86): Likewise.
19916 (expm1_tonearest_test_data): New array.
19917 (expm1_test_tonearest): New function.
19918 (expm1_towardzero_test_data): New array.
19919 (expm1_test_towardzero): New function.
19920 (expm1_downward_test_data): New array.
19921 (expm1_test_downward): New function.
19922 (expm1_upward_test_data): New array.
19923 (expm1_test_upward): New function.
19924 (main): Run the new test functions.
19925 * sysdeps/i386/fpu/libm-test-ulps: Update.
19926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19928 * include/features.h: Update comment documenting feature test
19929 macros. Mention _DEFAULT_SOURCE in comment.
19930 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19931 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19932 _BSD_SOURCE and _SVID_SOURCE.
19933 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19934 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19935 !_SVID_SOURCE]: Likewise.
19936 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19937 (__USE_POSIX_IMPLICITLY): Define.
19938 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19939 (_POSIX_SOURCE): Undefine and redefine.
19940 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19941 (_POSIX_C_SOURCE): Likewise.
19942 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19943 (Feature Test Macros): Update documentation of default features.
19945 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19947 * benchtests/Makefile: Add bench-strtok.
19948 * benchtests/bench-strtok.c: New file: strtok benchtest.
19950 2013-12-19 Allan McRae <allan@archlinux.org>
19952 * manual/install.texi: Suppress menu for plain text output.
19953 * INSTALL: Regenerated.
19955 2013-12-18 Brooks Moses <bmoses@google.com>
19958 * misc/getauxval.c: Include errno.h.
19959 (__getauxval): Set errno to ENOENT if the requested type is not
19961 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19962 don't declare with __attribute_const__.
19963 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19964 * manual/startup.texi: Document that getauxval sets errno.
19966 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19968 * math/auto-libm-test-in: Add tests of jn and yn.
19969 * math/auto-libm-test-out: Regenerated.
19970 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19971 (yn_test_data): Likewise.
19972 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19974 (func_calc_desc): Add mpfr_if_f union field.
19975 (FUNC_mpfr_if_f): New macro.
19976 (test_functions): Add jn and yn.
19977 (calc_generic_results): Assert type of second input for
19978 mpfr_ff_f. Handle mpfr_if_f.
19979 (output_for_one_input_case): Disable all checking for arguments
19980 fitting floating-point types in case of an integer argument.
19981 * sysdeps/i386/fpu/libm-test-ulps: Update.
19982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19985 Don't expect fegetround reference in libm.so.
19987 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19989 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19990 $(config-cflags-nofma).
19992 2013-12-18 Joseph Myers <joseph@codesourcery.com>
19994 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19995 * math/auto-libm-test-out: Regenerated.
19998 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19999 to determine exponent and adjust argument to have exponent of -1.
20000 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20002 * math/auto-libm-test-out: Regenerated.
20003 * sysdeps/i386/fpu/libm-test-ulps: Update.
20004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20006 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
20008 * manual/probes.texi: Remove cases when per-thread arenas are
20011 2013-12-18 Andreas Schwab <schwab@suse.de>
20013 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20014 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20015 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20016 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20017 * sysdeps/i386/i686/multiarch/Makefile: Update.
20018 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20020 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20022 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20023 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20025 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20028 Support TZ transition times < 00:00:00.
20029 This is needed for version-3 tz-format files; it supports time
20030 stamps past 2037 for America/Godthab (the only entry in the tz
20031 database for which this change is relevant).
20032 * manual/time.texi (TZ Variable): Document transition times
20033 from -167:59:59 through -00:00:01.
20034 * time/tzset.c (tz_rule): Time of day is now signed.
20035 (__tzset_parse_tz): Parse negative time of day.
20037 Document TZ transition times >= 25:00:00.
20038 * manual/time.texi (TZ Variable): Document transition times from
20039 25:00:00 through 167:59:59. These are already supported, and this
20040 support will help with version-3 tz-format files.
20042 * manual/time.texi (TZ Variable): Modernize North America example
20043 to reflect current (i.e., 2007-and-later) daylight saving rules.
20045 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20047 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20049 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20050 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20051 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20052 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20053 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20054 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20055 * sysdeps/unix/bsd/clock.c: Likewise.
20056 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20057 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20058 * sysdeps/unix/bsd/init-posix.c: Likewise.
20059 * sysdeps/unix/bsd/poll.c: Likewise.
20060 * sysdeps/unix/bsd/ptsname.c: Likewise.
20061 * sysdeps/unix/bsd/seekdir.c: Likewise.
20062 * sysdeps/unix/bsd/setegid.c: Likewise.
20063 * sysdeps/unix/bsd/seteuid.c: Likewise.
20064 * sysdeps/unix/bsd/setgid.c: Likewise.
20065 * sysdeps/unix/bsd/setrgid.c: Likewise.
20066 * sysdeps/unix/bsd/setruid.c: Likewise.
20067 * sysdeps/unix/bsd/setsid.c: Likewise.
20068 * sysdeps/unix/bsd/setuid.c: Likewise.
20069 * sysdeps/unix/bsd/sigaction.c: Likewise.
20070 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20071 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20072 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20073 * sysdeps/unix/bsd/telldir.c: Likewise.
20074 * sysdeps/unix/bsd/times.c: Likewise.
20075 * sysdeps/unix/bsd/usleep.c: Likewise.
20077 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20078 ($(objpfx)libbsd-compat.a): Remove rule.
20080 * include/features.h (__FAVOR_BSD): Do not define.
20081 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20082 features conflicting with POSIX.
20083 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20084 (_BSD_SOURCE): Remove description of not being a subset of other
20085 feature test macros.
20086 * manual/job.texi (getpgrp): Do not document BSD version.
20087 (getpgid): Do not document by reference to BSD getpgrp.
20088 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20089 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20090 * signal/signal.h [__FAVOR_BSD]: Likewise.
20091 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20092 instead of making contents conditional on [__FAVOR_BSD].
20093 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20095 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20099 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20102 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20103 values below 2**-450, not 2**-500.
20104 * math/auto-libm-test-in: Don't allow spurious underflow from
20106 * math/auto-libm-test-out: Regenerated.
20110 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20111 values of ha and hb and sort them after adjusting subnormal
20113 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20115 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20116 values of ea and eb and sort them after adjusting subnormal
20118 * math/auto-libm-test-in: Do not expect some hypot tests of
20119 subnormals to fail. Add more hypot tests.
20120 * math/auto-libm-test-out: Regenerated.
20122 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20125 * sysdeps/sh/s_fma.c: New file.
20126 * sysdeps/sh/s_fmaf.c: New file.
20127 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20129 * sysdeps/sh/Implies: Add sh/soft-fp.
20131 2013-12-16 Roland McGrath <roland@hack.frob.com>
20133 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20134 level of indirection to members `objname', `errstring', `malloced'.
20135 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20136 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20137 it as the __longjmp argument (just pass 1 instead).
20138 (_dl_catch_error): Initialize C with argument pointers and address of
20139 volatile local ERRCODE rather than copying values out of C at return.
20141 2013-12-16 Joseph Myers <joseph@codesourcery.com>
20143 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20144 * math/auto-libm-test-out: Regenerated.
20145 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20146 (hypot_test_data): Likewise.
20147 (pow_test_data): Likewise.
20148 (pow_tonearest_test_data): Likewise.
20149 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20151 (func_calc_desc): Add mpfr_ff_f union field.
20152 (FUNC_mpfr_ff_f): New macro.
20153 (test_functions): Add atan2, hypot and pow.
20154 (special_fill_min): New function.
20155 (special_fill_minus_min): Likewise.
20156 (special_fill_min_subnorm): Likewise.
20157 (special_fill_minus_min_subnorm): Likewise.
20158 (special_real_inputs): Add min, -min, min_subnorm and
20160 (calc_generic_results): Handle mpfr_ff_f.
20161 * sysdeps/i386/fpu/libm-test-ulps: Update.
20162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20164 2013-12-16 Will Newton <will.newton@linaro.org>
20166 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20167 (Aligned Memory Blocks): Add documentation for aligned_alloc
20168 and suggest it as an alternative to posix_memalign.
20169 (Hooks for Malloc): Document __memalign_hook is also called
20170 for aligned_alloc. (Summary of Malloc): Add summary for
20171 aligned alloc. Document __memalign_hook is also called
20174 2013-12-16 Will Newton <will.newton@linaro.org>
20176 * manual/memory.texi (Malloc Examples): Clarify default
20177 alignment documentation. Suggest posix_memalign rather
20178 than memalign or valloc.
20179 (Aligned Memory Blocks): Remove suggestion to use memalign
20180 or valloc. Remove obsolete comment about BSD.
20181 Document memalign errno values and mark the function obsolete.
20182 Document posix_memalign returned error codes. Mark valloc
20183 as obsolete. (Hooks for Malloc): __memalign_hook is also
20184 called for posix_memalign and valloc.
20185 (Summary of Malloc): Add posix_memalign to function summary.
20186 __memalign_hook is also called for posix_memalign and valloc.
20188 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20190 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20194 (sloww): Use mynumber union. Expand ternary operator into
20195 if-else statements.
20196 (cslow): use mynumber union.
20198 2013-12-16 Allan McRae <allan@archlinux.org>
20200 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20201 * configure: Regenerated.
20203 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20206 * configure.ac: Added --enable-maintainer-mode. Check for
20207 autoconf when enabled.
20208 * configure: Regenerated.
20210 * nscd/nscd.service: New file.
20211 * nscd/nscd.tmpfiles: New file.
20213 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
20216 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20217 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20218 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20219 (strstr): Add __strstr_sse2_unaligned ifunc.
20220 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20221 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20222 (strcasestr): Remove __strcasestr_sse42 ifunc.
20223 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20224 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20227 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20229 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20230 * sysdeps/sh/bits/fenv.h: ... here.
20231 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20233 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20235 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20238 hypotf multiarch implementations.
20239 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20240 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20241 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20242 multiarch hypot for PPC64.
20243 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20244 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20245 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20246 multiarch hypotf for PPC64.
20248 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20249 modff multiarch implementations.
20250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20253 multiarch modf for PPC64.
20254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20257 multiarch modff for PPC64.
20259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20260 and logl multiarch implementations.
20261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20264 multiarch logb for PPC64.
20265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20268 multiarch logb for PPC64.
20269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20272 multiarch logb for PPC64.
20274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20275 isinff multiarch implementation.
20276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20280 multiarch isinf for PPC64.
20281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20284 multiarch isinff for PPC64.
20286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20287 finitef multiarch implementation.
20288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20292 multiarch finite for PPC64.
20293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20296 multiarch finitef for PPC64.
20298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20299 lrint multiarch implementation.
20300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20304 multiarch llrint for PPC64.
20305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20306 multiarch lrint for PPC64.
20308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20309 copysignf multiarch implementation.
20310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20315 multiarch copysign for PPC64.
20316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20317 multiarch copysignf for PPC64.
20319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20320 multiarch implementation.
20321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20329 multiarch llround for PPC64.
20330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20331 multiarch trunc for PPC64.
20332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20333 multiarch truncf for PPC64.
20335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20336 multiarch implementation.
20337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20345 multiarch llround for PPC64.
20346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20347 multiarch round for PPC64.
20348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20349 multiarch roundf for PPC64.
20351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20352 multiarch implementation.
20353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20361 multiarch llround for PPC64.
20362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20363 multiarch floor for PPC64.
20364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20365 multiarch floorf for PPC64.
20367 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20368 multiarch implementation.
20369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20377 multiarch llround for PPC64.
20378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20379 multiarch ceil for PPC64.
20380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20381 multiarch ceilf for PPC64.
20383 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20384 multiarch implementation.
20385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20392 multiarch llround for PPC64.
20393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20394 multiarch lround for PPC64.
20396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20397 multiarch implementation.
20398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20405 multiarch isnan for PPC64.
20406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20407 multiarch isnanf for PPC64.
20409 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20410 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20411 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20412 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20413 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20416 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20417 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20418 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20419 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20422 multiarch implementations.
20423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20424 (__libc_ifunc_impl_list): Likewise.
20425 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20426 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20427 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20428 multiarch stpcpy for PPC64.
20430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20431 multiarch implementations.
20432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20433 (__libc_ifunc_impl_list): Likewise.
20434 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20435 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20436 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20437 multiarch strcpy for PPC64.
20439 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20440 redefine function name.
20441 (_wordcopy_fwd_dest_aligned): Likewise.
20442 (_wordcopy_bwd_aligned): Likewise.
20443 (_wordcopy_bwd_dest_aligned): Likewise.
20444 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20445 multiarch implementations.
20446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20447 (__libc_ifunc_impl_list): Likewise.
20448 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20449 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20450 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20451 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20452 multiarch wcscpy for PPC64.
20454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20455 multiarch implementations.
20456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20457 (__libc_ifunc_impl_list): Likewise.
20458 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20459 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20460 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20461 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20462 multiarch wcscpy for PPC64.
20464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20465 multiarch implementations.
20466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20467 (__libc_ifunc_impl_list): Likewise.
20468 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20469 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20470 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20471 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20472 multiarch wcsrchr for PPC64.
20474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20475 multiarch implementations.
20476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20477 (__libc_ifunc_impl_list): Likewise.
20478 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20479 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20480 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20481 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20482 multiarch wcschr for PPC64.
20484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20485 multiarch implementations.
20486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20487 (__libc_ifunc_impl_list): Likewise.
20488 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20489 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20490 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20491 multiarch strchrnul for PPC64.
20493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20496 (__libc_ifunc_impl_list): Likewise.
20497 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20498 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20499 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20500 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20506 (__libc_ifunc_impl_list): Likewise.
20507 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20508 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20509 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20510 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20514 multiarch implementations.
20515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20516 (__libc_ifunc_impl_list): Likewise.
20517 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20518 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20519 strncasecmp for PPC64.
20520 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20521 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20522 multiarch strncasecmp_l for PPC64.
20524 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20525 multiarch implementations.
20526 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20527 (__libc_ifunc_impl_list): Likewise.
20528 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20529 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20530 multiarch strcasecmp for PPC64.
20531 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20533 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20534 multiarch strcasecmp_l for PPC64.
20536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20539 (__libc_ifunc_impl_list): Likewise.
20540 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20541 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20542 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20548 (__libc_ifunc_impl_list): Likewise.
20549 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20550 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20551 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20557 (__libc_ifunc_impl_list): Likewise.
20558 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20559 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20560 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20561 rawmemrchr for PPC64.
20563 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20566 (__libc_ifunc_impl_list): Likewise.
20567 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20568 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20569 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20575 (__libc_ifunc_impl_list): Likewise.
20576 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20577 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20578 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20584 (__libc_ifunc_impl_list): Likewise.
20585 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20586 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20587 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20590 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20591 avoid cretion of __bzero symbol.
20592 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20594 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20596 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20599 multiarch implementations.
20600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20601 (__libc_ifunc_impl_list): Likewise.
20602 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20603 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20604 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20605 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20607 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20608 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20609 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20610 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20611 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20613 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20615 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20619 (__libc_ifunc_impl_list): Likewise.
20620 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20621 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20622 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20623 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20627 multiarch for POWER/PPC64.
20628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20629 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20630 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20631 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20632 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20633 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20634 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20635 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20636 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20639 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20640 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20641 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20642 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20643 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20644 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20645 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20646 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20647 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20648 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20649 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20650 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20651 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20652 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20653 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20662 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20664 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20666 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20668 * benchtests/Makefile (bench): Add exp2 and log2.
20669 (LDLIBS-bench-exp2): Add -lm.
20670 (LDLIBS-bench-log2): Likewise.
20671 * benchtests/exp2-inputs: New inputs file.
20672 * benchtests/log2-inputs: New inputs file.
20673 * benchtests/log-inputs: Add new inputs.
20674 * benchtests/tan-inputs: Likewise.
20676 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20678 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20680 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20681 (csloww2): ... from here.
20683 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20684 instead of structures.
20685 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20686 (POLYNOMIAL): Likewise.
20687 (TAYLOR_SLOW): Likewise.
20693 (sloww1); Likewise.
20694 (sloww2): Likewise.
20695 (bsloww1): Likewise.
20696 (bsloww2): Likewise.
20697 (cslow2): Likewise.
20698 (csloww): Likewise.
20699 (csloww1): Likewise.
20700 (csloww2): Likewise.
20702 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
20704 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20705 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20706 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20707 * malloc/hooks.c (realloc_check): Likewise.
20709 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20710 * malloc/arena.c: Remove PER_THREAD conditional.
20711 [!PER_THREAD]: Remove code.
20712 (ptmalloc_unlock_all2): Likewise.
20713 (ptmalloc_init): Likewise.
20714 (_int_new_arena): Likewise.
20715 (arena_get2): Likewise.
20716 * malloc/hooks.c (__malloc_get_state): Likewise.
20717 (__malloc_set_state): Likewise.
20718 * malloc/malloc.c: Likewise.
20719 (struct malloc_state): Likewise.
20720 (struct malloc_par): Likewise.
20721 (__libc_realloc): Likewise.
20722 (__libc_mallopt): Likewise.
20724 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20726 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20728 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
20730 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20731 macro to a function. Check for zero perturb_byte.
20732 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20734 * malloc/malloc.c: (force_reg): Remove.
20735 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20736 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20737 force_reg by atomic_forced_read.
20738 * malloc/arena.c (ptmalloc_init): Likewise.
20739 * malloc/hooks.c (top_check): Likewise.
20741 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20745 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20749 2013-12-08 Joseph Myers <joseph@codesourcery.com>
20751 * math/auto-libm-test-in: Add tests of lgamma.
20752 * math/auto-libm-test-out: Regenerated.
20753 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20754 (M_LOG_2_SQRT_PIl): Likewise.
20755 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20756 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20758 (func_calc_desc): Add mpfr_f_f1 union field.
20759 (ARGS1): New macro.
20767 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20768 (test_functions): Add lgamma.
20769 (calc_generic_results): Handle mpfr_f_f1.
20770 * sysdeps/i386/fpu/libm-test-ulps: Update.
20771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20773 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20775 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20776 __mpn_add_n for PowerPC64/POWER7.
20777 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20778 __mpn_sub_n for PowerPC64/POWER7.
20780 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20781 __mpn_addmul_1 for PowerPC64.
20782 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20783 __mpn_submul_1 for PowerPC64.
20784 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20786 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20789 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20792 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20794 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20796 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20798 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20799 add multiarch folders.
20800 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20801 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20802 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20803 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20804 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20805 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20806 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20807 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20808 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20809 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20810 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20819 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20825 multiarch __ieee754_hypot for PowerPC32.
20826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20831 multiarch __ieee754_hypotf for PowerPC32.
20833 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20834 long_double_symbol only if __logbl is defined.
20835 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20836 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20837 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20838 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20839 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20840 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20841 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20842 path for implementation.
20843 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20844 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20846 logb, and logbl multiarch implementations for PowerPC32.
20847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20852 multiarch logb for PowerPC32.
20853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20858 multiarch logbf for PowerPC32.
20859 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20863 multiarch logbl implementation for PowerPC32.
20865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20866 and modff multiarch implementations.
20867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20872 multiarch modf for PowerPC32.
20873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20878 multiarch modff for PowerPC32.
20880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20881 and lrintf multiarch implementations.
20882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20887 multiarch lrint for PowerPC32.
20888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20889 file: multiarch lrintf for PowerPC32.
20891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20892 and lroundf multiarch implementations.
20893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20900 multiarch lround for PowerPC32.
20901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20902 file: multiarch lroundf for PowerPC32.
20904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20905 copysign and copysignf multiarch implementations.
20906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20911 file: multiarch copysign for PowerPC32.
20912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20913 file: multiarch copysignf for PowerPC32.
20915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20916 and truncf multiarch implementations.
20917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20922 multiarch trunc for PowerPC32.
20923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20928 multiarch truncf for PowerPC32.
20930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20931 and roundf multiarch implementations.
20932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20937 multiarch round for PowerPC32.
20938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20943 multiarch roundf for PowerPC32.
20945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20946 and floorf multiarch implementations.
20947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20952 multiarch floor for PowerPC32.
20953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20958 multiarch floorf for PowerPC32.
20960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20961 and ceilf multiarch implementations.
20962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20967 multiarch ceil for PowerPC32.
20968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20973 multiarch ceilf for PowerPC32.
20975 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20977 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20978 FINITEF is defined.
20979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20980 and finitef multiarch implementations.
20981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20986 multiarch finite for PowerPC32.
20987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20990 file: multiarch finitef for PowerPC32.
20992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20993 and isinff multiarch implementations.
20994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20999 multiarch isinf for PowerPC32.
21000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21003 multiarch isinff for PowerPC32.
21005 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21006 alias when __isnan is defined.
21007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21008 and isnanf multiarch implementations.
21009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21018 multiarch isnan for PowerPC32.
21019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21024 multiarch isnanf for PowerPC32.
21026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21027 and sqrtf multiarch implementations.
21028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21033 multiarch sqrt for PowerPC32.
21034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21039 multiarch sqrtf for PowerPC32.
21041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21042 and llroundf multiarch implementations.
21043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21050 file: multiarch llround for PowerPC32.
21051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21052 file: multiarch llroundf for PowerPC32.
21054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21055 multiarch PowerPC32 fpu implementations.
21056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21061 multiarch llrint for PowerPC32.
21062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21071 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21073 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21075 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21077 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21078 multiarch wordcopy for PPC32.
21079 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21081 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21082 (__libc_ifunc_impl_list): Likewise.
21083 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21084 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21085 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21086 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21087 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21088 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21090 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21093 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21095 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21097 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21098 multiarch wcscpy for PPC32.
21099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21102 (__libc_ifunc_impl_list): Likewise.
21103 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21104 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21105 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21106 sysdeps/powerpc/power6/wcscpy.c.
21108 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21109 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21111 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21113 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21115 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21116 multiarch wcsrchr for PPC32.
21117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21120 (__libc_ifunc_impl_list): Likewise.
21121 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21122 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21123 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21124 sysdeps/powerpc/power6/wcsrchr.c.
21126 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21128 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21130 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21131 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21132 multiarch wcschr for PPc32.
21133 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21135 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21136 (__libc_ifunc_impl_list): Likewise.
21137 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21138 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21139 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21140 sysdeps/powerpc/power6/wcschr.c.
21142 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21143 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21145 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21146 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21147 file: multiarch strchr for PPC32.
21148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21151 (__libc_ifunc_impl_list): Likewise.
21153 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21155 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21157 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21159 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21160 multiarch strchrnul for PPC32.
21161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21163 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21164 (__libc_ifunc_impl_list): Likewise.
21166 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21168 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21169 multiarch strncasecmp for PPC32.
21170 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21172 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21173 multiarch strncasecmp_l for PPC32.
21174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21175 strncasecmp multiarch objects.
21176 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21177 (__libc_ifunc_impl_list): Likewise.
21179 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21181 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21182 multiarch strncasecmp for PPC32.
21183 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21185 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21186 multiarch strcasecmp_l for PPC32.
21187 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21190 (__libc_ifunc_impl_list): Likewise.
21192 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21194 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21196 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21197 multiarch strncmp for PPC32.
21198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21201 (__libc_ifunc_impl_list): Likewise.
21203 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21204 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21206 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21207 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21208 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21210 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21211 (__libc_ifunc_impl_list): Likewise.
21213 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21215 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21217 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21221 (__libc_ifunc_impl_list): Likewise.
21223 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21225 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21227 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21228 multiarch rawmemchr for PPC32.
21229 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21231 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21232 (__libc_ifunc_impl_list): Likewise.
21234 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21236 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21238 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21239 file: memrchr multiarch for PPC32.
21240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21243 (__libc_ifunc_impl_list): Likewise.
21245 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21246 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21248 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21249 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21250 multiarch memchr for PPC32.
21251 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21253 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21254 (__libc_ifunc_impl_list): Likewise.
21256 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21257 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21259 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21261 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21262 file: multiarch mempcpy for PPC32.
21263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21266 (__libc_ifunc_impl_list): Likewise.
21268 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21269 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21270 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21271 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21272 multiarch bzero for PPC32.
21273 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21275 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21277 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21278 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21279 file: multiarch memset for PPC32.
21280 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21281 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21282 memset multiarch objects.
21283 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21284 (__libc_ifunc_impl_list): Likewise.
21286 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21288 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21289 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21291 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21292 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21294 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21295 (__libc_ifunc_impl_list): Likewise.
21297 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21298 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21299 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21301 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21303 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21305 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21306 multiarch memcpy for PPC32.
21307 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21309 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21310 (__libc_ifunc_impl_list): Likewise.
21312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21313 support multiarch for POWER/PPC32.
21314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21316 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21318 Implies file to make multiarch folder appers before the fpu and
21319 default folder for power4 configuration.
21321 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21323 * scripts/bench.pl: Append volatile keyword to type.
21325 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21327 * sysdeps/sh/sotruss-lib.c: New file.
21328 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21330 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21334 2013-12-05 Joseph Myers <joseph@codesourcery.com>
21337 * math/w_tgamma.c: Include <errno.h>.
21338 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21339 * math/w_tgammaf.c: Include <errno.h>.
21340 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21341 * math/w_tgammal.c: Include <errno.h>.
21342 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21343 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21344 underflow. Add more tgamma tests.
21345 * math/auto-libm-test-out: Regenerated.
21346 * sysdeps/i386/fpu/libm-test-ulps: Update.
21347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21349 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21350 sin, sinh, tan, tanh, tgamma, y0 and y1.
21351 * math/auto-libm-test-out: Regenerated.
21352 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21353 (TEST_COND_x86): Likewise.
21354 (M_E2l): Remove macro.
21356 (M_2_SQRT_PIl): Likewise.
21357 (M_SQRT_PIl): Likewise.
21358 (M_1_DIV_El): Likewise.
21359 (log_test_data): Use AUTO_TESTS_f_f.
21360 (log10_test_data): Likewise.
21361 (log1p_test_data): Likewise.
21362 (log2_test_data): Likewise.
21363 (sin_test_data): Likewise.
21364 (sin_tonearest_test_data): Likewise.
21365 (sin_towardzero_test_data): Likewise.
21366 (sin_downward_test_data): Likewise.
21367 (sin_upward_test_data): Likewise.
21368 (sinh_test_data): Likewise.
21369 (sinh_tonearest_test_data): Likewise.
21370 (sinh_towardzero_test_data): Likewise.
21371 (sinh_downward_test_data): Likewise.
21372 (sinh_upward_test_data): Likewise.
21373 (tan_test_data): Likewise.
21374 (tan_tonearest_test_data): Likewise.
21375 (tan_towardzero_test_data): Likewise.
21376 (tan_downward_test_data): Likewise.
21377 (tan_upward_test_data): Likewise.
21378 (tanh_test_data): Likewise.
21379 (tgamma_test_data): Likewise.
21380 (y0_test_data): Likewise.
21381 (y1_test_data): Likewise.
21382 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21383 (special_real_inputs): Add pi/4.
21384 * sysdeps/i386/fpu/libm-test-ulps: Update.
21385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21387 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21389 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21390 "longjmp_target" static probes.
21391 (__longjmp): Rename to __longjmp_symbol.
21392 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21393 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21394 on which longjmp to generate.
21395 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21396 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21398 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21399 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21400 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21401 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21402 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21403 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21405 __longjmp_symbol based on which __longjmp to generate.
21406 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21408 (setjmp): Rename to setjmp_symbol.
21409 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21410 (_setjmp): Rename to _setjmp_symbol.
21411 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21412 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21413 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21414 which setjmp to generate.
21415 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21416 "longjmp_target" static probes.
21418 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21420 * benchtests/README: Add note about output arguments.
21421 * benchtests/bench-sincos.c: Remove file.
21422 * benchtests/sincos-inputs: New file.
21423 * scripts/bench.pl: Identify output arguments and define
21424 static variables for them.
21426 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21429 * Makefile (INSTALL): Add install-plain.texi as the primary
21431 * manual/install-plain.texi: New file.
21432 * manual/install.texi: Include node directive only for
21433 non-plaintext output.
21435 2013-12-04 Joseph Myers <joseph@codesourcery.com>
21437 * stdlib/longlong.h: Update from GCC.
21441 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21442 * math/w_j0f.c (y0f): Likewise.
21443 * math/w_j0l.c (__y0l): Likewise.
21444 * math/w_j1.c (y1): Likewise.
21445 * math/w_j1f.c (y1f): Likewise.
21446 * math/w_j1l.c (__y1l): Likewise
21447 * math/w_jn.c (yn): Likewise.
21448 * math/w_jnf.c (ynf): Likewise.
21449 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21450 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21451 value for Bessel function domain errors outside _SVID_ mode.
21452 Adjust sign of return value for yn (negative integer, 0).
21453 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21454 by zero in return for negative x and set sign appropriately for
21456 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21457 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21458 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21459 expectations in error cases.
21460 (y1_test_data): Likewise.
21461 (yn_test_data): Likewise.
21462 * sysdeps/i386/fpu/libm-test-ulps: Update.
21463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21465 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21467 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21468 "64" to "64-v1". Add "64-v2".
21469 (abi-64-options): Rename to ...
21470 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21471 (abi-64-condition): Rename to ...
21472 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21473 (abi-64-ld-soname): Rename to ...
21474 (abi-64-v1-ld-soname): ... this.
21475 (abi-64-v2-options): Define.
21476 (abi-64-v2-condition): Likewise.
21477 (abi-64-v2-ld-soname): Likewise.
21478 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21479 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21484 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21485 Alan Modra <amodra@gmail.com>
21487 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21488 New versions for use with the ELFv2 ABI.
21489 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21490 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21492 (struct La_ppc64v2_retval): Likewise.
21493 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21494 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21495 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21496 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21497 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21498 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21499 Do not save or restore CR.
21500 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21501 (_dl_profile_resolve): Do no save or restore CR. Support extended
21502 return values for ELFv2 ABI. Fix location of FPR return registers.
21503 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21504 updated values for _CALL_ELF == 2.
21505 (La_regs, La_retval, int_retval): Likewise.
21507 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21509 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21510 (FRAME_MIN_SIZE_PARM): Likewise.
21511 (FRAME_BACKCHAIN): Likewise.
21512 (FRAME_CR_SAVE): Likewise.
21513 (FRAME_LR_SAVE): Likewise.
21514 (FRAME_TOC_SAVE): Likewise.
21515 (FRAME_PARM_SAVE): Likewise.
21516 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21517 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21518 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21519 (call_mcount_parm_offset): New macro.
21520 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21521 (PROF): Use symbolic stack frame offsets.
21522 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21523 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21524 Redefine in terms of FRAME_MIN_SIZE.
21525 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21526 (_dl_profile_resolve): Likewise. Update comment.
21527 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21528 symbols stack frame offsets.
21529 (__sigsetjmp): Likewise.
21530 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21531 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21532 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21533 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21536 (FRAME_BACKCHAIN): Remove.
21537 (FRAME_CR_SAVE): Likewise.
21538 (FRAME_LR_SAVE): Likewise.
21539 (FRAME_COMPILER_DW): Likewise.
21540 (FRAME_LINKER_DW): Likewise.
21541 (FRAME_TOC_SAVE): Likewise.
21542 (FRAME_PARM_SAVE): Likewise.
21543 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21544 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21545 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21547 (CHECK_SP): Use symbolic stack frame offsets.
21548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21549 zone" instead of caller's parameter save area for temp storage.
21550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21551 Likewise. Also, use symbolic stack frame offsets.
21552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21553 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21554 our own stack frame instead of the caller's.
21555 (__socket): Use symbolic stack frame offsets.
21557 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21558 Alan Modra <amodra@gmail.com>
21560 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21562 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21563 (PPC64_LOCAL_ENTRY_OFFSET): Define.
21564 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21566 (elf_machine_fixup_plt): Call it.
21567 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21569 (elf_machine_rela): Update call to elf_machine_plt_conflict.
21570 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21571 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21572 r2 before calling target.
21574 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21575 Alan Modra <amodra@gmail.com>
21577 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21578 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21579 versions of macros to support ELFv2 ABI.
21580 (LOCALENTRY): New macro.
21581 (ENTRY, EALIGN): Use it.
21582 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21583 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21584 fall through into ENTRY entry point.
21585 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21586 Only define if _CALL_ELF != 2.
21588 (elf_machine_matches_host): Verify ABI version matches.
21589 (RTLD_START): Use LOCALENTRY.
21590 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21591 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21592 (PLT_ENTRY_WORDS): New macro.
21593 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21594 (elf_machine_runtime_setup): Support ELFv2 ABI.
21595 (elf_machine_fixup_plt): Likewise.
21596 (elf_machine_plt_conflict): Likewise.
21597 (resolve_ifunc): Likewise.
21598 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21599 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21602 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21604 (makecontext): Support ELFv2 ABI.
21605 * elf/elf.h (EF_PPC64_ABI): Define.
21607 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21609 * sysdeps/powerpc/powerpc64/sysdep.h
21610 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21611 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21612 (ENTRY) [ASSEMBLER]: ... but instead here ...
21613 (EALIGN) [ASSEMBLER]: ... and here.
21614 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21615 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21616 (ENTRY_2) [!ASSEMBLER]: Use it.
21617 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21618 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
21619 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21620 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21621 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21623 Use PPC64_LOAD_FUNCPTR.
21625 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21627 2013-12-04 Alan Modra <amodra@gmail.com>
21629 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21630 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21631 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21632 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21634 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21635 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21636 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21637 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21638 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21639 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21641 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21644 (__makecontext): Fix incorrect CFI when backtracing out of
21645 context created via makecontext.
21646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21647 (__setcontext): Fix incorrect CFI during switch to new context.
21648 (__novec_setcontext): Likewise.
21650 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21653 * time/strptime_l.c (__strptime_internal): Allow modifiers
21655 * time/tst-strptime.c (day_tests): Add testcase.
21657 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21659 * scripts/bench.pl: Skip over blank lines.
21661 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21664 * manual/time.texi (Calendar Time): Clarify what timezone functions
21667 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21671 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21673 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21675 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21676 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21677 * debug/memset_chk.c (__memset_chk): Likewise.
21678 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21679 * debug/strncpy_chk.c: Likewise.
21681 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21685 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21686 (__ieee754_exp): For possibly underflowing results, check size of
21687 result and force underflow exception if required.
21688 * math/auto-libm-test-in: Add more tests of exp.
21689 * math/auto-libm-test-out: Regenerated.
21690 * sysdeps/i386/fpu/libm-test-ulps: Update.
21691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21694 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21695 * math/w_exp2f.c (__exp2f): Likewise.
21696 * math/w_exp2l.c (__exp2l): Likewise.
21697 * math/auto-libm-test-in: Do not allow missing errno on exp2
21699 * math/auto-libm-test-out: Regenerated.
21701 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
21704 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21705 handle filename validation.
21706 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21709 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21712 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21713 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21714 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21716 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21717 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21718 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21719 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21720 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21721 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21722 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21723 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21724 Add more erfc tests.
21725 * math/auto-libm-test-out: Regenerated.
21726 * sysdeps/i386/fpu/libm-test-ulps: Update.
21727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21729 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21730 exp2, expm1, j0 and j1.
21731 * math/auto-libm-test-out: Regenerated.
21732 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21733 (erfc_test_data): Likewise.
21734 (exp_test_data): Likewise.
21735 (exp_tonearest_test_data): Likewise.
21736 (exp_towardzero_test_data): Likewise.
21737 (exp_downward_test_data): Likewise.
21738 (exp_upward_test_data): Likewise.
21739 (exp10_test_data): Likewise.
21740 (exp2_test_data): Likewise.
21741 (expm1_test_data): Likewise.
21742 (j0_test_data): Likewise.
21743 (j1_test_data): Likewise.
21744 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21745 (input_flag_type): Add flag_xfail_rounding.
21746 (input_flags): Add xfail-rounding.
21747 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21748 (output_for_one_input_case): Handle flag_xfail_rounding.
21749 * sysdeps/i386/fpu/libm-test-ulps: Update.
21750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21752 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21755 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21758 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21761 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21762 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21763 (STAP_PROBE0): New macro.
21764 (STAP_PROBE1): Likewise.
21765 (STAP_PROBE2): Likewise.
21766 (STAP_PROBE3): Likewise.
21767 (STAP_PROBE4): Likewise.
21769 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
21771 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21773 2013-12-02 Steve Ellcey <sellcey@mips.com>
21775 * benchtests/Makefile (bench): Add sqrt.
21776 (LDLIBS-bench-sqrt): New.
21777 * benchtests/sqrt-input: New.
21779 2013-12-02 Pavel Simerda <psimerda@redhat.com>
21781 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21782 (GAIH_EAI): Likewise.
21783 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21784 (gaih_inet): Likewise.
21785 (getaddrinfo): Don't use GAIH_EAI.
21787 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21788 (struct gaih): Remove definition.
21790 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21792 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21793 Use HERRNOP directly.
21795 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21799 2013-11-30 Joseph Myers <joseph@codesourcery.com>
21801 * math/gen-auto-libm-tests.c (test_functions): Add more
21802 single-argument functions.
21803 (special_fill_pi_2): New function.
21804 (special_fill_minus_pi_2): Likewise.
21805 (special_fill_pi_6): Likewise.
21806 (special_fill_minus_pi_6): Likewise.
21807 (special_fill_pi_3): Likewise.
21808 (special_fill_2pi_3): Likewise.
21809 (special_fill_e): Likewise.
21810 (special_fill_1_e): Likewise.
21811 (special_fill_e_minus_1): Likewise.
21812 (special_real_inputs): Add more special inputs.
21813 (output_for_one_input_case): Do not require ERANGE on underflow to
21814 zero if round-to-nearest result does not underflow to zero, unless
21815 exact results required.
21816 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21817 atan, atanh, cbrt, cos and cosh.
21818 * math/auto-libm-test-out: Regenerated.
21819 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21820 (acos_tonearest_test_data): Likewise.
21821 (acos_towardzero_test_data): Likewise.
21822 (acos_downward_test_data): Likewise.
21823 (acos_upward_test_data): Likewise.
21824 (acosh_test_data): Likewise.
21825 (asin_test_data): Likewise.
21826 (asin_tonearest_test_data): Likewise.
21827 (asin_towardzero_test_data): Likewise.
21828 (asin_upward_test_data): Likewise.
21829 (asinh_test_data): Likewise.
21830 (atan_test_data): Likewise.
21831 (atanh_test_data): Likewise.
21832 (cbrt_test_data): Likewise.
21833 (cos_test_data): Likewise.
21834 (cos_tonearest_test_data): Likewise.
21835 (cos_towardzero_test_data): Likewise.
21836 (cos_downward_test_data): Likewise.
21837 (cos_upward_test_data): Likewise.
21838 (cosh_test_data): Likewise.
21839 (cosh_tonearest_test_data): Likewise.
21840 (cosh_towardzero_test_data): Likewise.
21841 (cosh_downward_test_data): Likewise.
21842 (cosh_upward_test_data): Likewise.
21843 * sysdeps/i386/fpu/libm-test-ulps: Update.
21844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21846 2013-11-29 Joseph Myers <joseph@codesourcery.com>
21849 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21850 * math/w_exp10f.c (__exp10f): Likewise.
21851 * math/w_exp10l.c (__exp10l): Likewise.
21852 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21853 errno settings in existing tests.
21856 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21857 precision control set to double precision.
21858 * sysdeps/i386/fpu/w_sqrt.c: New file.
21859 * math/auto-libm-test-in: Add more tests.
21860 * math/auto-libm-test-out: Update.
21862 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21863 (sqrt_test_tonearest): New function.
21864 (sqrt_towardzero_test_data): New variable.
21865 (sqrt_test_towardzero): New function.
21866 (sqrt_downward_test_data): New variable.
21867 (sqrt_test_downward): New function.
21868 (sqrt_upward_test_data): New variable.
21869 (sqrt_test_upward): New function.
21870 (main): Call the new functions.
21872 * math/gen-auto-libm-tests.c: New file.
21873 * math/auto-libm-test-in: Likewise.
21874 * math/auto-libm-test-out: New generated file.
21875 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21877 (%beautify): Add generated representations of zero.
21878 (top level): Set $auto_input and call parse_auto_input.
21879 (beautify): Remove trailing "f" from hex float constants.
21880 (parse_args): Handle XFAIL_TEST.
21881 (convert_condition): New function.
21882 (or_value): Likewise.
21883 (or_cond_value): Likewise.
21884 (generate_testfile): Handle AUTO_TESTS_* lines.
21885 (parse_auto_input): New function.
21886 * math/libm-test.inc (XFAIL_TEST): New macro.
21887 (ERRNO_UNCHANGED): Update value.
21888 (ERRNO_EDOM): Likewise.
21889 (ERRNO_ERANGE): Likewise.
21890 (IGNORE_RESULT): Likewise.
21891 (TEST_COND_flt_32): New macro.
21892 (TEST_COND_dbl_64): Likewise.
21893 (TEST_COND_ldbl_96_intel): Likewise.
21894 (TEST_COND_ldbl_96_m68k): Likewise.
21895 (TEST_COND_ldbl_128): Likewise.
21896 (TEST_COND_ldbl_128ibm): Likewise.
21897 (TEST_COND_long32): Likewise.
21898 (TEST_COND_long64): Likewise.
21899 (TEST_COND_before_rounding): Likewise.
21900 (TEST_COND_after_rounding): Likewise.
21901 (enable_test): Handle XFAIL_TEST flag.
21902 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21903 with finite results.
21904 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21905 auto-libm-test-out.
21907 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21908 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21911 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21912 __tls_get_addr_internal instead of __tls_get_offset in order to
21913 avoid GOT pointer dependency. Make rtld export
21914 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21915 __tls_get_addr since we are a __tls_get_offset platform.
21916 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21917 GOT pointer being set up before.
21918 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21920 2013-11-28 Joseph Myers <joseph@codesourcery.com>
21922 * manual/math.texi (Errors in Math Functions): Document accuracy
21926 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21927 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21928 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21929 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21930 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21931 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21932 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21933 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21934 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21935 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21936 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21937 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21938 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21939 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21940 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21941 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21943 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21944 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21945 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21946 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21947 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21949 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21951 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21953 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21954 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21955 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21956 atomic-feupdateenv and flt-rounds.
21957 * sysdeps/powerpc/nofpu/Versions (libc): Add
21958 __atomic_feholdexcept, __atomic_feclearexcept,
21959 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21960 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21961 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21962 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21963 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21968 * manual/arith.texi (FP Exceptions): Document that exceptions may
21969 not be raised when matherr is used.
21970 (Math Error Reporting): Document overflow in directed rounding
21971 modes. Document that errno may not be set when finite values are
21972 returned on overflow. Document intent to set errno on underflow
21973 only for underflow to zero.
21976 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21977 round-to-nearest then adjust result for other rounding modes.
21978 * include/fenv.h (fegetround): Use libm_hidden_proto.
21979 * math/fegetround.c (fegetround): Use libm_hidden_def.
21980 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21981 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21982 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21983 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21985 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21986 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21987 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21988 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21990 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21993 * nss/Versions (libnss_files): Add
21994 _nss_files_gethostbyname3_r.
21995 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21997 (HOST_DB_LOOKUP): Remove macro.
21998 (_nss_files_gethostbyname_r): Implement function without the
21999 HOST_DB_LOOKUP macro.
22000 (_nss_files_gethostbyname2_r): Likewise.
22002 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
22004 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22006 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
22008 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22009 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22012 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22014 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22015 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22016 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22017 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22018 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22019 __fe_nomask_env_priv and attribute_hidden.
22020 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22021 (libc_feupdateenv_test_ppc): Likewise.
22022 (libc_feresetround_ppc): Likewise.
22023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22024 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22025 compat_symbol macro.
22026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22027 (__fe_nomask_env): Likewise.
22028 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22030 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22032 * string/Makefile: Remove ifunc tests.
22033 * string/test-string.h: Define TEST_IFUNC.
22034 * string/test-bcopy-ifunc.c: Remove.
22035 * string/test-bzero-ifunc.c: Likewise.
22036 * string/test-memccpy-ifunc.c: Likewise.
22037 * string/test-memchr-ifunc.c: Likewise.
22038 * string/test-memcmp-ifunc.c: Likewise.
22039 * string/test-memcpy-ifunc.c: Likewise.
22040 * string/test-memmem-ifunc.c: Likewise.
22041 * string/test-memmove-ifunc.c: Likewise.
22042 * string/test-mempcpy-ifunc.c: Likewise.
22043 * string/test-memrchr-ifunc.c: Likewise.
22044 * string/test-memset-ifunc.c: Likewise.
22045 * string/test-rawmemchr-ifunc.c: Likewise.
22046 * string/test-stpcpy-ifunc.c: Likewise.
22047 * string/test-stpncpy-ifunc.c: Likewise.
22048 * string/test-strcasecmp-ifunc.c: Likewise.
22049 * string/test-strcasestr-ifunc.c: Likewise.
22050 * string/test-strcat-ifunc.c: Likewise.
22051 * string/test-strchr-ifunc.c: Likewise.
22052 * string/test-strchrnul-ifunc.c: Likewise.
22053 * string/test-strcmp-ifunc.c: Likewise.
22054 * string/test-strcpy-ifunc.c: Likewise.
22055 * string/test-strcspn-ifunc.c: Likewise.
22056 * string/test-strlen-ifunc.c: Likewise.
22057 * string/test-strncasecmp-ifunc.c: Likewise.
22058 * string/test-strncat-ifunc.c: Likewise.
22059 * string/test-strncmp-ifunc.c: Likewise.
22060 * string/test-strncpy-ifunc.c: Likewise.
22061 * string/test-strnlen-ifunc.c: Likewise.
22062 * string/test-strpbrk-ifunc.c: Likewise.
22063 * string/test-strrchr-ifunc.c: Likewise.
22064 * string/test-strspn-ifunc.c: Likewise.
22065 * string/test-strstr-ifunc.c: Likewise.
22067 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22069 * benchtests/Makefile: Remove ifunc tests.
22070 * benchtests/bench-string.h: Define TEST_IFUNC.
22071 * benchtests/bench-bcopy-ifunc.c: Remove.
22072 * benchtests/bench-bzero-ifunc.c: Likewise.
22073 * benchtests/bench-memccpy-ifunc.c: Likewise.
22074 * benchtests/bench-memchr-ifunc.c: Likewise.
22075 * benchtests/bench-memcmp-ifunc.c: Likewise.
22076 * benchtests/bench-memcpy-ifunc.c: Likewise.
22077 * benchtests/bench-memmem-ifunc.c: Likewise.
22078 * benchtests/bench-memmove-ifunc.c: Likewise.
22079 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22080 * benchtests/bench-memrchr-ifunc.c: Likewise.
22081 * benchtests/bench-memset-ifunc.c: Likewise.
22082 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22083 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22084 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22085 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22086 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22087 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22088 * benchtests/bench-strcat-ifunc.c: Likewise.
22089 * benchtests/bench-strchr-ifunc.c: Likewise.
22090 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22091 * benchtests/bench-strcmp-ifunc.c: Likewise.
22092 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22093 * benchtests/bench-strcpy-ifunc.c: Likewise.
22094 * benchtests/bench-strcspn-ifunc.c: Likewise.
22095 * benchtests/bench-strlen-ifunc.c: Likewise.
22096 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22097 * benchtests/bench-strncat-ifunc.c: Likewise.
22098 * benchtests/bench-strncmp-ifunc.c: Likewise.
22099 * benchtests/bench-strncpy-ifunc.c: Likewise.
22100 * benchtests/bench-strnlen-ifunc.c: Likewise.
22101 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22102 * benchtests/bench-strrchr-ifunc.c: Likewise.
22103 * benchtests/bench-strsep-ifunc.c: Likewise.
22104 * benchtests/bench-strspn-ifunc.c: Likewise.
22105 * benchtests/bench-strstr-ifunc.c: Likewise.
22107 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22109 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22111 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22113 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22114 * rt/aio.h: Likewise.
22115 * sysdeps/gnu/bits/utmp.h: Likewise.
22116 * sysdeps/gnu/bits/utmpx.h: Likewise.
22117 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22118 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22119 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22120 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22121 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22122 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22123 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22124 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22125 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22126 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22127 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22128 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22129 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22131 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22132 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22133 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22134 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22135 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22136 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22137 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22138 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22139 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22140 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22141 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22143 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22144 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22145 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22146 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22147 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22148 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22149 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22150 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22151 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22152 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22153 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22154 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22155 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22156 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22157 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22158 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22160 2013-11-25 Carlos O'Donell <carlos@redhat.com>
22163 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22164 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22166 2013-11-25 Joseph Myers <joseph@codesourcery.com>
22168 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22169 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22172 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22174 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22175 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22176 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22177 (__fesetround): Remove define.
22178 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22179 rounding and exceptions handling.
22180 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22181 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22182 (__fe_nomask_env): Likewise.
22183 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22184 __fegetround instead of fegetround.
22185 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22186 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22188 2013-11-21 Roland McGrath <roland@hack.frob.com>
22190 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22193 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22195 2013-11-21 Meador Inge <meadori@codesourcery.com>
22198 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22199 (encrypt_r): Likewise.
22200 * malloc/obstack.h (obstack_free): Likewise.
22201 * posix/unistd.h (encrypt): Likewise.
22203 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22205 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22206 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22207 DL_CALL_DT_FINI() that call the functions directly.
22208 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22209 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22210 * elf/dl-fini.c: Likewise.
22212 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
22214 * malloc/hooks.c (memalign_check): Add alignment rounding.
22215 * malloc/malloc.c (_mid_memalign): New function.
22216 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22217 Implement by calling _mid_memalign.
22218 * manual/probes.texi (Memory Allocation Probes): Remove
22219 memory_valloc_retry and memory_pvalloc_retry.
22221 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22223 * locale/programs/locarchive.c (open_archive): Add const
22224 qualifier to ARCHIVEFNAME and copy default fname to
22228 * libio/tst-widetext.input: Rename Oriya to Odia.
22229 * locale/iso-639.def: Likewise.
22231 * manual/probes.texi (Mathematical Function Probes): Add
22232 documentation for sin, cos, asin and acos probes.
22233 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22234 (__sin32): Add slowasin probe.
22235 (__cos32): Add slowacos probe.
22236 (__mpsin): Add slowsin probe.
22237 (__mpcos): Add slowcos probe.
22239 2013-11-19 Joseph Myers <joseph@codesourcery.com>
22242 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22243 thread-local __sim_exceptions_thread and global
22244 __sim_exceptions_global.
22245 (__sim_disabled_exceptions): Change to thread-local
22246 __sim_disabled_exceptions_thread and global
22247 __sim_disabled_exceptions_global.
22248 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22249 and global __sim_round_mode_global.
22250 (__simulate_exceptions): Use thread-local floating-point state and
22251 set global state from it as needed.
22252 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22253 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22254 __sim_round_mode_thread.
22255 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22256 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22257 and global __sim_exceptions_global.
22258 (__sim_disabled_exceptions): Change to thread-local
22259 __sim_disabled_exceptions_thread and global
22260 __sim_disabled_exceptions_global.
22261 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22262 and global __sim_round_mode_global.
22263 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22264 (SIM_SET_GLOBAL): Likewise.
22265 * sysdeps/powerpc/soft-fp/sfp-machine.h
22266 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22267 __sim_round_mode_thread.
22268 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22269 __sim_disabled_exceptions_thread.
22270 (__sim_exceptions): Change to __sim_exceptions_thread.
22271 (__sim_disabled_exceptions): Change to
22272 __sim_disabled_exceptions_thread.
22273 (__sim_round_mode): Change to __sim_round_mode_thread.
22274 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22275 thread-local floating-point state and set global state from it as
22277 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22278 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22279 (__sim_disabled_exceptions): Remove extern declaration.
22280 (feenableexcept): Use thread-local floating-point state and set
22281 global state from it as needed.
22282 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22283 extern declaration.
22284 (__sim_disabled_exceptions): Likewise.
22285 (__sim_round_mode): Likewise.
22286 (__fegetenv): Use thread-local floating-point state.
22287 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22288 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22289 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22290 floating-point state and set global state from it as needed.
22291 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22292 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22293 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22295 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22296 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22298 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22299 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22300 Use __sim_round_mode_thread.
22301 * math/test-fenv-tls.c: New file.
22302 * math/Makefile (tests): Add test-fenv-tls.
22303 ($(objpfx)test-fenv-tls): Depend on
22304 $(common-objpfx)nptl/libpthread.so.
22306 2013-11-19 Andreas Schwab <schwab@suse.de>
22308 * locale/programs/locale.c (show_info): Decode wordarray elements.
22309 * locale/categories.def (LC_MONETARY): Add element for
22310 _NL_MONETARY_CRNCYSTR.
22311 * locale/C-monetary.c (conversion_rate): New variable.
22312 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22315 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22317 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22318 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22320 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22322 * elf/Makefile (tst-auxv): New test.
22323 * elf/tst-auxv.c: New
22324 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22326 2013-11-18 Joseph Myers <joseph@codesourcery.com>
22328 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22329 (hidden_proto): Caller changed.
22330 (hidden_tls_proto): New macro.
22331 (libc_hidden_tls_proto): Likewise.
22332 (rtld_hidden_tls_proto): Likewise.
22333 (libm_hidden_tls_proto): Likewise.
22334 (libresolv_hidden_tls_proto): Likewise.
22335 (librt_hidden_tls_proto): Likewise.
22336 (libdl_hidden_tls_proto): Likewise.
22337 (libnss_files_hidden_tls_proto): Likewise.
22338 (libnsl_hidden_tls_proto): Likewise.
22339 (libnss_nisplus_hidden_tls_proto): Likewise.
22340 (libutil_hidden_tls_proto): Likewise.
22342 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
22345 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22346 (decompose_rpath): Defer expansion to fillin_rpath.
22347 (_dl_init_paths): Pass linkmap to fillin_rpath.
22349 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22351 * benchtests/Makefile: Add strsep.
22352 * benchtests/bench-strsep.c: New file: strsep benchtest.
22353 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22355 2013-11-18 Andreas Schwab <schwab@suse.de>
22357 * locale/programs/locale.c (show_info) [case byte]: Check for
22358 '\377' instead of '\177'.
22359 * locale/C-monetary.c (not_available): Always use "\377".
22360 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22361 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22362 detect unavailable sign_posn locale elements.
22363 * locale/localeconv.c (__localeconv): For grouping and
22364 mon_grouping handle "\177" and "\377" like no grouping.
22365 (INT_ELEM): New macro. Use it to set all numeric members.
22366 * locale/programs/ld-monetary.c (monetary_read)
22367 <tok_mon_grouping>: Normalize single -1 to the empty string.
22368 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22371 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22374 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22375 when we match (nil).
22376 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22378 2013-11-16 Joseph Myers <joseph@codesourcery.com>
22380 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22381 (NO_TEST_INLINE): Update value.
22382 (ERRNO_UNCHANGED): Likewise.
22383 (ERRNO_EDOM): Likewise.
22384 (ERRNO_ERANGE): Likewise.
22385 (IGNORE_RESULT): Likewise.
22386 (check_float_internal): Check signs of NaN results if
22387 TEST_NAN_SIGN used.
22388 (check_complex): Pass TEST_NAN_SIGN flag through to second
22389 check_float_internal call.
22390 (copysign_test_data): Add tests with quiet NaNs as second
22391 argument. Use TEST_NAN_SIGN.
22392 (fabs_test_data): Add test of negative quiet NaN argument. Use
22394 (signbit_test_data): Add tests of quiet NaN argument.
22395 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22397 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22399 (parse_args): Handle function results specified as IGNORE.
22400 * math/libm-test.inc (IGNORE_RESULT): New macro.
22401 (check_float_internal): Do not check numerical result if flag
22403 (check_complex): Pass through IGNORE_RESULT to second
22404 check_float_internal call.
22405 (check_int): Do not check numerical result if flag IGNORE_RESULT
22407 (check_long): Likewise.
22408 (check_bool): Likewise.
22409 (check_longlong): Likewise.
22410 (lrint_test_data): Add tests of infinite and NaN arguments.
22411 (lrint_tonearest_test_data): Likewise.
22412 (lrint_towardzero_test_data): Likewise.
22413 (lrint_downward_test_data): Likewise.
22414 (lrint_upward_test_data): Likewise.
22415 (llrint_test_data): Likewise.
22416 (llrint_tonearest_test_data): Likewise.
22417 (llrint_towardzero_test_data): Likewise.
22418 (llrint_downward_test_data): Likewise.
22419 (llrint_upward_test_data): Likewise.
22420 (lround_test_data): Likewise.
22421 (llround_test_data): Likewise.
22423 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22424 (ERRNO_UNCHANGED): Update value.
22425 (ERRNO_EDOM): Likewise.
22426 (ERRNO_ERANGE): Likewise.
22427 (NO_TEST_INLINE_FLOAT): New macro.
22428 (NO_TEST_INLINE_DOUBLE): Likewise.
22429 (enable_test): New function.
22430 (RUN_TEST_f_f): Check enable_test before running test.
22431 (RUN_TEST_2_f): Likewise.
22432 (RUN_TEST_fff_f): Likewise.
22433 (RUN_TEST_c_f): Likewise.
22434 (RUN_TEST_f_f1): Likewise.
22435 (RUN_TEST_fF_f1): Likewise.
22436 (RUN_TEST_fI_f1): Likewise.
22437 (RUN_TEST_ffI_f1): Likewise.
22438 (RUN_TEST_c_c): Likewise.
22439 (RUN_TEST_cc_c): Likewise.
22440 (RUN_TEST_f_i): Likewise.
22441 (RUN_TEST_f_i_tg): Likewise.
22442 (RUN_TEST_ff_i_tg): Likewise.
22443 (RUN_TEST_f_b): Likewise.
22444 (RUN_TEST_f_b_tg): Likewise.
22445 (RUN_TEST_f_l): Likewise.
22446 (RUN_TEST_f_L): Likewise.
22447 (RUN_TEST_fFF_11): Likewise.
22448 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22450 (cosh_test_data): Likewise.
22451 (exp_test_data): Likewise.
22452 (expm1_test_data): Likewise.
22453 (hypot_test_data): Likewise.
22454 (pow_test_data): Likewise.
22455 (sinh_test_data): Likewise.
22456 (tanh_test_data): Likewise.
22457 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22460 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22461 tests with quiet NaN input and output.
22462 (acosh_test_data): Likewise.
22463 (asin_test_data): Likewise.
22464 (asinh_test_data): Likewise.
22465 (atan_test_data): Likewise.
22466 (atanh_test_data): Likewise.
22467 (atan2_test_data): Likewise.
22468 (cbrt_test_data): Likewise.
22469 (cos_test_data): Likewise.
22470 (cosh_test_data): Likewise.
22471 (erf_test_data): Likewise.
22472 (erfc_test_data): Likewise.
22473 (exp_test_data): Likewise.
22474 (exp10_test_data): Likewise.
22475 (exp2_test_data): Likewise.
22476 (expm1_test_data): Likewise.
22477 (hypot_test_data): Likewise.
22478 (j0_test_data): Likewise.
22479 (j1_test_data): Likewise.
22480 (jn_test_data): Likewise.
22481 (lgamma_test_data): Likewise.
22482 (log_test_data): Likewise.
22483 (log10_test_data): Likewise.
22484 (log1p_test_data): Likewise.
22485 (log2_test_data): Likewise.
22486 (pow_test_data): Likewise.
22487 (scalb_test_data): Likewise.
22488 (sin_test_data): Likewise.
22489 (sincos_test_data): Likewise.
22490 (sinh_test_data): Likewise.
22491 (tan_test_data): Likewise.
22492 (tanh_test_data): Likewise.
22493 (tgamma_test_data): Likewise.
22494 (y0_test_data): Likewise.
22495 (y1_test_data): Likewise.
22496 (yn_test_data): Likewise.
22499 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22500 argument being NaN and avoid computations with second argument in
22502 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22503 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22504 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22506 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22508 * locale/iso-639.def: Add Chitwani Tharu (the).
22510 2013-11-14 Andreas Schwab <schwab@suse.de>
22512 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22513 word instead of empty string.
22515 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22518 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22520 (__fe_nomask_env): Likewise.
22522 2013-11-13 Steve Ellcey <sellcey@mips.com>
22524 * benchtests/bench-timing.h: Include time.h.
22526 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22529 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22531 * sysdeps/unix/sysv/linux/configure: Regenerated.
22533 2013-11-13 Joseph Myers <joseph@codesourcery.com>
22536 * stdlib/strtod_l.c (round_and_return): Do not consider
22537 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22538 exponent one less than half the least subnormal exponent.
22539 * stdlib/test-strtod-round-data: Add more tests.
22540 * stdlib/tst-strtod-round.c (tests): Regenerated.
22542 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22545 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22546 (__fe_mask_env): Likewise.
22547 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22548 libm_hidden_proto and add function prototype.
22549 (__fe_mask_env): Add function prototype.
22550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22551 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22553 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22555 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22557 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22559 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22560 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22562 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22564 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22565 of htab_find_slot().
22567 2013-11-11 David S. Miller <davem@davemloft.net>
22570 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22571 symbol in the non-vis3 case in static builds.
22572 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22573 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22574 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22575 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22577 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22580 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22583 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22585 * benchtests/Makefile: Add bench-strtod.
22586 * benchtests/bench-strtod.c: New file: strtod benchtest
22588 2013-11-11 Andreas Schwab <schwab@suse.de>
22591 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22592 terminating NUL in key length.
22594 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22596 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22597 Add artificial ODP entry for vDSO symbol for PPC64.
22598 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22599 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22601 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22604 * nss/getent.c (services_keys): Recognize services starting with digit.
22606 2013-11-06 David S. Miller <davem@davemloft.net>
22609 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22610 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22612 2013-11-06 Will Newton <will.newton@linaro.org>
22614 * manual/memory.texi (Malloc Examples): Remove register
22615 keyword from examples.
22617 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
22619 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22621 2013-11-04 Joseph Myers <joseph@codesourcery.com>
22624 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22625 depending on [__GCC_IEC_559 > 0].
22626 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22627 depending on [__GCC_IEC_559_COMPLEX > 0].
22629 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
22631 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22634 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
22636 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22638 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
22641 * malloc/malloc (malloc_info): Do not handle first bin as
22644 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
22646 * locale/iso-639.def: Add Central Nahuatl (nhn).
22648 2013-11-01 Bruno Haible <bruno@clisp.org>
22651 * manual/math.texi (BSD Random): Specify range upper bound as
22654 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
22656 * locale/iso-639.def: Add Meadow Mari (mhr).
22658 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
22660 [BZ #14752], [BZ #15763]
22661 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22663 * rt/tst_shm.c: Add test for escaping directory.
22665 2013-10-31 Andreas Schwab <schwab@suse.de>
22668 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22669 followed by 'x' as part of digit sequence.
22670 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22672 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22675 * configure.ac: allow GNU Make 4.0 and greater.
22676 * configure: Regenerated.
22678 2013-10-30 Will Newton <will.newton@linaro.org>
22681 * malloc/hooks.c (memalign_check): Limit alignment to the
22682 maximum representable power of two.
22683 * malloc/malloc.c (__libc_memalign): Likewise.
22684 * malloc/tst-memalign.c (do_test): Add test for very
22685 large alignment values.
22686 * malloc/tst-posix_memalign.c (do_test): Likewise.
22688 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22691 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22692 (munmap_chunk): Likewise.
22693 (mremap_chunk): Likewise.
22695 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22698 * stdlib/div.c (div): Remove obsolete code.
22699 * stdlib/ldiv.c (ldiv): Likewise.
22700 * stdlib/lldiv.c (lldiv): Likewise.
22702 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22705 * nss/nss_files/files-XXX.c (get_contents_ret): New
22707 (get_contents): New function.
22708 (internal_getent): Use it. Expand size of LINEBUFLEN.
22710 2013-10-30 Mike Frysinger <vapier@gentoo.org>
22712 * configure.in: Moved to ...
22713 * configure.ac: ... here. Change reference to configure.in
22715 * sysdeps/arm/preconfigure.ac: ... here.
22716 configure.in to configure.ac.
22717 * sysdeps/gnu/configure.in: Moved to ...
22718 * sysdeps/gnu/configure.ac: ... here.
22719 * sysdeps/i386/configure.in: Moved to ...
22720 * sysdeps/i386/configure.ac: ... here.
22721 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22722 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22723 * sysdeps/mach/configure.in: Moved to ...
22724 * sysdeps/mach/configure.ac: ... here.
22725 * sysdeps/mach/hurd/configure.in: Moved to ...
22726 * sysdeps/mach/hurd/configure.ac: ... here.
22727 * sysdeps/powerpc/configure.in: Moved to ...
22728 * sysdeps/powerpc/configure.ac: ... here.
22729 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22730 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22731 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22732 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22733 * sysdeps/s390/s390-32/configure.in: Moved to ...
22734 * sysdeps/s390/s390-32/configure.ac: ... here.
22735 * sysdeps/s390/s390-64/configure.in: Moved to ...
22736 * sysdeps/s390/s390-64/configure.ac: ... here.
22737 * sysdeps/sh/configure.in: Moved to ...
22738 * sysdeps/sh/configure.ac: ... here.
22739 * sysdeps/sparc/configure.in: Moved to ...
22740 * sysdeps/sparc/configure.ac: ... here.
22741 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22742 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22743 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22744 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22745 * sysdeps/x86_64/configure.in: Moved to ...
22746 * sysdeps/x86_64/configure.ac: ... here.
22747 * sysdeps/x86_64/preconfigure.in: Moved to ...
22748 * sysdeps/x86_64/preconfigure.ac: ... here.
22749 * aclocal.m4: Change reference to configure.in to configure.ac.
22750 * config.h.in: Likewise.
22751 * manual/install.texi: Likewise.
22752 * manual/maint.texi: Likewise.
22753 * Makefile: Likewise.
22754 * malloc/Makefile: Likewise.
22755 * nscd/Makefile: Likewise.
22756 * Makeconfig: Change reference to configure.in and
22757 preconfigure.in to configure.ac and preconfigure.ac
22759 * INSTALL: Regenerated.
22760 * configure: Likewise.
22761 * sysdeps/gnu/configure: Likewise.
22762 * sysdeps/i386/configure: Likewise.
22763 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22764 * sysdeps/mach/configure: Likewise.
22765 * sysdeps/mach/hurd/configure: Likewise.
22766 * sysdeps/powerpc/configure: Likewise.
22767 * sysdeps/powerpc/powerpc32/configure: Likewise.
22768 * sysdeps/powerpc/powerpc64/configure: Likewise.
22769 * sysdeps/s390/s390-32/configure: Likewise.
22770 * sysdeps/s390/s390-64/configure: Likewise.
22771 * sysdeps/sh/configure: Likewise.
22772 * sysdeps/sparc/configure: Likewise.
22773 * sysdeps/unix/sysv/linux/configure: Likewise.
22774 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22775 * sysdeps/x86_64/configure: Likewise.
22776 * sysdeps/x86_64/preconfigure: Likewise.
22778 2013-10-29 Andreas Schwab <schwab@suse.de>
22780 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22782 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22784 * benchtests/pow-inputs: Add new inputs.
22786 * benchtests/exp-inputs: Add new inputs.
22788 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22789 conditional check for return value.
22790 (__cos32): Likewise.
22792 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22794 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22795 to provide a boost for large inputs with word alignment.
22796 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22797 implementation based on optimized PPC64 strcpy.
22798 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22799 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22800 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22801 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22803 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22806 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22808 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22811 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22812 * time/tst-strptime.c (day_tests): Add testcase.
22814 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22817 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22819 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22822 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22823 MAP_FAILED on error.
22825 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22828 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22829 heap for large requests.
22831 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22834 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22835 result if the result has no associated interface.
22836 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22837 interface for all 127.X.Y.Z addresses.
22839 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
22841 * locale/iso-639.def: Add Ligurian (lij)
22843 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
22846 * sunrpc/rpc_main.c: Document rpcgen -5.
22848 2013-10-19 Michael Stahl <mstahl@redhat.com>
22850 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22852 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22855 * posix/glob.c: Match only directories when trailing slash is present.
22856 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22857 (main): Add testcase.
22859 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22862 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22864 2013-10-18 Carlos O'Donell <carlos@redhat.com>
22866 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22867 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22868 AUTH_DES and cindex for FIPS 140-2.
22869 (DES Encryption): Add cindex FIPS 46-3.
22871 * locale/locarchive.h (struct locarhandle): Add fname.
22872 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22873 if an optional argument was specified to --list-archive,
22875 * locale/programs/locarchive.c (show_archive_content): Take new
22876 argument fname and pass it via ah.fname to open_archive.
22877 * locale/programs/localedef.h: Update decl.
22878 (open_archive): If AH->fname is non-null, open that file
22879 rather than the default file name, and don't ignore ENOENT.
22880 (create_archive): Set AH.fname to NULL.
22881 (delete_locales_from_archive): Likewise.
22882 (add_locales_to_archive): Likewise.
22883 * locale/programs/locfile.c (write_all_categories): Likewise.
22885 2013-10-18 Joseph Myers <joseph@codesourcery.com>
22886 Aldy Hernandez <aldyh@redhat.com>
22888 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22889 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22890 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22891 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22892 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22893 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22894 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22895 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22896 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22897 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22898 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22899 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22900 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22901 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22902 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22904 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22906 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22908 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22910 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22911 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22913 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22914 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22915 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22916 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22918 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22919 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22920 * sysdeps/powerpc/preconfigure: Likewise.
22921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22923 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22924 Replace contents of file by #include of <fenv_libc.h>.
22925 * sysdeps/powerpc/soft-fp/sfp-machine.h
22926 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22928 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22929 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22930 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22931 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22932 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22933 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22934 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22935 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22936 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22937 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22938 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22939 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22941 Allow copysignl PLT reference to be missing.
22943 2013-10-18 Richard Sandiford <richard@codesourcery.com>
22944 Joseph Myers <joseph@codesourcery.com
22947 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22949 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22951 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22953 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22954 * elf/tst-tls1.c: Likewise.
22955 * elf/tst-tls10.h: Likewise.
22956 * elf/tst-tls14.c: Likewise.
22957 * elf/tst-tls2.c: Likewise.
22958 * elf/tst-tls3.c: Likewise.
22959 * elf/tst-tls4.c: Likewise.
22960 * elf/tst-tls5.c: Likewise.
22961 * elf/tst-tls6.c: Likewise.
22962 * elf/tst-tls7.c: Likewise.
22963 * elf/tst-tls8.c: Likewise.
22964 * elf/tst-tls9.c: Likewise.
22965 * elf/tst-tlsmod1.c: Likewise.
22966 * elf/tst-tlsmod13.c: Likewise.
22967 * elf/tst-tlsmod13a.c: Likewise.
22968 * elf/tst-tlsmod14a.c: Likewise.
22969 * elf/tst-tlsmod16a.c: Likewise.
22970 * elf/tst-tlsmod16b.c: Likewise.
22971 * elf/tst-tlsmod2.c: Likewise.
22972 * elf/tst-tlsmod3.c: Likewise.
22973 * elf/tst-tlsmod4.c: Likewise.
22974 * elf/tst-tlsmod5.c: Likewise.
22975 * elf/tst-tlsmod6.c: Likewise.
22977 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
22980 * malloc/malloc.c: remove checks for statistics.
22982 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22985 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22986 * inet/tst-network.c: Add testcase.
22988 2013-10-17 Andreas Schwab <schwab@suse.de>
22991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22992 to determine canonical name.
22994 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
22996 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22997 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22998 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22999 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23001 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23002 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23003 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23004 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23005 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23006 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23007 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23008 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23009 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23010 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23011 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23012 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23013 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23014 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23015 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23016 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23017 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23018 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23019 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23020 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23021 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23022 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23023 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23024 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23025 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23026 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23027 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23028 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23029 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23030 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23031 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23032 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23033 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23034 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23035 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23036 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23037 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23038 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23039 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23040 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23041 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23042 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23043 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23044 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23045 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23046 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23047 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23048 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23049 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23050 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23051 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23053 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23055 2013-10-17 Joseph Myers <joseph@codesourcery.com>
23058 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23059 make result into a quiet NaN.
23061 2013-10-16 Joseph Myers <joseph@codesourcery.com>
23063 * soft-fp/adddf3.c: Fix horizontal whitespace.
23064 * soft-fp/addsf3.c: Likewise.
23065 * soft-fp/addtf3.c: Likewise.
23066 * soft-fp/divdf3.c: Likewise.
23067 * soft-fp/divsf3.c: Likewise.
23068 * soft-fp/divtf3.c: Likewise.
23069 * soft-fp/double.h: Likewise.
23070 * soft-fp/eqdf2.c: Likewise.
23071 * soft-fp/eqsf2.c: Likewise.
23072 * soft-fp/eqtf2.c: Likewise.
23073 * soft-fp/extenddftf2.c: Likewise.
23074 * soft-fp/extended.h: Likewise.
23075 * soft-fp/extendsfdf2.c: Likewise.
23076 * soft-fp/extendsftf2.c: Likewise.
23077 * soft-fp/extendxftf2.c: Likewise.
23078 * soft-fp/fixdfdi.c: Likewise.
23079 * soft-fp/fixdfsi.c: Likewise.
23080 * soft-fp/fixdfti.c: Likewise.
23081 * soft-fp/fixsfdi.c: Likewise.
23082 * soft-fp/fixsfsi.c: Likewise.
23083 * soft-fp/fixsfti.c: Likewise.
23084 * soft-fp/fixtfdi.c: Likewise.
23085 * soft-fp/fixtfsi.c: Likewise.
23086 * soft-fp/fixtfti.c: Likewise.
23087 * soft-fp/fixunsdfdi.c: Likewise.
23088 * soft-fp/fixunsdfsi.c: Likewise.
23089 * soft-fp/fixunsdfti.c: Likewise.
23090 * soft-fp/fixunssfdi.c: Likewise.
23091 * soft-fp/fixunssfsi.c: Likewise.
23092 * soft-fp/fixunssfti.c: Likewise.
23093 * soft-fp/fixunstfdi.c: Likewise.
23094 * soft-fp/fixunstfsi.c: Likewise.
23095 * soft-fp/fixunstfti.c: Likewise.
23096 * soft-fp/floatdidf.c: Likewise.
23097 * soft-fp/floatdisf.c: Likewise.
23098 * soft-fp/floatditf.c: Likewise.
23099 * soft-fp/floatsidf.c: Likewise.
23100 * soft-fp/floatsisf.c: Likewise.
23101 * soft-fp/floatsitf.c: Likewise.
23102 * soft-fp/floattidf.c: Likewise.
23103 * soft-fp/floattisf.c: Likewise.
23104 * soft-fp/floattitf.c: Likewise.
23105 * soft-fp/floatundidf.c: Likewise.
23106 * soft-fp/floatundisf.c: Likewise.
23107 * soft-fp/floatunditf.c: Likewise.
23108 * soft-fp/floatunsidf.c: Likewise.
23109 * soft-fp/floatunsisf.c: Likewise.
23110 * soft-fp/floatunsitf.c: Likewise.
23111 * soft-fp/floatuntidf.c: Likewise.
23112 * soft-fp/floatuntisf.c: Likewise.
23113 * soft-fp/floatuntitf.c: Likewise.
23114 * soft-fp/fmadf4.c: Likewise.
23115 * soft-fp/fmasf4.c: Likewise.
23116 * soft-fp/fmatf4.c: Likewise.
23117 * soft-fp/gedf2.c: Likewise.
23118 * soft-fp/gesf2.c: Likewise.
23119 * soft-fp/getf2.c: Likewise.
23120 * soft-fp/ledf2.c: Likewise.
23121 * soft-fp/lesf2.c: Likewise.
23122 * soft-fp/letf2.c: Likewise.
23123 * soft-fp/muldf3.c: Likewise.
23124 * soft-fp/mulsf3.c: Likewise.
23125 * soft-fp/multf3.c: Likewise.
23126 * soft-fp/negdf2.c: Likewise.
23127 * soft-fp/negsf2.c: Likewise.
23128 * soft-fp/negtf2.c: Likewise.
23129 * soft-fp/op-1.h: Likewise.
23130 * soft-fp/op-2.h: Likewise.
23131 * soft-fp/op-4.h: Likewise.
23132 * soft-fp/op-8.h: Likewise.
23133 * soft-fp/op-common.h: Likewise.
23134 * soft-fp/quad.h: Likewise.
23135 * soft-fp/single.h: Likewise.
23136 * soft-fp/soft-fp.h: Likewise.
23137 * soft-fp/sqrtdf2.c: Likewise.
23138 * soft-fp/sqrtsf2.c: Likewise.
23139 * soft-fp/sqrttf2.c: Likewise.
23140 * soft-fp/subdf3.c: Likewise.
23141 * soft-fp/subsf3.c: Likewise.
23142 * soft-fp/subtf3.c: Likewise.
23143 * soft-fp/truncdfsf2.c: Likewise.
23144 * soft-fp/trunctfdf2.c: Likewise.
23145 * soft-fp/trunctfsf2.c: Likewise.
23146 * soft-fp/trunctfxf2.c: Likewise.
23147 * soft-fp/unorddf2.c: Likewise.
23148 * soft-fp/unordsf2.c: Likewise.
23149 * soft-fp/unordtf2.c: Likewise.
23151 2013-10-15 Joseph Myers <joseph@codesourcery.com>
23153 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23154 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23156 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
23158 * elf/dl-libc.c: Clear initfini list after freeing.
23160 2013-10-14 Joseph Myers <joseph@codesourcery.com>
23162 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23163 * soft-fp/addsf3.c: Likewise.
23164 * soft-fp/addtf3.c: Likewise.
23165 * soft-fp/divdf3.c: Likewise.
23166 * soft-fp/divsf3.c: Likewise.
23167 * soft-fp/divtf3.c: Likewise.
23168 * soft-fp/double.h: Likewise.
23169 * soft-fp/eqdf2.c: Likewise.
23170 * soft-fp/eqsf2.c: Likewise.
23171 * soft-fp/eqtf2.c: Likewise.
23172 * soft-fp/extenddftf2.c: Likewise.
23173 * soft-fp/extended.h: Likewise.
23174 * soft-fp/extendsfdf2.c: Likewise.
23175 * soft-fp/extendsftf2.c: Likewise.
23176 * soft-fp/extendxftf2.c: Likewise.
23177 * soft-fp/fixdfdi.c: Likewise.
23178 * soft-fp/fixdfsi.c: Likewise.
23179 * soft-fp/fixdfti.c: Likewise.
23180 * soft-fp/fixsfdi.c: Likewise.
23181 * soft-fp/fixsfsi.c: Likewise.
23182 * soft-fp/fixsfti.c: Likewise.
23183 * soft-fp/fixtfdi.c: Likewise.
23184 * soft-fp/fixtfsi.c: Likewise.
23185 * soft-fp/fixtfti.c: Likewise.
23186 * soft-fp/fixunsdfdi.c: Likewise.
23187 * soft-fp/fixunsdfsi.c: Likewise.
23188 * soft-fp/fixunsdfti.c: Likewise.
23189 * soft-fp/fixunssfdi.c: Likewise.
23190 * soft-fp/fixunssfsi.c: Likewise.
23191 * soft-fp/fixunssfti.c: Likewise.
23192 * soft-fp/fixunstfdi.c: Likewise.
23193 * soft-fp/fixunstfsi.c: Likewise.
23194 * soft-fp/fixunstfti.c: Likewise.
23195 * soft-fp/floatdidf.c: Likewise.
23196 * soft-fp/floatdisf.c: Likewise.
23197 * soft-fp/floatditf.c: Likewise.
23198 * soft-fp/floatsidf.c: Likewise.
23199 * soft-fp/floatsisf.c: Likewise.
23200 * soft-fp/floatsitf.c: Likewise.
23201 * soft-fp/floattidf.c: Likewise.
23202 * soft-fp/floattisf.c: Likewise.
23203 * soft-fp/floattitf.c: Likewise.
23204 * soft-fp/floatundidf.c: Likewise.
23205 * soft-fp/floatundisf.c: Likewise.
23206 * soft-fp/floatunsidf.c: Likewise.
23207 * soft-fp/floatunsisf.c: Likewise.
23208 * soft-fp/floatuntidf.c: Likewise.
23209 * soft-fp/floatuntisf.c: Likewise.
23210 * soft-fp/floatuntitf.c: Likewise.
23211 * soft-fp/fmadf4.c: Likewise.
23212 * soft-fp/fmasf4.c: Likewise.
23213 * soft-fp/fmatf4.c: Likewise.
23214 * soft-fp/gedf2.c: Likewise.
23215 * soft-fp/gesf2.c: Likewise.
23216 * soft-fp/getf2.c: Likewise.
23217 * soft-fp/ledf2.c: Likewise.
23218 * soft-fp/lesf2.c: Likewise.
23219 * soft-fp/letf2.c: Likewise.
23220 * soft-fp/muldf3.c: Likewise.
23221 * soft-fp/mulsf3.c: Likewise.
23222 * soft-fp/multf3.c: Likewise.
23223 * soft-fp/negdf2.c: Likewise.
23224 * soft-fp/negsf2.c: Likewise.
23225 * soft-fp/negtf2.c: Likewise.
23226 * soft-fp/op-1.h: Likewise.
23227 * soft-fp/op-2.h: Likewise.
23228 * soft-fp/op-4.h: Likewise.
23229 * soft-fp/op-8.h: Likewise.
23230 * soft-fp/op-common.h: Likewise.
23231 * soft-fp/quad.h: Likewise.
23232 * soft-fp/single.h: Likewise.
23233 * soft-fp/soft-fp.h: Likewise.
23234 * soft-fp/sqrtdf2.c: Likewise.
23235 * soft-fp/sqrtsf2.c: Likewise.
23236 * soft-fp/sqrttf2.c: Likewise.
23237 * soft-fp/subdf3.c: Likewise.
23238 * soft-fp/subsf3.c: Likewise.
23239 * soft-fp/subtf3.c: Likewise.
23240 * soft-fp/truncdfsf2.c: Likewise.
23241 * soft-fp/trunctfdf2.c: Likewise.
23242 * soft-fp/trunctfsf2.c: Likewise.
23243 * soft-fp/trunctfxf2.c: Likewise.
23244 * soft-fp/unorddf2.c: Likewise.
23245 * soft-fp/unordsf2.c: Likewise.
23246 * soft-fp/unordtf2.c: Likewise.
23248 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
23251 * misc/error.c (error_tail): Fix possible buffer overflow.
23253 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23256 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23259 2013-10-14 P. J. McDermott <pj@pehjota.net>
23262 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23263 testing pipefail option.
23265 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23267 * soft-fp/double.h: Indent preprocessor directives inside #if.
23268 * soft-fp/extended.h: Likewise.
23269 * soft-fp/op-2.h: Likewise.
23270 * soft-fp/op-4.h: Likewise.
23271 * soft-fp/op-common.h: Likewise.
23272 * soft-fp/quad.h: Likewise.
23273 * soft-fp/single.h: Likewise.
23274 * soft-fp/soft-fp.h: Likewise.
23276 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23278 * iconv/iconv_prog.c: Fix typos.
23279 * stdio-common/psiginfo-data.h: Likewise.
23281 2013-10-12 Reuben Thomas <rrt@sc3d.org>
23284 * locale/setlocale.c: Fix typo.
23286 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23289 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23290 signaling NaN arguments.
23291 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23292 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23295 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23296 unordered operands.
23297 * soft-fp/gesf2.c (__gesf2): Likewise.
23298 * soft-fp/getf2.c (__getf2): Likewise.
23299 * soft-fp/ledf2.c (__ledf2): Likewise.
23300 * soft-fp/lesf2.c (__lesf2): Likewise.
23301 * soft-fp/letf2.c (__letf2): Likewise.
23303 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23304 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23305 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23306 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23307 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23308 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23309 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23310 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23311 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23312 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23313 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23314 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23315 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23316 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23317 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23318 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23319 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23320 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23321 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23322 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23323 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23324 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23325 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23326 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23327 * soft-fp/floattidf.c (__floattidf): Likewise.
23328 * soft-fp/floattisf.c (__floattisf): Likewise.
23329 * soft-fp/floattitf.c (__floattitf): Likewise.
23330 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23331 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23332 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23333 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23334 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23335 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23336 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23337 * soft-fp/gesf2.c (__gesf2): Likewise.
23338 * soft-fp/getf2.c (__getf2): Likewise.
23339 * soft-fp/ledf2.c (__ledf2): Likewise.
23340 * soft-fp/lesf2.c (__lesf2): Likewise.
23341 * soft-fp/letf2.c (__letf2): Likewise.
23343 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23344 Undefine and redefine.
23345 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23346 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23347 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23348 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23349 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23350 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23351 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23352 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23353 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23354 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23355 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23356 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23357 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23358 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23359 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23362 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23363 without decrementing exponent if mantissa >= that for the
23364 denominator, not >.
23365 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23366 denominator, not >. Decrement exponent in < case instead of
23367 incrementing in >= case.
23368 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23369 without decrementing exponent if mantissa >= that for the
23370 denominator, not >.
23372 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23373 computing saturated result for unsigned overflow.
23375 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23376 Jeff Law <law@redhat.com>
23378 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23379 (atan2Mp): Add systemtap probe marker.
23380 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23381 (__ieee754_log): Add systemtap probe marker.
23382 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23383 (atanMp): Add systemtap probe marker.
23384 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23385 (tanMp): Add systemtap probe marker.
23386 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23387 (__slowexp): Add systemtap probe marker.
23388 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23389 (__slowpow): Add systemtap probe marker.
23390 * manual/probes.texi: Document probes.
23392 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
23395 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23397 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23399 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23400 written to buffer but not flushed.
23401 * libio/iofwrite_u.c: Likewise.
23402 * libio/iopadn.c: Return bytes returned even if EOF was
23404 * libio/iowpadn.c: Likewise.
23405 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23406 if _IO_padn does not write the whole buffer.
23407 [!COMPILE_WPRINTF] (PAD): Likewise.
23409 2013-10-10 David S. Miller <davem@davemloft.net>
23411 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23414 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23416 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23417 instead of FSF address.
23418 * soft-fp/fixdfti.c: Likewise.
23419 * soft-fp/fixsfti.c: Likewise.
23420 * soft-fp/fixtfti.c: Likewise.
23421 * soft-fp/fixunsdfti.c: Likewise.
23422 * soft-fp/fixunssfti.c: Likewise.
23423 * soft-fp/fixunstfti.c: Likewise.
23424 * soft-fp/floattidf.c: Likewise.
23425 * soft-fp/floattisf.c: Likewise.
23426 * soft-fp/floattitf.c: Likewise.
23427 * soft-fp/floatuntidf.c: Likewise.
23428 * soft-fp/floatuntisf.c: Likewise.
23429 * soft-fp/floatuntitf.c: Likewise.
23430 * soft-fp/trunctfxf2.c: Likewise.
23432 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23433 * soft-fp/fixdfti.c: Likewise.
23434 * soft-fp/fixsfti.c: Likewise.
23435 * soft-fp/fixtfti.c: Likewise.
23436 * soft-fp/fixunsdfti.c: Likewise.
23437 * soft-fp/fixunssfti.c: Likewise.
23438 * soft-fp/fixunstfti.c: Likewise.
23439 * soft-fp/floattidf.c: Likewise.
23440 * soft-fp/floattisf.c: Likewise.
23441 * soft-fp/floattitf.c: Likewise.
23442 * soft-fp/floatuntidf.c: Likewise.
23443 * soft-fp/floatuntisf.c: Likewise.
23444 * soft-fp/floatuntitf.c: Likewise.
23445 * soft-fp/trunctfxf2.c: Likewise.
23447 2013-10-10 David S. Miller <davem@davemloft.net>
23449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23451 2013-10-10 Joseph Myers <joseph@codsourcery.com>
23453 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23454 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23455 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23456 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23457 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23458 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23459 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23461 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23462 for NaNs before doing comparisons on argument.
23463 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23466 2013-10-10 Will Newton <will.newton@linaro.org>
23468 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23469 passed to _int_memalign does not overflow.
23471 2013-10-10 Torvald Riegel <triegel@redhat.com>
23473 * scripts/bench.pl: Add include-sources directive.
23474 * benchtests/README: Update documentation.
23476 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23478 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23479 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23480 instead of FP_INIT_ROUNDMODE.
23481 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23482 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23485 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23486 copy class of input value.
23487 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23488 not handle exceptions.
23489 * soft-fp/negsf2.c (__negsf2): Likewise.
23490 * soft-fp/negtf2.c (__negtf2): Likewise.
23491 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23493 2013-10-09 Joseph Myers <joseph@codesourcery.com>
23495 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23496 semicolon. From Linux kernel.
23498 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23500 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23502 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23505 * manual/socket.texi: Added statement about buffer
23506 for gethostbyname2_r.
23508 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
23510 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23511 Use .p2align directive instead, throughout.
23512 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23513 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23514 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23515 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23516 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23517 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23518 * sysdeps/x86_64/strchr.S: Likewise.
23519 * sysdeps/x86_64/strrchr.S: Likewise.
23521 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23523 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23525 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23527 * sysdeps/generic/math_private.h (__mpsin1): Remove
23529 (__mpcos1): Likewise.
23530 (__mpsin): New argument __range_reduce.
23531 (__mpcos): Likewise.
23532 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23533 (slow): Use __mpsin and __mpcos.
23537 (sloww1): Likewise.
23538 (sloww2): Likewise.
23539 (bsloww): Likewise.
23540 (bsloww1): Likewise.
23541 (bsloww2): Likewise.
23542 (cslow2): Likewise.
23543 (csloww): Likewise.
23544 (csloww1): Likewise.
23545 (csloww2): Likewise.
23546 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23547 range_reduce. Merge in __mpsin1.
23548 (__mpcos): Likewise.
23549 (__mpsin1): Remove.
23550 (__mpcos1): Likewise.
23552 2013-10-07 Joseph Myers <joseph@codesourcery.com>
23554 * locale/loadlocale.c (_nl_intern_locale_data): Use
23556 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23557 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23558 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23559 obstack data is appropriately aligned.
23560 (obstack_int32_grow_fast): Likewise.
23561 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23562 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23563 (add_locale_uint32_array): Likewise.
23565 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23567 * benchtests/Makefile: Remove ARGLIST and RET variables.
23568 ($(objpfx)bench-%.c): Pass only function name to the script.
23569 * benchtests/README: Update documentation.
23570 * benchtests/acos-inputs: Add new directives.
23571 * benchtests/acosh-inputs: Likewise.
23572 * benchtests/asin-inputs: Likewise.
23573 * benchtests/asinh-inputs: Likewise.
23574 * benchtests/atan-inputs: Likewise.
23575 * benchtests/atanh-inputs: Likewise.
23576 * benchtests/cos-inputs: Likewise.
23577 * benchtests/cosh-inputs: Likewise.
23578 * benchtests/exp-inputs: Likewise.
23579 * benchtests/log-inputs: Likewise.
23580 * benchtests/pow-inputs: Likewise.
23581 * benchtests/rint-inputs: Likewise.
23582 * benchtests/sin-inputs: Likewise.
23583 * benchtests/sinh-inputs: Likewise.
23584 * benchtests/tan-inputs: Likewise.
23585 * benchtests/tanh-inputs: Likewise.
23586 * scripts/bench.pl: Add support for new directives.
23588 2013-10-07 Alan Modra <amodra@gmail.com>
23590 * README: Fix careless merge.
23592 2013-10-05 Alan Modra <amodra@gmail.com>
23594 * NEWS: Mention powerpc64le support and bugs fixed.
23595 * README: Both big-endian and little-endian powerpc64 supported.
23597 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23599 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23600 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23601 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23602 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23604 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23606 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23609 2013-10-04 Joseph Myers <joseph@codesourcery.com>
23611 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23612 Move -mhard-float appending from
23613 ports/sysdeps/powerpc/powerpc32/Makefile.
23614 [$(with-fp) = yes] (ASFLAGS): Likewise.
23615 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23616 * sysdeps/powerpc/nofpu: Move directory from
23617 ports/sysdeps/powerpc/nofpu.
23618 * sysdeps/powerpc/soft-fp: Move directory from
23619 ports/sysdeps/powerpc/soft-fp.
23620 * sysdeps/powerpc/powerpc32/405: Move directory from
23621 ports/sysdeps/powerpc/powerpc32/405.
23622 * sysdeps/powerpc/powerpc32/440: Move directory from
23623 ports/sysdeps/powerpc/powerpc32/440.
23624 * sysdeps/powerpc/powerpc32/464: Move directory from
23625 ports/sysdeps/powerpc/powerpc32/464.
23626 * sysdeps/powerpc/powerpc32/476: Move directory from
23627 ports/sysdeps/powerpc/powerpc32/476.
23628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23629 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23631 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23633 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23635 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23637 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23638 * README: Update for powerpc-*-linux-gnu software floating point
23641 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23642 case to powerpc/powerpc32*.
23643 * sysdeps/unix/sysv/linux/configure: Regenerated.
23645 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23646 (_FPU_MASK_OM): Define as 0x04.
23647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23648 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23650 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23652 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23655 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23658 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23661 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23662 and setcontext_e500.
23664 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23666 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23668 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23670 * manual/threads.texi (Default Thread Attributes): Fix typo.
23672 2013-10-04 Will Newton <will.newton@linaro.org>
23674 * malloc/Makefile: Add tst-memalign.
23675 * malloc/tst-memalign.c: New file.
23677 * malloc/tst-posix_memalign.c: Add comments.
23678 (do_test): Add comments and call free on all potentially
23679 allocated pointers. Add space after cast.
23681 * malloc/tst-pvalloc.c: Add comments.
23682 (do_test): Add comments and call free on all potentially
23683 allocated pointers. Remove duplicate check for NULL pointer.
23684 Add space after cast.
23686 * malloc/tst-valloc.c: Add comments.
23687 (do_test): Add comments and call free on all potentially
23688 allocated pointers. Remove duplicate check for NULL pointer.
23689 Add space after cast.
23691 2013-10-04 Alan Modra <amodra@gmail.com>
23693 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23694 Use stdint types in rather than __attribute__((mode())).
23695 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23697 2013-10-04 Alan Modra <amodra@gmail.com>
23699 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23700 Correct handling of unaligned relocs for little-endian.
23701 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23703 2013-10-04 Alan Modra <amodra@gmail.com>
23705 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23706 * configure: Regenerate.
23707 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23708 * shlib-versions: Likewise.
23710 2013-10-04 Alan Modra <amodra@gmail.com>
23712 * string/tester.c (test_memrchr): Increment reported test cycle.
23714 2013-10-04 Alan Modra <amodra@gmail.com>
23716 * string/test-memcpy.c (do_one_test): When reporting errors, print
23717 string address and don't overrun end of string.
23719 2013-10-04 Alan Modra <amodra@gmail.com>
23721 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23722 insrdi. Make better use of reg selection to speed exit slightly.
23723 Schedule entry path a little better. Remove useless "are we done"
23724 checks on entry to main loop. Handle wrapping around zero address.
23725 Correct main loop count. Handle single left-over word from main
23726 loop inline rather than by using loop_small. Remove extra word
23727 case in loop_small caused by wrong loop count. Add little-endian
23729 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23730 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23732 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23733 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23734 support. Avoid rlwimi.
23735 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23737 2013-10-04 Alan Modra <amodra@gmail.com>
23739 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23740 insrdi. Formatting.
23741 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23742 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23743 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23744 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23745 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23746 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23748 2013-10-04 Alan Modra <amodra@gmail.com>
23750 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23751 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23752 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23753 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23754 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23755 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23756 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23757 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23758 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23759 use of regs. Use power7 mtocrf. Tidy function tails.
23761 2013-10-04 Alan Modra <amodra@gmail.com>
23763 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23764 Formatting. Consistently use rXXX register defines or rN defines.
23765 Use early exit labels that avoid restoring unused non-volatile regs.
23766 Make cr field use more consistent with rWORDn compares. Rename
23767 regs used as shift registers for unaligned loop, using rN defines
23768 for short lifetime/multiple use regs.
23769 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23770 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23771 addi 1,1,64 to pop stack frame. Simplify return value code.
23772 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23774 2013-10-04 Alan Modra <amodra@gmail.com>
23776 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23777 support. Correct typos, formatting. Optimize tail. Use insrdi
23778 rather than rlwimi.
23779 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23780 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23781 little-endian support. Correct typos.
23782 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23783 rather than rlwimi.
23784 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23785 in loop and entry code to keep "and." results.
23786 (strchr): Add little-endian support. Comment. Move cntlzd
23788 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23790 2013-10-04 Alan Modra <amodra@gmail.com>
23792 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23793 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23794 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23795 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23797 2013-10-04 Alan Modra <amodra@gmail.com>
23799 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23800 (rTMP): Define as r11.
23801 (strcmp): Add little-endian support. Optimise tail.
23802 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23803 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23804 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23805 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23806 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23807 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23808 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23810 2013-10-04 Alan Modra <amodra@gmail.com>
23812 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23813 little-endian support. Remove unnecessary "are we done" tests.
23814 Handle "s" wrapping around zero and extremely large "size".
23815 Correct main loop count. Handle single left-over word from main
23816 loop inline rather than by using small_loop. Correct comments.
23817 Delete "zero" tail, use "end_max" instead.
23818 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23820 2013-10-04 Alan Modra <amodra@gmail.com>
23822 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23823 support. Don't branch over align.
23824 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23825 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23826 support. Rearrange tmp reg use to suit. Comment.
23827 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23829 2013-10-04 Alan Modra <amodra@gmail.com>
23831 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23833 2013-10-04 Alan Modra <amodra@gmail.com>
23835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23836 conditional form of branch and link when obtaining pc.
23837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23839 2013-10-04 Alan Modra <amodra@gmail.com>
23841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23846 2013-10-04 Alan Modra <amodra@gmail.com>
23848 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23849 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23850 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23851 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23852 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23853 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23854 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23855 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23856 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23857 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23859 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23860 Alistair Popple <alistair@ozlabs.au.ibm.com>
23861 Alan Modra <amodra@gmail.com>
23864 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23865 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23866 _dl_hwcap access for little-endian.
23867 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23868 destroy vmx regs when saving unaligned.
23869 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23870 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23871 destroy vmx regs when saving unaligned.
23873 2013-10-04 Alan Modra <amodra@gmail.com>
23875 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23876 Don't use a union to pack hi/low value.
23878 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23880 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23882 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23883 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23884 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23885 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23886 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23888 2013-10-04 Alan Modra <amodra@gmail.com>
23890 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23891 constants to usual value for .cst8 section, and remove redundant
23893 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23894 constant for 0x1p52. Load little-endian words of double from
23895 correct stack offsets.
23897 2013-10-04 Alan Modra <amodra@gmail.com>
23899 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23900 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23901 words of double from correct stack offsets.
23902 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23903 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23904 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23905 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23906 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23907 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23908 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23909 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23910 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23911 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23912 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23913 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23914 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23915 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23916 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23917 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23918 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23920 2013-10-04 Alan Modra <amodra@gmail.com>
23922 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23923 64-bit int/double union.
23924 (_FPU_SETCW): Likewise.
23925 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23926 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23928 2013-10-04 Alan Modra <amodra@gmail.com>
23930 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23931 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23933 2013-10-04 Alan Modra <amodra@gmail.com>
23935 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23936 use vector int constants.
23937 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23939 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23941 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23942 array with long long.
23943 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23944 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23945 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23946 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23947 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23948 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23949 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23950 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23951 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23952 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23953 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23954 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23955 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23957 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23959 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23960 (__signbit): Likewise. Correct for little-endian.
23961 (__signbitl): Call __signbit.
23962 (lrint): Correct for little-endian.
23963 (lrintf): Call lrint.
23965 2013-10-04 Alan Modra <amodra@gmail.com>
23967 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23968 union 32-bit int array member with 64-bit int array.
23969 (t515, tm256): Double rather than long double.
23970 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23972 2013-10-04 Alan Modra <amodra@gmail.com>
23974 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23976 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23977 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23978 version of math_ldbl.h.
23980 2013-10-04 Alan Modra <amodra@gmail.com>
23982 [BZ #15734], [BZ #15735]
23983 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23984 all uses of ieee875 long double macros and unions. Simplify test
23985 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23986 ldbl_extract_mantissa value for ix,iy exponents. Properly
23987 normalize after ldbl_extract_mantissa, and don't add hidden bit
23988 already handled. Don't treat low word of ieee854 mantissa like
23989 low word of IBM long double and mask off bit when testing for
23991 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23992 all uses of ieee875 long double macros and unions. Simplify tests
23993 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23994 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23995 two1022, instead use their values. Recognise that tests for large
23996 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23997 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23998 Rewrite all uses of ieee875 long double macros and unions. Simplify
23999 test for 0.0L and nan. Correct negation.
24000 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24001 ieee875 long double macros and unions. Correct output for large
24002 magnitude x. Correct absolute value calculation.
24003 (__erfcl): Likewise.
24004 * math/libm-test.inc: Add tests for errors discovered in IBM long
24005 double versions of fmodl, remainderl, erfl and erfcl.
24007 2013-10-04 Alan Modra <amodra@gmail.com>
24009 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24010 all uses of ieee854 long double macros and unions. Simplify tests
24011 for long doubles that are fully specified by the high double.
24012 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24014 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24015 Remove dead code too.
24016 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24017 (__ieee754_ynl): Likewise.
24018 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24019 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24020 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24021 Remove dead code too.
24022 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24023 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24024 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24025 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24027 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24029 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24030 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24031 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24032 Comment on variable precision.
24033 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24034 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24036 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24037 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24038 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24039 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24040 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24042 2013-10-04 Alan Modra <amodra@gmail.com>
24044 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24045 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24046 all uses of ieee854 long double macros and unions.
24047 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24048 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24049 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24050 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24051 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24052 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24054 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24055 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24056 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24057 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24058 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24059 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24060 Simplify sign and nan test too.
24061 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24062 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24063 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24064 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24066 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24067 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24069 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24070 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24071 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24072 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24073 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24074 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24076 2013-10-04 Alan Modra <amodra@gmail.com>
24078 * stdio-common/printf_size.c (__printf_size): Don't use
24079 union ieee854_long_double in fpnum union.
24080 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24081 signbit macro to retrieve sign from long double.
24082 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24083 retrieve sign from long double.
24084 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24085 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24086 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24087 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24088 * math/test-misc.c (main): Don't use union ieee854_long_double.
24090 2013-10-04 Alan Modra <amodra@gmail.com>
24093 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24094 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24095 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24096 calculation. Remove unnecessary test for denormal exponent.
24097 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24098 Correct handling of denormals. Avoid undefined shift behaviour.
24099 Correct normalisation of low mantissa when low double is denormal.
24100 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24101 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24102 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24103 Correct normalisation of low mantissa. Test for overflow of high
24104 mantissa and normalise.
24105 (ldbl_nearbyint): Use more readable constant for two52.
24106 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24107 (__mpn_construct_long_double): Fix test for overflow of high
24108 mantissa and correct normalisation. Avoid undefined shift.
24110 2013-10-04 Alan Modra <amodra@gmail.com>
24112 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24113 (union ibm_extended_long_double): Define as an array of ieee754_double.
24114 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24115 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24116 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24117 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24118 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24119 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24120 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24121 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24122 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24123 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24124 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24126 2013-10-03 Joseph Myers <joseph@codesourcery.com>
24128 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24129 page size instead of calling getpagesize.
24131 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24132 (LOCFILE_ALIGN_MASK): Likewise.
24133 (LOCFILE_ALIGN_UP): Likewise.
24134 (LOCFILE_ALIGNED_P): Likewise.
24135 * locale/programs/ld-collate.c (collate_output): Use the new
24136 macros instead of __alignof__ (int32_t).
24137 * locale/weight.h (findidx): Likewise.
24139 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
24142 * manual/string.texi: Fix strncat and wcsncat.
24144 2013-10-03 Brooks Moses <bmoses@google.com>
24147 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24148 * Makerules: ...here, and adjust associated comments.
24150 2013-10-02 Will Newton <will.newton@linaro.org>
24152 * malloc/Makefile: Add tst-pvalloc.
24153 * malloc/tst-pvalloc.c: New file.
24155 2013-10-02 Will Newton <will.newton@linaro.org>
24157 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24158 improve test coverage.
24160 2013-10-02 Will Newton <will.newton@linaro.org>
24162 * malloc/Makefile: Add tst-posix_memalign.
24163 * malloc/tst-posix_memalign.c: New file.
24165 2013-10-01 Eric Blake <eblake@redhat.com>
24167 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24168 Use __THROWNL rather than __THROW on static functions.
24170 2013-09-30 Petr Machata <pmachata@redhat.com>
24172 * elf/elf.h (R_AARCH64_ABS16): New macro.
24173 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24174 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24175 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24176 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24177 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24178 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24179 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24180 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24181 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24182 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24183 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24184 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24185 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24186 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24187 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24188 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24189 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24190 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24191 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24192 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24193 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24194 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24195 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24196 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24197 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24198 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24199 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24200 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24201 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24202 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24203 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24204 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24205 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24206 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24207 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24208 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24209 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24210 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24211 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24212 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24213 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24214 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24215 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24216 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24217 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24218 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24219 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24220 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24221 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24222 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24223 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24224 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24225 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24226 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24227 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24228 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24229 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24230 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24231 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24232 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24233 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24234 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24235 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24236 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24237 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24238 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24239 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24240 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24241 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24242 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24243 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24244 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24245 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24246 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24247 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24248 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24249 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24250 (R_AARCH64_TLSDESC_LDR): Likewise.
24251 (R_AARCH64_TLSDESC_ADD): Likewise.
24252 (R_AARCH64_TLSDESC_CALL): Likewise.
24254 2013-09-30 Andreas Schwab <schwab@suse.de>
24257 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24258 the nss database lookup.
24259 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24262 2013-09-28 Mike Frysinger <vapier@gentoo.org>
24264 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24266 2013-09-28 P. J. McDermott <pj@pehjota.net>
24268 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24269 ${Bash-specific parameter/pattern/string} parameter expansion.
24270 * sysdeps/unix/make-syscalls.sh: Likewise.
24272 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24274 * sysdeps/sh/stackguard-macros.h: New file.
24276 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
24278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24279 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24280 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24281 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24282 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24283 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24285 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24287 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24288 Fix thread ID register.
24290 2013-09-25 Joseph Myers <joseph@codesourcery.com>
24292 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24293 [POSIX || UNIX98]: Require rather than permitting all symbols from
24295 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24296 element of struct sched_param.
24297 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24298 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24299 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24300 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24303 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24305 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24306 argument calculation.
24308 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24310 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24312 [POSIX] (pthread_attr_t): Do not require type.
24313 [POSIX] (pthread_cond_t): Likewise.
24314 [POSIX] (pthread_condattr_t): Likewise.
24315 [POSIX] (pthread_key_t): Likewise.
24316 [POSIX] (pthread_mutex_t): Likewise.
24317 [POSIX] (pthread_mutexattr_t): Likewise.
24318 [POSIX] (pthread_once_t): Likewise.
24319 [POSIX] (pthread_t): Likewise.
24320 [POSIX-based standards] (pthread_atfork): Expect function.
24322 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24323 Richard Sandiford <richard@codesourcery.com>
24325 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24326 (swap_endianness_p): New extern variable.
24327 (set_big_endian): New inline function.
24328 (maybe_swap_uint32): Likewise.
24329 (maybe_swap_uint32_array): Likewise.
24330 (maybe_swap_uint32_obstack): Likewise.
24331 * locale/programs/locfile.c: Include <stdbool.h>.
24332 (swap_endianness_p): New variable.
24333 (add_locale_uint32): Call maybe_swap_uint32.
24334 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24335 (write_locale_data): Call maybe_swap_uint32_array.
24336 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24338 (obstack_int32_grow_fast): Likewise.
24339 (output_weightwc): Call maybe_swap_uint32_obstack.
24340 (collate_output): Likewise.
24341 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24342 (OPT_LITTLE_ENDIAN): Likewise.
24343 (options): Add --little-endian and --big-endian options.
24344 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24345 * locale/programs/locarchive.c: Include "locfile.h".
24349 (create_archive): Use the new macros to access fields of
24350 structures directly mapped from or written to locale archives.
24351 (oldlocrecentcmp): Likewise.
24352 (enlarge_archive): Likewise.
24353 (insert_name): Likewise.
24354 (add_alias): Likewise.
24355 (add_locale): Likewise.
24356 (delete_locales_from_archive): Likewise.
24357 (show_archive_content): Likewise.
24358 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24361 2013-09-24 Roland McGrath <roland@hack.frob.com>
24363 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24364 http://www.gnu.org/doc/freemanuals.texi.
24365 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24367 2013-09-24 Will Newton <will.newton@linaro.org>
24369 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24372 2013-09-23 Joseph Myers <joseph@codesourcery.com>
24374 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24377 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24379 * manual/threads.texi (POSIX Threads): Fix a typo.
24381 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24384 * string/tst-strcoll-overflow.c: New test case.
24385 * string/Makefile (xtests): Add tst-strcoll-overflow.
24386 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24387 cache if string sizes may cause integer overflow.
24390 * string/strcoll_l.c (coll_seq): New members rule, idx,
24391 save_idx and back_us.
24392 (get_next_seq_nocache): New function.
24393 (do_compare_nocache): New function.
24394 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24397 2013-09-23 Carlos O'Donell <carlos@redhat.com>
24400 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24401 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24402 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24405 * elf/Makefile (tests): Add tst-ptrguard1.
24406 (tests-static): Add tst-ptrguard1-static.
24407 (tst-ptrguard1-ARGS): Define.
24408 (tst-ptrguard1-static-ARGS): Define.
24409 * elf/tst-ptrguard1.c: New file.
24410 * elf/tst-ptrguard1-static.c: New file.
24411 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24412 * sysdeps/i386/stackguard-macros.h: Likewise.
24413 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24414 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24415 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24416 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24417 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24418 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24420 2013-09-23 Hector Marco <hecmargi@upv.es>
24421 Ismael Ripoll <iripoll@disca.upv.es>
24422 Carlos O'Donell <carlos@redhat.com>
24425 * sysdeps/generic/stackguard-macros.h: Define
24426 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24427 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24428 Define __pointer_chk_guard_local.
24429 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24430 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24432 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24435 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24437 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24439 * include/string.h (__ffs): Declare as hidden.
24440 * string/ffs.c (__ffs): Define as hidden.
24441 * sysdeps/i386/ffs.c (__ffs): Likewise.
24442 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24443 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24444 * sysdeps/s390/ffs.c (__ffs): Likewise.
24445 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24447 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
24449 * NEWS: Mention malloc probes.
24451 * malloc/arena.c (new_heap): New memory_heap_new probe.
24452 (grow_heap): New memory_heap_more probe.
24453 (shrink_heap): New memory_heap_less probe.
24454 (heap_trim): New memory_heap_free probe.
24455 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24456 (systrim): New memory_sbrk_less probe.
24457 * manual/probes.texi: Document them.
24459 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24460 * manual/probes.texi: Document it.
24462 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24463 (__libc_realloc): Add memory_realloc_retry probe.
24464 (__libc_memalign): Add memory_memalign_retry probe.
24465 (__libc_valloc): Add memory_valloc_retry probe.
24466 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24467 (__libc_calloc): Add memory_calloc_retry probe.
24468 * manual/probes.texi: Document them.
24470 * malloc/arena.c (get_free_list): Add probe
24471 memory_arena_reuse_free_list.
24472 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24473 and memory_arena_reuse.
24474 (arena_get2) [!PER_THREAD]: Likewise.
24475 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24476 memory_arena_reuse_realloc.
24477 * manual/probes.texi: Document them.
24479 * malloc/malloc.c (__libc_free): Add
24480 memory_mallopt_free_dyn_thresholds probe.
24481 (__libc_mallopt): Add multiple memory_mallopt probes.
24482 * manual/probes.texi: Document them.
24484 * malloc/malloc.c: Include stap-probe.h.
24485 (__libc_mallopt): Add memory_mallopt probe.
24486 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24487 * manual/probes.texi: New.
24488 * manual/Makefile (chapters): Add probes.
24489 * manual/threads.texi: Set next node.
24491 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
24493 [BZ #15963, #13985]
24494 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24495 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24496 Add `Chinese' to `nan' entry name.
24498 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24500 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24501 (POLYNOMIAL): Likewise.
24502 (TAYLOR_SINCOS): Likewise.
24503 (TAYLOR_SLOW): Likewise.
24504 (__sin): Use TAYLOR_SINCOS.
24506 (slow): Use TAYLOR_SLOW.
24508 (bsloww): Likewise.
24509 (csloww): Likewise.
24511 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24513 * stdlib/strtod_l.c: Fix buffer overrun.
24515 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24517 * benchtests/Makefile (bench): Add sincos.
24518 * benchtests/bench-sincos.c: New file.
24520 * math/libm-test.inc (cos_test_data): New test inputs.
24521 (sin_test_data): Likewise.
24523 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24529 (sloww1): Likewise.
24530 (sloww2): Likewise.
24531 (bsloww1): Likewise.
24532 (bsloww2): Likewise.
24533 (cslow2): Likewise.
24534 (csloww1): Likewise.
24535 (csloww2): Likewise.
24537 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24542 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24546 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24548 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24549 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24550 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24551 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24552 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24553 * elf/cache.c (print_entry): Handle the new cache flags.
24555 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24556 Aldy Hernandez <aldyh@redhat.com>
24558 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24559 Change condition to [_SOFT_FLOAT].
24560 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24561 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24562 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24563 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24564 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24565 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24566 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24567 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24568 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24570 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24572 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24575 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24578 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24580 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24581 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24582 (__longjmp): Use LOAD_GP to load saved GPRs.
24583 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24584 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24585 (__sigsetjmp): Use SAVE_GP to save GPRs.
24587 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24588 Do not append -msoft-float.
24589 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24591 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24593 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24595 2013-09-17 Joseph Myers <joseph@codesourcery.com>
24598 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24599 (_FPU_GETCW): Use initial "__" on variable and field names but not
24600 on macro parameter name.
24601 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24602 parentheses around reference to macro parameter.
24604 2013-09-13 Richard Sandiford <richard@codesourcery.com>
24606 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24608 (ctype_startup): Use uint32_t in cast and sizeof for
24611 2013-09-11 Jia Liu <proljc@gmail.com>
24613 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24615 [__FreeBSD__]: Likewise.
24617 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
24619 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24620 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24621 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24622 (strchr): Remove __strchr_sse42 ifunc selection.
24623 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24624 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24626 2013-09-11 Will Newton <will.newton@linaro.org>
24628 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24629 parameter to RES. Remove hardcoded 1000 value.
24630 * benchtests/bench-skeleton.c (main): Pass RES parameter
24631 to TIMING_INIT and multiply result by 1000.
24633 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24637 2013-09-11 Andreas Schwab <schwab@suse.de>
24639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24641 (O_TMPFILE) [__USE_GNU]: Define.
24642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24645 2013-09-11 Will Newton <will.newton@linaro.org>
24648 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24651 2013-09-11 Will Newton <will.newton@linaro.org>
24654 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24657 2013-09-11 Will Newton <will.newton@linaro.org>
24660 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24663 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
24665 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24666 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24667 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24668 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24669 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24671 2013-09-10 Allan McRae <allan@archlinux.org>
24674 * manual/arith.texi (Parsing of Floats): Clarify
24678 * manual/install.texi (Running make install): Mention
24680 * INSTALL: Regenerated.
24682 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24684 * csu/init-first.c (_init): Remove the !SHARED condition around
24685 FPU control word initialization.
24686 * elf/dl-support.c (_dl_fpu_control): New variable.
24687 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24688 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24689 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24690 * math/test-fpucw-static.c: New file.
24691 * math/test-fpucw-ieee.c: New file.
24692 * math/test-fpucw-ieee-static.c: New file.
24693 * math/Makefile (tests): Add `test-fpucw-ieee' and
24695 (tests-static): New variable.
24696 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24698 [($(build-shared),yes)]
24699 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24701 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24704 2013-09-09 Allan McRae <allan@archlinux.org>
24707 * manual/string.texi (Collation Functions): Fix typo in
24709 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24712 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24715 * libio/memstream.c (open_memstream): Fix memory leak.
24716 * libio/wmemstream.c (open_wmemstream): Likewise.
24719 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24721 2013-09-09 Will Newton <will.newton@linaro.org>
24723 * malloc/Makefile: Add tst-realloc to tests.
24724 * malloc/tst-realloc.c: New file.
24726 2013-09-09 Allan McRae <allan@archlinux.org>
24729 * COPYING: Update from GNU website to fix FSF address.
24730 * COPYING.LIB: Likewise.
24732 2013-09-06 David S. Miller <davem@davemloft.net>
24734 * po/zh_TW.po: Update Chinese (traditional) translation from
24735 translation project.
24737 2013-09-06 Richard Sandiford <richard@codesourcery.com>
24738 Joseph Myers <joseph@codesourcery.com>
24740 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24742 (obstack_chunk_alloc): New macro.
24743 (obstack_chunk_free): Likewise.
24744 (record_offset): New function.
24745 (init_locale_data): Likewise.
24746 (align_locale_data): Likewise.
24747 (add_locale_empty): Likewise.
24748 (add_locale_raw_data): Likewise.
24749 (add_locale_raw_obstack): Likewise.
24750 (add_locale_string): Likewise.
24751 (add_locale_wstring): Likewise.
24752 (add_locale_uint32): Likewise.
24753 (add_locale_uint32_array): Likewise.
24754 (add_locale_char): Likewise.
24755 (start_locale_structure): Likewise.
24756 (end_locale_structure): Likewise.
24757 (start_locale_prelude): Likewise.
24758 (end_locale_prelude): Likewise.
24759 (write_locale_data): Take locale_file structure rather than an
24761 * locale/programs/locfile.h: Include "obstack.h".
24762 (struct locale_file): Change to store locale file contents instead
24764 (init_locale_data): New prototype.
24765 (align_locale_data): Likewise.
24766 (add_locale_empty): Likewise.
24767 (add_locale_raw_data): Likewise.
24768 (add_locale_raw_obstack): Likewise.
24769 (add_locale_string): Likewise.
24770 (add_locale_wstring): Likewise.
24771 (add_locale_uint32): Likewise.
24772 (add_locale_uint32_array): Likewise.
24773 (add_locale_char): Likewise.
24774 (start_locale_structure): Likewise.
24775 (end_locale_structure): Likewise.
24776 (start_locale_prelude): Likewise.
24777 (end_locale_prelude): Likewise.
24778 (write_locale_data): Update prototype.
24779 * locale/programs/3level.h (struct TABLE): Remove result field.
24780 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24781 Use new locale_file interface.
24782 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24783 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24784 * locale/programs/ld-address.c (address_output): Use new
24785 locale_file interface.
24786 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24788 (collate_finish): Don't call collseq_table_finalize.
24789 (collate_output): Use new locale_file interface.
24790 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24792 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24793 (TABLE): Move defines earlier in file.
24794 (ELEMENT): Likewise.
24795 (DEFAULT): Likewise.
24796 (wctrans_table_add): Move macro and inline function earlier in
24798 (struct wctype_table): Move type earlier in file.
24799 (add_locale_wctype_table): New static prototype.
24800 (struct locale_ctype_t): Use logical types instead of struct iovec
24801 pointers for members.
24802 (ctype_output): Use new locale_file interface.
24803 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24804 new locale_file interface.
24805 (allocate_arrays): Update for use of new locale_file interface.
24806 * locale/programs/ld-identification.c (identification_output): Use
24807 new locale_file interface.
24808 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24809 * locale/programs/ld-messages.c (messages_output): Likewise.
24810 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24811 * locale/programs/ld-name.c (name_output): Likewise.
24812 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24813 * locale/programs/ld-paper.c (paper_output): Likewise.
24814 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24815 * locale/programs/ld-time.c (time_output): Likewise.
24817 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24819 * benchtests/Makefile: Add memrchr benchmark.
24820 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24821 benchmark as memrchr.
24822 * benchtests/bench-memrchr-ifunc.c: New file.
24823 * benchtests/bench-memrchr.c: New file.
24825 2013-09-06 Will Newton <will.newton@linaro.org>
24827 * benchtests/Makefile (string-bench): Add memcpy.
24829 2013-09-05 Carlos O'Donell <carlos@redhat.com>
24830 Cong Wang <amwang@redhat.com>
24833 * sysdeps/unix/sysv/linux/bits/in.h
24834 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24835 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24836 before __USE_KERNEL_IPV6_DEFS uses.
24837 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24839 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24840 sockaddr_in6, or ipv6_mreq.
24842 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24844 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24845 memory access for final bytes in some large inputs.
24846 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24848 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24850 * string/test-memrchr.c: New file.
24851 * string/test-memrchr-ifunc.c: New file.
24852 * string/Makefile: Add new memrchr testcase.
24854 2013-09-05 Mike Frysinger <vapier@gentoo.org>
24856 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24857 fanotify_init returns EPERM.
24859 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24861 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24863 (top level): Treat second token from macro or constant entries for
24864 allowed headers as allowed.
24865 * include/complex.h: Condition internal declarations on
24867 * include/fenv.h: Condition include of <stdbool.h> and internal
24868 declarations on [!_ISOMAC].
24870 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24873 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24875 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24877 * configure.in (--enable-versioning): Remove configure option.
24878 (libc_cv_asm_symver_directive): Remove configure test.
24879 (libc_cv_ld_version_script_option): Likewise.
24880 (VERSIONING): Remove variable and AC_SUBST.
24881 (DO_VERSIONING): Remove AC_DEFINE.
24882 * configure: Regenerated.
24883 * config.h.in (DO_VERSIONING): Remove macro.
24884 * Makerules [$(versioning) = yes]: Change conditionals to
24885 [$(build-shared) = yes].
24886 * config.make.in (versioning): Remove variable.
24887 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24888 [$(build-shared) = yes].
24889 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24890 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24891 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24892 [$(build-shared) = yes].
24893 * extra-lib.mk [$(versioning) = yes]: Likewise.
24894 * hurd/Makefile [$(versioning) = yes]: Likewise.
24895 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24897 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24899 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24900 [SHARED && !NO_HIDDEN].
24901 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24903 [SHARED && DO_VERSIONING]: Likewise..
24904 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24905 [$(build-shared) = yes].
24906 * manual/install.texi (--disable-versioning): Remove
24908 * INSTALL: Regenerated.
24909 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24911 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24912 [$(build-shared) = yes].
24913 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24914 * sysdeps/i386/i686/multiarch/strstr-c.c
24915 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24916 [SHARED && !NO_HIDDEN].
24917 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24918 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24919 * sysdeps/powerpc/powerpc32/dl-machine.c
24920 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24921 * sysdeps/powerpc/powerpc32/sysdep.h
24922 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24923 to [SHARED && PIC && !NO_HIDDEN].
24924 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24925 conditional to [SHARED].
24927 2013-09-04 Will Newton <will.newton@linaro.org>
24929 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24930 * benchtests/bench-string.h: Include bench-timing.h instead
24931 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24932 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24933 call to HP_TIMING_DIFF_INIT.
24934 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24935 instead of hp-timing.h macros.
24936 * benchtests/bench-memchr.c: Likewise.
24937 * benchtests/bench-memcmp.c: Likewise.
24938 * benchtests/bench-memcpy.c: Likewise.
24939 * benchtests/bench-memmem.c: Likewise.
24940 * benchtests/bench-memmove.c: Likewise.
24941 * benchtests/bench-memset.c: Likewise.
24942 * benchtests/bench-rawmemchr.c: Likewise.
24943 * benchtests/bench-strcasecmp.c: Likewise.
24944 * benchtests/bench-strcasestr.c: Likewise.
24945 * benchtests/bench-strcat.c: Likewise.
24946 * benchtests/bench-strchr.c: Likewise.
24947 * benchtests/bench-strcmp.c: Likewise.
24948 * benchtests/bench-strcpy.c: Likewise.
24949 * benchtests/bench-strcpy_chk.c: Likewise.
24950 * benchtests/bench-strlen.c: Likewise.
24951 * benchtests/bench-strncasecmp.c: Likewise.
24952 * benchtests/bench-strncat.c: Likewise.
24953 * benchtests/bench-strncmp.c: Likewise.
24954 * benchtests/bench-strncpy.c: Likewise.
24955 * benchtests/bench-strnlen.c: Likewise.
24956 * benchtests/bench-strpbrk.c: Likewise.
24957 * benchtests/bench-strrchr.c: Likewise.
24958 * benchtests/bench-strspn.c: Likewise.
24959 * benchtests/bench-strstr.c: Likewise.
24961 2013-09-04 Will Newton <will.newton@linaro.org>
24963 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24965 2013-09-03 Joseph Myers <joseph@codesourcery.com>
24968 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24969 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24970 * math/libm-test.inc (lgamma_test_data): Add more tests.
24971 * sysdeps/i386/fpu/libm-test-ulps: Update.
24972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24974 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
24976 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24977 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24980 Add strcmp-sse2-unaligned
24981 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24983 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24985 * Versions.def (libc): Add GLIBC_2.19.
24987 2013-09-02 Mike Frysinger <vapier@gentoo.org>
24989 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24990 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24992 2013-09-02 Joseph Myers <joseph@codesourcery.com>
24995 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24996 intermediate calculations in recurrence.
24997 (__ieee754_ynf): Likewise.
24998 * math/libm-test.inc (jn_test_data): Do not allow spurious
24999 underflow exception. Add more tests.
25000 (yn_test_data): Add more tests.
25001 * sysdeps/i386/fpu/libm-test-ulps: Update.
25002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25004 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
25006 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25008 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25010 * csu/init-first.c: Fix then/than typos.
25011 * locale/programs/ld-collate.c: Likewise.
25012 * locale/programs/linereader.h: Likewise.
25013 * manual/charset.texi: Likewise.
25014 * manual/filesys.texi: Likewise.
25015 * manual/stdio.texi: Likewise.
25016 * manual/string.texi: Likewise.
25017 * stdlib/fmtmsg.c: Likewise.
25018 * sysdeps/i386/stpncpy.S: Likewise.
25019 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25020 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25021 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25022 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25024 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25026 * elf/dl-open.c: Fix typos.
25027 * iconvdata/gbbig5.c: Likewise.
25028 * iconvdata/iso-2022-jp.c: Likewise.
25029 * iconv/gconv_int.h: Likewise.
25030 * iconv/loop.c: Likewise.
25031 * nis/rpcsvc/nis.h: Likewise.
25032 * resolv/ns_name.c: Likewise.
25033 * stdio-common/vfscanf.c: Likewise.
25034 * streams/stropts.h: Likewise.
25035 * sunrpc/rpc_thread.c: Likewise.
25036 * sysdeps/i386/strpbrk.S: Likewise.
25037 * sysdeps/ieee754/k_standard.c: Likewise.
25038 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25039 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25040 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25041 * sysdeps/mach/hurd/profil.c: Likewise.
25042 * sysdeps/s390/dl-procinfo.h: Likewise.
25043 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25044 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25045 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25046 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25047 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25049 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25051 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25052 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25054 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25056 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25057 aix specific files.
25058 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25059 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25060 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25061 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25062 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25063 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25064 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25065 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25067 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25068 Roland McGrath <roland@hack.frob.com>
25070 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25071 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25073 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25075 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25076 __executable_start symbol instead of _start.
25078 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25080 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25081 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25083 * sysdeps/gnu/ldsodefs.h: ... this new file.
25085 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25086 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25087 instead of ELFOSABI_LINUX.
25089 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25090 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25091 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25092 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25094 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25095 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25096 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25098 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25099 (ibm_extended_long_double): Add ieee_nan member.
25100 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25101 (do_test): New function.
25103 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25105 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25106 functions, renamed from truncdfsf_test, trunctfsf_test,
25108 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25110 (do_test): Run all these.
25112 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25114 * argp/argp-help.c: Fix typos.
25115 * argp/argp-parse.c: Likewise.
25116 * debug/backtracesyms.c: Likewise.
25117 * elf/elf.h: Likewise.
25118 * malloc/malloc.c: Likewise.
25119 * nis/nis_print.c: Likewise.
25120 * resolv/res_comp.c: Likewise.
25121 * stdlib/stdlib.h: Likewise.
25122 * sunrpc/clnt_tcp.c: Likewise.
25123 * sunrpc/clnt_udp.c: Likewise.
25124 * sunrpc/clnt_unix.c: Likewise.
25125 * sysdeps/unix/bsd/ptsname.c: Likewise.
25126 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25127 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25134 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25136 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25138 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25141 2013-08-27 Mike Frysinger <vapier@gentoo.org>
25144 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25145 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25146 ($(objpfx)bug-dl-leaf): New rule.
25147 ($(objpfx)bug-dl-leaf.so): Likewise.
25148 ($(objpfx)bug-dl-leaf.out): Likewise.
25149 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25150 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25151 * dlfcn/bug-dl-leaf.c: New test.
25152 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25153 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25154 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25155 (dlclose): Likewise.
25156 (dlmopen): Likewise.
25158 2013-08-27 Roland McGrath <roland@hack.frob.com>
25160 * include/netdb.h [!_ISOMAC]:
25161 Don't include <tls.h>.
25162 (h_errno, __libc_h_errno): Move declaration and macros out of
25165 * include/resolv.h [_RESOLV_H_]:
25166 Don't include <tls.h>.
25167 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25168 * resolv/res_libc.c: Don't include <tls.h>.
25169 (_res): Use __attribute__ ((nocommon)) in place of
25170 __attribute__ ((section (".bss"))).
25172 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25173 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25175 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25177 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25178 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25180 * resolv/res_mkquery.c: Include <sys/time.h>.
25182 * inet/ifreq.c: Moved to ...
25183 * sysdeps/unix/ifreq.c: ... here.
25184 * inet/ifreq.c: New file, true stub version.
25186 * socket/sa_len.c: New file.
25187 * socket/Makefile (aux): Add it.
25188 * sysdeps/unix/sysv/linux/Makefile
25189 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25190 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25191 and #include <socket/sa_len.c>.
25192 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25193 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25195 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25196 * bits/socket.h: ... here.
25198 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25199 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25200 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25202 2013-08-27 Andreas Schwab <schwab@suse.de>
25205 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25206 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25207 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25208 * string/test-strcasecmp.c (test_main): Run tests in several
25210 * string/test-strncasecmp.c (test_main): Likewise.
25212 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25213 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25214 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25215 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25216 (__strncasecmp_ssse3) [PIC]: Likewise.
25218 2013-08-26 Roland McGrath <roland@hack.frob.com>
25220 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25222 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25223 instead of explicitly declaring xdecrypt.
25224 * nis/nss_nis/nis-publickey.c: Likewise.
25226 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25229 * nscd/aicache.c: Include res_hconf.h.
25230 (addhstaiX): Initialize res_hconf.
25232 2013-08-26 Andreas Schwab <schwab@suse.de>
25234 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25235 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25237 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25239 * nscd/aicache.c (addhstaiX): Fix indentation.
25241 2013-08-25 Mike Frysinger <vapier@gentoo.org>
25243 * configure.ac: Quote $build_pt_chown test.
25244 * configure: Regenerated.
25246 2013-08-23 Joseph Myers <joseph@codesourcery.com>
25249 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25250 * math/s_cexpf.c (__cexpf): Likewise.
25251 * math/s_cexpl.c (__cexpl): Likewise.
25252 * math/libm-test.inc (cexp_test_data): Correct expected return
25253 value for NaN + i0. Add another test.
25255 2013-08-22 David S. Miller <davem@davemloft.net>
25257 * po/ca.po: Update Catalan translation from translation project.
25258 * po/uk.po: Add Ukrainian translations from translation project.
25260 2013-08-21 Joseph Myers <joseph@codesourcery.com>
25263 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25264 is infinite, not alongside NaN test.
25265 * math/s_fdimf.c (__fdimf): Likewise.
25266 * math/s_fdiml.c (__fdiml): Likewise.
25267 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25268 errno is unchanged.
25270 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
25272 * argp/argp-help.c: Fix typos.
25273 * crypt/speeds.c: Likewise.
25274 * csu/check_fds.c: Likewise.
25275 * elf/dl-load.c: Likewise.
25276 * elf/dl-open.c: Likewise.
25277 * elf/reldep3.c: Likewise.
25278 * elf/reldep.c: Likewise.
25279 * elf/sprof.c: Likewise.
25280 * iconv/iconv_charmap.c: Likewise.
25281 * iconv/skeleton.c: Likewise.
25282 * iconv/strtab.c: Likewise.
25283 * io/lockf64.c: Likewise.
25284 * libio/libioP.h: Likewise.
25285 * resolv/gai_notify.c: Likewise.
25286 * resolv/ns_name.c: Likewise.
25287 * resolv/ns_samedomain.c: Likewise.
25288 * resolv/res_send.c: Likewise.
25289 * stdlib/random.c: Likewise.
25290 * sunrpc/rpc/xdr.h: Likewise.
25291 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25292 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25293 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25294 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25295 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25296 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25297 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25298 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25299 * sysdeps/mach/hurd/check_fds.c: Likewise.
25300 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25301 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25302 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25303 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25304 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25305 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25306 * sysdeps/pthread/aio_notify.c: Likewise.
25307 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25308 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25309 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25310 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25311 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25313 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25315 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25316 version if bit_Slow_SSE4_2 is set.
25317 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25318 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25320 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25323 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25324 trampoline stack frame information.
25325 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25326 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25327 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25328 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25329 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25330 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25331 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25332 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25334 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25335 interrupting a syscall and set with option SA_SIGINFO.
25337 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25340 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25341 argument is infinite.
25342 * math/s_cprojf.c (__cprojf): Likewise.
25343 * math/s_cprojl.c (__cprojl): Likewise.
25344 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25345 * math/libm-test.inc (cproj_test_data): Add more tests.
25347 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25349 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25350 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25351 size. Use __ffs to determine corresponding shift.
25353 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25354 Roland McGrath <roland@hack.frob.com>
25356 * Makefile (INSTALL): Remove trailing blank lines from output of
25359 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25361 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25362 Align 32 bit compat elf_greg to 8 bytes.
25364 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25366 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25368 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25370 * string/strcoll_l.c (coll_seq): New structure.
25371 (get_next_seq_cached): New function.
25372 (get_next_seq): New function.
25373 (do_compare): New function.
25374 (STRCOLL): Use GNU style definition. Simplify implementation
25375 by using get_next_seq, get_next_seq_cached and do_compare.
25377 2013-08-16 Florian Weimer <fweimer@redhat.com>
25381 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25383 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25385 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25386 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25387 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25389 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25390 GETDENTS_64BIT_ALIGNED.
25391 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25392 * manual/filesys.texi (Reading/Closing Directory): Document
25393 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25395 * manual/conf.texi (Limits for Files): Add portability note to
25396 NAME_MAX, PATH_MAX.
25397 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25399 2013-08-13 Andreas Schwab <schwab@suse.de>
25402 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25404 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25405 LDBL_MAX_EXP >= 16384]: Add tests for it.
25407 2013-08-12 David S. Miller <davem@davemloft.net>
25409 * version.h (RELEASE): Set to "development".
25410 (VERSION): Set to "2.18.90".
25411 * NEWS: Add 2.19 section.
25413 2013-08-03 David S. Miller <davem@davemloft.net>
25415 * po/ko.po: Update Korean translation from translation project.
25417 2013-08-01 David S. Miller <davem@davemloft.net>
25419 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25420 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25423 2013-07-30 David S. Miller <davem@davemloft.net>
25425 * po/fr.po: Update French translation from translation project.
25427 2013-07-28 David S. Miller <davem@davemloft.net>
25429 * po/cs.po: Update Czech translation from translation project.
25431 * po/sv.po: Update Swedish translation from translation project.
25433 2013-07-27 David S. Miller <davem@davemloft.net>
25435 * po/eo.po: Update Esperanto translation from translation project.
25437 * po/vi.po: Update Vietnamese translation from translation project.
25439 * po/de.po: Update German translation from translation project.
25441 2013-07-26 David S. Miller <davem@davemloft.net>
25443 * po/bg.po: Update Bulgarian translation from translation project.
25445 * po/nl.po: Update Dutch translation from translation project.
25446 * po/pl.po: Update Polish translation from translation project.
25447 * po/ru.po: Update Russian translation from translation project.
25449 2013-07-24 David S. Miller <davem@davemloft.net>
25451 * po/libc.pot: Update.
25453 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25455 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25456 variable page size.
25457 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25458 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25459 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25461 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25463 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25465 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25466 Andreas Schwab <schwab@suse.de>
25467 Roland McGrath <roland@hack.frob.com>
25468 Joseph Myers <joseph@codesourcery.com>
25469 Carlos O'Donell <carlos@redhat.com>
25472 * config.h.in: Define HAVE_PT_CHOWN.
25473 * config.make.in (build-pt-chown): New variable.
25474 * configure.in (--enable-pt_chown): New configure option.
25475 * configure: Regenerate.
25476 * login/Makefile: Include Makeconfig. Build pt_chown only if
25477 build-pt-chown is enabled.
25478 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25479 pt_chown to fix pty ownership.
25480 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25482 * manual/install.texi (Configuring and compiling): Mention
25483 --enable-pt_chown. Add @findex for grantpt.
25484 * INSTALL: Regenerate.
25486 2013-07-20 David S. Miller <davem@davemloft.net>
25488 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25489 difference between 32-bit and 64-bit.
25491 2013-07-15 Carlos O'Donell <carlos@redhat.com>
25494 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25495 Avoid system header dependency with -ffreestanding.
25496 ($(objpfx)bits/syscall%d): Likewise.
25498 2013-07-13 David S. Miller <davem@davemloft.net>
25500 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25501 underflows from atanl/atan2l due to bug 15319.
25502 (casinh_test_data): Likewise.
25504 2013-07-07 David S. Miller <davem@davemloft.net>
25506 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25508 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25510 * sysdeps/i386/fpu/libm-test-ulps: Update.
25511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25513 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25515 * configure.in (--enable-lock-elision): Fix message text.
25516 * INSTALL: Regenerate.
25517 * configure: Regenerate.
25519 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25523 2013-07-03 Andreas Jaeger <aj@suse.de>
25525 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25527 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25528 (ptrace_peeksiginfo_args): Add.
25529 (__ptrace_peeksiginfo_flags): Add.
25530 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25531 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25532 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25534 2013-07-03 Allan McRae <allan@archlinux.org>
25536 * sysdeps/i386/fpu/libm-test-ulps: Update.
25538 2013-07-02 David S. Miller <davem@davemloft.net>
25540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25542 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25546 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25548 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25551 2013-07-02 Andi Kleen <ak@linux.intel.com>
25553 * config.h.in (ENABLE_LOCK_ELISION): Add.
25554 * configure.in (--enable-lock-elision): Add option.
25555 * manual/install.texi: Document --enable lock elision.
25556 * configure: Regenerate
25557 * INSTALL: Regenerate.
25559 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25561 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25562 SSE4.2 strcasecmp for libc.a.
25563 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25565 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25568 * soft-fp/op-common.h (_FP_FMA): New macro.
25569 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25570 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25571 (_FP_MUL_MEAT_1_imm): ... here.
25572 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25573 (_FP_MUL_MEAT_1_wide): ... here.
25574 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25575 (_FP_MUL_MEAT_1_hard): ... here.
25576 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25577 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25578 (_FP_MUL_MEAT_2_wide): ... here.
25579 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25580 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25581 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25582 (_FP_MUL_MEAT_2_gmp): ... here.
25583 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25584 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25585 (_FP_MUL_MEAT_4_wide): ... here.
25586 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25587 (_FP_MUL_MEAT_4_gmp): ... here.
25588 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25589 (_FP_WFRACBITS_DW_S): Likewise.
25590 (_FP_WFRACXBITS_DW_S): Likewise.
25591 (_FP_HIGHBIT_DW_S): Likewise.
25592 (FP_FMA_S): Likewise.
25593 (_FP_FRAC_HIGH_DW_S): Likewise.
25594 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25595 (_FP_WFRACBITS_DW_D): Likewise.
25596 (_FP_WFRACXBITS_DW_D): Likewise.
25597 (_FP_HIGHBIT_DW_D): Likewise.
25598 (FP_FMA_D): Likewise.
25599 (_FP_FRAC_HIGH_DW_D): Likewise.
25600 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25601 (_FP_WFRACBITS_DW_E): Likewise.
25602 (_FP_WFRACXBITS_DW_E): Likewise.
25603 (_FP_HIGHBIT_DW_E): Likewise.
25604 (FP_FMA_E): Likewise.
25605 (_FP_FRAC_HIGH_DW_E): Likewise.
25606 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25607 (_FP_WFRACBITS_DW_Q): Likewise.
25608 (_FP_WFRACXBITS_DW_Q): Likewise.
25609 (_FP_HIGHBIT_DW_Q): Likewise.
25610 (FP_FMA_Q): Likewise.
25611 (_FP_FRAC_HIGH_DW_Q): Likewise.
25612 * soft-fp/fmasf4.c: New file.
25613 * soft-fp/fmadf4.c: Likewise.
25614 * soft-fp/fmatf4.c: Likewise.
25616 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25619 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25621 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25623 (index_Slow_SSE4_2): Likewise.
25624 (index_Prefer_PMINUB_for_stringop): Likewise.
25625 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25626 bit_Slow_SSE4_2 is set.
25627 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25628 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25630 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25632 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25633 rtld_global._dl_hwcap2.
25634 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25636 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25637 POWER8 feature descriptions defined in _dl_hwcap2.
25638 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25639 string handling for POWER8 feature bits.
25640 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25641 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25642 _dl_powerpc_cap_flags.
25643 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25644 * sysdeps/powerpc/rtld-global-offsets.sym
25645 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25646 _dl_hwcap2 in the rtld_global_ro structure.
25648 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25650 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25651 hardware capabilities in support of AT_HWCAP2.
25652 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25653 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25655 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25656 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25657 explicitly the unknown a_type display mechanism is used.
25658 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25659 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25661 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25662 to macro prototype for AT_HWCAP2 support.
25663 * sysdeps/i386/dl-procinfo.h: Likewise.
25664 * sysdeps/s390/dl-procinfo.h: Likewise.
25665 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25666 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25667 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25668 return -1 for unknown a_type display fallback.
25669 * sysdeps/sparc/dl-procinfo.h: Likewise.
25670 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25671 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25673 2013-06-28 Joseph Myers <joseph@codesourcery.com>
25675 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25676 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25678 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25681 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25682 mprotect making __stack_prot writable.
25684 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25685 Joseph Myers <joseph@codesourcery.com>
25687 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25688 as being properly aligned.
25690 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25692 * dlfcn/modstatic5.c: New file.
25693 * dlfcn/tststatic5.c: New file.
25694 * dlfcn/Makefile (tests): Add tststatic5.
25695 (tests-static): Likewise.
25696 (modules-names): Add modstatic5.
25697 (tststatic5-ENV): New variable.
25698 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25701 * elf/dl-support.c (_dl_main_map): New variable.
25702 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25703 (_dl_nns, _dl_load_adds): Set to 1.
25704 (_dl_initial_searchlist): Refer to _dl_main_map.
25705 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25706 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25707 call to _dl_get_origin.
25708 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25710 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25711 * dlfcn/modstatic3.c: New file.
25712 * dlfcn/tststatic3.c: New file.
25713 * dlfcn/tststatic4.c: New file.
25714 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25715 (tests-static): Likewise.
25716 (modules-names): Add modstatic3.
25717 (tststatic3-ENV, tststatic4-ENV): New variables.
25718 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25719 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25721 2013-06-26 Joseph Myers <joseph@codesourcery.com>
25723 * configure.in (CC): Require GCC version 4.4 or later.
25724 * configure: Regenerated.
25725 * manual/install.texi (Tools for Compilation): Update GCC version
25727 * INSTALL: Regenerated.
25729 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25732 * string/test-memcmp.c (check2): New.
25733 (main): Call check2.
25735 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25737 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25740 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25742 (dl_open_worker) [!SHARED]: ... here.
25744 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25746 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25748 2013-06-25 Richard Henderson <rth@redhat.com>
25750 * locale/programs/locarchive.c: Include <libc-internal.h>
25752 2013-06-25 Joseph Myers <joseph@codesourcery.com>
25754 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25755 trailing whitespace removed.
25757 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25760 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25761 * locale/programs/locarchive.c: Include libc-mmap.h.
25762 (prepare_address_space): Take two new outputs (the mmap base and len).
25763 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25765 (create_archive): Declare new mmap base and len values for
25766 prepare_address_space, and store the result in ah.
25767 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25768 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25769 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25770 Declare new mmap base and len values for
25771 prepare_address_space, and store the result in new_ah.
25772 (open_archive): Declare new mmap base and len values for
25773 prepare_address_space, and store the result in ah.
25774 (close_archive): If ah->mmap_base is not NULL, use that and
25775 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25776 * sysdeps/generic/libc-mmap.h: New file.
25778 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25780 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25781 (ALIGN_UP): Likewise.
25782 (PTR_ALIGN_DOWN): Likewise.
25783 (PTR_ALIGN_UP): Likewise.
25785 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25787 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25788 entry mapped to PPC_PLATFORM_POWER8.
25789 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25791 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25792 (_dl_string_platform): Add case for exporting platform position for
25794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25795 search path to sysdeps/powerpc/powerpc32/power8 directory.
25796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25797 search path to sysdeps/powerpc/powerpc64/power8 directory.
25798 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25799 power7 directories.
25800 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25801 power7 directories.
25803 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25805 * INSTALL: Regenerate.
25807 * nscd/connections.c (nscd_init): Fix comment.
25809 2013-06-22 Joseph Myers <joseph@codesourcery.com>
25811 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25814 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25815 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25817 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25819 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25821 (DL_DST_REQ_STATIC): Remove macro.
25823 2013-06-21 Joseph Myers <joseph@codesourcery.com>
25826 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25827 with a shift of 0 bits.
25829 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25831 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25834 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25837 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25839 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25841 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25842 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25843 accepts -fno-tree-loop-distribute-patterns.
25844 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25845 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25847 * string/memset.c (memset): Likewise.
25848 * string/test-memmove.c (simple_memmove): Disable loop transformation
25850 * string/test-memset.c (simple_memset): Likewise.
25851 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25852 * benchtests/bench-memset.c (simple_memset): Likewise.
25853 * configure: Regenerated.
25855 2013-06-20 Joseph Myers <joseph@codesourcery.com>
25857 * math/test-misc.c (main): Ignore fesetround failure when failures
25858 of subsequent rounding tests would be ignored.
25861 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25862 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25863 * math/fegetenv.c (__fegetenv): Return 0.
25864 * math/fegetexcept.c (fegetexcept): Return 0.
25865 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25867 * math/feholdexcpt.c (feholdexcept): Return 0.
25868 * math/fesetenv.c (__fesetenv): Return 0.
25869 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25870 argument FE_TONEAREST.
25871 * math/feupdateenv.c (__feupdateenv): Return 0.
25872 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25874 2013-06-18 Roland McGrath <roland@hack.frob.com>
25876 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25877 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25878 ($(objpfx)rtld-%.os rules): Use them.
25880 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25882 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25885 2013-06-17 Roland McGrath <roland@hack.frob.com>
25887 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25888 length of target pattern, then descending length of dependency pattern.
25889 * configure.in (AWK): Require gawk 3.1.2 or newer.
25890 * manual/install.texi (Tools for Compilation): Say that we do.
25891 * configure: Regenerated.
25893 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25894 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25895 * scripts/sysd-rules.awk: ... this new script.
25896 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25897 than a glob-style pattern.
25899 2013-06-17 Joseph Myers <joseph@codesourcery.com>
25901 * math/test-misc.c (main): Do not treat incorrectly rounded
25902 conversions as failure unless ROUNDING_TESTS passes.
25904 2013-06-15 Joseph Myers <joseph@codesourcery.com>
25907 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25908 restore exception state around main square root computation, then
25909 check for inexactness explicitly.
25911 * math/libm-test.inc (fma_test_data): Add another test.
25913 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25915 * manual/threads.texi (Non-POSIX Extensions): New document
25916 node. Document pthread_getattr_default_np and
25917 pthread_setattr_default_np.
25919 * Versions.def (libpthread): Add GLIBC_2.18.
25920 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25929 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25940 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25943 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25945 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25946 H.J. Lu <hjl.tools@gmail.com>
25949 * sysdeps/x86_64/rtld-memset.c: Remove file.
25950 * sysdeps/x86_64/rtld-memset.S: New file.
25952 2013-06-14 Joseph Myers <joseph@codesourcery.com>
25954 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25955 (test_in_one_mode): Take arguments for whether the rounding mode
25956 is supported for each floating-point type.
25957 (do_test): Pass new arguments to test_in_one_mode using
25960 2013-06-13 Roland McGrath <roland@hack.frob.com>
25962 * posix/tst-waitid.c (do_test): Distinguish different instances of
25963 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25964 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25965 before entering the kernel for waitpid.
25967 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25969 * NEWS: Fix note on clock function precision. Text by Roland
25972 2013-06-13 Roland McGrath <roland@hack.frob.com>
25974 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25975 it into place only when and if the sanity check passes.
25977 2013-06-13 Joseph Myers <joseph@codesourcery.com>
25979 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25980 output for whether conversion result is exact. Take argument
25981 indicating whether type is IBM long double.
25982 (round_for_all): Change need_exact field to ibm_ld.
25983 * stdlib/tst-strtod-round.c (struct exactness): New type.
25984 (struct test): Change bool ld_ok field to struct exactness exact.
25985 (TEST): Update all definitions for change to field.
25986 (tests): Regenerate array contents.
25987 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25988 field value. Check for IBM long double here.
25989 (do_test): Update calls to test_in_one_mode.
25991 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25994 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25995 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25997 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26000 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26001 generated by the compiler on loop optimizations.
26002 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26003 general definitions.
26005 2013-06-12 Joseph Myers <joseph@codesourcery.com>
26007 * math/bug-nextafter.c: Include <math-tests.h>.
26008 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26010 * math/bug-nexttoward.c: Include <math-tests.h>.
26011 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26013 * math/test-misc.c: Include <math-tests.h>.
26014 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26017 2013-06-12 Andreas Jaeger <aj@suse.de>
26019 * po/ia.po: Update Interlingua translation from translation
26022 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26024 * include/fenv.h: Include stdbool.h.
26025 (struct rm_ctx): New structure.
26026 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26028 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26029 (SET_RESTORE_ROUNDF): Likewise.
26030 (SET_RESTORE_ROUNDL): Likewise.
26031 (SET_RESTORE_ROUND_NOEX): Likewise.
26032 (SET_RESTORE_ROUND_NOEXF): Likewise.
26033 (SET_RESTORE_ROUND_NOEXL): Likewise.
26034 (SET_RESTORE_ROUND_53BIT): Likewise.
26035 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26036 (libc_feresetround_noexf_ctx): Likewise.
26037 (libc_feresetround_noexl_ctx): Likewise.
26038 (libc_feholdsetround_53bit_ctx): Likewise.
26039 (libc_feresetround_53bit_ctx): Likewise.
26040 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26041 (libc_feholdexcept_setround_sse_ctx): New function.
26042 (libc_fesetenv_sse_ctx): Likewise.
26043 (libc_feupdateenv_sse_ctx): Likewise.
26044 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26045 (libc_feholdexcept_setround_387_ctx): Likewise.
26046 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26047 (libc_feholdsetround_387_prec_ctx): Likewise.
26048 (libc_feholdsetround_387_ctx): Likewise.
26049 (libc_feholdsetround_387_53bit_ctx): Likewise.
26050 (libc_feholdsetround_sse_ctx): Likewise.
26051 (libc_feresetround_sse_ctx): Likewise.
26052 (libc_feresetround_387_ctx): Likewise.
26053 (libc_feupdateenv_387_ctx): Likewise.
26054 (libc_feholdexcept_setroundf_ctx): Define macro.
26055 (libc_fesetenvf_ctx): Likewise.
26056 (libc_feupdateenvf_ctx): Likewise.
26057 (libc_feholdsetroundf_ctx): Likewise.
26058 (libc_feresetroundf_ctx): Likewise.
26059 (libc_feholdexcept_setround_ctx): Likewise.
26060 (libc_fesetenv_ctx): Likewise.
26061 (libc_feupdateenv_ctx): Likewise.
26062 (libc_feholdsetround_ctx): Likewise.
26063 (libc_feresetround_ctx): Likewise.
26064 (libc_feholdexcept_setroundl_ctx): Likewise.
26065 (libc_feupdateenvl_ctx): Likewise.
26066 (libc_feholdsetroundl_ctx): Likewise.
26067 (libc_feresetroundl_ctx): Likewise.
26068 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26069 (libc_feresetround_53bit_ctx): Likewise.
26071 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26073 * locale/iso-639.def: Convert to UTF-8.
26075 2013-06-11 Joseph Myers <joseph@codesourcery.com>
26077 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26078 (EXCEPTION_TESTS_double): Likewise.
26079 (EXCEPTION_TESTS_long_double): Likewise.
26080 (EXCEPTION_TESTS): Likewise.
26081 * math/libm-test.inc (test_exceptions): Only test exceptions if
26082 EXCEPTION_TESTS (FLOAT).
26084 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26086 * benchtests/Makefile (string-bench): Add strcpy_chk and
26088 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26089 * benchtests/bench-stpcpy_chk.c: New file.
26090 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26091 * benchtests/bench-strcpy_chk.c: New file.
26092 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26094 (do_test): Likewise.
26096 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26098 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26099 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26100 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26101 with tabs where appropriate.
26102 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26104 [PPC_PLATFORM_PPC440]: Likewise.
26105 [PPC_PLATFORM_PPC464]: Likewise.
26106 [PPC_PLATFORM_PPC476]: Likewise.
26107 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26108 ppc464, and ppc476 platform strings merging from ports/
26111 2013-06-11 Andreas Schwab <schwab@suse.de>
26114 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26115 (from_ucs4_idx): Regenerate.
26116 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26117 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26118 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26119 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26120 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26121 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26122 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26123 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26124 from FROM_LOOP and TO_LOOP specific macros.
26125 (BODY): Handle combining characters.
26126 * iconvdata/BIG5HKSCS.irreversible: Update.
26127 * iconvdata/BIG5HKSCS.precomposed: New file.
26128 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26130 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26132 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26134 * include/sys/time.h: Fix indentation and add copyright header.
26136 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26137 (do_test): Likewise.
26138 * string/test-memchr.c (do_one_test): Likewise.
26139 (do_test): Likewise.
26140 * string/test-memcmp.c (do_one_test): Likewise.
26141 (do_test): Likewise.
26142 * string/test-memcpy.c (do_one_test): Likewise.
26143 (do_test): Likewise.
26144 * string/test-memmem.c (do_one_test): Likewise.
26145 (do_test): Likewise.
26146 (do_random_tests): Likewise.
26147 * string/test-memmove.c (do_one_test): Likewise.
26148 (do_test): Likewise.
26149 * string/test-memset.c (do_one_test): Likewise.
26150 (do_test): Likewise.
26151 * string/test-rawmemchr.c (do_one_test): Likewise.
26152 (do_test): Likewise.
26153 * string/test-strcasecmp.c (do_one_test): Likewise.
26154 (do_test): Likewise.
26155 * string/test-strcasestr.c (do_one_test): Likewise.
26156 (do_test): Likewise.
26157 * string/test-strcat.c (do_one_test): Likewise.
26158 (do_test): Likewise.
26159 * string/test-strchr.c (do_one_test): Likewise.
26160 (do_test): Likewise.
26161 * string/test-strcmp.c (do_one_test): Likewise.
26162 (do_test): Likewise.
26163 * string/test-strcpy.c (do_one_test): Likewise.
26164 (do_test): Likewise.
26165 * string/test-string.h: Likewise.
26166 (test_init): Likewise.
26167 * string/test-strlen.c (do_one_test): Likewise.
26168 (do_test): Likewise.
26169 * string/test-strncasecmp.c (do_one_test): Likewise.
26170 (do_test): Likewise.
26171 * string/test-strncat.c (do_one_test): Likewise.
26172 (do_test): Likewise.
26173 * string/test-strncmp.c (do_one_test): Likewise.
26174 (do_test_limit): Likewise.
26175 (do_test): Likewise.
26176 * string/test-strncpy.c (do_one_test): Likewise.
26177 (do_test): Likewise.
26178 * string/test-strnlen.c (do_one_test): Likewise.
26179 (do_test): Likewise.
26180 * string/test-strpbrk.c (do_one_test): Likewise.
26181 (do_test): Likewise.
26182 * string/test-strrchr.c (do_one_test): Likewise.
26183 (do_test): Likewise.
26184 * string/test-strspn.c (do_one_test): Likewise.
26185 (do_test): Likewise.
26186 * string/test-strstr.c (do_one_test): Likewise.
26187 (do_test): Likewise.
26189 * benchtests/Makefile (string-bench): Add string benchmarks.
26190 * benchtests/bench-bcopy-ifunc.c: New file.
26191 * benchtests/bench-bcopy.c: New file.
26192 * benchtests/bench-bzero-ifunc.c: New file.
26193 * benchtests/bench-bzero.c: New file.
26194 * benchtests/bench-memccpy-ifunc.c: New file.
26195 * benchtests/bench-memccpy.c: New file.
26196 * benchtests/bench-memchr-ifunc.c: New file.
26197 * benchtests/bench-memchr.c: New file.
26198 * benchtests/bench-memcmp-ifunc.c: New file.
26199 * benchtests/bench-memcmp.c: New file.
26200 * benchtests/bench-memmem-ifunc.c: New file.
26201 * benchtests/bench-memmem.c: New file.
26202 * benchtests/bench-memmove-ifunc.c: New file.
26203 * benchtests/bench-memmove.c: New file.
26204 * benchtests/bench-mempcpy-ifunc.c: New file.
26205 * benchtests/bench-mempcpy.c: New file.
26206 * benchtests/bench-memset-ifunc.c: New file.
26207 * benchtests/bench-memset.c: New file.
26208 * benchtests/bench-rawmemchr-ifunc.c: New file.
26209 * benchtests/bench-rawmemchr.c: New file.
26210 * benchtests/bench-stpcpy-ifunc.c: New file.
26211 * benchtests/bench-stpcpy.c: New file.
26212 * benchtests/bench-stpncpy-ifunc.c: New file.
26213 * benchtests/bench-stpncpy.c: New file.
26214 * benchtests/bench-strcasecmp-ifunc.c: New file.
26215 * benchtests/bench-strcasecmp.c: New file.
26216 * benchtests/bench-strcasestr-ifunc.c: New file.
26217 * benchtests/bench-strcasestr.c: New file.
26218 * benchtests/bench-strcat-ifunc.c: New file.
26219 * benchtests/bench-strcat.c: New file.
26220 * benchtests/bench-strchr-ifunc.c: New file.
26221 * benchtests/bench-strchr.c: New file.
26222 * benchtests/bench-strchrnul-ifunc.c: New file.
26223 * benchtests/bench-strchrnul.c: New file.
26224 * benchtests/bench-strcmp-ifunc.c: New file.
26225 * benchtests/bench-strcmp.c: New file.
26226 * benchtests/bench-strcpy-ifunc.c: New file.
26227 * benchtests/bench-strcpy.c: New file.
26228 * benchtests/bench-strcspn-ifunc.c: New file.
26229 * benchtests/bench-strcspn.c: New file.
26230 * benchtests/bench-strlen-ifunc.c: New file.
26231 * benchtests/bench-strlen.c: New file.
26232 * benchtests/bench-strncasecmp-ifunc.c: New file.
26233 * benchtests/bench-strncasecmp.c: New file.
26234 * benchtests/bench-strncat-ifunc.c: New file.
26235 * benchtests/bench-strncat.c: New file.
26236 * benchtests/bench-strncmp-ifunc.c: New file.
26237 * benchtests/bench-strncmp.c: New file.
26238 * benchtests/bench-strncpy-ifunc.c: New file.
26239 * benchtests/bench-strncpy.c: New file.
26240 * benchtests/bench-strnlen-ifunc.c: New file.
26241 * benchtests/bench-strnlen.c: New file.
26242 * benchtests/bench-strpbrk-ifunc.c: New file.
26243 * benchtests/bench-strpbrk.c: New file.
26244 * benchtests/bench-strrchr-ifunc.c: New file.
26245 * benchtests/bench-strrchr.c: New file.
26246 * benchtests/bench-strspn-ifunc.c: New file.
26247 * benchtests/bench-strspn.c: New file.
26248 * benchtests/bench-strstr-ifunc.c: New file.
26249 * benchtests/bench-strstr.c: New file.
26251 * benchtests/Makefile: Disable parallel execution of targets.
26252 (string-bench): Add memcpy.
26253 (benchset): New variable to store a list of benchmark sets.
26254 (bench-func): Renamed from bench.
26255 (bench-set): New target.
26256 (bench): Depend on bench-func and bench-set.
26257 * benchtests/README: Add section on benchmark sets.
26258 * benchtests/bench-memcpy-ifunc.c: New file.
26259 * benchtests/bench-memcpy.c: New file.
26260 * benchtests/bench-string.h: New file.
26262 2013-06-11 Andreas Schwab <schwab@suse.de>
26265 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26266 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26267 values in the triple.
26268 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26269 terminator in the group key.
26271 2013-06-11 Andreas Jaeger <aj@suse.de>
26273 * po/zh_TW.po: Update Chinese (traditional) translation from
26274 translation project.
26276 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26278 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26279 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26280 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26281 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26282 (clock_getcpuclockid): Likewise.
26283 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26284 Add weak_alias and libc_hidden_def.
26285 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26286 * rt/clock_gettime.c (clock_gettime): Rename to
26287 __clock_gettime. Add weak_alias and libc_hidden_def.
26288 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26289 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26290 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26291 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26292 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26294 * rt/clock_settime.c (clock_settime): Rename to
26295 __clock_settime. Add weak_alias and libc_hidden_def.
26296 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26298 2013-06-10 Joseph Myers <joseph@codesourcery.com>
26300 * mach/err_boot.sub: Remove trailing whitespace.
26301 * mach/err_ipc.sub: Likewise.
26302 * mach/err_mach.sub: Likewise.
26304 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26305 (ROUNDING_TESTS_double): Likewise.
26306 (ROUNDING_TESTS_long_double): Likewise.
26307 (ROUNDING_TESTS): Likewise.
26308 * math/libm-test.inc: Include <math-tests.h>.
26309 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26310 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26311 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26312 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26314 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26316 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26319 2013-06-08 Joseph Myers <joseph@codesourcery.com>
26321 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26322 otherwise empty TRANS lines.
26323 * sysdeps/gnu/errlist.c: Regenerated.
26325 * catgets/gencat.c (error_print): Use (void) in function
26327 * crypt/crypt_util.c (__init_des): Likewise.
26328 * crypt/speeds.c (Stop): Likewise.
26330 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26331 * inet/ruserpass.c (token): Likewise.
26332 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26333 * intl/localealias.c (extend_alias_table): Likewise.
26334 * intl/plural-exp.c (init_germanic_plural): Likewise.
26335 * libio/fcloseall.c (__fcloseall): Likewise.
26336 * libio/genops.c (_IO_flush_all): Likewise.
26337 (_IO_flush_all_linebuffered): Likewise.
26338 (_IO_cleanup): Likewise.
26339 (_IO_iter_begin): Likewise.
26340 (_IO_iter_end): Likewise.
26341 (_IO_list_lock): Likewise.
26342 (_IO_list_unlock): Likewise.
26343 (_IO_list_resetlock): Likewise.
26344 * libio/getchar.c (getchar): Likewise.
26345 * libio/getchar_u.c (getchar_unlocked): Likewise.
26346 * libio/getwchar.c (getwchar): Likewise.
26347 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26348 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26349 * login/getpt.c (__getpt): Likewise.
26350 * login/tst-utmp.c (main): Likewise.
26351 * malloc/hooks.c (__malloc_check_init): Likewise.
26352 * malloc/malloc.c (__malloc_stats): Likewise.
26353 * malloc/mtrace.c (tr_break): Likewise.
26354 (mtrace): Likewise.
26355 (muntrace): Likewise.
26356 * misc/fstab.c (endfsent): Likewise.
26357 * misc/getclktck.c (__getclktck): Likewise.
26358 * misc/getdtsz.c (__getdtablesize): Likewise.
26359 * misc/gethostid.c (gethostid): Likewise.
26360 * misc/getpagesize.c (__getpagesize): Likewise.
26361 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26362 (__get_nprocs): Likewise.
26363 (__get_phys_pages): Likewise.
26364 (__get_avphys_pages): Likewise.
26365 * misc/getttyent.c (getttyent): Likewise.
26366 (setttyent): Likewise.
26367 (endttyent): Likewise.
26368 * misc/getusershell.c (getusershell): Likewise.
26369 (endusershell): Likewise.
26370 (setusershell): Likewise.
26371 (initshells): Likewise.
26372 * misc/hsearch.c (__hdestroy): Likewise.
26373 * misc/sync.c (sync): Likewise.
26374 * misc/syslog.c (closelog_internal): Likewise.
26375 (closelog): Likewise.
26376 * misc/ttyslot.c (ttyslot): Likewise.
26377 * misc/vhangup.c (vhangup): Likewise.
26378 * posix/fork.c (__fork): Likewise.
26379 * posix/getegid.c (__getegid): Likewise.
26380 * posix/geteuid.c (__geteuid): Likewise.
26381 * posix/getgid.c (__getgid): Likewise.
26382 * posix/getpid.c (__getpid): Likewise.
26383 * posix/getppid.c (__getppid): Likewise.
26384 * posix/getuid.c (__getuid): Likewise.
26385 * posix/pause.c (pause): Likewise.
26386 * posix/setpgrp.c (setpgrp): Likewise.
26387 * posix/setsid.c (__setsid): Likewise.
26388 * posix/test-vfork.c (noop): Likewise.
26389 * resolv/gethnamaddr.c (_endhtent): Likewise.
26390 (_gethtent): Likewise.
26391 (ht_endhostent): Likewise.
26392 (gethostent): Likewise.
26393 (dns_service): Likewise.
26394 * stdlib/drand48.c (drand48): Likewise.
26395 * stdlib/lrand48.c (lrand48): Likewise.
26396 * stdlib/mrand48.c (mrand48): Likewise.
26397 * stdlib/rand.c (rand): Likewise.
26398 * stdlib/random.c (__random): Likewise.
26399 * stdlib/setenv.c (clearenv): Likewise.
26400 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26401 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26402 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26403 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26404 (__get_nprocs): Likewise.
26405 (__get_phys_pages): Likewise.
26406 (__get_avphys_pages): Likewise.
26407 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26408 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26409 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26410 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26411 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26412 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26413 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26414 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26415 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26416 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26417 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26418 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26419 * sysdeps/posix/clock.c (clock): Likewise.
26420 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26421 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26422 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26423 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26424 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26425 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26426 (__get_nprocs_conf): Likewise.
26427 (__get_phys_pages): Likewise.
26428 (__get_avphys_pages): Likewise.
26429 * time/clock.c (clock): Likewise.
26430 * time/tzset.c (__tzname_max): Likewise.
26432 2013-06-07 Joseph Myers <joseph@codesourcery.com>
26434 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26435 (__bswap_32): Do not use "register".
26436 * crypt/crypt.c (_ufc_doit_r): Likewise.
26437 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26438 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26439 * gmon/gmon.c (__monstartup): Likewise.
26440 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26441 * hurd/hurdmalloc.c (more_memory): Likewise.
26442 (malloc): Likewise.
26444 (realloc): Likewise.
26445 (malloc_fork_prepare): Likewise.
26446 (malloc_fork_parent): Likewise.
26447 (malloc_fork_child): Likewise.
26448 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26449 (_svcauth_des): Likewise.
26450 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26451 * inet/inet_net.c (inet_network): Likewise.
26452 * inet/inet_netof.c (inet_netof): Likewise.
26453 * inet/rcmd.c (__validuser2_sa): Likewise.
26454 * io/fts.c (fts_open): Likewise.
26455 (fts_load): Likewise.
26456 (fts_close): Likewise.
26457 (fts_read): Likewise.
26458 (fts_children): Likewise.
26459 (fts_build): Likewise.
26460 (fts_stat): Likewise.
26461 (fts_sort): Likewise.
26462 (fts_alloc): Likewise.
26463 (fts_lfree): Likewise.
26464 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26465 (_IO_file_xsgetn): Likewise.
26466 (_IO_file_xsgetn_mmap): Likewise.
26467 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26468 (_IO_cookie_write): Likewise.
26469 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26470 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26471 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26472 * malloc/obstack.c (_obstack_begin): Likewise.
26473 (_obstack_begin_1): Likewise.
26474 (_obstack_newchunk): Likewise.
26475 (_obstack_allocated_p): Likewise.
26476 (obstack_free): Likewise.
26477 (_obstack_memory_used): Likewise.
26478 * misc/getttyent.c (getttynam): Likewise.
26479 (getttyent): Likewise.
26482 * misc/getusershell.c (initshells): Likewise.
26483 * misc/syslog.c (__vsyslog_chk): Likewise.
26484 * misc/ttyslot.c (ttyslot): Likewise.
26485 * nis/nis_hash.c (__nis_hash): Likewise.
26486 * posix/fnmatch_loop.c (FCT): Likewise.
26487 * posix/getconf.c (print_all): Likewise.
26489 * posix/getopt.c (exchange): Likewise.
26490 * posix/glob.c (globfree): Likewise.
26491 (prefix_array): Likewise.
26492 (__glob_pattern_type): Likewise.
26493 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26494 (NS_GET32): Likewise.
26495 (NS_PUT16): Likewise.
26496 (NS_PUT32): Likewise.
26497 * resolv/gethnamaddr.c (getanswer): Likewise.
26498 (gethostbyname2): Likewise.
26499 (gethostbyaddr): Likewise.
26500 (_gethtent): Likewise.
26501 (_gethtbyname2): Likewise.
26502 (_gethtbyaddr): Likewise.
26503 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26504 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26505 * resolv/res_init.c (__res_vinit): Likewise.
26506 (net_mask): Likewise.
26507 * resolv/res_mkquery.c (outchar): Likewise.
26509 * stdio-common/printf_fp.c (outchar): Likewise.
26511 * stdio-common/printf_fphex.c (outchar): Likewise.
26513 * stdio-common/printf_size.c (outchar): Likewise.
26515 * stdio-common/test_rdwr.c (main): Likewise.
26516 * stdio-common/tfformat.c (matches): Likewise.
26517 * stdio-common/vfprintf.c (outchar): Likewise.
26518 (printf_unknown): Likewise.
26519 (buffered_vfprintf): Likewise.
26520 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26521 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26522 (ReadFile): Likewise.
26523 * stdlib/qsort.c (SWAP): Likewise.
26524 (_quicksort): Likewise.
26525 * stdlib/setenv.c (__add_to_environ): Likewise.
26526 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26527 * stdlib/strtol_l.c (__strtol_l): Likewise.
26528 * stdlib/tst-strtod.c (main): Likewise.
26529 * stdlib/tst-strtol.c (main): Likewise.
26530 * stdlib/tst-strtoll.c (main): Likewise.
26531 * string/bits/string2.h (__strcmp_cc): Likewise.
26532 (__strcmp_cg): Likewise.
26533 (__strcspn_c1): Likewise.
26534 (__strcspn_c2): Likewise.
26535 (__strcspn_c3): Likewise.
26536 (__strspn_c1): Likewise.
26537 (__strspn_c2): Likewise.
26538 (__strspn_c3): Likewise.
26539 (__strsep_1c): Likewise.
26540 (__strsep_2c): Likewise.
26541 (__strsep_3c): Likewise.
26542 * string/memccpy.c (__memccpy): Likewise.
26543 * string/stpcpy.c (__stpcpy): Likewise.
26544 * string/strcmp.c (strcmp): Likewise.
26545 * string/strrchr.c (strrchr): Likewise.
26546 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26548 * sysdeps/mach/hurd/getcwd.c
26549 (_hurd_canonicalize_directory_name_internal): Likewise.
26550 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26551 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26552 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26553 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26554 Likewise, in both definitions.
26555 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26557 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26558 64] (__bswap_64): Likewise.
26559 * time/test_time.c (main): Likewise.
26560 * time/tzfile.c (__tzfile_read): Likewise.
26561 (__tzfile_compute): Likewise.
26562 * time/tzset.c (__tzset_parse_tz): Likewise.
26563 (tzset_internal): Likewise.
26564 (compute_change): Likewise.
26565 * wcsmbs/wcscat.c (__wcscat): Likewise.
26566 * wcsmbs/wcschr.c (wcschr): Likewise.
26567 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26568 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26569 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26570 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26571 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26572 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26573 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26574 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26575 * wcsmbs/wmemset.c (wmemset): Likewise.
26577 2013-06-06 Joseph Myers <joseph@codesourcery.com>
26579 * scripts/config.guess: Update to version 2013-05-16.
26580 * scripts/config.sub: Update to version 2013-04-24.
26581 * scripts/install-sh: Update to version 2011-11-20.07.
26582 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26583 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26585 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
26587 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26588 * elf/sln.c: Likewise.
26589 * hurd/hurd/ioctl.h: Likewise.
26590 * hurd/hurdmalloc.c: Likewise.
26591 * hurd/xattr.c: Likewise.
26592 * include/shlib-compat.h: Likewise.
26593 * inet/ruserpass.c: Likewise.
26594 * libio/iofgets_u.c: Likewise.
26595 * libio/iofgetws_u.c: Likewise.
26596 * locale/programs/ld-identification.c: Likewise.
26597 * locale/programs/ld-time.c: Likewise.
26598 * mach/msg-destroy.c: Likewise.
26599 * nss/nss_files/files-netgrp.c: Likewise.
26600 * resolv/res_data.c: Likewise.
26601 * soft-fp/op-1.h: Likewise.
26602 * soft-fp/op-2.h: Likewise.
26603 * soft-fp/op-4.h: Likewise.
26604 * soft-fp/op-common.h: Likewise.
26605 * stdio-common/printf_fphex.c: Likewise.
26606 * stdlib/strtod_l.c: Likewise.
26607 * sunrpc/rpc/clnt.h: Likewise.
26608 * sysdeps/generic/framestate.c: Likewise.
26609 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26610 * sysdeps/i386/bsd-setjmp.S: Likewise.
26611 * sysdeps/i386/__longjmp.S: Likewise.
26612 * sysdeps/i386/setjmp.S: Likewise.
26613 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26614 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26615 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26616 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26617 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26618 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26619 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26620 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26621 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26622 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26623 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26624 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26625 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26626 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26627 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26628 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26629 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26630 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26631 * sysdeps/ieee754/support.c: Likewise.
26632 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26633 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26634 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26635 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26636 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26637 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26638 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26639 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26640 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26641 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26642 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26643 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26644 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26645 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26646 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26647 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26648 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26651 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
26653 * posix/transbug.c: Remove executable mode.
26655 2013-06-05 Joseph Myers <joseph@codesourcery.com>
26657 * crypt/speeds.c: Remove trailing whitespace.
26658 * dlfcn/default.c: Likewise.
26659 * elf/ifuncdep2.c: Likewise.
26660 * elf/ifuncmain1.c: Likewise.
26661 * elf/ifuncmain1vis.c: Likewise.
26662 * elf/testobj.h: Likewise.
26663 * elf/tst-stackguard1.c: Likewise.
26664 * gmon/sys/gmon.h: Likewise.
26665 * hurd/hurdmsg.c: Likewise.
26666 * hurd/new-fd.c: Likewise.
26667 * hurd/ports-get.c: Likewise.
26668 * iconvdata/ibm1008_420.c: Likewise.
26669 * inet/tst-getni1.c: Likewise.
26670 * inet/tst-getni2.c: Likewise.
26671 * libio/ioungetc.c: Likewise.
26672 * libio/wfiledoalloc.c: Likewise.
26673 * manual/libm-err-tab.pl: Likewise.
26674 * math/w_dremf.c: Likewise.
26675 * misc/ftruncate.c: Likewise.
26676 * posix/bug-glob2.c: Likewise.
26677 * posix/tst-pcre.c: Likewise.
26678 * posix/wait4.c: Likewise.
26679 * resolv/README: Likewise.
26680 * resolv/res_debug.h: Likewise.
26681 * resolv/tst-inet_ntop.c: Likewise.
26682 * setjmp/bug269-setjmp.c: Likewise.
26683 * soft-fp/extended.h: Likewise.
26684 * soft-fp/op-1.h: Likewise.
26685 * soft-fp/op-2.h: Likewise.
26686 * soft-fp/op-4.h: Likewise.
26687 * soft-fp/op-8.h: Likewise.
26688 * soft-fp/testit.c: Likewise.
26689 * stdio-common/bug16.c: Likewise.
26690 * stdlib/random.c: Likewise.
26691 * sunrpc/rpcsvc/rquota.x: Likewise.
26692 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26693 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26694 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26695 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26696 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26697 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26698 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26699 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26700 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26701 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26702 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26703 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26704 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26705 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26706 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26707 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26708 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26709 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26710 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26711 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26712 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26713 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26714 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26715 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26716 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26717 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26718 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26719 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26720 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26721 * sysdeps/ieee754/s_lib_version.c: Likewise.
26722 * sysdeps/mach/hurd/check_fds.c: Likewise.
26723 * sysdeps/mach/hurd/getsockname.c: Likewise.
26724 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26725 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26726 * sysdeps/powerpc/bits/link.h: Likewise.
26727 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26728 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26729 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26730 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26731 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26732 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26733 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26734 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26735 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26736 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26737 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26738 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26739 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26740 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26741 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26742 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26743 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26744 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26745 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26746 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26747 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26748 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26749 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26750 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26751 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26752 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26753 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26754 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26755 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26756 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26757 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26758 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26759 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26760 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26761 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26762 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26763 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26764 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26765 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26766 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26767 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26768 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26769 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26770 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26771 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26772 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26773 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26774 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26775 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26776 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26777 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26778 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26779 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26780 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26781 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26782 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26783 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26784 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26785 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26786 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26787 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26788 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26789 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26790 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26791 * sysdeps/powerpc/sysdep.h: Likewise.
26792 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26793 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26794 * sysdeps/sh/dl-trampoline.S: Likewise.
26795 * sysdeps/sh/memset.S: Likewise.
26796 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26797 * sysdeps/sh/strlen.S: Likewise.
26798 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26799 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26800 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26801 * sysdeps/sparc/sparc32/rem.S: Likewise.
26802 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26803 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26804 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26805 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26806 * sysdeps/sparc/sparc32/urem.S: Likewise.
26807 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26808 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26809 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26810 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26811 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26812 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26813 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26814 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26815 * sysdeps/unix/bsd/times.c: Likewise.
26816 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26817 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26821 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26822 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26823 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26824 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26825 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26826 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26827 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26828 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26829 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26830 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26831 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26832 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26833 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26834 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26835 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26836 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26837 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26838 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26839 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26840 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26841 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26842 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26843 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26844 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26845 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26846 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26847 * sysdeps/x86_64/strcspn.S: Likewise.
26849 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26851 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26852 generated file. Regenerate properly from gen-translit.pl.
26853 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26854 locale/C-translit.h.
26856 2013-06-05 Andreas Schwab <schwab@suse.de>
26859 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26860 week as 6 instead of -1.
26861 * time/tst-strptime.c (day_tests): Add test case.
26863 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26865 * sysdeps/generic/math_private.h
26866 (libc_feholdexcept_setround_53bit): Replace with
26867 libc_feholdsetround_53bit.
26868 (libc_feupdateenv_53bit): Replace with
26869 libc_feresetround_53bit.
26870 (SET_RESTORE_ROUND_53BIT): Adjust.
26872 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26874 * string/test-strchrnul.c: Add copyright header.
26876 * posix/tst-getaddrinfo4.c: Increase test timeout.
26878 2013-06-03 Carlos O'Donell <carlos@redhat.com>
26881 * math/libm-test.inc (MAX_EXP): Remove
26883 (ulp): Use MIN_EXP - MANT_DIG.
26884 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26886 2013-05-31 Carlos O'Donell <carlos@redhat.com>
26888 * po/be.po: Revert last change.
26889 * po/zh_CN.po: Likewise.
26890 * po/header.pot: Likewise.
26892 2013-05-31 Joseph Myers <joseph@codesourcery.com>
26894 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26895 link-libc-deps to empty as target-specific variable.
26896 * Makerules (link-libc-args): New variable.
26897 (libc-for-link): Likewise.
26898 (link-libc-deps): Likewise.
26899 (lib%.so): Depend on $(link-libc-deps). Link with
26901 (build-module): Link with $(link-libc-args).
26902 (build-module-asneeded): Likewise.
26903 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26905 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26906 target-specific variable.
26907 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26908 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26909 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26911 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26913 ($(objpfx)libpcprofile.so): Likewise.
26914 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26916 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26917 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26918 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26920 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26921 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26922 * login/Makefile ($(objpfx)libutil.so): Likewise.
26923 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26924 * math/Makefile ($(objpfx)libm.so): Likewise.
26925 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26926 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26927 variable instead of depending directly on libc.
26928 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26929 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26931 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26933 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26934 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26935 ($(objpfx)libanl.so): Likewise.
26936 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26938 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26940 * sysdeps/i386/fpu/Makefile: Remove file.
26941 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26942 ($(objpfx)libm.so): Remove dependency on ld.so.
26944 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
26947 * nis/yp_xdr.c (XDRMAXNAME): Define.
26948 (XDRMAXRECORD): Define.
26949 (xdr_domainname): Use XDRMAXNAME.
26950 (xdr_mapname): Likewise.
26951 (xdr_peername): Likewise.
26952 (xdr_keydat): Use XDRMAXRECORD.
26953 (xdr_valdat): Likewise.
26955 2013-05-30 Jeff Law <law@redhat.com>
26958 * manual/errno.texi (ESTALE): Update to account for more than
26959 just NFS file systems.
26960 * sysdeps/gnu/errlist.c: Regenerated.
26962 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26965 * elf/Makefile (tests): Add tst-null-argv.
26966 (modules-names): Add tst-null-argv-lib.
26967 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26968 (tst-null-argv-ENV): Set environment for tst-null-argv.
26969 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26970 (RTLD_PROGNAME): New macro.
26971 * elf/tst-null-argv.c: New test case.
26972 * elf/tst-null-argv-lib.c: Library for test case.
26973 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26974 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26975 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26976 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26977 * elf/dl-init.c (call_init): Likewise.
26978 (_dl_init): Likewise.
26979 * elf/dl-load.c (print_search_path): Likewise.
26980 (_dl_map_object): Likewise.
26981 * elf/dl-lookup.c (do_lookup_x): Likewise.
26982 (add_dependency): Likewise.
26983 (_dl_lookup_symbol_x): Likewise.
26984 (_dl_debug_bindings): Likewise.
26985 * elf/dl-open.c (_dl_show_scope): Likewise.
26986 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26987 * elf/dl-version.c (match_symbol): Likewise.
26988 (_dl_check_map_versions): Likewise.
26989 * elf/rtld.c (dl_main): Likewise.
26990 (print_unresolved): Use RTLD_PROGNAME.
26991 (print_missing_version): Likewise.
26992 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26993 (elf_machine_rela): Likewise.
26994 * sysdeps/powerpc/powerpc32/dl-machine.c
26995 (__process_machine_rela): Likewise.
26996 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26998 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27000 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27002 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27003 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27005 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27007 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27009 2013-05-28 Carlos O'Donell <carlos@redhat.com>
27011 * po/be.po: Add descriptive title.
27012 * po/zh_CN.po: Likewise.
27013 * po/header.pot: Likewise.
27015 2013-05-28 Mike Frysinger <vapier@gentoo.org>
27017 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27019 (enlarge_archive): Likewise.
27021 2013-05-28 Ben North <ben@redfrontdoor.org>
27023 * manual/arith.texi (frexp): It is the magnitude of the return
27024 value which lies in [0.5, 1), not the return value itself.
27026 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27030 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27032 * stdio-common/bug26.c (main): Correct fscanf template.
27034 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27035 declare _dl_skip_args.
27037 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27040 * manual/platform.texi: Add missing @end deftypefun.
27042 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27045 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27046 bit of mantissa of 2^16382.
27047 * math/libm-test.inc (hypot_test_data): Add more tests.
27049 * math/libm-test.inc: Add drem and pow10 to list of tested
27051 (pow10_test): New function.
27052 (drem_test): Likewise.
27053 (drem_test_tonearest): Likewise.
27054 (drem_test_towardzero): Likewise.
27055 (drem_test_downward): Likewise.
27056 (drem_test_upward): Likewise.
27057 (main): Call the new functions.
27059 * math/libm-test.inc (finite_test_data): Remove.
27060 (finite_test): Run tests from isfinite_test_data.
27061 (gamma_test_data): Remove.
27062 (gamma_test): Run tests from lgamma_test_data.
27063 * sysdeps/i386/fpu/libm-test-ulps: Update.
27064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27066 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27068 * manual/platform.texi: Add PowerPC PPR function set documentation.
27069 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27072 2013-05-24 Carlos O'Donell <carlos@redhat.com>
27074 * math/libm-test.inc (MAX_EXP): Define.
27076 (ulp): New function.
27077 (check_float_internal): Use ULPDIFF.
27078 (cpow_test): Disable failing test.
27079 (check_ulp): Test ulp() implemetnation.
27080 (main): Call check_ulp before starting tests.
27082 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27084 * math/gen-libm-test.pl (generate_testfile): Do not handle
27085 START_DATA and END_DATA.
27086 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27088 (acos_tonearest_test_data): Likewise.
27089 (acos_towardzero_test_data): Likewise.
27090 (acos_downward_test_data): Likewise.
27091 (acos_upward_test_data): Likewise.
27092 (acosh_test_data): Likewise.
27093 (asin_test_data): Likewise.
27094 (asin_tonearest_test_data): Likewise.
27095 (asin_towardzero_test_data): Likewise.
27096 (asin_downward_test_data): Likewise.
27097 (asin_upward_test_data): Likewise.
27098 (asinh_test_data): Likewise.
27099 (atan_test_data): Likewise.
27100 (atanh_test_data): Likewise.
27101 (atan2_test_data): Likewise.
27102 (cabs_test_data): Likewise.
27103 (cacos_test_data): Likewise.
27104 (cacosh_test_data): Likewise.
27105 (carg_test_data): Likewise.
27106 (casin_test_data): Likewise.
27107 (casinh_test_data): Likewise.
27108 (catan_test_data): Likewise.
27109 (catanh_test_data): Likewise.
27110 (cbrt_test_data): Likewise.
27111 (ccos_test_data): Likewise.
27112 (ccosh_test_data): Likewise.
27113 (ceil_test_data): Likewise.
27114 (cexp_test_data): Likewise.
27115 (cimag_test_data): Likewise.
27116 (clog_test_data): Likewise.
27117 (clog10_test_data): Likewise.
27118 (conj_test_data): Likewise.
27119 (copysign_test_data): Likewise.
27120 (cos_test_data): Likewise.
27121 (cos_tonearest_test_data): Likewise.
27122 (cos_towardzero_test_data): Likewise.
27123 (cos_downward_test_data): Likewise.
27124 (cos_upward_test_data): Likewise.
27125 (cosh_test_data): Likewise.
27126 (cosh_tonearest_test_data): Likewise.
27127 (cosh_towardzero_test_data): Likewise.
27128 (cosh_downward_test_data): Likewise.
27129 (cosh_upward_test_data): Likewise.
27130 (cpow_test_data): Likewise.
27131 (cproj_test_data): Likewise.
27132 (creal_test_data): Likewise.
27133 (csin_test_data): Likewise.
27134 (csinh_test_data): Likewise.
27135 (csqrt_test_data): Likewise.
27136 (ctan_test_data): Likewise.
27137 (ctan_tonearest_test_data): Likewise.
27138 (ctan_towardzero_test_data): Likewise.
27139 (ctan_downward_test_data): Likewise.
27140 (ctan_upward_test_data): Likewise.
27141 (ctanh_test_data): Likewise.
27142 (ctanh_tonearest_test_data): Likewise.
27143 (ctanh_towardzero_test_data): Likewise.
27144 (ctanh_downward_test_data): Likewise.
27145 (ctanh_upward_test_data): Likewise.
27146 (erf_test_data): Likewise.
27147 (erfc_test_data): Likewise.
27148 (exp_test_data): Likewise.
27149 (exp_tonearest_test_data): Likewise.
27150 (exp_towardzero_test_data): Likewise.
27151 (exp_downward_test_data): Likewise.
27152 (exp_upward_test_data): Likewise.
27153 (exp10_test_data): Likewise.
27154 (exp2_test_data): Likewise.
27155 (expm1_test_data): Likewise.
27156 (fabs_test_data): Likewise.
27157 (fdim_test_data): Likewise.
27158 (finite_test_data): Likewise.
27159 (floor_test_data): Likewise.
27160 (fma_test_data): Likewise.
27161 (fma_towardzero_test_data): Likewise.
27162 (fma_downward_test_data): Likewise.
27163 (fma_upward_test_data): Likewise.
27164 (fmax_test_data): Likewise.
27165 (fmin_test_data): Likewise.
27166 (fmod_test_data): Likewise.
27167 (fpclassify_test_data): Likewise.
27168 (frexp_test_data): Likewise.
27169 (gamma_test_data): Likewise.
27170 (hypot_test_data): Likewise.
27171 (ilogb_test_data): Likewise.
27172 (isfinite_test_data): Likewise.
27173 (isgreater_test_data): Likewise.
27174 (isgreaterequal_test_data): Likewise.
27175 (isinf_test_data): Likewise.
27176 (isless_test_data): Likewise.
27177 (islessequal_test_data): Likewise.
27178 (islessgreater_test_data): Likewise.
27179 (isnan_test_data): Likewise.
27180 (isnormal_test_data): Likewise.
27181 (issignaling_test_data): Likewise.
27182 (isunordered_test_data): Likewise.
27183 (j0_test_data): Likewise.
27184 (j1_test_data): Likewise.
27185 (jn_test_data): Likewise.
27186 (ldexp_test_data): Likewise.
27187 (lgamma_test_data): Likewise.
27188 (lrint_test_data): Likewise.
27189 (lrint_tonearest_test_data): Likewise.
27190 (lrint_towardzero_test_data): Likewise.
27191 (lrint_downward_test_data): Likewise.
27192 (lrint_upward_test_data): Likewise.
27193 (llrint_test_data): Likewise.
27194 (llrint_tonearest_test_data): Likewise.
27195 (llrint_towardzero_test_data): Likewise.
27196 (llrint_downward_test_data): Likewise.
27197 (llrint_upward_test_data): Likewise.
27198 (log_test_data): Likewise.
27199 (log10_test_data): Likewise.
27200 (log1p_test_data): Likewise.
27201 (log2_test_data): Likewise.
27202 (logb_test_data): Likewise.
27203 (logb_downward_test_data): Likewise.
27204 (lround_test_data): Likewise.
27205 (llround_test_data): Likewise.
27206 (modf_test_data): Likewise.
27207 (nearbyint_test_data): Likewise.
27208 (nextafter_test_data): Likewise.
27209 (nexttoward_test_data): Likewise.
27210 (pow_test_data): Likewise.
27211 (pow_tonearest_test_data): Likewise.
27212 (pow_towardzero_test_data): Likewise.
27213 (pow_downward_test_data): Likewise.
27214 (pow_upward_test_data): Likewise.
27215 (remainder_test_data): Likewise.
27216 (remainder_tonearest_test_data): Likewise.
27217 (remainder_towardzero_test_data): Likewise.
27218 (remainder_downward_test_data): Likewise.
27219 (remainder_upward_test_data): Likewise.
27220 (remquo_test_data): Likewise.
27221 (rint_test_data): Likewise.
27222 (rint_tonearest_test_data): Likewise.
27223 (rint_towardzero_test_data): Likewise.
27224 (rint_downward_test_data): Likewise.
27225 (rint_upward_test_data): Likewise.
27226 (round_test_data): Likewise.
27227 (scalb_test_data): Likewise.
27228 (scalbn_test_data): Likewise.
27229 (scalbln_test_data): Likewise.
27230 (signbit_test_data): Likewise.
27231 (sin_test_data): Likewise.
27232 (sin_tonearest_test_data): Likewise.
27233 (sin_towardzero_test_data): Likewise.
27234 (sin_downward_test_data): Likewise.
27235 (sin_upward_test_data): Likewise.
27236 (sincos_test_data): Likewise.
27237 (sinh_test_data): Likewise.
27238 (sinh_tonearest_test_data): Likewise.
27239 (sinh_towardzero_test_data): Likewise.
27240 (sinh_downward_test_data): Likewise.
27241 (sinh_upward_test_data): Likewise.
27242 (sqrt_test_data): Likewise.
27243 (tan_test_data): Likewise.
27244 (tan_tonearest_test_data): Likewise.
27245 (tan_towardzero_test_data): Likewise.
27246 (tan_downward_test_data): Likewise.
27247 (tan_upward_test_data): Likewise.
27248 (tanh_test_data): Likewise.
27249 (tgamma_test_data): Likewise.
27250 (trunc_test_data): Likewise.
27251 (y0_test_data): Likewise.
27252 (y1_test_data): Likewise.
27253 (yn_test_data): Likewise.
27254 (significand_test_data): Likewise.
27256 * math/gen-libm-test.pl (@functions): Remove variable.
27257 (generate_testfile): Don't handle START and END lines.
27258 * math/libm-test.inc (START): New macro.
27260 (END_COMPLEX): Likewise.
27261 (acos_test): Use END macro without arguments.
27262 (acos_test_tonearest): Likewise.
27263 (acos_test_towardzero): Likewise.
27264 (acos_test_downward): Likewise.
27265 (acos_test_upward): Likewise.
27266 (acosh_test): Likewise.
27267 (asin_test): Likewise.
27268 (asin_test_tonearest): Likewise.
27269 (asin_test_towardzero): Likewise.
27270 (asin_test_downward): Likewise.
27271 (asin_test_upward): Likewise.
27272 (asinh_test): Likewise.
27273 (atan_test): Likewise.
27274 (atanh_test): Likewise.
27275 (atan2_test): Likewise.
27276 (cabs_test): Likewise.
27277 (cacos_test): Use END_COMPLEX macro without arguments.
27278 (cacosh_test): Likewise.
27279 (carg_test): Use END macro without arguments.
27280 (casin_test): Use END_COMPLEX macro without arguments.
27281 (casinh_test): Likewise.
27282 (catan_test): Likewise.
27283 (catanh_test): Likewise.
27284 (cbrt_test): Use END macro without arguments.
27285 (ccos_test): Use END_COMPLEX macro without arguments.
27286 (ccosh_test): Likewise.
27287 (ceil_test): Use END macro without arguments.
27288 (cexp_test): Use END_COMPLEX macro without arguments.
27289 (cimag_test): Use END macro without arguments.
27290 (clog_test): Use END_COMPLEX macro without arguments.
27291 (clog10_test): Likewise.
27292 (conj_test): Likewise.
27293 (copysign_test): Use END macro without arguments.
27294 (cos_test): Likewise.
27295 (cos_test_tonearest): Likewise.
27296 (cos_test_towardzero): Likewise.
27297 (cos_test_downward): Likewise.
27298 (cos_test_upward): Likewise.
27299 (cosh_test): Likewise.
27300 (cosh_test_tonearest): Likewise.
27301 (cosh_test_towardzero): Likewise.
27302 (cosh_test_downward): Likewise.
27303 (cosh_test_upward): Likewise.
27304 (cpow_test): Use END_COMPLEX macro without arguments.
27305 (cproj_test): Likewise.
27306 (creal_test): Use END macro without arguments.
27307 (csin_test): Use END_COMPLEX macro without arguments.
27308 (csinh_test): Likewise.
27309 (csqrt_test): Likewise.
27310 (ctan_test): Likewise.
27311 (ctan_test_tonearest): Likewise.
27312 (ctan_test_towardzero): Likewise.
27313 (ctan_test_downward): Likewise.
27314 (ctan_test_upward): Likewise.
27315 (ctanh_test): Likewise.
27316 (ctanh_test_tonearest): Likewise.
27317 (ctanh_test_towardzero): Likewise.
27318 (ctanh_test_downward): Likewise.
27319 (ctanh_test_upward): Likewise.
27320 (erf_test): Use END macro without arguments.
27321 (erfc_test): Likewise.
27322 (exp_test): Likewise.
27323 (exp_test_tonearest): Likewise.
27324 (exp_test_towardzero): Likewise.
27325 (exp_test_downward): Likewise.
27326 (exp_test_upward): Likewise.
27327 (exp10_test): Likewise.
27328 (exp2_test): Likewise.
27329 (expm1_test): Likewise.
27330 (fabs_test): Likewise.
27331 (fdim_test): Likewise.
27332 (finite_test): Likewise.
27333 (floor_test): Likewise.
27334 (fma_test): Likewise.
27335 (fma_test_towardzero): Likewise.
27336 (fma_test_downward): Likewise.
27337 (fma_test_upward): Likewise.
27338 (fmax_test): Likewise.
27339 (fmin_test): Likewise.
27340 (fmod_test): Likewise.
27341 (fpclassify_test): Likewise.
27342 (frexp_test): Likewise.
27343 (gamma_test): Likewise.
27344 (hypot_test): Likewise.
27345 (ilogb_test): Likewise.
27346 (isfinite_test): Likewise.
27347 (isgreater_test): Likewise.
27348 (isgreaterequal_test): Likewise.
27349 (isinf_test): Likewise.
27350 (isless_test): Likewise.
27351 (islessequal_test): Likewise.
27352 (islessgreater_test): Likewise.
27353 (isnan_test): Likewise.
27354 (isnormal_test): Likewise.
27355 (issignaling_test): Likewise.
27356 (isunordered_test): Likewise.
27357 (j0_test): Likewise.
27358 (j1_test): Likewise.
27359 (jn_test): Likewise.
27360 (ldexp_test): Likewise.
27361 (lgamma_test): Likewise.
27362 (lrint_test): Likewise.
27363 (lrint_test_tonearest): Likewise.
27364 (lrint_test_towardzero): Likewise.
27365 (lrint_test_downward): Likewise.
27366 (lrint_test_upward): Likewise.
27367 (llrint_test): Likewise.
27368 (llrint_test_tonearest): Likewise.
27369 (llrint_test_towardzero): Likewise.
27370 (llrint_test_downward): Likewise.
27371 (llrint_test_upward): Likewise.
27372 (log_test): Likewise.
27373 (log10_test): Likewise.
27374 (log1p_test): Likewise.
27375 (log2_test): Likewise.
27376 (logb_test): Likewise.
27377 (logb_test_downward): Likewise.
27378 (lround_test): Likewise.
27379 (llround_test): Likewise.
27380 (modf_test): Likewise.
27381 (nearbyint_test): Likewise.
27382 (nextafter_test): Likewise.
27383 (nexttoward_test): Likewise.
27384 (pow_test): Likewise.
27385 (pow_test_tonearest): Likewise.
27386 (pow_test_towardzero): Likewise.
27387 (pow_test_downward): Likewise.
27388 (pow_test_upward): Likewise.
27389 (remainder_test): Likewise.
27390 (remainder_test_tonearest): Likewise.
27391 (remainder_test_towardzero): Likewise.
27392 (remainder_test_downward): Likewise.
27393 (remainder_test_upward): Likewise.
27394 (remquo_test): Likewise.
27395 (rint_test): Likewise.
27396 (rint_test_tonearest): Likewise.
27397 (rint_test_towardzero): Likewise.
27398 (rint_test_downward): Likewise.
27399 (rint_test_upward): Likewise.
27400 (round_test): Likewise.
27401 (scalb_test): Likewise.
27402 (scalbn_test): Likewise.
27403 (scalbln_test): Likewise.
27404 (signbit_test): Likewise.
27405 (sin_test): Likewise.
27406 (sin_test_tonearest): Likewise.
27407 (sin_test_towardzero): Likewise.
27408 (sin_test_downward): Likewise.
27409 (sin_test_upward): Likewise.
27410 (sincos_test): Likewise.
27411 (sinh_test): Likewise.
27412 (sinh_test_tonearest): Likewise.
27413 (sinh_test_towardzero): Likewise.
27414 (sinh_test_downward): Likewise.
27415 (sinh_test_upward): Likewise.
27416 (sqrt_test): Likewise.
27417 (tan_test): Likewise.
27418 (tan_test_tonearest): Likewise.
27419 (tan_test_towardzero): Likewise.
27420 (tan_test_downward): Likewise.
27421 (tan_test_upward): Likewise.
27422 (tanh_test): Likewise.
27423 (tgamma_test): Likewise.
27424 (trunc_test): Likewise.
27425 (y0_test): Likewise.
27426 (y1_test): Likewise.
27427 (yn_test): Likewise.
27428 (significand_test): Likewise.
27430 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
27433 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27435 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27438 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27439 __ppc_mdoio and __ppc_mdoom.
27440 * manual/platform.texi: Document new functions __ppc_yield,
27441 __ppc_mdoio and __ppc_mdoom.
27443 2013-05-22 Carlos O'Donell <carlos@redhat.com>
27445 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27446 (main): Mention "tls" pseudo-hwcap is legacy.
27447 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27449 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27451 * math/gen-libm-test.pl (parse_args): Output only string of
27452 arguments as text for test name, not full call or descriptions of
27453 tests for extra outputs.
27454 (generate_testfile): Do not pass function name to parse_args.
27455 Generate this_func variable from START.
27456 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27458 (struct test_ff_f_data): Likewise.
27459 (test_ff_f_data_nexttoward): Likewise.
27460 (struct test_fi_f_data): Likewise.
27461 (struct test_fl_f_data): Likewise.
27462 (struct test_if_f_data): Likewise.
27463 (struct test_fff_f_data): Likewise.
27464 (struct test_c_f_data): Likewise.
27465 (struct test_f_f1_data): Likewise. Remove field extra_name.
27466 (struct test_fF_f1_data): Likewise.
27467 (struct test_ffI_f1_data): Likewise.
27468 (struct test_c_c_data): Rename test_name field to arg_str.
27469 (struct test_cc_c_data): Likewise.
27470 (struct test_f_i_data): Likewise.
27471 (struct test_ff_i_data): Likewise.
27472 (struct test_f_l_data): Likewise.
27473 (struct test_f_L_data): Likewise.
27474 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27476 (COMMON_TEST_SETUP): New macro.
27477 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27478 (COMMON_TEST_CLEANUP): Likewise.
27479 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27480 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27482 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27483 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27485 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27486 (RUN_TEST_fff_f): Take argument string. Call new setup and
27488 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27489 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27491 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27492 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27494 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27495 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27497 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27498 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27500 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27501 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27503 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27504 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27506 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27507 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27509 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27510 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27512 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27513 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27515 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27516 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27518 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27519 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27521 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27522 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27524 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27525 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27527 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27528 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27530 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27531 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27533 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27535 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27537 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27538 to _sifields.sigfault.
27539 (si_addr_lsb): Define new macro.
27540 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27541 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27542 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27544 2013-05-03 Carlos O'Donell <carlos at redhat.com>
27547 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27549 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27551 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27552 loading the domain.
27554 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27556 * math/gen-libm-test.pl (parse_args): Do not include expected
27557 result in test name.
27558 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27559 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27560 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27561 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27562 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27565 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27567 * benchtests/Makefile: Sort function entries.
27569 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27570 tanh, asinh, acosh, atanh.
27571 * benchtests/acos-inputs: New file.
27572 * benchtests/acosh-inputs: New file.
27573 * benchtests/asin-inputs: New file.
27574 * benchtests/asinh-inputs: New file.
27575 * benchtests/atanh-inputs: New file.
27576 * benchtests/cosh-inputs: New file.
27577 * benchtests/log-inputs: New file.
27578 * benchtests/sinh-inputs: New file.
27579 * benchtests/tanh-inputs: New file.
27581 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27584 * posix/tst-getaddrinfo4.c: New test.
27585 * posix/Makefile (tests): Add it.
27587 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27590 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27591 when no services were used.
27592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27593 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27595 2013-05-21 Andreas Schwab <schwab@suse.de>
27598 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27599 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27601 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27602 redundant variable declarations and reallocation of buffer when
27603 parsing as IPv6 address. Always set NSS status when called from
27604 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27605 buffer too small. Correct computation of needed size.
27606 * nss/Makefile (tests): Add test-digits-dots.
27607 * nss/test-digits-dots.c: New test.
27609 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27611 * benchtests/Makefile: Remove instructions for adding
27613 * benchtests/README: New file to explain how to execute and
27614 enhance the benchmark tests.
27616 2013-05-21 Andreas Schwab <schwab@suse.de>
27619 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27620 * setjmp/tst-sigsetjmp.c: New test.
27622 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27624 * sysdeps/x86_64/memset.S (memset): New implementation.
27625 (__bzero): Likewise.
27626 (__memset_tail): New function.
27628 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27630 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27631 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27632 __memcpy_sse2_unaligned ifunc selection.
27633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27634 Add memcpy-sse2-unaligned.S.
27635 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27636 Add: __memcpy_sse2_unaligned.
27638 2013-05-19 Joseph Myers <joseph@codesourcery.com>
27641 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27642 math_force_eval before restoring floating-point envrionment.
27643 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27644 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27646 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27648 (__nearbyintl): Use math_force_eval before restoring
27649 floating-point environment.
27650 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27652 * math/gen-libm-test.pl (special_functions): Remove.
27653 (parse_args): Don't handle TEST_extra. Handle functions with no
27655 * math/libm-test.inc (struct test_sincos_data): Replace with
27656 struct test_fFF_11_data.
27657 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27658 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27659 (sincos_test_data): Change element type to struct
27660 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27661 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27662 RUN_TEST_LOOP_sincos.
27663 * math/README.libm-test: Don't mention special handling of
27664 individual functions.
27665 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27666 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27667 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27668 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27669 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27672 * math/gen-libm-test.pl (get_variable): Remove function.
27673 (parse_args): Don't show pointer parameters to call in test
27674 names. Use "extra output N" in test names for extra outputs
27675 rather than naming variables.
27677 2013-05-18 Joseph Myers <joseph@codesourcery.com>
27680 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27681 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27682 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27684 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27686 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27689 * math/gen-libm-test.pl (@tests): Remove variable.
27690 ($count): Likewise.
27691 (new_test): Remove function.
27692 (show_exceptions): New function.
27693 (special_functions): Use show_exceptions instead of new_test.
27694 (parse_args): Likewise.
27695 (generate_testfile): Pass only function name in generated call to
27696 print_max_error or print_complex_max_error.
27697 (get_ulps): Do not handle complex tests specially.
27698 (output_test): Rename to ...
27699 (get_all_ulps_for_test): ... this. Return a string rather than
27700 printing to a file. Require ulps to be present.
27701 (output_ulps): Generate arrays rather than #defines.
27702 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27703 (struct ulp_data): New type.
27704 (BUILD_COMPLEX_ULP): Remove macro.
27705 (compare_ulp_data): New function.
27706 (find_ulps): Likewise.
27707 (find_test_ulps): Likewise.
27708 (find_function_ulps): Likewise.
27709 (find_complex_function_ulps): Likewise.
27710 (print_max_error): Determine allowed ulps using
27711 find_function_ulps.
27712 (print_complex_max_error): Determine allowed ulps using
27713 find_complex_function_ulps.
27714 (check_float_internal): Determine max ulps using find_test_ulps.
27715 (check_float): Do not take max_ulp parameter. Update call to
27716 check_float_internal.
27717 (check_complex): Likewise.
27718 (check_int): Do not take max_ulp parameter.
27719 (check_long): Likewise.
27720 (check_bool): Likewise.
27721 (check_longlong): Likewise.
27722 (struct test_f_f_data): Remove max_ulp field.
27723 (struct test_ff_f_data): Likewise.
27724 (struct test_ff_f_data_nexttoward): Likewise.
27725 (struct test_fi_f_data): Likewise.
27726 (struct test_fl_f_data): Likewise.
27727 (struct test_if_f_data): Likewise.
27728 (struct test_fff_f_data): Likewise.
27729 (struct test_c_f_data): Likewise.
27730 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27731 (struct test_fF_f1_data): Likewise.
27732 (struct test_ffI_f1_data): Likewise.
27733 (struct test_c_c_data): Remove max_ulp field.
27734 (struct test_cc_c_data): Likewise.
27735 (struct test_f_i_data): Likewise.
27736 (struct test_ff_i_data): Likewise.
27737 (struct test_f_l_data): Likewise.
27738 (struct test_f_L_data): Likewise.
27739 (struct test_sincos_data): Likewise.
27740 (RUN_TEST_f_f): Do not handle ulps.
27741 (RUN_TEST_LOOP_f_f): Likewise.
27742 (RUN_TEST_2_f): Likewise.
27743 (RUN_TEST_LOOP_2_f): Likewise.
27744 (RUN_TEST_fff_f): Likewise.
27745 (RUN_TEST_LOOP_fff_f): Likewise.
27746 (RUN_TEST_c_f): Likewise.
27747 (RUN_TEST_LOOP_c_f): Likewise.
27748 (RUN_TEST_f_f1): Likewise.
27749 (RUN_TEST_LOOP_f_f1): Likewise.
27750 (RUN_TEST_fF_f1): Likewise.
27751 (RUN_TEST_LOOP_fF_f1): Likewise.
27752 (RUN_TEST_fI_f1): Likewise.
27753 (RUN_TEST_LOOP_fI_f1): Likewise.
27754 (RUN_TEST_ffI_f1): Likewise.
27755 (RUN_TEST_LOOP_ffI_f1): Likewise.
27756 (RUN_TEST_c_c): Likewise.
27757 (RUN_TEST_LOOP_c_c): Likewise.
27758 (RUN_TEST_cc_c): Likewise.
27759 (RUN_TEST_LOOP_cc_c): Likewise.
27760 (RUN_TEST_f_i): Likewise.
27761 (RUN_TEST_LOOP_f_i): Likewise.
27762 (RUN_TEST_f_i_tg): Likewise.
27763 (RUN_TEST_LOOP_f_i_tg): Likewise.
27764 (RUN_TEST_ff_i_tg): Likewise.
27765 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27766 (RUN_TEST_f_b): Likewise.
27767 (RUN_TEST_LOOP_f_b): Likewise.
27768 (RUN_TEST_f_b_tg): Likewise.
27769 (RUN_TEST_LOOP_f_b_tg): Likewise.
27770 (RUN_TEST_f_l): Likewise.
27771 (RUN_TEST_LOOP_f_l): Likewise.
27772 (RUN_TEST_f_L): Likewise.
27773 (RUN_TEST_LOOP_f_L): Likewise.
27774 (RUN_TEST_sincos): Likewise.
27775 (RUN_TEST_LOOP_sincos): Likewise.
27777 2013-05-17 Joseph Myers <joseph@codesourcery.com>
27781 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27782 main case of finite arguments, set rounding mode to FE_TONEAREST
27783 and discard exceptions.
27784 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27786 (remainder_tonearest_test_data): New variable.
27787 (remainder_test_tonearest): New function.
27788 (remainder_towardzero_test_data): New variable.
27789 (remainder_test_towardzero): New function.
27790 (remainder_downward_test_data): New variable.
27791 (remainder_test_downward): New function.
27792 (remainder_upward_test_data): New variable.
27793 (remainder_test_upward): New function.
27794 (main): Call the new test functions.
27796 * math/libm-test.inc (struct test_f_f1_data): Remove field
27798 (struct test_fF_f1_data): Likewise.
27799 (struct test_ffI_f1_data): Likewise.
27800 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27801 based on value of EXTRA_EXPECTED.
27802 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27803 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27804 EXTRA_VAR based on value of EXTRA_EXPECTED.
27805 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27806 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27807 EXTRA_VAR based on value of EXTRA_EXPECTED.
27808 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27809 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27810 EXTRA_VAR based on value of EXTRA_EXPECTED.
27811 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27812 * math/gen-libm-test.pl (parse_args): Don't output initializers
27813 for extra output values.
27815 * math/libm-test.inc (check_int): Expect result to be exactly
27816 equal to expected value and do not handle ulps.
27817 (check_long): Likewise.
27818 (check_longlong): Likewise.
27820 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27822 (cimag_test_data): Likewise.
27823 (conj_test_data): Likewise.
27824 (copysign_test_data): Likewise.
27825 (cproj_test_data): Likewise.
27826 (creal_test_data): Likewise.
27827 (fabs_test_data): Likewise.
27828 (fdim_test_data): Likewise.
27829 (finite_test_data): Likewise.
27830 (floor_test_data): Likewise.
27831 (fmax_test_data): Likewise.
27832 (fmin_test_data): Likewise.
27833 (fmod_test_data): Likewise.
27834 (fpclassify_test_data): Likewise.
27835 (frexp_test_data): Likewise.
27836 (ilogb_test_data): Likewise.
27837 (isfinite_test_data): Likewise.
27838 (isgreater_test_data): Likewise.
27839 (isgreaterequal_test_data): Likewise.
27840 (isinf_test_data): Likewise.
27841 (isless_test_data): Likewise.
27842 (islessequal_test_data): Likewise.
27843 (islessgreater_test_data): Likewise.
27844 (isnan_test_data): Likewise.
27845 (isnormal_test_data): Likewise.
27846 (issignaling_test_data): Likewise.
27847 (isunordered_test_data): Likewise.
27848 (ldexp_test_data): Likewise.
27849 (lrint_test_data): Likewise.
27850 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27851 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27852 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27853 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27854 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27855 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27857 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27858 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27859 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27860 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27862 (lrint_downward_test_data): Test for "inexact" exceptions.
27863 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27864 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27865 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27867 (lrint_upward_test_data): Test for "inexact" exceptions.
27868 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27870 (llrint_test_data): Test for "inexact" exceptions.
27871 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27872 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27873 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27874 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27875 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27876 (llrint_downward_test_data): Test for "inexact" exceptions.
27877 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27878 (llrint_upward_test_data): Test for "inexact" exceptions.
27879 (logb_test_data): Likewise.
27880 (logb_downward_test_data): Likewise.
27881 (nextafter_test_data): Likewise.
27882 (nexttoward_test_data): Likewise.
27883 (remainder_test_data): Likewise.
27884 (remquo_test_data): Likewise.
27885 (scalbn_test_data): Likewise.
27886 (scalbln_test_data): Likewise.
27887 (signbit_test_data): Likewise.
27888 (sqrt_test_data): Likewise.
27889 (significand_test_data): Likewise.
27891 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27894 * benchtests/bench-modf.c (struct args): Mark arg0 as
27896 * scripts/bench.pl: Mark members of struct args as volatile.
27898 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27901 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27902 negative infinity on POWER6 or lower.
27903 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27905 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27908 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27909 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27910 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27911 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27912 (_FP_SETQNAN): New macro.
27913 (_FP_SETQNAN_SEMIRAW): Likewise.
27914 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27915 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27916 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27917 (FP_EXTEND): Use _FP_FRAC_SNANP.
27918 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27919 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27921 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27923 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27926 2013-05-16 Joseph Myers <joseph@codesourcery.com>
27928 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27929 with DIVIDE_BY_ZERO_EXCEPTION.
27930 (gamma_test_data): Likewise.
27931 (lgamma_test_data): Likewise.
27932 (log_test_data): Likewise.
27933 (log10_test_data): Likewise.
27934 (log2_test_data): Likewise.
27935 (tgamma_test_data): Likewise.
27937 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27938 (acos_test_tonearest): Likewise.
27939 (acos_test_towardzero): Likewise.
27940 (acos_test_downward): Likewise.
27941 (acos_test_upward): Likewise.
27942 (acosh_test): Likewise.
27943 (asin_test): Likewise.
27944 (asin_test_tonearest): Likewise.
27945 (asin_test_towardzero): Likewise.
27946 (asin_test_downward): Likewise.
27947 (asin_test_upward): Likewise.
27948 (asinh_test): Likewise.
27949 (atan_test): Likewise.
27950 (atanh_test): Likewise.
27951 (atan2_test): Likewise.
27952 (cabs_test): Likewise.
27953 (cacos_test): Likewise.
27954 (cacosh_test): Likewise.
27955 (casin_test): Likewise.
27956 (casinh_test): Likewise.
27957 (catan_test): Likewise.
27958 (catanh_test): Likewise.
27959 (cbrt_test): Likewise.
27960 (ccos_test): Likewise.
27961 (ccosh_test): Likewise.
27962 (cexp_test): Likewise.
27963 (clog_test): Likewise.
27964 (clog10_test): Likewise.
27965 (cos_test): Likewise.
27966 (cos_test_tonearest): Likewise.
27967 (cos_test_towardzero): Likewise.
27968 (cos_test_downward): Likewise.
27969 (cos_test_upward): Likewise.
27970 (cosh_test): Likewise.
27971 (cosh_test_tonearest): Likewise.
27972 (cosh_test_towardzero): Likewise.
27973 (cosh_test_downward): Likewise.
27974 (cosh_test_upward): Likewise.
27975 (cpow_test): Likewise.
27976 (csin_test): Likewise.
27977 (csinh_test): Likewise.
27978 (csqrt_test): Likewise.
27979 (ctan_test): Likewise.
27980 (ctan_test_tonearest): Likewise.
27981 (ctan_test_towardzero): Likewise.
27982 (ctan_test_downward): Likewise.
27983 (ctan_test_upward): Likewise.
27984 (ctanh_test): Likewise.
27985 (ctanh_test_tonearest): Likewise.
27986 (ctanh_test_towardzero): Likewise.
27987 (ctanh_test_downward): Likewise.
27988 (ctanh_test_upward): Likewise.
27989 (erf_test): Likewise.
27990 (erfc_test): Likewise.
27991 (exp_test): Likewise.
27992 (exp_test_tonearest): Likewise.
27993 (exp_test_towardzero): Likewise.
27994 (exp_test_downward): Likewise.
27995 (exp_test_upward): Likewise.
27996 (exp10_test): Likewise.
27997 (exp2_test): Likewise.
27998 (expm1_test): Likewise.
27999 (fmod_test): Likewise.
28000 (gamma_test): Likewise.
28001 (hypot_test): Likewise.
28002 (j0_test): Likewise.
28003 (j1_test): Likewise.
28004 (jn_test): Likewise.
28005 (lgamma_test): Likewise.
28006 (log_test): Likewise.
28007 (log10_test): Likewise.
28008 (log1p_test): Likewise.
28009 (log2_test): Likewise.
28010 (logb_test_downward): Likewise.
28011 (pow_test): Likewise.
28012 (pow_test_tonearest): Likewise.
28013 (pow_test_towardzero): Likewise.
28014 (pow_test_downward): Likewise.
28015 (pow_test_upward): Likewise.
28016 (remainder_test): Likewise.
28017 (remquo_test): Likewise.
28018 (sin_test): Likewise.
28019 (sin_test_tonearest): Likewise.
28020 (sin_test_towardzero): Likewise.
28021 (sin_test_downward): Likewise.
28022 (sin_test_upward): Likewise.
28023 (sincos_test): Likewise.
28024 (sinh_test): Likewise.
28025 (sinh_test_tonearest): Likewise.
28026 (sinh_test_towardzero): Likewise.
28027 (sinh_test_downward): Likewise.
28028 (sinh_test_upward): Likewise.
28029 (sqrt_test): Likewise.
28030 (tan_test): Likewise.
28031 (tan_test_tonearest): Likewise.
28032 (tan_test_towardzero): Likewise.
28033 (tan_test_downward): Likewise.
28034 (tan_test_upward): Likewise.
28035 (tanh_test): Likewise.
28036 (tgamma_test): Likewise.
28037 (y0_test): Likewise.
28038 (y1_test): Likewise.
28039 (yn_test): Likewise.
28041 * math/gen-libm-test.pl (adjust_arg): Remove function.
28042 (special_function): Remove argument $in_func. Only handle
28043 generating output for tables of tests, not inside functions.
28044 (parse_args): Likewise.
28045 (generate_testfile): Remove variable $in_func. Update call to
28047 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28048 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28049 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28050 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28051 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28052 (MAX_VALUE_INIT): Rename macro to max_value.
28053 (MIN_VALUE_INIT): Rename macro to min_value.
28054 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28055 (plus_zero): Remove variable.
28056 (minus_zero): Likewise.
28057 (plus_infty): Likewise.
28058 (minus_infty): Likewise.
28059 (qnan_value): Likewise.
28060 (max_value): Likewise.
28061 (min_value): Likewise.
28062 (min_subnorm_value): Likewise.
28064 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28066 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28067 uint64_t or uint32_t usage.
28068 * crypt/sha256-block.c: Likewise.
28069 * crypt/sha256-crypt.c: Likewise.
28070 * crypt/sha256.c: Likewise.
28071 * crypt/sha512-block.c: Likewise.
28072 * crypt/sha512-crypt.c: Likewise.
28073 * crypt/sha512.c: Likewise.
28074 * debug/backtrace-tst.c: Likewise.
28075 * debug/pcprofiledump.c: Likewise.
28076 * elf/cache.c: Likewise.
28077 * elf/dl-cache.c: Likewise.
28078 * elf/dl-misc.c: Likewise.
28079 * elf/dl-profile.c: Likewise.
28080 * elf/dl-support.c: Likewise.
28081 * elf/ldconfig.c: Likewise.
28082 * elf/sprof.c: Likewise.
28083 * iconv/dummy-repertoire.c: Likewise.
28084 * iconv/iconv_charmap.c: Likewise.
28085 * iconv/skeleton.c: Likewise.
28086 * iconvdata/8bit-generic.c: Likewise.
28087 * iconvdata/cp737.h: Likewise.
28088 * iconvdata/cp775.h: Likewise.
28089 * iconvdata/ibm1008.h: Likewise.
28090 * iconvdata/ibm1025.h: Likewise.
28091 * iconvdata/ibm1046.h: Likewise.
28092 * iconvdata/ibm1097.h: Likewise.
28093 * iconvdata/ibm1112.h: Likewise.
28094 * iconvdata/ibm1122.h: Likewise.
28095 * iconvdata/ibm1123.h: Likewise.
28096 * iconvdata/ibm1124.h: Likewise.
28097 * iconvdata/ibm1129.h: Likewise.
28098 * iconvdata/ibm1130.h: Likewise.
28099 * iconvdata/ibm1132.h: Likewise.
28100 * iconvdata/ibm1133.h: Likewise.
28101 * iconvdata/ibm1137.h: Likewise.
28102 * iconvdata/ibm1140.h: Likewise.
28103 * iconvdata/ibm1141.h: Likewise.
28104 * iconvdata/ibm1142.h: Likewise.
28105 * iconvdata/ibm1143.h: Likewise.
28106 * iconvdata/ibm1144.h: Likewise.
28107 * iconvdata/ibm1145.h: Likewise.
28108 * iconvdata/ibm1146.h: Likewise.
28109 * iconvdata/ibm1147.h: Likewise.
28110 * iconvdata/ibm1148.h: Likewise.
28111 * iconvdata/ibm1149.h: Likewise.
28112 * iconvdata/ibm1153.h: Likewise.
28113 * iconvdata/ibm1154.h: Likewise.
28114 * iconvdata/ibm1155.h: Likewise.
28115 * iconvdata/ibm1156.h: Likewise.
28116 * iconvdata/ibm1157.h: Likewise.
28117 * iconvdata/ibm1158.h: Likewise.
28118 * iconvdata/ibm1160.h: Likewise.
28119 * iconvdata/ibm1161.h: Likewise.
28120 * iconvdata/ibm1162.h: Likewise.
28121 * iconvdata/ibm1163.h: Likewise.
28122 * iconvdata/ibm1164.h: Likewise.
28123 * iconvdata/ibm1166.h: Likewise.
28124 * iconvdata/ibm1167.h: Likewise.
28125 * iconvdata/ibm12712.h: Likewise.
28126 * iconvdata/ibm1390.h: Likewise.
28127 * iconvdata/ibm1399.h: Likewise.
28128 * iconvdata/ibm16804.h: Likewise.
28129 * iconvdata/ibm4517.h: Likewise.
28130 * iconvdata/ibm4899.h: Likewise.
28131 * iconvdata/ibm4909.h: Likewise.
28132 * iconvdata/ibm4971.h: Likewise.
28133 * iconvdata/ibm5347.h: Likewise.
28134 * iconvdata/ibm803.h: Likewise.
28135 * iconvdata/ibm856.h: Likewise.
28136 * iconvdata/ibm901.h: Likewise.
28137 * iconvdata/ibm902.h: Likewise.
28138 * iconvdata/ibm9030.h: Likewise.
28139 * iconvdata/ibm9066.h: Likewise.
28140 * iconvdata/ibm921.h: Likewise.
28141 * iconvdata/ibm922.h: Likewise.
28142 * iconvdata/ibm9448.h: Likewise.
28143 * iconvdata/isiri-3342.h: Likewise.
28144 * iconvdata/jis0201.h: Likewise.
28145 * include/link.h: Likewise.
28146 * include/netdb.h: Likewise.
28147 * inet/check_native.c: Likewise.
28148 * inet/check_pf.c: Likewise.
28149 * inet/getipv4sourcefilter.c: Likewise.
28150 * inet/getnameinfo.c: Likewise.
28151 * inet/getsourcefilter.c: Likewise.
28152 * inet/htonl.c: Likewise.
28153 * inet/setipv4sourcefilter.c: Likewise.
28154 * inet/setsourcefilter.c: Likewise.
28155 * inet/test-inet6_opt.c: Likewise.
28156 * inet/tst-network.c: Likewise.
28157 * locale/C-collate.c: Likewise.
28158 * locale/C-ctype.c: Likewise.
28159 * locale/C-time.c: Likewise.
28160 * locale/C-translit.h: Likewise.
28161 * locale/loadarchive.c: Likewise.
28162 * locale/programs/3level.h: Likewise.
28163 * locale/programs/charmap.c: Likewise.
28164 * locale/programs/charmap.h: Likewise.
28165 * locale/programs/ld-address.c: Likewise.
28166 * locale/programs/ld-collate.c: Likewise.
28167 * locale/programs/ld-ctype.c: Likewise.
28168 * locale/programs/ld-identification.c: Likewise.
28169 * locale/programs/ld-measurement.c: Likewise.
28170 * locale/programs/ld-messages.c: Likewise.
28171 * locale/programs/ld-monetary.c: Likewise.
28172 * locale/programs/ld-name.c: Likewise.
28173 * locale/programs/ld-numeric.c: Likewise.
28174 * locale/programs/ld-paper.c: Likewise.
28175 * locale/programs/ld-telephone.c: Likewise.
28176 * locale/programs/ld-time.c: Likewise.
28177 * locale/programs/linereader.c: Likewise.
28178 * locale/programs/locale.c: Likewise.
28179 * locale/programs/locarchive.c: Likewise.
28180 * locale/programs/locfile.h: Likewise.
28181 * locale/programs/repertoire.c: Likewise.
28182 * locale/programs/simple-hash.c: Likewise.
28183 * locale/programs/simple-hash.h: Likewise.
28184 * malloc/memusage.c: Likewise.
28185 * malloc/memusagestat.c: Likewise.
28186 * nis/nis_defaults.c: Likewise.
28187 * nis/nis_hash.c: Likewise.
28188 * nis/nis_print.c: Likewise.
28189 * nis/nis_xdr.c: Likewise.
28190 * nscd/connections.c: Likewise.
28191 * nscd/hstcache.c: Likewise.
28192 * nscd/nscd_gethst_r.c: Likewise.
28193 * nscd/nscd_getserv_r.c: Likewise.
28194 * nscd/nscd_helper.c: Likewise.
28195 * nscd/servicescache.c: Likewise.
28196 * nss/makedb.c: Likewise.
28197 * nss/nss_db/db-XXX.c: Likewise.
28198 * nss/nss_db/db-initgroups.c: Likewise.
28199 * nss/nss_db/db-netgrp.c: Likewise.
28200 * nss/nss_files/files-network.c: Likewise.
28201 * nss/nss_files/files-parse.c: Likewise.
28202 * posix/bug-regex5.c: Likewise.
28203 * posix/fnmatch_loop.c: Likewise.
28204 * posix/regcomp.c: Likewise.
28205 * posix/regexec.c: Likewise.
28206 * posix/tst-rfc3484-2.c: Likewise.
28207 * posix/tst-rfc3484-3.c: Likewise.
28208 * posix/tst-rfc3484.c: Likewise.
28209 * resolv/nss_dns/dns-canon.c: Likewise.
28210 * resolv/nss_dns/dns-network.c: Likewise.
28211 * resolv/res_init.c: Likewise.
28212 * resolv/res_mkquery.c: Likewise.
28213 * resolv/tst-aton.c: Likewise.
28214 * stdlib/cxa_atexit.c: Likewise.
28215 * stdlib/cxa_finalize.c: Likewise.
28216 * stdlib/gen-fpioconst.c: Likewise.
28217 * stdlib/strtol_l.c: Likewise.
28218 * string/tst-endian.c: Likewise.
28219 * sunrpc/auth_des.c: Likewise.
28220 * sunrpc/clnt_udp.c: Likewise.
28221 * sunrpc/rtime.c: Likewise.
28222 * sunrpc/svcauth_des.c: Likewise.
28223 * sunrpc/xdr.c: Likewise.
28224 * sunrpc/xdr_intXX_t.c: Likewise.
28225 * sunrpc/xdr_rec.c: Likewise.
28226 * sysdeps/generic/ldconfig.h: Likewise.
28227 * sysdeps/generic/ldsodefs.h: Likewise.
28228 * sysdeps/generic/memusage.h: Likewise.
28229 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28230 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28231 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28232 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28233 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28234 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28235 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28236 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28237 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28238 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28239 * sysdeps/posix/getaddrinfo.c: Likewise.
28240 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28241 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28242 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28243 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28244 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28245 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28246 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28247 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28248 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28249 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28250 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28251 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28252 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28253 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28254 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28255 * sysdeps/x86_64/dl-tls.h: Likewise.
28256 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28257 * time/alt_digit.c: Likewise.
28258 * time/era.c: Likewise.
28259 * wcsmbs/tst-c16c32-1.c: Likewise.
28261 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28263 * math/libm-test.inc (struct test_sincos_data): New type.
28264 (RUN_TEST_LOOP_sincos): New macro.
28265 (sincos_test_data): New variable.
28266 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28268 2013-05-16 Richard Henderson <rth@redhat.com>
28270 * math/atest-exp2.c (LIMB64): New macro.
28271 (CONSTSZ): New macro.
28272 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28274 (print_mpn_fp): ... to function scope.
28275 (read_mpn_hex): Remove.
28276 (get_log2): Remove.
28277 (exp2_mpn): Use mp_log2.
28278 (main): Use mp_exp1.
28280 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28282 * math/libm-test.inc: Remove comment about not testing "inexact"
28284 (INEXACT_EXCEPTION): New macro.
28285 (NO_INEXACT_EXCEPTION): Likewise.
28286 (INVALID_EXCEPTION_OK): Update value.
28287 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28288 (OVERFLOW_EXCEPTION_OK): Likewise.
28289 (UNDERFLOW_EXCEPTION_OK): Likewise.
28290 (IGNORE_ZERO_INF_SIGN): Likewise.
28291 (ERRNO_UNCHANGED): Likewise.
28292 (ERRNO_EDOM): Likewise.
28293 (ERRNO_ERANGE): Likewise.
28294 (test_exceptions): Handle testing "inexact" exceptions.
28295 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28296 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28297 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28298 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28300 (rint_towardzero_test_data): Likewise.
28301 (rint_downward_test_data): Likewise.
28302 (rint_upward_test_data): Likewise.
28304 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28305 with OVERFLOW_EXCEPTION.
28306 (exp10_test_data): Likewise.
28307 (exp2_test_data): Likewise.
28308 (expm1_test_data): Likewise.
28309 (lgamma_test_data): Likewise.
28310 (pow_test_data): Likewise.
28311 (tgamma_test_data): Likewise.
28312 (yn_test_data): Remove duplicate test of overflow.
28314 * math/libm-test.inc (struct test_cc_c_data): New type.
28315 (RUN_TEST_LOOP_cc_c): New macro.
28316 (cpow_test_data): New variable.
28317 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28319 * math/libm-test.inc (struct test_f_L_data): New type.
28320 (RUN_TEST_LOOP_f_L): New macro.
28321 (llrint_test_data): New variable.
28322 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28323 (llrint_tonearest_test_data): New variable.
28324 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28325 (llrint_towardzero_test_data): New variable.
28326 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28327 (llrint_downward_test_data): New variable.
28328 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28329 (llrint_upward_test_data): New variable.
28330 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28331 (llround_test_data): New variable.
28332 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28334 2013-05-13 Peter Collingbourne <pcc@google.com>
28336 * math/atest-exp2.c (get_log2): Remove const attribute.
28338 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28340 * math/libm-test.inc (struct test_f_l_data): New type.
28341 (RUN_TEST_LOOP_f_l): New macro.
28342 (lrint_test_data): New variable.
28343 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28344 (lrint_tonearest_test_data): New variable.
28345 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28346 (lrint_towardzero_test_data): New variable.
28347 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28348 (lrint_downward_test_data): New variable.
28349 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28350 (lrint_upward_test_data): New variable.
28351 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28352 (lround_test_data): New variable.
28353 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28355 2013-05-15 Peter Collingbourne <pcc@google.com>
28357 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28358 (EXTRACT_WORDS64) Use where appropriate.
28359 (INSERT_WORDS64) Likewise.
28361 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28362 constraints with x constraints.
28363 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28365 * malloc/obstack.c (_obstack_compat): Add initializer.
28367 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28369 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28370 si_trapno and add si_addr_lsb to _sifields.sigfault.
28371 (si_trapno): Remove macro.
28372 (si_addr_lsb): Define new macro.
28373 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28375 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28377 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28378 instead of TEST_f_l.
28379 (llrint_test_tonearest): Likewise.
28380 (llrint_test_towardzero): Likewise.
28381 (llrint_test_downward): Likewise.
28382 (llrint_test_upward): Likewise.
28383 (llround_test): Likewise.
28385 * math/libm-test.inc (struct test_f_i_data): Add comment.
28386 (RUN_TEST_LOOP_f_b): New macro.
28387 (RUN_TEST_LOOP_f_b_tg): Likewise.
28388 (finite_test_data): New variable.
28389 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28390 (isfinite_test_data): New variable.
28391 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28392 (isinf_test_data): New variable.
28393 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28394 (isnan_test_data): New variable.
28395 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28396 (isnormal_test_data): New variable.
28397 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28398 (issignaling_test_data): New variable.
28399 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28400 (signbit_test_data): New variable.
28401 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28403 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28404 with INVALID_EXCEPTION.
28405 (acosh_test_data): Likewise.
28406 (asin_test_data): Likewise.
28407 (atanh_test_data): Likewise.
28408 (fmod_test_data): Likewise.
28409 (log_test_data): Likewise.
28410 (log10_test_data): Likewise.
28411 (log2_test_data): Likewise.
28412 (pow_test_data): Likewise.
28413 (sqrt_test_data): Likewise.
28414 (y0_test_data): Likewise.
28415 (y1_test_data): Likewise.
28416 (yn_test_data): Likewise.
28418 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28421 * math/libm-test.inc (struct test_ff_i_data): New type.
28422 (RUN_TEST_LOOP_ff_i_tg): New macro.
28423 (isgreater_test_data): New variable.
28424 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28425 (isgreaterequal_test_data): New variable.
28426 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28427 (isless_test_data): New variable.
28428 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28429 (islessequal_test_data): New variable.
28430 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28431 (islessgreater_test_data): New variable.
28432 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28433 (isunordered_test_data): New variable.
28434 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28436 2013-05-14 David S. Miller <davem@davemloft.net>
28438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28440 2013-05-14 Joseph Myers <joseph@codesourcery.com>
28442 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28444 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28446 (struct test_f_i_data): Change type of max_ulp to int.
28448 * math/libm-test.inc (test_ffI_f1_data): New type.
28449 (RUN_TEST_LOOP_ffI_f1): New macro.
28450 (remquo_test_data): New variable.
28451 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28453 * setjmp/tst-setjmp-fp.c: New file.
28454 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28455 (link-libm): New variable.
28456 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28458 * math/libm-test.inc (struct test_f_i_data): New type.
28459 (RUN_TEST_LOOP_f_i): New macro.
28460 (RUN_TEST_LOOP_f_i_tg): Likewise.
28461 (fpclassify_test_data): New variable.
28462 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28463 (ilogb_test_data): New variable.
28464 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28466 * math/libm-test.inc (scalbln_test): Correct function name in END
28469 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28470 (RUN_TEST_LOOP_fI_f1): New macro.
28471 (frexp_test_data): New variable.
28472 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28474 * math/libm-test.inc (struct test_fF_f1_data): New type.
28475 (RUN_TEST_LOOP_fF_f1): New macro.
28476 (modf_test_data): New variable.
28477 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28479 * math/libm-test.inc (struct test_f_f1_data): New type.
28480 (RUN_TEST_LOOP_f_f1): New macro.
28481 (gamma_test_data): New variable.
28482 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28483 (lgamma_test_data): New variable.
28484 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28486 2013-05-13 Carlos O'Donell <carlos@redhat.com>
28488 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28489 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28490 (main): Comment "tls" pseudo-hwcap.
28492 2013-05-13 Joseph Myers <joseph@codesourcery.com>
28494 * math/libm-test.inc (struct test_fl_f_data): New type.
28495 (RUN_TEST_LOOP_fl_f): New variable.
28496 (scalbln_test_data): New variable.
28497 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28499 * math/libm-test.inc (struct test_fi_f_data): New type.
28500 (RUN_TEST_LOOP_fi_f): New macro.
28501 (ldexp_test_data): New variable.
28502 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28503 (scalbn_test_data): New variable.
28504 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28506 * math/libm-test.inc (struct test_c_f_data): New type.
28507 (RUN_TEST_LOOP_c_f): New macro.
28508 (cabs_test_data): New variable.
28509 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28510 (carg_test_data): New variable.
28511 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28512 (cimag_test_data): New variable.
28513 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28514 (creal_test_data): New variable.
28515 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28517 * math/libm-test.inc (struct test_if_f_data): New type.
28518 (RUN_TEST_LOOP_if_f): New macro.
28519 (jn_test_data): New variable.
28520 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28521 (yn_test_data): New variable.
28522 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28524 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28526 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28528 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28529 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28531 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28533 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28534 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28535 (bench-deps): Add bench-timing.h.
28536 * benchtests-bench-skeleton.c: Include bench-timing.h.
28537 (main): Use TIMING_* macros instead of clock_gettime.
28538 * benchtests/bench-timing.h: New file.
28541 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28542 Renamed from _LIB_VERSION.
28543 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28545 2013-05-12 Joseph Myers <joseph@codesourcery.com>
28547 * math/libm-test.inc (struct test_fff_f_data): New type.
28548 (RUN_TEST_LOOP_fff_f): New macro.
28549 (fma_test_data): New variable.
28550 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28551 (fma_towardzero_test_data): New variable.
28552 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28553 (fma_downward_test_data): New variable.
28554 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28555 (fma_upward_test_data): New variable.
28556 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28558 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28559 (struct test_c_c_data): New type.
28560 (RUN_TEST_LOOP_c_c): New macro.
28561 (cacos_test_data): New variable.
28562 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28563 (cacosh_test_data): New variable.
28564 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28565 (casin_test_data): New variable.
28566 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28567 (casinh_test_data): New variable.
28568 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28569 (catan_test_data): New variable.
28570 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28571 (catanh_test_data): New variable.
28572 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28573 (ccos_test_data): New variable.
28574 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28575 (ccosh_test_data): New variable.
28576 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28577 (cexp_test_data): New variable.
28578 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28579 (clog_test_data): New variable.
28580 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28581 (clog10_test_data): New variable.
28582 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28583 (conj_test_data): New variable.
28584 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28585 (cproj_test_data): New variable.
28586 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28587 (csin_test_data): New variable.
28588 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28589 (csinh_test_data): New variable.
28590 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28591 (csqrt_test_data): New variable.
28592 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28593 (ctan_test_data): New variable.
28594 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28595 (ctan_tonearest_test_data): New variable.
28596 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28597 (ctan_towardzero_test_data): New variable.
28598 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28599 (ctan_downward_test_data): New variable.
28600 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28601 (ctan_upward_test_data): New variable.
28602 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28603 (ctanh_test_data): New variable.
28604 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28605 (ctanh_tonearest_test_data): New variable.
28606 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28607 (ctanh_towardzero_test_data): New variable.
28608 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28609 (ctanh_downward_test_data): New variable.
28610 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28611 (ctanh_upward_test_data): New variable.
28612 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28613 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28616 * math/libm-test.inc (struct test_ff_f_data): New type.
28617 (struct test_ff_f_data_nexttoward): Likewise.
28618 (RUN_TEST_LOOP_2_f): New macro.
28619 (RUN_TEST_LOOP_ff_f): Likewise.
28620 (atan2_test_data): New variable.
28621 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28622 (copysign_test_data): New variable.
28623 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28624 (fdim_test_data): New variable.
28625 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28626 (fmax_test_data): New variable.
28627 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28628 (fmin_test_data): New variable.
28629 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28630 (fmod_test_data): New variable.
28631 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28632 (hypot_test_data): New variable.
28633 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28634 (nextafter_test_data): New variable.
28635 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28636 (nexttoward_test_data): New variable.
28637 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28638 (pow_test_data): New variable.
28639 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28640 (pow_tonearest_test_data): New variable.
28641 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28642 (pow_towardzero_test_data): New variable.
28643 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28644 (pow_downward_test_data): New variable.
28645 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28646 (pow_upward_test_data): New variable.
28647 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28648 (remainder_test_data): New variable.
28649 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28650 (scalb_test_data): New variable.
28651 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28652 * sysdeps/i386/fpu/libm-test-ulps: Update.
28654 2013-05-11 Joseph Myers <joseph@codesourcery.com>
28656 * math/libm-test.inc (fma_test): Use max_value instead of local
28658 (nextafter_test): Likewise.
28660 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28661 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28662 (acos_downward_test_data): New variable.
28663 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28664 (acos_upward_test_data): New variable.
28665 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28666 (acosh_test_data): New variable.
28667 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28668 (asin_test_data): New variable.
28669 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28670 (asin_tonearest_test_data): New variable.
28671 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28672 (asin_towardzero_test_data): New variable.
28673 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28674 (asin_downward_test_data): New variable.
28675 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28676 (asin_upward_test_data): New variable.
28677 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28678 (asinh_test_data): New variable.
28679 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28680 (atan_test_data): New variable.
28681 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28682 (atanh_test_data): New variable.
28683 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28684 (cbrt_test_data): New variable.
28685 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28686 (ceil_test_data): New variable.
28687 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28688 (cos_test_data): New variable.
28689 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28690 (cos_tonearest_test_data): New variable.
28691 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28692 (cos_towardzero_test_data): New variable.
28693 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28694 (cos_downward_test_data): New variable.
28695 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28696 (cos_upward_test_data): New variable.
28697 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28698 (cosh_test_data): New variable.
28699 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28700 (cosh_tonearest_test_data): New variable.
28701 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28702 (cosh_towardzero_test_data): New variable.
28703 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28704 (cosh_downward_test_data): New variable.
28705 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28706 (cosh_upward_test_data): New variable.
28707 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28708 (erf_test_data): New variable.
28709 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28710 (erfc_test_data): New variable.
28711 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28712 (exp_test_data): New variable.
28713 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28714 (exp_tonearest_test_data): New variable.
28715 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28716 (exp_towardzero_test_data): New variable.
28717 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28718 (exp_downward_test_data): New variable.
28719 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28720 (exp_upward_test_data): New variable.
28721 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28722 (exp10_test_data): New variable.
28723 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28724 (exp2_test_data): New variable.
28725 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28726 (expm1_test_data): New variable.
28727 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28728 (fabs_test_data): New variable.
28729 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28730 (floor_test_data): New variable.
28731 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28732 (j0_test_data): New variable.
28733 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28734 (j1_test_data): New variable.
28735 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28736 (log_test_data): New variable.
28737 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28738 (log10_test_data): New variable.
28739 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28740 (log1p_test_data): New variable.
28741 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28742 (log2_test_data): New variable.
28743 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28744 (logb_test_data): New variable.
28745 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28746 (logb_downward_test_data): New variable.
28747 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28748 (nearbyint_test_data): New variable.
28749 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28750 (rint_test_data): New variable.
28751 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28752 (rint_tonearest_test_data): New variable.
28753 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28754 (rint_towardzero_test_data): New variable.
28755 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28756 (rint_downward_test_data): New variable.
28757 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28758 (rint_upward_test_data): New variable.
28759 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28760 (round_test_data): New variable.
28761 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28762 (sin_test_data): New variable.
28763 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28764 (sin_tonearest_test_data): New variable.
28765 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28766 (sin_towardzero_test_data): New variable.
28767 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28768 (sin_downward_test_data): New variable.
28769 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28770 (sin_upward_test_data): New variable.
28771 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28772 (sinh_test_data): New variable.
28773 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28774 (sinh_tonearest_test_data): New variable.
28775 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28776 (sinh_towardzero_test_data): New variable.
28777 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28778 (sinh_downward_test_data): New variable.
28779 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28780 (sinh_upward_test_data): New variable.
28781 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28782 (sqrt_test_data): New variable.
28783 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28784 (tan_test_data): New variable.
28785 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28786 (tan_tonearest_test_data): New variable.
28787 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28788 (tan_towardzero_test_data): New variable.
28789 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28790 (tan_downward_test_data): New variable.
28791 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28792 (tan_upward_test_data): New variable.
28793 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28794 (tanh_test_data): New variable.
28795 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28796 (tgamma_test_data): New variable.
28797 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28798 (trunc_test_data): New variable.
28799 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28800 (y0_test_data): New variable.
28801 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28802 (y1_test_data): New variable.
28803 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28804 (significand_test_data): New variable.
28805 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28807 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28810 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28812 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28814 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28816 2013-05-10 Andreas Jaeger <aj@suse.de>
28819 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28820 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28822 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28824 * math/gen-libm-test.pl (adjust_arg): New function.
28825 (special_functions): Handle generating output in both functions
28827 (parse_args): Likewise.
28828 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28829 $in_func argument to parse_args.
28830 * math/libm-test.inc (struct test_f_f_data): New type.
28831 (IF_ROUND_INIT_): New macro.
28832 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28833 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28834 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28835 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28836 (ROUND_RESTORE_): Likewise.
28837 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28838 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28839 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28840 (ROUND_RESTORE_FE_UPWARD): Likewise.
28841 (RUN_TEST_LOOP_f_f): New macro.
28842 (acos_test_data): New variable.
28843 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28844 (acos_tonearest_test_data): New variable.
28845 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28847 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28849 * benchtests/bench-skeleton.c (startup): Fix coding style.
28851 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28854 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28855 negative infinity argument.
28856 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28857 negative infinity argument.
28858 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28859 negative infinity argument.
28860 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28863 2013-05-10 Florian Weimer <fweimer@redhat.com>
28865 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28866 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28867 * iconv/iconv_prog.c (main): Likewise.
28868 * locale/programs/charmap-dir.c (charmap_readdir)
28869 (fopen_uncompressed): Likewise.
28870 * locale/programs/locfile.c (siblings_uncached)
28871 (write_locale_data): Use lstat64 instead of lstat.
28872 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28875 2013-05-10 Andreas Jaeger <aj@suse.de>
28878 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28880 Include <locale.h>.
28882 2013-05-09 Carlos O'Donell <carlos@redhat.com>
28884 * elf/dl-close.c (_dl_close_worker): Add comments.
28886 2013-05-09 Joseph Myers <joseph@codesourcery.com>
28889 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28891 (__ieee754_rem_pio2l): Update comments.
28894 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28896 (__ieee754_rem_pio2l): Update comments.
28898 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28899 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28901 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28904 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28905 (M_PI_34_LOG10El): Likewise.
28906 (M_PI2_LOG10El): Likewise.
28907 (M_PI4_LOG10El): Likewise.
28908 (M_PI_LOG10El): Likewise.
28910 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28914 2013-05-08 Joseph Myers <joseph@codesourcery.com>
28916 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28917 (MINUS_ZERO_INIT): Likewise.
28918 (PLUS_INFTY_INIT): Likewise.
28919 (MINUS_INFTY_INIT): Likewise.
28920 (QNAN_VALUE_INIT): Likewise.
28921 (MAX_VALUE_INIT): Likewise.
28922 (MIN_VALUE_INIT): Likewise.
28923 (MIN_SUBNORM_VALUE_INIT): Likewise.
28924 (plus_zero): Initialize with PLUS_ZERO_INIT.
28925 (minus_zero): Initialize with MINUS_ZERO_INIT.
28926 (plus_infty): Initialize with PLUS_INFTY_INIT.
28927 (minus_infty): Initialize with MINUS_INFTY_INIT.
28928 (qnan_value): Initialize with QNAN_VALUE_INIT.
28929 (max_value): Initialize with MAX_VALUE_INIT.
28930 (min_value): Initialize with MIN_VALUE_INIT.
28931 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28933 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28934 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28935 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28936 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28938 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28939 (RUN_TEST_2_f): Likewise.
28940 (RUN_TEST_ff_f): Likewise.
28941 (RUN_TEST_fi_f): Likewise.
28942 (RUN_TEST_fl_f): Likewise.
28943 (RUN_TEST_fff_f): Likewise.
28944 (RUN_TEST_c_f): Likewise.
28945 (RUN_TEST_f_f1): Likewise.
28946 (RUN_TEST_fF_f1): Likewise.
28947 (RUN_TEST_fI_f1): Likewise.
28948 (RUN_TEST_ffI_f1): Likewise.
28949 (RUN_TEST_c_c): Likewise.
28950 (RUN_TEST_cc_c): Likewise.
28951 (RUN_TEST_f_i): Likewise.
28952 (RUN_TEST_f_i_tg): Likewise.
28953 (RUN_TEST_ff_i_tg): Likewise.
28954 (RUN_TEST_f_b): Likewise.
28955 (RUN_TEST_f_b_tg): Likewise.
28956 (RUN_TEST_f_l): Likewise.
28957 (RUN_TEST_f_L): Likewise.
28958 (RUN_TEST_sincos): Likewise.
28959 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28960 whether to show exceptions. Do not include ");\n" in return
28962 (special_functions): Output call to RUN_TEST_sincos instead of
28963 check_float calls. Update calls to new_test.
28964 (parse_args): Output call to single RUN_TEST_* macro instead of
28965 check_* calls and other assignments. Update calls to new_test.
28971 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28972 input to result for tgamma overflow.
28973 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28974 (gamma_coeff): New variable.
28975 (NCOEFF): New macro.
28976 (gamma_positive): New function.
28977 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28978 underflow here. Use gamma_positive instead of exp (lgamma) for
28980 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28981 (gamma_coeff): New variable.
28982 (NCOEFF): New macro.
28983 (gammaf_positive): New function.
28984 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28985 underflow here. Use gamma_positive instead of exp (lgamma) for
28987 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28988 (gamma_coeff): New variable.
28989 (NCOEFF): New macro.
28990 (gammal_positive): New function.
28991 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28992 underflow here. Use gamma_positive instead of exp (lgamma) for
28994 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28995 (gamma_coeff): New variable.
28996 (NCOEFF): New macro.
28997 (gammal_positive): New function.
28998 (__ieee754_gammal_r): Handle positive infinity, overflow and
28999 underflow here. Handle NaN the same as positive infinity. Remove
29000 check x < 0xffffffff for negative integers. Use gamma_positive
29001 instead of exp (lgamma) for other arguments.
29002 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29003 (gamma_coeff): New variable.
29004 (NCOEFF): New macro.
29005 (gammal_positive): New function.
29006 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29007 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29008 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29009 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29010 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29011 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29012 * sysdeps/generic/math_private.h (__gamma_productf): New
29014 (__gamma_product): Likewise.
29015 (__gamma_productl): Likewise.
29016 * math/Makefile (libm-calls): Add gamma_product.
29017 * math/libm-test.inc (tgamma_test): Add more tests.
29018 * sysdeps/i386/fpu/libm-test-ulps: Update.
29019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29021 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
29023 * benchtests/bench-skeleton.c (main): Preheat CPU.
29025 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29027 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29029 2013-05-07 Roland McGrath <roland@hack.frob.com>
29031 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29032 and _dl_skip_args_internal.
29034 2013-05-07 Carlos O'Donell <carlos@redhat.com>
29036 * manual/message.texi (Message Translation): Talk about users.
29037 Message to key mapping impacts design.
29039 2013-05-06 Roland McGrath <roland@hack.frob.com>
29041 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29043 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29045 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29046 * sysdeps/wordsize-64/glob64.c: ... here.
29048 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29049 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29052 * debug/getlogin_r_chk.c: Moved to ...
29053 * login/getlogin_r_chk.c: ... here.
29054 * debug/Makefile (routines): Move getlogin_r_chk to ...
29055 * login/Makefile (routines): ... here.
29056 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29057 * login/Versions (libc: GLIBC_2.4): ... here.
29059 * io/poll.c (__poll): Renamed from poll.
29060 Add libc_hidden_def.
29061 (poll): Define as weak alias.
29063 * debug/ptsname_r_chk.c: Moved to ...
29064 * login/ptsname_r_chk.c: ... here.
29065 * debug/Makefile (routines): Move ptsname_r_chk to ...
29066 * login/Makefile (routines): ... here.
29067 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29068 * login/Versions (libc: GLIBC_2.4): ... here.
29070 * posix/getlogin.c: Moved to ...
29071 * login/getlogin.c: ... here.
29072 * posix/getlogin_r.c: Moved to ...
29073 * login/getlogin_r.c: ... here.
29074 * posix/getlogin_r.c: Moved to ...
29075 * login/getlogin_r.c: ... here.
29076 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29077 * login/Makefile (routines): ... here.
29078 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29079 * login/Versions (libc: GLIBC_2.0): ... here.
29081 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29082 (setrlimit): Define as weak alias.
29084 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29085 Call __ names for open, ftruncate, and close.
29086 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29087 (truncate): Define as weak alias.
29089 2013-05-06 Joseph Myers <joseph@codesourcery.com>
29091 * math/gen-libm-test.pl (parse_args): Initialize x before each
29092 test of frexp, modf and remquo.
29094 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29095 test signgam value.
29097 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29101 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29103 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29105 2013-05-06 Roland McGrath <roland@hack.frob.com>
29107 * elf/dl-writev.h: New file.
29108 * elf/dl-misc.c: Include it.
29109 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29110 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29112 2013-05-04 Joseph Myers <joseph@codesourcery.com>
29114 * math/libm-test.inc (noXFails): Remove variable.
29115 (noXPasses): Likewise.
29116 (BUILD_COMPLEX_INT): Remove macro.
29117 (print_screen): Remove xfail argument.
29118 (print_screen_max_error): Likewise.
29119 (update_stats): Likewise.
29120 (print_max_error): Likewise. Update calls to other affected
29122 (print_complex_max_error): Likewise.
29123 (test_single_exception): Update calls to print_screen.
29124 (test_single_errno): Likewise.
29125 (check_float_internal): Remove xfail argument. Update calls to
29126 other affected functions.
29127 (check_float): Likewise.
29128 (check_complex): Likewise.
29129 (check_int): Likewise.
29130 (check_long): Likewise.
29131 (check_bool): Likewise.
29132 (check_longlong): Likewise.
29133 (main): Don't print noXFails and noXPasses.
29134 * math/gen-libm-test.pl (top level): Don't mention expected
29135 failure handling in comment.
29136 (new_test): Don't handle expected failures.
29137 (parse_args): Don't mention expected failure handling in comment.
29138 (generate_testfile): Don't handle expected failures.
29139 (parse_ulps): Likewise.
29140 (print_ulps_file): Likewise.
29141 (get_failure): Remove function.
29142 (output_test): Don't handle expected failures.
29143 * make/README.libm-test: Don't mention expected failure handling.
29145 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29146 (minus_zero): Likewise.
29147 (plus_infty): Likewise.
29148 (minus_infty): Likewise.
29149 (qnan_value): Likewise.
29150 (max_value): Likewise.
29151 (min_value): Likewise.
29152 (min_subnorm_value): Likewise.
29153 (initialize): Do not initialize those variables dynamically.
29155 2013-05-03 Roland McGrath <roland@hack.frob.com>
29157 * io/open.c (__open_2): Moved to ...
29158 * io/open_2.c: ... this new file.
29159 * io/open64.c (__open64_2): Moved to ...
29160 * io/open64_2.c: ... this new file.
29161 * io/openat.c (__openat_2): Moved to ...
29162 * io/openat_2.c: ... this new file.
29163 * io/openat64.c (__openat64_2): Moved to ...
29164 * io/openat64_2.c: ... this new file.
29165 * io/Makefile (routines): Add them.
29166 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29167 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29168 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29169 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29170 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29171 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29172 (__openat64): Add hidden_ver.
29173 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29174 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29176 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29177 Separately conditionalize setting of GLRO(dl_sysinfo) so
29178 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29179 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29181 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29183 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29184 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29186 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29187 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29188 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29189 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29190 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29192 2013-05-03 Joseph Myers <joseph@codesourcery.com>
29194 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29195 test signgam value.
29197 * math/libm-test.inc (hypot_test): Do not use
29198 IGNORE_ZERO_INF_SIGN.
29200 2013-05-03 Andreas Jaeger <aj@suse.de>
29202 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29204 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29205 (PF_MAX): Adjust for VSOCK change.
29207 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29211 2013-05-02 Carlos O'Donell <carlos@redhat.com>
29214 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29215 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29216 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29218 2013-05-02 David S. Miller <davem@davemloft.net>
29220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29222 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
29224 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29226 2013-05-01 Roland McGrath <roland@hack.frob.com>
29228 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29230 2013-05-01 Richard Smith <richard@metafoo.co.uk>
29233 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29234 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29235 Use __attribute__ ((__gnu_inline__)).
29236 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29237 Don't use __attribute__ ((__gnu_inline__)).
29239 2013-05-01 Joseph Myers <joseph@codesourcery.com>
29242 * math/s_catan.c (__catan): Handle small real or imaginary part of
29243 input specially to avoid spurious underflow.
29244 * math/s_catanf.c (__catanf): Likewise.
29245 * math/s_catanh.c (__catanh): Likewise.
29246 * math/s_catanhf.c (__catanhf): Likewise.
29247 * math/s_catanhl.c (__catanhl): Likewise.
29248 * math/s_catanl.c (__catanl): Likewise.
29249 * math/libm-test.inc (catan_test): Add more tests.
29250 (catanh_test): Likewise.
29251 * sysdeps/i386/fpu/libm-test-ulps: Update.
29252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29254 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29258 2013-04-30 Joseph Myers <joseph@codesourcery.com>
29261 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29262 accurately for denominator in atan2.
29263 * math/s_catanf.c (__catanf): Likewise.
29264 * math/s_catanh.c (__catanh): Likewise.
29265 * math/s_catanhf.c (__catanhf): Likewise.
29266 * math/s_catanhl.c (__catanhl): Likewise.
29267 * math/s_catanl.c (__catanl): Likewise.
29268 * math/libm-test.inc (catan_test): Add more tests.
29269 (catanh_test): Likewise.
29270 * sysdeps/i386/fpu/libm-test-ulps: Update.
29271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29273 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29275 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29277 * benchtests/Makefile (bench): Remove slow benchmarks.
29278 * benchtests/atan-inputs: Add slow benchmark inputs.
29279 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29280 (BENCH_FUNC): Accept variant offset.
29282 * benchtests/bench-skeleton.c (main): Run benchmark for each
29284 * benchtests/cos-inputs: Add slow benchmark inputs.
29285 * benchtests/exp-inputs: Likewise.
29286 * benchtests/pow-inputs: Likewise.
29287 * benchtests/sin-inputs: Likewise.
29288 * benchtests/slowatan-inputs: Remove.
29289 * benchtests/slowatan.c: Remove.
29290 * benchtests/slowcos-inputs: Remove.
29291 * benchtests/slowcos.c: Remove.
29292 * benchtests/slowexp-inputs: Remove.
29293 * benchtests/slowexp.c: Remove.
29294 * benchtests/slowpow-inputs: Remove.
29295 * benchtests/slowpow.c: Remove.
29296 * benchtests/slowsin-inputs: Remove.
29297 * benchtests/slowsin.c: Remove.
29298 * benchtests/slowtan-inputs: Remove.
29299 * benchtests/slowtan.c: Remove.
29300 * benchtests/tan-inputs: Add slow benchmark inputs.
29301 * scripts/bench.pl: Parse comments and directives.
29303 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29305 ($(objpfx)bench-%.c): Remove *-ITER.
29306 * benchtests/bench-modf.c: Remove definition of ITER.
29307 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29308 (main): Loop for DURATION seconds instead of fixed number of
29310 * scripts/bench.pl: Don't expect iterations in parameters.
29312 2013-04-29 Roland McGrath <roland@hack.frob.com>
29314 * io/fchdir.c (__fchdir): Renamed from fchdir.
29315 (fchdir): Define as weak alias.
29317 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29319 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29320 (ERRNO_EDOM): Likewise.
29321 (ERRNO_ERANGE): Likewise.
29322 (noErrnoTests): New variable.
29323 (init_max_error): Set errno to 0.
29324 (test_single_errno): New function.
29325 (test_errno): Likewise.
29326 (check_float_internal): Call test_errno. Set errno to 0.
29327 (check_complex): Refer to errno tests in comment.
29328 (check_int): Call test_errno. Set errno to 0.
29329 (check_long): Likewise.
29330 (check_bool): Likewise.
29331 (check_longlong): Likewise.
29332 (cos_test): Use ERRNO_* flags for errno tests instead of
29334 (expm1_test): Likewise.
29335 (fmod_test): Likewise.
29336 (ilogb_test): Likewise.
29337 (lgamma_test): Likewise.
29338 (pow_test): Likewise.
29339 (remainder_test): Likewise.
29340 (sin_test): Likewise.
29341 (tan_test): Likewise.
29342 (yn_test): Likewise.
29343 (initialize): Set errno to 0.
29344 (main): Print number of errno tests.
29345 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29347 2013-04-29 Andreas Jaeger <aj@suse.de>
29350 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29354 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29355 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29359 * stdlib/random.c (__initstate): Return NULL if
29363 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29364 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29367 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29371 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29373 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29374 of individual tests.
29375 (casin_test): Likewise.
29376 (casinh_test): Likewise.
29378 2013-04-27 Joseph Myers <joseph@codesourcery.com>
29381 * math/s_catan.c (__catan): Handle arguments with large real or
29382 imaginary part separately without squaring.
29383 * math/s_catanf.c (__catanf): Likewise.
29384 * math/s_catanh.c (__catanh): Likewise.
29385 * math/s_catanhf.c (__catanhf): Likewise.
29386 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29388 (__catanhl): Handle arguments with large real or imaginary part
29389 separately without squaring.
29390 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29392 (__catanl): Handle arguments with large real or imaginary part
29393 separately without squaring.
29394 * math/libm-test.inc (catan_test): Add more tests.
29395 (catanh_test): Likewise.
29396 * sysdeps/i386/fpu/libm-test-ulps: Update.
29397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29399 2013-04-27 Andreas Jaeger <aj@suse.de>
29402 * stdlib/stdlib.h: Update guards for qecvt.
29403 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29406 2013-04-27 Allan McRae <allan@archlinux.org>
29408 * sysdeps/i386/fpu/libm-test-ulps: Update.
29410 2013-04-26 Joseph Myers <joseph@codesourcery.com>
29413 * math/s_catan.c: Include <float.h>.
29414 (__catan): Ensure underflow exception occurs for underflowed
29416 * math/s_catanf.c: Include <float.h>.
29417 (__catanf): Ensure underflow exception occurs for underflowed
29419 * math/s_catanh.c: Include <float.h>.
29420 (__catanh): Ensure underflow exception occurs for underflowed
29422 * math/s_catanhf.c: Include <float.h>.
29423 (__catanhf): Ensure underflow exception occurs for underflowed
29425 * math/s_catanhl.c: Include <float.h>.
29426 (__catanhl): Ensure underflow exception occurs for underflowed
29428 * math/s_catanl.c: Include <float.h>.
29429 (__catanl): Ensure underflow exception occurs for underflowed
29431 * math/libm-test.inc (catan_test): Add more tests.
29432 (catanh_test): Likewise.
29435 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29436 underflowed result.
29437 * math/s_ccoshf.c (__ccoshf): Likewise.
29438 * math/s_ccoshl.c (__ccoshl): Likewise.
29439 * math/s_csin.c (__csin): Likewise.
29440 * math/s_csinf.c (__csinf): Likewise.
29441 * math/s_csinh.c (__csinh): Likewise.
29442 * math/s_csinhf.c (__csinhf): Likewise.
29443 * math/s_csinhl.c (__csinhl): Likewise.
29444 * math/s_csinl.c (__csinl): Likewise.
29445 * math/libm-test.inc (ccos_test): Add more tests.
29446 (ccosh_test): Likewise.
29447 (csin_test): Likewise.
29448 (csinh_test): Likewise.
29450 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29452 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29453 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29454 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29455 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29456 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29457 powerpc/power5+/fpu folders.
29458 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29461 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29465 2013-04-25 Joseph Myers <joseph@codesourcery.com>
29467 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29468 additions to variable.
29469 [$(config-machine) = x86_64] (modules-names): Likewise.
29470 ($(objpfx)tst-audit3): Remove dependency.
29471 ($(objpfx)tst-audit3.out): Likewise.
29472 ($(objpfx)tst-audit4): Likewise.
29473 ($(objpfx)tst-audit4.out): Likewise.
29474 ($(objpfx)tst-audit5): Likewise.
29475 ($(objpfx)tst-audit5.out): Likewise.
29476 ($(objpfx)tst-audit6): Likewise.
29477 ($(objpfx)tst-audit6.out): Likewise.
29478 ($(objpfx)tst-audit7): Likewise.
29479 ($(objpfx)tst-audit7.out): Likewise.
29480 (tst-audit3-ENV): Remove variable.
29481 (tst-audit4-ENV): Likewise.
29482 (tst-audit5-ENV): Likewise.
29483 (tst-audit6-ENV): Likewise.
29484 (tst-audit7-ENV): Likewise.
29485 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29486 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29487 addition to variable.
29488 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29489 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29490 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29491 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29492 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29493 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29494 tst-audit3, tst-audit4 and tst-audit5.
29495 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29496 tst-audit6 and tst-audit7.
29497 [$(subdir) = elf] (modules-names): Add audit modules for those
29499 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29500 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29501 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29502 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29503 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29504 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29505 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29506 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29507 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29508 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29509 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29510 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29511 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29512 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29513 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29514 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29516 [$(subdir) = elf && $(config-cflags-avx) = yes]
29517 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29518 [$(subdir) = elf && $(config-cflags-avx) = yes]
29519 (CFLAGS-tst-auditmod4a.c): Likewise.
29520 [$(subdir) = elf && $(config-cflags-avx) = yes]
29521 (CFLAGS-tst-auditmod4b.c): Likewise.
29522 [$(subdir) = elf && $(config-cflags-avx) = yes]
29523 (CFLAGS-tst-auditmod6b.c): Likewise.
29524 [$(subdir) = elf && $(config-cflags-avx) = yes]
29525 (CFLAGS-tst-auditmod6c.c): Likewise.
29526 [$(subdir) = elf && $(config-cflags-avx) = yes]
29527 (CFLAGS-tst-auditmod7b.c): Likewise.
29528 * elf/tst-audit3.c: Move to ...
29529 * sysdeps/x86_64/tst-audit3.c: ... here.
29530 * elf/tst-audit4.c: Move to ...
29531 * sysdeps/x86_64/tst-audit4.c: ... here.
29532 * elf/tst-audit5.c: Move to ...
29533 * sysdeps/x86_64/tst-audit5.c: ... here.
29534 * elf/tst-audit6.c: Move to ...
29535 * sysdeps/x86_64/tst-audit6.c: ... here.
29536 * elf/tst-audit7.c: Move to ...
29537 * sysdeps/x86_64/tst-audit7.c: ... here.
29538 * elf/tst-auditmod3a.c: Move to ...
29539 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29540 * elf/tst-auditmod3b.c: Move to ...
29541 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29542 * elf/tst-auditmod4a.c: Move to ...
29543 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29544 * elf/tst-auditmod4b.c: Move to ...
29545 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29546 * elf/tst-auditmod5a.c: Move to ...
29547 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29548 * elf/tst-auditmod5b.c: Move to ...
29549 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29550 * elf/tst-auditmod6a.c: Move to ...
29551 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29552 * elf/tst-auditmod6b.c: Move to ...
29553 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29554 * elf/tst-auditmod6c.c: Move to ...
29555 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29556 * elf/tst-auditmod7a.c: Move to ...
29557 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29558 * elf/tst-auditmod7b.c: Move to ...
29559 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29561 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29564 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29565 define unconditionally.
29566 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29567 define unconditionally.
29568 (INT8_C, INT16_C, etc.): Likewise.
29570 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29572 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29573 __ehdr_start with hidden visibility.
29575 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29577 2013-04-24 Carlos O'Donell <carlos@redhat.com>
29579 * math/libm-test.inc (cos_test): Use accurate hex constants.
29580 (sincost_test): Likewise.
29582 2013-04-24 Joseph Myers <joseph@codesourcery.com>
29584 * math/libm-test.inc (catan_test): Add more tests.
29585 (catanh_test): Likewise.
29587 * math/s_catanf.c (__catanf): Use suffixed floating-point
29589 * math/s_catanhf.c (__catanhf): Likewise.
29590 * math/s_catanhl.c (__catanhl): Likewise.
29591 * math/s_catanl.c (__catanl): Likewise.
29594 * math/s_catan.c (__catan): Calculate imaginary part of result
29595 with log1p not log unless computing log of number close to 0.
29596 * math/s_catanf.c (__catanf): Likewise.
29597 * math/s_catanl.c (__catanl): Likewise.
29598 * math/s_catanh.c (__catanh): Calculate real part of result with
29599 log1p not log unless computing log of number close to 0.
29600 * math/s_catanhf.c (__catanhf): Likewise.
29601 * math/s_catanhl.c (__catanhl): Likewise.
29602 * math/libm-test.inc (catan_test): Add more tests.
29603 (catanh_test): Likewise.
29604 * sysdeps/i386/fpu/libm-test-ulps: Update.
29605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29607 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29609 * benchtests/Makefile: Mention files in which fast and slow
29610 paths of math functions are implemented.
29612 2013-04-23 Roland McGrath <roland@hack.frob.com>
29614 * sysdeps/posix/timespec_get.c: New file.
29616 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29618 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29620 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29622 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29623 powerpc/power5/fpu folders.
29624 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29625 * benchtests/Makefile: Add modf testcase.
29626 * benchtests/bench-modf.c: New file: Benchmark test for mo
29628 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29631 * time/Makefile (tests): Add tst-strptime-whitespace.
29632 * time/strptime_l.c (get_number): Use ISSPACE.
29633 (__strptime_internal): Likewise.
29634 * time/tst-strptime-whitespace.c: New test case.
29636 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29638 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29640 (_nss_files_init): Set it here.
29642 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29644 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29645 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29648 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29650 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29652 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29654 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29657 2013-04-21 David S. Miller <davem@davemloft.net>
29659 * po/ru.po: Update Russion translation from translation project.
29661 2013-04-17 Adam Conrad <adconrad@0c3.net>
29663 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29666 2013-04-17 Carlos O'Donell <carlos@redhat.com>
29668 * configure.in: Remove i386 configure warning. Remove i386 case.
29669 * configure: Regenerate.
29670 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29671 Add example to error message.
29672 * sysdeps/i386/configure: Regenerate.
29674 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29676 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29678 * benchtests/cos-inputs: New file.
29679 * benchtests/slowcos-inputs: New file.
29680 * benchtests/slowcos.c: New file.
29681 * benchtests/slowtan-inputs: New file.
29682 * benchtests/slowtan.c: New file.
29683 * benchtests/tan-inputs: New file.
29685 2013-04-16 Roland McGrath <roland@hack.frob.com>
29687 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29690 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29692 * benchtests/Makefile: Include cppflags-iterator.mk to add
29693 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29695 * Makefile.in (bench-clean): New target.
29696 * benchtests/Makefile (bench-clean): Likewise.
29698 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29700 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29702 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29704 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29706 2013-04-15 Andreas Schwab <schwab@suse.de>
29708 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29709 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29710 * nscd/pwdcache.c (cache_addpw): Likewise.
29711 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29714 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29716 * benchtests/Makefile (bench): Write all output to
29717 bench-out.tmp together.
29719 2013-04-15 Andreas Schwab <schwab@suse.de>
29721 * nscd/nscd.c (main): Don't fork again after closing files.
29723 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29725 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29727 * benchtests/Rules (bench-deps): Collect dependencies into a
29728 single variable. Add Makefile to dependencies.
29729 ($(objpfx)bench-%.c): Depend on bench-deps.
29731 2013-04-12 Roland McGrath <roland@hack.frob.com>
29732 Xavier Roche <roche+kml2@exalead.com>
29735 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29736 just that it's a file descriptor.
29737 * manual/llio.texi (Synchronizing AIO Operations): Update description
29738 for EBADF error from aio_fsync.
29740 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29742 * Rules (bench): Move target definition...
29743 * benchtests/Makefile: ... here.
29745 2013-04-11 Carlos O'Donell <carlos@redhat.com>
29747 * math/libm-test.inc (cos_test): Fix PI/2 test.
29748 (sincos_test): Likewise.
29749 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29750 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29752 2013-04-11 Andreas Schwab <schwab@suse.de>
29755 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29756 accept exponent character only when digits were seen.
29757 * stdio-common/Makefile (tests): Add bug26.
29758 * stdio-common/bug26.c: New file.
29761 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29764 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29766 * Makeconfig (rtld-prefix): Define built linker prefix.
29767 * Rules (run-bench): Use it.
29768 * math/Makefile (run-regen-ulps): Likewise.
29770 * Rules (bench): Remove eval.
29772 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29773 Roland McGrath <roland@hack.frob.com>
29774 Ondrej Bilka <neleai@seznam.cz>
29777 * time/getdate.c: Include ctype.h and alloca.h.
29778 (__getdate_r): Trim leading and trailing spaces of input.
29779 * time/tst-getdate.c (tests): Add tests with leading and
29782 2013-04-08 Roland McGrath <roland@hack.frob.com>
29785 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29786 when computing value.
29788 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29790 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29791 Use testrun.sh to run libm tests.
29794 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29796 2013-04-06 Marko Myllynen <myllynen@redhat.com>
29799 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29801 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29803 * Makefile.in (regen-ulps): New target.
29804 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29805 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29806 [ifneq (no,$(PERL)] (regen-ulps): New target.
29807 [ifeq (no,$(PERL)] (regen-ulps): New target.
29808 * math/libm-test.inc (ulps_file_name): Define.
29809 (output_dir): New variable.
29810 (options): Add "output-dir" option.
29811 (parse_opt): Handle 'o' case.
29812 (main): If output_dir is non-NULL use it as a prefix
29814 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29816 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29818 [BZ #10060, #10062]
29819 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29820 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29821 fail configure if __sync_val_compare_and_swap is not inlined.
29822 * sysdeps/i386/configure: Regenerate.
29823 * configure.in: Build for i686 when configured for i386.
29824 * configure: Regenerate.
29825 * README: Remove i386 reference.
29827 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29829 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29830 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29832 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29834 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29835 (lmsnanval): New variables.
29836 (F): Add conversion tests.
29837 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29838 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29840 * stdio-common/tstdiomisc.c (F): Properly collect individual
29843 [BZ #14686, #15336]
29844 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29845 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29846 Instead, use input NaN values or generate a qNaN by arithmetic
29847 operation. Also fix bugs to comply with the standard.
29848 * math/libm-test.inc (remainder_test): Add more tests.
29850 [BZ #15335, #15342]
29851 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29852 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29853 input NaN values or generate a qNaN by arithmetic operation.
29855 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29858 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29861 2013-04-03 Joseph Myers <joseph@codesourcery.com>
29864 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29865 underflowed result.
29866 * math/s_cexpf.c (__cexpf): Likewise.
29867 * math/s_cexpl.c (__cexpl): Likewise.
29868 * math/libm-test.inc (cexp_test): Add more tests.
29870 2013-04-03 Andreas Schwab <schwab@suse.de>
29873 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29874 order arrays from heap if bigger than alloca cutoff.
29876 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29878 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29879 (SNAN_TESTS_double): Refer to GCC PR56831.
29880 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29883 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29885 * Rules (bench): Move bench.out after the run is complete.
29887 * Rules (bench): Echo currently running benchmark.
29889 * benchtests/Makefile (bench): Add atan and slowatan.
29890 * benchtests/atan-inputs: New file.
29891 * benchtests/slowatan-inputs: New file.
29892 * benchtests/slowatan.c: New file.
29894 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29895 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29899 * sysdeps/unix/sysv/linux/kernel-features.h
29900 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29901 __ASSUME_XFS_RESTRICTED_CHOWN.
29902 * sysdeps/unix/sysv/linux/pathconf.c
29903 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29904 Save and restore errno.
29906 2013-04-02 Joseph Myers <joseph@codesourcery.com>
29909 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29910 arguments using __kernel_casinh.
29911 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29912 arguments using __kernel_casinhf.
29913 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29914 arguments using __kernel_casinhl.
29915 * math/libm-test.inc (cacosh_test): Add more tests.
29916 * sysdeps/i386/fpu/libm-test-ulps: Update.
29917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29919 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29921 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29924 * bench/Makefile (bench): Add sin and slowsin.
29925 * benchtests/sin-inputs: New file.
29926 * benchtests/slowsin-inputs: New file.
29927 * benchtests/slowsin.c: New file.
29929 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29930 (bench): Add slowexp and slowpow.
29931 (exp-ITER): Increase iterations.
29932 (pow-ITER): Likewise.
29933 * benchtests/exp-inputs: Change input.
29934 * benchtests/pow-inputs: Likewise.
29935 * benchtests/slowexp-inputs: New file.
29936 * benchtests/slowexp.c: New file.
29937 * benchtests/slowpow-inputs: New file.
29938 * benchtests/slowpow.c: New file.
29940 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29942 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29944 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29945 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29946 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29947 * benchtests/Makefile: Add rint benchtest.
29948 * benchtests/rint-inputs: Input for rint benchtest.
29950 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29952 * Versions.def (libm): Add GLIBC_2.18.
29953 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29954 hidden libm prototypes.
29955 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29956 * math/Makefile (libm-calls): Add s_issignaling.
29957 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29958 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29959 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29961 * math/math.h [__USE_GNU] (issignaling): New macro.
29962 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29963 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29964 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29965 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29966 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29967 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29968 * manual/arith.texi (issignaling): New section.
29969 * manual/libm-err-tab.pl (@all_functions): Update comment.
29970 * math/gen-libm-test.pl (parse_args): Apply special handling for
29972 * math/libm-test.inc (print_float, issignaling_test): New
29974 (check_float_internal): Add issignaling checks.
29975 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29976 default definition.
29977 * sysdeps/powerpc/math-tests.h: New file.
29978 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29980 * math/test-snan.c (TEST_FUNC): Likewise.
29982 2013-03-30 David S. Miller <davem@davemloft.net>
29984 * po/de.po: Update from translation team.
29986 2013-03-30 Joseph Myers <joseph@codesourcery.com>
29989 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29990 imaginary part less than 1.0 and real part less than 0.5
29992 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29993 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29994 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29995 (cacos_test): Add more tests.
29996 (casin_test): Likewise.
29997 (casinh_test): Likewise.
29998 * sysdeps/i386/fpu/libm-test-ulps: Update.
29999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30001 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30003 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30004 ONE with its value.
30006 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30007 (__pow_mp): Replace ONE and MONE with their values.
30008 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30009 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30010 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30011 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30012 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30013 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30015 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30017 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30018 (__pow_mp): Replace ZERO and MZERO with their values.
30019 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30020 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30021 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30022 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30023 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30024 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30027 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30029 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30031 2013-03-28 Roland McGrath <roland@hack.frob.com>
30033 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30034 Declare with __attribute__ ((weak)).
30035 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30036 Call __call_tls_dtors only if it's not NULL.
30038 2013-03-28 Roland McGrath <roland@hack.frob.com>
30040 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30041 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30042 magic __ehdr_start linker symbol if it's defined.
30043 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30044 them up here if it was already done.
30046 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30047 (_dl_aux_init): Use const in cast when setting it.
30048 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30049 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30050 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30052 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30054 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30055 * csu/libc-tls.c: Nor here.
30056 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30058 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30059 (__libc_message): Never call vsyslog.
30061 2013-03-28 Alan Modra <amodra@gmail.com>
30063 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30065 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30068 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30071 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30075 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30078 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30079 Don't add gid passed as argument.
30081 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30083 2013-03-27 Joseph Myers <joseph@codesourcery.com>
30086 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30087 imaginary part between 1.0 and 1.5 and real part less than 0.5
30089 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30090 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30091 * math/libm-test.inc (cacos_test): Add more tests.
30092 (casin_test): Likewise.
30093 (casinh_test): Likewise.
30094 * sysdeps/i386/fpu/libm-test-ulps: Update.
30095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30097 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30099 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30102 (denorm): Likewise.
30103 (__dbl_mp): Likewise.
30104 (add_magnitudes): Likewise.
30105 (sub_magnitudes): Likewise.
30113 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30115 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30116 (__dubcos): Likewise.
30117 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30118 (__ieee754_acos): Likewise.
30119 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30120 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30121 (__exp1): Likewise.
30122 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30123 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30125 (my_log2): Likewise.
30126 (checkint): Likewise.
30127 * sysdeps/ieee754/dbl-64/e_remainder.c
30128 (__ieee754_remainder): Likewise.
30129 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30130 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30131 (bsloww): Likewise.
30132 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30134 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30135 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30136 MANTISSA_STORE_T to store computations on mantissa. Use
30137 macros for rounding and division.
30138 (denorm): Likewise.
30139 (__dbl_mp): Likewise.
30140 (add_magnitudes): Likewise.
30141 (sub_magnitudes): Likewise.
30144 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30145 powers of two in terms of TWOPOW macro.
30146 (mp_no): Make type of mantissa as MANTISSA_T.
30147 [!RADIXI]: Define RADIXI.
30148 [!TWO52]: Define TWO52.
30149 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30151 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30153 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30154 llroundl symbol when building for PPC32.
30156 2013-03-24 Mark H Weaver <mhw@netris.org>
30158 * manual/arith.texi (Normalization Functions): Fix prototypes for
30159 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30161 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30164 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30165 high value to check if expl overflow.
30166 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30167 to check for underflow and overflow.
30168 * math/libm-test.inc: Add exp test.
30170 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30173 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30176 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30178 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30181 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30183 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30184 wrap blocks consisting of several statements.
30186 * sysdeps/generic/math-tests.h: New file.
30187 * sysdeps/i386/fpu/math-tests.h: Likewise.
30188 * math/test-snan.c: Include it.
30189 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30191 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30194 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30195 (__ieee754_j0l): Do not improve calculations using cos of twice
30196 input for inputs above LDBL_MAX / 2.0L.
30197 (__ieee754_y0l): Likewise.
30198 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30199 (__ieee754_j1l): Do not improve calculations using cos of twice
30200 input for inputs above LDBL_MAX / 2.0L.
30201 (__ieee754_y1l): Likewise.
30202 * math/libm-test.inc (j0_test): Add another test.
30203 (j1_test): Likewise.
30204 (y0_test): Likewise.
30205 (y1_test): Likewise.
30206 * sysdeps/i386/fpu/libm-test-ulps: Update.
30208 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30210 * Rules ($(objpfx)bench-%.c): Include code from a C source
30213 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30216 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30217 imaginary part 1.0 and real part less than 0.5 specially.
30218 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30219 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30220 * math/libm-test.inc (cacos_test): Add more tests.
30221 (casin_test): Likewise.
30222 (casinh_test): Likewise.
30223 * sysdeps/i386/fpu/libm-test-ulps: Update.
30224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30226 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30228 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30229 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30231 2013-03-20 Joseph Myers <joseph@codesourcery.com>
30233 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30234 * config.make.in (config-cflags-sse4): Remove variable.
30235 (config-cflags-avx): Likewise.
30236 (config-cflags-sse2avx): Likewise.
30237 (config-cflags-novzeroupper): Likewise.
30238 (config-asflags-i686): Likewise.
30239 (have-mfma4): Likewise.
30240 (have-as-vis3): Likewise.
30242 * configure.in (MIG): Do not AC_SUBST.
30243 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30244 (libc_cv_cc_sse4): Do not AC_SUBST.
30245 (libc_cv_cc_avx): Likewise.
30246 (libc_cv_cc_sse2avx): Likewise.
30247 (libc_cv_cc_novzeroupper): Likewise.
30248 (libc_cv_cc_fma4): Likewise.
30249 (libc_cv_as_i686): Likewise.
30250 (libc_cv_sparc_as_vis3): Likewise.
30251 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30253 (config-asflags-i686): Likewise.
30254 (config-cflags-avx): Likewise.
30255 (config-cflags-sse2avx): Likewise.
30256 (have-mfma4): Likewise.
30257 (config-cflags-novzeroupper): Likewise.
30258 * sysdeps/mach/configure.in (MIG): Likewise.
30259 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30260 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30262 (config-cflags-avx): Likewise.
30263 (config-cflags-sse2avx): Likewise.
30264 (have-mfma4): Likewise.
30265 (config-cflags-novzeroupper): Likewise.
30266 * configure: Regenerated.
30267 * sysdeps/i386/configure: Likewise.
30268 * sysdeps/mach/configure: Likewise.
30269 * sysdeps/sparc/configure: Likewise.
30270 * sysdeps/x86_64/configure: Likewise.
30272 2013-03-20 Roland McGrath <roland@hack.frob.com>
30275 * locale/programs/localedef.c (options): Put N_ translation marker
30276 on argument names, not just descriptions.
30278 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30280 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30282 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
30285 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30287 2013-03-19 Roland McGrath <roland@hack.frob.com>
30289 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30290 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30291 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30292 [!BEFORE_ABORT] (before_abort): New function.
30293 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30294 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30295 (writev_for_fatal): New function.
30296 (WRITEV_FOR_FATAL): New macro; call that.
30297 (backtrace_and_maps): New function.
30298 (BEFORE_ABORT): New macro; call that.
30299 (struct str_list): Type removed.
30300 (__libc_message, __libc_fatal): Functions removed.
30301 Include <sysdeps/posix/libc_fatal.c> instead.
30303 2013-03-19 Joseph Myers <joseph@codesourcery.com>
30305 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30307 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30310 2013-03-19 Andreas Schwab <schwab@suse.de>
30312 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30313 * sysdeps/gnu/configure: Regenerate.
30315 * configure.in: Substitute libc_cv_rtlddir.
30316 * configure: Regenerate.
30317 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30318 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30319 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30320 * elf/Makefile (install-others, CFLAGS-interp.c)
30321 (ldso_install, common-ldd-rewrite): Likewise.
30322 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30323 $(inst_slibdir)/$(rtld-installed-name).
30324 * scripts/rellns-sh: Add -p option.
30325 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30328 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30330 * manual/nptl.texi: Renamed to ...
30331 * manual/threads.texi: ... this.
30332 * manual/Makefile (chapters): Update.
30334 2013-03-18 Roland McGrath <roland@hack.frob.com>
30337 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30338 on argument names, not just descriptions.
30339 * malloc/memusagestat.c (options): Likewise.
30340 * nss/getent.c (options): Likewise.
30342 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
30345 * iconv/iconv_prog.c (options): Put N_ translation marker
30346 on argument names, not just descriptions.
30347 * iconv/iconvconfig.c (options): Likewise.
30349 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
30351 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30352 implementation which is faster on all x86_64 architectures.
30353 Tested on AMD, Intel Nehalem, SNB, IVB.
30354 * sysdeps/x86_64/strnlen.S: Likewise.
30356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30357 Remove all multiarch strlen and strnlen versions.
30358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30359 Remove strlen and strnlen related parts.
30361 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30362 Inline strlen part.
30363 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30365 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30366 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30367 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30368 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30369 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30370 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30372 2013-03-17 Carlos O'Donell <carlos@redhat.com>
30374 * manual/memory.texi (Malloc Tunable Parameters):
30375 Sort parameters alphabetically. Add comments for missing entries.
30377 2013-03-17 David S. Miller <davem@davemloft.net>
30379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30381 2013-03-16 Joseph Myers <joseph@codesourcery.com>
30384 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30385 for arguments at most half maximum finite value.
30386 * math/libm-test.inc (j0_test): Add more tests.
30387 (j1_test): Likewise.
30388 (y0_test): Likewise.
30389 (y1_test): Likewise.
30390 * sysdeps/i386/fpu/libm-test-ulps: Update.
30391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30394 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30395 1 / x and functions P and Q for arguments above 0x1p256L.
30396 (__ieee754_y0l): Likewise.
30397 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30398 (__ieee754_y1l): Likewise.
30399 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30400 (j1_test): Likewise.
30401 (y0_test): Likewise.
30402 (y1_test): Likewise.
30404 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30406 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30409 2013-03-15 Roland McGrath <roland@hack.frob.com>
30411 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30412 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30413 zero since it's initialized to EXEC_PAGESIZE.
30415 * sysdeps/unix/sysv/linux/ldsodefs.h
30416 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30417 * sysdeps/generic/ldsodefs.h: ... here.
30419 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30421 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30423 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30425 * math/test-snan.c: Renamed from
30426 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30427 * math/Makefile (tests): Add test-snan.
30428 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30431 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30432 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30434 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30435 __builtin_nan family of functions.
30436 * math/libm-test.inc (initialize): Initialize qnan_value with
30437 __builtin_nan family of functions.
30438 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30440 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30442 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30443 storage class. Initialize qNaN_var and sNaN_var with
30444 __builtin_nan and __builtin_nans families of functions,
30447 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30448 (sqrt_test): Remove duplicate test with qNaN input.
30449 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30450 (round_test, signbit_test, significand_test): Note missing +/-Inf
30451 as well as qNaN tests.
30453 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30454 qNaN_var. Fix a few strings, too.
30455 * math/libm-test.inc (nan_value): Rename to qnan_value.
30456 * math/gen-libm-test.pl (%beautify): Adjust to that.
30457 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30458 * math/test-misc.c (main): Likewise.
30459 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30460 to __qnan_bytes, and __qnan_union, respectively.
30461 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30463 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30464 and lqnanval, respectively.
30465 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30466 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30467 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30468 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30470 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30471 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30474 * math/test-misc.c (main): Fix copy'n'pastos.
30475 * misc/tst-efgcvt.c (special): Likewise.
30477 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30478 Remove declarations.
30480 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30482 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30483 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30484 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30485 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30487 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30489 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30490 macro to return vdso values correctly in IFUNC implementations.
30491 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30492 Optimization by using IFUNC.
30494 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30495 Richard Henderson <rth@redhat.com>
30496 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30498 * Makefile.in (bench): New target.
30499 * NEWS: Mention the benchmark framework.
30500 * Rules (bench): Likewise.
30501 (binaries-bench): Generate binaries for functions to
30503 * benchtests/Makefile: New makefile for benchmark tests.
30504 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30506 * benchtests/exp-inputs: New input file for EXP function.
30507 * benchtests/pow-inputs: New input file for POW function.
30508 * scripts/bench.pl: New script to generate source files for
30509 benchmark programs.
30511 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30513 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30514 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30515 computations on mantissa. Use macros for rounding and
30517 (denorm): Likewise.
30518 (__dbl_mp): Likewise.
30519 (add_magnitudes): Likewise.
30520 (sub_magnitudes): Likewise.
30523 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30524 powers of two in terms of TWOPOW macro.
30525 (mp_no): Make type of mantissa as MANTISSA_T.
30526 [!RADIXI]: Define RADIXI.
30527 [!TWO52]: Define TWO52.
30528 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30530 * manual/nptl.texi (cindex): Modify threads to pthreads.
30532 2013-03-15 Joseph Myers <joseph@codesourcery.com>
30534 * sysdeps/x86_64/preconfigure: Regenerated.
30536 2013-03-14 Joseph Myers <joseph@codesourcery.com>
30539 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30541 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30542 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30544 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30545 * math/libm-test.inc (j0_test): Do not allow one spurious
30546 underflow exception.
30547 (y1_test): Likewise.
30549 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30551 * manual/Makefile (chapters): Add nptl.
30552 * manual/debug.texi (Debugging Support): Add link to Threads
30554 * manual/nptl.texi: New file.
30556 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30558 2013-03-14 Petr Baudis <pasky@ucw.cz>
30560 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30561 for non-NULL pointer before the memory validity test. Pointed
30562 out by Holger Brunck <holger.brunck@keymile.com>.
30564 2013-03-13 Andreas Schwab <schwab@suse.de>
30566 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30569 2013-03-13 Joseph Myers <joseph@codesourcery.com>
30571 * timezone/zic.c: Update from tzcode 2013b.
30573 2013-03-12 Carlos O'Donell <carlos@redhat.com>
30575 * manual/install.texi (Configuring and compiling):
30576 Mention i686 and i586.
30577 * INSTALL: Regenerate.
30579 2013-03-12 Roland McGrath <roland@hack.frob.com>
30581 * sysdeps/init_array/elf-init.c: New file.
30583 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30584 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30586 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30587 __gmon_start__ as global, but as static with a .preinit_array pointer.
30588 * sysdeps/init_array/gmon-start.c: New file. Use that.
30589 * sysdeps/init_array/crti.S: New file, empty except for comments.
30590 * sysdeps/init_array/crtn.S: Likewise.
30592 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
30594 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30597 Remove Prefer_SSE_for_memop.
30598 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30599 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30600 HAS_PREFER_SSE_FOR_MEMOP.
30601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30603 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30604 Remove bzero, memset ifunc support.
30605 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30606 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30607 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30608 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30610 2013-03-11 Andreas Schwab <schwab@suse.de>
30613 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30616 (GLIBC_2.16): Remove pthread_atfork.
30618 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30620 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30621 (ptestcases.h): Likewise.
30623 2013-03-08 Roland McGrath <roland@hack.frob.com>
30625 * Makeconfig ($(common-objpfx)config.status): Depend on
30626 sysdeps/*/preconfigure{,.in} too.
30628 2013-03-08 Joseph Myers <joseph@codesourcery.com>
30630 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30631 (__free_hook): Use void * instead of __malloc_ptr_t.
30632 (__malloc_hook): Likewise.
30633 (__realloc_hook): Likewise.
30634 (__memalign_hook): Likewise.
30635 (__after_morecore_hook): Likewise.
30636 * malloc/arena.c (save_malloc_hook): Likewise.
30637 (save_free_hook): Likewise.
30638 * malloc/hooks.c (malloc_hook_ini): Likewise.
30639 (realloc_hook_ini): Likewise.
30640 (memalign_hook_ini): Likewise.
30641 * malloc/malloc.c (malloc_hook_ini): Likewise.
30642 (realloc_hook_ini): Likewise.
30643 (memalign_hook_ini): Likewise.
30644 (__free_hook): Likewise.
30645 (__malloc_hook): Likewise.
30646 (__realloc_hook): Likewise.
30647 (__memalign_hook): Likewise.
30648 (__libc_malloc): Likewise.
30649 (__libc_free): Likewise.
30650 (__libc_realloc): Likewise.
30651 (__libc_memalign): Likewise.
30652 (__libc_valloc): Likewise.
30653 (__libc_pvalloc): Likewise.
30654 (__libc_calloc): Likewise.
30655 (__posix_memalign): Likewise.
30656 * malloc/morecore.c (__sbrk): Likewise.
30657 (__default_morecore): Likewise.
30659 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30661 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30662 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30663 __malloc_ptrdiff_t.
30665 * malloc/malloc.h (__malloc_size_t): Remove macro.
30666 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30668 (old_memalign_hook): Likewise.
30669 (old_realloc_hook): Likewise.
30670 (struct hdr): Likewise.
30672 (mallochook): Likewise.
30673 (memalignhook): Likewise.
30674 (reallochook): Likewise.
30675 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30676 (tr_old_realloc_hook): Likewise.
30677 (tr_old_memalign_hook): Likewise.
30678 (tr_mallochook): Likewise.
30679 (tr_reallochook): Likewise.
30680 (tr_memalignhook): Likewise.
30682 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30684 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30685 default_ldbl_pack and using as default implementation.
30686 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30688 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30689 redundant definition.
30690 (ldbl_insert_mantissa): Likewise.
30691 (ldbl_canonicalize): Likewise.
30692 (ldbl_nearbyint): Likewise.
30693 (ldbl_pack): Rename to ldbl_pack_ppc.
30694 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30695 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30696 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30698 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30701 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30702 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30703 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30704 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30705 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30706 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30707 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30709 2013-03-07 Andreas Jaeger <aj@suse.de>
30711 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30714 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30716 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30717 Include mpa.h and declare __MPEXP.
30718 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30719 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30720 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30721 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30722 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30723 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30724 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30726 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30727 (__slowpow): Use long double EXPL and LOGL functions to
30729 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30730 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30731 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30732 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30733 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30734 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30737 intermediate variable to calculate exponent.
30739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30743 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30744 [!NO__SQR]: Define __sqr.
30745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30746 and NO__SQR. Remove all code except __mul and __sqr. Include
30747 sysdeps/ieee754/dbl-64/mpa.c.
30748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30751 * posix/Makefile (tests): Add tst-pathconf.
30752 * posix/tst-pathconf.c: New test case.
30753 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30755 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30757 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
30759 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30761 2013-03-06 Andreas Jaeger <aj@suse.de>
30763 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30764 definition via __MAP_ANONYMOUS.
30766 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30767 it's not part of Linux headers.
30769 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30770 (MAP_HUGE_MASK): Define.
30772 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30774 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30775 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30777 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30778 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30780 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30781 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30783 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30785 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30786 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30787 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30788 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30789 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30790 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30792 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30795 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30796 Handle f2fs and efivarfs.
30798 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30801 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30802 (EFIVARFS_MAGIC): Add.
30803 (F2FS_LINK_MAX): Add.
30805 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30807 * stdio-common/vfprintf.c: Replace __builtin_expect with
30810 2013-03-06 Joseph Myers <joseph@codesourcery.com>
30813 * sysdeps/generic/bp-sym.h: Remove file.
30814 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30815 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30816 <bp-sym.h> and <bp-asm.h>.
30817 (__longjmp): Don't use BP_SYM.
30818 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30820 (memcpy): Don't use BP_SYM.
30821 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30822 <bp-sym.h> and <bp-asm.h>.
30823 (memcpy): Don't use BP_SYM.
30824 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30826 (memcpy): Don't use BP_SYM.
30827 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30829 (memset): Don't use BP_SYM.
30830 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30831 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30832 (__bzero): Don't use BP_SYM.
30833 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30834 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30835 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30836 <bp-sym.h> and <bp-asm.h>.
30837 (memcmp): Don't use BP_SYM. Remove comment about bounded
30839 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30840 <bp-sym.h> and <bp-asm.h>.
30841 (memcpy): Don't use BP_SYM.
30842 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30843 <bp-sym.h> and <bp-asm.h>.
30844 (memset): Don't use BP_SYM.
30845 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30846 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30847 (__bzero): Don't use BP_SYM.
30848 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30849 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30850 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30851 <bp-sym.h> and <bp-asm.h>.
30852 (strncmp): Don't use BP_SYM. Remove comment about bounded
30854 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30855 <bp-sym.h> and <bp-asm.h>.
30856 (memcpy): Don't use BP_SYM.
30857 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30858 <bp-sym.h> and <bp-asm.h>.
30859 (memset): Don't use BP_SYM.
30860 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30861 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30862 (__bzero): Don't use BP_SYM.
30863 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30864 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30865 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30866 <bp-sym.h> and <bp-asm.h>.
30867 (__memchr): Don't use BP_SYM.
30868 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30869 <bp-sym.h> and <bp-asm.h>.
30870 (memcmp): Don't use BP_SYM. Remove comment about bounded
30872 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30873 <bp-sym.h> and <bp-asm.h>.
30874 (memcpy): Don't use BP_SYM.
30875 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30876 <bp-sym.h> and <bp-asm.h>.
30877 (__mempcpy): Don't use BP_SYM.
30878 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30879 <bp-sym.h> and <bp-asm.h>.
30880 (__memrchr): Don't use BP_SYM.
30881 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30882 <bp-sym.h> and <bp-asm.h>.
30883 (memset): Don't use BP_SYM.
30884 (__bzero): Likewise.
30885 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30886 <bp-sym.h> and <bp-asm.h>.
30887 (__rawmemchr): Don't use BP_SYM.
30888 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30889 <bp-sym.h> and <bp-asm.h>.
30890 (__STRCMP): Don't use BP_SYM.
30891 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30892 <bp-sym.h> and <bp-asm.h>.
30893 (strchr): Don't use BP_SYM.
30894 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30895 <bp-sym.h> and <bp-asm.h>.
30896 (__strchrnul): Don't use BP_SYM.
30897 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30898 <bp-sym.h> and <bp-asm.h>.
30899 (strlen): Don't use BP_SYM.
30900 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30901 <bp-sym.h> and <bp-asm.h>.
30902 (strncmp): Don't use BP_SYM. Remove comment about bounded
30904 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30905 <bp-sym.h> and <bp-asm.h>.
30906 (__strnlen): Don't use BP_SYM.
30907 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30908 <bp-sym.h> and <bp-asm.h>.
30909 (__GI__setjmp): Don't use BP_SYM.
30910 (_setjmp): Likewise.
30911 (__sigsetjmp): Likewise.
30912 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30913 (L(start_addresses)): Don't use BP_SYM.
30914 (_start): Likewise.
30915 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30917 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30918 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30919 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30920 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30921 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30923 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30924 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30925 about bounded pointers.
30926 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30927 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30928 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30930 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30931 about bounded pointers. Remove GKM FIXME comments.
30932 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30933 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30935 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30936 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30937 Remove GKM FIXME comments.
30938 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30939 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30940 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30942 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30943 about bounded pointers. Remove GKM FIXME comment.
30944 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30946 (strncmp): Don't use BP_SYM. Remove comment about bounded
30948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30949 <bp-sym.h> and <bp-asm.h>.
30950 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30952 <bp-sym.h> and <bp-asm.h>.
30953 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30956 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30958 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30961 2013-03-05 David S. Miller <davem@davemloft.net>
30963 * po/es.po: Update from translation team.
30965 2013-03-05 Andreas Jaeger <aj@suse.de>
30967 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30968 <bits/mman-linux.h>.
30969 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30971 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30972 <bits/mman-linux.h> to end of file.
30973 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30975 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30976 <bits/mman-linux.h> to end of file.
30977 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30980 <bits/mman-linux.h> to end of file.
30982 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30983 (MCL_CURRENT, MCL_FUTURE): Define here.
30985 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30988 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30990 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30992 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30994 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30995 fourth parameter needed for rt_sigprocmask syscall.
30996 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30997 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30998 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30999 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31000 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31001 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31003 2013-03-04 Joseph Myers <joseph@codesourcery.com>
31006 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31007 comment about bounded pointers.
31008 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31009 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31011 2013-03-04 Andreas Jaeger <aj@suse.de>
31013 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31014 common definitions.
31016 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31017 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31018 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31019 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31020 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31021 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31023 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31026 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31027 __ieee754_sqrl instead of __sqrl.
31029 2013-03-01 Joseph Myers <joseph@codesourcery.com>
31031 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31032 * sysdeps/powerpc/fpu_control.h: ... here.
31033 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31034 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31035 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31036 * sysdeps/powerpc/bits/mathinline.h: ... here.
31038 2013-03-01 Roland McGrath <roland@hack.frob.com>
31040 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31041 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31042 to just [NEED_DL_SYSINFO_DSO].
31043 * elf/dl-support.c: Likewise.
31044 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31045 * elf/rtld.c (dl_main): Likewise.
31046 * elf/setup-vdso.h (setup_vdso): Likewise.
31047 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31048 * sysdeps/unix/sysv/linux/dl-sysdep.c
31049 (_dl_discover_osversion): Likewise.
31051 2013-03-01 Carlos O'Donell <carlos@redhat.com>
31053 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31054 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31056 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31058 * NEWS: Mention libm performance improvements and non-x86 PI
31061 * csu/libc-start.c (__pthread_initialize_minimal): Change
31062 function arguments.
31063 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31065 2013-02-28 Joseph Myers <joseph@codesourcery.com>
31068 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31069 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31070 <bp-sym.h> and <bp-asm.h>.
31071 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31072 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31074 (memcpy): Don't use BP_SYM.
31075 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31077 (__mpn_add_n): Don't use BP_SYM.
31078 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31079 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31081 (__mpn_addmul_1): Don't use BP_SYM.
31082 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31083 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31085 (_setjmp): Don't use BP_SYM.
31086 (__novmx_setjmp): Likewise.
31087 (__GI__setjmp): Likewise.
31088 (__vmx_setjmp): Likewise.
31089 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31091 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31092 (__bzero): Don't use BP_SYM.
31093 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31094 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31095 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31096 <bp-sym.h> and <bp-asm.h>.
31097 (memcpy): Don't use BP_SYM.
31098 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31099 <bp-sym.h> and <bp-asm.h>.
31100 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31101 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31102 <bp-sym.h> and <bp-asm.h>.
31103 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31104 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31106 (__mpn_lshift): Don't use BP_SYM.
31107 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31108 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31110 (memset): Don't use BP_SYM.
31111 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31112 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31113 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31115 (__mpn_mul_1): Don't use BP_SYM.
31116 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31117 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31118 <bp-sym.h> and <bp-asm.h>.
31119 (memcmp): Don't use BP_SYM.
31120 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31121 <bp-sym.h> and <bp-asm.h>.
31122 (memcpy): Don't use BP_SYM.
31123 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31124 <bp-sym.h> and <bp-asm.h>.
31125 (memset): Don't use BP_SYM.
31126 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31127 <bp-sym.h> and <bp-asm.h>.
31128 (strncmp): Don't use BP_SYM.
31129 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31130 <bp-sym.h> and <bp-asm.h>.
31131 (memcpy): Don't use BP_SYM.
31132 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31133 <bp-sym.h> and <bp-asm.h>.
31134 (memset): Don't use BP_SYM.
31135 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31136 <bp-sym.h> and <bp-asm.h>.
31137 (__memchr): Don't use BP_SYM.
31138 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31139 <bp-sym.h> and <bp-asm.h>.
31140 (memcmp): Don't use BP_SYM.
31141 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31142 <bp-sym.h> and <bp-asm.h>.
31143 (memcpy): Don't use BP_SYM.
31144 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31145 <bp-sym.h> and <bp-asm.h>.
31146 (__mempcpy): Don't use BP_SYM.
31147 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31148 <bp-sym.h> and <bp-asm.h>.
31149 (__memrchr): Don't use BP_SYM.
31150 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31151 <bp-sym.h> and <bp-asm.h>.
31152 (memset): Don't use BP_SYM.
31153 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31154 <bp-sym.h> and <bp-asm.h>.
31155 (__rawmemchr): Don't use BP_SYM.
31156 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31157 <bp-sym.h> and <bp-asm.h>.
31158 (__STRCMP): Don't use BP_SYM.
31159 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31160 <bp-sym.h> and <bp-asm.h>.
31161 (strchr): Don't use BP_SYM.
31162 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31163 <bp-sym.h> and <bp-asm.h>.
31164 (__strchrnul): Don't use BP_SYM.
31165 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31166 <bp-sym.h> and <bp-asm.h>.
31167 (strlen): Don't use BP_SYM.
31168 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31169 <bp-sym.h> and <bp-asm.h>.
31170 (strncmp): Don't use BP_SYM.
31171 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31172 <bp-sym.h> and <bp-asm.h>.
31173 (__strnlen): Don't use BP_SYM.
31174 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31176 (__mpn_rshift): Don't use BP_SYM.
31177 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31178 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31179 <bp-sym.h> and <bp-asm.h>.
31180 (__sigsetjmp): Don't use BP_SYM.
31181 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31182 (L(start_addresses)): Don't use BP_SYM.
31183 (_start): Likewise.
31184 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31186 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31187 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31188 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31189 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31191 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31192 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31193 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31194 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31196 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31198 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31199 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31201 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31203 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31204 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31205 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31207 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31209 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31211 (strncmp): Don't use BP_SYM,
31212 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31214 (__mpn_sub_n): Don't use BP_SYM.
31215 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31216 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31218 (__mpn_submul_1): Don't use BP_SYM.
31219 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31221 <bp-sym.h> and <bp-asm.h>.
31222 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31224 <bp-sym.h> and <bp-asm.h>.
31225 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31228 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31231 Use ZK to minimize writes to Z.
31232 (sub_magnitudes): Simplify code a bit.
31233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31234 Use ZK to minimize writes to Z.
31235 (sub_magnitudes): Simplify code a bit.
31237 2013-02-27 Roland McGrath <roland@hack.frob.com>
31239 * csu/gmon-start.c: Add special exception to license text.
31241 2013-02-27 Richard Henderson <rth@redhat.com>
31243 * scripts/config.guess: Update from config.git.
31244 * scripts/config.sub: Likewise.
31246 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31248 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31250 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31252 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31254 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31256 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31258 2013-02-26 Roland McGrath <roland@hack.frob.com>
31260 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31261 [$(build-shared = yes].
31263 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31265 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31266 (__mul): Reduce iterations for calculating mantissa.
31268 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31270 (__mpranred): Likewise.
31273 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31274 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31276 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31278 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31279 Define __attribute__.
31281 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31283 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31285 * posix/regex_internal.h (__attribute): Remove.
31286 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31287 (re_string_context_at): Likewise.
31288 (bitset_not): Use __attribute__ and mark function as possibly
31290 (bitset_merge): Likewise.
31291 (bitset_mask): Likewise.
31292 (re_string_char_size_at): Likewise.
31293 (re_string_wchar_at): Likewise.
31294 (re_string_elem_size_at): Likewise.
31296 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31298 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31302 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31306 (denorm): Likewise.
31307 (__dbl_mp): Likewise.
31308 (add_magnitudes): Likewise.
31309 (sub_magnitudes): Likewise.
31313 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31316 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31319 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31322 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31323 up changes with default code.
31324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31327 2013-02-24 Allan McRae <allan@archlinux.org>
31329 * manual/socket.texi (The Internet Namespace): Order menu items
31330 to match that in the file.
31332 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31333 node listing of the info page menu.
31335 2013-02-21 Joseph Myers <joseph@codesourcery.com>
31338 * sysdeps/i386/bp-asm.h: Remove file.
31339 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31340 (PARMS): Do not use macros from bp-asm.h.
31344 (__mpn_add_n): Do not use BP_SYM
31345 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31347 (PARMS): Do not use macros from bp-asm.h.
31350 (__mpn_addmul_1): Do not use BP_SYM
31351 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31353 (PARMS): Do not use macros from bp-asm.h.
31354 (SIGMSK): Likewise.
31355 (_setjmp): Likewise. Do not use BP_SYM.
31356 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31358 (PARMS): Do not use macros from bp-asm.h.
31359 (SIGMSK): Likewise.
31360 (setjmp): Likewise. Do not use BP_SYM.
31361 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31363 (PARMS): Do not use macros from bp-asm.h.
31364 (__frexp): Do not use BP_SYM.
31366 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31368 (PARMS): Do not use macros from bp-asm.h.
31369 (__frexpf): Do not use BP_SYM.
31370 (frexpf): Likewise.
31371 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31373 (PARMS): Do not use macros from bp-asm.h.
31374 (__frexpl): Do not use BP_SYM.
31375 (frexpl): Likewise.
31376 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31378 (PARMS): Do not use macros from bp-asm.h.
31379 (__remquo): Do not use BP_SYM.
31380 (remquo): Likewise.
31381 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31383 (PARMS): Do not use macros from bp-asm.h.
31384 (__remquof): Do not use BP_SYM.
31385 (remquof): Likewise.
31386 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31388 (PARMS): Do not use macros from bp-asm.h.
31389 (__remquol): Do not use BP_SYM.
31390 (remquol): Likewise.
31391 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31393 (PARMS): Do not use macros from bp-asm.h.
31396 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31397 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31399 (PARMS): Do not use macros from bp-asm.h.
31400 (strlen): Do not use BP_SYM.
31401 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31403 (PARMS): Do not use macros from bp-asm.h.
31407 (__mpn_add_n): Do not use BP_SYM.
31408 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31410 (PARMS): Do not use macros from bp-asm.h.
31413 (__mpn_addmul_1): Do not use BP_SYM.
31414 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31417 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31419 (PARMS): Do not use macros from bp-asm.h.
31422 (__mpn_lshift): Do not use BP_SYM.
31423 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31425 (PARMS): Do not use macros from bp-asm.h.
31429 (memcpy): Likewise. Do not use BP_SYM.
31430 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31431 libc_hidden_def and weak_alias.
31432 (mempcpy): Do not use BP_SYM in weak_alias.
31433 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31435 (PARMS): Do not use macros from bp-asm.h.
31438 [!BZERO_P] (CHR): Likewise.
31439 (memset): Likewise. Do not use BP_SYM.
31440 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31442 (PARMS): Do not use macros from bp-asm.h.
31445 (__mpn_mul_1): Do not use BP_SYM.
31446 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31448 (PARMS): Do not use macros from bp-asm.h.
31451 (__mpn_rshift): Do not use BP_SYM.
31452 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31454 (PARMS): Do not use macros from bp-asm.h.
31457 (strchr): Likewise. Do not use BP_SYM.
31458 (index): Do not use BP_SYM in weak_alias.
31459 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31461 (PARMS): Do not use macros from bp-asm.h.
31464 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31465 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31467 (PARMS): Do not use macros from bp-asm.h.
31468 (strlen): Do not use BP_SYM.
31469 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31471 (PARMS): Do not use macros from bp-asm.h.
31475 (__mpn_sub_n): Do not use BP_SYM.
31476 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31478 (PARMS): Do not use macros from bp-asm.h.
31481 (__mpn_submul_1): Do not use BP_SYM.
31482 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31484 (PARMS): Do not use macros from bp-asm.h.
31488 (__mpn_add_n): Do not use BP_SYM.
31489 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31492 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31494 (PARMS): Do not use macros from bp-asm.h.
31497 (memcmp): Do not use BP_SYM.
31498 (bcmp): Do not use BP_SYM in weak_alias.
31499 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31501 (PARMS): Do not use macros from bp-asm.h.
31505 (memcpy): Likewise. Do not use BP_SYM.
31506 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31508 (PARMS): Do not use macros from bp-asm.h.
31512 (memmove): Likewise. Do not use BP_SYM.
31513 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31515 (PARMS): Do not use macros from bp-asm.h.
31519 (__mempcpy): Likewise. Do not use BP_SYM.
31520 (mempcpy): Do not use BP_SYM in weak_alias.
31521 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31523 (PARMS): Do not use macros from bp-asm.h.
31526 [!BZERO_P] (CHR): Likewise.
31527 (memset): Likewise. Do not use BP_SYM.
31528 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31530 (PARMS): Do not use macros from bp-asm.h.
31532 (strcmp): Do not use BP_SYM.
31533 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31535 (PARMS): Do not use macros from bp-asm.h.
31538 [USE_AS_STRTOK_R] (SAVE): Likewise.
31539 (FUNCTION): Likewise. Do not use BP_SYM.
31540 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31542 (strtok_r): Likewise.
31543 (__GI___strtok_r): Likewise.
31544 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31545 (PARMS): Do not use macros from bp-asm.h.
31548 (__mpn_lshift): Do not use BP_SYM.
31549 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31550 (PARMS): Do not use macros from bp-asm.h.
31553 (__memchr): Do not use BP_SYM.
31554 (memchr): Do not use BP_SYM in weak_alias.
31555 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31556 (PARMS): Do not use macros from bp-asm.h.
31559 (memcmp): Do not use BP_SYM.
31560 (bcmp): Do not use BP_SYM in weak_alias.
31561 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31562 (PARMS): Do not use macros from bp-asm.h.
31565 (__mpn_mul_1): Do not use BP_SYM.
31566 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31568 (PARMS): Do not use macros from bp-asm.h.
31571 (__rawmemchr): Do not use BP_SYM.
31572 (rawmemchr): Do not use BP_SYM in weak_alias.
31573 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31574 (PARMS): Do not use macros from bp-asm.h.
31577 (__mpn_rshift): Do not use BP_SYM.
31578 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31579 (PARMS): Do not use macros from bp-asm.h.
31580 (SIGMSK): Likewise.
31581 (__sigsetjmp): Likewise. Do not use BP_SYM.
31582 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31583 (_start): Do not use BP_SYM.
31584 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31585 (PARMS): Do not use macros from bp-asm.h.
31588 (__stpcpy): Likewise. Do not use BP_SYM.
31589 (stpcpy): Do not use BP_SYM in weak_alias.
31590 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31592 (PARMS): Do not use macros from bp-asm.h.
31596 (__stpncpy): Likewise. Do not use BP_SYM.
31597 (stpncpy): Do not use BP_SYM in weak_alias.
31598 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31599 (PARMS): Do not use macros from bp-asm.h.
31602 (strchr): Likewise. Do not use BP_SYM.
31603 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31605 (PARMS): Do not use macros from bp-asm.h.
31608 (__strchrnul): Likewise. Do not use BP_SYM.
31609 (strchrnul): Do not use BP_SYM in weak_alias.
31610 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31612 (PARMS): Do not use macros from bp-asm.h.
31614 (strcspn): Do not use BP_SYM.
31615 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31617 (PARMS): Do not use macros from bp-asm.h.
31620 (strpbrk): Likewise. Do not use BP_SYM.
31621 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31623 (PARMS): Do not use macros from bp-asm.h.
31626 (strrchr): Likewise. Do not use BP_SYM.
31627 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31628 (PARMS): Do not use macros from bp-asm.h.
31630 (strspn): Do not use BP_SYM.
31631 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31632 (PARMS): Do not use macros from bp-asm.h.
31636 (FUNCTION): Likewise. Do not use BP_SYM.
31637 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31639 (strtok_r): Likewise.
31640 (__GI___strtok_r): Likewise.
31641 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31642 (PARMS): Do not use macros from bp-asm.h.
31646 (__mpn_sub_n): Do not use BP_SYM.
31647 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31649 (PARMS): Do not use macros from bp-asm.h.
31652 (__mpn_submul_1): Do not use BP_SYM.
31653 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31655 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31657 (PARMS): Do not use macros from bp-asm.h.
31662 (__clone): Do not use BP_SYM.
31663 (clone): Do not use BP_SYM in weak_alias.
31664 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31666 (PARMS): Do not use macros from bp-asm.h.
31668 (__mmap64): Do not use BP_SYM.
31669 (mmap64): Do not use BP_SYM in weak_alias.
31670 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31671 <bp-sym.h> and <bp-asm.h>.
31672 (PARMS): Do not use macros from bp-asm.h.
31673 (__posix_fadvise64_l64): Do not use BP_SYM.
31674 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31675 (PARMS): Do not use macros from bp-asm.h.
31677 (semtimedop): Do not use BP_SYM.
31678 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31681 2013-02-21 Allan McRae <allan@archlinux.org>
31683 * manual/message.texi (Charset conversion in gettext):
31684 Move @end statement to beginning of line.
31686 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31693 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31694 (denorm): Likewise.
31695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31698 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31700 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31701 tail-call to the resolved function if pltexit isn't needed.
31703 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31706 or Y being zero as being unlikely.
31707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31710 2013-02-20 Carlos O'Donell <carlos@redhat.com>
31712 * manual/nss.texi (System Databases and Name Service Switch):
31713 Remove frobnicate @pxref.
31715 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31717 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31718 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31720 2013-02-20 Petr Machata <pmachata@redhat.com>
31722 * elf/elf.h (R_ARM_TARGET1): New macro.
31723 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31724 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31725 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31726 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31727 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31728 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31729 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31730 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31731 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31732 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31733 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31734 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31735 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31736 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31737 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31738 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31739 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31740 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31741 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31742 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31743 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31744 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31745 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31746 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31747 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31748 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31749 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31750 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31751 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31752 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31753 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31754 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31755 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31756 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31757 (R_ARM_THM_GOT_BREL12): Likewise.
31758 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31759 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31760 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31761 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31762 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31763 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31764 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31765 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31766 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31768 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31770 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31771 __attribute_used__ to __attribute__ ((unused)).
31773 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31775 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31778 comment formatting.
31779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31781 2013-02-19 Joseph Myers <joseph@codesourcery.com>
31784 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31786 (ENTER): Remove both macro definitions.
31788 (CHECK_BOUNDS_LOW): Likewise.
31789 (CHECK_BOUNDS_HIGH): Likewise.
31790 (CHECK_BOUNDS_BOTH): Likewise.
31791 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31792 (RETURN_BOUNDED_POINTER): Likewise.
31793 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31794 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31795 (POP_ERRNO_LOCATION_RETURN): Likewise.
31796 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31797 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31798 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31800 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31801 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31802 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31803 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31804 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31805 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31806 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31807 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31808 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31809 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31810 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31811 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31812 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31813 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31815 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31816 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31818 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31819 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31820 * sysdeps/i386/i586/memset.S (memset): Likewise.
31821 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31822 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31823 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31825 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31826 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31827 Change uses of L(2) to L(out).
31828 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31829 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31830 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31831 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31832 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31834 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31835 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31837 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31838 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31839 (RETURN): Do not use macro LEAVE.
31840 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31841 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31842 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31843 * sysdeps/i386/i686/memset.S (memset): Likewise.
31844 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31845 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31846 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31847 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31849 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31850 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31851 L(1_2) and L(1_3) into L(1).
31852 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31853 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31854 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31855 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31856 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31857 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31858 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31859 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31860 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31862 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31863 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31864 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31865 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31866 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31867 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31868 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31869 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31870 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31871 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31872 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31873 * sysdeps/i386/strspn.S (strspn): Likewise.
31874 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31876 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31877 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31878 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31879 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31880 L(1_3) into L(1_1).
31881 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31882 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31883 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31885 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31887 2013-02-19 Jakub Jelinek <jakub@redhat.com>
31889 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31892 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31894 * math/atest-exp.c (exp_mpn): Remove ROUND.
31895 * math/atest-exp2.c (exp_mpn): Likewise.
31896 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31898 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31899 * stdlib/tst-tls-atexit-lib.c: Likewise.
31900 * stdlib/tst-tls-atexit.c: Likewise.
31902 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31904 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31905 and __attribute_alloc_size__.
31907 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31909 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31910 __attribute_alloc_size__.
31911 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31912 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31914 2013-02-18 Mike Frysinger <vapier@gentoo.org>
31916 * include/programs/xmalloc.h: New file.
31917 * catgets/gencat.c: Include it.
31918 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31919 * elf/pldd.c: Likewise.
31920 * iconv/iconv_charmap.c: Likewise.
31921 * iconv/iconvconfig.c: Likewise.
31922 * iconv/strtab.c: Likewise.
31923 * locale/programs/locale.c: Likewise.
31924 * locale/programs/localedef.h: Likewise.
31925 * locale/programs/simple-hash.c: Likewise.
31926 * nscd/nscd.h: Likewise.
31927 * nss/makedb.c: Likewise.
31928 * sysdeps/generic/ldconfig.h: Likewise.
31930 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31932 * Versions.def: Add GLIBC_2.18.
31933 * include/link.h (struct link_map): New member l_tls_dtor_count.
31934 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31935 (__call_tls_dtors): Likewise.
31936 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31937 __cxa_thread_atexit_impl.
31938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31946 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31954 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31955 (tests): Add test case tst-tls-atexit.
31956 (modules-names): Add shared library for tst-tls-atexit.
31957 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31958 (GLIBC_PRIVATE): Add __call_tls_dtors.
31959 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31961 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31962 * stdlib/tst-tls-atexit.c: New test case.
31963 * stdlib/tst-tls-atexit-lib.c: New test case.
31965 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31967 * elf/Versions (ld): Add _dl_find_dso_for_object.
31968 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31969 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31970 (dl_open_worker): Use _dl_find_dso_for_object.
31971 * elf/dl-sym.c (do_sym): Likewise.
31972 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31974 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31976 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31977 Syntactic changes only.
31978 (_dl_runtime_profile): Do a tail-call to the resolved function.
31980 2013-02-17 Joseph Myers <joseph@codesourcery.com>
31983 * sysdeps/x86_64/bp-asm.h: Remove file.
31984 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31985 <bp-sym.h> and <bp-asm.h>.
31986 (__clone): Do not use BP_SYM.
31987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31988 <bp-sym.h> and <bp-asm.h>.
31989 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31990 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31992 (_setjmp): Do not use BP_SYM.
31993 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31995 (setjmp): Do not use BP_SYM.
31996 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31998 (mempcpy): Do not use BP_SYM in weak_alias.
31999 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32001 (strchr): Do not use BP_SYM.
32002 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32004 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32005 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32006 (_start): Do not use BP_SYM.
32007 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32009 (strcat): Do not use BP_SYM.
32010 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32012 (STRCMP): Do not use BP_SYM.
32013 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32015 (STRCPY): Do not use BP_SYM.
32016 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32018 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32020 (FUNCTION): Do not use BP_SYM.
32021 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32023 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32025 2013-02-17 Andreas Jaeger <aj@suse.de>
32027 * time/Versions: Sort entries.
32028 * string/Versions: Likewise.
32029 * resolv/Versions: Likewise.
32030 * posix/Versions: Likewise.
32031 * iconv/Versions: Likewise.
32032 * elf/Versions: Likewise.
32033 * wcsmbs/Versions: Likewise.
32035 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32037 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32038 loop termination condition.
32040 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32041 variable to calculate EZ.
32044 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32045 the lower precision input.
32047 2013-02-15 Joseph Myers <joseph@codesourcery.com>
32050 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32051 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32052 (run-via-rtld-prefix): Do not handle %-bp tests.
32053 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32054 (all-object-suffixes): Remove .ob.
32055 (bppfx): Remove variable.
32056 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32057 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32058 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32059 [$(build-bounded) = yes] (libtype.ob): Likewise.
32060 * Makerules (elide-routines.ob): Remove variable.
32061 (do-tests-clean): Do not handle *-bp.out.
32062 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32063 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32064 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32065 (tests): Do not include $(tests-bp.out).
32066 (xtests): Do not include $(xtests-bp.out).
32067 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32068 [$(build-bounded) = yes] ($(addprefix
32069 $(objpfx),$(binaries-bounded))): Remove rule.
32070 ($(objpfx)%-bp.out): Remove rule.
32071 * config.make.in (build-bounded): Remove variable.
32072 * crypt/Makefile [$(build-bounded) = yes]
32073 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32074 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32075 append to variable.
32076 [$(build-bounded) = yes] (install-lib): Likewise.
32077 [$(build-bounded) = yes] (generated): Likewise.
32078 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32080 * intl/Makefile [$(build-bounded) = yes]
32081 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32082 * math/Makefile [$(build-bounded) = yes]
32083 ($(tests:%=$(objpfx)%-bp): Likewise.
32084 * misc/Makefile [$(build-bounded) = yes]
32085 ($(objpfx)tst-tsearch-bp): Likewise.
32086 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32087 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32089 * string/Makefile (o-objects.ob): Remove variable.
32090 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32091 (CFLAGS-.ob): Remove variable.
32092 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32093 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32094 both definitions of variable.
32095 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32096 (ASFLAGS-.ob): Remove variable.
32098 2013-02-14 Joseph Myers <joseph@codesourcery.com>
32101 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32102 Remove __BOUNDED_POINTERS__ from condition.
32103 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32104 * string/bits/string2.h [!__NO_STRING_INLINES &&
32105 !__BOUNDED_POINTERS__]: Likewise.
32106 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32108 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32109 Remove conditional code.
32110 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32111 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32112 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32116 * csu/libc-start.c: Do not include <bp-sym.h>.
32117 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32118 * elf/dl-open.c: Do not include <bp-sym.h>.
32119 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32120 * math/fegetenv.c: Do not include <bp-sym.h>.
32121 (fegetenv): Do not use BP_SYM in versioned symbols.
32122 * nptl/sysdeps/pthread/bits/libc-lockP.h
32123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32126 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32128 (__pthread_mutex_destroy): Likewise.
32129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32130 (__pthread_mutex_lock): Likewise.
32131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32132 (__pthread_mutex_trylock): Likewise.
32133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32134 (__pthread_mutex_unlock): Likewise.
32135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32136 (__pthread_mutexattr_init): Likewise.
32137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32138 (__pthread_mutexattr_destroy): Likewise.
32139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32140 (__pthread_mutexattr_settype): Likewise.
32141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32142 (__pthread_rwlock_init): Likewise.
32143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32144 (__pthread_rwlock_destroy): Likewise.
32145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32146 (__pthread_rwlock_rdlock): Likewise.
32147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32148 (__pthread_rwlock_tryrdlock): Likewise.
32149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32150 (__pthread_rwlock_wrlock): Likewise.
32151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32152 (__pthread_rwlock_trywrlock): Likewise.
32153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32154 (__pthread_rwlock_unlock): Likewise.
32155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32156 (__pthread_key_create): Likewise.
32157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32158 (__pthread_setspecific): Likewise.
32159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32160 (__pthread_getspecific): Likewise.
32161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32164 (_pthread_cleanup_push_defer): Likewise.
32165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32166 (_pthread_cleanup_pop_restore): Likewise.
32167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32168 (pthread_setcancelstate): Likewise.
32169 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32171 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32172 (memchr): Do not use BP_SYM in weak_alias.
32173 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32174 (fegetenv): Do not use BP_SYM in versioned symbols.
32175 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32176 (fesetenv): Do not use BP_SYM in versioned symbols.
32177 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32178 (feupdateenv): Do not use BP_SYM in versioned symbols.
32179 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32180 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32181 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32182 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32183 (open64): Do not use BP_SYM in weak_alias.
32184 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32185 (fegetenv): Do not use BP_SYM in versioned symbols.
32186 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32187 (fesetenv): Do not use BP_SYM in versioned symbols.
32188 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32189 (feupdateenv): Do not use BP_SYM in versioned symbols.
32190 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32191 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32192 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32193 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32194 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32195 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32196 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32198 (__libc_start_main): Do not use BP_SYM.
32200 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32203 redundant return line.
32205 (denorm): Likewise.
32206 (dbl_mp): Likewise.
32207 (sub_magnitudes): Likewise.
32213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32215 (denorm): Likewise.
32216 (dbl_mp): Likewise.
32217 (sub_magnitudes): Likewise.
32224 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32226 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32227 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32230 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32231 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32232 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32233 of __mul for squares.
32234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32238 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32239 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32241 2013-02-13 Joseph Myers <joseph@codesourcery.com>
32244 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32246 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32247 prototype or function definition. Rename ubp_* variables and
32248 parameters. Remove argv definitions conditional on
32249 [__BOUNDED_POINTERS__].
32250 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32251 * elf/dl-runtime.c (_dl_fixup): Likewise.
32252 * include/set-hooks.h (RUN_HOOK): Likewise.
32253 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32255 * string/strcpy.c (strcpy): Do not use __unbounded.
32256 * sysdeps/generic/frame.h (struct layout): Likewise.
32257 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32258 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32259 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32260 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32261 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32262 (__backtrace): Likewise.
32263 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32265 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32266 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32267 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32269 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32270 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32271 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32272 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32273 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32274 Do not use __unbounded.
32275 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32276 Rename __unboundedrlimits parameter to rlimits in prototype.
32277 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32278 Do not use __unbounded.
32279 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32280 not use __ptrvalue.
32281 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32282 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32283 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32284 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32285 __ptrvalue or __unbounded.
32286 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32287 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32289 (__new_msgctl): Do not use __ptrvalue.
32290 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32292 (__libc_msgrcv): Do not use __ptrvalue.
32293 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32294 startup_info): Do not use __unbounded.
32295 (__libc_start_main): Likewise. Rename ubp_* variables and
32296 parameters. Remove argv definitions conditional on
32297 [__BOUNDED_POINTERS__].
32298 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32300 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32302 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32304 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32306 (__new_shmctl): Do not use __ptrvalue.
32307 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32308 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32310 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32311 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32312 (__libc_sigaction): Likewise.
32313 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32314 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32316 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32318 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
32320 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32322 * string/mempcpy.c: Implement by calling memcpy.
32324 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32326 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32328 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32331 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32332 values in the mantissa.
32334 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32335 minimize writes to Z.
32336 (sub_magnitudes): Simplify code a bit.
32338 2013-02-12 Roland McGrath <roland@hack.frob.com>
32340 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32341 from the message. The linker prefixes all warnings with that already.
32343 2013-02-12 Andreas Schwab <schwab@suse.de>
32346 * posix/regexec.c (extend_buffers): Add parameter min_len.
32347 (check_matching): Pass minimum needed length.
32348 (clean_state_log_if_needed): Likewise.
32349 (get_subexp): Likewise.
32350 * posix/Makefile (tests): Add bug-regex34.
32351 (bug-regex34-ENV): Define.
32352 * posix/bug-regex34.c: New file.
32355 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32356 elements compare against the byte sequence of it, not its name.
32357 * posix/Makefile (tests): Add bug-regex35.
32358 (bug-regex35-ENV): Define.
32359 * posix/bug-regex35.c: New file.
32361 2013-02-11 Tom de Vries <tom@codesourcery.com>
32363 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32365 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32366 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32367 (CHECK_EOL): Add undef.
32369 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
32371 * bits/stdlib-bsearch.h: New file.
32372 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32373 * stdlib/stdlib.h: Likewise.
32375 2013-02-11 Roland McGrath <roland@hack.frob.com>
32377 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32378 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32380 * manual/search.texi (Array Search Function): Add missing const in
32382 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32383 declaration to use rlim_t.
32384 (Basic Scheduling Functions): Remove erroneous const from
32385 sched_getparam prototype. Remove erroneous * from
32386 sched_get_priority_max and sched_get_priority_min prototypes.
32387 (Resource Usage): Fix summary @comment on vtimes to refer to
32388 sys/vtimes.h rather than vtimes.h.
32389 Add missing *s in vtimes prototype.
32390 (Limits on Resources): Fix ulimit prototype to return long int.
32391 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32392 prototypes to use long int rather than double.
32393 (BSD Random): Fix initstate and setstate to use char *, not void *.
32394 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32395 prototype to make second argument 'struct aiocb64 *const[]'.
32396 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32397 (Status of AIO Operations): Remove erroneous const in aio_return and
32398 aio_return64 prototypes.
32399 (Synchronizing I/O): Fix sync prototype to return void.
32400 * manual/startup.texi (Suboptions): Remove an erroneous const in
32401 getsubopt prototype.
32402 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32403 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32404 use size_t rather than int.
32405 (Scanning All Users): Likewise for getpwent_r.
32406 (Setting Groups): Add missing const to setgroups prototype.
32407 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32408 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32409 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32410 'const void *' rather than 'const char *'.
32411 (Host Address Functions): Likewise for inet_ntop.
32412 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32413 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32414 ssize_t for return value.
32415 (Sending Data): Likewise for send, sendto, sendmsg.
32416 (Socket Option Functions): Add a missing const in setsockopt prototype.
32417 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32418 use wchar_t for the argument.
32419 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32420 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32422 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32423 double/float/long double for second argument.
32424 Fix return types of significand, significandf, significandl.
32425 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32426 argument in fchmod prototype.
32427 (File Owner): Use uid_t and gid_t in fchown prototype.
32428 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32429 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32430 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32431 use 'const struct dirent **' as argument types to CMP function pointer
32433 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32434 (File Times): Fix summary magic @comment for struct utimbuf and utime
32435 to refer to utime.h, not time.h.
32436 * manual/string.texi (Argz Functions): Add missing const in
32437 argz_extract and argz_next prototypes.
32438 (Finding Tokens in a String): Likewise for basename.
32439 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32440 (Copying and Concatenation): Fix typo in wmemmove prototype.
32441 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32442 (Signal Stack): Remove erroneous const in sigstack prototype.
32443 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32445 (Simple Calendar Time): Likewise for stime.
32446 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32448 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32449 say sys/sysctl.h instead.
32450 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32451 and vsyslog prototypes.
32453 2013-02-11 Tom de Vries <tom@codesourcery.com>
32455 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32458 2013-02-11 Roland McGrath <roland@hack.frob.com>
32460 * misc/sys/mman.h: Fix typo in mremap comment.
32462 2013-02-08 Roland McGrath <roland@hack.frob.com>
32464 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32465 the '\0' terminator.
32467 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32470 * debug/segfault.c: Don't include <bp-checks.h>.
32471 * sysdeps/generic/bp-checks.h: Remove file.
32472 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32473 (__GETDENTS): Don't use CHECK_N.
32474 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32475 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32476 (__getgroups): Don't use CHECK_N.
32477 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32478 (setgroups): Don't use CHECK_N.
32479 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32480 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32481 (__libc_msgrcv): Don't use CHECK_N.
32482 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32483 (__libc_msgsnd): Don't use CHECK_N.
32484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32486 (__libc_pread): Don't use CHECK_N.
32487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32488 include <bp-checks.h>.
32489 (__libc_pread64): Don't use CHECK_N.
32490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32491 include <bp-checks.h>.
32492 (__libc_pwrite): Don't use CHECK_N.
32493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32494 include <bp-checks.h>.
32495 (__libc_pwrite64): Don't use CHECK_N.
32496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32498 (__libc_pread): Don't use CHECK_N.
32499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32500 include <bp-checks.h>.
32501 (__libc_pread64): Don't use CHECK_N.
32502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32503 include <bp-checks.h>.
32504 (__libc_pwrite): Don't use CHECK_N.
32505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32506 include <bp-checks.h>.
32507 (__libc_pwrite64): Don't use CHECK_N.
32508 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32509 (do_pread): Don't use CHECK_N.
32510 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32511 (do_pread64): Don't use CHECK_N.
32512 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32513 (do_pwrite): Don't use CHECK_N.
32514 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32515 (do_pwrite64): Don't use CHECK_N.
32516 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32517 (__libc_readv): Don't use CHECK_N.
32518 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32519 (semop): Don't use CHECK_N.
32520 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32522 (semtimedop): Don't use CHECK_N.
32523 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32524 (__libc_pread): Don't use CHECK_N.
32525 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32527 (__libc_pread64): Don't use CHECK_N.
32528 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32530 (__libc_pwrite): Don't use CHECK_N.
32531 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32533 (__libc_pwrite64): Don't use CHECK_N.
32534 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32536 (__libc_msgrcv): Don't use CHECK_N.
32537 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32538 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32539 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32540 (__libc_writev): Don't use CHECK_N.
32542 2013-02-08 Roland McGrath <roland@hack.frob.com>
32544 * string/strcpy.c: Removed unused variable.
32546 * Makeconfig (+sysdep-includes): Define with := rather than =.
32547 Use an existing include/ subdir of each sysdeps dir before it.
32549 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32551 * nscd/connection.c (register_traced_file): Comment function.
32552 [HAVE_INOTIFY] (union __inev): Define.
32553 [HAVE_INOTIFY] (inotify_check_files): New function.
32554 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32555 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32557 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32559 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32561 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32562 loaded if not already and that a failure is permanent.
32564 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32567 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32568 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32570 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32573 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32574 (CHECK_1_NULL_OK): Likewise.
32575 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32576 (__fxstat): Do not use CHECK_1.
32577 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32579 (___fxstat64): Do not use CHECK_1.
32580 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32582 (__fxstatat): Do not use CHECK_1.
32583 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32585 (__fxstatat64): Do not use CHECK_1.
32586 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32588 (__fxstat): Do not use CHECK_1.
32589 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32591 (__fxstatat): Do not use CHECK_1.
32592 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32594 (__getresgid): Do not use CHECK_1.
32595 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32597 (__getresuid): Do not use CHECK_1.
32598 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32600 (__lxstat): Do not use CHECK_1.
32601 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32603 (__old_msgctl): Do not use CHECK_1.
32604 (__new_msgctl): Likewise.
32605 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32607 (__new_setrlimit): Do not use CHECK_1.
32608 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32610 (__old_shmctl): Do not use CHECK_1.
32611 (__new_shmctl): Likewise.
32612 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32614 (__xstat): Do not use CHECK_1.
32615 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32616 (__lxstat): Do not use CHECK_1.
32617 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32619 (___lxstat64): Do not use CHECK_1.
32620 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32621 (__old_msgctl): Do not use CHECK_1.
32622 (__new_msgctl): Likewise.
32623 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32625 (__gettimeofday): Do not use CHECK_1.
32626 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32627 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32628 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32630 (__gettimeofday): Do not use CHECK_1.
32631 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32632 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32633 (__new_shmctl): Do not use CHECK_1.
32634 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32636 (do_sigtimedwait): Do not use CHECK_1.
32637 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32639 (do_sigwaitinfo): Do not use CHECK_1.
32640 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32642 (msgctl): Do not use CHECK_1.
32643 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32645 (shmctl): Do not use CHECK_1.
32646 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32647 (ustat): Do not use CHECK_1.
32648 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32650 (__fxstat): Do not use CHECK_1.
32651 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32653 (__fxstatat): Do not use CHECK_1.
32654 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32656 (__lxstat): Do not use CHECK_1.
32657 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32659 (__xstat): Do not use CHECK_1.
32660 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32661 (__xstat): Do not use CHECK_1.
32662 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32663 (___xstat64): Do not use CHECK_1.
32666 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32668 (CHECK_BOUNDS_HIGH): Likewise.
32669 * string/strcpy.c: Do not include <bp-checks.h>.
32670 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32672 2013-02-07 Roland McGrath <roland@hack.frob.com>
32674 * nscd/nscd-client.h (__nscd_drop_map_ref):
32675 Add __attribute__ ((unused)).
32676 * nis/nss-nisplus.h (niserr2nss): Likewise.
32678 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32679 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32681 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32682 Remove inline keyword.
32683 * include/rounding-mode.h (round_away): Likewise.
32684 * libio/wfileops.c (adjust_wide_data): Likewise.
32685 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32686 (__m128i_strloadu_tolower): Likewise.
32687 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32688 (__m128i_strloadu_tolower): Likewise.
32689 * time/mktime.c (ydhms_diff): Likewise.
32690 * locale/elem-hash.h (elem_hash): Likewise.
32691 * locale/setlocale.c (setdata): Likewise.
32692 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32693 (re_string_wchar_at): Likewise.
32694 (bitset_not, bitset_merge, bitset_mask): Likewise.
32695 [!(__GNUC__ > 3)] (inline): Remove macro.
32696 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32697 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32698 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32699 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32700 * string/memcmp.c (memcmp_bytes): Likewise.
32701 * locale/programs/locarchive.c (compute_hashval): Likewise.
32702 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32703 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32704 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32705 * nss/getent.c (print_rpc, print_protocols): Likewise.
32706 (print_passwd, print_group, print_aliases): Likewise.
32707 * nis/nss-nisplus.h (niserr2nss): Likewise.
32708 * nscd/connections.c (restart_p): Likewise.
32709 Change return type to bool.
32711 2013-02-05 Roland McGrath <roland@hack.frob.com>
32713 * Makeconfig (all-Depend-files): Add existing
32714 $(sorted-subdirs:=/Depend) files.
32715 (all-subdirs): Remove nss.
32716 * sysdeps/unix/inet/Subdirs: Add it here instead.
32717 * hesiod/Depend: New file.
32719 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32720 instead of calling alloca.
32722 * io/lseek.c (__lseek): Rename to __libc_lseek.
32723 Define __lseek as an alias.
32725 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32727 2013-02-04 Carlos O'Donell <carlos@redhat.com>
32729 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32730 else clause and remove check for non-standard endianness.
32732 2013-02-04 David S. Miller <davem@davemloft.net>
32734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32736 2013-02-04 Joseph Myers <joseph@codesourcery.com>
32739 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32740 (__ubp_memchr): Remove prototype.
32741 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32742 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32743 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32744 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32745 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32747 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32748 (__ubp_memchr): Likewise.
32749 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32750 (__ubp_memchr): Likewise.
32751 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32752 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32753 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32754 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32756 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32757 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32758 (__getcwd): Do not use CHECK_STRING.
32759 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32761 (__real_chown): Do not use CHECK_STRING.
32762 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32764 (fchownat): Do not use CHECK_STRING.
32765 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32767 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32769 (__lchown): Do not use CHECK_STRING.
32770 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32771 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32772 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32773 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32775 include <bp-checks.h>.
32776 (truncate64): Do not use CHECK_STRING.
32777 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32779 (__real_chown): Do not use CHECK_STRING.
32780 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32782 (__lchown): Do not use CHECK_STRING.
32783 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32785 (__chown): Do not use CHECK_STRING.
32786 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32788 (truncate64): Do not use CHECK_STRING.
32789 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32791 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32792 (__xmknod): Do not use CHECK_STRING.
32793 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32795 (__xmknodat): Do not use CHECK_STRING.
32796 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32797 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32799 2013-02-04 Andreas Schwab <schwab@suse.de>
32802 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32803 * include/netdb.h: Likewise for h_errno.
32804 * elf/tst-stackguard1.c: Include <tls.h>.
32806 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32808 * elf/link.h (struct link_map): Extend the l_addr comment.
32809 * include/link.h (struct link_map): Likewise.
32811 2013-02-01 Joseph Myers <joseph@codesourcery.com>
32814 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32815 (BOUNDED_1): Remove macro.
32816 * debug/backtrace.c: Don't include <bp-checks.h>.
32817 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32818 (__backtrace): Likewise.
32819 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32821 (__backtrace): Don't use BOUNDED_1.
32822 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32824 (__backtrace): Don't use BOUNDED_1.
32825 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32826 (__backtrace): Don't use BOUNDED_1.
32827 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32828 (shmat): Don't use BOUNDED_N.
32830 2013-01-31 Joseph Myers <joseph@codesourcery.com>
32833 * sysdeps/generic/bp-start.h: Remove file.
32834 * csu/libc-start.c: Don't include <bp-start.h>.
32835 (LIBC_START_MAIN): Set up __environ directly instead of using
32836 INIT_ARGV_and_ENVIRON.
32837 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32841 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32843 (CHECK_FCNTL): Likewise.
32844 (CHECK_N_PAGES): Likewise.
32847 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32849 (CHECK_SIGSET_NULL_OK): Likewise.
32850 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32852 (sigpending): Don't use CHECK_SIGSET.
32853 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32855 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32856 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32858 (do_sigsuspend): Don't use CHECK_SIGSET.
32859 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32861 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32862 (do_sigwait): Don't use CHECK_SIGSET.
32863 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32865 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32866 include <bp-checks.h>.
32867 (sigpending): Don't use CHECK_SIGSET.
32868 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32869 include <bp-checks.h>.
32870 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32871 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32873 (sigpending): Don't use CHECK_SIGSET.
32874 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32876 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32879 * sysdeps/generic/bp-semctl.h: Remove file.
32880 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32881 <bp-checks.h> and <bp-semctl.h>.
32882 (__old_semctl): Don't use CHECK_SEMCTL.
32883 (__new_semctl): Likewise.
32884 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32886 (__old_semctl): Don't use CHECK_SEMCTL.
32887 (__new_semctl): Likewise.
32888 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32889 <bp-checks.h> and <bp-semctl.h>.
32890 (__old_semctl): Don't use CHECK_SEMCTL.
32891 (__new_semctl): Likewise.
32892 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32893 <bp-checks.h> and <bp-semctl.h>.
32894 (semctl): Don't use CHECK_SEMCTL.
32897 * Makerules (elide-bp-thunks): Remove variable.
32898 (elide-routines.oS): Don't use $(elide-bp-thunks).
32899 (elide-routines.os): Likewise.
32900 (elide-routines.o): Likewise.
32901 (elide-routines.op): Likewise.
32902 (elide-routines.og): Likewise.
32903 (objects): Don't use $(bp-thunks).
32904 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32906 (common-generated): Do not add s-proto-bp.d.
32907 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32910 Do not generate makefile rules for bounded-pointer thunks.
32911 * sysdeps/generic/bp-thunks.h: Remove file.
32912 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32913 * sysdeps/unix/s-proto-bp.S: Likewise.
32916 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32917 parts of result separately when argument is not close to line from
32918 -i to i and one part of argument is small.
32919 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32920 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32921 * math/libm-test.inc (cacos_test): Add more tests.
32922 (casin_test): Likewise.
32923 (casinh_test): Likewise.
32924 * sysdeps/i386/fpu/libm-test-ulps: Update.
32925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32927 2013-01-31 David S. Miller <davem@davemloft.net>
32929 * po/de.po: Update from translation team.
32931 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32933 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32935 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32937 * configure.in (_AC_PROG_CC_C89): New definition.
32938 * configure: Regenerate.
32940 * configure.in (AC_PROG_CPP): New definition.
32941 * configure: Regenerate.
32943 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32945 * debug/tst-backtrace.h: New file.
32946 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32947 (ret): Remove variable.
32949 (FAIL): Remove macro.
32950 (NO_INLINE): Likewise.
32951 (fn1): Use match function instead of strstr.
32952 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32953 (ret): Remove variable.
32955 (FAIL): Remove macro.
32956 (NO_INLINE): Likewise.
32957 (fn): Use match function instead of strstr.
32958 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32959 (ret): Remove variable.
32961 (FAIL): Remove macro.
32962 (NO_INLINE): Likewise.
32963 (handle_signal): Use match function instead of strstr.
32964 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32965 (ret): Remove variable.
32967 (FAIL): Remove macro.
32968 (NO_INLINE): Likewise.
32969 (handle_signal): Use match function instead of strstr.
32971 2013-01-23 Roland McGrath <roland@hack.frob.com>
32973 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32975 2013-01-23 David S. Miller <davem@davemloft.net>
32977 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32978 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32979 argument of CAS if possible.
32980 * sysdeps/sparc/sparc64/bits/atomic.h
32981 (__arch_compare_and_exchange_val_32_acq): Likewise.
32982 (__arch_compare_and_exchange_val_64_acq): Likewise.
32984 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32986 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32987 * sysdeps/posix/ulimit.c: ... this.
32988 Include <limits.h>.
32989 * sysdeps/unix/bsd/ulimit.c: Remove file.
32991 2013-01-23 Adam Conrad <adconrad@0c3.net>
32993 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32994 (LDFLAGS-tst-array5): Likewise.
32996 2013-01-23 Joseph Myers <joseph@codesourcery.com>
32999 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33000 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33001 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33002 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33004 2013-01-21 David S. Miller <davem@davemloft.net>
33006 * sysdeps/sparc/backtrace.c: New file.
33007 * sysdeps/sparc/sparc32/backtrace.h: New file.
33008 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33009 * sysdeps/sparc/sparc64/backtrace.h: New file.
33010 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33011 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33014 2013-01-21 Andreas Schwab <schwab@suse.de>
33017 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33020 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33024 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33026 2013-01-18 Joseph Myers <joseph@codesourcery.com>
33027 Mark Mitchell <mark@codesourcery.com>
33028 Tom de Vries <tom@codesourcery.com>
33029 Paul Pluzhnikov <ppluzhnikov@google.com>
33031 * debug/tst-backtrace2.c: New file.
33032 * debug/tst-backtrace3.c: Likewise.
33033 * debug/tst-backtrace4.c: Likewise.
33034 * debug/tst-backtrace5.c: Likewise.
33035 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33036 (CFLAGS-tst-backtrace3.c): Likewise.
33037 (CFLAGS-tst-backtrace4.c): Likewise.
33038 (CFLAGS-tst-backtrace5.c): Likewise.
33039 (LDFLAGS-tst-backtrace2): Likewise.
33040 (LDFLAGS-tst-backtrace3): Likewise.
33041 (LDFLAGS-tst-backtrace4): Likewise.
33042 (LDFLAGS-tst-backtrace5): Likewise.
33043 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33044 tst-backtrace4 and tst-backtrace5.
33046 2013-01-18 Anton Blanchard <anton@samba.org>
33047 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33049 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33050 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33051 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33052 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33054 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33055 "+r" and remove output regs list as redundant. Add explicit inline
33056 asm to specify register of return val to work around compiler codegen
33057 bug. Remove (int) cast on return value. Add return type parameter to
33058 use in macro so that this macro does not truncate return value for
33060 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33061 pass to INTERNAL_VSYSCALL_NCS.
33062 (INLINE_VSYSCALL): Add 'long int' as return type to
33063 INTERNAL_VSYSCALL_NCS macro invocation.
33064 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33065 INTERNAL_VSYSCALL_NCS macro invocation.
33066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33068 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33071 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33072 Fix application of SIMD FP exception mask.
33074 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33075 mp_no from a power of two.
33076 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33077 __mpexp_twomm1. Use __pow_mp.
33079 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33082 2013-01-17 David S. Miller <davem@davemloft.net>
33084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33086 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33089 * include/complex.h: Condition contents on [!_COMPLEX_H].
33090 (__kernel_casinhf): New prototype.
33091 (__kernel_casinh): Likewise.
33092 (__kernel_casinhl): Likewise.
33093 * math/Makefile (libm_calls): Add k_casinh.
33094 * math/k_casinh.c: New file.
33095 * math/k_casinhf.c: Likewise.
33096 * math/k_casinhl.c: Likewise.
33097 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33098 finite nonzero arguments.
33099 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33100 finite nonzero arguments.
33101 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33102 finite nonzero arguments.
33103 * math/s_casinh.c: Do not include <float.h>.
33104 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33105 * math/s_casinhf.c: Do not include <float.h>.
33106 (__casinhf): Move code for finite nonzero arguments to
33108 * math/s_casinhl.c: Do not include <float.h>.
33109 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33111 (__casinhl): Move code for finite nonzero arguments to
33113 * math/libm-test.inc (cacos_test): Add more tests.
33114 * sysdeps/i386/fpu/libm-test-ulps: Update.
33115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33117 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33119 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33120 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33121 [!HAVE_MREMAP]: Remove [defined linux] case.
33122 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33124 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33126 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33128 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
33130 * elf/elf.h (R_386_SIZE32): New relocation.
33131 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33133 (elf_machine_rela): Likewise.
33134 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33135 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33137 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33139 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33140 (FP_FAST_FMA): Do not define.
33141 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33142 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33143 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33144 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33145 !_SOFT_FLOAT]: Likewise.
33146 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33147 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33149 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33150 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33151 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33152 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33153 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33154 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33157 2013-01-16 Andreas Schwab <schwab@suse.de>
33160 * include/stdlib.h (__mktemp): Add declaration.
33161 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33162 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33164 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33166 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33168 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33169 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33170 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33172 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33173 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33175 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33177 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33178 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33179 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33181 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33182 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33184 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33186 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33188 2013-01-15 David S. Miller <davem@davemloft.net>
33190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33191 trunc{,f} to libm-sysdep_routes.
33192 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33202 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33203 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33204 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33205 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33206 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33207 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33210 nearbyint{,f} to libm-sysdep_routes.
33211 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33222 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33224 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33225 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33227 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33228 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33229 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33231 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33232 libc_feholdexcept and libc_fesetenv.
33234 2013-01-15 Mike Frysinger <vapier@gentoo.org>
33236 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33238 2013-01-14 David S. Miller <davem@davemloft.net>
33240 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33241 (SPARC_ASM_VIS2_IFUNC): Likewise.
33242 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33244 use of 'siam' instruction.
33245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33278 routines to libm-sysdep_routines.
33279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33282 fdim/fdimf to libm-sysdep_routines.
33283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33291 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33292 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33293 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33294 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33296 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33298 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33299 to optimize copies.
33301 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33305 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33306 local variable MPTWO.
33307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33310 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33312 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33315 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33317 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33319 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33321 * manual/pattern.texi (glob_t): Document gl_flags.
33322 (glob64_t): Likewise.
33324 2013-01-11 David S. Miller <davem@davemloft.net>
33326 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33327 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33328 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
33329 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33330 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33331 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33332 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33333 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33334 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33335 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33336 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33337 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33338 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33340 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33341 sparc V9 rather than using V8 code.
33342 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33343 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33345 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33347 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33350 2013-01-11 Roland McGrath <roland@hack.frob.com>
33352 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33353 not in the main loop.
33354 * configure: Regenerated.
33356 2013-01-11 Joseph Myers <joseph@codesourcery.com>
33358 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33359 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33361 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33362 [!__GLIBC_HAVE_LONG_LONG] case.
33363 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33364 condition to just #else.
33365 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33366 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33367 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33368 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33370 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33371 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33372 #elif condition to just #else.
33373 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33374 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33375 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33376 #elif condition to just #else.
33378 2013-01-11 Steve Ellcey <sellcey@mips.com>
33380 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33381 (EF_MIPS_ARCH_64): Fix value.
33382 (EF_MIPS_ARCH_32R2): New.
33383 (EF_MIPS_ARCH_64R2): New.
33385 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33387 * Makeconfig (+link-pie-before-libc): New.
33388 (+link-pie-after-libc): Likewise.
33389 (+link-pie-tests): Likewise.
33390 (+link-pie): Rewritten.
33391 (link-before-libc): Remove $(config-LDFLAGS).
33392 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33393 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33394 (config-LDFLAGS): Renamed to ...
33395 (rtld-LDFLAGS): This.
33396 (rtld-tests-LDFLAGS): New macro.
33397 (link-libc-rpath-link): Likewise.
33398 (link-libc-tests-rpath-link): Likewise.
33399 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33400 (link-libc): Prepand $(link-libc-rpath-link).
33401 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33402 (test-program-prefix): New macro.
33403 (test-via-rtld-prefix): Likewise.
33404 (test-program-cmd): Likewise.
33405 (host-test-program-cmd): Likewise.
33406 * Makefile ($(common-objpfx)testrun.sh): Replace
33407 $(run-program-prefix) with $(test-program-prefix).
33408 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33410 ($(common-objpfx)shlib.lds): Likewise.
33411 (build-module-helper): Likewise.
33412 ($(common-objpfx)format.lds): Likewise.
33413 * Rules (binaries-pie-tests): New.
33414 (binaries-pie-notests): Likewise.
33415 (binaries-pie): Rewritten.
33416 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33417 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33418 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33419 (make-test-out): Replace $(host-built-program-cmd) with
33420 $(host-test-program-cmd).
33421 * config.make.in (build-hardcoded-path-in-tests): New variable.
33422 * configure.in (--enable-hardcoded-path-in-tests): New configure
33424 (hardcoded_path_in_tests): New AC_SUBST.
33425 * configure: Regenerated.
33426 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33427 $(built-program-cmd) with $(test-program-cmd).
33428 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33429 (test_program_cmd): This.
33430 * elf/Makefile ($(objpfx)order.out): Run test with
33431 $(test-program-prefix).
33432 ($(objpfx)order2.out): Likewise.
33433 ($(objpfx)tst-initorder.out): Likewise.
33434 ($(objpfx)tst-initorder2.out): Likewise.
33435 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33436 $(test-program-cmd).
33437 ($(objpfx)tst-array1-static.out): Likewise.
33438 ($(objpfx)tst-array2.out): Likewise.
33439 ($(objpfx)tst-array3.out): Likewise.
33440 ($(objpfx)tst-array4.out): Likewise.
33441 ($(objpfx)tst-array5.out): Likewise.
33442 ($(objpfx)tst-array5-static.out): Likewise.
33443 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33444 $(test-program-cmd).
33445 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33446 $(run-program-prefix) with $(test-program-prefix).
33447 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33448 (test_program_prefix): This.
33449 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33450 $(run-program-prefix) with $(test-program-prefix).
33451 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33452 (test_program_prefix): This.
33453 * iconvdata/tst-tables.sh: Likewise.
33454 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33455 $(run-program-prefix) with $(test-program-prefix).
33456 ($(objpfx)tst-translit.out): Likewise.
33457 ($(objpfx)tst-gettext2.out): Likewise.
33458 ($(objpfx)tst-gettext4.out): Likewise.
33459 ($(objpfx)tst-gettext6.out): Likewise.
33460 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33461 (test_program_prefix): This.
33462 * intl/tst-gettext2.sh: Likewise.
33463 * intl/tst-gettext4.sh Likewise.
33464 * intl/tst-gettext6.sh: Likewise.
33465 * intl/tst-translit.sh: Likewise.
33466 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33467 with $(test-program-cmd).
33468 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33469 $(run-program-prefix) with $(test-program-prefix).
33470 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33471 (test_program_prefix): This.
33472 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33473 $(run-program-prefix) with $(test-program-prefix).
33474 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33475 (test_program_prefix): This.
33476 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33477 * posix/Makefile ($(objpfx)globtest.out): Replace
33478 $(run-via-rtld-prefix) and $(test-wrapper) with
33479 $(test-program-prefix) and $(test-via-rtld-prefix).
33480 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33481 $(test-program-prefix).
33482 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33483 $(host-test-program-cmd).
33484 (tst-spawn-ARGS): Likewise.
33485 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33486 $(test-program-prefix).
33487 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33488 (test_via_rtld_prefix): This.
33489 (test_wrapper): Renamed to ...
33490 (test_program_prefix): This.
33491 (run_program_prefix): Replaced by test_program_prefix.
33492 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33493 (test_program_prefix): This.
33494 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33495 with $(host-test-program-cmd).
33496 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33497 $(run-program-prefix) with $(test-program-prefix).
33498 ($(objpfx)tst-printf.out): Likewise.
33499 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33500 $(test-program-cmd).
33501 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33502 (test_program_prefix): This.
33503 * stdio-common/tst-unbputc.sh: Likewise.
33504 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33505 $(run-program-prefix) with $(test-program-prefix).
33506 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33507 (test_program_prefix): This.
33508 * string/Makefile ($(objpfx)tst-svc.out): Replace
33509 $(built-program-cmd) with $(test-program-cmd).
33511 2013-01-11 Andreas Jaeger <aj@suse.de>
33514 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33515 value. Sync with Linux 3.7.
33517 2013-01-10 David S. Miller <davem@davemloft.net>
33519 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33520 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33521 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33523 2013-01-10 Roland McGrath <roland@hack.frob.com>
33525 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33527 * configure: Regenerated.
33529 2013-01-10 David S. Miller <davem@davemloft.net>
33531 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33532 sparc V9 rather than using V8 code.
33533 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33534 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33536 2013-01-10 Roland McGrath <roland@hack.frob.com>
33538 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33539 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33540 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33541 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33542 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33543 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33544 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33545 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33546 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33547 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33548 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33549 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33550 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33551 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33552 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33553 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33554 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33555 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33556 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33557 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33558 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33559 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33560 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33561 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33562 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33563 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33564 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33566 2013-01-10 David S. Miller <davem@davemloft.net>
33568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33570 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33572 * posix/Makefile (tests-static): New variable.
33573 (tests): Add $(tests-static).
33574 (tst-exec-static-ARGS): New variable.
33575 (tst-spawn-static-ARGS): Likewise.
33576 * posix/tst-exec-static.c: New file.
33577 * posix/tst-spawn-static.c: Likewise.
33578 * posix/tst-exec.c: Support run directly.
33579 * posix/tst-spawn.c: Likewise.
33581 2013-01-10 Joseph Myers <joseph@codesourcery.com>
33583 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33585 * math/bits/mathcalls.h (llrint): Likewise.
33586 (llround): Likewise.
33587 * stdlib/stdlib.h (struct drand48_data): Likewise.
33588 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33589 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33590 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33592 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33594 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33595 (elf_greg_t): Likewise.
33596 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33597 (__jmp_buf): Likewise.
33598 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33600 (llrint): Likewise, for all definitions.
33601 (llrintl): Likewise.
33603 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33604 Remove [__GNUC__] condition.
33605 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33606 condition to just [__USE_ISOC99].
33607 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33609 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33612 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33613 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33615 (_POSIX_V6_ILP32_OFF32): Likewise.
33616 (_XBS5_ILP32_OFF32): Likewise.
33617 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33618 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33620 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33622 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33624 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33625 doubles __mpexp_twomm1. Adjust usage.
33626 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33629 2013-01-10 Andreas Schwab <schwab@suse.de>
33632 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33633 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33635 2013-01-09 David S. Miller <davem@davemloft.net>
33638 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33639 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33640 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33641 (TCP_FASTOPEN): Define.
33642 (tcp_repair_opt): New structure.
33643 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33645 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33646 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33647 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33648 (tcp_cookie_transactions): New structure.
33650 2013-01-09 Anton Blanchard <anton@samba.org>
33652 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33653 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33654 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33655 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33657 2013-01-09 Joseph Myers <joseph@codesourcery.com>
33659 * include/features.h (__USE_ANSI): Remove.
33661 2013-01-09 Roland McGrath <roland@hack.frob.com>
33663 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33665 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33667 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33669 * sysdeps/s390/fpu/libm-test-ulps: Update.
33671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33673 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33677 (denorm): Likewise.
33678 (__mp_dbl): Likewise.
33679 (__dbl_mp): Likewise.
33680 (add_magnitudes): Likewise.
33681 (sub_magnitudes): Likewise.
33687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33691 (denorm): Likewise.
33692 (__mp_dbl): Likewise.
33693 (__dbl_mp): Likewise.
33694 (add_magnitudes): Likewise.
33695 (sub_magnitudes): Likewise.
33701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33705 (denorm): Likewise.
33706 (__mp_dbl): Likewise.
33707 (__dbl_mp): Likewise.
33708 (add_magnitudes): Likewise.
33709 (sub_magnitudes): Likewise.
33716 2013-01-08 Joseph Myers <joseph@codesourcery.com>
33718 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33719 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33720 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33721 2 && __USE_EXTERN_INLINES]: Likewise.
33723 2013-01-08 Andreas Jaeger <aj@suse.de>
33726 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33728 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33729 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33731 2013-01-07 Anton Blanchard <anton@samba.org>
33733 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33734 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33735 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33736 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33737 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33738 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33739 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33740 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33742 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33743 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33744 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33745 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33746 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33747 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33748 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33749 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33750 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33751 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33752 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33753 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33754 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33755 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33756 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33757 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33758 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33759 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33760 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33761 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33762 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33763 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33765 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33766 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33767 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33768 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33769 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33770 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33771 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33772 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33773 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33774 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33775 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33777 2013-01-07 Joseph Myers <joseph@codesourcery.com>
33779 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33780 (__MALLOC_PMT): Likewise.
33781 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33782 [__GNUC__], only on [_LIBC].
33783 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33784 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33785 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33786 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33787 forward declaration.
33788 (realloc_hook_ini): Likewise.
33789 (memalign_hook_ini): Likewise.
33790 (__libc_memalign): Do not use __MALLOC_PMT in variable
33792 (__libc_valloc): Likewise.
33793 (__libc_pvalloc): Likewise.
33794 (__libc_calloc): Likewise.
33795 (__posix_memalign): Likewise.
33798 * math/s_casinh.c: Include <float.h>.
33799 (__casinh): Do not do computation with squaring and square root
33800 for large arguments.
33801 * math/s_casinhf.c: Include <float.h>.
33802 (__casinhf): Do not do computation with squaring and square root
33803 for large arguments.
33804 * math/s_casinhl.c: Include <float.h>.
33805 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33806 (__casinhl): Do not do computation with squaring and square root
33807 for large arguments.
33808 * math/libm-test.inc (casin_test): Add more tests.
33809 (casinh_test): Likewise.
33810 * sysdeps/i386/fpu/libm-test-ulps: Update.
33811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33813 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33815 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33816 (__x86_64_raw_data_cache_size): Likewise.
33817 (__x86_64_data_cache_size_half): Likewise.
33818 (__x86_64_raw_data_cache_size_half): Likewise.
33819 (__x86_64_shared_cache_size): Likewise.
33820 (__x86_64_raw_shared_cache_size): Likewise.
33821 (__x86_64_shared_cache_size_half): Likewise.
33822 (__x86_64_raw_shared_cache_size_half): Likewise.
33823 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33825 (__x86_data_cache_size): This.
33826 (__x86_64_raw_data_cache_size): Renamed to ...
33827 (__x86_raw_data_cache_size): This.
33828 (__x86_64_data_cache_size_half): Renamed to ...
33829 (__x86_data_cache_size_half): This.
33830 (__x86_64_raw_data_cache_size_half): Renamed to ...
33831 (__x86_raw_data_cache_size_half): This.
33832 (__x86_64_shared_cache_size): Renamed to ...
33833 (__x86_shared_cache_size): This.
33834 (__x86_64_raw_shared_cache_size): Renamed to ...
33835 (__x86_raw_shared_cache_size): This.
33836 (__x86_64_shared_cache_size_half): Renamed to ...
33837 (__x86_shared_cache_size_half): This.
33838 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33839 (__x86_raw_shared_cache_size_half): This.
33840 * sysdeps/x86_64/memcpy.S: Updated.
33841 * sysdeps/x86_64/memset.S: Likewise.
33842 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33843 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33844 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33846 2013-01-04 David S. Miller <davem@davemloft.net>
33848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33850 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33852 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33853 1 to avoid redefinition warning.
33854 (__USE_GNU): Don't define.
33855 (init_signaling_nan): Protoize.
33857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33859 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33861 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33863 (__cpymn): Likewise.
33864 (norm): Remove commented code.
33865 (denorm): Likewise.
33866 (__mp_dbl): Likewise.
33868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33869 (__cpymn): Likewise.
33870 (norm): Remove commented code.
33871 (denorm): Likewise.
33872 (__mp_dbl): Likewise.
33875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33876 mp_no value for 1.0 and 2.0.
33877 (norm): Use RADIXI instead of radixi.d.
33878 (denorm): Likewise.
33879 (__mul): Use 0.0 instead of zero.d.
33880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33881 mp_no value for 1.0 and 2.0.
33882 (norm): Use RADIXI instead of radixi.d.
33883 (denorm): Likewise.
33884 (__mul): Use 0.0 instead of zero.d.
33886 2013-01-04 Joseph Myers <joseph@codesourcery.com>
33889 * math/s_casinh.c (__casinh): Reduce finite argument to first
33890 quadrant then set signs of results at the end.
33891 * math/s_casinhf.c (__casinhf): Likewise.
33892 * math/s_casinhl.c (__casinhl): Likewise.
33893 * math/libm-test.inc (casin_test): Add more tests.
33894 (casinh_test): Likewise.
33895 * sysdeps/i386/fpu/libm-test-ulps: Update.
33896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33898 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33900 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33902 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33904 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33906 (denorm): Likewise.
33907 (__mp_dbl): Likewise.
33910 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33911 and adjust the header comment.
33913 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33914 variable name from declaration.
33916 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33919 Initialize COMMON_CPUID_INDEX_7 element.
33920 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33921 (CPUID_RTM): Likewise.
33922 (HAS_RTM): Likewise.
33923 (COMMON_CPUID_INDEX_7): New enum.
33925 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33928 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33929 size is zero, record memory as freed.
33931 2013-01-03 Andreas Jaeger <aj@suse.de>
33933 * po/ia.po: Add new Interlingua translation.
33935 2012-01-03 Allan McRae <allan@archlinux.org>
33937 * locale/programs/localedef.c: Fix description of '--posix' flag.
33939 2013-01-02 Joseph Myers <joseph@codesourcery.com>
33941 * NEWS: Update dates in second copyright notice.
33942 * README: Update copyright dates in example.
33943 * manual/libc.texinfo: Update copyright dates.
33944 * scripts/test-installation.pl: Update copyright date in --version
33947 * hurd/ctty-input.c: Fix copyright notice formatting.
33948 * hurd/ctty-output.c: Likewise.
33949 * hurd/dtable.c: Likewise.
33950 * hurd/hurd-raise.c: Likewise.
33951 * hurd/hurdprio.c: Likewise.
33952 * hurd/msgportdemux.c: Likewise.
33953 * misc/sys/file.h: Likewise.
33954 * misc/sys/ioctl.h: Likewise.
33955 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33956 * sysdeps/mach/hurd/chdir.c: Likewise.
33957 * sysdeps/mach/hurd/fchdir.c: Likewise.
33958 * sysdeps/mach/hurd/rename.c: Likewise.
33959 * sysdeps/mach/hurd/rmdir.c: Likewise.
33960 * sysdeps/mach/hurd/seekdir.c: Likewise.
33961 * sysdeps/mach/hurd/setsid.c: Likewise.
33962 * sysdeps/posix/wait3.c: Likewise.
33964 * All files with FSF copyright notices: Update copyright dates
33965 using scripts/update-copyrights.
33966 * intl/plural.c: Regenerated.
33967 * locale/programs/charmap-kw.h: Likewise.
33968 * locale/programs/locfile-kw.h: Likewise.
33970 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33972 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33975 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33976 calculation loop and add branch prediction.
33978 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33979 check access beyond bounds of m1np.
33981 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33983 (__inv): Remove local variable MPTWO to use the global
33985 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33986 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33988 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33989 MP3HALFS static const.
33991 2013-01-01 David S. Miller <davem@davemloft.net>
33993 * po/ca.po: Update from translation team.
33995 2013-01-01 Joseph Myers <joseph@codesourcery.com>
33997 * scripts/update-copyrights: New file.
33998 * Makeconfig: Reformat copyright notice.
33999 * ctype/ctype.h: Likewise.
34000 * debug/swprintf_chk.c: Likewise.
34001 * elf/dl-cache.c: Likewise.
34002 * elf/dl-debug.c: Likewise.
34003 * elf/dl-object.c: Likewise.
34004 * grp/initgroups.c: Likewise.
34005 * hurd/Makefile: Likewise.
34006 * hurd/hurd/signal.h: Likewise.
34007 * hurd/hurdfault.c: Likewise.
34008 * hurd/hurdioctl.c: Likewise.
34009 * hurd/hurdlookup.c: Likewise.
34010 * hurd/intr-msg.c: Likewise.
34011 * iconv/gconv_open.c: Likewise.
34012 * libio/swprintf.c: Likewise.
34013 * locale/lc-ctype.c: Likewise.
34014 * locale/nl_langinfo.c: Likewise.
34015 * mach/Machrules: Likewise.
34016 * mach/Makefile: Likewise.
34017 * malloc/obstack.h: Likewise.
34018 * manual/Makefile: Likewise.
34019 * manual/tsort.awk: Likewise.
34020 * misc/bits/stab.def: Likewise.
34021 * nis/nis_print_group_entry.c: Likewise.
34022 * nis/nis_table.c: Likewise.
34023 * nis/nss_compat/compat-pwd.c: Likewise.
34024 * nis/nss_compat/compat-spwd.c: Likewise.
34025 * po/Makefile: Likewise.
34026 * posix/fnmatch.c: Likewise.
34027 * posix/regex.h: Likewise.
34028 * resolv/Makefile: Likewise.
34029 * resolv/nss_dns/dns-network.c: Likewise.
34030 * resolv/res_hconf.c: Likewise.
34031 * scripts/gen-sorted.awk: Likewise.
34032 * soft-fp/soft-fp.h: Likewise.
34033 * stdio-common/printf.h: Likewise.
34034 * stdlib/monetary.h: Likewise.
34035 * stdlib/random.c: Likewise.
34036 * stdlib/random_r.c: Likewise.
34037 * sysdeps/generic/Makefile: Likewise.
34038 * sysdeps/gnu/Makefile: Likewise.
34039 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34040 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34041 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34042 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34043 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34044 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34045 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34046 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34047 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34048 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34049 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34050 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34051 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34052 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34053 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34054 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34055 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34056 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34057 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34058 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34059 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34060 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34061 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34062 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34063 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34064 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34065 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34066 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34067 * sysdeps/mach/hurd/errnos.awk: Likewise.
34068 * sysdeps/mach/hurd/fork.c: Likewise.
34069 * sysdeps/mach/hurd/getcwd.c: Likewise.
34070 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34071 * sysdeps/mach/hurd/mmap.c: Likewise.
34072 * sysdeps/mach/hurd/utimes.c: Likewise.
34073 * sysdeps/mach/hurd/xmknod.c: Likewise.
34074 * sysdeps/posix/profil.c: Likewise.
34075 * sysdeps/posix/readdir_r.c: Likewise.
34076 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34077 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34078 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34079 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34081 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34082 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34083 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34085 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34086 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34087 * sysdeps/pthread/lio_listio.c: Likewise.
34088 * sysdeps/sparc/dl-procinfo.h: Likewise.
34089 * sysdeps/unix/i386/sysdep.S: Likewise.
34090 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34091 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34092 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34093 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34095 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34096 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34097 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34098 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34099 * sysdeps/wordsize-32/divdi3.c: Likewise.
34100 * time/sys/time.h: Likewise.
34101 * wcsmbs/Makefile: Likewise.
34103 2013-01-01 David S. Miller <davem@davemloft.net>
34105 * po/fr.po: Update from translation team.
34107 * catgets/gencat.c: Update copyright year.
34108 * csu/version.c: Likewise.
34109 * debug/catchsegv.sh: Likewise.
34110 * debug/pcprofiledump.c: Likewise.
34111 * debug/xtrace.sh: Likewise.
34112 * elf/ldconfig.c: Likewise.
34113 * elf/ldd.bash.in: Likewise.
34114 * elf/pldd.c: Likewise.
34115 * elf/sotruss.ksh: Likewise.
34116 * elf/sprof.c: Likewise.
34117 * iconv/iconv_prog.c: Likewise.
34118 * iconv/iconvconfig.c: Likewise.
34119 * locale/programs/locale.c: Likewise.
34120 * locale/programs/localedef.c: Likewise.
34121 * login/programs/pt_chown.c: Likewise.
34122 * malloc/memusage.sh: Likewise.
34123 * malloc/memusagestat.c: Likewise.
34124 * malloc/mtrace.pl: Likewise.
34125 * nscd/nscd.c: Likewise.
34126 * nss/getent.c: Likewise.
34127 * nss/makedb.c: Likewise.
34128 * posix/getconf.c: Likewise.
34130 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34132 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34135 2012-12-30 Mike Frysinger <vapier@gentoo.org>
34137 * math/bits/mathcalls.h (modf): Use __nonnull.
34139 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34141 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34142 (split): Use macro CN instead of the bare value.
34143 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34145 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34146 instead of the bare value.
34147 (power1): Likewise.
34149 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34151 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34153 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34155 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34157 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34158 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34159 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34160 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34162 2012-12-28 Andreas Jaeger <aj@suse.de>
34164 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34165 values are from Linux 3.7.
34167 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34168 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34170 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34172 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34175 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34177 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34178 variables with preprocessor constants.
34179 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34180 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34181 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34183 2012-12-27 Bruno Haible <bruno@clisp.org>
34186 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34189 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34192 and use variable directly.
34193 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34195 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34197 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34198 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34200 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34202 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34203 include directive. Remove local variable MPONE.
34204 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34205 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34206 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34208 2012-12-25 David S. Miller <davem@davemloft.net>
34210 * version.h (RELEASE): Set to "development".
34211 (VERSION): Set to "2.17.90".
34212 * NEWS: Add 2.18 section.
34214 2012-12-21 David S. Miller <davem@davemloft.net>
34216 * po/hr.po: Update from translation team.
34218 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34220 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34222 2012-12-19 Steve Ellcey <sellcey@mips.com>
34224 * NEWS: Mention new memcpy for MIPS.
34226 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34228 * manual/contrib.texi (Contributors): Spelling correction.
34230 2012-12-15 David S. Miller <davem@davemloft.net>
34232 * po/ru.po: Update from translation team.
34234 2012-12-13 David S. Miller <davem@davemloft.net>
34236 * NEWS: Mention IFUNC testsuite enhancements.
34238 * po/pl.po: Update from translation team.
34239 * po/bg.po: Likewise.
34241 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34242 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34244 2012-12-11 David S. Miller <davem@davemloft.net>
34246 * po/sv.po: Update from translation team.
34248 * po/vi.po: Update from translation team.
34250 * po/cs.po: Update from translation team.
34252 * po/de.po: Update from translation team.
34253 * po/eo.po: Likewise.
34254 * po/nl.po: Likewise.
34256 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34259 * manual/argp.texi (Argp Helper Functions): Move node to follow
34260 Argp Parsing State.
34263 * manual/conf.texi (Limits on File System Capacity): Mention if
34264 terminating null is included in the max size.
34266 2012-12-10 Andreas Jaeger <aj@suse.de>
34268 * po/cs.po: Update from translation team.
34270 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34272 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34273 void pointer and cast to uintptr_t.
34274 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34276 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34277 * sysdeps/s390/s390-64/memset.S: Likewise.
34279 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
34282 * menual/message.texi (Message Translation): Fix typos.
34283 (Helper programs for gettext): Likewise.
34285 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34288 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34291 2012-12-07 David S. Miller <davem@davemloft.net>
34293 * po/libc.pot: Update.
34295 2012-12-07 Richard Henderson <rth@redhat.com>
34298 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34299 normal/normal case to before the switch.
34300 (_FP_DIV): Likewise.
34302 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34303 Mike Frysinger <vapier@gentoo.org>
34305 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34306 check for __NR_fadvise64_64.
34308 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34310 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34311 0, not just to plain "0" as a statement.
34312 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34315 2012-12-06 Joseph Myers <joseph@codesourcery.com>
34317 * NEWS: Use sourceware.org in Bugzilla URL.
34319 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34322 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34324 * stdio-common/tst-put-error.c (do_test): Add newline to the
34325 padded test to ensure flush.
34327 2012-12-05 Jeff Law <law@redhat.com>
34329 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34331 2012-12-05 Joseph Myers <joseph@codesourcery.com>
34333 * README: Don't refer to ports add-on as distributed separately.
34334 Mention AArch64 in list of systems supported in the ports add-on.
34336 * LICENSES: Add more non-FSF copyright and license notices.
34338 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34341 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34343 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34344 10000 as width of padded output.
34346 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34348 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34350 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34351 variable LX with __attribute__ ((unused)).
34352 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34354 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34355 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34356 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34357 with __attribute__ ((unused)).
34359 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
34361 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34363 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34365 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34366 (CFLAGS-nldbl-acos.c): New variable.
34367 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34368 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34369 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34370 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34371 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34372 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34373 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34374 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34375 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34376 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34377 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34378 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34379 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34380 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34381 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34382 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34383 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34384 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34385 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34386 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34387 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34388 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34389 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34390 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34391 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34392 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34393 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34394 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34395 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34396 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34397 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34398 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34399 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34400 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34401 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34402 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34403 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34404 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34405 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34406 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34407 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34408 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34409 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34410 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34411 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34412 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34413 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34414 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34415 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34416 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34417 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34418 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34419 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34420 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34421 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34422 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34423 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34424 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34425 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34426 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34427 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34428 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34429 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34430 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34431 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34432 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34433 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34434 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34435 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34436 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34437 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34438 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34439 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34440 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34441 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34442 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34443 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34444 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34445 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34446 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34447 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34448 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34449 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34450 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34451 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34452 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34453 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34454 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34455 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34456 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34457 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34458 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34459 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34460 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34461 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34462 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34463 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34466 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34469 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34470 whole low double instead of just low 47 bits when splitting values
34473 2012-12-03 Allan McRae <allan@archlinux.org>
34475 * manual/stdio.texi (Predefined Printf Handlers): Remove
34476 @hsep and @vsep usage.
34478 2012-12-03 Mike Frysinger <vapier@gentoo.org>
34480 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34481 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34483 2012-12-03 Jeff Law <law@redhat.com>
34485 * time/sys/time.h (settimeofday): Do not mark TV argument
34488 2012-12-01 Mike Frysinger <vapier@gentoo.org>
34490 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34491 when currently writing and seek to current position when not.
34492 * libio/Makefile (tests): Remove bug-fclose1.
34493 * libio/bug-fclose1.c: Delete.
34495 2012-12-01 Joseph Myers <joseph@codesourcery.com>
34497 * manual/arith.texi (feenableexcept): Fix typo.
34498 (fedisableexcept): Likewise.
34500 2012-11-30 Roland McGrath <roland@hack.frob.com>
34502 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34503 second, differently-typed declaration, rather than a cast.
34505 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34507 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34508 * include/rpc/svc.h: ... here.
34510 2012-11-30 Aurelien Jarno <aurel32@debian.org>
34513 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34514 depending n and resplen2 to catch cases where answer
34517 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34519 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34520 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34522 2012-11-29 Mike Frysinger <vapier@gentoo.org>
34524 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34526 2012-11-29 Roland McGrath <roland@hack.frob.com>
34528 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34530 2012-11-28 Jeff Law <law@redhat.com>
34533 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34534 dataset_temporary. Track alloca usage into alloca_used.
34535 If dataset is large allocate and release it via malloc/free.
34537 2012-06-04 Florian Weimer <fweimer@redhat.com>
34540 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34542 2012-11-28 David S. Miller <davem@davemloft.net>
34544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34546 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34549 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34550 of pi/2 rounded to nearest to 64 bits.
34551 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34552 nearest to 64 bits.
34553 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34556 2012-11-28 Jeff Law <law@redhat.com>
34557 Martin Osvald <mosvald@redhat.com>
34560 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34561 * sunrpc/svc.c: Include time.h.
34562 (__svc_accept_failed): New function.
34563 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34564 any reason other than EINTR, call __svc_accept_failed.
34565 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34566 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34568 2012-11-28 Andreas Schwab <schwab@suse.de>
34570 * scripts/abilist.awk: Also handle indirect functions in .opd
34573 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34576 * sysdeps/x86/fpu/powl_helper.c: New file.
34577 * sysdeps/x86/fpu/Makefile: Likewise.
34578 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34580 (__ieee754_powl): Use __powl_helper for finite arguments except
34581 integer exponents below 8.
34582 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34584 (__ieee754_powl): Use __powl_helper for finite arguments except
34585 integer exponents below 8.
34586 * math/libm-test.inc (pow_test): Add more tests and enable some
34587 previously disabled tests.
34588 * sysdeps/i386/fpu/libm-test-ulps: Update.
34589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34591 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34592 Carlos O'Donell <carlos_odonell@mentor.com>
34594 * nss/makedb.c (is_prime): Assert that input is odd and greater
34595 than 4. Note that fact in a comment too.
34596 (next_prime): Add 4 to input.
34598 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34601 * libio/Makefile (tests): Add test case tst-fwrite-error.
34602 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34603 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34604 * libio/tst-fwrite-error.c: New test case.
34606 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34608 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34609 before casting to void *.
34610 * include/libc-internal.h (__pointer_type): New macro.
34611 (__integer_if_pointer_type_sub): Likewise.
34612 (__integer_if_pointer_type): Likewise.
34613 (cast_to_integer): Likewise.
34614 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34615 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34616 before casting to atomic64_t.
34617 (atomic_exchange_acq): Likewise.
34618 (__arch_exchange_and_add_body): Likewise.
34619 (__arch_add_body): Likewise.
34620 (atomic_add_negative): Likewise.
34621 (atomic_add_zero): Likewise.
34623 2012-11-26 Joseph Myers <joseph@codesourcery.com>
34625 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34626 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34627 (add_fdes): Likewise.
34628 (linear_search_fdes): Likewise.
34629 (binary_search_unencoded_fdes): Likewise.
34631 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34633 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34635 2012-11-24 Adam Conrad <adconrad@0c3.net>
34637 * configure.in: Autodetect C++ header directories.
34638 * configure: Regenerated.
34640 2012-11-23 Mike Frysinger <vapier@gentoo.org>
34642 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34644 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34648 2012-11-22 Joseph Myers <joseph@codesourcery.com>
34650 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34651 LDBL_MANT_DIG == 106]: Disable some tests.
34652 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34654 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34658 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34659 input for small inputs. Return +/- pi/2 for large inputs.
34660 * math/libm-test.inc (atan_test): Add more tests.
34662 * sysdeps/generic/unwind-dw2-fde-glibc.c
34663 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34664 __attribute__ ((unused)).
34667 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34668 x * y if x and y are nonzero and z is zero.
34671 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34672 nonzero exponents with absolute value below 0x1p-117 to +/-
34676 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34677 up arguments below 2**-450, not just those below 2**-500.
34678 * math/libm-test.inc (hypot_test): Add another test.
34681 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34682 Return a+b for ratio over 2**120, not 2**60.
34683 * math/libm-test.inc (hypot_test): Add another test.
34685 * math/libm-test.inc (clog_test): Use
34686 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34687 (clog10_test): Likewise.
34690 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34692 2012-11-22 Andreas Schwab <schwab@suse.de>
34694 * sysdeps/i386/fpu/libm-test-ulps: Update.
34696 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34698 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34699 printf output with newline.
34701 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34704 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34705 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34706 -z nodlopen, -z initfirst and -z execstack support.
34707 * configure: Regenerated.
34709 * elf/elf.h (DF_1_NODIRECT): New macro.
34710 (DF_1_IGNMULDEF): Likewise.
34711 (DF_1_NOKSYMS): Likewise.
34712 (DF_1_NOHDR): Likewise.
34713 (DF_1_EDITED): Likewise.
34714 (DF_1_NORELOC): Likewise.
34715 (DF_1_SYMINTPOSE): Likewise.
34716 (DF_1_GLOBAUDIT): Likewise.
34717 (DF_1_SINGLETON): Likewise.
34718 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34719 DT_1_SUPPORTED_MASK bits.
34720 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34722 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34724 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34726 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34728 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34731 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34732 (sendmmsg): Move declarations...
34733 * socket/sys/socket.h: ... here.
34734 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34735 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34737 * socket/recvmmsg.c: ... this new file.
34738 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34739 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34740 definition of __sendmmsg hidden.
34741 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34742 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34743 Move ENOSYS stub into and include it from...
34744 * socket/sendmmsg.c: ... this new file.
34745 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34746 (sysdep_routines): Move recvmmsg and sendmmsg...
34747 * socket/Makefile (routines): ... here.
34748 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34749 (GLIBC_PRIVATE): Add __sendmmsg.
34750 * include/sys/socket.h (__sendmmsg): Add declarations.
34751 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34754 2012-11-20 Joseph Myers <joseph@codesourcery.com>
34756 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34757 variable I1 with __attribute__ ((unused)).
34758 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34760 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34762 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34763 DUMMY variables with __attribute__ ((unused)).
34765 * bits/byteswap.h: Include <bits/types.h>.
34766 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34768 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34770 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34771 string_t. Do not manually set errno.
34772 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34773 length with __strnlen. Make sure to both set errno and return it on
34776 2012-11-19 David S. Miller <davem@davemloft.net>
34778 With help from Joseph Myers.
34779 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34780 very large arguments properly.
34781 * math/libm-test.inc (atan_test): New tests.
34782 (atan2_test): New tests.
34783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34786 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34789 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34792 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34793 [POSIX] (EADDRNOTAVAIL): Likewise.
34794 [POSIX] (EAFNOSUPPORT): Likewise.
34795 [POSIX] (EALREADY): Likewise.
34796 [POSIX] (ECONNABORTED): Likewise.
34797 [POSIX] (ECONNREFUSED): Likewise.
34798 [POSIX] (ECONNRESET): Likewise.
34799 [POSIX] (EDESTADDRREQ): Likewise.
34800 [POSIX] (EDQUOT): Likewise.
34801 [POSIX] (EHOSTUNREACH): Likewise.
34802 [POSIX] (EIDRM): Likewise.
34803 [POSIX] (EISCONN): Likewise.
34804 [POSIX] (ELOOP): Likewise.
34805 [POSIX] (EMULTIHOP): Likewise.
34806 [POSIX] (ENETDOWN): Likewise.
34807 [POSIX] (ENETUNREACH): Likewise.
34808 [POSIX] (ENOBUFS): Likewise.
34809 [POSIX] (ENODATA): Likewise.
34810 [POSIX] (ENOLINK): Likewise.
34811 [POSIX] (ENOMSG): Likewise.
34812 [POSIX] (ENOPROTOOPT): Likewise.
34813 [POSIX] (ENOSR): Likewise.
34814 [POSIX] (ENOSTR): Likewise.
34815 [POSIX] (ENOTCONN): Likewise.
34816 [POSIX] (ENOTSOCK): Likewise.
34817 [POSIX] (EOPNOTSUPP): Likewise.
34818 [POSIX] (EOVERFLOW): Likewise.
34819 [POSIX] (EPROTO): Likewise.
34820 [POSIX] (EPROTONOSUPPORT): Likewise.
34821 [POSIX] (EPROTOTYPE): Likewise.
34822 [POSIX] (ESTALE): Likewise.
34823 [POSIX] (ETIME): Likewise.
34824 [POSIX] (ETXTBSY): Likewise.
34825 [POSIX] (EWOULDBLOCK): Likewise.
34826 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34827 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34828 [POSIX] (SEEK_CUR): Likewise.
34829 [POSIX] (SEEK_END): Likewise.
34830 [POSIX || UNIX98] (mode_t): Do not require.
34831 [POSIX] (off_t): Likewise.
34832 [POSIX] (pid_t): Likewise.
34833 [POSIX] (sys/stat.h): Do not allow header.
34834 [POSIX] (unistd.h): Likewise.
34835 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34836 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34837 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34838 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34840 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34841 sigevent): Specify elements.
34842 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34844 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34845 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34847 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34848 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34849 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34850 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34851 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34852 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34853 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34854 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34855 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34856 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34857 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34858 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34859 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34860 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34862 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34864 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34866 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34868 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34869 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34870 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34871 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34872 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34873 Specify lower bound on value.
34874 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34875 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34876 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34877 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34878 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34879 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34880 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34881 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34883 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34885 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34886 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34887 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34888 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34889 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34890 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34891 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34892 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34893 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34894 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34895 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34896 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34897 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34898 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34899 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34900 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34902 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34904 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34905 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34906 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34907 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34908 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34909 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34911 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34912 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34913 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34914 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34915 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34916 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34917 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34919 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34920 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34921 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34922 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34923 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34924 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34925 specify as optional.
34926 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34927 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34928 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34929 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34930 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34931 [XPG3] (NL_LANGMAX): Likewise.
34932 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34933 [POSIX || XPG3] (NL_NMAX): Likewise.
34934 [POSIX || XPG3] (NL_SETMAX): Likewise.
34935 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34936 [XPG3] (NZERO): Likewise.
34937 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34938 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34939 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34940 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34941 (REG_ERANGE): Expect.
34942 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34944 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34945 Use (void) in prototype.
34946 [POSIX] (*_t): Allow.
34947 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34948 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34949 (WRDE_BADVAL): Expect.
34951 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34953 [XPG3 || XPG4] (O_RSYNC): Likewise.
34954 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34956 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34957 [XPG3 || XPG4] (sigqueue): Likewise.
34958 [XPG3 || XPG4] (sigtimedwait): Likewise.
34959 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34960 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34961 [XPG3 || XPG4] (vsnprintf): Likewise.
34962 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34964 [XPG3 || XPG4] (blksize_t): Likewise.
34965 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34967 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34968 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34969 [XPG3 || XPG4] (struct itimerspec): Likewise.
34970 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34971 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34972 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34973 [XPG3 || XPG4] (clockid_t): Likewise.
34974 [XPG3 || XPG4] (timer_t): Likewise.
34975 [XPG3 || XPG4] (clock_getres): Likewise.
34976 [XPG3 || XPG4] (clock_gettime): Likewise.
34977 [XPG3 || XPG4] (clock_settime): Likewise.
34978 [XPG3 || XPG4] (nanosleep): Likewise.
34979 [XPG3 || XPG4] (timer_create): Likewise.
34980 [XPG3 || XPG4] (timer_delete): Likewise.
34981 [XPG3 || XPG4] (timer_gettime): Likewise.
34982 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34983 [XPG3 || XPG4] (timer_settime): Likewise.
34984 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34985 [XPG3 || XPG4] (getlogin_r): Likewise.
34986 [XPG3 || XPG4] (pread): Likewise.
34987 [XPG3 || XPG4] (pthread_atfork): Likewise.
34988 [XPG3 || XPG4] (pwrite): Likewise.
34991 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34994 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34996 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34997 finalizing MALLSTREAM.
34999 * sysdeps/mach/hurd/syncfs.c: New file.
35001 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35004 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35005 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35006 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35007 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35008 (_nss_dns_gethostbyname4_r): Likewise.
35009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35010 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35012 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35015 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35017 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35019 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35020 * elf/cache.c (print_entry): Print ",AArch64" for
35023 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35024 * elf/cache.c (print_entry): Print ",hard-float" for
35027 2012-11-18 David S. Miller <davem@davemloft.net>
35029 With help from Joseph Myers.
35030 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35032 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35034 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35035 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35037 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35038 * math/libm-test.inc (y0_test): New tests.
35039 (y1_test): New tests.
35040 * sysdeps/i386/fpu/libm-test-ulps: Update.
35041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35044 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35046 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35048 * configure: Regenerated.
35050 2012-11-17 David S. Miller <davem@davemloft.net>
35053 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35054 nonzero exponents with absolute value below 0x1p-128 to +/-
35057 2012-11-17 Joseph Myers <joseph@codesourcery.com>
35059 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35061 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35063 * posix/getconf-speclist.c: New file.
35064 * posix/posix-envs.def: Likewise.
35065 * posix/confstr.c (START_ENV_GROUP): New macro.
35066 (END_ENV_GROUP): Likewise.
35067 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35068 (KNOWN_PRESENT_ENV_STRING): Likewise.
35069 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35070 (UNKNOWN_ENVIRONMENT): Likewise.
35071 (confstr): Include posix-envs.def instead of handling
35072 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35073 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35074 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35075 (END_ENV_GROUP): Likewise.
35076 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35077 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35078 (UNKNOWN_ENVIRONMENT): Likewise.
35079 (__sysconf): Include posix-envs.def instead of handling associated
35080 cases directly here.
35081 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35082 preprocessing getconf-speclist.c rather than running getconf or
35083 generating empty file.
35085 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35087 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35089 2012-11-16 Andrej Lajovic <natrij@gmail.com>
35092 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35094 2012-11-16 David S. Miller <davem@davemloft.net>
35096 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35097 smaller than LDBL_EPSILON/2.0L, just return xm1.
35099 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35101 * elf/tst-array1.c (init): Set constructor priority to 1000.
35102 (fini): Set destructor priority to 1000.
35103 * elf/tst-array2dep.c: Likewise.
35105 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35108 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35109 (_IO_new_file_xsputn): Also return EOF if none of the input
35110 data was written when overflow failed.
35111 * libio/iopadn.c (_IO_padn): Likewise.
35112 * libio/iowpadn.c (_IO_wpadn): Likewise.
35113 * stdio-common/tst-put-error.c: Add copyright notice.
35114 (do_test): Add case for printing padded string.
35115 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35116 _IO_padn returned error.
35117 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35118 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35121 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35123 * libio/libioP.h: Add comment note that the references to C++
35124 bits are now obsolete.
35126 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35128 * math/libm-test.inc (check_complex): Use asprintf.
35130 2012-11-14 Joseph Myers <joseph@codesourcery.com>
35132 * debug/pcprofiledump.c (print_version): Update copyright year.
35133 * malloc/memusagestat.c (print_version): Likewise.
35135 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35138 * elf/Makefile (tests): Add tst-audit8.
35139 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35140 ($(objpfx)tst-audit8.out): New target.
35141 (tst-audit8-ENV): New variable.
35142 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35143 audit if l_reloc_result is NULL.
35144 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35145 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35146 * elf/tst-audit8.c: New file.
35148 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35150 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35151 * misc/Makefile (CFLAGS-select.c): Define.
35152 * posix/Makefile (CFLAGS-pause.c): Define.
35154 2012-11-13 David S. Miller <davem@davemloft.net>
35156 * crypt/Makefile: Move test targets after toplevel Rules
35157 inclusion. Grab any necessary sysdep routines when linking.
35158 * crypt/md5.c (md5_process_block): Remove define, we will always
35159 name it __md5_process_block.
35160 (md5_finish_ctx): Update md5_process_block call.
35161 (md5_stream): Likewise.
35162 (md5_process_bytes): Likewise.
35163 (md5_process_block): Rename to __md5_process_block and move to ...
35164 * crypt/md5-block.c: ... here.
35165 * crypt/sha256.c (sha256_process_block): Move to ...
35166 * crypt/sha256-block.c: ... here.
35167 * crypt/sha512.c (sha512_process_block): Move to ...
35168 * crypt/sha512-block.c: ... here.
35169 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35171 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35172 * sysdeps/sparc/sparc64/multiarch/Makefile
35173 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35175 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35176 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35178 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35179 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35180 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35181 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35182 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35183 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35184 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35185 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35186 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35188 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35189 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35191 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35193 2012-11-13 Joseph Myers <joseph@codesourcery.com>
35195 * timezone/tzselect.ksh: Update from tzcode git revision
35196 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35197 * timezone/zdump.c: Likewise.
35198 * timezone/zic.c: Likewise.
35199 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35200 in TZVERSION setting, not $(PKGVERSION).
35201 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35202 REPORT_BUGS_TO settings.
35205 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35208 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35210 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35211 detection to immediately after _FP_ROUND().
35212 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35215 2012-11-11 David S. Miller <davem@davemloft.net>
35217 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35219 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35220 __close rather than their public counterparts.
35222 2012-11-10 Joseph Myers <joseph@codesourcery.com>
35224 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35226 [UNIX98] (sem_timedwait): Do not expect.
35227 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35228 [XPG4 || UNIX98] (sockatmark): Do not expect.
35229 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35230 (clock_getcpuclockid): Do not expect.
35231 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35232 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35234 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35235 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35236 [UNIX98] (vwscanf): Likewise.
35237 [UNIX98] (vswscanf): Likewise.
35239 2012-11-09 Joseph Myers <joseph@codesourcery.com>
35241 * timezone/version.h: Remove file.
35242 * timezone/README: Do not refer to version.h.
35243 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35244 $(objpfx)version.h.
35245 ($(objpfx)zdump.o): Likewise.
35246 ($(objpfx)version.h): New target.
35248 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35250 * timezone/README: Don't mention modification to tzselect.ksh.
35251 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35252 work on unmodified tzselect.ksh. Substitute version numbers in
35255 * Makefile (format-me): Remove.
35256 (INSTALL): Adjust indentation. Use commands directly instead of
35257 using $(format-me).
35259 * aclocal.m4 (ACX_PKGVERSION): New macro.
35260 (ACX_BUGURL): Likewise.
35261 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35262 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35263 (REPORT_BUGS_TO): Likewise.
35264 * configure: Regenerated.
35265 * config.h.in (PKGVERSION): New macro.
35266 (REPORT_BUGS_TO): Likewise.
35267 * config.make.in (PKGVERSION): New variable.
35268 (PKGVERSION_TEXI): Likewise.
35269 (REPORT_BUGS_TO): Likewise.
35270 (REPORT_BUGS_TEXI): Likewise.
35271 * Makefile (format-me): Use -I$(common-objpfx)manual.
35272 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35273 ($(common-objpfx)manual/%): New target.
35274 (manual/%): Remove target.
35275 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35276 (print_version): Use PKGVERSION.
35277 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35278 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35279 and REPORT_BUGS_TO.
35280 ($(objpfx)xtrace): Likewise.
35281 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35282 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35283 (print_version): Use PKGVERSION.
35284 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35285 (do_version): Use PKGVERSION.
35286 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35288 (common-ldd-rewrite): Likewise.
35289 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35290 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35291 (print_version): Use PKGVERSION.
35292 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35293 * elf/pldd.c (argp_program_bug_address): Remove variable.
35294 (more_help): New function.
35295 (argp): Use more_help.
35296 (print_version): Use PKGVERSION.
35297 * elf/sln.c (main): Use PKGVERSION.
35298 (usage): Use REPORT_BUGS_TO.
35299 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35300 (top level): Use PKGVERSION.
35301 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35302 (print_version): Use PKGVERSION.
35303 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35304 (print_version): Use PKGVERSION.
35305 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35306 (print_version): Use PKGVERSION.
35307 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35308 (print_version): Use PKGVERSION.
35309 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35310 (print_version): Use PKGVERSION.
35311 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35312 (print_version): Use PKGVERSION.
35313 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35315 ($(objpfx)memusage): Likewise.
35316 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35317 (do_version): Use PKGVERSION.
35318 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35319 (print_version): Use PKGVERSION.
35320 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35321 ($PKGVERSION): New variable.
35322 ($REPORT_BUGS_TO): Likewise.
35323 (usage): Use $REPORT_BUGS_TO.
35324 (top level): Use $PKGVERSION.
35325 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35326 ($(objpfx)pkgvers.texi): New rule.
35327 ($(objpfx)stamp-pkgvers): Likewise.
35328 * manual/install.texi: Include pkgvers.texi.
35329 (--with-pkgversion): Document new configure option.
35330 (--with-bugurl): Likewise.
35331 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35332 than necessarily for this particular distribution. Use
35333 REPORT_BUGS_TO for where to report bugs.
35334 * INSTALL: Regenerated.
35335 * manual/libc.texinfo: Include pkgvers.texi.
35336 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35337 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35338 (print_version): Use PKGVERSION.
35339 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35340 (print_version): Use PKGVERSION.
35341 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35342 (print_version): Use PKGVERSION.
35343 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35344 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35346 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35347 (print_version): Use PKGVERSION.
35348 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35349 (print_version): Use PKGVERSION.
35350 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35353 * timezone/checktab.awk: Update from tzcode 2012i.
35354 * timezone/ialloc.c: Likewise.
35355 * timezone/private.h: Likewise.
35356 * timezone/scheck.c: Likewise.
35357 * timezone/tzfile.h: Likewise.
35358 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35359 (TZVERSION): Hardcode tzcode version number.
35360 * timezone/zdump.c: Update from tzcode 2012i.
35361 * timezone/zic.c: Likewise.
35362 * timezone/version.h: New file.
35363 * timezone/README: Describe version.h. Update upstream location.
35366 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35367 (mktemp): Enable declaration.
35368 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35369 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35370 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35371 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35373 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35375 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35377 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35385 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35386 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35387 for copies of such integer values.
35388 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35389 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35391 2012-11-09 Andreas Jaeger <aj@suse.de>
35393 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35394 definitions and declarations that are provided by
35395 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35397 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35399 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35400 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35401 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35404 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35406 * elf/elf.h: Update comment before AArch64 relocations.
35408 2012-11-07 David S. Miller <davem@davemloft.net>
35410 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35411 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35412 (__start_context): Declare.
35413 (__makecontext_ret): Delete.
35414 (__makecontext): Hook up __start_context instead of
35416 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35417 (sysdep_routines): Add __start_context when in stdlib.
35419 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35421 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35422 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35423 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35425 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35426 (READELF): New variable. Use it instead of hardcoded "readelf".
35428 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35430 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35431 * sysdeps/x86/Makefile: Here.
35432 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35433 * sysdeps/x86/tst-xmmymm.sh: This.
35435 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35437 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35439 [UNIX98] (pthread_barrier_t): Do not expect.
35440 [UNIX98] (pthread_barrierattr_t): Likewise.
35441 [UNIX98] (pthread_spinlock_t): Likewise.
35442 [UNIX98] (pthread_barrier_destroy): Likewise.
35443 [UNIX98] (pthread_barrier_init): Likewise.
35444 [UNIX98] (pthread_barrier_wait): Likewise.
35445 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35446 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35447 [UNIX98] (pthread_barrierattr_init): Likewise.
35448 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35449 [UNIX98] (pthread_getcpuclockid): Likewise.
35450 [UNIX98] (pthread_mutex_timedlock): Likewise.
35451 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35452 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35453 [UNIX98] (pthread_sigmask): Likewise.
35454 [UNIX98] (pthread_spin_destroy): Likewise.
35455 [UNIX98] (pthread_spin_init): Likewise.
35456 [UNIX98] (pthread_spin_lock): Likewise.
35457 [UNIX98] (pthread_spin_trylock): Likewise.
35458 [UNIX98] (pthread_spin_unlock): Likewise.
35459 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35461 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35462 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35463 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35464 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35465 [XPG3 || XPG4] (pthread_key_t): Likewise.
35466 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35467 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35468 [XPG3 || XPG4] (pthread_once_t): Likewise.
35469 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35470 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35471 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35472 [XPG3 || XPG4] (pthread_t): Likewise.
35474 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35476 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35478 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35479 Change function return type to int.
35481 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35482 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35483 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35484 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35485 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35486 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35487 [!POSIX] (posix_madvise): Likewise.
35488 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35490 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35491 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35492 (mode_t): Likewise.
35493 (posix_mem_offset): Likewise.
35494 (posix_typed_mem_get_info): Likewise.
35495 (posix_typed_mem_open): Likewise.
35497 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35498 Change condition to [XOPEN2K8].
35500 * conform/conformtest.pl: Preprocess allow-header data with -x c
35501 instead of from stdin.
35502 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35503 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35504 [C99-based standards] (cerfc): Likewise.
35505 [C99-based standards] (cexp2): Likewise.
35506 [C99-based standards] (cexpm1): Likewise.
35507 [C99-based standards] (clog10): Likewise.
35508 [C99-based standards] (clog1p): Likewise.
35509 [C99-based standards] (clog2): Likewise.
35510 [C99-based standards] (clgamma): Likewise.
35511 [C99-based standards] (ctgamma): Likewise.
35512 [C99-based standards] (cerff): Likewise.
35513 [C99-based standards] (cerfcf): Likewise.
35514 [C99-based standards] (cexp2f): Likewise.
35515 [C99-based standards] (cexpm1f): Likewise.
35516 [C99-based standards] (clog10f): Likewise.
35517 [C99-based standards] (clog1pf): Likewise.
35518 [C99-based standards] (clog2f): Likewise.
35519 [C99-based standards] (clgammaf): Likewise.
35520 [C99-based standards] (ctgammaf): Likewise.
35521 [C99-based standards] (cerfl): Likewise.
35522 [C99-based standards] (cerfcl): Likewise.
35523 [C99-based standards] (cexp2l): Likewise.
35524 [C99-based standards] (cexpm1l): Likewise.
35525 [C99-based standards] (clog10l): Likewise.
35526 [C99-based standards] (clog1pl): Likewise.
35527 [C99-based standards] (clog2l): Likewise.
35528 [C99-based standards] (clgammal): Likewise.
35529 [C99-based standards] (ctgammal): Likewise.
35530 * conform/data/inttypes.h-data [C99-based standards]: Include
35531 stdint.h-data. Remove all expectations for stdint.h contents.
35532 [C99-based standards] (PRI*): Do not allow.
35533 [C99-based standards] (SCN*): Likewise.
35534 [C99-based standards] (*_t): Likewise.
35535 [C99-based-standards] (PRId8): Expect macro.
35536 [C99-based-standards] (PRIi8): Likewise.
35537 [C99-based-standards] (PRIo8): Likewise.
35538 [C99-based-standards] (PRIu8): Likewise.
35539 [C99-based-standards] (PRIx8): Likewise.
35540 [C99-based-standards] (PRIX8): Likewise.
35541 [C99-based-standards] (SCNd8): Likewise.
35542 [C99-based-standards] (SCNi8): Likewise.
35543 [C99-based-standards] (SCNo8): Likewise.
35544 [C99-based-standards] (SCNu8): Likewise.
35545 [C99-based-standards] (SCNx8): Likewise.
35546 [C99-based-standards] (PRIdLEAST8): Likewise.
35547 [C99-based-standards] (PRIiLEAST8): Likewise.
35548 [C99-based-standards] (PRIoLEAST8): Likewise.
35549 [C99-based-standards] (PRIuLEAST8): Likewise.
35550 [C99-based-standards] (PRIxLEAST8): Likewise.
35551 [C99-based-standards] (PRIXLEAST8): Likewise.
35552 [C99-based-standards] (SCNdLEAST8): Likewise.
35553 [C99-based-standards] (SCNiLEAST8): Likewise.
35554 [C99-based-standards] (SCNoLEAST8): Likewise.
35555 [C99-based-standards] (SCNuLEAST8): Likewise.
35556 [C99-based-standards] (SCNxLEAST8): Likewise.
35557 [C99-based-standards] (PRIdFAST8): Likewise.
35558 [C99-based-standards] (PRIiFAST8): Likewise.
35559 [C99-based-standards] (PRIoFAST8): Likewise.
35560 [C99-based-standards] (PRIuFAST8): Likewise.
35561 [C99-based-standards] (PRIxFAST8): Likewise.
35562 [C99-based-standards] (PRIXFAST8): Likewise.
35563 [C99-based-standards] (SCNdFAST8): Likewise.
35564 [C99-based-standards] (SCNiFAST8): Likewise.
35565 [C99-based-standards] (SCNoFAST8): Likewise.
35566 [C99-based-standards] (SCNuFAST8): Likewise.
35567 [C99-based-standards] (SCNxFAST8): Likewise.
35568 [C99-based-standards] (PRId16): Likewise.
35569 [C99-based-standards] (PRIi16): Likewise.
35570 [C99-based-standards] (PRIo16): Likewise.
35571 [C99-based-standards] (PRIu16): Likewise.
35572 [C99-based-standards] (PRIx16): Likewise.
35573 [C99-based-standards] (PRIX16): Likewise.
35574 [C99-based-standards] (SCNd16): Likewise.
35575 [C99-based-standards] (SCNi16): Likewise.
35576 [C99-based-standards] (SCNo16): Likewise.
35577 [C99-based-standards] (SCNu16): Likewise.
35578 [C99-based-standards] (SCNx16): Likewise.
35579 [C99-based-standards] (PRIdLEAST16): Likewise.
35580 [C99-based-standards] (PRIiLEAST16): Likewise.
35581 [C99-based-standards] (PRIoLEAST16): Likewise.
35582 [C99-based-standards] (PRIuLEAST16): Likewise.
35583 [C99-based-standards] (PRIxLEAST16): Likewise.
35584 [C99-based-standards] (PRIXLEAST16): Likewise.
35585 [C99-based-standards] (SCNdLEAST16): Likewise.
35586 [C99-based-standards] (SCNiLEAST16): Likewise.
35587 [C99-based-standards] (SCNoLEAST16): Likewise.
35588 [C99-based-standards] (SCNuLEAST16): Likewise.
35589 [C99-based-standards] (SCNxLEAST16): Likewise.
35590 [C99-based-standards] (PRIdFAST16): Likewise.
35591 [C99-based-standards] (PRIiFAST16): Likewise.
35592 [C99-based-standards] (PRIoFAST16): Likewise.
35593 [C99-based-standards] (PRIuFAST16): Likewise.
35594 [C99-based-standards] (PRIxFAST16): Likewise.
35595 [C99-based-standards] (PRIXFAST16): Likewise.
35596 [C99-based-standards] (SCNdFAST16): Likewise.
35597 [C99-based-standards] (SCNiFAST16): Likewise.
35598 [C99-based-standards] (SCNoFAST16): Likewise.
35599 [C99-based-standards] (SCNuFAST16): Likewise.
35600 [C99-based-standards] (SCNxFAST16): Likewise.
35601 [C99-based-standards] (PRId32): Likewise.
35602 [C99-based-standards] (PRIi32): Likewise.
35603 [C99-based-standards] (PRIo32): Likewise.
35604 [C99-based-standards] (PRIu32): Likewise.
35605 [C99-based-standards] (PRIx32): Likewise.
35606 [C99-based-standards] (PRIX32): Likewise.
35607 [C99-based-standards] (SCNd32): Likewise.
35608 [C99-based-standards] (SCNi32): Likewise.
35609 [C99-based-standards] (SCNo32): Likewise.
35610 [C99-based-standards] (SCNu32): Likewise.
35611 [C99-based-standards] (SCNx32): Likewise.
35612 [C99-based-standards] (PRIdLEAST32): Likewise.
35613 [C99-based-standards] (PRIiLEAST32): Likewise.
35614 [C99-based-standards] (PRIoLEAST32): Likewise.
35615 [C99-based-standards] (PRIuLEAST32): Likewise.
35616 [C99-based-standards] (PRIxLEAST32): Likewise.
35617 [C99-based-standards] (PRIXLEAST32): Likewise.
35618 [C99-based-standards] (SCNdLEAST32): Likewise.
35619 [C99-based-standards] (SCNiLEAST32): Likewise.
35620 [C99-based-standards] (SCNoLEAST32): Likewise.
35621 [C99-based-standards] (SCNuLEAST32): Likewise.
35622 [C99-based-standards] (SCNxLEAST32): Likewise.
35623 [C99-based-standards] (PRIdFAST32): Likewise.
35624 [C99-based-standards] (PRIiFAST32): Likewise.
35625 [C99-based-standards] (PRIoFAST32): Likewise.
35626 [C99-based-standards] (PRIuFAST32): Likewise.
35627 [C99-based-standards] (PRIxFAST32): Likewise.
35628 [C99-based-standards] (PRIXFAST32): Likewise.
35629 [C99-based-standards] (SCNdFAST32): Likewise.
35630 [C99-based-standards] (SCNiFAST32): Likewise.
35631 [C99-based-standards] (SCNoFAST32): Likewise.
35632 [C99-based-standards] (SCNuFAST32): Likewise.
35633 [C99-based-standards] (SCNxFAST32): Likewise.
35634 [C99-based-standards] (PRId64): Likewise.
35635 [C99-based-standards] (PRIi64): Likewise.
35636 [C99-based-standards] (PRIo64): Likewise.
35637 [C99-based-standards] (PRIu64): Likewise.
35638 [C99-based-standards] (PRIx64): Likewise.
35639 [C99-based-standards] (PRIX64): Likewise.
35640 [C99-based-standards] (SCNd64): Likewise.
35641 [C99-based-standards] (SCNi64): Likewise.
35642 [C99-based-standards] (SCNo64): Likewise.
35643 [C99-based-standards] (SCNu64): Likewise.
35644 [C99-based-standards] (SCNx64): Likewise.
35645 [C99-based-standards] (PRIdLEAST64): Likewise.
35646 [C99-based-standards] (PRIiLEAST64): Likewise.
35647 [C99-based-standards] (PRIoLEAST64): Likewise.
35648 [C99-based-standards] (PRIuLEAST64): Likewise.
35649 [C99-based-standards] (PRIxLEAST64): Likewise.
35650 [C99-based-standards] (PRIXLEAST64): Likewise.
35651 [C99-based-standards] (SCNdLEAST64): Likewise.
35652 [C99-based-standards] (SCNiLEAST64): Likewise.
35653 [C99-based-standards] (SCNoLEAST64): Likewise.
35654 [C99-based-standards] (SCNuLEAST64): Likewise.
35655 [C99-based-standards] (SCNxLEAST64): Likewise.
35656 [C99-based-standards] (PRIdFAST64): Likewise.
35657 [C99-based-standards] (PRIiFAST64): Likewise.
35658 [C99-based-standards] (PRIoFAST64): Likewise.
35659 [C99-based-standards] (PRIuFAST64): Likewise.
35660 [C99-based-standards] (PRIxFAST64): Likewise.
35661 [C99-based-standards] (PRIXFAST64): Likewise.
35662 [C99-based-standards] (SCNdFAST64): Likewise.
35663 [C99-based-standards] (SCNiFAST64): Likewise.
35664 [C99-based-standards] (SCNoFAST64): Likewise.
35665 [C99-based-standards] (SCNuFAST64): Likewise.
35666 [C99-based-standards] (SCNxFAST64): Likewise.
35667 [C99-based-standards] (PRIdMAX): Likewise.
35668 [C99-based-standards] (PRIiMAX): Likewise.
35669 [C99-based-standards] (PRIoMAX): Likewise.
35670 [C99-based-standards] (PRIuMAX): Likewise.
35671 [C99-based-standards] (PRIxMAX): Likewise.
35672 [C99-based-standards] (PRIXMAX): Likewise.
35673 [C99-based-standards] (SCNdMAX): Likewise.
35674 [C99-based-standards] (SCNiMAX): Likewise.
35675 [C99-based-standards] (SCNoMAX): Likewise.
35676 [C99-based-standards] (SCNuMAX): Likewise.
35677 [C99-based-standards] (SCNxMAX): Likewise.
35678 [C99-based-standards] (PRIdPTR): Likewise.
35679 [C99-based-standards] (PRIiPTR): Likewise.
35680 [C99-based-standards] (PRIoPTR): Likewise.
35681 [C99-based-standards] (PRIuPTR): Likewise.
35682 [C99-based-standards] (PRIxPTR): Likewise.
35683 [C99-based-standards] (PRIXPTR): Likewise.
35684 [C99-based-standards] (SCNdPTR): Likewise.
35685 [C99-based-standards] (SCNiPTR): Likewise.
35686 [C99-based-standards] (SCNoPTR): Likewise.
35687 [C99-based-standards] (SCNuPTR): Likewise.
35688 [C99-based-standards] (SCNxPTR): Likewise.
35689 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35691 * conform/data/stdint.h-data: Update comments to clarify
35693 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35695 [C99-based standards] (INT8_MAX): Likewise.
35696 [C99-based standards] (INT16_MIN): Likewise.
35697 [C99-based standards] (INT16_MAX): Likewise.
35698 [C99-based standards] (INT32_MIN): Likewise.
35699 [C99-based standards] (INT32_MAX): Likewise.
35700 [C99-based standards] (INT64_MIN): Likewise.
35701 [C99-based standards] (INT64_MAX): Likewise.
35702 [C99-based standards] (UINT8_MAX): Likewise.
35703 [C99-based standards] (UINT16_MAX): Likewise.
35704 [C99-based standards] (UINT32_MAX): Likewise.
35705 [C99-based standards] (UINT64_MAX): Likewise.
35706 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35707 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35708 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35709 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35710 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35711 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35712 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35713 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35714 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35715 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35716 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35717 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35718 [C99-based standards] (INT_FAST8_MIN): Likewise.
35719 [C99-based standards] (INT_FAST8_MAX): Likewise.
35720 [C99-based standards] (INT_FAST16_MIN): Likewise.
35721 [C99-based standards] (INT_FAST16_MAX): Likewise.
35722 [C99-based standards] (INT_FAST32_MIN): Likewise.
35723 [C99-based standards] (INT_FAST32_MAX): Likewise.
35724 [C99-based standards] (INT_FAST64_MIN): Likewise.
35725 [C99-based standards] (INT_FAST64_MAX): Likewise.
35726 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35727 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35728 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35729 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35730 [C99-based standards] (INTPTR_MIN): Likewise.
35731 [C99-based standards] (INTPTR_MAX): Likewise.
35732 [C99-based standards] (UINTPTR_MAX): Likewise.
35733 [C99-based standards] (INTMAX_MIN): Likewise.
35734 [C99-based standards] (INTMAX_MAX): Likewise.
35735 [C99-based standards] (UINTMAX_MAX): Likewise.
35736 [C99-based standards] (PTRDIFF_MIN): Likewise.
35737 [C99-based standards] (PTRDIFF_MAX): Likewise.
35738 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35739 [C99-based standards] (SIZE_MAX): Likewise.
35740 [C99-based standards] (WCHAR_MAX): Likewise.
35741 [C99-based standards] (WINT_MAX): Likewise.
35742 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35743 constraint on value.
35744 [C99-based standards] (WCHAR_MIN): Likewise.
35745 [C99-based standards] (WINT_MIN): Likewise.
35746 [C99-based standards] (*_t): Allow.
35747 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35748 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35749 Include math.h-data and complex.h-data. Remove all expectations
35750 of math.h and complex.h contents.
35751 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35753 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35754 (struct tm): Expect tag.
35755 [C99-based-standards] (wcstof): Expect function.
35756 [C99-based-standards] (wcstold): Likewise.
35757 [C99-based-standards] (wcstoll): Likewise.
35758 [C99-based-standards] (wcstoull): Likewise.
35759 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35760 macro-int-constant. Specify type.
35761 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35762 constraint on value.
35763 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35765 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35767 [ISO C standards]: Do not allow headers.
35768 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35769 wcs[abcdefghijklmnopqrstuvwxyz]*.
35770 [ISO C standards] (*_t): Do not allow.
35771 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35773 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35774 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35776 [ISO C standards]: Do not allow headers.
35777 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35778 is[abcdefghijklmnopqrstuvwxyz]*.
35779 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35780 to[abcdefghijklmnopqrstuvwxyz]*.
35781 [ISO C standards] (*_t): Do not allow.
35782 * conform/data/stdalign.h-data: New file.
35783 * conform/data/stdbool.h-data: Likewise.
35784 * conform/data/stdnoreturn.h-data: Likewise.
35786 2012-11-07 Roland McGrath <roland@hack.frob.com>
35789 * manual/filesys.texi (Directory Entries): Typo fix.
35790 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35792 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35794 * elf/elf.h (EM_AARCH64): New macro.
35795 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35796 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35797 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35798 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35799 (R_AARCH64_TLSDESC): Likewise.
35800 (NT_ARM_TLS): Likewise.
35801 (NT_ARM_HW_BREAK): Likewise.
35802 (NT_ARM_HW_WATCH): Likewise.
35804 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35807 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35808 (__ieee754_powl): Saturate nonzero exponents with absolute value
35809 below 0x1p-79 to +/- 0x1p-79.
35810 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35811 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35812 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35813 nonzero exponents with absolute value below 0x1p-32 to +/-
35815 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35816 (__ieee754_powl): Saturate nonzero exponents with absolute value
35817 below 0x1p-79 to +/- 0x1p-79.
35818 * math/libm-test.inc (pow_test): Add more tests.
35820 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35822 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35823 _dl_s390_cap_flags with kernel. Increase string length.
35824 (_dl_s390_platforms): Add z196 and zEC12.
35826 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35828 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35829 Change XOPEN21K to XOPEN2K.
35831 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35833 * string/memmove.c: Use memcpy when possible.
35835 2012-11-06 Andreas Jaeger <aj@suse.de>
35837 * po/eo.po: Update from translation team.
35839 2012-11-06 Joseph Myers <joseph@codesourcery.com>
35842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35843 exponent and small x and y exponents, scale x or y up. Increase
35844 by 2 the exponent used in scaling up.
35845 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35846 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35847 * math/libm-test.inc (fma_test): Add more tests.
35848 (fma_test_towardzero): Likewise.
35849 (fma_test_downward): Likewise.
35850 (fma_test_upward): Likewise.
35852 2012-11-05 Joseph Myers <joseph@codesourcery.com>
35855 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35859 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35860 namespace for names of struct fields.
35861 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35863 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35864 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35866 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35869 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35871 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35873 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35877 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35880 2012-11-04 Joseph Myers <joseph@codesourcery.com>
35883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35884 definitely overflow as x * y not x * y + z.
35885 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35886 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35887 * math/libm-test.inc (fma_test): Add more tests.
35888 (fma_test_towardzero): Likewise.
35889 (fma_test_downward): Likewise.
35890 (fma_test_upward): Likewise.
35892 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35896 * include/stub-tag.h: Remove file.
35897 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35899 * manual/maint.texi (Porting): Don't reference it.
35900 * Makerules ($(objpfx)stubs): Likewise.
35901 * dirent/closedir.c: Don't include <stub-tag.h>.
35902 * dirent/dirfd.c: Likewise.
35903 * dirent/fdopendir.c: Likewise.
35904 * dirent/getdents.c: Likewise.
35905 * dirent/getdents64.c: Likewise.
35906 * dirent/opendir.c: Likewise.
35907 * dirent/readdir.c: Likewise.
35908 * dirent/readdir64.c: Likewise.
35909 * dirent/readdir64_r.c: Likewise.
35910 * dirent/readdir_r.c: Likewise.
35911 * dirent/rewinddir.c: Likewise.
35912 * dirent/seekdir.c: Likewise.
35913 * dirent/telldir.c: Likewise.
35914 * gmon/profil.c: Likewise.
35915 * grp/setgroups.c: Likewise.
35916 * inet/if_index.c: Likewise.
35917 * io/access.c: Likewise.
35918 * io/chdir.c: Likewise.
35919 * io/chmod.c: Likewise.
35920 * io/chown.c: Likewise.
35921 * io/close.c: Likewise.
35922 * io/dup.c: Likewise.
35923 * io/dup2.c: Likewise.
35924 * io/dup3.c: Likewise.
35925 * io/euidaccess.c: Likewise.
35926 * io/faccessat.c: Likewise.
35927 * io/fchdir.c: Likewise.
35928 * io/fchmod.c: Likewise.
35929 * io/fchmodat.c: Likewise.
35930 * io/fchown.c: Likewise.
35931 * io/fchownat.c: Likewise.
35932 * io/fcntl.c: Likewise.
35933 * io/flock.c: Likewise.
35934 * io/fstatfs.c: Likewise.
35935 * io/fstatfs64.c: Likewise.
35936 * io/fstatvfs.c: Likewise.
35937 * io/fstatvfs64.c: Likewise.
35938 * io/futimens.c: Likewise.
35939 * io/fxstat.c: Likewise.
35940 * io/fxstat64.c: Likewise.
35941 * io/fxstatat.c: Likewise.
35942 * io/fxstatat64.c: Likewise.
35943 * io/getcwd.c: Likewise.
35944 * io/isatty.c: Likewise.
35945 * io/lchmod.c: Likewise.
35946 * io/lchown.c: Likewise.
35947 * io/link.c: Likewise.
35948 * io/linkat.c: Likewise.
35949 * io/lseek.c: Likewise.
35950 * io/lseek64.c: Likewise.
35951 * io/lxstat64.c: Likewise.
35952 * io/mkdir.c: Likewise.
35953 * io/mkdirat.c: Likewise.
35954 * io/mkfifo.c: Likewise.
35955 * io/mkfifoat.c: Likewise.
35956 * io/open.c: Likewise.
35957 * io/open64.c: Likewise.
35958 * io/openat.c: Likewise.
35959 * io/openat64.c: Likewise.
35960 * io/pipe.c: Likewise.
35961 * io/pipe2.c: Likewise.
35962 * io/poll.c: Likewise.
35963 * io/posix_fadvise.c: Likewise.
35964 * io/posix_fadvise64.c: Likewise.
35965 * io/posix_fallocate.c: Likewise.
35966 * io/posix_fallocate64.c: Likewise.
35967 * io/read.c: Likewise.
35968 * io/readlink.c: Likewise.
35969 * io/readlinkat.c: Likewise.
35970 * io/rmdir.c: Likewise.
35971 * io/sendfile.c: Likewise.
35972 * io/sendfile64.c: Likewise.
35973 * io/statfs.c: Likewise.
35974 * io/statfs64.c: Likewise.
35975 * io/statvfs.c: Likewise.
35976 * io/statvfs64.c: Likewise.
35977 * io/symlink.c: Likewise.
35978 * io/symlinkat.c: Likewise.
35979 * io/ttyname.c: Likewise.
35980 * io/ttyname_r.c: Likewise.
35981 * io/umask.c: Likewise.
35982 * io/unlink.c: Likewise.
35983 * io/unlinkat.c: Likewise.
35984 * io/utime.c: Likewise.
35985 * io/utimensat.c: Likewise.
35986 * io/write.c: Likewise.
35987 * io/xmknod.c: Likewise.
35988 * io/xmknodat.c: Likewise.
35989 * io/xstat.c: Likewise.
35990 * io/xstat64.c: Likewise.
35991 * login/getpt.c: Likewise.
35992 * login/grantpt.c: Likewise.
35993 * login/unlockpt.c: Likewise.
35994 * math/e_acoshl.c: Likewise.
35995 * math/e_acosl.c: Likewise.
35996 * math/e_asinl.c: Likewise.
35997 * math/e_atan2l.c: Likewise.
35998 * math/e_atanhl.c: Likewise.
35999 * math/e_coshl.c: Likewise.
36000 * math/e_expl.c: Likewise.
36001 * math/e_fmodl.c: Likewise.
36002 * math/e_gammal_r.c: Likewise.
36003 * math/e_hypotl.c: Likewise.
36004 * math/e_j0l.c: Likewise.
36005 * math/e_j1l.c: Likewise.
36006 * math/e_jnl.c: Likewise.
36007 * math/e_lgammal_r.c: Likewise.
36008 * math/e_log10l.c: Likewise.
36009 * math/e_log2l.c: Likewise.
36010 * math/e_logl.c: Likewise.
36011 * math/e_powl.c: Likewise.
36012 * math/e_rem_pio2l.c: Likewise.
36013 * math/e_sinhl.c: Likewise.
36014 * math/e_sqrtl.c: Likewise.
36015 * math/fclrexcpt.c: Likewise.
36016 * math/fedisblxcpt.c: Likewise.
36017 * math/feenablxcpt.c: Likewise.
36018 * math/fegetenv.c: Likewise.
36019 * math/fegetexcept.c: Likewise.
36020 * math/fegetround.c: Likewise.
36021 * math/feholdexcpt.c: Likewise.
36022 * math/fesetenv.c: Likewise.
36023 * math/fesetround.c: Likewise.
36024 * math/feupdateenv.c: Likewise.
36025 * math/fgetexcptflg.c: Likewise.
36026 * math/fraiseexcpt.c: Likewise.
36027 * math/fsetexcptflg.c: Likewise.
36028 * math/ftestexcept.c: Likewise.
36029 * math/k_cosl.c: Likewise.
36030 * math/k_rem_pio2l.c: Likewise.
36031 * math/k_sinl.c: Likewise.
36032 * math/k_tanl.c: Likewise.
36033 * math/s_asinhl.c: Likewise.
36034 * math/s_atanl.c: Likewise.
36035 * math/s_cbrtl.c: Likewise.
36036 * math/s_erfl.c: Likewise.
36037 * math/s_expm1l.c: Likewise.
36038 * math/s_log1pl.c: Likewise.
36039 * math/s_tanhl.c: Likewise.
36040 * misc/acct.c: Likewise.
36041 * misc/brk.c: Likewise.
36042 * misc/chflags.c: Likewise.
36043 * misc/chroot.c: Likewise.
36044 * misc/fchflags.c: Likewise.
36045 * misc/fgetxattr.c: Likewise.
36046 * misc/flistxattr.c: Likewise.
36047 * misc/fremovexattr.c: Likewise.
36048 * misc/fsetxattr.c: Likewise.
36049 * misc/fsync.c: Likewise.
36050 * misc/ftruncate.c: Likewise.
36051 * misc/futimes.c: Likewise.
36052 * misc/futimesat.c: Likewise.
36053 * misc/getdomain.c: Likewise.
36054 * misc/getdtsz.c: Likewise.
36055 * misc/gethostid.c: Likewise.
36056 * misc/gethostname.c: Likewise.
36057 * misc/getloadavg.c: Likewise.
36058 * misc/getpagesize.c: Likewise.
36059 * misc/getsysstats.c: Likewise.
36060 * misc/getxattr.c: Likewise.
36061 * misc/gtty.c: Likewise.
36062 * misc/ioctl.c: Likewise.
36063 * misc/lgetxattr.c: Likewise.
36064 * misc/listxattr.c: Likewise.
36065 * misc/llistxattr.c: Likewise.
36066 * misc/lremovexattr.c: Likewise.
36067 * misc/lsetxattr.c: Likewise.
36068 * misc/lutimes.c: Likewise.
36069 * misc/madvise.c: Likewise.
36070 * misc/mincore.c: Likewise.
36071 * misc/mlock.c: Likewise.
36072 * misc/mlockall.c: Likewise.
36073 * misc/mmap.c: Likewise.
36074 * misc/mprotect.c: Likewise.
36075 * misc/msync.c: Likewise.
36076 * misc/munlock.c: Likewise.
36077 * misc/munlockall.c: Likewise.
36078 * misc/munmap.c: Likewise.
36079 * misc/preadv.c: Likewise.
36080 * misc/preadv64.c: Likewise.
36081 * misc/ptrace.c: Likewise.
36082 * misc/pwritev.c: Likewise.
36083 * misc/pwritev64.c: Likewise.
36084 * misc/readv.c: Likewise.
36085 * misc/reboot.c: Likewise.
36086 * misc/remap_file_pages.c: Likewise.
36087 * misc/removexattr.c: Likewise.
36088 * misc/revoke.c: Likewise.
36089 * misc/select.c: Likewise.
36090 * misc/setdomain.c: Likewise.
36091 * misc/setegid.c: Likewise.
36092 * misc/seteuid.c: Likewise.
36093 * misc/sethostid.c: Likewise.
36094 * misc/sethostname.c: Likewise.
36095 * misc/setregid.c: Likewise.
36096 * misc/setreuid.c: Likewise.
36097 * misc/setxattr.c: Likewise.
36098 * misc/sstk.c: Likewise.
36099 * misc/stty.c: Likewise.
36100 * misc/swapoff.c: Likewise.
36101 * misc/swapon.c: Likewise.
36102 * misc/sync.c: Likewise.
36103 * misc/syncfs.c: Likewise.
36104 * misc/syscall.c: Likewise.
36105 * misc/truncate.c: Likewise.
36106 * misc/ualarm.c: Likewise.
36107 * misc/usleep.c: Likewise.
36108 * misc/ustat.c: Likewise.
36109 * misc/utimes.c: Likewise.
36110 * misc/vhangup.c: Likewise.
36111 * misc/writev.c: Likewise.
36112 * posix/_exit.c: Likewise.
36113 * posix/alarm.c: Likewise.
36114 * posix/execve.c: Likewise.
36115 * posix/fexecve.c: Likewise.
36116 * posix/fork.c: Likewise.
36117 * posix/fpathconf.c: Likewise.
36118 * posix/getaddrinfo.c: Likewise.
36119 * posix/getegid.c: Likewise.
36120 * posix/geteuid.c: Likewise.
36121 * posix/getgid.c: Likewise.
36122 * posix/getgroups.c: Likewise.
36123 * posix/getlogin.c: Likewise.
36124 * posix/getlogin_r.c: Likewise.
36125 * posix/getpgid.c: Likewise.
36126 * posix/getpid.c: Likewise.
36127 * posix/getppid.c: Likewise.
36128 * posix/getresgid.c: Likewise.
36129 * posix/getresuid.c: Likewise.
36130 * posix/getsid.c: Likewise.
36131 * posix/getuid.c: Likewise.
36132 * posix/glob64.c: Likewise.
36133 * posix/nanosleep.c: Likewise.
36134 * posix/pathconf.c: Likewise.
36135 * posix/pause.c: Likewise.
36136 * posix/posix_madvise.c: Likewise.
36137 * posix/pread.c: Likewise.
36138 * posix/pread64.c: Likewise.
36139 * posix/pwrite.c: Likewise.
36140 * posix/pwrite64.c: Likewise.
36141 * posix/sched_getaffinity.c: Likewise.
36142 * posix/sched_getp.c: Likewise.
36143 * posix/sched_gets.c: Likewise.
36144 * posix/sched_primax.c: Likewise.
36145 * posix/sched_primin.c: Likewise.
36146 * posix/sched_rr_gi.c: Likewise.
36147 * posix/sched_setaffinity.c: Likewise.
36148 * posix/sched_setp.c: Likewise.
36149 * posix/sched_sets.c: Likewise.
36150 * posix/sched_yield.c: Likewise.
36151 * posix/setgid.c: Likewise.
36152 * posix/setlogin.c: Likewise.
36153 * posix/setpgid.c: Likewise.
36154 * posix/setresgid.c: Likewise.
36155 * posix/setresuid.c: Likewise.
36156 * posix/setsid.c: Likewise.
36157 * posix/setuid.c: Likewise.
36158 * posix/sleep.c: Likewise.
36159 * posix/spawni.c: Likewise.
36160 * posix/sysconf.c: Likewise.
36161 * posix/times.c: Likewise.
36162 * posix/wait.c: Likewise.
36163 * posix/wait3.c: Likewise.
36164 * posix/wait4.c: Likewise.
36165 * posix/waitpid.c: Likewise.
36166 * resolv/gai_sigqueue.c: Likewise.
36167 * resource/getpriority.c: Likewise.
36168 * resource/getrlimit.c: Likewise.
36169 * resource/getrusage.c: Likewise.
36170 * resource/nice.c: Likewise.
36171 * resource/setpriority.c: Likewise.
36172 * resource/setrlimit.c: Likewise.
36173 * resource/ulimit.c: Likewise.
36174 * rt/aio_cancel.c: Likewise.
36175 * rt/aio_fsync.c: Likewise.
36176 * rt/aio_read.c: Likewise.
36177 * rt/aio_sigqueue.c: Likewise.
36178 * rt/aio_suspend.c: Likewise.
36179 * rt/aio_write.c: Likewise.
36180 * rt/clock_getres.c: Likewise.
36181 * rt/clock_gettime.c: Likewise.
36182 * rt/clock_nanosleep.c: Likewise.
36183 * rt/clock_settime.c: Likewise.
36184 * rt/lio_listio.c: Likewise.
36185 * rt/mq_close.c: Likewise.
36186 * rt/mq_getattr.c: Likewise.
36187 * rt/mq_notify.c: Likewise.
36188 * rt/mq_open.c: Likewise.
36189 * rt/mq_receive.c: Likewise.
36190 * rt/mq_send.c: Likewise.
36191 * rt/mq_setattr.c: Likewise.
36192 * rt/mq_timedreceive.c: Likewise.
36193 * rt/mq_timedsend.c: Likewise.
36194 * rt/mq_unlink.c: Likewise.
36195 * rt/shm_open.c: Likewise.
36196 * rt/shm_unlink.c: Likewise.
36197 * rt/timer_create.c: Likewise.
36198 * rt/timer_delete.c: Likewise.
36199 * rt/timer_getoverr.c: Likewise.
36200 * rt/timer_gettime.c: Likewise.
36201 * rt/timer_settime.c: Likewise.
36202 * setjmp/__longjmp.c: Likewise.
36203 * setjmp/setjmp.c: Likewise.
36204 * signal/kill.c: Likewise.
36205 * signal/killpg.c: Likewise.
36206 * signal/raise.c: Likewise.
36207 * signal/sigaction.c: Likewise.
36208 * signal/sigaltstack.c: Likewise.
36209 * signal/sigblock.c: Likewise.
36210 * signal/sigignore.c: Likewise.
36211 * signal/sigintr.c: Likewise.
36212 * signal/signal.c: Likewise.
36213 * signal/sigpause.c: Likewise.
36214 * signal/sigpending.c: Likewise.
36215 * signal/sigqueue.c: Likewise.
36216 * signal/sigreturn.c: Likewise.
36217 * signal/sigset.c: Likewise.
36218 * signal/sigsetmask.c: Likewise.
36219 * signal/sigstack.c: Likewise.
36220 * signal/sigsuspend.c: Likewise.
36221 * signal/sigtimedwait.c: Likewise.
36222 * signal/sigvec.c: Likewise.
36223 * signal/sigwait.c: Likewise.
36224 * signal/sigwaitinfo.c: Likewise.
36225 * signal/sysv_signal.c: Likewise.
36226 * socket/accept.c: Likewise.
36227 * socket/accept4.c: Likewise.
36228 * socket/bind.c: Likewise.
36229 * socket/connect.c: Likewise.
36230 * socket/getpeername.c: Likewise.
36231 * socket/getsockname.c: Likewise.
36232 * socket/getsockopt.c: Likewise.
36233 * socket/isfdtype.c: Likewise.
36234 * socket/listen.c: Likewise.
36235 * socket/recv.c: Likewise.
36236 * socket/recvfrom.c: Likewise.
36237 * socket/recvmsg.c: Likewise.
36238 * socket/send.c: Likewise.
36239 * socket/sendmsg.c: Likewise.
36240 * socket/sendto.c: Likewise.
36241 * socket/setsockopt.c: Likewise.
36242 * socket/shutdown.c: Likewise.
36243 * socket/sockatmark.c: Likewise.
36244 * socket/socket.c: Likewise.
36245 * socket/socketpair.c: Likewise.
36246 * stdio-common/ctermid.c: Likewise.
36247 * stdio-common/cuserid.c: Likewise.
36248 * stdio-common/remove.c: Likewise.
36249 * stdio-common/rename.c: Likewise.
36250 * stdio-common/renameat.c: Likewise.
36251 * stdio-common/tempname.c: Likewise.
36252 * stdlib/getcontext.c: Likewise.
36253 * stdlib/makecontext.c: Likewise.
36254 * stdlib/setcontext.c: Likewise.
36255 * stdlib/swapcontext.c: Likewise.
36256 * stdlib/system.c: Likewise.
36257 * streams/fattach.c: Likewise.
36258 * streams/fdetach.c: Likewise.
36259 * streams/getmsg.c: Likewise.
36260 * streams/getpmsg.c: Likewise.
36261 * streams/putmsg.c: Likewise.
36262 * streams/putpmsg.c: Likewise.
36263 * sysdeps/unix/bsd/getpt.c: Likewise.
36264 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36265 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36266 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36269 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36270 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36271 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36272 * sysvipc/msgctl.c: Likewise.
36273 * sysvipc/msgget.c: Likewise.
36274 * sysvipc/msgrcv.c: Likewise.
36275 * sysvipc/msgsnd.c: Likewise.
36276 * sysvipc/semctl.c: Likewise.
36277 * sysvipc/semget.c: Likewise.
36278 * sysvipc/semop.c: Likewise.
36279 * sysvipc/semtimedop.c: Likewise.
36280 * sysvipc/shmat.c: Likewise.
36281 * sysvipc/shmctl.c: Likewise.
36282 * sysvipc/shmdt.c: Likewise.
36283 * sysvipc/shmget.c: Likewise.
36284 * termios/tcdrain.c: Likewise.
36285 * termios/tcflow.c: Likewise.
36286 * termios/tcflush.c: Likewise.
36287 * termios/tcgetattr.c: Likewise.
36288 * termios/tcgetpgrp.c: Likewise.
36289 * termios/tcsendbrk.c: Likewise.
36290 * termios/tcsetattr.c: Likewise.
36291 * termios/tcsetpgrp.c: Likewise.
36292 * time/adjtime.c: Likewise.
36293 * time/clock.c: Likewise.
36294 * time/getitimer.c: Likewise.
36295 * time/gettimeofday.c: Likewise.
36296 * time/setitimer.c: Likewise.
36297 * time/settimeofday.c: Likewise.
36298 * time/stime.c: Likewise.
36299 * time/time.c: Likewise.
36301 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
36303 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36306 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36308 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36310 2012-11-03 Joseph Myers <joseph@codesourcery.com>
36313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36314 FE_TONEAREST before applying Dekker multiplication and Knuth
36315 addition. Clear inexact exceptions and check for exact zero
36316 results afterwards.
36317 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36318 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36319 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36320 * math/libm-test.inc (fma_test): Add more tests.
36321 (fma_test_towardzero): Likewise.
36322 (fma_test_downward): Likewise.
36323 (fma_test_upward): Likewise.
36324 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36326 (libc_fesetround): New macro.
36327 (libc_fesetroundf): Likewise.
36328 (libc_fesetroundl): Likewise.
36329 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36331 (libc_fesetround_387): Likewise.
36332 (libc_fesetroundf): New macro.
36333 (libc_fesetround): Likewise.
36334 (libc_fesetroundl): Likewise.
36335 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36337 (libc_fesetroundf): New macro.
36338 (libc_fesetround): Likewise.
36339 (libc_fesetroundl): Likewise.
36340 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36341 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36342 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36344 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36345 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36347 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36348 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36350 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36354 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36355 integer constant usable in #if and use that to give value to enum
36357 (FE_DIVBYZERO): Likewise.
36358 (FE_UNDERFLOW): Likewise.
36359 (FE_OVERFLOW): Likewise.
36360 (FE_INVALID): Likewise.
36361 (FE_INVALID_SNAN): Likewise.
36362 (FE_INVALID_ISI): Likewise.
36363 (FE_INVALID_IDI): Likewise.
36364 (FE_INVALID_ZDZ): Likewise.
36365 (FE_INVALID_IMZ): Likewise.
36366 (FE_INVALID_COMPARE): Likewise.
36367 (FE_INVALID_SOFTWARE): Likewise.
36368 (FE_INVALID_SQRT): Likewise.
36369 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36370 (FE_TONEAREST): Likewise.
36371 (FE_TOWARDZERO): Likewise.
36372 (FE_UPWARD): Likewise.
36373 (FE_DOWNWARD): Likewise.
36374 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36375 (FE_DIVBYZERO): Likewise.
36376 (FE_OVERFLOW): Likewise.
36377 (FE_UNDERFLOW): Likewise.
36378 (FE_INEXACT): Likewise.
36379 (FE_TONEAREST): Likewise.
36380 (FE_DOWNWARD): Likewise.
36381 (FE_UPWARD): Likewise.
36382 (FE_TOWARDZERO): Likewise.
36383 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36384 (FE_UNDERFLOW): Likewise.
36385 (FE_OVERFLOW): Likewise.
36386 (FE_DIVBYZERO): Likewise.
36387 (FE_INVALID): Likewise.
36388 (FE_TONEAREST): Likewise.
36389 (FE_TOWARDZERO): Likewise.
36390 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36391 (FE_OVERFLOW): Likewise.
36392 (FE_UNDERFLOW): Likewise.
36393 (FE_DIVBYZERO): Likewise.
36394 (FE_INEXACT): Likewise.
36395 (FE_TONEAREST): Likewise.
36396 (FE_TOWARDZERO): Likewise.
36397 (FE_UPWARD): Likewise.
36398 (FE_DOWNWARD): Likewise.
36399 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36400 (FE_DIVBYZERO): Likewise.
36401 (FE_OVERFLOW): Likewise.
36402 (FE_UNDERFLOW): Likewise.
36403 (FE_INEXACT): Likewise.
36404 (FE_TONEAREST): Likewise.
36405 (FE_DOWNWARD): Likewise.
36406 (FE_UPWARD): Likewise.
36407 (FE_TOWARDZERO): Likewise.
36409 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36411 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36413 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36415 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36416 commands. Quote $PWD.
36417 (blacklist_exports): Don't use remove_newlines. Replace "declare
36419 (remove_newlines): Remove.
36421 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36423 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36424 * stdlib/stdlib.h (atof): Moved to ...
36425 * include/bits/stdlib-float.h: Here. New file.
36426 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36427 * stdlib/bits/stdlib-float.h: New file.
36428 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36430 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36433 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36435 * conform/conformtest.pl (@headers): Add fenv.h.
36436 * conform/data/fenv.h-data: New file.
36437 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36438 include of <math/fenv.h>.
36440 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36441 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36442 && !UNIX98]. Enables tests for XOPEN2K8.
36443 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36444 POSIX2008]: Likewise.
36446 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36447 (struct rusage): Do not expect type or its members.
36450 * math/math.h (FP_NAN): Define macro to integer constant usable in
36451 #if and use that to give value to enum constant.
36452 (FP_INFINITE): Likewise.
36453 (FP_ZERO): Likewise.
36454 (FP_SUBNORMAL): Likewise.
36455 (FP_NORMAL): Likewise.
36457 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36459 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36460 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36463 2012-11-02 Roland McGrath <roland@hack.frob.com>
36465 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36466 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36467 autoconf-time if not.
36468 * configure.in: Remove AC_PREREQ.
36470 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36472 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36473 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36474 of the internal implementation.
36476 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36478 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36479 except include of <misc/sys/syslog.h>.
36481 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36484 function returns with a NULL context exit with zero.
36486 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36488 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36490 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36492 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36493 (run_program_cmd): This.
36494 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36495 (tst_langinfo): New variable. Use it.
36497 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36499 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36500 floating point opcodes.
36502 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36504 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36507 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36509 * sysdeps/mach/hurd/powerpc: Remove directory.
36510 * sysdeps/mach/powerpc: Likewise.
36512 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36514 * scripts/check-local-headers.sh: Ignore c++ headers.
36516 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36518 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36519 __libc_cleanup_region_start argument.
36521 2012-11-01 Joseph Myers <joseph@codesourcery.com>
36525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36526 x * y using scaling, not as x * y + z.
36527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36529 * math/libm-test.inc (fma_test): Add more tests.
36530 (fma_test_towardzero): Likewise.
36531 (fma_test_downward): Likewise.
36532 (fma_test_upward): Likewise.
36534 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36536 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36538 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36540 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36543 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36545 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36547 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36554 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36557 Fix the order of the list for glibc 2.17.
36558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36561 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36565 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36568 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36569 for low part of x being zero before using __atanl (y).
36570 * math/libm-test.inc (atan2_test): Add another test.
36572 * manual/install.texi (Configuring and compiling): Document
36573 general use of test-wrapper and test-wrapper-env.
36574 * INSTALL: Regenerated.
36576 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36577 (__fma): Do not extract and scale down low bits on after-rounding
36578 systems when result rounded to normal precision would have normal
36580 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36581 (__fmal): Do not extract and scale down low bits on after-rounding
36582 systems when result rounded to normal precision would have normal
36584 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36585 (__fmal): Do not extract and scale down low bits on after-rounding
36586 systems when result rounded to normal precision would have normal
36588 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36590 (fma_test): Add more tests.
36591 (fma_test_towardzero): Likewise.
36592 (fma_test_downward): Likewise.
36593 (fma_test_upward): Likewise.
36595 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36597 * sysdeps/i386/tininess.h: Renamed to ...
36598 * sysdeps/x86/tininess.h: This.
36599 * sysdeps/x86_64/tininess.h: Removed.
36601 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36603 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36604 input. Use $(build-program-cmd).
36605 ($(objpfx)tst-array1-static.out): Likewise.
36606 ($(objpfx)tst-array2.out): Likewise.
36607 ($(objpfx)tst-array3.out): Likewise.
36608 ($(objpfx)tst-array4.out): Likewise.
36609 ($(objpfx)tst-array5.out): Likewise.
36610 ($(objpfx)tst-array5-static.out): Likewise.
36612 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36614 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36617 * nss/nsswitch.h (nss_interface_function): Provide new
36618 macro for use with NSS functions.
36619 * grp/initgroups.c: Use new macro.
36620 * nss/getXXbyYY.c: Likewise.
36621 * nss/getXXbyYY_r.c: Likewise.
36622 * nss/getXXent.c: Likewise.
36623 * nss/getXXent_r.c: Likewise.
36624 * sysdeps/posix/getaddrinfo.c: Likewise.
36626 2012-10-30 Andreas Jaeger <aj@suse.de>
36628 * po/ru.po: Update Russion translation from translation project.
36630 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36635 result and shift together with sticky bit instead of replicating
36636 round-to-nearest rounding.
36637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36638 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36639 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36640 missing underflow exceptions.
36641 (fma_test_towardzero): Add more tests.
36642 (fma_test_downward): Likewise.
36643 (fma_test_upward): Likewise.
36646 * sysdeps/generic/tininess.h: New file.
36647 * sysdeps/i386/tininess.h: Likewise.
36648 * sysdeps/sh/tininess.h: Likewise.
36649 * sysdeps/x86_64/tininess.h: Likewise.
36650 * stdlib/tst-strtod-underflow.c: Likewise.
36651 * stdlib/tst-tininess.c: Likewise.
36652 * stdlib/strtod_l.c: Include <tininess.h>.
36653 (round_and_return): Do not set errno for exact underflow cases.
36654 Force an underflow exception when setting errno for underflow.
36655 Determine underflow based on rounding to normal precision if
36656 TININESS_AFTER_ROUNDING.
36657 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36658 ERANGE for exact underflow cases.
36659 * stdlib/Makefile (tests): Add tst-tininess and
36660 tst-strtod-underflow.
36661 ($(objpfx)tst-tininess): Use $(link-libm).
36662 ($(objpfx)tst-strtod-underflow): Likewise.
36664 2012-10-30 Andreas Jaeger <aj@suse.de>
36667 * elf/Makefile (tests): Remove conditional for have-initfini-array
36668 since this is now always required and the variable does not exist
36670 (tests-static): Likewise.
36671 (modules-names): Likewise.
36673 * po/eo.po: Add Esperanto translation from translation project.
36675 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36676 merged with constructor/destructor.
36677 (init_array): Likewise.
36678 * elf/tst-array2dep.c (fini_array): Likewise.
36679 (init_array): Likewise.
36681 2012-10-29 Mike Frysinger <vapier@gentoo.org>
36683 * manual/message.texi: Delete @cartouche tags.
36685 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36687 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36689 * sysdeps/mach/hurd/fsync.c: Likewise.
36691 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36692 [_POSIX_REALTIME_SIGNALS]: Change condition to
36693 [_POSIX_REALTIME_SIGNALS > 0].
36695 2012-10-27 Andreas Jaeger <aj@suse.de>
36697 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36698 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36699 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36700 [__WORDSIZE != 64]: Likewise.
36702 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36704 * iconvdata/tst-table.sh: Remove ${SHELL}.
36705 * iconvdata/tst-tables.sh: Likewise.
36707 2012-10-25 David S. Miller <davem@davemloft.net>
36709 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36710 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36713 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36715 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36716 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36717 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36720 2012-10-25 Roland McGrath <roland@hack.frob.com>
36722 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36723 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36726 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36727 Jim Blandy <jimb@codesourcery.com>
36729 * scripts/cross-test-ssh.sh: New file.
36730 * manual/install.texi (Configuring and compiling): Document use of
36732 * INSTALL: Regenerated.
36734 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36736 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36739 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36741 * Makeconfig (run-program-prefix): Fix comment.
36743 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36744 Jim Blandy <jimb@codesourcery.com>
36746 * Makeconfig (test-wrapper): New variable,
36747 (test-wrapper-env): Likewise.
36748 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36749 (run-built-tests): Define to yes.
36750 (run-program-prefix): Use $(test-wrapper).
36751 (built-program-cmd): Likewise.
36752 * Rules (make-test-out): Use $(test-wrapper-env) and
36753 $(host-built-program-cmd).
36754 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36755 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36757 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36758 $(test-wrapper-env) to tst-rtld-load-self.sh.
36759 ($(objpfx)order2.out): Use $(test-wrapper).
36760 ($(objpfx)tst-initorder.out): Likewise.
36761 ($(objpfx)tst-initorder2.out): Likewise.
36762 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36763 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36764 (test_wrapper_env): New variable. Use it to run ld.so.
36765 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36766 Use it to run ld.so.
36767 (test_wrapper_env): Likewise.
36768 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36769 $(test-wrapper) to run-iconv-test.sh.
36770 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36771 (ICONV): Use $test_wrapper.
36772 * posix/Makefile ($(objpfx)globtest.out): Pass
36773 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36774 globtest.sh, not $(run-program-prefix).
36775 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36776 (test_wrapper): Likewise.
36777 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36778 set together with run_via_rtld_prefix.
36779 (run_program_prefix): Define in terms of test_wrapper and
36780 run_via_rtld_prefix.
36782 2012-10-24 Roland McGrath <roland@hack.frob.com>
36784 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36785 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36789 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36790 Declare __clock_getres, __clock_gettime, __clock_settime,
36791 __clock_nanosleep, and __clock_getcpuclockid.
36792 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36793 Remove librt_hidden_def (clock_gettime).
36794 * sysdeps/unix/clock_gettime.c: Likewise.
36795 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36796 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36797 * rt/clock_getres.c: Define __clock_getres as an alias.
36798 * sysdeps/posix/clock_getres.c: Likewise.
36799 * rt/clock_settime.c: Define __clock_settime as an alias.
36800 * sysdeps/unix/clock_settime.c: Likewise.
36801 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36802 * sysdeps/unix/clock_nanosleep.c: Likewise.
36803 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36804 * rt/clock-compat.c: New file.
36805 * rt/Makefile (librt-routines): Add clock-compat and move
36806 $(clock-routines) to ...
36807 (routines): ... here, new variable.
36808 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36809 Don't add get_clockfreq here.
36810 * rt/Versions (libc: GLIBC_2.17): New version set.
36811 Add clock_* symbols here.
36812 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36813 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36814 (GLIBC_2.17): Add clock_* symbols.
36815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36817 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36826 * NEWS: Mention the move.
36828 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36829 Use __open, __read, __close rather than their public counterparts.
36830 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36831 (__get_clockfreq_via_cpuinfo): Likewise.
36832 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36833 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36835 * config.h.in (HAVE_IFUNC): New #undef.
36836 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36838 * configure: Regenerated.
36840 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36842 * configure.in: Move READELF check to start of file.
36843 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36844 libc_cv_asm_gnu_indirect_function in the process.
36845 * configure: Regenerated.
36847 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36849 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36850 send the output to /dev/null.
36851 (libc_cv_cc_with_libunwind): Likewise.
36852 (libc_cv_as_noexecstack): Likewise.
36853 * configure: Regenerate.
36855 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36857 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36859 * posix/globtest.sh (TMPDIR): Do not set.
36860 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36861 (testout): Likewise.
36863 2012-10-24 Andreas Jaeger <aj@suse.de>
36865 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36866 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36867 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36868 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36869 posix_fadvise64, posix_fallocate64.
36871 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36872 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36873 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36875 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36877 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36880 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36881 <bits/fcntl-linux.h>.
36882 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36885 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36886 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36887 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36888 [__WORDSIZE != 64]: Likewise.
36890 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36892 * Makeconfig (run-built-tests): New variable.
36893 * Rules [$(cross-compiling) = yes]: Change condition to
36894 [$(run-built-tests) = no].
36895 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36896 to [$(run-built-tests) = yes].
36897 * elf/Makefile [$(cross-compiling) = no]: Likewise
36898 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36899 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36900 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36901 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36902 * io/Makefile [$(cross-compiling) = no]: Likewise.
36903 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36904 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36905 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36906 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36907 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36908 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36909 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36910 * string/Makefile [$(cross-compiling) = no]: Likewise.
36912 * posix/Makefile ($(objpfx)globtest.out): Pass
36913 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36914 $(rtld-installed-name).
36915 * posix/globtest.sh (elf_objpfx): Remove variable.
36916 (rtld_installed_name): Likewise.
36917 (library_path): Likewise.
36918 (run_program_prefix): New variable. Use for running globtest
36921 2012-10-23 Jim Blandy <jimb@codesourcery.com>
36922 Joseph Myers <joseph@codesourcery.com>
36924 * Makeconfig (host-built-program-cmd): New variable.
36925 * elf/Makefile (tst-stackguard1-ARGS): Use
36926 $(host-built-program-cmd).
36927 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36928 (tst-spawn-ARGS): Likewise.
36929 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36931 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36932 Jim Blandy <jimb@codesourcery.com>
36934 * Makeconfig (run-via-rtld-prefix): New variable.
36935 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36936 (built-program-cmd): Likewise.
36938 2012-10-22 Andreas Jaeger <aj@suse.de>
36940 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36941 __O_RSYNC if it exists, otherwise to O_SYNC.
36943 2012-10-22 Jim Blandy <jimb@codesourcery.com>
36944 Joseph Myers <joseph@codesourcery.com>
36946 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36948 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36950 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36953 2012-10-22 Andreas Jaeger <aj@suse.de>
36955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36957 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36960 bits/fcntl-linux.h.
36962 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36963 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36965 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36970 2012-10-21 Jim Blandy <jimb@codesourcery.com>
36971 Joseph Myers <joseph@codesourcery.com>
36973 * config.make.in (NM): New variable.
36975 2012-10-21 Andreas Jaeger <aj@suse.de>
36977 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36978 definitions and declarations that are provided by
36979 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36981 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36984 * elf/Makefile (tests-static): Add tst-leaks1-static.
36985 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36986 ($(objpfx)tst-leaks1-static): New rule.
36987 ($(objpfx)tst-leaks1-static-mem): Likewise.
36988 (tst-leaks1-static-ENV): New macro.
36989 * elf/dl-open.c (dl_open_worker): Check the main application
36990 only if SHARED is defined.
36991 * elf/tst-leaks1-static.c: New file.
36993 2012-10-20 Andreas Jaeger <aj@suse.de>
36995 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36996 generic values for Linux.
36997 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36998 and declarations that are provided by <bits/fcntl-linux.h> and
36999 include <bits/fcntl-linux.h>.
37000 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37003 2012-10-20 Roland McGrath <roland@hack.frob.com>
37005 * io/fcntl.h: Move include of <bits/types.h> to the top and
37006 include it unconditionally.
37008 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37010 * wcsmbs/Makefile (tests-ifunc): New variable.
37011 (tests): Add $(tests-ifunc).
37012 * wcsmbs/test-wcschr-ifunc.c: New file.
37013 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37014 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37015 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37016 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37017 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37019 * string/Makefile (tests-ifunc): New variable.
37020 (tests): Add $(tests-ifunc).
37021 * string/test-memccpy.c (TEST_NAME): New macro.
37022 * string/test-memchr.c (TEST_NAME): Likewise.
37023 * string/test-memcmp.c (TEST_NAME): Likewise.
37024 * string/test-memcpy.c (TEST_NAME): Likewise.
37025 * string/test-memmem.c (TEST_NAME): Likewise.
37026 * string/test-memmove.c (TEST_NAME): Likewise.
37027 * string/test-memset.c (TEST_NAME): Likewise.
37028 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37029 * string/test-stpcpy.c (TEST_NAME): Likewise.
37030 * string/test-stpncpy.c (TEST_NAME): Likewise.
37031 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37032 * string/test-strcasestr.c (TEST_NAME): Likewise.
37033 * string/test-strcat.c (TEST_NAME): Likewise.
37034 * string/test-strchr.c (TEST_NAME): Likewise.
37035 * string/test-strcmp.c(TEST_NAME): Likewise.
37036 * string/test-strcpy.c (TEST_NAME): Likewise.
37037 * string/test-strcspn.c (TEST_NAME): Likewise.
37038 * string/test-strlen.c (TEST_NAME): Likewise.
37039 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37040 * string/test-strncmp.c (TEST_NAME): Likewise.
37041 * string/test-strncpy.c (TEST_NAME): Likewise.
37042 * string/test-strnlen.c (TEST_NAME): Likewise.
37043 * string/test-strpbrk.c (TEST_NAME): Likewise.
37044 * string/test-strrchr.c (TEST_NAME): Likewise.
37045 * string/test-strspn.c (TEST_NAME): Likewise.
37046 * string/test-strstr.c (TEST_NAME): Likewise.
37047 * string/test-bcopy-ifunc.c: New file.
37048 * string/test-bzero-ifunc.c: Likewise.
37049 * string/test-memccpy-ifunc.c: Likewise.
37050 * string/test-memchr-ifunc.c: Likewise.
37051 * string/test-memcmp-ifunc.c: Likewise.
37052 * string/test-memcpy-ifunc.c: Likewise.
37053 * string/test-memmem-ifunc.c: Likewise.
37054 * string/test-memmove-ifunc.c: Likewise.
37055 * string/test-mempcpy-ifunc.c: Likewise.
37056 * string/test-memset-ifunc.c: Likewise.
37057 * string/test-rawmemchr-ifunc.c: Likewise.
37058 * string/test-stpcpy-ifunc.c: Likewise.
37059 * string/test-stpncpy-ifunc.c: Likewise.
37060 * string/test-strcasecmp-ifunc.c: Likewise.
37061 * string/test-strcasestr-ifunc.c: Likewise.
37062 * string/test-strcat-ifunc.c: Likewise.
37063 * string/test-strchr-ifunc.c: Likewise.
37064 * string/test-strchrnul-ifunc.c: Likewise.
37065 * string/test-strcmp-ifunc.c: Likewise.
37066 * string/test-strcpy-ifunc.c: Likewise.
37067 * string/test-strcspn-ifunc.c: Likewise.
37068 * string/test-strlen-ifunc.c: Likewise.
37069 * string/test-strncasecmp-ifunc.c: Likewise.
37070 * string/test-strncat-ifunc.c: Likewise.
37071 * string/test-strncmp-ifunc.c: Likewise.
37072 * string/test-strncpy-ifunc.c: Likewise.
37073 * string/test-strnlen-ifunc.c: Likewise.
37074 * string/test-strpbrk-ifunc.c: Likewise.
37075 * string/test-strrchr-ifunc.c: Likewise.
37076 * string/test-strspn-ifunc.c: Likewise.
37077 * string/test-strstr-ifunc.c: Likewise.
37079 * debug/Makefile (tests-ifunc): New variable.
37080 (tests): Add $(tests-ifunc).
37081 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37082 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37083 * debug/test-stpcpy_chk-ifunc.c: New file.
37084 * debug/test-strcpy_chk-ifunc.c: Likewise.
37086 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37089 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37090 header is not read in.
37092 2012-10-19 Joseph Myers <joseph@codesourcery.com>
37094 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37095 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37096 directly. Pass built executable to script as
37097 $(built-program-cmd).
37098 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37099 $testprogram without using LD_LIBRARY_PATH and $ldso.
37101 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37102 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37103 $(rtld-installed-name).
37104 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37105 (rtld_installed_name): Likewise.
37106 (library_path): Likewise.
37107 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37108 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37109 $(run-program-prefix) to tst-tables.sh.
37110 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37111 it to run tst-table-from and tst-table-to.
37112 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37113 Pass it to tst-table.sh.
37114 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37115 $(run-program-prefix) to tst-gettext.sh.
37116 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37118 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37120 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37121 to run tst-gettext.
37122 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37123 to run tst-gettext2.
37124 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37125 to run tst-translit.
37126 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37127 $(run-program-prefix) to tst-mtrace.sh.
37128 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37130 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37131 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37132 $(rtld-installed-name).
37133 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37134 (rtld_installed_name): Likewise.
37135 (run_program_prefix): New variable. Use it to run wordexp-test.
37137 * Makeconfig (ARCH): Remove all definitions.
37138 (machine): Likewise.
37139 [ARCH]: Remove conditional code.
37140 [!objdir]: Give error.
37141 [!objdir] (objpfx): Remove.
37142 [!objdir] (common-objpfx): Likewise.
37143 [!objdir] (common-objdir): Likewise.
37144 * configure.in (config_makefile): Remove. Hardcode Makefile in
37145 AC_CONFIG_FILES call.
37146 * configure: Regenerated.
37149 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37151 (testout): Likewise.
37153 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37154 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37155 $(rtld-installed-name).
37156 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37157 (rtld_installed_name): Likwise.
37158 (runit): Remove function.
37159 (run_getconf): New variable, Use it for running getconf binary.
37161 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37164 * string/test-memmem.c (check_result): New function.
37165 (do_one_test): Use it.
37166 (check1): New function.
37167 (test_main): Use it.
37169 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37171 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37173 2012-10-18 Joseph Myers <joseph@codesourcery.com>
37175 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37176 (_G_LSEEK64): Likewise.
37177 (_G_MMAP64): Likewise.
37178 (_G_FSTAT64): Likewise.
37179 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37180 (_G_LSEEK64): Likewise.
37181 (_G_MMAP64): Likewise.
37182 (_G_FSTAT64): Likewise.
37183 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37184 unconditional. Call __mmap64 directly.
37185 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37186 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37187 __lseek64 directly.
37188 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37189 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37191 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37192 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37193 __lseek64 directly.
37194 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37195 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37196 __lseek64 directly.
37197 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37198 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37199 __lseek64 directly.
37200 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37201 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37202 __fxstat64 directly.
37203 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37204 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37206 (freopen64) [!_G_OPEN64]: Remove conditional code.
37207 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37209 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37210 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37212 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37213 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37215 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37216 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37218 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37219 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37221 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37222 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37224 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37225 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37227 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37229 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37232 * manual/memory.texi (Malloc Tunable Parameters): Add note
37233 about free list pointers overwriting some perturb bytes.
37234 Wording suggested by Roland McGrath.
37236 2012-10-17 Joseph Myers <joseph@codesourcery.com>
37238 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37239 (lgamma_test): Likewise.
37240 (tgamma_test): Likewise.
37242 2012-10-16 Florian Weimer <fweimer@redhat.com>
37245 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37246 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37248 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37250 * NEWS: Mention BZ #14716.
37251 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37252 when removing AVAILABLE1_USES_J macro.
37254 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37256 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37257 (__bswap_64): __uint64_t for unsigned 64-bit int.
37259 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37261 * include/string.h (memmem): Declare libc hidden alias.
37262 * string/memmem.c (memmem): Define libc hidden alias.
37263 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37264 __read, __close instead of open, read, close.
37266 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37268 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37269 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37271 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37272 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37273 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37275 (__rawmemchr_sse2): Likewise.
37276 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37277 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37278 (__strchr_sse2): Likewise.
37279 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37280 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37281 (__strcasecmp_sse2): Likewise.
37282 (__strncasecmp_sse2): Likewise.
37283 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37284 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37285 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37286 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37287 (__strrchr_sse2): Likewise.
37288 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37290 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37291 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37292 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37293 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37294 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37295 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37296 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37297 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37298 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37299 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37300 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37301 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37302 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37303 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37304 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37305 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37306 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37307 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37308 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37309 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37310 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37311 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37312 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37313 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37314 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37315 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37316 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37317 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37318 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37319 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37321 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37323 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37324 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37325 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37326 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37328 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37330 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37331 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37332 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37333 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37335 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37336 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37337 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37338 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37339 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37340 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37341 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37342 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37343 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37344 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37345 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37346 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37347 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37348 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37349 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37350 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37351 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37352 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37353 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37354 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37355 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37356 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37357 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37358 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37359 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37360 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37361 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37362 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37363 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37364 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37365 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37366 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37367 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37368 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37369 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37370 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37371 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37372 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37373 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37374 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37375 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37377 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37378 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37379 * include/ifunc-impl-list.h: New file.
37380 * misc/ifunc-impl-list.c: Likewise.
37381 * misc/Makefile (routines): Add ifunc-impl-list.
37382 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37383 * string/test-string.h: Include <ifunc-impl-list.h>.
37384 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37385 TEST_NAME]: New variables.
37386 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37388 (test_init): Call __libc_ifunc_impl_list to initialize
37389 func_list if TEST_IFUNC and TEST_NAME are defined.
37391 * string/Makefile (strop-tests): Add bcopy and bzero.
37392 * string/test-bcopy.c: New file.
37393 * string/test-bzero.c: Likewise.
37394 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37396 * string/test-memset.c: Support bzero test if TEST_BZERO is
37398 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37400 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37402 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37405 2012-10-10 Joseph Myers <joseph@codesourcery.com>
37407 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37408 * configure: Regenerated.
37410 * Makeconfig (+link-static-before-libc): Don't include
37411 $(link-static-libc).
37413 * libio/libio.h (_IO_pos_t): Remove.
37415 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37417 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37420 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37422 * crypt/crypt-entry.c: Include fips-private.h.
37423 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37424 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37425 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37426 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37428 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37430 * crypt/crypt-private.h: Include stdbool.h.
37431 (_ufc_setup_salt_r): Return bool.
37432 * crypt/crypt-entry.c: Include errno.h.
37433 (__crypt_r): Return NULL with EINVAL for bad salt.
37434 * crypt/crypt_util.c (bad_for_salt): New.
37435 (_ufc_setup_salt_r): Check that salt is long enough and within
37436 the specified alphabet.
37437 * crypt/badsalttest.c: New file.
37438 * crypt/Makefile (tests): Add it.
37439 ($(objpfx)badsalttest): New.
37441 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37443 * NEWS: Add entry for BZ #14602.
37445 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37447 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37449 * math/libm-test.inc: Update comment listing what functions and
37451 (isgreater_test): New function.
37452 (isgreaterequal_test): Likewise.
37453 (isless_test): Likewise.
37454 (islessequal_test): Likewise.
37455 (islessgreater_test): Likewise.
37456 (isunordered_test): Likewise.
37457 (main): Call the new functions.
37459 2012-10-09 Roland McGrath <roland@hack.frob.com>
37461 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37462 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37463 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37464 * sysdeps/i386/configure: Regenerated.
37465 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37466 * sysdeps/mach/configure: Regenerated.
37467 * sysdeps/mach/hurd/configure: Regenerated.
37468 * sysdeps/powerpc/configure: Regenerated.
37469 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37470 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37471 * sysdeps/s390/s390-32/configure: Regenerated.
37472 * sysdeps/s390/s390-64/configure: Regenerated.
37473 * sysdeps/sh/configure: Regenerated.
37474 * sysdeps/sparc/configure: Regenerated.
37475 * sysdeps/unix/sysv/linux/configure: Regenerated.
37476 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37477 * sysdeps/x86_64/configure: Regenerated.
37479 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37480 defined. Don't check if MAP is NULL.
37482 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37484 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37485 (_G_stat64): Likewise.
37486 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37487 (_G_stat64): Likewise.
37488 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37489 instead of struct _G_stat64.
37490 * libio/fileops.c (mmap_remap_check): Likewise.
37491 (decide_maybe_mmap): Likewise.
37492 (_IO_new_file_seekoff): Likewise.
37493 (_IO_file_stat): Likewise.
37494 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37496 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37497 instead of struct _G_stat64.
37498 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37500 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37503 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37505 (CHECK_EOL): New macro.
37506 (two_way_short_needle): Check beginning of haystack for EOL. Use
37508 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37509 Replace with CHECK_EOL.
37510 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37511 Replace with CHECK_EOL.
37513 2012-10-08 Joseph Myers <joseph@codesourcery.com>
37515 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37517 * math/libm-test.inc: Update comment listing what functions and
37519 (finite_test): New function.
37520 (isinf_test): Likewise.
37521 (isnan_test): Likewise.
37522 (fpclassify_test): Test subnormal input.
37523 (isfinite_test): Likewise.
37524 (isnormal_test): Likewise.
37525 (main): Call the new functions.
37527 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37530 * Makerules (%.dynsym): Force C locale when running
37531 $(OBJDUMP) --dynamic-syms.
37533 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37535 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37538 2012-10-06 David S. Miller <davem@davemloft.net>
37540 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37541 upper 32-bits of the length value in %o2 since we use branch-on-register
37542 tests which consider the entire 64-bit register.
37544 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37546 * string/test-strstr.c (check2): Add a test for page boundary.
37548 2012-10-05 David S. Miller <davem@davemloft.net>
37550 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37551 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37553 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37555 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37556 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37557 and bzero when HWCAP_SPARC_CRYPTO is present.
37559 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37562 * string/test-strstr.c (check2): New function.
37563 (test_main): Call check2.
37565 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37567 * string/bug-strcasestr1.c (do_test): Moved to ...
37568 * string/test-strcasestr.c (check1): Here. New function.
37569 (do_one_test): Break out result checking code into ...
37570 (check_result): This. New function.
37571 (do_one_test): Call check_result.
37572 (test_main): Call check1.
37573 * string/bug-strchr1.c (do_test): Moved to ...
37574 * string/test-strchr.c (check1): Here. New function.
37575 (do_one_test): Break out result checking code into ...
37576 (check_result): This. New function.
37577 (do_one_test): Call check_result.
37578 (test_main): Call check1.
37579 * string/bug-strstr1.c (main): Moved to ...
37580 * string/test-strstr.c (check1): Here. New function.
37581 (do_one_test): Break out result checking code into ...
37582 (check_result): This. New function.
37583 (do_one_test): Call check_result.
37584 (test_main): Call check1.
37585 * string/bug-strcasestr1.c: Removed.
37586 * string/bug-strchr1.c: Likewise.
37587 * string/bug-strstr1.c: Likewise.
37589 * elf/Makefile (dl-routines): Add hwcaps.
37590 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37591 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37592 (_dl_important_hwcaps): Moved to ...
37593 * elf/dl-hwcaps.c: Here. New file.
37594 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37597 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37598 if IS_IN_rtld isn't defined.
37600 * elf/dl-support.c (_dl_sysinfo_map): New.
37601 Include "get-dynamic-info.h" and "setup-vdso.h".
37602 (_dl_non_dynamic_init): Call setup_vdso.
37603 * elf/dynamic-link.h: Don't include <assert.h>.
37604 (elf_get_dynamic_info): Moved to ...
37605 * elf/get-dynamic-info.h: Here. New file.
37606 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37607 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37608 * elf/setup-vdso.h: Here. New file.
37609 * elf/rtld.c: Include "setup-vdso.h".
37610 (dl_main): Call setup_vdso.
37612 2012-10-05 Joseph Myers <joseph@codesourcery.com>
37614 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37615 creal in comment listing functions tested. List finite, isinf,
37616 isnan, isless, islessequal, isgreater, isgreaterequal,
37617 islessgreater, isunordered, lgamma_r and pow10 as functions and
37618 macros not tested. Mention which functions not tested are aliases
37619 for other functions. Fix typo. Note that signs of NaNs are not
37622 * scripts/config.guess: Update from config.git.
37623 * scripts/config.sub: Likewise.
37625 2012-10-04 Roland McGrath <roland@hack.frob.com>
37627 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37628 * misc/madvise.c (madvise): Renamed to __madvise.
37629 Make madvise a weak alias.
37630 * include/sys/mman.h: Declare __madvise.
37631 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37632 * sysdeps/unix/syscalls.list
37633 (madvise): Make __madvise the strong name, and madvise a weak alias.
37634 * sysdeps/unix/sysv/linux/syscalls.list
37635 (madvise, mmap): Remove redundant entries.
37636 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37637 * malloc/malloc.c (mtrim): Likewise.
37638 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37640 2012-10-03 Roland McGrath <roland@hack.frob.com>
37642 * sysdeps/mach/hurd/dl-cache.c: File removed.
37643 * config.h.in (USE_LDCONFIG): New #undef.
37644 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37645 * configure: Regenerated.
37646 * elf/Makefile (dl-routines): Add dl-cache only under
37647 [$(use-ldconfig) = yes].
37648 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37649 cache on [USE_LDCONFIG].
37650 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37652 * elf/rtld.c (dl_main): Likewise.
37654 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37656 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37657 _SC_LEVEL4_CACHE_LINESIZE.
37659 2012-10-03 Roland McGrath <roland@hack.frob.com>
37661 * sysdeps/unix/bsd/confstr.h: File removed.
37663 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
37665 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37668 2012-10-02 Roland McGrath <roland@hack.frob.com>
37670 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37671 Make 'mapoff' field ElfW(Off) rather than off_t.
37673 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37675 * nscd/Makefile: Remove nscd-cflags and all its users.
37676 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37677 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37680 * malloc.c (malloc_printerr): Clarify error message.
37682 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37686 Set bit_FMA_Usable if FMA is supported.
37687 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37689 (bit_FMA4_Usable): Updated.
37690 (index_FMA_Usable): New macro.
37691 (CPUID_FMA): Likewise
37692 (HAS_FMA): Defined with bit_FMA_Usable.
37694 2012-10-01 Roland McGrath <roland@hack.frob.com>
37696 * bits/types.h (__swblk_t): Type removed.
37697 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37698 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37700 (__SWBLK_T_TYPE): Likewise.
37701 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37702 (__SWBLK_T_TYPE): Likewise.
37703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37704 (__SWBLK_T_TYPE): Likewise.
37705 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37706 (__SWBLK_T_TYPE): Likewise.
37708 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
37709 Honza Horak <hhorak@redhat.com>
37711 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37712 (xdr_mapname): Use YPMAXMAP as maxsize.
37713 (xdr_peername): Use YPMAXPEER as maxsize.
37714 (xdr_keydat): Use YPAXRECORD as maxsize.
37715 (xdr_valdat): Use YPMAXRECORD as maxsize.
37717 2012-10-01 Roland McGrath <roland@hack.frob.com>
37719 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37721 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37722 * csu/init-first.c: ... here.
37723 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37724 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37725 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37726 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37727 * sysdeps/i386/init-first.c: File removed.
37728 * sysdeps/sh/init-first.c: File removed.
37730 2012-10-01 Joseph Myers <joseph@codesourcery.com>
37733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37734 if x * y might underflow to zero and z is zero.
37735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37736 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37737 * math/libm-test.inc (min_subnorm_value): New variable.
37738 (fma_test): Add more tests.
37739 (fma_test_towardzero): Likewise.
37740 (fma_test_downward): Likewise
37741 (fma_test_upward): Likewise.
37742 (initialize): Set min_subnorm_value.
37744 2012-09-29 Joseph Myers <joseph@codesourcery.com>
37747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37749 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37750 mode for addition resulting in exact zero.
37751 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37752 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37754 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37755 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37756 * math/libm-test.inc (fma_test): Add more tests.
37757 (fma_test_towardzero): New function.
37758 (fma_test_downward): Likewise.
37759 (fma_test_upward): Likewise.
37760 (main): Call the new functions.
37762 2012-09-28 David S. Miller <davem@davemloft.net>
37764 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37766 2012-09-28 Roland McGrath <roland@hack.frob.com>
37768 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37769 instead of SIGALRM.
37771 * sysdeps/gnu/_G_config.h: Moved to ...
37772 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37773 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37774 * sysdeps/generic/_G_config.h: ... here.
37776 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37778 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37780 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37781 Conditionalize target on [libnss_test1.so-version].
37783 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37785 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37786 (elfobjdir): Move out of conditionals.
37788 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37789 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37790 (__nss_lookup_function): Conditionalize label remove_from_tree on
37791 [!DO_STATIC_NSS || SHARED], matching its only use.
37793 2012-09-28 David S. Miller <davem@davemloft.net>
37795 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37796 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37798 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37800 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37801 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37802 when HWCAP_SPARC_CRYPTO is present.
37804 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37806 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37808 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37811 * stdio-common/vfprintf.c (process_string_arg): Revert
37814 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37816 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37818 * stdio-common/tst-sprintf.c: Include <locale.h>
37819 (main): Test sprintf's handling of incomplete multibyte
37822 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37824 * elf/dl-runtime.c (VERSYMIDX): Removed.
37825 * elf/dl-version.c (VERSYMIDX): Likewise.
37826 * elf/do-rel.h (VERSYMIDX): Likewise.
37827 (VALIDX): Likewise.
37828 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37829 * elf/rtld.c (VALIDX): Likewise.
37830 (ADDRIDX): Likewise.
37831 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37832 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37833 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37834 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37835 (VALIDX): Likewise.
37836 (ADDRIDX): Likewise.
37838 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37840 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37842 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37845 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37847 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37848 addresses are in the same scope as 192.0.2/24.
37849 * posix/gai.conf: Document new scope table defaults.
37851 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37854 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37855 for ftell. Compute offsets from write pointers instead.
37856 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37858 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37861 * libio/Makefile (tests): New test case tst-fseek.
37862 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37863 combination works in wide mode.
37864 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37865 state when the external buffer state changes.
37867 2012-09-27 David S. Miller <davem@davemloft.net>
37870 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37871 pass reloc->r_addend in as the 'high' argument to
37872 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37876 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37878 * rt/tst-aio2.c: Include <pthread.h>.
37879 * rt/tst-aio3.c: Likewise.
37881 2012-09-27 Steve Ellcey <sellcey@mips.com>
37883 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37885 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37887 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37888 contents on [SHARED].
37890 2012-09-26 Marek Polacek <polacek@redhat.com>
37894 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37895 for C++ and GCC <4.3 as well as for non GCC compilers.
37897 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37901 2012-09-25 Roland McGrath <roland@hack.frob.com>
37903 * Makefile.in (all, install): Declare with .PHONY.
37904 Reported by Michael Hope <michael.hope@linaro.org>.
37906 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37908 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37909 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37911 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37913 (sydep_routines): Add the new and the internal functions.
37914 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37915 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37917 (GLIBC_2.17): Add the new function.
37918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37919 (GLIBC_2.17): Likewise.
37920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37921 (GLIBC_2.17): Likewise.
37922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37923 (GLIBC_2.17): Likewise.
37924 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37926 2012-09-25 Alan Modra <amodra@gmail.com>
37928 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37929 Add release barrier before setting once_control to say
37930 initialisation is done. Add hints on lwarx. Use macro in
37932 (clear_once_control): Add release barrier.
37934 2012-09-25 Joseph Myers <joseph@codesourcery.com>
37937 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37939 * math/s_clog10.c (__clog10): Likewise.
37940 * math/s_clog10f.c (__clog10f): Likewise.
37941 * math/s_clog10l.c (__clog10l): Likewise.
37942 * math/s_clogf.c (__clogf): Likewise.
37943 * math/s_clogl.c (__clogl): Likewise.
37944 * math/Makefile (libm-calls): Add x2y2m1.
37945 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37946 (__x2y2m1): Likewise.
37947 (__x2y2m1l): Likewise.
37948 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37949 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37950 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37951 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37952 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37953 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37954 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37955 * sysdeps/i386/fpu/libm-test-ulps: Update.
37956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37959 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37960 int as type of variable DEPTH.
37961 (glob): Use size_t instead of int as type of variables NEWCOUNT
37964 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37966 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37967 Add s_sincosf-sse2.
37968 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37969 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37970 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37971 macros for using routine as __sincosf_ia32.
37972 Use macro for function declaration and weak_alias.
37973 * sysdeps/i386/fpu/libm-test-ulps: Update.
37975 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37978 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37979 subnormal argument.
37980 * math/s_cexpf.c (__cexpf): Likewise.
37981 * math/s_csinf.c (__csinf): Likewise.
37982 * math/s_csinhf.c (__csinhf): Likewise.
37983 * math/s_ctanf.c (__ctanf): Likewise.
37984 * math/s_ctanhf.c (__ctanhf): Likewise.
37985 * math/s_ccosh.c (__ccoshf): Likewise.
37986 * math/s_cexp.c (__cexpl): Likewise.
37987 * math/s_csin.c (__csin): Likewise.
37988 * math/s_csinh.c (__csinh): Likewise.
37989 * math/s_ctan.c (__ctan): Likewise.
37990 * math/s_ctanh.c (ctanh): Likewise.
37991 * math/s_ccoshl.c (__ccoshl): Likewise.
37992 * math/s_cexpl.c (__cexpl): Likewise.
37993 * math/s_csinl.c (__csinl): Likewise.
37994 * math/s_csinhl.c (__csinhl): Likewise.
37995 * math/s_ctanl.c (__ctanl): Likewise.
37996 * math/s_ctanhl.c (__ctanhl): Likewise.
37998 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38000 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38001 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38002 (_IO_off_t): Define to __off_t, not _G_off_t.
38003 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38004 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38005 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38006 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38007 type of __dummy and __dummy2 fields.
38008 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38009 (_G_ssize_t): Likewise.
38010 (_G_off_t): Likewise.
38011 (_G_pid_t): Likewise.
38012 (_G_uid_t): Likewise.
38013 (_G_wchar_t): Likewise.
38014 (_G_wint_t): Likewise.
38015 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38016 (_G_ssize_t): Likewise.
38017 (_G_off_t): Likewise.
38018 (_G_pid_t): Likewise.
38019 (_G_uid_t): Likewise.
38020 (_G_wchar_t): Likewise.
38021 (_G_wint_t): Likewise.
38022 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38023 (_G_ssize_t): Likewise.
38024 (_G_off_t): Likewise.
38025 (_G_pid_t): Likewise.
38026 (_G_uid_t): Likewise.
38027 (_G_wchar_t): Likewise.
38028 (_G_wint_t): Likewise.
38030 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38032 * malloc/arena.c: Include malloc-sysdep.h.
38033 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38034 is sufficient to shrink the heap or an unmap is needed.
38035 * sysdeps/generic/malloc-sysdep.h: New file. Define
38036 new function check_may_shrink_heap.
38037 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38038 new function check_may_shrink_heap.
38040 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38042 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38045 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38047 * catgets/test-gencat.sh: Add "set -e".
38048 * elf/tst-pathopt.sh: Likewise.
38049 * grp/tst_fgetgrent.sh: Likewise.
38050 * iconvdata/run-iconv-test.sh: Likewise.
38051 * intl/tst-gettext.sh: Likewise.
38052 * intl/tst-gettext2.sh: Likewise.
38053 * intl/tst-gettext4.sh: Likewise.
38054 * intl/tst-gettext6.sh: Likewise.
38055 * intl/tst-translit.sh: Likewise.
38056 * io/ftwtest-sh: Likewise.
38057 * libio/test-freopen.sh: Likewise.
38058 * malloc/tst-mtrace.sh: Likewise.
38059 * posix/globtest.sh: Likewise.
38060 * posix/tst-getconf.sh: Likewise.
38061 * posix/wordexp-tst.sh: Likewise.
38062 * stdio-common/tst-printf.sh: Likewise.
38063 * stdio-common/tst-unbputc.sh: Likewise.
38064 * stdlib/tst-fmtmsg.sh: Likewise.
38065 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38066 * catgets/Makefile: Do not specify -e option when running
38067 testsuite shell scripts.
38068 * elf/Makefile: Likewise.
38069 * grp/Makefile: Likewise.
38070 * iconvdata/Makefile: Likewise.
38071 * intl/Makefile: Likewise.
38072 * io/Makefile: Likewise.
38073 * libio/Makefile: Likewise.
38074 * malloc/Makefile: Likewise.
38075 * posix/Makefile: Likewise.
38076 * stdio-common/Makefile: Likewise.
38077 * stdlib/Makefile: Likewise.
38078 * sysdeps/x86_64/Makefile: Likewise.
38080 * io/ftwtest-sh: Add copyright header.
38081 * posix/globtest.sh: Likewise.
38082 * posix/tst-getconf.sh: Likewise.
38083 * posix/wordexp-tst.sh: Likewise.
38084 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38086 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38089 * Makeconfig (+link): Defined as $(+link-static) if
38090 $(build-shared) isn't yes.
38091 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38093 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38095 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38098 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38099 new chunk size with MALLOC_ALIGN_MASK.
38101 2012-09-24 Joseph Myers <joseph@codesourcery.com>
38104 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38106 (__printf_fphex): Determine rounding using get_rounding_mode and
38108 * stdio-common/tst-printf-round.c (struct hex_test): New
38110 (hex_tests): New variable.
38111 (test_hex_in_one_mode): New function.
38112 (do_test): Also run tests for hex float output.
38114 2012-09-21 Joseph Myers <joseph@codesourcery.com>
38116 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38117 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38118 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38119 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38120 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38121 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38122 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38123 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38125 2012-09-20 Joseph Myers <joseph@codesourcery.com>
38127 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38128 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38129 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38130 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38132 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38135 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38137 * elf/tst-rtld-load-self.sh: New test.
38138 * elf/Makefile: Run it.
38140 2012-09-18 Joseph Myers <joseph@codesourcery.com>
38142 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38143 (tst-writev-ENV): Remove.
38144 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38146 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38148 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38150 2012-09-17 Joseph Myers <joseph@codesourcery.com>
38152 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38154 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38156 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38157 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38158 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38161 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38164 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38165 * config.make.in (have-cpp-asm-debuginfo): Removed.
38166 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38167 * configure: Regenerated.
38169 2012-09-14 Joseph Myers <joseph@codesourcery.com>
38172 * stdio-common/printf_fp.c: Include <stdbool.h> and
38174 (___printf_fp): Determine rounding using get_rounding_mode and
38176 * stdio-common/tst-printf-round.c: New file.
38177 * stdio-common/Makefile (tests): Add tst-printf-round.
38178 (link-libm): New variable.
38179 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38181 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38184 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38185 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38187 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38190 2012-09-13 Joseph Myers <joseph@codesourcery.com>
38192 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38193 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38194 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38195 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38197 2012-09-12 Joseph Myers <joseph@codesourcery.com>
38200 * include/rounding-mode.h: New file.
38201 * sysdeps/generic/get-rounding-mode.h: Likewise.
38202 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38203 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38204 (MAX_VALUE): New macro.
38205 (MIN_VALUE): Likewise.
38206 (overflow_value): New function.
38207 (underflow_value): Likewise.
38208 (round_and_return): Use overflow_value and underflow_value to
38209 determine return values in overflow and underflow cases. Use
38210 round_away to determine rounding depending on rounding mode.
38211 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38212 determine return values in overflow and underflow cases.
38213 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38214 (struct test_results): New structure.
38215 (struct test): Use struct test_results to store expected results
38216 for all rounding modes.
38217 (TEST): Include expected results for all rounding modes.
38218 (test_in_one_mode): New function.
38219 (do_test): Use test_in_one_mode to compute and check results.
38220 Check results for all rounding modes.
38221 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38224 2012-12-09 Allan McRae <allan@archlinux.org>
38226 * sysdeps/i386/fpu/libm-test-ulps: Update
38228 2012-09-11 Joseph Myers <joseph@codesourcery.com>
38230 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38231 (_G_int32_t): Likewise.
38232 (_G_uint16_t): Likewise.
38233 (_G_uint32_t): Likewise.
38234 (_G_HAVE_BOOL): Likewise.
38235 (_G_HAVE_ATEXIT): Likewise.
38236 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38237 (_G_HAVE_IO_FILE_OPEN): Likewise.
38238 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38239 (_G_int32_t): Likewise.
38240 (_G_uint16_t): Likewise.
38241 (_G_uint32_t): Likewise.
38242 (_G_HAVE_BOOL): Likewise.
38243 (_G_HAVE_ATEXIT): Likewise.
38244 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38245 (_G_HAVE_IO_FILE_OPEN): Likewise.
38246 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38247 (_G_int32_t): Likewise.
38248 (_G_uint16_t): Likewise.
38249 (_G_uint32_t): Likewise.
38250 (_G_HAVE_BOOL): Likewise.
38251 (_G_HAVE_ATEXIT): Likewise.
38252 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38253 (_G_HAVE_IO_FILE_OPEN): Likewise.
38255 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38257 * csu/libc-tls.c: Update copyright years.
38259 2012-09-10 Joseph Myers <joseph@codesourcery.com>
38261 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38262 [!_G_USING_THUNKS]: Remove conditional code.
38263 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38264 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38266 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38267 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38268 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38269 (_G_VTABLE_LABEL_PREFIX): Likewise.
38270 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38271 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38272 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38273 (_G_VTABLE_LABEL_PREFIX): Likewise.
38274 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38275 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38276 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38277 (_G_VTABLE_LABEL_PREFIX): Likewise.
38278 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38280 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38282 * libio/Makefile: Include ../Makeconfig before tests.
38283 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38284 only if $(build-shared) is yes.
38286 * iconv/gconv_db.c: Update copyright years.
38288 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38290 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38291 unwind info if defined PIC. Fix special cases description.
38292 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38294 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38296 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38298 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38300 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38302 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38305 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38306 (LDLIBS-tst-chk4): This.
38307 (LDFLAGS-tst-chk5): Renamed to ...
38308 (LDLIBS-tst-chk5): This.
38309 (LDFLAGS-tst-chk6): Renamed to ...
38310 (LDLIBS-tst-chk6): This.
38311 (LDFLAGS-tst-lfschk4): Renamed to ...
38312 (LDLIBS-tst-lfschk4): This.
38313 (LDFLAGS-tst-lfschk5): Renamed to ...
38314 (LDLIBS-tst-lfschk5): This.
38315 (LDFLAGS-tst-lfschk6): Renamed to ...
38316 (LDLIBS-tst-lfschk6): This.
38318 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38319 on $(common-objpfx)soversions.mk.
38321 2012-09-07 Joseph Myers <joseph@codesourcery.com>
38324 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38327 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38329 * malloc/arena.c (arena_get_retry): New function that gets
38330 another arena for the caller to try its request on.
38331 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38332 current arena cannot fulfill the request.
38333 (__libc_memalign): Likewise.
38334 (__libc_memalign): Likewise.
38335 (__libc_pvalloc): Likewise.
38336 (__libc_calloc): Likewise.
38338 2012-09-05 John Tobey <john.tobey@gmail.com>
38341 * manual/arith.texi (Operations on Complex): Fix description
38342 of carg branch cut.
38344 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38347 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38351 * manual/memory.texi (Memory): Make order of menu items match
38354 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38356 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38357 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38358 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38360 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38362 * csu/libc-tls.c (static_dtv): Renamed to ...
38363 (_dl_static_dtv): This. Make it global.
38364 (_dl_initial_dtv): Removed.
38365 (__libc_setup_tls): Updated.
38366 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38367 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38370 2012-09-06 Petr Machata <pmachata@redhat.com>
38372 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38373 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38374 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38375 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38377 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38380 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38381 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38384 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38387 * Makeconfig (link-static-before-libc): Replace $(+prector)
38389 (link-static-after-libc): Replace $(+postctor) with
38391 (link-bounded): Replace $(+prector)/$(+postctor) with
38392 $(+prectorT)/$(+postctorT).
38393 (+prectorT): New macro.
38394 (+postctorT): Likewise.
38396 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38398 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38399 (round_str): Handle values above the maximum for IBM long double
38401 * stdlib/tst-strtod-round.c (tests): Regenerated.
38403 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38405 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38407 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38408 zarch_nohighgprs around the zarch optimized routines.
38409 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38410 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38411 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38414 2012-09-05 David S. Miller <davem@davemloft.net>
38416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38418 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38419 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38420 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38421 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38424 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38426 * malloc/arena.c: Fold copyright years.
38427 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38429 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38431 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38433 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38435 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38437 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38439 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38440 change internal state upon failure.
38442 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38444 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38445 * malloc/memusage.c (mmap): Likewise.
38446 (mmap64, mremap): Likewise. Adjust name in comment.
38448 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38450 * libio/fileops.c: Fix typos in comments.
38451 * libio/oldfileops.c: Likewise.
38452 * libio/wfileops.c: Likewise.
38454 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38457 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38458 (tst-malloc-usable-ENV): Set environment for test case.
38459 * malloc/hooks.c (malloc_check_get_size): New function to get
38461 * malloc/malloc.c (musable): Use malloc_check_get_size.
38462 * malloc/tst-malloc-usable.c: New test case.
38464 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38466 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38468 2012-09-05 Allan McRae <allan@archlinux.org>
38471 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38472 determine header location.
38473 * configure: Regenerated.
38475 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38477 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38479 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38480 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38482 (test): Regenerate.
38484 2012-09-04 David S. Miller <davem@davemloft.net>
38486 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38487 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38488 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38490 2012-09-04 Florian Weimer <fweimer@redhat.com>
38492 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38495 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38497 2012-09-04 Joseph Myers <joseph@codesourcery.com>
38500 * libio/iogetdelim.c: Include <limits.h>.
38501 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38502 + len + 1 would overflow.
38504 2012-09-03 Andreas Jaeger <aj@suse.de>
38506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38507 * sysdeps/i386/fpu/libm-test-ulps: Update.
38509 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38511 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38512 Add s_sinf-sse2, s_conf-sse2.
38514 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38515 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38516 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38517 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38519 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38520 for using routine as __sinf_ia32.
38521 Use macro for function declaration and weak_alias.
38522 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38523 for using routine as __cosf_ia32.
38524 Use macro for function declaration and weak_alias.
38526 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38527 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38529 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38530 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38533 * math/libm-test.inc (cos_test): Add more test cases.
38534 (sin_test): Likewise.
38535 (sincos_test): Likewise.
38537 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38539 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38540 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38542 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38544 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38547 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38548 first element of the GOT.
38549 (elf_machine_load_address): Return the difference between
38550 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38552 2012-09-01 Allan McRae <allan@archlinux.org>
38555 * configure.in (AWK): Require gawk version 3.0 or later.
38556 * configure: Regenerated.
38558 2012-09-01 Joseph Myers <joseph@codesourcery.com>
38560 * sysdeps/unix/sysv/linux/kernel-features.h
38561 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38562 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38563 [__NR_clock_getres]: Make code unconditional.
38564 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38565 (clock_getcpuclockid): Remove code left unreachable by removal of
38567 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38568 code unconditional.
38569 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38570 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38571 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38572 Make code unconditional.
38573 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38574 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38575 * sysdeps/unix/sysv/linux/clock_settime.c
38576 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38578 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38579 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38581 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38584 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38585 scripts/test-installation.pl.
38587 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38588 and $ld_so_version if it is set.
38590 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38593 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38594 failure if reading from procfs failed.
38595 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38597 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38599 * sysdeps/unix/sysv/linux/kernel-features.h
38600 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38601 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38602 Remove conditional code.
38603 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38604 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38605 Remove conditional code.
38606 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38607 * sysdeps/unix/sysv/linux/i386/fxstat.c
38608 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38609 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38610 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38611 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38612 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38613 * sysdeps/unix/sysv/linux/i386/lxstat.c
38614 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38615 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38616 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38617 Remove conditional code.
38618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38619 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38620 Remove conditional code.
38621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38622 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38623 <kernel-features.h>.
38624 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38626 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38627 Remove conditional code.
38628 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38629 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38630 Remove conditional.
38632 2012-08-27 Mike Frysinger <vapier@gentoo.org>
38635 * NEWS: Add fixed bug number.
38637 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38640 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38641 underflowing exponent in case of negative sign.
38642 * stdlib/tst-strtod-round-data: Add more tests.
38643 * stdlib/tst-strtod-round.c (tests): Regenerated.
38646 * stdlib/strtod_l.c (NDIG): Remove.
38647 (HEXNDIG): Likewise.
38648 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38649 smallest representable value.
38650 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38651 lie within an exact representation of 1/2 ulp of the result.
38652 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38654 (TENS_P9_IDX): Define unconditionally.
38655 (TENS_P9_SIZE): Likewise.
38656 (TENS_P10_IDX): Likewise.
38657 (TENS_P10_SIZE): Likewise.
38658 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38659 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38660 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38661 entries for 10^2^13 and 10^2^14.
38662 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38663 (TENS_P13_IDX): Define.
38664 (TENS_P13_SIZE): Likewise.
38665 (TENS_P14_IDX): Likewise.
38666 (TENS_P14_SIZE): Likewise.
38667 (_fpioconst_pow10): Change array size to
38668 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38670 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38671 1024]: Add entries for 10^2^13 and 10^2^14.
38672 [LAST_POW10 > _LAST_POW10]: Remove #error.
38673 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38674 (_fpioconst_pow10): Change array size to
38675 FPIOCONST_POW10_ARRAY_SIZE.
38676 * stdlib/gen-fpioconst.c: New file.
38677 * stdlib/gen-tst-strtod-round.c: Likewise.
38678 * stdlib/tst-strtod-round-data: Likewise.
38679 * stdlib/tst-strtod-round.c: Likewise.
38680 * stdlib/Makefile (tests): Add tst-strtod-round.
38683 * stdlib/strtod_l.c: Include <stdint.h>.
38684 (NDEBUG): Do not define.
38685 (round_and_return): Change EXPONENT parameter to type intmax_t.
38686 Rearrange calculations to avoid internal overflow possibilities.
38687 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38688 Rearrange calculations to avoid internal overflow possibilities.
38689 Assert that number fits inside MPNSIZE limbs.
38690 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38691 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38692 calculations and add assertions to avoid internal overflow
38693 possibilities. Add casts to avoid signed/unsigned operations.
38694 * stdlib/tst-strtod-overflow.c: New file.
38695 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38697 2012-08-25 Marek Polacek <polacek@redhat.com>
38699 * time/time.h: Fix some typos in comments.
38701 2012-08-23 Roland McGrath <roland@hack.frob.com>
38703 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38704 * posix/tst-rfc3484-2.c: Likewise.
38705 * posix/tst-rfc3484-3.c: Likewise.
38707 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38709 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38710 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38712 2012-08-23 Joseph Myers <joseph@codesourcery.com>
38714 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38715 #include of fxstatat64.c.
38717 2012-08-22 Roland McGrath <roland@hack.frob.com>
38719 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38720 * shadow/getspent_r.c: Likewise.
38721 * shadow/getspnam.c: Likewise.
38722 * shadow/getspnam_r.c: Likewise.
38723 * gshadow/getsgent.c: Likewise.
38724 * gshadow/getsgent_r.c: Likewise.
38725 * gshadow/getsgnam.c: Likewise.
38726 * gshadow/getsgnam_r.c: Likewise.
38727 * inet/getnetbyad.c: Likewise.
38728 * inet/getnetbyad_r.c: Likewise.
38729 * inet/getnetbynm.c: Likewise.
38730 * inet/getnetbynm_r.c: Likewise.
38731 * inet/getnetent.c: Likewise.
38732 * inet/getnetent_r.c: Likewise.
38733 * inet/getproto.c: Likewise.
38734 * inet/getproto_r.c: Likewise.
38735 * inet/getprtent.c: Likewise.
38736 * inet/getprtent_r.c: Likewise.
38737 * inet/getprtname.c: Likewise.
38738 * inet/getprtname_r.c: Likewise.
38739 * inet/getrpcbyname.c: Likewise.
38740 * inet/getrpcbyname_r.c: Likewise.
38741 * inet/getrpcbynumber.c: Likewise.
38742 * inet/getrpcbynumber_r.c: Likewise.
38743 * inet/getrpcent.c: Likewise.
38744 * inet/getrpcent_r.c: Likewise.
38745 * inet/getaliasent.c: Likewise.
38746 * inet/getaliasent_r.c: Likewise.
38747 * inet/getaliasname.c: Likewise.
38748 * inet/getaliasname_r.c: Likewise.
38749 * nscd/getgrgid_r.c: Likewise.
38750 * nscd/getgrnam_r.c: Likewise.
38751 * nscd/gethstbyad_r.c: Likewise.
38752 * nscd/gethstbynm3_r.c: Likewise.
38753 * nscd/getpwnam_r.c: Likewise.
38754 * nscd/getpwuid_r.c: Likewise.
38755 * nscd/getsrvbynm_r.c: Likewise.
38756 * nscd/getsrvbypt_r.c: Likewise.
38757 * nscd/gai.c: Likewise.
38759 * configure.in (build_nscd): New substituted variable, set
38760 by --disable-build-nscd and defaults to $use_nscd.
38761 * configure: Regenerated.
38762 * config.make.in (build-nscd): New substituted variable.
38763 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38764 Change conditional to require [$(build-nscd) = yes] as well.
38765 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38768 * configure.in (use_nscd): New substituted variable, set by
38769 --disable-nscd. If enabled, define USE_NSCD.
38770 * configure: Regenerated.
38771 * config.h.in: Add USE_NSCD.
38772 * config.make.in (use-nscd): New substituted variable.
38773 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38774 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38775 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38776 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38777 (CFLAGS-getgrnam_r.c): Likewise.
38778 (CFLAGS-initgroups.c): Likewise.
38779 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38780 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38782 * inet/getnetgrent_r.c
38783 (nscd_setnetgrent): New function, broken out of ...
38784 (setnetgrent): ... here. Call it.
38785 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38786 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38787 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38788 * nscd/Makefile (routines, aux): Move definitions after include of
38789 Makeconfig. Conditionalize on [$(use-nscd) != no].
38790 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38791 Conditionalize on [USE_NSCD].
38792 (is_nscd, nscd_init_cb): Likewise.
38793 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38794 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38795 * nss/nss_db/db-init.c: Likewise.
38796 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38798 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38799 (make_request): Use it.
38800 (cache_valid_p): New function.
38801 (__check_pf): Use it.
38802 * NEWS: Add item for --disable-nscd.
38804 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38806 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38807 to support sed >= 4.2.1-20-ga9bf076.
38808 * configure: Regenerated.
38810 2012-08-22 Roland McGrath <roland@hack.frob.com>
38812 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38813 Conditionalize whole body on [IREL].
38815 2012-08-22 Jeff Law <law@redhat.com>
38818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38819 if the family is PF_UNSPEC.
38821 2012-08-22 Mike Frysinger <vapier@gentoo.org>
38823 * Makerules (lib-version): Rename from V.
38824 (install-lib-nosubdir): Change V to lib-version.
38826 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38829 * powerpc32/power6/wcschr.c: New file.
38830 * powerpc32/power6/wcscpy.c: New file.
38831 * powerpc32/power6/wcsrchr.c: New file.
38832 * powerpc64/power6/wcschr.c: New file.
38833 * powerpc64/power6/wcscpy.c: New file.
38834 * powerpc64/power6/wcsrchr.c: New file.
38836 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38838 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38839 (two_way_short_needle): Use it.
38840 * string/strstr.c (AVAILABLE1_USES_J): Define.
38841 * string/strcasestr.c: Likewise.
38843 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38845 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38848 * NEWS: Add an entry.
38849 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38850 define their defaults.
38851 (two_way_short_needle): Detect end-of-string on-the-fly.
38852 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38853 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38854 * string/bug-strcasestr1.c: New test.
38855 * string/Makefile: Run it.
38857 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38860 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38861 the first character.
38863 2012-08-21 Roland McGrath <roland@hack.frob.com>
38865 * csu/elf-init.c (__libc_csu_irel): Function removed.
38866 * csu/libc-start.c (apply_irel): New function.
38867 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38869 2012-08-21 Joseph Myers <joseph@codesourcery.com>
38871 * sysdeps/unix/sysv/linux/kernel-features.h
38872 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38873 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38874 <kernel-features.h>.
38875 [__NR_fadvise64_64]: Make code unconditional.
38876 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38877 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38878 !__NR_fadvise64_64)]: Likewise.
38879 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38880 !__NR_fadvise64_64))]: Likewise.
38881 [__NR_fadvise64]: Make code unconditional.
38882 [!__NR_fadvise64]: Remove conditional code.
38883 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38884 <kernel-features.h>.
38885 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38887 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38890 not include <kernel-features.h>.
38891 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38893 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38895 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38896 include <kernel-features.h>.
38897 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38899 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38902 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38904 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38905 slight instruction rearrangements per scrollpipe analysis.
38906 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38908 2012-08-20 Roland McGrath <roland@hack.frob.com>
38910 * manual/syslog.texi (syslog; vsyslog, closelog):
38911 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38912 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38914 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38915 DSOCAPS to match condition on defining it.
38917 2012-08-20 Joseph Myers <joseph@codesourcery.com>
38919 * sysdeps/unix/sysv/linux/kernel-features.h
38920 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38922 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38923 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38925 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38926 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38928 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38929 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38931 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38932 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38934 * sysdeps/unix/sysv/linux/kernel-features.h
38935 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38936 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38938 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38939 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38940 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38941 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38942 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38943 Make code unconditional.
38944 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38945 (__mmap64) [!__NR_mmap2]: Likewise.
38946 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38947 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38948 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38949 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38950 [__NR_mmap2]: Make code unconditional.
38951 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38952 (__mmap64) [!__NR_mmap2]: Likewise.
38954 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38956 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38958 2012-08-18 Andreas Jaeger <aj@suse.de>
38960 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38962 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38964 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38965 * include/unistd.h (__have_sock_cloexec): Likewise.
38966 (__have_pipe2): Likewise.
38967 (__have_dup3): Likewise.
38969 2012-08-18 Mike Frysinger <vapier@gentoo.org>
38972 * include/unistd.h (__have_pipe2): Change define into an extern int.
38973 (__have_dup3): Likewise.
38974 * socket/have_sock_cloexec.c: Include fcntl.h.
38975 (__have_pipe2): New variable.
38976 (__have_dup3): Likewise.
38978 2012-08-17 Mike Frysinger <vapier@gentoo.org>
38980 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38982 2012-08-17 Marek Polacek <polacek@redhat.com>
38984 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38985 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38987 2012-08-17 Roland McGrath <roland@hack.frob.com>
38989 * configure.in: Add AC_SUBST for sysheaders.
38990 * configure: Regenerated.
38991 * config.make.in (sysheaders): New substituted variable.
38993 * sysdeps/unix/mkfifo.c: Moved ...
38994 * sysdeps/posix/mkfifo.c: ... here.
38995 * sysdeps/unix/mkfifoat.c: Moved ...
38996 * sysdeps/posix/mkfifoat.c: ... here.
38998 * sysdeps/unix/utime.c: Moved ...
38999 * sysdeps/posix/utime.c: ... here.
39001 * sysdeps/unix/time.c: Moved ...
39002 * sysdeps/posix/time.c: ... here.
39003 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39004 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39006 * sysdeps/unix/nice.c: Moved ...
39007 * sysdeps/posix/nice.c: ... here.
39009 * sysdeps/unix/alarm.c: Moved ...
39010 * sysdeps/posix/alarm.c: ... here.
39012 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39014 2012-08-17 Jeff Law <law@redhat.com>
39016 * intl/Makefile (codeset_mo): New variable.
39017 ($(codeset_mo)): New target.
39018 (tst-codeset.out): Depend on that. Remove explicit rule.
39019 (tst-gettext3.out, tst-gettext5.out): Likewise.
39020 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39021 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39022 * intl/tst-codeset.sh: Remove.
39023 * intl/tst-gettext3.sh: Likewise.
39024 * intl/tst-gettext5.sh: Likewise.
39026 2012-08-17 Roland McGrath <roland@hack.frob.com>
39028 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39029 * sysdeps/unix/syscalls.list: ... here.
39031 * sysdeps/posix/getaddrinfo.c
39032 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39033 (gaiconf_init, gaiconf_reload): Use them.
39034 [!_STATBUF_ST_NSEC]
39035 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39036 Define using time_t rather than struct timespec.
39038 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39039 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39041 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39043 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39044 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39047 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39048 __libc_cleanup_push argument.
39050 * bits/param.h: New file.
39051 * misc/sys/param.h: New file.
39052 * include/sys/param.h: New file.
39053 * misc/Makefile (headers): Add bits/param.h.
39054 * sysdeps/generic/sys/param.h: File removed.
39055 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39056 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39057 * sysdeps/mach/hurd/bits/param.h: New file.
39058 * sysdeps/mach/hurd/sys/param.h: File removed.
39060 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39063 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39065 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39066 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39069 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39070 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39071 rather than -D_IO_MTSAFE_IO conditionally.
39072 * stdio-common/Makefile (CPPFLAGS): Likewise.
39073 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39074 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39075 Use $(libio-mtsafe).
39076 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39077 of -D_IO_MTSAFE_IO.
39078 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39079 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39080 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39081 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39082 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39083 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39084 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39085 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39086 (CFLAGS-fread_u_chk.c): Likewise.
39087 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39088 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39089 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39090 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39091 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39092 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39093 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39094 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39095 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39097 * libio/Makefile: Test [$(libc-reentrant) = yes]
39098 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39101 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39102 * sysdeps/pthread/configure: File removed.
39103 * sysdeps/pthread/Makeconfig: New file.
39104 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39105 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39107 2012-08-16 Gary Benson <gbenson@redhat.com>
39109 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39110 unmapping the first object in a namespace.
39112 2012-08-16 Roland McGrath <roland@hack.frob.com>
39114 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39115 (__internal_setnetgrent): ... this. Add internal_function to
39116 definition. Add libc_hidden_def.
39117 (setnetgrent): Update caller.
39118 (internal_endnetgrent): Renamed to ...
39119 (__internal_endnetgrent): ... this. Add internal_function to
39120 definition. Add libc_hidden_def.
39121 (endnetgrent): Update caller.
39122 (internal_getnetgrent_r): Renamed to ...
39123 (__internal_getnetgrent_r): ... this. Add internal_function to
39124 definition. Add libc_hidden_def.
39125 (__getnetgrent_r): Update caller.
39126 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39128 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39130 * stdlib/longlong.h: Update from GCC.
39132 2012-08-16 Roland McGrath <roland@hack.frob.com>
39134 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39135 on _QL, which is set by umul_ppmm but never used.
39136 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39137 variables, which are set by GMP macros but never used.
39138 * stdio-common/_itowa.c (_itowa): Likewise.
39139 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39140 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39142 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39144 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39145 struct La_sh_regs is not constant.
39146 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39147 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39148 and struct La_sparc64_regs are not constant.
39150 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39152 * sysdeps/unix/sysv/linux/kernel-features.h
39153 (__ASSUME_POSIX_TIMERS): Remove.
39154 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39155 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39156 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39157 Make code unconditional.
39158 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39159 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39160 Make code unconditional.
39161 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39162 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39163 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39164 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39165 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39166 Make code unconditional.
39167 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39168 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39169 (__libc_missing_posix_timers): Remove.
39171 2012-08-15 Roland McGrath <roland@hack.frob.com>
39173 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39174 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39176 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39178 * elf/dl-sym.c: Include <stdlib.h>.
39180 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39181 constants, which avoids warnings in 32-bit builds.
39183 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39184 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39186 * misc/lseek.c: File moved to ...
39187 * io/lseek.c: ... here.
39189 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39191 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39192 shifting LEN more than 31 bits at once.
39194 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39197 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39198 segmentation fault for a case of two empty input strings.
39199 * string/test-strncasecmp.c (check1): Renamed to...
39200 (bz12205): ...this.
39201 (bz14195): Add new testcase for two empty input strings and N > 0.
39202 (test_main): Call new testcase, adapt for renamed function.
39204 2012-08-15 Andreas Jaeger <aj@suse.de>
39207 * crypt/md5test2.c: New test, based on test supplied by Serge
39208 Belyshev <belyshev@depni.sinp.msu.ru>.
39209 * crypt/Makefile (xtests): Add md5test-giant..
39210 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39212 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39215 * crypt/md5.c (md5_process_block): Don't assume the buffer
39216 length is less than 2**32.
39217 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39218 length is less than 2**64.
39220 2012-08-15 Roland McGrath <roland@hack.frob.com>
39222 * string/str-two-way.h: Include <sys/param.h>.
39223 (MAX): Macro removed.
39225 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39226 Move #define and #undef of memmove to just before and after
39227 including <string.h>.
39229 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39230 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39231 and after including <string.h>. Move declarations of
39232 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39233 to before #include "string/memmove.c".
39235 * include/dirent.h: Declare __getdirentries.
39237 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39238 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39240 2012-08-14 Mike Frysinger <vapier@gentoo.org>
39242 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39243 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39244 * sysdeps/i386/configure: Regenerated.
39245 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39246 STABS_CURRENT_FILE, and STABS_FUN.
39247 (END): Remove call to STABS_FUN_END.
39248 (STABS_CURRENT_FILE1): Delete.
39249 (STABS_CURRENT_FILE): Likewise.
39250 (STABS_FUN): Likewise.
39251 (STABS_FUN_END): Likewise.
39252 (STABS_FUN2): Likewise.
39253 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39254 * sysdeps/x86_64/configure: Regenerated.
39256 2012-08-14 Roland McGrath <roland@hack.frob.com>
39258 * elf/dl-open.c: Include <atomic.h>.
39259 * elf/dl-lookup.c: Likewise.
39261 2012-08-14 Joseph Myers <joseph@codesourcery.com>
39263 * sysdeps/unix/sysv/linux/kernel-features.h
39264 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39265 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39267 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39269 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39270 condition on __ASSUME_CLONE_THREAD_FLAGS.
39272 2012-08-14 Andreas Jaeger <aj@suse.de>
39274 * sysdeps/i386/fpu/libm-test-ulps: Update.
39276 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39278 * include/atomic.h (atomic_exchange_and_add): Split into ...
39279 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39282 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39286 2012-08-13 Jeff Law <law@redhat.com>
39288 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39289 null byte in the output string.
39291 2012-08-10 Joseph Myers <joseph@codesourcery.com>
39293 * sysdeps/unix/sysv/linux/kernel-features.h
39294 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39295 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39296 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39297 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39298 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39299 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39300 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39302 2012-08-09 Jeff Law <law@redhat.com>
39305 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39306 When avoid_arena is set, don't retry in the that arena. Pick the
39307 next one, whatever it might be.
39308 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39309 (arena_lock): Pass in new parameter to arena_get2.
39310 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39312 (__libc_malloc): Unify retrying after main arena failure with
39313 __libc_memalign version.
39314 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39316 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39319 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39320 to __redirect_strstr.
39321 (__strstr_sse42): Use typeof __redirect_strstr.
39322 (__strstr_ia32): Likewise.
39323 (__libc_strstr): New prototype.
39324 (strstr): Renamed to ...
39325 (__libc_strstr): This.
39326 (strstr): New strong alias of __libc_strstr.
39327 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39328 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39331 (__libc_time): New prototype.
39332 (time_ifunc): Replace time with __libc_time.
39333 (time): New strong alias and hidden definition of __libc_time.
39334 (__GI_time): Remove strong alias.
39335 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39336 Include <stddef.h>.
39337 (memmove): Redefined to __redirect_memmove.
39338 (__memmove_sse2): Use typeof __redirect_memmove.
39339 (__memmove_ssse3): Likewise.
39340 (__memmove_ssse3_back): Likewise.
39341 (__libc_memmove): New prototype.
39342 (memmove): Renamed to ...
39343 (__libc_memmove): This.
39344 (memmove): New strong alias of __libc_memmove.
39346 2012-08-08 Mark Salter <msalter@redhat.com>
39349 (R_MN10300_TLS_GD): Define.
39350 (R_MN10300_TLS_LD): Likewise.
39351 (R_MN10300_TLS_LDO): Likewise.
39352 (R_MN10300_TLS_GOTIE): Likewise.
39353 (R_MN10300_TLS_IE): Likewise.
39354 (R_MN10300_TLS_LE): Likewise.
39355 (R_MN10300_TLS_DTPMOD): Likewise.
39356 (R_MN10300_TLS_DTPOFF): Likewise.
39357 (R_MN10300_TLS_TPOFF): Likewise.
39358 (R_MN10300_SYM_DIFF): Likewise.
39359 (R_MN10300_ALIGN): Likewise.
39360 (R_MN10300_NUM): Update.
39362 2012-08-08 Joseph Myers <joseph@codesourcery.com>
39364 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39367 2012-08-08 Roland McGrath <roland@hack.frob.com>
39369 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39371 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39372 sysdeps/unix -> sysdeps/posix move.
39373 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39375 2012-08-07 Allan McRae <allan@archlinux.org>
39378 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39379 (SUNOS_CPP): Likewise.
39380 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39382 (open_input): Call CPP using execvp.
39384 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39386 * sysdeps/unix/sysv/linux/kernel-features.h
39387 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39388 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39389 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39390 (__ASSUME_WAITID_SYSCALL): Likewise.
39391 * sysdeps/unix/sysv/linux/dl-execstack.c
39392 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39393 code unconditional.
39394 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39396 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39397 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39398 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39400 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39402 [__ASSUME_WAITID_SYSCALL]: Likewise.
39403 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39405 2012-08-07 Roland McGrath <roland@hack.frob.com>
39407 * sysdeps/unix/closedir.c: Renamed to ...
39408 * sysdeps/posix/closedir.c: ... here.
39409 * sysdeps/unix/dirfd.c: Renamed to ...
39410 * sysdeps/posix/dirfd.c: ... here.
39411 * sysdeps/unix/dirstream.h: Renamed to ...
39412 * sysdeps/posix/dirstream.h: ... here.
39413 * sysdeps/unix/fdopendir.c: Renamed to ...
39414 * sysdeps/posix/fdopendir.c: ... here.
39415 * sysdeps/unix/opendir.c: Renamed to ...
39416 * sysdeps/posix/opendir.c: ... here.
39417 * sysdeps/unix/readdir.c: Renamed to ...
39418 * sysdeps/posix/readdir.c: ... here.
39419 * sysdeps/unix/readdir_r.c: Renamed to ...
39420 * sysdeps/posix/readdir_r.c: ... here.
39421 * sysdeps/unix/rewinddir.c: Renamed to ...
39422 * sysdeps/posix/rewinddir.c: ... here.
39423 * sysdeps/unix/seekdir.c: Renamed to ...
39424 * sysdeps/posix/seekdir.c: ... here.
39425 * sysdeps/unix/telldir.c: Renamed to ...
39426 * sysdeps/posix/telldir.c: ... here.
39427 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39428 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39429 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39430 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39432 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39433 * bits/fcntl.h: ... here.
39435 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39437 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39438 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39439 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39440 (struct flock): Move l_start, l_len to the beginning.
39441 Use __pid_t for l_pid.
39442 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39443 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39444 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39445 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39446 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39447 [__USE_LARGEFILE64] (struct flock64): New type.
39448 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39450 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39451 * bits/dirent.h: ... here.
39453 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39454 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39456 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39458 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39459 Change from 2.6.0 to 2.6.16.
39460 * sysdeps/unix/sysv/linux/configure: Regenerated.
39461 * sysdeps/unix/sysv/linux/kernel-features.h
39462 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39463 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39465 (__ASSUME_UTIMES): Likewise.
39466 (__ASSUME_CLONE_STOPPED): Remove.
39467 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39468 architectures, not kernel version.
39469 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39470 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39471 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39472 (__ASSUME_WAITID_SYSCALL): Likewise.
39473 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39474 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39475 * README: State 2.6.16 as minimum Linux kernel version. Do not
39476 refer to older versions.
39478 2012-08-06 Roland McGrath <roland@hack.frob.com>
39480 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39481 Define alphasort64 as an alias.
39482 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39483 Define versionsort64 as an alias.
39484 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39485 Define scandir64 as an alias.
39486 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39487 Define scandirat64 as an alias.
39488 * dirent/alphasort64.c (alphasort64):
39489 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39490 * dirent/versionsort64.c: Likewise.
39491 * dirent/scandir64.c: Likewise.
39492 * dirent/scandirat64.c: Likewise.
39493 * sysdeps/wordsize-64/alphasort.c: File removed.
39494 * sysdeps/wordsize-64/alphasort64.c: File removed.
39495 * sysdeps/wordsize-64/scandir.c: File removed.
39496 * sysdeps/wordsize-64/scandir64.c: File removed.
39497 * sysdeps/wordsize-64/scandirat.c: File removed.
39498 * sysdeps/wordsize-64/scandirat64.c: File removed.
39499 * sysdeps/wordsize-64/versionsort.c: File removed.
39500 * sysdeps/wordsize-64/versionsort64.c: File removed.
39501 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39502 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39503 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39504 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39505 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39506 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39507 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39508 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39510 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39511 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39512 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39513 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39514 [defined __arch64__ || defined __sparcv9]
39515 (__INO_T_MATCHES_INO64_T): New macro.
39516 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39517 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39518 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39519 * sysdeps/unix/sysv/linux/bits/dirent.h
39520 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39521 (_DIRENT_MATCHES_DIRENT64): New macro.
39523 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39524 Define lockf64 as an alias.
39525 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39526 Define fseeko64 as an alias.
39527 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39528 Define ftello64 as an alias.
39529 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39530 Define _IO_fgetpos64 and fgetpos64 as aliases.
39531 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39532 Define _IO_fsetpos64 and fsetpos64 as aliases.
39533 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39534 Conditionalize body on this.
39535 * libio/fseeko64.c: Likewise.
39536 * libio/ftello64.c: Likewise.
39537 * libio/iofgetpos64.c: Likewise.
39538 * libio/iofsetpos64.c: Likewise.
39539 * sysdeps/wordsize-64/lockf.c: File removed.
39540 * sysdeps/wordsize-64/lockf64.c: File removed.
39541 * sysdeps/wordsize-64/fseeko.c: File removed.
39542 * sysdeps/wordsize-64/fseeko64.c: File removed.
39543 * sysdeps/wordsize-64/ftello.c: File removed.
39544 * sysdeps/wordsize-64/ftello64.c: File removed.
39545 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39546 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39547 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39548 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39549 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39550 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39551 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39552 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39553 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39554 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39555 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39556 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39557 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39558 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39560 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39561 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39562 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39563 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39564 [defined __arch64__ || defined __sparcv9]
39565 (__OFF_T_MATCHES_OFF64_T): New macro.
39566 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39567 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39568 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39569 (__OFF_T_MATCHES_OFF64_T): New macro.
39571 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39573 * stdlib/secure-getenv.c (__secure_getenv): Replace
39574 GLIBC_2_16 with GLIBC_2_17.
39576 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39578 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39579 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39581 2012-08-03 David S. Miller <davem@davemloft.net>
39583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39585 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39587 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39589 (__ASSUME_CORRECT_SI_PID): Likewise.
39590 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39591 (__ASSUME_TMPFS_NAME): Likewise.
39592 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39593 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39594 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39595 (HAVE_AUX_SECURE): Make definition unconditional.
39596 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39597 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39599 2012-08-03 Roland McGrath <roland@hack.frob.com>
39601 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39602 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39603 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39604 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39605 __eloop_threshold instead of SYMLOOP_MAX.
39607 * sysdeps/generic/eloop-threshold.h: New file.
39608 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39610 * elf/chroot_canon.c (chroot_canon): Likewise.
39612 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39615 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39616 Change to 2.6.0 everywhere.
39617 * sysdeps/unix/sysv/linux/configure: Regenerated.
39618 * sysdeps/unix/sysv/linux/kernel-features.h
39619 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39620 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39622 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39623 (__ASSUME_FUTEX_REQUEUE): Remove.
39624 (__ASSUME_STATFS64): Define unconditionally.
39625 (__ASSUME_AT_SECURE): Likewise.
39626 (__ASSUME_CORRECT_SI_PID): Likewise.
39627 (__ASSUME_TGKILL): Define without depending on kernel version for
39629 (__ASSUME_UTIMES): Likewise.
39630 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39632 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39633 (__ASSUME_TMPFS_NAME): Likewise.
39634 * README: Update reference to Linux kernel versions.
39636 2012-08-02 Marek Polacek <polacek@redhat.com>
39639 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39640 libc_cv_asm_type_prefix with %.
39641 * configure: Regenerated.
39642 * include/libc-symbols.h: Remove comment about
39643 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39644 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39645 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39646 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39647 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39648 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39649 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39650 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39651 * elf/tst-unique2mod1.c: Likewise.
39652 * elf/tst-unique1mod2.c: Likewise.
39653 * elf/tst-unique1mod1.c: Likewise.
39654 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39655 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39656 Replace ASM_TYPE_DIRECTIVE with .type.
39657 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39658 * sysdeps/i386/sysdep.h: Likewise.
39659 * sysdeps/x86_64/sysdep.h: Likewise.
39660 * sysdeps/sh/sysdep.h: Likewise.
39661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39662 Do not define ASM_TYPE_DIRECTIVE.
39663 * sysdeps/powerpc/sysdep.h: Likewise.
39664 * sysdeps/powerpc/powerpc32/sysdep.h:
39665 Replace ASM_TYPE_DIRECTIVE with .type.
39666 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39667 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39668 * sysdeps/i386/fpu/e_powf.S: Likewise.
39669 * sysdeps/i386/fpu/e_expl.S: Likewise.
39670 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39671 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39672 * sysdeps/i386/fpu/e_pow.S: Likewise.
39673 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39674 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39675 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39676 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39677 * sysdeps/i386/fpu/e_log2.S: Likewise.
39678 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39679 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39680 * sysdeps/i386/fpu/e_powl.S: Likewise.
39681 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39682 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39683 * sysdeps/i386/fpu/e_logl.S: Likewise.
39684 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39685 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39686 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39687 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39688 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39689 * sysdeps/i386/fpu/e_log.S: Likewise.
39690 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39691 * sysdeps/i386/fpu/e_logf.S: Likewise.
39692 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39693 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39694 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39695 * sysdeps/i386/fpu/e_log10.S: Likewise.
39696 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39697 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39698 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39699 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39700 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39701 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39702 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39703 * sysdeps/i386/i686/strtok.S: Likewise.
39704 * sysdeps/i386/i386-mcount.S: Likewise.
39705 * sysdeps/i386/strtok.S: Likewise.
39706 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39707 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39708 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39709 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39710 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39711 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39712 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39713 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39714 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39715 * sysdeps/x86_64/_mcount.S: Likewise.
39716 * sysdeps/x86_64/strtok.S: Likewise.
39717 * sysdeps/sh/_mcount.S: Likewise.
39719 2012-08-01 Roland McGrath <roland@hack.frob.com>
39721 * libio/iofopen.c: Include <fcntl.h>.
39722 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39723 (_IO_fopen64, fopen64): Define as aliases.
39724 * libio/iofopen64.c: Include <fcntl.h>.
39725 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39726 Conditionalize body on this.
39727 * sysdeps/wordsize-64/iofopen.c: File removed.
39728 * sysdeps/wordsize-64/iofopen64.c: File removed.
39730 2012-08-01 Marek Polacek <polacek@redhat.com>
39732 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39733 Use dlfcn directly instead of a variable.
39734 (binfmt-subdir): Do not define.
39737 2012-08-01 Joseph Myers <joseph@codesourcery.com>
39739 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39740 Remove all definitions.
39741 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39742 <kernel-features.h>.
39743 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39744 (miss_F_GETOWN_EX): Remove all definitions.
39745 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39747 [!__ASSUME_FCNTL64]: Remove conditional code.
39748 [__ASSUME_FCNTL64]: Make code unconditional.
39749 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39750 <kernel-features.h>.
39751 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39752 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39753 (lockf64) [__NR_fcntl64]: Make code unconditional.
39754 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39756 * sysdeps/unix/sysv/linux/kernel-features.h
39757 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39758 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39759 Make code unconditional.
39760 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39761 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39763 [__NR_vfork]: Make code unconditional.
39764 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39765 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39767 [__NR_vfork]: Make code unconditional.
39768 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39769 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39771 2012-08-01 Roland McGrath <roland@hack.frob.com>
39773 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39774 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39776 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39777 Define mkstemp64 as an alias.
39778 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39779 Define mkstemps64 as an alias.
39780 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39781 Define mkostemp64 as an alias.
39782 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39783 Define mkostemps64 as an alias.
39784 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39785 Conditionalize body on this.
39786 * misc/mkostemp64.c: Likewise.
39787 * misc/mkostemps64.c: Likewise.
39788 * misc/mkstemps64.c: Likewise.
39789 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39790 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39791 * sysdeps/wordsize-64/mkostemp.c: File removed.
39792 * sysdeps/wordsize-64/mkstemp.c: File removed.
39793 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39794 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39795 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39796 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39799 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39800 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39801 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39802 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39804 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39805 compat_symbol macros from <shlib-compat.h> rather than the underlying
39806 default_symbol_version and symbol_version macros, so that DEFAULT
39807 lines in shlib-versions are respected.
39808 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39810 2012-08-01 Florian Weimer <fweimer@redhat.com>
39812 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39813 Declare with warn_unused_result.
39814 (setgid, setregid, setegid, setresgid): Likewise.
39815 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39817 * WUR-REPORT: Remove set*id functions.
39819 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39821 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39823 2012-07-31 Roland McGrath <roland@hack.frob.com>
39826 * include/sys/socket.h (__libc_accept, __libc_accept4):
39827 Add attribute_hidden.
39828 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39830 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39832 * inet/getnetgrent_r.c (setup): Likewise.
39834 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39836 2012-07-31 David S. Miller <davem@davemloft.net>
39838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39840 2012-07-31 Joseph Myers <joseph@codesourcery.com>
39843 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39844 value between 1.0 and 2.0 and smaller part has absolute value less
39846 * math/s_clog10.c (__clog10): Likewise.
39847 * math/s_clog10f.c (__clog10f): Likewise.
39848 * math/s_clog10l.c (__clog10l): Likewise.
39849 * math/s_clogf.c (__clogf): Likewise.
39850 * math/s_clogl.c (__clogl): Likewise.
39851 * math/libm-test.inc (clog_test): Add more tests.
39852 (clog10_test): Likewise.
39853 * sysdeps/i386/fpu/libm-test-ulps: Update.
39854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39856 2012-07-31 Florian Weimer <fweimer@redhat.com>
39858 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39859 Exit with zero in case no suitable GID is found, and write a
39860 message to standard error.
39862 2012-07-30 Roland McGrath <roland@hack.frob.com>
39864 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39866 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39867 (MAXPATHLEN): Removed.
39868 (NOGROUP, NODEV): New macros.
39869 (setbit, clrbit, isset, isclr): New macros.
39870 (howmany, roundup, powerof2): New macros.
39871 (DEV_BSIZE): New macro.
39873 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39874 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39876 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39877 definition on [!__NO_LONG_DOUBLE_MATH].
39879 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39880 PTR_MANGLE and PTR_DEMANGLE.
39882 * socket/accept4.c (accept4): Rename to __libc_accept4.
39883 Define accept4 as a weak alias.
39885 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39886 on [_DIRENT_HAVE_D_TYPE].
39887 * io/ftw.c (ftw_dir): Likewise.
39889 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39891 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39893 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39894 Use the BSD numbers rather than the arbitrary ones we had.
39895 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39896 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39897 (SIGXCPU, SIGXFSZ): New macros.
39900 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39901 initializer on [_LIBC_REENTRANT].
39903 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39904 definitions inside [_POSIX_MAPPED_FILES].
39906 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39908 * dirent/opendir.c: Include <fcntl.h>.
39910 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39911 (__libc_getspecific): Likewise.
39912 (__libc_key_create): Likewise.
39914 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39915 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39916 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39917 (tmpfile64): Define as alias.
39918 * sysdeps/wordsize-64/tmpfile.c: File removed.
39919 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39920 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39921 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39923 * stdio-common/vfscanf.c: Include <stdbool.h>.
39924 * nss/makedb.c: Likewise.
39925 * stdio-common/_i18n_number.h: Likewise.
39926 * argp/argp-help.c: Likewise.
39927 * posix/wordexp.c: Likewise.
39928 * sysdeps/posix/spawni.c: Likewise.
39929 * nss/nss_files/files-initgroups.c: Likewise.
39930 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39931 * nss/nss_files/files-initgroups.c: Likewise.
39932 * nss/nss_db/db-netgrp.c: Likewise.
39933 * nss/nss_db/db-initgroups.c: Likewise.
39934 * io/fchmodat.c: Include <sys/stat.h>.
39936 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39937 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39939 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39942 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39943 Add multiple inclusion protection.
39945 2012-07-27 David S. Miller <davem@davemloft.net>
39947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39949 2012-07-27 Gary Benson <gbenson@redhat.com>
39952 * elf/rtld.c: Include <stap-probe.h>.
39953 (dl_main): Added static probes "init_start" and "init_complete".
39954 * elf/dl-load.c: Include <stap-probe.h>.
39955 (lose): Take new parameter "nsid".
39956 Added static probe "map_failed".
39957 (_dl_map_object_from_fd): Pass namespace id to lose.
39958 Added static probe "map_start".
39959 (open_verify): Pass namespace id to lose.
39960 * elf/dl-open.c: Include <stap-probe.h>.
39961 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39962 and "reloc_complete".
39963 * elf/dl-close.c: Include <stap-probe.h>.
39964 (_dl_close_worker): Added static probes "unmap_start" and
39966 * elf/rtld-debugger-interface.txt: New file documenting the above.
39968 2012-07-26 Roland McGrath <roland@hack.frob.com>
39970 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39971 rather than a string variable.
39972 * sunrpc/rpc_main.c (h_output): Likewise.
39973 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39975 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39977 * inet/check_native.c: New file.
39979 2012-07-26 Joseph Myers <joseph@codesourcery.com>
39982 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39983 if larger part has absolute value 1.0.
39984 * math/s_clog10.c (__clog10): Likewise.
39985 * math/s_clog10f.c (__clog10f): Likewise.
39986 * math/s_clog10l.c (__clog10l): Likewise.
39987 * math/s_clogf.c (__clogf): Likewise.
39988 * math/s_clogl.c (__clogl): Likewise.
39989 * math/libm-test.inc (clog_test): Add more tests.
39990 (clog10_test): Likewise.
39991 * sysdeps/i386/fpu/libm-test-ulps: Update.
39992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39994 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39995 (pltexit): Likewise.
39996 (La_regs): Likewise.
39997 (La_retval): Likewise.
39998 (int_retval): Likewise.
39999 Update #error for removed macros to refer only to definitions in
40001 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40003 (pltexit): Likewise.
40004 (La_regs): Likewise.
40005 (La_retval): Likewise.
40006 (int_retval): Likewise.
40007 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40009 (pltexit): Likewise.
40010 (La_regs): Likewise.
40011 (La_retval): Likewise.
40012 (int_retval): Likewise.
40013 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40015 (pltexit): Likewise.
40016 (La_regs): Likewise.
40017 (La_retval): Likewise.
40018 (int_retval): Likewise.
40019 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40021 (pltexit): Likewise.
40022 (La_regs): Likewise.
40023 (La_retval): Likewise.
40024 (int_retval): Likewise.
40025 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40027 (pltexit): Likewise.
40028 (La_regs): Likewise.
40029 (La_retval): Likewise.
40030 (int_retval): Likewise.
40031 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40033 (pltexit): Likewise.
40034 (La_regs): Likewise.
40035 (La_retval): Likewise.
40036 (int_retval): Likewise.
40037 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40038 macro definitions in tst-audit.h.
40039 * sysdeps/i386/tst-audit.h: New file.
40040 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40041 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40042 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40043 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40044 * sysdeps/sh/tst-audit.h: Likewise.
40045 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40046 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40047 * sysdeps/x86_64/tst-audit.h: Likewise.
40049 2012-07-26 Andreas Jaeger <aj@suse.de>
40051 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40054 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40055 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40056 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40058 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40059 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40060 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40062 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40065 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40067 (si_call_addr, si_syscall, si_arch): Define new macro.
40068 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40070 (si_call_addr, si_syscall, si_arch): Define new marcro.
40071 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40073 (si_call_addr, si_syscall, si_arch): Define new macro.
40074 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40076 (si_call_addr, si_syscall, si_arch): Define new macro.
40078 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40081 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40082 Change to 2.4.21 where previously 2.4.1.
40083 * sysdeps/unix/sysv/linux/configure: Regenerated.
40084 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40085 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40086 Linux kernel version.
40087 (__ASSUME_STD_AUXV): Remove.
40088 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40090 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40091 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40092 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40093 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40094 (__ASSUME_NETLINK_SUPPORT): Likewise.
40095 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40096 (__no_netlink_support): Remove conditional definition.
40097 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40099 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40100 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40101 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40102 (if_nameindex_ioctl): Remove.
40103 (if_nameindex_netlink): Do not handle __no_netlink_support.
40104 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40106 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40107 Remove conditional code.
40108 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40110 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40112 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40113 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40114 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40116 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40117 [!__ASSUME_STD_AUXV]: Remove conditional code.
40118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40119 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40120 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40122 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40123 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40125 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40127 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40128 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40130 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40132 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40135 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40138 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40139 code unconditional.
40140 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40142 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40144 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40147 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40149 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40152 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40153 code unconditional.
40154 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40156 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40158 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40161 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40162 code unconditional.
40163 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40165 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40167 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40170 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40172 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40173 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40174 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40175 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40176 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40177 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40178 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40179 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40180 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40181 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40182 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40183 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40184 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40185 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40186 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40187 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40188 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40189 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40190 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40191 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40192 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40193 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40194 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40196 2012-07-25 Florian Weimer <fweimer@redhat.com>
40198 * Versions.def: Add GLIBC_2.17.
40199 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40200 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40201 Introduce __libc_secure_getenv.
40202 * stdlib/Versions (2.17): Add secure_getenv
40203 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40204 * stdlib/secure-getenv.c: Rename __secure_getenv to
40205 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40206 symbol __secure_getenv for GLIBC_2.0.
40207 * stdlib/tst-secure-getenv.c: New.
40208 * stdlib/Makefile (tests): Add testcase.
40209 * manual/startup.texi (Environment Access): Document
40211 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40212 __libc_secure_getenv.
40213 * inet/ruserpass.c (ruserpass): Likewise.
40214 * malloc/mtrace.c (mtrace): Likewise.
40215 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40216 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40217 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40218 * sysdeps/posix/tempname.c: Likewise. Evaluate
40219 HAVE_SECURE_GETENV.
40220 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40221 __secure_getenv to __libc_secure_getenv.
40222 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40229 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40235 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40237 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40238 (struct La_i86_retval): Likewise.
40239 (struct La_x86_64_regs): Likewise.
40240 (struct La_x86_64_retval): Likewise.
40241 (struct La_x32_regs): Likewise.
40242 (struct La_x32_retval): Likewise.
40243 (struct La_ppc32_regs): Likewise.
40244 (struct La_ppc32_retval): Likewise.
40245 (struct La_ppc64_regs): Likewise.
40246 (struct La_ppc64_retval): Likewise.
40247 (struct La_sh_regs): Likewise.
40248 (struct La_sh_retval): Likewise.
40249 (struct La_s390_32_regs): Likewise.
40250 (struct La_s390_32_retval): Likewise.
40251 (struct La_s390_64_regs): Likewise.
40252 (struct La_s390_64_retval): Likewise.
40253 (struct La_sparc32_regs): Likewise.
40254 (struct La_sparc32_retval): Likewise.
40255 (struct La_sparc64_regs): Likewise.
40256 (struct La_sparc64_retval): Likewise.
40257 (struct audit_ifaces): Remove architecture-specific pltenter and
40259 * sysdeps/i386/ldsodefs.h: New file.
40260 * sysdeps/powerpc/ldsodefs.h: Likewise.
40261 * sysdeps/s390/ldsodefs.h: Likewise.
40262 * sysdeps/sh/ldsodefs.h: Likewise.
40263 * sysdeps/sparc/ldsodefs.h: Likewise.
40264 * sysdeps/x86_64/ldsodefs.h: Likewise.
40266 2012-07-25 Marek Polacek <polacek@redhat.com>
40269 * math/libm-test.inc (yn_test): Add another test.
40270 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40271 to ERANGE when the result is +-Inf.
40272 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40273 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40274 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40275 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40277 2012-07-24 Joseph Myers <joseph@codesourcery.com>
40279 * conform/data/time.h-data (NULL): Use macro-constant. Require
40281 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40283 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40285 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40287 * configure.in <sysdeps resolving>: Correct printing
40289 * configure: Regenerate.
40291 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40293 * math/w_ilogb.c: Include <limits.h>.
40294 * math/w_ilogbl.c: Likewise.
40296 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40298 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40299 va_copy. Document allowing for unavailable va_copy only as
40300 pre-C99 compatibility.
40301 * manual/string.texi (Copying and Concatenation): Use va_copy
40302 instead of __va_copy in concat example.
40304 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40306 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40307 (__sendto): Use create_address_port. Initialize APORT and deallocate
40310 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40311 with O_NOLINK passed to __file_name_lookup.
40313 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40314 with O_NOLINK passed to __file_name_lookup.
40316 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40317 negative N or less than NGIDS.
40319 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40320 type to string_t. Set ERANGE as errno and return it if NAME is not big
40321 enough. Use memcpy instead of strncpy.
40323 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40325 * elf/Makefile (check-data): Remove.
40326 (localplt.data): New vpath directive.
40327 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40328 instead of $(check-data).
40329 * scripts/data/localplt-generic.data: Move to ...
40330 * sysdeps/generic/localplt.data: ... here.
40331 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40332 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40333 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40336 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40339 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40342 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40345 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40348 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40352 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40354 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40355 PPC32 and PPC64 files.
40356 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40357 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40359 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40361 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40362 __makecontext_ret to ...
40363 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40364 ... here and call exit if uc_link is NULL. New file.
40365 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40366 __makecontext_ret.S.
40367 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40368 __makecontext_ret to ...
40369 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40370 ... here and call exit if uc_link is NULL. New file.
40371 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40372 __makecontext_ret.S.
40374 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40376 * elf/elf.h (R_390_IRELATIVE): New definition.
40377 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40378 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40379 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40380 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40381 (elf_machine_lazy_rel): Likewise.
40382 * sysdeps/s390/dl-irel.h: New file.
40383 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40384 * sysdeps/s390/s390-64/memset.S: New asm code.
40385 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40386 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40387 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40388 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40389 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40390 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40391 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40392 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40393 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40394 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40395 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40396 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40397 * sysdeps/s390/s390-32/memset.S: New asm code.
40398 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40400 2012-07-17 Marek Polacek <polacek@redhat.com>
40403 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40404 * sysdeps/s390/s390-64/configure.in: Likewise.
40405 * sysdeps/sparc/configure.in: Likewise.
40406 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40407 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40408 * sysdeps/i386/configure.in: Likewise.
40409 * sysdeps/x86_64/configure.in: Likewise.
40410 * sysdeps/sh/configure.in: Likewise.
40411 * sysdeps/s390/s390-32/configure: Regenerated.
40412 * sysdeps/s390/s390-64/configure: Likewise.
40413 * sysdeps/x86_64/configure: Likewise.
40414 * sysdeps/sh/configure: Likewise.
40415 * sysdeps/powerpc/powerpc64/configure: Likewise.
40416 * sysdeps/powerpc/powerpc32/configure: Likewise.
40417 * sysdeps/sparc/configure: Likwise.
40418 * sysdeps/i386/configure: Likewise.
40420 * elf/dl-open.c: Comment fixes.
40422 2012-07-17 Joseph Myers <joseph@codesourcery.com>
40424 * Makefile [CXX] (check-data): Remove.
40425 [CXX] (c++-types.data): New vpath directive.
40426 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40427 vpath. Do not allow for C++ type data being missing.
40428 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40429 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40430 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40431 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40432 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40433 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40434 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40437 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40440 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40443 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40446 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40449 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40452 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40455 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40458 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40459 definitions to architecture-specific files.
40460 (TLS_IE): Likewise.
40461 (TLS_LD): Likewise.
40462 (TLS_GD): Likewise.
40463 * sysdeps/i386/tls-macros.h: New file.
40464 * sysdeps/powerpc/tls-macros.h: Likewise.
40465 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40466 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40467 * sysdeps/sh/tls-macros.h: Likewise.
40468 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40469 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40470 * sysdeps/x86_64/tls-macros.h: Likewise.
40472 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40474 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40475 zero value for regular exit case.
40477 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40478 (__start_context): Preserve zero value for regular exit case.
40480 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40481 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40483 * manual/setjmp.texi (setcontext): Clarify normal process
40484 termination when uc_link is the null pointer.
40485 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40488 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40490 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40491 preprocessor. Test for each exception mask separately.
40493 2012-07-16 Andreas Jaeger <aj@suse.de>
40495 * po/ru.po: Update from translation team.
40497 2012-07-15 Joseph Myers <joseph@codesourcery.com>
40499 * conform/data/string.h-data (NULL): Use macro-constant. Require
40501 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40502 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40503 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40504 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40505 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40507 2012-07-13 Andreas Jaeger <aj@suse.de>
40509 * po/fr.po: Update from translation team.
40511 2012-07-12 Marek Polacek <polacek@redhat.com>
40514 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40515 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40518 2012-07-12 Joseph Myers <joseph@codesourcery.com>
40521 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40522 Change to 2.4.1 where previously 2.4.0.
40523 * sysdeps/unix/sysv/linux/configure: Regenerated.
40524 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40525 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40527 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40528 (__ASSUME_AT_CLKTCK): Remove.
40529 (__ASSUME_AT_PAGESIZE): Likewise.
40530 (__ASSUME_AT_XID): Likewise.
40531 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40532 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40533 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40535 (HAVE_AUX_PAGESIZE): Likewise.
40536 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40537 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40538 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40540 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40544 the temporary buffer used to invoke __gethostbyname2_r,
40545 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40546 host_data / struct gaih_addrtuple.
40547 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40548 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40549 header file nss/nsswitch.h.
40550 * nss/nsswitch.h (global scope): Add definition of implementation
40551 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40552 resolv/nss_dns/dns-host.c).
40554 2012-07-11 Andreas Jaeger <aj@suse.de>
40556 * po/fr.po: Update from translation team.
40558 * po/sv.po: Update from translation team
40559 * po/fr.po: Another update from translation team.
40561 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40563 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40564 for subnormals or multiply small sinh result by itself.
40565 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40568 2012-07-11 David S. Miller <davem@davemloft.net>
40570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40572 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40575 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40576 (INTERNAL_MARK): Shift it here.
40578 2012-07-10 Marek Polacek <polacek@redhat.com>
40581 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40582 libc_cv_asm_global_directive with .globl.
40583 * configure: Regenerated.
40584 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40586 * sysdeps/i386/configure: Regenerated.
40587 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40589 * sysdeps/x86_64/configure: Regenerated.
40590 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40591 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40592 * elf/tst-unique2mod2.c: Likewise.
40593 * elf/tst-unique2mod1.c: Likewise.
40594 * elf/tst-unique1mod2.c: Likewise.
40595 * elf/tst-unique1mod1.c: Likewise.
40596 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40597 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40598 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40599 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40600 * sysdeps/mach/sysdep.h: Likewise.
40601 * sysdeps/i386/sysdep.h: Likewise.
40602 * sysdeps/i386/i386-mcount.S: Likewise.
40603 * sysdeps/x86_64/_mcount.S: Likewise.
40604 * sysdeps/x86_64/sysdep.h: Likewise.
40605 * sysdeps/sh/_mcount.S: Likewise.
40606 * sysdeps/sh/sysdep.h: Likewise.
40607 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40608 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40609 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40610 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40611 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40612 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40613 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40614 * locale/localeinfo.h: Likewise.
40615 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40616 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40618 2012-07-09 Roland McGrath <roland@hack.frob.com>
40621 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40623 * manual/message.texi (The Uniforum approach): Likewise.
40624 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40625 (glibc iconv Implementation): Likewise.
40627 2012-07-09 Joseph Myers <joseph@codesourcery.com>
40630 * math/s_clog.c (__clog): Avoid scaling a value down where that
40631 could result in underflow.
40632 * math/s_clog10.c (__clog10): Likewise.
40633 * math/s_clog10f.c (__clog10f): Likewise.
40634 * math/s_clog10l.c (__clog10l): Likewise.
40635 * math/s_clogf.c (__clogf): Likewise.
40636 * math/s_clogl.c (__clogl): Likewise.
40637 * math/libm-test.inc (clog_test): Add more tests.
40638 (clog10_test): Likewise.
40639 * sysdeps/i386/fpu/libm-test-ulps: Update.
40640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40642 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40645 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40646 by 7 not 8 to examine high bit of fractional part.
40649 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40650 for call to __mcount_internal.
40651 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40652 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40653 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40655 2012-07-06 Joseph Myers <joseph@codesourcery.com>
40658 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40659 approximation for values within 0x1p-13f of an odd multiple of
40661 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40662 exception. Add more tests.
40663 * sysdeps/i386/fpu/libm-test-ulps: Update.
40666 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40667 inputs and return -1 for them. Do not check for +Inf in case not
40668 reachable for +Inf.
40669 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40670 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40671 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40672 and return -1 for them. Do not check for +Inf in case not
40673 reachable for +Inf.
40674 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40676 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40677 and return -1 for them. Do not check for +Inf in case not
40678 reachable for +Inf.
40679 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40680 spurious underflow.
40681 * sysdeps/i386/fpu/libm-test-ulps: Update.
40682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40684 2012-07-06 Mike Frysinger <vapier@gentoo.org>
40686 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40688 2012-07-05 Joseph Myers <joseph@codesourcery.com>
40692 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40693 could result in spurious underflow. Scale down values above
40694 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40695 * math/s_csqrtf.c (__csqrtf): Likewise.
40696 * math/s_csqrtl.c (__csqrtl): Likewise.
40697 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40698 spurious underflow.
40699 * sysdeps/i386/fpu/libm-test-ulps: Update.
40700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40702 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40704 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40706 * catgets/xopen-msg.awk: New file.
40707 * catgets/xopen-msg.sed: Removed.
40709 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40711 * intl/po2test.awk: New file.
40712 * intl/po2test.sed: Removed.
40714 2012-07-04 Joseph Myers <joseph@codesourcery.com>
40717 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40718 or multiply small sinh result by itself.
40719 * math/s_ctanf.c (__ctanf): Likewise.
40720 * math/s_ctanh.c (__ctanh): Likewise.
40721 * math/s_ctanhf.c (__ctanhf): Likewise.
40722 * math/s_ctanhl.c (__ctanhl): Likewise.
40723 * math/s_ctanl.c (__ctanl): Likewise.
40724 * math/libm-test.inc (ctan_test_tonearest): New function.
40725 (ctan_test_towardzero): Likewise.
40726 (ctan_test_downward): Likewise.
40727 (ctan_test_upward): Likewise.
40728 (ctanh_test_tonearest): Likewise.
40729 (ctanh_test_towardzero): Likewise.
40730 (ctanh_test_downward): Likewise.
40731 (ctanh_test_upward): Likewise.
40732 (main): Call these new functions.
40733 * sysdeps/i386/fpu/libm-test-ulps: Update.
40734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40736 2012-07-03 Mike Frysinger <vapier@gentoo.org>
40738 * .gitignore: Delete /ports entry.
40740 2012-07-03 Andreas Jaeger <aj@suse.de>
40742 * po/bg.po: Update from translation team.
40743 * po/cs.po: Likewise.
40744 * po/de.po: Likewise.
40745 * po/hr.po: Likewise.
40746 * po/nl.pl: Likewise.
40747 * po/pl.po: Likewise.
40748 * po/vi.po: Likewise.
40750 2012-07-03 Joseph Myers <joseph@codesourcery.com>
40752 * Makeconfig [!+link] (+link-before-libc): New variable.
40753 [!+link] (+link-after-libc): Likewise.
40754 [!+link] (+link-tests): Likewise.
40755 [!+link] (+link): Define in terms of $(+link-before-libc) and
40756 $(+link-after-libc).
40757 [!+link-static] (+link-static-before-libc): New variable.
40758 [!+link-static] (+link-static-after-libc): Likewise.
40759 [!+link-static] (+link-static-tests): Likewise.
40760 [!+link-static] (+link-static): Define in terms of
40761 $(+link-static-before-libc) and $(+link-static-after-libc).
40762 [build-shared] (link-libc-before-gnulib): New variable.
40763 [build-shared] (link-libc-tests): Likewise.
40764 [build-shared] (link-libc): Define in terms of
40765 $(link-libc-before-gnulib).
40766 [!build-shared] (link-libc-tests): New variable.
40767 (link-libc-static-tests): New variable.
40768 [!gnulib] (gnulib-arch): New variable.
40769 [!gnulib] (gnulib-tests): Likewise.
40770 [!gnulib] (static-gnulib-arch): Likewise.
40771 [!gnulib] (static-gnulib-tests): Likewise.
40772 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40773 Define with "=" instead of ":=".
40774 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40775 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40776 * Rules (binaries-all-notests): New variable.
40777 (binaries-all-tests): Likewise.
40778 (binaries-static-notests): Likewise.
40779 (binaries-static-tests): Likewise.
40780 (binaries-all): Define using $(binaries-all-notests) and
40781 $(binaries-all-tests).
40782 (binaries-static): Define using $(binaries-static-notests) and
40783 $(binaries-static-tests).
40784 (binaries-shared-tests): New variable.
40785 (binaries-shared-notests): Likewise.
40786 (binaries-shared): Remove variable.
40787 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40788 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40789 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40790 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40791 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40792 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40793 * elf/Makefile (sln-modules): New variable.
40794 (extra-objs): Add $(sln-modules:=.o).
40795 (ldconfig-modules): Add static-stubs.
40796 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40797 * elf/static-stubs.c: New file.
40800 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40801 by 7 not 8 to examine high bit of fractional part. Use volatile
40802 variables when splitting into final array of floats if
40803 __FLT_EVAL_METHOD__ != 0.
40804 * math/libm-test.inc (cos_test): Add another test.
40805 (sin_test): Likewise.
40806 * sysdeps/i386/fpu/libm-test-ulps: Update.
40809 * math/libm-test.inc (cosh_test): Add more tests.
40811 * version.h (RELEASE): Set to "development".
40812 (VERSION): Set to "2.16.90".
40814 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40816 * NEWS: Update copyright. Remove last-updated date.
40817 Mention math library bug fixes and timezone data changes.
40818 * README: Mention GNU/Hurd, x32, and HPPA support status.
40820 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40822 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40824 2012-06-27 Andreas Jaeger <aj@suse.de>
40826 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40828 2012-06-25 Andreas Jaeger <aj@suse.de>
40830 * sysdeps/s390/fpu/libm-test-ulps: Update.
40832 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40833 Thomas Schwinge <thomas@codesourcery.com>
40835 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40836 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40837 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40840 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40842 * sysdeps/mach/start.c: Remove file.
40843 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40844 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40845 * sysdeps/sh/init-first.c: Likewise.
40847 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40848 registers for frame unwinding purposes, add CFI directives.
40849 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40850 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40851 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40854 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40855 __fortify_fail returning.
40856 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40858 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40859 sysdeps/sh/____longjmp_chk.S.
40860 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40861 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40862 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40863 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40865 * sysdeps/sh/abort-instr.h: New file.
40866 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40867 process in case exit returns.
40869 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40870 initialize the GOT register before use.
40872 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40873 calculation of ARGC > 4.
40875 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40876 meaningful names to some local labels.
40878 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40879 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40881 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40882 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40883 (__arch_compare_and_exchange_val_16_acq): Likewise.
40884 (__arch_compare_and_exchange_val_32_acq): Likewise.
40885 (atomic_exchange_and_add): Fix gUSA sequence.
40886 (atomic_add): Likewise.
40887 (atomic_add_negative): Likewise.
40888 (atomic_add_zero): Likewise.
40889 (atomic_bit_test_set): Likewise.
40891 2012-06-22 Andreas Schwab <schwab@redhat.com>
40894 * include/link.h (struct link_map): Add l_free_initfini.
40895 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40897 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40898 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40899 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40902 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40904 * configure.in: Use AC_LANG_SOURCE.
40905 * configure: Regenerate.
40907 2012-06-22 Roland McGrath <roland@hack.frob.com>
40909 * configure.in (libc_cv_localstatedir): New substituted variable.
40910 * configure: Regenerated.
40911 * config.make.in (localstatedir): New variable, substituted from
40912 libc_cv_localstatedir.
40913 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40914 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40915 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40916 * sysdeps/gnu/configure: Regenerated.
40918 2012-06-21 Jeff Law <law@redhat.com>
40921 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40922 free. Simplify list management for _LIBC case.
40924 2012-06-21 Joseph Myers <joseph@codesourcery.com>
40927 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40928 Clear sign bit of 64-bit integer value before comparing against
40931 * sysdeps/mach/configure: Regenerated.
40933 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40936 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40938 2012-06-21 Jeff Law <law@redhat.com>
40941 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40942 uint16_t for elements in the "seen" array to avoid char overflows.
40943 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40944 * elf/dl-open.c (dl_open_worker): Likewise.
40946 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40948 * scripts/list-sources.sh: Scan PORTS for translations.
40949 * po/libc.pot: Regenerated.
40951 2012-06-21 Andreas Jaeger <aj@suse.de>
40954 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40956 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40957 * bits/byteswap-16.h (__bswap_16): Likewise.
40958 * bits/byteswap.h (__bswap_constant_16): Likewise.
40960 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40963 * sysdeps/i386/fpu_control.h: Removed.
40964 * sysdeps/x86_64/fpu_control.h: Moved to ...
40965 * sysdeps/x86/fpu_control.h: Here.
40967 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40968 (_FPU_SETCW): Likewise.
40970 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40973 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40974 * sysdeps/x86/fpu/bits/mathinline.h: This.
40975 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40979 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40980 functions if __x86_64__ is defined.
40982 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40984 * string/endian.h: Add !__ASSEMBLER__ condition for including
40985 conversion interfaces.
40987 2012-06-15 Joseph Myers <joseph@codesourcery.com>
40990 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40991 of ABS(x) in calculating zero to negative powers other than odd
40993 * math/libm-test.inc (pow_test): Add more tests.
40995 2012-06-15 Andreas Jaeger <aj@suse.de>
40997 * manual/contrib.texi (Contributors): Update entry of Liubov
40998 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41001 2012-06-15 Cyril Hrubis <metan@ucw.cz>
41003 * string/string.h: Add __wur to GNU version of strerror_r.
41005 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41008 * string/Makefile (tests): Add tst-strtok_r.
41009 * string/tst-strtok_r.c: New file.
41010 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41011 RAX_LP/RDX_LP on SAVE_PTR.
41013 2012-06-14 Roland McGrath <roland@hack.frob.com>
41015 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41017 2012-06-14 Joseph Myers <joseph@codesourcery.com>
41019 * libm_test.inc (csqrt_test): Allow more spurious underflow
41021 (j0_test): Likewise.
41022 (j1_test): Likewise.
41023 (y0_test): Likewise.
41024 (y1_test): Likewise.
41026 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41028 * po/Makefile (libc.pot): Use UTF-8 charset.
41030 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41033 Suppress sign-conversion warning from FD_SET.
41034 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41035 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41036 not unsigned long int.
41037 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41039 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41043 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41044 __extern_always_inline instead of __extern_inline.
41045 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41046 (__signbit): Likewise.
41047 (__signbitl): Support C++ namespace.
41048 (lrintf): New inline function.
41050 (llrintf): Likewise.
41051 (llrint): Likewise.
41061 (floorf): Likewise.
41062 (nearbyint): Likewise.
41063 (nearbyintf): Likewise.
41065 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41067 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41068 non-default versions.
41070 2012-06-11 Roland McGrath <roland@hack.frob.com>
41073 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41075 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41077 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41078 (FE_UPWARD, FE_DOWNWARD): Don't define.
41079 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41080 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41082 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41084 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41085 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41087 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41089 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41090 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41091 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41092 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41094 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41097 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41098 * sysdeps/i386/fpu/Implies: New file.
41099 * sysdeps/x86_64/fpu/Implies: Likewise.
41100 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41101 * sysdeps/x86/fpu/bits/fenv.h: This.
41103 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41106 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41109 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41110 character 0xffff that matches the last element of the
41113 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41115 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41118 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41120 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41121 values higher than 25.6283.
41123 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41125 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41126 subnormal exponent extraction and add some __builtin_expect.
41127 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41128 Fix for subnormal mantissa calculation.
41130 2012-06-04 Mike Frysinger <vapier@gentoo.org>
41132 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41133 cpu2 is -1 and errno is not ENOSYS.
41135 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41138 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41139 * sysdeps/x86/bits/string.h: This.
41140 * sysdeps/x86_64/bits/string.h: Removed.
41142 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41143 if not compiling for x86-64, but compiling for >= i486.
41145 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41146 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41148 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41149 New macro from Linux kernel 3.4.0.
41150 (FP_XSTATE_MAGIC2): Likewise.
41151 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41152 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41153 (struct _fpx_sw_bytes): New struct.
41154 (struct _xsave_hdr): Likewise.
41155 (struct _ymmh_state): Likewise.
41156 (struct _xstate): Likewise.
41158 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41159 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41160 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41161 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41162 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41163 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41165 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41166 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41167 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41168 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41169 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41170 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41172 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41175 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41176 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41177 (sysdep_headers): Include sys/platform/ppc.h.
41178 * sysdeps/powerpc/test-gettimebase.c: Test for
41179 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41180 * manual/Makefile (appendices): Include platform.texi.
41181 * manual/contrib.texi (Contributors): Update @node pointers.
41182 * manual/maint.texi (Maintenance): Likewise.
41183 (Platform): New node.
41184 * manual/platform.texi: New file. Document the new features.
41186 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41187 Jakub Jelinek <jakub@redhat.com>
41190 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41191 where __builtin_expect is unavailable.
41193 2012-06-03 David S. Miller <davem@davemloft.net>
41195 * stdlib/longlong.h: Updated from GCC.
41197 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41200 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41201 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41204 (GLIBC_2.16): Likewise.
41206 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41208 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41210 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41213 (default-abi): New variable.
41214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41215 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41217 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41219 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41221 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41224 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41225 definition. Document in comment.
41227 2012-06-01 David S. Miller <davem@davemloft.net>
41229 * stdlib/longlong.h: Updated from GCC.
41231 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41234 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41235 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41236 sys/debugreg.h sys/io.h here.
41237 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41238 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41240 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41241 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41242 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41243 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41244 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41245 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41247 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41248 Define only if __x86_64__ is defined.
41250 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41253 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41254 Use int64_t for variable i.
41255 * math/libm-test.inc (fmod_test): Add more tests.
41257 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41258 z computation is not scheduled after fetestexcept.
41259 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41260 Use math_force_eval instead of asm to ensure calculation scheduled
41261 before exception test.
41262 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41263 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41265 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41268 computation is not scheduled after fetestexcept.
41270 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41273 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41274 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41276 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41278 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41279 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41281 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41284 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41286 (__WCHAR_MIN): Support __WORDSIZE == 64.
41287 (__WCHAR_MAX): Likewise.
41289 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41290 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41293 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41294 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41297 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41298 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41300 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41301 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41303 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41304 Defined to 1 if __x86_64__ isn't defined.
41305 (_STAT_VER_LINUX_OLD): New.
41306 (st_atime): Remove duplicate.
41307 (st_mtime): Likewise.
41308 (st_ctime): Likewise.
41310 2012-05-31 David S. Miller <davem@davemloft.net>
41312 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41315 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41317 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41321 * elf/dl-reloc.c: Include <_itoa.h>.
41322 (_dl_reloc_bad_type): Remove use of INTUSE.
41323 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41324 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41325 * stdio-common/psiginfo.c (psiginfo): Likewise.
41326 * stdio-common/psignal.c (psignal): Likewise.
41327 * string/strsignal.c (strsignal): Likewise.
41328 * include/signal.h (_sys_siglist): Declare hidden proto.
41329 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41330 INTVARDEF with libc_hidden_data_def.
41331 * stdio-common/itoa-udigits.c: Likewise.
41332 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41333 (_itoa_lower_digits_internal): Remove declaration.
41334 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41335 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41336 (_sys_sigabbrev_internal): Remove aliases.
41337 (_sys_siglist): Define hidden alias.
41339 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41344 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41347 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41348 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41350 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41351 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41352 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41353 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41354 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41355 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41357 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41358 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41359 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41361 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41369 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41370 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41371 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41373 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41374 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41375 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41376 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41377 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41378 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41380 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41381 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41383 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41384 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41386 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41387 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41388 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41390 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41391 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41393 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41395 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41396 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41397 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41399 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41401 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41403 2012-05-31 Joseph Myers <joseph@codesourcery.com>
41405 * math/math.h (M_El): Use two more decimal places.
41406 (M_LOG2El): Likewise.
41407 (M_LOG10El): Likewise.
41408 (M_LN2l): Likewise.
41409 (M_LN10l): Likewise.
41411 (M_PI_2l): Likewise.
41412 (M_PI_4l): Likewise.
41413 (M_1_PIl): Likewise.
41414 (M_2_PIl): Likewise.
41415 (M_2_SQRTPIl): Likewise.
41416 (M_SQRT2l): Likewise.
41417 (M_SQRT1_2l): Likewise.
41419 2012-05-31 David S. Miller <davem@davemloft.net>
41421 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41422 values between float registers.
41423 * sysdeps/sparc/sparc64/memset.S: Likewise.
41424 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41426 2012-05-31 Mike Frysinger <vapier@gentoo.org>
41428 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41429 -D_FORTIFY_SOURCE=1.
41430 (CPPFLAGS-tst-longjmp_chk.c): Define.
41431 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41432 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41433 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41434 CFLAGS-tst-wchar-h.c.
41436 2012-05-31 Marek Polacek <polacek@redhat.com>
41439 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41440 __endmntent_internal): Remove declaration.
41441 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41442 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41443 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41445 2012-05-30 David S. Miller <davem@davemloft.net>
41447 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41448 (___Q_simulate_exceptions): Use real FP ops rather than writing
41450 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41453 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41456 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41457 * sysdeps/x86/bits/xtitypes.h: This.
41459 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41460 * sysdeps/x86/bits/wordsize.h: This.
41462 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41463 * sysdeps/x86/bits/huge_vall.h: This.
41465 * sysdeps/i386/bits/select.h: Removed.
41466 * sysdeps/x86_64/bits/select.h: Renamed to ...
41467 * sysdeps/x86/bits/select.h: This.
41469 * sysdeps/i386/bits/setjmp.h: Removed.
41470 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41471 * sysdeps/x86/bits/setjmp.h: This.
41473 * sysdeps/i386/bits/mathdef.h: Removed.
41474 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41475 * sysdeps/x86/bits/mathdef.h: This.
41477 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41480 * include/sys/socket.h (__connect_internal)
41481 (__libc_sa_len_internal): Remove declaration.
41482 (__connect, __libc_sa_len): Declare hidden_proto.
41483 (SA_LEN): Remove use of INTUSE.
41484 * socket/connect.c: Add libc_hidden_def.
41485 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41486 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41487 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41489 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41490 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41491 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41492 of adding _internal alias.
41494 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41497 * sysdeps/i386/bits/link.h: Removed.
41498 * sysdeps/i386/bits/linkmap.h: Likewise.
41499 * sysdeps/x86_64/bits/link.h: Renamed to ...
41500 * sysdeps/x86/bits/link.h: This.
41501 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41502 * sysdeps/x86/bits/linkmap.h: This.
41504 * sysdeps/i386/bits/endian.h: Removed.
41505 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41506 * sysdeps/x86/bits/endian.h: This.
41508 * sysdeps/i386/bits/byteswap.h: Removed.
41509 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41510 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41511 * sysdeps/x86/bits/byteswap.h: This.
41512 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41513 * sysdeps/x86/bits/byteswap-16.h: This.
41514 * sysdeps/i386/Implies: Add x86.
41515 * sysdeps/x86_64/Implies: Likewise.
41517 2012-05-30 David S. Miller <davem@davemloft.net>
41519 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41520 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41521 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41522 (FP_TRAPPING_EXCEPTIONS): Define.
41523 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41524 (FP_TRAPPING_EXCEPTIONS): Define.
41525 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41526 subnormals only when inexact has been signalled or underflow
41527 exceptions are enabled.
41528 (_FP_PACK_CANONICAL): Likewise.
41530 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41533 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41534 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41536 2012-05-30 Richard Henderson <rth@twiddle.net>
41538 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41539 with #ifndef NOT_IN_libc.
41541 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41542 marked to avoid plt entry.
41544 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41547 * Makeconfig (default-abi): New macro.
41548 (abi-includes): Likewise.
41549 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41550 $(abi-$(default-abi)-lib-soname) for soname if defined.
41551 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41553 * Makefile (installed-stubs): Likewise.
41554 * include/stubs-biarch.h: Removed.
41555 * scripts/lib-names.awk: Only handle one library at a time.
41556 * scripts/soversions.awk: Remove WORDSIZE support.
41557 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41559 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41561 (syscall-list-default-condition): Likewise.
41562 (syscall-list-default-condition): Likewise.
41563 (syscall-list-includes): Likewise.
41564 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41565 syscall-list-* with abi-*. Handle undefined abi-variants.
41566 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41567 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41568 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41569 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41570 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41571 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41573 (syscall-list-32-options): Likewise.
41574 (syscall-list-32-condition): Likewise.
41575 (syscall-list-64-options): Likewise.
41576 (syscall-list-64-condition): Likewise.
41577 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41579 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41582 (abi-64-ld-soname): New macro.
41583 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41584 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41587 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41588 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41590 2012-05-30 Joseph Myers <joseph@codesourcery.com>
41592 * sysdeps/unix/sysv/linux/kernel-features.h
41593 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41594 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41595 include <kernel-features.h>.
41596 [!__NR_ftruncate64]: Remove conditional code.
41597 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41598 [__NR_ftruncate64]: Make code unconditional.
41599 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41600 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41601 include <kernel-features.h>.
41602 [!__NR_ftruncate64]: Remove conditional code.
41603 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41604 [__NR_ftruncate64]: Make code unconditional.
41605 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41607 include <kernel-features.h>.
41608 [!__NR_ftruncate64]: Remove conditional code.
41609 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41610 [__NR_ftruncate64]: Make code unconditional.
41611 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41613 include <kernel-features.h>.
41614 [!__NR_ftruncate64]: Remove conditional code.
41615 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41616 [__NR_ftruncate64]: Make code unconditional.
41617 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41619 * configure.in (libc_cv_fpie): Weaken to a compile test using
41620 LIBC_TRY_CC_OPTION.
41621 * configure: Regenerated.
41623 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41638 2012-05-27 David S. Miller <davem@davemloft.net>
41640 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41642 (__Q_simulate_exceptions): Return void. Change to simulate
41643 exceptions by writing into the %fsr.
41644 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41645 (__Qp_handle_exceptions): Likewise.
41647 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41648 __Qp_handle_exceptions.
41649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41650 __Qp_handle_exceptions.
41651 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41652 as unused and give dummy FP_RND_NEAREST initializer.
41653 (FP_INHIBIT_RESULTS): Define.
41654 (___Q_simulate_exceptions): Update declaration.
41655 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41657 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41658 as unused and give dummy FP_RND_NEAREST initializer.
41659 (__Qp_handle_exceptions): Update declaration.
41660 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41663 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41665 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41666 the temporary FPU control word.
41667 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41668 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41669 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41670 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41671 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41672 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41673 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41674 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41675 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41676 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41677 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41679 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41681 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41684 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41686 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41687 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41688 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41689 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41691 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41692 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41695 2012-05-27 Ulrich Drepper <drepper@gmail.com>
41697 * po/h.po: Update from translation team.
41699 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41701 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41703 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41704 handling of denormals.
41705 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41706 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41707 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41708 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41709 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41710 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41711 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41714 2012-05-26 Marek Polacek <polacek@redhat.com>
41717 * math/libm-test.inc (fma_test): Don't always expect underflow
41720 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41723 * elf/tst-execstack.c: Include stackinfo.h.
41724 (do_test): Adjust test case to ensure that pthread_getattr_np
41725 behaviour remains the same after marking stack executable.
41727 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41729 * sysdeps/unix/sysv/linux/kernel-features.h
41730 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41731 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41733 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41734 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41735 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41737 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41738 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41740 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41742 * configure.in: Define the default includes to being none.
41743 * configure: Regenerated.
41745 2012-05-25 Roland McGrath <roland@hack.frob.com>
41747 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41748 * sysdeps/x86_64/setjmp.S: Likewise.
41749 * sysdeps/i386/bsd-setjmp.S: Likewise.
41750 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41751 * sysdeps/i386/setjmp.S: Likewise.
41752 * sysdeps/i386/__longjmp.S: Likewise.
41753 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41754 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41756 * include/stap-probe.h: New file.
41757 * configure.in: Handle --enable-systemtap.
41758 * configure: Regenerated.
41759 * config.h.in (USE_STAP_PROBE): New #undef.
41760 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41761 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41762 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41764 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41767 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41768 to 2.4.0 where earlier.
41769 * sysdeps/unix/sysv/linux/configure: Regenerated.
41770 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41771 <kernel-features.h>.
41772 [__ASSUME_32BITUIDS]: Make code unconditional.
41773 [!__ASSUME_32BITUIDS]: Remove conditional code.
41774 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41775 <kernel-features.h>.
41776 [__ASSUME_32BITUIDS]: Make code unconditional.
41777 [!__ASSUME_32BITUIDS]: Remove conditional code.
41778 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41779 [__ASSUME_32BITUIDS]: Make code unconditional.
41780 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41781 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41782 <kernel-features.h>.
41783 [__ASSUME_32BITUIDS]: Make code unconditional.
41784 [!__ASSUME_32BITUIDS]: Remove conditional code.
41785 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41786 <kernel-features.h>.
41787 [__ASSUME_32BITUIDS]: Make code unconditional.
41788 [!__ASSUME_32BITUIDS]: Remove conditional code.
41789 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41790 <kernel-features.h>.
41791 [__ASSUME_32BITUIDS]: Make code unconditional.
41792 [!__ASSUME_32BITUIDS]: Remove conditional code.
41793 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41794 <kernel-features.h>.
41795 [__ASSUME_32BITUIDS]: Make code unconditional.
41796 [!__ASSUME_32BITUIDS]: Remove conditional code.
41797 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41798 <kernel-features.h>.
41799 [__ASSUME_32BITUIDS]: Make code unconditional.
41800 [!__ASSUME_32BITUIDS]: Remove conditional code.
41801 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41802 <kernel-features.h>.
41803 [__ASSUME_32BITUIDS]: Make code unconditional.
41804 [!__ASSUME_32BITUIDS]: Remove conditional code.
41805 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41806 <kernel-features.h>.
41807 [__ASSUME_32BITUIDS]: Make code unconditional.
41808 [!__ASSUME_32BITUIDS]: Remove conditional code.
41809 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41810 <kernel-features.h>.
41811 [__ASSUME_32BITUIDS]: Make code unconditional.
41812 [!__ASSUME_32BITUIDS]: Remove conditional code.
41813 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41814 <kernel-features.h>.
41815 [__ASSUME_32BITUIDS]: Make code unconditional.
41816 [!__ASSUME_32BITUIDS]: Remove conditional code.
41817 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41818 <kernel-features.h>.
41819 [__ASSUME_32BITUIDS]: Make code unconditional.
41820 [!__ASSUME_32BITUIDS]: Remove conditional code.
41821 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41822 <kernel-features.h>.
41823 [__NR_setresgid] (__setresgid): Do not declare.
41824 [__ASSUME_32BITUIDS]: Make code unconditional.
41825 [!__ASSUME_32BITUIDS]: Remove conditional code.
41826 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41827 <kernel-features.h>.
41828 [__NR_setresuid] (__setresuid): Do not declare.
41829 [__ASSUME_32BITUIDS]: Make code unconditional.
41830 [!__ASSUME_32BITUIDS]: Remove conditional code.
41831 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41832 <kernel-features.h>.
41833 [__ASSUME_32BITUIDS]: Make code unconditional.
41834 [!__ASSUME_32BITUIDS]: Remove conditional code.
41835 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41836 <kernel-features.h>.
41837 [__ASSUME_32BITUIDS]: Make code unconditional.
41838 [!__ASSUME_32BITUIDS]: Remove conditional code.
41839 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41840 <kernel-features.h>.
41841 [__ASSUME_32BITUIDS]: Make code unconditional.
41842 [!__ASSUME_32BITUIDS]: Remove conditional code.
41843 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41844 <kernel-features.h>.
41845 [__ASSUME_32BITUIDS]: Make code unconditional.
41846 [!__ASSUME_32BITUIDS]: Remove conditional code.
41847 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41848 <kernel-features.h>.
41849 [__ASSUME_32BITUIDS]: Make code unconditional.
41850 [!__ASSUME_32BITUIDS]: Remove conditional code.
41851 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41852 <kernel-features.h>.
41853 [__ASSUME_32BITUIDS]: Make code unconditional.
41854 [!__ASSUME_32BITUIDS]: Remove conditional code.
41855 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41856 <kernel-features.h>.
41857 [__ASSUME_32BITUIDS]: Make code unconditional.
41858 [!__ASSUME_32BITUIDS]: Remove conditional code.
41859 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41860 <kernel-features.h>.
41861 [__ASSUME_32BITUIDS]: Make code unconditional.
41862 [!__ASSUME_32BITUIDS]: Remove conditional code.
41863 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41864 <kernel-features.h>.
41865 [__ASSUME_32BITUIDS]: Make code unconditional.
41866 [!__ASSUME_32BITUIDS]: Remove conditional code.
41867 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41868 <kernel-features.h>.
41869 [__ASSUME_32BITUIDS]: Make code unconditional.
41870 [!__ASSUME_32BITUIDS]: Remove conditional code.
41871 * sysdeps/unix/sysv/linux/kernel-features.h
41872 (__ASSUME_SETRESUID_SYSCALL): Remove.
41873 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41874 (__ASSUME_32BITUIDS): Likewise.
41875 (__ASSUME_LDT_WORKS): Likewise.
41876 (__ASSUME_O_DIRECTORY): Likewise.
41877 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41878 architecture but not kernel version.
41879 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41880 (__ASSUME_MMAP2_SYSCALL): Likewise.
41881 (__ASSUME_STAT64_SYSCALL): Likewise.
41882 (__ASSUME_IPC64): Likewise.
41883 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41884 <kernel-features.h>.
41885 [__ASSUME_32BITUIDS]: Make code unconditional.
41886 [!__ASSUME_32BITUIDS]: Remove conditional code.
41887 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41888 <kernel-features.h>.
41889 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41890 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41891 132096]: Remove conditional code.
41892 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41893 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41894 <kernel-features.h>.
41895 [__ASSUME_32BITUIDS]: Make code unconditional.
41896 [!__ASSUME_32BITUIDS]: Remove conditional code.
41897 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41898 <kernel-features.h>.
41899 [__ASSUME_32BITUIDS]: Make code unconditional.
41900 [!__ASSUME_32BITUIDS]: Remove conditional code.
41901 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41902 <kernel-features.h>.
41903 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41905 (__setresgid): Do not declare.
41906 [__ASSUME_32BITUIDS]: Make code unconditional.
41907 [!__ASSUME_32BITUIDS]: Remove conditional code.
41908 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41909 <kernel-features.h>.
41910 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41912 (__setresuid): Do not declare.
41913 [__ASSUME_32BITUIDS]: Make code unconditional.
41914 [!__ASSUME_32BITUIDS]: Remove conditional code.
41915 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41916 <kernel-features.h>.
41917 [__ASSUME_32BITUIDS]: Make code unconditional.
41918 [!__ASSUME_32BITUIDS]: Remove conditional code.
41919 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41920 <kernel-features.h>.
41921 [__ASSUME_32BITUIDS]: Make code unconditional.
41922 [!__ASSUME_32BITUIDS]: Remove conditional code.
41924 2012-05-25 Richard Henderson <rth@twiddle.net>
41926 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41927 dl_hwcap to ifunc resolver.
41928 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41930 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41931 dl_hwcap to ifunc resolver.
41932 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41934 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41937 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41938 for |x| <= 2**-26, not 2**-57.
41939 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41942 2012-05-24 Jeff Law <law@redhat.com>
41944 * stdio-common/Makefile (tests): Add bug25.
41945 * stdio-common/bug25.c: New test.
41947 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41950 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41951 multiple of MALLOC_ALIGNMENT in size.
41952 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41954 2012-05-24 Joseph Myers <joseph@codesourcery.com>
41956 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41958 (FILENAME_MAX): Use macro-int-constant.
41959 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41960 (_IOFBF): Use macro-int-constant.
41961 (_IOLBF): Likewise.
41962 (_IONBF): Likewise.
41963 (SEEK_CUR): Likewise.
41964 (SEEK_END): Likewise.
41965 (SEEK_SET): Likewise.
41966 (TMP_MAX): Likewise.
41967 (EOF): Use macro-int-constant. Require < 0.
41968 (NULL): Use macro-constant. Require == 0.
41969 (stdin): Require type to be FILE *.
41970 (stdout): Likewise.
41971 (stderr): Likewise.
41972 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41973 macro-int-constant.
41974 (EXIT_SUCCESS): Likewise.
41975 (NULL): Use macro-constant. Require == 0.
41976 (RAND_MAX): Use macro-int-constant.
41977 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41978 [C99-based standards] (strtof): Require function.
41979 [C99-based standards] (strtold): Likewise.
41980 [C99-based standards] (strtoll): Likewise.
41981 [C99-based standards] (strtoull): Likewise.
41982 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41983 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41984 [ISO || ISO99 || ISO11] (math.h): Likewise.
41985 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41986 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41987 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41989 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41992 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41993 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41994 * intl/dgettext.c (DCGETTEXT): Likewise.
41995 * intl/gettext.c (DCGETTEXT): Likewise.
41996 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41997 * posix/regex_internal.h (gettext): Likewise.
41998 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41999 Remove declaration.
42000 * include/argz.h (__argz_count_internal)
42001 (__argz_stringify_internal): Remove declaration.
42002 (__argz_count, __argz_stringify): Declare hidden proto.
42003 * intl/dcgettext.c: Remove use of INTDEF.
42004 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42005 * string/argz-stringify.c: Likewise.
42006 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42007 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42008 Declare hidden proto.
42009 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42010 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42011 Declare hidden proto.
42012 * include/stdio.h (__asprintf_internal): Don't declare.
42013 (__asprintf): Don't define as macro. Declare hidden proto.
42014 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42015 (__fsetlocking): Declare hidden proto.
42016 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42017 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42019 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42020 (_IO_setlinebuf): Remove use of INTUSE.
42021 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42022 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42023 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42024 Remove declaration.
42025 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42026 (_IO_do_flush): Remove use of INTUSE.
42027 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42028 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42029 (_IO_adjust_column, _IO_least_wmarker)
42030 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42031 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42032 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42033 (_IO_default_doallocate, _IO_wdefault_doallocate)
42034 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42035 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42036 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42037 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42038 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42039 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42040 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42041 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42042 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42043 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42044 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42045 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42046 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42048 (_IO_flush_all_internal, _IO_adjust_column_internal)
42049 (_IO_default_uflow_internal, _IO_default_finish_internal)
42050 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42051 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42052 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42053 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42054 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42055 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42056 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42057 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42058 (_IO_file_close_internal, _IO_file_close_it_internal)
42059 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42060 (_IO_file_init_internal, _IO_file_attach_internal)
42061 (_IO_file_fopen_internal, _IO_file_read_internal)
42062 (_IO_file_sync_internal, _IO_file_seek_internal)
42063 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42064 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42065 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42066 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42067 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42068 (_IO_list_all_internal, _IO_link_in_internal)
42069 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42070 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42071 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42072 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42073 (_IO_do_write_internal, _IO_padn_internal)
42074 (_IO_getline_info_internal, _IO_getline_internal)
42075 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42076 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42077 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42078 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42079 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42080 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42081 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42082 with libc_hidden_ver, remove use of INTUSE.
42083 * libio/genops.c: Likewise.
42084 * libio/freopen.c: Likewise.
42085 * libio/freopen64.c: Likewise.
42086 * libio/iofclose.c: Likewise.
42087 * libio/iofdopen.c: Likewise.
42088 * libio/iofflush.c: Likewise.
42089 * libio/iofflush_u.c: Likewise.
42090 * libio/iofgets.c: Likewise.
42091 * libio/iofgets_u.c: Likewise.
42092 * libio/iofopen.c: Likewise.
42093 * libio/iofopncook.c: Likewise.
42094 * libio/iofread.c: Likewise.
42095 * libio/iofread_u.c: Likewise.
42096 * libio/ioftell.c: Likewise.
42097 * libio/iofwrite.c: Likewise.
42098 * libio/iogetline.c: Likewise.
42099 * libio/iogets.c: Likewise.
42100 * libio/iogetwline.c: Likewise.
42101 * libio/iopadn.c: Likewise.
42102 * libio/iopopen.c: Likewise.
42103 * libio/ioseekoff.c: Likewise.
42104 * libio/ioseekpos.c: Likewise.
42105 * libio/iosetbuffer.c: Likewise.
42106 * libio/iosetvbuf.c: Likewise.
42107 * libio/ioungetc.c: Likewise.
42108 * libio/ioungetwc.c: Likewise.
42109 * libio/iovdprintf.c: Likewise.
42110 * libio/iovsprintf.c: Likewise.
42111 * libio/iovsscanf.c: Likewise.
42112 * libio/memstream.c: Likewise.
42113 * libio/obprintf.c: Likewise.
42114 * libio/oldfileops.c: Likewise.
42115 * libio/oldiofclose.c: Likewise.
42116 * libio/oldiofdopen.c: Likewise.
42117 * libio/oldiofopen.c: Likewise.
42118 * libio/oldiopopen.c: Likewise.
42119 * libio/oldstdfiles.c: Likewise.
42120 * libio/putc.c: Likewise.
42121 * libio/setbuf.c: Likewise.
42122 * libio/setlinebuf.c: Likewise.
42123 * libio/stdfiles.c: Likewise.
42124 * libio/strops.c: Likewise.
42125 * libio/vasprintf.c: Likewise.
42126 * libio/vscanf.c: Likewise.
42127 * libio/vsnprintf.c: Likewise.
42128 * libio/vswprintf.c: Likewise.
42129 * libio/wfiledoalloc.c: Likewise.
42130 * libio/wfileops.c: Likewise.
42131 * libio/wgenops.c: Likewise.
42132 * libio/wmemstream.c: Likewise.
42133 * libio/wstrops.c: Likewise.
42134 * libio/__fpurge.c: Likewise.
42135 * libio/__fsetlocking.c: Likewise.
42136 * assert/assert.c: Likewise.
42137 * debug/fgets_chk.c: Likewise.
42138 * debug/fgets_u_chk.c: Likewise.
42139 * debug/fread_chk.c: Likewise.
42140 * debug/fread_u_chk.c: Likewise.
42141 * debug/gets_chk.c: Likewise.
42142 * debug/obprintf_chk.c: Likewise.
42143 * debug/vasprintf_chk.c: Likewise.
42144 * debug/vdprintf_chk.c: Likewise.
42145 * debug/vsnprintf_chk.c: Likewise.
42146 * debug/vsprintf_chk.c: Likewise.
42147 * malloc/mtrace.c: Likewise.
42148 * misc/error.c: Likewise.
42149 * misc/syslog.c: Likewise.
42150 * stdio-common/asprintf.c: Likewise.
42151 * stdio-common/fxprintf.c: Likewise.
42152 * stdio-common/getw.c: Likewise.
42153 * stdio-common/isoc99_fscanf.c: Likewise.
42154 * stdio-common/isoc99_scanf.c: Likewise.
42155 * stdio-common/isoc99_vfscanf.c: Likewise.
42156 * stdio-common/isoc99_vscanf.c: Likewise.
42157 * stdio-common/isoc99_vsscanf.c: Likewise.
42158 * stdio-common/printf-prs.c: Likewise.
42159 * stdio-common/printf_fp.c: Likewise.
42160 * stdio-common/printf_fphex.c: Likewise.
42161 * stdio-common/printf_size.c: Likewise.
42162 * stdio-common/putw.c: Likewise.
42163 * stdio-common/scanf.c: Likewise.
42164 * stdio-common/sprintf.c: Likewise.
42165 * stdio-common/tmpfile.c: Likewise.
42166 * stdio-common/vfprintf.c: Likewise.
42167 * stdio-common/vfscanf.c: Likewise.
42168 * stdlib/strfmon_l.c: Likewise.
42169 * sunrpc/openchild.c: Likewise.
42170 * sunrpc/xdr_stdio.c: Likewise.
42171 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42172 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42174 2012-05-24 Roland McGrath <roland@hack.frob.com>
42176 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42178 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42179 in the third column, to generate for the shared library an IFUNC
42180 that uses _dl_vdso_vsym.
42181 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42182 * Makeconfig (object-suffixes-noshared): New variable.
42184 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42185 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42186 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42187 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42190 * include/sys/time.h (__gettimeofday): Remove macro.
42191 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42192 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42194 (__gettimeofday): Add libc_hidden_def.
42195 (gettimeofday): Add libc_hidden_weak.
42196 * sysdeps/mach/gettimeofday.c: Likewise.
42197 * sysdeps/posix/gettimeofday.c: Likewise.
42198 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42199 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42200 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42201 (__gettimeofday_internal): Remove strong_alias.
42202 (__gettimeofday): Add libc_hidden_def.
42203 (gettimeofday): Add libc_hidden_weak.
42204 * sysdeps/unix/syscalls.list (gettimeofday):
42205 Remove __gettimeofday_internal alias.
42207 2012-05-24 Daniel Jacobowitz <drow@false.org>
42208 H.J. Lu <hongjiu.lu@intel.com>
42211 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42212 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42213 (largebin_index_32_big): New.
42214 (largebin_index): Use it for 16-byte alignment.
42215 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42216 correction with front_misalign.
42218 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42246 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42247 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42249 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42253 * math/libm-test.inc (exp_test): Add test from bug 14036.
42254 (pow_test): Add test from bug 10846.
42256 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42258 (special_function): Do not include flags in test name.
42259 (parse_args): Likewise.
42260 * sysdeps/i386/fpu/libm-test-ulps: Update.
42261 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42262 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42263 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42266 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42268 * math/libm-test.inc ("Philosophy"): Update comment about
42270 (UNDERFLOW_EXCEPTION): New macro.
42271 (UNDERFLOW_EXCEPTION_OK): Likewise.
42272 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42273 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42274 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42275 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42276 (INVALID_EXCEPTION_OK): Update value.
42277 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42278 (OVERFLOW_EXCEPTION_OK): Likewise.
42279 (IGNORE_ZERO_INF_SIGN): Likewise.
42280 (test_exceptions): Handle underflow exceptions.
42281 (acos_test): Update for underflow exception expectations.
42282 (cexp_test): Likewise.
42283 (clog_test): Likewise.
42284 (clog10_test): Likewise.
42285 (csqrt_test): Likewise.
42286 (ctan_test): Likewise.
42287 (ctanh_test): Likewise.
42288 (exp_test): Likewise.
42289 (exp10_test): Likewise.
42290 (exp2_test): Likewise.
42291 (expm1_test): Likewise.
42292 (fma_test): Likewise.
42293 (j0_test): Likewise.
42294 (jn_test): Likewise.
42295 (nexttoward_test): Likewise.
42296 (pow_test): Likewise.
42297 (scalbn_test): Likewise.
42298 (scalbln_test): Likewise.
42299 (tan_test): Likewise.
42300 (y1_test): Likewise.
42301 * sysdeps/i386/fpu/libm-test-ulps: Update.
42302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42304 2012-05-23 David S. Miller <davem@davemloft.net>
42306 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42307 (__libc_sigaction): Remove unused local variables.
42309 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42311 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42313 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42315 mktime: avoid signed integer overflow
42316 * time/mktime.c (__mktime_internal): Do not mishandle the case
42317 where diff == INT_MIN.
42319 mktime: simplify computation of average
42320 * time/mktime.c (ranged_convert): Use new time_t_avg function
42321 instead of rolling our own (probably-slower) code.
42323 mktime: do not assume signed right shift propagates sign bit
42324 * time/mktime.c (isdst_differ): New static function.
42325 (__mktime_internal): No need to normalize tm_isdst now.
42326 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42329 mktime: merge another wrapv change from gnulib
42330 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42331 from some compilers.
42333 mktime: remove incorrect attempt at unusual arithmetics
42334 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42335 The code didn't really work on such machines anyway.
42336 (TYPE_MINIMUM): Assume two's complement.
42337 (twos_complement_arithmetic): Verify that long_int and time_t
42338 are two's complement (or unsigned, in the latter case).
42340 mktime: check signed shifts on long_int and time_t, too
42341 * time/mktime.c (SHR): Check that shifts work as desired
42342 on the types long_int and time_t too, as SHR is used on
42345 mktime: do not assume 'long' is wide enough
42346 * time/mktime.c (verify): Move decl up.
42347 (long_int): New type.
42348 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42349 to remove assumption in the code that 'long' is wide enough to
42350 store year values. This assumption is not true on x32 and on
42351 some non-glibc platforms.
42353 mktime: merge wrapv change from gnulib
42354 * time/mktime.c (WRAPV): New macro.
42355 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42356 (guess_time_tm, __mktime_internal): Do not assume that signed
42357 integer overflow wraps around; modern compilers generate code
42358 where this assumption is no longer valid.
42360 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42362 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42363 Replace "jmp L(pseudo_end)" with "ret".
42364 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42367 2012-05-23 Andreas Jaeger <aj@suse.de>
42369 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42370 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42372 2012-05-23 Andreas Jaeger <aj@suse.de>
42373 Maximilian Attems <max@stro.at>
42375 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42378 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42380 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42381 code so that pseudo_end is just ret and the stack pointer is
42382 correct also for static library in error case.
42384 2012-05-23 Joseph Myers <joseph@codesourcery.com>
42386 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42387 move to syscalls.list.
42388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42393 * manual/install.texi (Running make install): Do not mention Linux
42394 kernel version for which pt_chown is not needed.
42395 (Linux): Do not mention problems with nscd with 2.0 kernels.
42396 * INSTALL: Regenerated.
42398 2012-05-23 Andreas Jaeger <aj@suse.de>
42400 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42401 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42403 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42404 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42405 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42406 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42407 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42408 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42409 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42410 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42411 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42412 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42413 * sysdeps/unix/sysv/linux/bits/in.h
42414 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42416 2012-05-22 Roland McGrath <roland@hack.frob.com>
42418 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42419 (PREPARE_VERSION): Just use assert instead, it will be elided
42420 under [NDEBUG] anyway.
42422 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42424 * sysdeps/unix/sysv/linux/Makefile: Include
42425 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42426 (sysdep_routines): Remove sysctl.
42427 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42428 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42429 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42430 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42431 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42433 2012-05-22 Andreas Jaeger <aj@suse.de>
42435 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42436 that pseudo_end is just ret and the stack pointer is correct also
42437 for static library in error case.
42439 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42442 * nss/nsswitch.c (defconfig_entries): New variable.
42443 (__nss_database_lookup): Don't leak defconfig entries.
42444 (nss_parse_service_list): Don't leak on error paths.
42445 (free_database_entries): New function.
42446 (free_defconfig): New function.
42447 (free_mem): Move common code to free_database_entries.
42449 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42451 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42453 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42455 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42456 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42457 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42459 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42460 (INTERNAL_SYSCALL_TYPES): Likewise.
42461 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42462 (LOAD_REGS_TYPES_[1-6]): Likewise.
42463 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42464 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42466 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42468 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42469 copysignl for GLIBC_2_0.
42470 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42471 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42472 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42473 logbl for GLIBC_2_0.
42474 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42475 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42477 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42479 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42480 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42482 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42485 * time/mktime.c: Update copyright years.
42487 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42489 mktime: merge comment-quoting-style change from gnulib
42490 * time/mktime.c: Quote 'like this' in comments.
42491 The GNU coding standards suggest that we no longer quote `like this',
42492 as "`" and "'" are typically rendered asymmetrically nowadays.
42493 The typical gnulib style is to quote 'like this' when quoting
42494 code, and "like this" when quoting English.
42496 * time/mktime.c (compile-command): Add "-I.".
42498 mktime: merge mktime-internal.h change from gnulib
42499 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42501 mktime: merge time_r change from gnulib
42502 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42504 mktime: merge DEBUG change from gnulib
42505 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42506 case system <time.h> has a #define.
42508 mktime: merge <sys/types.h> change from gnulib
42509 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42510 since <time.t> is now guaranteed to define time_t.
42512 mktime: merge HAVE_CONFIG_H change from gnulib
42513 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42515 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42517 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42520 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42522 (struct rusage): Use anonymous union to pad each field to
42525 2012-05-21 David S. Miller <davem@davemloft.net>
42527 * Makefules (o-iterator): Remove .s cases.
42528 (compile-command.s): Delete.
42529 (COMPILE.s): Delete.
42530 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42532 2012-05-21 Joseph Myers <joseph@codesourcery.com>
42534 * configure.in (libc_cv_predef_stack_protector): Only consider
42535 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42536 * configure: Regenerated.
42538 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42541 New macro. Use R*LP on int and pointer.
42542 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42543 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42544 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42545 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42547 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42548 [__WORDSIZE_TIME64_COMPAT32] instead of
42549 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42550 (struct utmp): Likewise.
42551 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42552 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42554 (__WORDSIZE_TIME64_COMPAT32): This.
42555 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42556 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42557 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42558 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42559 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42560 (__WORDSIZE_TIME64_COMPAT32): New macro.
42562 2012-05-21 Andreas Jaeger <aj@suse.de>
42564 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42565 only if [SHARED]. Add prototype for __wcschr_ia32.
42567 2012-05-21 Roland McGrath <roland@hack.frob.com>
42569 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42570 of %rbp unmolested in the jmp_buf while mangling the low bits.
42571 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42572 unmolested high bits of %rbp while demangling the low bits.
42573 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42575 2012-05-21 Andreas Jaeger <aj@suse.de>
42577 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42578 * sunrpc/svc_simple.c: Use it for registerrpc.
42579 * sunrpc/xcrypt.c: Use it for passwd2des.
42581 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42583 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42585 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42586 Don't define if [__SYSCALL_WORDSIZE != 32].
42587 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42590 2012-05-21 Bruno Haible <bruno@clisp.org>
42591 Andreas Jaeger <aj@suse.de>
42593 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42594 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42595 inptr and inend for must_buffer_ch.
42596 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42597 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42598 * stdio-common/Makefile (tests): Remove bug15.
42599 (bug15-ENV): Remove macro.
42600 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42603 2012-05-19 Andreas Jaeger <aj@suse.de>
42604 Roland McGrath <roland@hack.frob.com>
42606 * manual/contrib.texi: Completely rewritten. It contains now an
42607 alphabetical list of contributors and their contributions.
42609 2012-05-21 Richard Henderson <rth@twiddle.net>
42611 * misc/getauxval.c (__getauxval): Use unsigned long int.
42612 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42613 (getauxval): Use unsigned long int.
42615 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42617 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42619 2012-05-21 Roland McGrath <roland@hack.frob.com>
42621 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42622 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42623 __alignof__ (long double).
42625 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42629 2012-05-20 Richard Henderson <rth@twiddle.net>
42631 * misc/getauxval.c: New file.
42632 * misc/sys/auxv.h: New file.
42633 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42634 (routines): Add getauxval.
42635 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42636 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42637 * elf/dl-sysdep.c (_dl_auxv): Remove.
42638 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42639 * elf/dl-support.c (_dl_auxv): New variable.
42640 (_dl_aux_init): Initialize it.
42641 * manual/startup.texi (Auxiliary Vector): New node.
42642 * sysdeps/generic/bits/hwcap.h: New file.
42643 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42644 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42645 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42646 * sysdeps/sparc/sysdep.h: ... here. Include it.
42647 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42648 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42654 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42660 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42664 2012-05-19 David S. Miller <davem@davemloft.net>
42666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42668 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42671 * math/s_ccosh.c: Include <float.h>
42672 (__ccosh): Avoid internal overflow calculating sinh and cosh
42673 values before multiplying by sin and cos values.
42674 * math/s_ccoshf.c: Likewise.
42675 * math/s_ccoshl.c: Likewise.
42676 * math/s_csin.c: Likewise.
42677 * math/s_csinf.c: Likewise.
42678 * math/s_csinl.c: Likewise.
42679 * math/s_csinh.c: Likewise.
42680 * math/s_csinhf.c: Likewise.
42681 * math/s_csinhl.c: Likewise.
42682 * math/libm-test.inc (ccos_test): Add more tests.
42683 (ccosh_test): Likewise.
42684 (csin_test): Likewise.
42685 (csinh_test): Likewise.
42686 * sysdeps/i386/fpu/libm-test-ulps: Update.
42687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42689 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42691 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42692 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42694 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42696 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42698 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42699 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42700 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42701 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42702 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42703 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42704 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42705 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42706 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42707 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42708 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42709 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42710 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42711 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42712 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42713 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42714 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42715 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42716 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42717 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42718 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42719 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42720 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42721 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42722 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42723 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42724 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42725 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42726 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42727 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42728 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42730 2012-05-18 Andreas Jaeger <aj@suse.de>
42732 * csu/.gitignore: Delete.
42734 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42736 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42737 (timex): Use __syscall_slong_t.
42739 2012-05-18 Andreas Jaeger <aj@suse.de>
42740 Carlos O'Donell <carlos_odonell@mentor.com>
42742 * manual/install.texi (Configuring and compiling): Update
42743 description about files modified in the source directory.
42744 * INSTALL: Regenerated.
42746 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42748 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42749 value. Use "or" to set return value to -1.
42750 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42751 negate return value.
42753 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42755 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42756 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42757 failure if the compiler has Graphite support disabled.
42758 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42760 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42761 (CFLAGS-memmove.c): Likewise.
42762 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42765 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42767 * sysdeps/x86_64/x32/_itoa.h: New file.
42769 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42770 getdents system call only if kernel and user dirents have the
42771 same d_ino and d_off.
42773 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42774 LLONG_MAX != LONG_MAX.
42775 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42776 (_fitoa_word): Likewise.
42778 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42780 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42781 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42782 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42784 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42785 include <bits/wordsize.h>. Check __x86_64__ instead of
42787 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42788 if __x86_64__ is defined. Use anonymous union on fpstate.
42790 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42793 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42795 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42796 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42797 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42798 Refer to _rtld_local_ro instead of _rtld_global_ro.
42799 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42801 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42803 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42805 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42806 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42807 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42809 * sysdeps/powerpc/powerpc32/dl-machine.c
42810 (__elf_machine_runtime_setup) [PROF]: Don't reference
42813 2012-05-18 Andreas Jaeger <aj@suse.de>
42815 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42816 function only available for GCCs before 3.4 since GCC 3.4
42817 introduced a builtin.
42819 (llrintf): Likewise.
42820 (llrint): Likewise.
42827 (nearbyint): Likewise.
42828 (nearbyintf): Likewise.
42832 (floorf): Likewise.
42834 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42836 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42837 on both fields and cast pointer to __syscall_ulong_t.
42839 * bits/types.h (__fsword_t): New type.
42840 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42841 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42842 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42843 (__FSWORD_T_TYPE): Likewise.
42844 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42845 (__FSWORD_T_TYPE): Likewise.
42846 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42847 (__FSWORD_T_TYPE): Likewise.
42848 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42849 (__FSWORD_T_TYPE): Likewise.
42850 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42851 __SWORD_TYPE with __fsword_t.
42852 (statfs64): Likewise.
42854 2012-05-17 David S. Miller <davem@davemloft.net>
42856 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42858 2012-05-17 Andreas Jaeger <aj@suse.de>
42860 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42863 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42865 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42867 2012-05-17 Andreas Jaeger <aj@suse.de>
42869 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42872 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42874 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42876 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42878 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42879 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42881 2012-05-17 Andreas Jaeger <aj@suse.de>
42882 Carlos O'Donell <carlos_odonell@mentor.com>
42885 * sysdeps/x86_64/multiarch/init-arch.h
42886 (bit_YMM_Usable): Rename to...
42887 (bit_AVX_Usable): ... this.
42888 (bit_FMA4_Usable): New macro.
42889 (bit_XMM_state): New macro.
42890 (bit_YMM_state): New macro.
42891 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42892 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42893 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42894 (CPUID_OSXSAVE): New macro.
42895 (CPUID_AVX): New macro.
42896 (CPUID_FMA4): New macro.
42897 (index_YMM_Usable): Rename to...
42898 (index_AVX_Usable): ... this.
42899 (HAS_AVX): Use HAS_ARCH_FEATURE.
42900 (HAS_FMA4): Likewise.
42901 (HAS_YMM_USABLE): Remove.
42902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42903 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42905 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42906 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42907 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42908 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42909 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42911 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42913 * math/libm-test.c: Support platforms without multiple rounding modes.
42914 * math/bug-nextafter.c: Support platforms without FP exceptions.
42915 * math/bug-nexttoward.c: Likewise.
42916 * math/test-fenv.c: Likewise.
42917 * math/test-misc.c: Likewise.
42918 * stdlib/bug-getcontext.c: Likewise.
42920 2012-05-17 Andreas Jaeger <aj@suse.de>
42922 * manual/examples/search.c (critter_cmp): Change signature to
42924 * manual/string.texi (Collation Functions): Likewise.
42926 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42928 * bits/types.h: Fold copyright years.
42929 * bits/typesizes.h: Likewise.
42930 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42931 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42932 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42933 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42934 * time/time.h: Likewise.
42936 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42939 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42940 in instead of returning them. Return void.
42941 (__libc_mallinfo): Accumulate over all arenas.
42942 (__malloc_stats): Adjust for change in int_mallinfo interface.
42944 2012-05-16 Roland McGrath <roland@hack.frob.com>
42947 * configure.in (NM): Add AC_CHECK_TOOL for it.
42948 (libc_extra_cflags): New substituted variable.
42949 Check for -fstack-protector being used implicitly.
42950 * configure: Regenerated.
42951 * config.make.in (config-extra-cflags): New variable,
42952 gets @libc_extra_cflags@.
42953 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42956 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42957 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42958 * configure: Regenerated.
42959 * config.make.in (CPPUNDEFS): New substituted variable.
42960 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42961 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42962 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42964 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42966 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42967 (mq_attr): Use __syscall_slong_t.
42969 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42971 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42972 Check __x86_64__ instead of __WORDSIZE.
42973 (_STAT_VER_LINUX): Likewise.
42974 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42975 __syscall_ulong_t and __syscall_slong_t.
42976 (stat64): Likewise.
42978 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42980 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42982 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42984 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42986 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42988 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42991 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42992 include <bits/wordsize.h>. Check __x86_64__ instead of
42994 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42996 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42998 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42999 include <bits/wordsize.h>. Check __x86_64__ instead of
43001 (user_regs_struct): Use "__extension__ unsigned long long"
43002 instead of "unsigned long" if __x86_64__ is defined.
43003 (user): Likewise. Pad after pointer field if __ILP32__ is
43006 2012-05-16 Joseph Myers <joseph@codesourcery.com>
43008 * configure.in (makeinfo): Require version 4.5 or later. Allow
43010 * configure: Regenerated.
43011 * manual/install.texi (texinfo): Increase version requirement to
43013 * INSTALL: Regenerated.
43015 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43017 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43019 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43021 * sysdeps/x86_64/x32/ffs.c: New file.
43023 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43025 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43026 defined. Use __syscall_ulong_t.
43027 (shminfo): Use __syscall_ulong_t.
43028 (shm_info): Likewise.
43030 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43033 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43035 (msgqnum_t): Use __syscall_ulong_t.
43036 (msglen_t): Likewise.
43037 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43040 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43041 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43043 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43045 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43046 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43048 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43051 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43052 include <bits/wordsize.h>. Check __x86_64__ instead of
43055 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43056 "unsigned long long int" if __x86_64__ is defined.
43057 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43059 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43060 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43061 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43063 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43065 (GET_PC): Cast to uintptr_t first.
43066 (GET_FRAME): Likewise.
43067 (GET_STACK): Likewise.
43069 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43070 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43071 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43072 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43073 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43074 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43075 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43076 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43077 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43078 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43079 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43080 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43081 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43082 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43083 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43084 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43085 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43086 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43087 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43088 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43089 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43090 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43091 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43092 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43093 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43094 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43095 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43096 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43097 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43099 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43101 * Makerules (+depfiles): Also collect depfiles from .oS in
43103 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43104 .oS, $(libnldbl-routines)).
43106 * Makerules (native-compile-mkdep-flags): Define.
43107 * sunrpc/Makefile (extra-objs): Add $(addprefix
43108 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43109 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43110 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43111 calling $(make-target-directory).
43113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43115 * bits/types.h (__snseconds_t): Removed.
43116 * time/time.h (struct timespec): Replace __snseconds_t with
43118 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43119 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43122 (__SNSECONDS_T_TYPE): Likewise.
43123 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43124 (__SNSECONDS_T_TYPE): Likewise.
43125 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43126 (__SNSECONDS_T_TYPE): Likewise.
43128 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43130 * sysdeps/mach/hurd/bits/typesizes.h
43131 (__SYSCALL_SLONG_TYPE): New macro.
43132 (__SYSCALL_ULONG_TYPE): Likewise.
43134 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43136 * bits/types.h (__syscall_slong_t): New type.
43137 (__syscall_ulong_t): Likewise.
43139 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43140 (__SYSCALL_ULONG_TYPE): Likewise.
43141 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43142 (__SYSCALL_SLONG_TYPE): Likewise.
43143 (__SYSCALL_ULONG_TYPE): Likewise.
43144 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43145 (__SYSCALL_SLONG_TYPE): Likewise.
43146 (__SYSCALL_ULONG_TYPE): Likewise.
43147 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43148 (__SYSCALL_SLONG_TYPE): Likewise.
43149 (__SYSCALL_ULONG_TYPE): Likewise.
43151 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43153 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43154 Add sigaltstack-offsets.sym.
43155 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43156 <sigaltstack-offsets.h>.
43157 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43158 longjmp_msg pointer.
43159 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43160 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43162 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43164 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43166 * elf/stackguard-macros.h: Remove file.
43167 * sysdeps/generic/stackguard-macros.h: New file.
43168 * sysdeps/i386/stackguard-macros.h: Likewise.
43169 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43170 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43171 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43172 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43173 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43174 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43175 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43176 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43177 <elf/stackguard-macros.h>.
43180 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43181 __aligned__ in attribute.
43182 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43183 (gregset_t): Likewise.
43185 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43187 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43188 * sysdeps/x86_64/64/Implies-after: Here. New file.
43189 * sysdeps/x86_64/x32/Implies-after: New file.
43191 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43193 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43194 and access return value for _dl_profile_fixup. Use R10_LP to
43197 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43199 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43201 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43203 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43204 * sysdeps/x86_64/x32/sysdep.h: New file.
43206 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43208 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43209 * sysdeps/x86_64/setjmp.S: Likewise.
43211 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43213 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43214 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43215 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43216 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43217 remove unused global constant.
43219 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43221 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43222 include of <not-cancel.h>.
43224 2012-05-15 Roland McGrath <roland@hack.frob.com>
43226 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43228 2012-05-15 Jeff Law <law@redhat.com>
43229 Andreas Jaeger <aj@suse.de>
43232 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43234 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43235 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43236 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43237 code changing __hst_map_handle.map.
43239 2012-05-15 Roland McGrath <roland@hack.frob.com>
43241 * configure.in (sysnames): Look for Implies-before and Implies-after
43243 * configure: Regenerated.
43245 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43247 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43248 8-byte data alignment with LP_SIZE alignment.
43250 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43252 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43257 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43261 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43262 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43263 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43265 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43269 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43270 (stackinfo_sub_sp): Likewise.
43272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43274 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43279 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43282 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43284 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43287 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43289 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43291 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43293 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43294 into R11_LP and load __x86_64_shared_cache_size_half into
43297 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43299 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43302 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43304 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43306 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43308 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43310 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43311 powerpc32/power7/fpu/s_logb.c via #include.
43312 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43313 powerpc32/power7/fpu/s_logbf.c via #include.
43314 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43315 powerpc32/power7/fpu/s_logbl.c via #include.
43317 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43319 * README.libm: Remove file.
43321 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43323 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43324 count for x32. Use R*_LP and omit operand-size suffix.
43326 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43328 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43329 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43330 * sysdeps/x86_64/x32/shlib-versions: New file.
43332 2012-05-14 Roland McGrath <roland@hack.frob.com>
43334 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43335 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43336 Use _dl_fatal_printf instead.
43338 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43340 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43341 set if not set by the user. Do not allow for being unset.
43342 * sysdeps/unix/sysv/linux/configure: Regenerated.
43344 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43346 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43347 the `q' suffix from lea and replace .quad with ASM_ADDR.
43349 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43351 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43352 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43354 (PTR_DEMANGLE): Likewise.
43356 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43358 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43360 (ASM_ADDR): Likewise.
43361 (RAX_LP): Likewise.
43362 (RBP_LP): Likewise.
43363 (RBX_LP): Likewise.
43364 (RCX_LP): Likewise.
43365 (RDI_LP): Likewise.
43366 (RSI_LP): Likewise.
43367 (RSP_LP): Likewise.
43370 (R10_LP): Likewise.
43371 (R10_LP): Likewise.
43372 (R11_LP): Likewise.
43373 (R12_LP): Likewise.
43374 (R13_LP): Likewise.
43375 (R14_LP): Likewise.
43376 (R15_LP): Likewise.
43378 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43380 * sysdeps/x86_64/x32/dl-machine.h: New file.
43382 2012-05-14 Andreas Jaeger <aj@suse.de>
43384 * manual/Makefile (subdir): Remove export of subdir.
43385 (all): Remove target.
43386 (.PHONY): Remove all from list.
43387 (mkinstalldirs): Remove.
43388 (.PHONY): Remove installdirs from list.
43389 ($(inst_infodir)/libc.info): Use make-target-directory.
43390 (installdirs): Remove.
43391 (subdir_%): Remove.
43392 (glibc-targets): Remove.
43395 ($(objpfx)stubs ../po/manual.pot): Remove.
43396 ($(objpfx)stamp%): Remove.
43397 (make-target-directory): Remove.
43398 (subdir_install): Remove.
43399 (routines): Remove.
43406 * manual/.gitignore: Remove, it's not needed anymore.
43407 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43409 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43411 (texis): Renamed to $(objpfx)texis.
43412 (texis-path): New, contains path to generated files.
43413 (chapters.%): Use texis-path for complete path, add extra argument
43415 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43416 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43417 (summary,texi, stamp-summary): Use complete path of
43418 files. Generate files in build dir.
43419 (dir-add.texi): Build in build dir.
43420 (libm-err.texi,stamp-libm-err): Likewise.
43421 (version.texi, stamp-version): Likewise.
43422 (.%c.texi): Likewise.
43423 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43424 (mostlyclean): Remove target.
43425 (realclean): Remove target.
43426 (generated): Add new variable with contents from mostlyclean and
43427 realclean, remove entries duplicated in common-mostlyclean, add
43428 stamp-libm-err and stamp-version.
43429 (generated-dirs): Add libc directory.
43430 ($(inst_infodir)/libc.info): Install files from build dir.
43432 * manual/install.texi (Configuring and compiling): Adjust since
43433 the info files are not part of the tar ball anymore.
43435 2012-05-14 Andreas Jaeger <aj@suse.de>
43437 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43440 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43443 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43444 to 2.2.0 where earlier.
43445 * sysdeps/unix/sysv/linux/configure: Regenerated.
43446 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43447 Remove conditional code.
43448 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43449 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43450 Remove conditional code.
43451 [!__NR_lchown]: Likewise.
43452 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43453 [__NR_lchown]: Likewise.
43454 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43455 comment referencing __ASSUME_LCHOWN_SYSCALL.
43456 * sysdeps/unix/sysv/linux/i386/sigaction.c
43457 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43458 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43459 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43460 Remove conditional code.
43461 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43462 (__protocol_available): Remove #if 0 code.
43463 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43465 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43466 * sysdeps/unix/sysv/linux/kernel-features.h
43467 (__ASSUME_GETCWD_SYSCALL): Don't define.
43468 (__ASSUME_REALTIME_SIGNALS): Likewise.
43469 (__ASSUME_PREAD_SYSCALL): Likewise.
43470 (__ASSUME_PWRITE_SYSCALL): Likewise.
43471 (__ASSUME_POLL_SYSCALL): Likewise.
43472 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43473 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43475 (__ASSUME_SIOCGIFNAME): Don't define.
43476 (__ASSUME_MSG_NOSIGNAL): Likewise.
43477 (__ASSUME_SENDFILE): Define unconditionally.
43478 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43479 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43481 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43482 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43483 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43484 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43485 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43486 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43487 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43489 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43490 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43492 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43493 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43495 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43496 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43498 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43499 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43501 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43504 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43505 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43510 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43511 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43512 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43513 Remove conditional code.
43514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43515 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43516 Remove conditional code.
43517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43518 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43519 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43520 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43521 Remove conditional code.
43522 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43523 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43524 Remove conditional code.
43525 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43526 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43527 Remove conditional code.
43528 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43529 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43530 Remove conditional code.
43531 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43532 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43533 Remove conditional code.
43534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43535 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43536 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43538 * sysdeps/unix/sysv/linux/sigaction.c
43539 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43540 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43541 * sysdeps/unix/sysv/linux/sigpending.c
43542 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43543 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43544 * sysdeps/unix/sysv/linux/sigprocmask.c
43545 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43546 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43547 * sysdeps/unix/sysv/linux/sigsuspend.c
43548 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43549 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43550 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43551 (__libc_missing_rt_sigs): Remove.
43552 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43553 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43554 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43555 Remove conditional code.
43556 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43557 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43559 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43560 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43561 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43562 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43564 2012-05-14 Andreas Jaeger <aj@suse.de>
43566 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43567 it's not used in glibc.
43568 (__coshm1): Likewise.
43569 (__acosh1p): Likewise.
43572 * manual/string.texi (Copying and Concatenation): Add missing
43573 variable in concat example.
43574 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43576 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43579 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43580 __builtin_clzl with __builtin_clzll.
43582 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43585 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43588 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43590 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43591 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43592 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43593 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43595 2012-05-14 Mike Frysinger <vapier@gentoo.org>
43597 * NEWS: Update ia64 info.
43599 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43601 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43604 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43606 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43607 * sysdeps/unix/syscalls.list (dup3): Likewise.
43608 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43609 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43611 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43613 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43614 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43616 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43618 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43620 (TLS_IE): Use mov/add instead of movq/addq to load thread
43622 (TLS_GD_PREFIX): New.
43625 2012-05-11 David S. Miller <davem@davemloft.net>
43627 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43628 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43629 (_FPU_SETCW): Likewise.
43631 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43633 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43634 is 32-byte aligned.
43636 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43639 * iconvdata/gb18030.c: Update tables.
43640 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43641 characters specially.
43642 (BODY for TO_LOOP): Add encoding of missing ranges.
43644 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43647 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43648 * sysdeps/mach/hurd/dup3.c: Likewise.
43649 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43650 * sysdeps/powerpc/memmove.c:: Likewise.
43652 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43654 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43655 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43657 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43659 * elf/elf.h (R_X86_64_RELATIVE64): New.
43660 (R_X86_64_NUM): Updated.
43661 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43662 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43663 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43664 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43665 tst-quad1pie tst-quad2pie
43666 (modules-names): Add tst-quadmod1 tst-quadmod2.
43667 ($(objpfx)tst-quad1): New dependency.
43668 ($(objpfx)tst-quad2): Likewise.
43669 ($(objpfx)tst-quad1pie): Likewise.
43670 ($(objpfx)tst-quad2pie): Likewise.
43671 * sysdeps/x86_64/tst-quad1.c: New file.
43672 * sysdeps/x86_64/tst-quad1pie.c: New file.
43673 * sysdeps/x86_64/tst-quad2.c: Likewise.
43674 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43675 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43676 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43677 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43678 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43680 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43682 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43683 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43684 * streams/stropts.h (t_scalar_t): Define type.
43686 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43687 (_PATH_PRESERVE): Set to "/var/lib".
43688 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43690 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43693 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43694 if __dir_mkfile succeeded.
43696 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43697 checking for _hurd_dtablesize. Unlock it right after having
43698 finished _hurd_dtable allocation.
43700 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43702 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43703 * sysdeps/mach/hurd/configure: Regenerated.
43704 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43705 special-casing to...
43706 * sysdeps/gnu/configure.in: ... this new file.
43707 * sysdeps/unix/sysv/linux/configure: Regenerated.
43708 * sysdeps/gnu/configure: New generated file.
43710 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43711 for Linux: use nsec instead of usec, as well as:
43712 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43713 members of type struct timespec.
43714 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43716 (struct stat64): Likewise.
43717 (_STATBUF_ST_NSEC): New macro.
43718 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43720 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43721 __strtoul_internal rather than strtoul.
43723 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43725 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43728 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43730 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43731 which preserves existing values.
43732 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43734 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43736 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43737 TIMEOUT values. Return EINVAL for NFDS values either negative or
43738 greater than FD_SETSIZE.
43740 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43742 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43743 allocated, call __vm_protect to finish enabling the existing space, and
43744 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43745 allocate the remainder.
43747 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43749 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43750 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43754 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43755 sysdeps/mach/hurd/readlink.c.
43757 * posix/tst-sysconf.c (posix_options): Only use
43758 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43759 _POSIX_SYNCHRONIZED_IO when they are defined
43760 * sysdeps/mach/hurd/bits/posix_opt.h:
43761 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43762 (_XOPEN_REALTIME): Undefine macro.
43763 (_XOPEN_REALTIME_THREADS): Undefine macro.
43764 (_XOPEN_SHM): Undefine macro.
43765 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43767 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43769 (_POSIX_ASYNC_IO): Undefine macro.
43770 (_POSIX_PRIORITIZED_IO): Undefine macro.
43771 (_POSIX_SPIN_LOCKS): Define macro to -1.
43773 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43774 SA_NODEFER, SA_RESETHAND.
43775 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43776 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43779 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43781 * elf/Makefile (pldd-modules): Define unconditionally.
43783 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43785 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43787 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43789 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43790 Return ENOENT when name is empty.
43791 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43793 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43795 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43797 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43799 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43801 Fix mlock in all cases except non-readable pages.
43802 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43803 instead of VM_PROT_ALL as parameter to __vm_wire function.
43805 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43806 (__mkdir): When path is `/', just fail with EEXIST.
43807 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43809 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43811 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43812 <sys/uio.h> (for writev).
43813 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43814 and <sys/param.h> (for MIN).
43816 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43818 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43819 REQUESTED_TIME. Properly set the remaining time and return EINTR
43822 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43824 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43825 Depend on against $(link-rpcuserlibs).
43827 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43829 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43830 (__libc_stack_end): Do not use attribute_relro.
43831 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43832 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43833 to libthread-provided value.
43834 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43837 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43840 * bits/libc-lock.h (__libc_once_get): New macro.
43841 * sysdeps/mach/bits/libc-lock.h: Likewise.
43842 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43843 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43844 instead of using implementation details.
43846 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43847 * libio/freopen.c: Likewise.
43848 * libio/freopen64.c: Likewise.
43849 * misc/syslog.c: Likewise.
43850 * nscd/connections.c: Likewise.
43851 * nscd/netgroupcache.c: Likewise.
43852 * sysdeps/posix/getcwd.c: Likewise.
43854 2012-05-10 Roland McGrath <roland@hack.frob.com>
43856 * math/w_ilogbf.c: Add #include <limits.h>.
43858 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43860 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43861 path instead of returning without unlocking.
43863 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43864 immediate-write ioctls.
43865 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43867 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43869 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43870 __builtin_frame_address instead of making assumptions about the
43871 location of the return address relative to DATA. Force early load of
43872 the return address.
43873 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43874 __builtin_frame_address.
43877 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43878 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43879 implement dup3 and do some further code clean-ups.
43880 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43881 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43883 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43885 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43887 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43888 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43889 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43890 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43891 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43894 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43895 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43896 when handler == SIG_ERR, not when handler != SIG_ERR.
43898 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43900 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43901 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43904 accept4 for GNU Hurd.
43905 * include/sys/socket.h (__libc_accept4): New prototype.
43906 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43907 to implement __libc_accept4.
43908 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43910 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43912 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43913 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43914 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43915 signal-defines.sym.
43917 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43919 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43921 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43923 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43924 assertion on O_CLOEXEC flag.
43925 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43926 * hurd/intern-fd.c: Likewise.
43927 * hurd/port2fd.c: Likewise.
43929 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43932 * bits/in.h (IPV6_PKTINFO): Define new macro.
43933 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43935 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43940 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43941 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43942 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43943 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43944 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43945 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43946 * math/libm-test.inc (logb_test) : Additional logb tests.
43948 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43949 Andreas Jaeger <aj@suse.de>
43951 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43952 * configure: Regenerated.
43953 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43954 * config.make.in (link-obsolete-rpc): New substituted variable.
43955 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43956 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43957 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43958 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43959 so that libc.a contains the symbols.
43960 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43961 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43962 * sunrpc/auth_none.c: Likewise.
43963 * sunrpc/auth_unix.c: Likewise.
43964 * sunrpc/authdes_prot.c: Likewise.
43965 * sunrpc/authuxprot.c: Likewise.
43966 * sunrpc/clnt_gen.c: Likewise.
43967 * sunrpc/clnt_perr.c: Likewise.
43968 * sunrpc/clnt_raw.c: Likewise.
43969 * sunrpc/clnt_simp.c: Likewise.
43970 * sunrpc/clnt_tcp.c: Likewise.
43971 * sunrpc/clnt_udp.c: Likewise.
43972 * sunrpc/clnt_unix.c: Likewise.
43973 * sunrpc/des_crypt.c: Likewise.
43974 * sunrpc/des_soft.c: Likewise.
43975 * sunrpc/get_myaddr.c: Likewise.
43976 * sunrpc/key_call.c: Likewise.
43977 * sunrpc/key_prot.c: Likewise.
43978 * sunrpc/netname.c: Likewise.
43979 * sunrpc/pm_getmaps.c: Likewise.
43980 * sunrpc/pm_getport.c: Likewise.
43981 * sunrpc/pmap_clnt.c: Likewise.
43982 * sunrpc/pmap_prot.c: Likewise.
43983 * sunrpc/pmap_prot2.c: Likewise.
43984 * sunrpc/pmap_rmt.c: Likewise.
43985 * sunrpc/publickey.c: Likewise.
43986 * sunrpc/rpc_cmsg.c: Likewise.
43987 * sunrpc/rpc_common.c: Likewise.
43988 * sunrpc/rpc_dtable.c: Likewise.
43989 * sunrpc/rpc_prot.c: Likewise.
43990 * sunrpc/rpc_thread.c: Likewise.
43991 * sunrpc/rtime.c: Likewise.
43992 * sunrpc/svc.c: Likewise.
43993 * sunrpc/svc_auth.c: Likewise.
43994 * sunrpc/svc_raw.c: Likewise.
43995 * sunrpc/svc_run.c: Likewise.
43996 * sunrpc/svc_tcp.c: Likewise.
43997 * sunrpc/svc_udp.c: Likewise.
43998 * sunrpc/svc_unix.c: Likewise.
43999 * sunrpc/svcauth_des.c: Likewise.
44000 * sunrpc/xcrypt.c: Likewise.
44001 * sunrpc/xdr.c: Likewise.
44002 * sunrpc/xdr_array.c: Likewise.
44003 * sunrpc/xdr_float.c: Likewise.
44004 * sunrpc/xdr_intXX_t.c: Likewise.
44005 * sunrpc/xdr_mem.c: Likewise.
44006 * sunrpc/xdr_rec.c: Likewise.
44007 * sunrpc/xdr_ref.c: Likewise.
44008 * sunrpc/xdr_sizeof.c: Likewise.
44009 * sunrpc/xdr_stdio.c: Likewise.
44011 2012-05-10 Roland McGrath <roland@hack.frob.com>
44013 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44014 change. Update copyright years.
44016 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44018 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44020 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44021 Joseph Myers <joseph@codesourcery.com>
44022 Paul Pluzhnikov <ppluzhnikov@google.com>
44025 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44027 [cross-compiling] (extra-libs): Likewise.
44028 [cross-compiling] (extra-libs-others): Likewise.
44029 [cross-compiling] (librpcsvc-routines): Likewise.
44030 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44031 [cross-compiling] (omit-deps): Likewise.
44032 (sunrpc-CPPFLAGS): New variable.
44033 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44034 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44035 (cross-rpcgen-objs): New variable.
44036 (extra-objs): Append $(cross-rpcgen-objs).
44037 ($(cross-rpcgen-objs)): New rule.
44038 ($(objpfx)cross-rpcgen): Likewise.
44039 (rpcgen-cmd): Define to use $(built-program-file). Expand
44041 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44042 ($(objpfx)x%.stmp): Likewise.
44043 * sunrpc/proto.h [IS_IN_build] (_): Define.
44044 [IS_IN_build] (_libc_intl_domainname): Likewise.
44046 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44048 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44049 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44050 and R_X86_64_TPOFF64.
44052 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44054 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44055 sysdeps/unix/sysv/syscalls.list.
44058 * sysdeps/unix/sysv/syscalls.list: Remove file.
44060 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44063 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44064 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44065 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44066 (__LC_IDENTIFICATION): Make these macros useful in #if
44067 expressions, as required by C99.
44069 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44071 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44072 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44075 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44077 * stdlib/longlong.h: Updated from GCC.
44079 2012-05-09 Andreas Jaeger <aj@suse.de>
44081 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44082 default is first entry.
44083 (run_mode): Set type.
44084 (main): Remove informal message about syslog.
44085 (options): Fix typo.
44088 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44091 (llrintf): Likewise.
44092 (llrint): Likewise.
44095 (nearbyint): Likewise.
44096 (nearbyintf): Likewise.
44098 2012-05-09 Andreas Jaeger <aj@suse.de>
44099 Pedro Alves <palves@redhat.com>
44101 * nscd/nscd.c (run_mode): Use enum.
44102 (main): Cleanup coding style issue.
44104 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
44105 Andreas Jaeger <aj@suse.de>
44107 * nscd/nscd.c (go_background): Replaced with...
44108 (run_mode): ... this.
44109 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44110 (options): Add -F --foreground.
44111 (main): Implement it.
44112 (parse_opt): Parse it.
44114 2012-05-09 Andreas Jaeger <aj@suse.de>
44117 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44118 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44119 -Wconversion warning.
44120 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44123 2012-05-09 Joseph Myers <joseph@codesourcery.com>
44125 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44127 (LC_ALL): Use macro-int-constant.
44128 (LC_COLLATE): Likewise.
44129 (LC_CTYPE): Likewise.
44130 (LC_MESSAGES): Likewise.
44131 (LC_MONETARY): Likewise.
44132 (LC_NUMERIC): Likewise.
44133 (LC_TIME): Likewise.
44134 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44135 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44136 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44137 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44139 [C99-based standards] (float_t): Expect type.
44140 [C99-based standards] (double_t): Expect type.
44141 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44143 [C99-based standards] (HUGE_VALL): Likewise.
44144 [C99-based standards] (INFINITY): Likewise.
44145 [C99-based standards] (NAN): Likewise.
44146 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44147 [C99-based standards] (FP_NAN): Likewise.
44148 [C99-based standards] (FP_NORMAL): Likewise.
44149 [C99-based standards] (FP_SUBNORMAL): Likewise.
44150 [C99-based standards] (FP_ZERO): Likewise.
44151 [C99-based standards] (FP_FAST_FMA): Use
44152 optional-macro-int-constant. Specify type. Require == 1.
44153 [C99-based standards] (FP_FAST_FMAF): Likewise.
44154 [C99-based standards] (FP_FAST_FMAL): Likewise.
44155 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44156 [C99-based standards] (FP_ILOGBNAN): Likewise.
44157 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44159 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44160 [C99-based standards] (math_errhandling): Specify type.
44161 [ISO99 || ISO11] (signgam): Do not allow.
44162 [non-C99-based standards] (copysignf): Do not allow.
44163 [non-C99-based standards] (exp2f): Likewise.
44164 [non-C99-based standards] (log2f): Likewise.
44165 [non-C99-based standards] (modff): Allow.
44166 [non-C99-based standards] (erff): Do not allow.
44167 [non-C99-based standards] (erfcf): Likewise.
44168 [non-C99-based standards] (gammaf): Likewise.
44169 [non-C99-based standards] (hypotf): Likewise.
44170 [non-C99-based standards] (j0f): Likewise.
44171 [non-C99-based standards] (j1f): Likewise.
44172 [non-C99-based standards] (jnf): Likewise.
44173 [non-C99-based standards] (lgammaf): Likewise.
44174 [non-C99-based standards] (tgammaf): Likewise.
44175 [non-C99-based standards] (y0f): Likewise.
44176 [non-C99-based standards] (y1f): Likewise.
44177 [non-C99-based standards] (ynf): Likewise.
44178 [non-C99-based standards] (isnanf): Likewise.
44179 [non-C99-based standards] (acoshf): Likewise.
44180 [non-C99-based standards] (asinhf): Likewise.
44181 [non-C99-based standards] (atanhf): Likewise.
44182 [non-C99-based standards] (cbrtf): Likewise.
44183 [non-C99-based standards] (expm1f): Likewise.
44184 [non-C99-based standards] (ilogbf): Likewise.
44185 [non-C99-based standards] (log1pf): Likewise.
44186 [non-C99-based standards] (logbf): Likewise.
44187 [non-C99-based standards] (nextafterf): Likewise.
44188 [non-C99-based standards] (remainderf): Likewise.
44189 [non-C99-based standards] (rintf): Likewise.
44190 [non-C99-based standards] (scalbf): Likewise.
44191 [non-C99-based standards] (copysignl): Likewise.
44192 [non-C99-based standards] (exp2l): Likewise.
44193 [non-C99-based standards] (log2l): Likewise.
44194 [non-C99-based standards] (modfl): Allow.
44195 [non-C99-based standards] (erfl): Do not allow.
44196 [non-C99-based standards] (erfcl): Likewise.
44197 [non-C99-based standards] (gammal): Likewise.
44198 [non-C99-based standards] (hypotl): Likewise.
44199 [non-C99-based standards] (j0l): Likewise.
44200 [non-C99-based standards] (j1l): Likewise.
44201 [non-C99-based standards] (jnl): Likewise.
44202 [non-C99-based standards] (lgammal): Likewise.
44203 [non-C99-based standards] (tgammal): Likewise.
44204 [non-C99-based standards] (y0l): Likewise.
44205 [non-C99-based standards] (y1l): Likewise.
44206 [non-C99-based standards] (ynl): Likewise.
44207 [non-C99-based standards] (isnanl): Likewise.
44208 [non-C99-based standards] (acoshl): Likewise.
44209 [non-C99-based standards] (asinhl): Likewise.
44210 [non-C99-based standards] (atanhl): Likewise.
44211 [non-C99-based standards] (cbrtl): Likewise.
44212 [non-C99-based standards] (expm1l): Likewise.
44213 [non-C99-based standards] (ilogbl): Likewise.
44214 [non-C99-based standards] (log1pl): Likewise.
44215 [non-C99-based standards] (logbl): Likewise.
44216 [non-C99-based standards] (nextafterl): Likewise.
44217 [non-C99-based standards] (remainderl): Likewise.
44218 [non-C99-based standards] (rintl): Likewise.
44219 [non-C99-based standards] (scalbl): Likewise.
44220 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44221 [non-C99-based standards] (FP_*): Do not allow.
44222 [C99-based standards] (FP_*): Change to
44223 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44224 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44226 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44227 (SIG_ERR): Likewise.
44228 [X/Open-based standards] (SIG_HOLD): Likewise.
44229 (SIG_IGN): Likewise.
44230 (SIGABRT): Use macro-int-constant. Specify type. Require
44232 (SIGFPE): Likewise.
44233 (SIGILL): Likewise.
44234 (SIGINT): Likewise.
44235 (SIGSEGV): Likewise.
44236 (SIGTER): Likewise.
44237 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44238 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44239 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44240 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44241 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44242 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44243 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44244 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44245 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44246 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44247 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44248 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44249 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44250 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44251 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44252 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44253 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44254 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44255 [X/Open-based standards] (SIGTRAP): Likewise.
44256 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44257 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44258 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44259 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44260 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44263 2012-05-08 Ian Wienand <ianw@vmware.com>
44266 * time/tzset.c (__tzset_parse_tz): Update default rules for
44267 daylight time changes in the Energy Policy Act of 2005.
44269 2012-05-09 Andreas Jaeger <aj@suse.de>
44272 * elf/ldconfig.c (parse_conf): Change string to make clear that
44273 ldconfig only issued a warning if ld.so.conf does not exist.
44275 2012-05-08 David S. Miller <davem@davemloft.net>
44277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44278 movxtod instead of popping the value on the stack.
44280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44282 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44284 * config.h.in: Add HAVE_ARM_PCS_VFP.
44286 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
44289 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44290 checking but the checks are disabled for any reason.
44292 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44294 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44295 and ELF64_R_TYPE with ELFW(R_TYPE).
44297 2012-05-08 Joseph Myers <joseph@codesourcery.com>
44299 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44300 (ulimit): Likewise.
44302 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44303 (settimeofday): Likewise.
44305 2012-05-08 Mike Frysinger <vapier@gentoo.org>
44307 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44308 a struct th_u2 inside the union, and move tu_block/tu_code into
44309 a new th_u3 union of tu_block/tu_code inside of that. Move
44310 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44311 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44312 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44313 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44314 (th_stuff): Change to th_u1.tu_stuff.
44316 (th_msg): Change to th_u1.th_u2.tu_data.
44318 2012-05-07 David S. Miller <davem@davemloft.net>
44320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44323 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44324 (SETUP_PIC_REG): Use it.
44325 (SETUP_PIC_REG_LEAF): Use it.
44327 2012-05-07 Joseph Myers <joseph@codesourcery.com>
44331 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44333 (EXPL_FINITE): Likewise.
44334 (FLDLOG): Likewise.
44335 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44336 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44338 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44340 (EXPL_FINITE): Likewise.
44341 (FLDLOG): Likewise.
44342 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44343 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44345 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44346 test of -max_value argument for long double.
44347 * sysdeps/i386/fpu/libm-test-ulps: Update.
44348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44350 2012-05-06 David S. Miller <davem@davemloft.net>
44352 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44353 quad soft-float symbols whose references which are compiler
44355 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44357 2012-05-06 Joseph Myers <joseph@codesourcery.com>
44361 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44363 (EXPL_FINITE): Likewise.
44364 (FLDLOG): Likewise.
44367 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44368 Adjust comments for base varying.
44369 (__expl_finite): Change alias to EXPL_FINITE.
44370 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44372 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44373 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44374 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44375 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44376 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44378 (EXPL_FINITE): Likewise.
44379 (FLDLOG): Likewise.
44382 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44383 Adjust comments for base varying.
44384 (__expl_finite): Change alias to EXPL_FINITE.
44385 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44390 * math/libm-test.inc (check_float_internal): Correct ulp
44391 calculation for subnormal expected results.
44393 2012-05-06 Andreas Jaeger <aj@suse.de>
44395 * Makeconfig (+math-flags): New, set to -frounding-math.
44396 (+cflags): Add +math-flags so that all of glibc gets compiled with
44399 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44401 2012-05-05 Joseph Myers <joseph@codesourcery.com>
44403 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44409 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44410 (__ieee754_expl): Allow for and saturate large arguments.
44411 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44412 (u_threshold): Likewise.
44413 (__exp): Call __ieee754_exp before checking for overflow and
44415 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44416 (u_threshold): Likewise.
44417 (__expf): Call __ieee754_expf before checking for overflow and
44419 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44420 (u_threshold): Likewise.
44421 (__expl): Call __ieee754_expl before checking for overflow and
44423 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44424 (__ieee754_expl): Allow for and saturate large arguments.
44425 * math/libm-test.inc (exp_test): Add another test. Do not allow
44426 missing overflow exception on overflow.
44427 (expm1_test): Do not allow missing overflow exception on overflow.
44429 * sysdeps/i386/fpu/e_expl.c: Move to ...
44430 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44431 rather than using inline asm.
44432 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44433 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44434 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44436 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44439 (signal): Likewise.
44443 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44445 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44446 sysdeps/unix/common/syscalls.list.
44447 (fchmod): Likewise.
44448 (fchown): Likewise.
44449 (ftruncate): Likewise.
44450 (getrusage): Likewise.
44451 (gettimeofday): Likewise.
44452 (setpgid): Likewise.
44453 (setregid): Likewise.
44454 (setreuid): Likewise.
44455 (sigaction): Likewise.
44456 (truncate): Likewise.
44457 (vhangup): Likewise.
44458 * sysdeps/unix/common/syscalls.list: Remove file.
44459 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44460 * sysdeps/unix/sysv/linux/Implies: Likewise.
44462 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44464 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44466 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44470 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44473 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44476 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44479 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44482 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44485 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44488 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44492 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44496 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44499 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44503 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44507 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44509 * sysdeps/unix/common/bits/dirent.h: Remove file.
44510 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44512 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44513 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44514 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44515 * sysdeps/unix/bsd/isatty.c: Likewise.
44516 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44517 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44518 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44520 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44523 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44524 long double comparison inaccuracies.
44525 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44528 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44530 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44531 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44533 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44536 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44537 nonzero digits before rounding a hex value.
44538 * stdlib/tst-strtod.c (tests): Add another test.
44540 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44542 * sysdeps/s390/fpu/libm-test-ulps: Update.
44544 2012-05-03 Andreas Jaeger <aj@suse.de>
44546 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44547 does not get optimized out.
44548 (malloc_opt_barrier): New.
44550 2012-05-03 Andreas Jaeger <aj@suse.de>
44551 Roland McGrath <roland@hack.frob.com>
44553 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44554 intermediate file deletion.
44555 (generated): Add .symlist files.
44557 2012-05-03 Joseph Myers <joseph@codesourcery.com>
44560 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44561 Redirect under this condition.
44562 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44563 [__USE_GNU] (__dprintf_chk): Not under this condition.
44564 [__USE_GNU] (__vdprintf_chk): Likewise.
44565 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44566 under this condition.
44567 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44568 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44569 [__USE_XOPEN2K8] (vdprintf): Likewise.
44570 [__USE_GNU] (__dprintf_chk): Not under this condition.
44571 [__USE_GNU] (__vdprintf_chk): Likewise.
44572 [__USE_GNU] (dprintf): Likewise.
44573 [__USE_GNU] (vdprintf): Likewise.
44575 2012-05-03 Roland McGrath <roland@hack.frob.com>
44577 * elf/Makefile (common-generated): Set this instead of generated for
44578 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44579 $(all-built-dso)-derived lists.
44581 2012-05-03 Andreas Jaeger <aj@suse.de>
44583 * sysdeps/i386/fpu/libm-test-ulps: Update.
44586 * FAQ.in: Likewise.
44587 * scripts/gen-FAQ.pl: Likewise.
44588 * manual/install.texi (Installation): Point to online location of
44590 * Makefile (files-for-dist): Remove FAQ.
44593 2012-05-02 Allan McRae <allan@archlinux.org>
44595 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44596 (LDFLAGS-reldepmod5.so): Likewise.
44597 (LDFLAGS-reldep6mod1.so): Likewise.
44598 (LDFLAGS-reldep6mod4.so): Likewise.
44599 (LDFLAGS-reldep8mod3.so): Likewise.
44600 (LDFLAGS-unload4mod1.so): Likewise.
44601 (LDFLAGS-unload4mod2.so): Likewise.
44602 (LDFLAGS-tst-initorder): Likewise.
44603 (LDFLAGS-tst-initordera2.so): Likewise.
44604 (LDFLAGS-tst-initordera3.so): Likewise.
44605 (LDFLAGS-tst-initordera4.so): Likewise.
44606 (LDFLAGS-tst-initorderb2.so): Likewise.
44607 (LDFLAGS-noload): Likewise.
44608 (LDFLAGS-next): Likewise.
44609 (LDFLAGS-order2mod1.so): Likewise.
44610 (LDFLAGS-order2mod2.so): Likewise.
44611 (LDFLAGS-tst-initorder2): Likewise.
44612 (LDFLAGS-tst-initorder2a.so): Likewise.
44613 (LDFLAGS-tst-initorder2b.so): Likewise.
44614 (LDFLAGS-tst-initorder2c.so): Likewise.
44615 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44617 2012-05-02 David S. Miller <davem@davemloft.net>
44619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44621 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44624 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44626 2012-05-02 Andreas Jaeger <aj@suse.de>
44628 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44629 since we manipulate rounding mode.
44630 (CPPFLAGS-test-idouble.c): Likewise.
44631 (CPPFLAGS-test-ifloat.c): Likewise.
44632 (CFLAGS-test-ldouble.c): Likewise.
44633 (CFLAGS-test-double.c): Likewise.
44634 (CFLAGS-test-float.c): Likewise.
44635 (CFLAGS-test-misc.c): Likewise.
44636 (CFLAGS-test-test-fenv.c): Likewise.
44638 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44642 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44643 comparisons to determine direction to adjust input.
44645 2012-05-01 Roland McGrath <roland@hack.frob.com>
44647 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44648 output to the target.
44650 * scripts/localplt.awk: New file.
44651 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44652 (check-localplt-CFLAGS): Variable removed.
44653 ($(all-built-dso:=.jmprel)): New static pattern rule.
44654 (generated): Add those targets.
44655 (localplt-built-dso): New variable.
44656 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44658 * elf/check-localplt.c: File removed.
44660 * scripts/check-execstack.awk: New file.
44661 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44662 (check-execstack-CFLAGS): Variable removed.
44663 ($(objpfx)check-execstack.h): Target removed.
44664 ($(objpfx)execstack-default): New target.
44665 (generated): Add that instead of check-execstack.h.
44666 ($(all-built-dso:=.phdr)): New static pattern rule.
44667 (generated): Add those targets.
44668 * elf/check-execstack.c: File removed.
44670 * scripts/check-textrel.awk: New file.
44671 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44672 (check-textrel-CFLAGS): Variable removed.
44673 (all-built-dso): Use := to define.o
44674 ($(all-built-dso:=.dyn)): New static pattern rule.
44675 (generated): Add those targets.
44676 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44677 * config.make.in (READELF): New substituted variable.
44678 * elf/check-textrel.c: File removed.
44680 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44682 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44684 * conform/data/ctype.h-data [C99-based standards] (isblank):
44686 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44687 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44688 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44689 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44690 Specify type. Require positive value.
44691 (EILSEQ): Likewise.
44692 (ERANGE): Likewise.
44693 [ISO || POSIX] (EILSEQ): Do not expect.
44694 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44695 Specify type. Require positive value.
44696 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44697 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44698 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44699 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44700 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44701 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44702 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44703 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44704 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44705 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44706 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44707 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44708 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44709 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44710 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44711 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44712 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44713 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44714 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44715 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44716 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44717 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44718 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44719 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44720 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44721 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44722 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44723 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44724 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44725 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44726 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44727 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44728 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44729 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44730 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44731 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44732 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44733 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44734 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44735 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44736 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44737 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44738 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44739 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44740 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44741 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44742 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44743 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44744 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44745 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44746 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44747 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44748 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44749 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44750 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44751 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44752 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44753 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44754 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44755 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44756 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44757 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44758 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44759 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44760 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44761 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44762 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44763 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44764 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44765 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44766 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44767 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44768 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44769 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44770 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44771 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44772 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44774 (FLT_ROUNDS): Expect as macro, not constant.
44775 (FLT_MANT_DIG): Use macro-int-constant.
44776 (DBL_MANT_DIG): Likewise.
44777 (LDBL_MANT_DIG): Likewise.
44778 (FLT_DIG): Likewise.
44779 (DBL_DIG): Likewise.
44780 (LDBL_DIG): Likewise.
44781 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44782 (DBL_MIN_EXP): Likewise.
44783 (LDBL_MIN_EXP): Likewise.
44784 (FLT_MAX_EXP): Use macro-int-constant.
44785 (DBL_MAX_EXP): Likewise.
44786 (LDBL_MAX_EXP): Likewise.
44787 (FLT_MAX_10_EXP): Likewise.
44788 (DBL_MAX_10_EXP): Likewise.
44789 (LDBL_MAX_10_EXP): Likewise.
44790 (FLT_MAX): Use macro-constant.
44791 (DBL_MAX): Likewise.
44792 (LDBL_MAX): Likewise.
44793 (FLT_EPSILON): Use macro-constant. Give upper bound.
44794 (DBL_EPSILON): Likewise.
44795 (LDBL_EPSILON): Likewise.
44796 (FLT_MIN): Likewise.
44797 (DBL_MIN): Likewise.
44798 (LDBL_MIN): Likewise.
44799 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44800 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44801 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44802 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44803 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44804 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44805 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44806 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44807 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44808 [ISO11] (FLT_TRUE_MIN): Likewise.
44809 [ISO11] (LDBL_TRUE_MIN): Likewise.
44810 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44811 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44812 (SCHAR_MIN): Use macro-int-constant. Specify type.
44813 (SCHAR_MAX): Likewise.
44814 (UCHAR_MAX): Likewise.
44815 (CHAR_MIN): Likewise.
44816 (CHAR_MAX): Likewise.
44817 (MB_LEN_MAX): Use macro-int-constant.
44818 (SHRT_MIN): Use macro-int-constant. Specify type.
44819 (SHRT_MAX): Likewise.
44820 (USHRT_MAX): Likewise.
44821 (INT_MAX): Likewise.
44822 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44824 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44826 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44828 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44829 bound negative. Suffix upper bound with "L".
44830 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44832 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44834 [C99-based standards] (LLONG_MAX): Likewise.
44835 [C99-based standards] (ULLONG_MAX): Likewise.
44836 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44838 [ISO11] (max_align_t): Require type.
44839 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44841 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44842 from $CFLAGS, without defining away __attribute__ calls.
44843 (checknamespace): Use $CFLAGS_namespace.
44845 * conform/conformtest.pl (@keywords): Only include C99 keywords
44846 for standards based on C99 or C11.
44848 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44850 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44853 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44854 usability of symbols in #if.
44856 * conform/conformtest.pl: If macro or constant types start
44857 "promoted:", expect the symbol to be of the following type
44858 promoted by the integer promotions.
44860 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44861 in one place. Also handle "macro-constant".
44863 * conform/conformtest.pl: Only accept expected macro values with
44864 "==". Parse all "macro" lines in one place.
44865 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44867 * conform/conformtest.pl: Handle braced types on "constant" lines
44868 instead of handling "typed-constant".
44869 * conform/data/signal.h-data: Use "constant" instead of
44872 * conform/conformtest.pl: Handle "optional-" at start of lines in
44873 one place rather than duplicating several cases. Handle each
44874 format of "macro" line with initial "optional-".
44876 * conform/conformtest.pl: Only accept expected constant or
44877 optional-constant values with "==". Parse all "constant" lines in
44878 one place. Parse all "optional-constant" lines in one place.
44879 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44880 * conform/data/fmtmsg.h-data: Likewise.
44881 * conform/data/netinet/in.h-data: Likewise.
44882 * conform/data/tar.h-data: Likewise.
44883 * conform/data/limits.h-data: Use "==" form on "constant" and
44884 "optional-constant" lines.
44886 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44887 Use -std=c99 for XOPEN2K.
44888 (@knownproblems): Remove.
44889 (newtoken): Don't check %isknown.
44891 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44892 Do not expect macro.
44893 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44894 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44895 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44896 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44897 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44898 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44899 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44900 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44901 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44902 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44903 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44904 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44905 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44906 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44907 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44908 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44909 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44910 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44911 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44912 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44913 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44914 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44915 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44916 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44917 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44918 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44919 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44920 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44921 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44922 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44923 [XPG3] (acosh): Likewise.
44924 [XPG3] (asinh): Likewise.
44925 [XPG3] (atanh): Likewise.
44926 [XPG3] (cbrt): Likewise.
44927 [XPG3] (expm1): Likewise.
44928 [XPG3] (ilogb): Likewise.
44929 [XPG3] (log1p): Likewise.
44930 [XPG3] (logb): Likewise.
44931 [XPG3] (nextafter): Likewise.
44932 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44933 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44934 [XPG3] (remainder): Likewise.
44935 [XPG3] (rint): Likewise.
44936 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44937 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44938 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44939 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44940 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44941 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44942 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44943 [UNIX98 || XOPEN2K] (scalb): Expect.
44944 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44945 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44946 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44947 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44948 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44949 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44950 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44951 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44952 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44953 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44954 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44955 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44956 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44957 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44958 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44959 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44960 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44961 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44962 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44963 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44964 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44965 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44966 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44967 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44968 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44969 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44970 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44971 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44972 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44973 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44974 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44975 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44976 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44977 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44978 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44979 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44980 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44981 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44982 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44983 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44984 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44985 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44986 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44987 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44988 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44989 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44990 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44991 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44992 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44993 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44994 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44995 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44996 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44997 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44998 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44999 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45000 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45001 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45002 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45003 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45004 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45005 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45006 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45007 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45008 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45009 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45010 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45011 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45012 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45013 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45014 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45015 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45016 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45017 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45018 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45019 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45020 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45021 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45022 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45023 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45024 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45025 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45026 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45027 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45028 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45029 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45030 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45031 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45032 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45033 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45034 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45035 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45036 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45037 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45038 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45039 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45040 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45041 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45042 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45043 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45044 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45045 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45046 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45047 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45048 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45049 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45050 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45051 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45052 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45053 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45054 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45055 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45056 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45057 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45058 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45059 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45060 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45061 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45062 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45063 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45064 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45065 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45066 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45067 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45068 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45069 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45070 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45071 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45072 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45073 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45074 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45075 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45076 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45077 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45078 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45079 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45080 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45082 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45083 _XOPEN_SOURCE_EXTENDED for XPG4.
45085 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45087 * Makeconfig (localtime): Remove variable.
45088 (inst_localtime-file): Likewise.
45090 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45111 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45115 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45116 comparisons to determine direction to adjust input.
45117 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45118 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45119 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45121 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45123 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45125 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45126 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45128 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45130 * math/libm-test.inc (nexttoward_test): Add more tests.
45132 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45135 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45136 in version GLIBC_2.1, not GLIBC_2.0.
45137 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45140 2012-04-30 Joseph Myers <joseph@codesourcery.com>
45143 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45145 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45146 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45147 * math/libm-test.inc (acos_test): Add more tests.
45148 (asin_test): Likewise.
45149 * sysdeps/i386/fpu/libm-test-ulps: Update.
45150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45153 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45155 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45156 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45157 * math/libm-test.inc (acos_test_tonearest): New function.
45158 (acos_test_towardzero): Likewise.
45159 (acos_test_downward): Likewise.
45160 (acos_test_upward): Likewise.
45161 (asin_test_tonearest): Likewise.
45162 (asin_test_towardzero): Likewise.
45163 (asin_test_downward): Likewise.
45164 (asin_test_upward): Likewise.
45165 (main): Call the new functions.
45166 * sysdeps/i386/fpu/libm-test-ulps: Update.
45167 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45171 * math/e_exp10.c: Include <float.h>.
45172 (__ieee754_exp10): Handle underflow here rather than multiplying
45173 large negative argument by M_LN10.
45174 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45176 * math/e_exp10l.c: Include <float.h>.
45177 (__ieee754_exp10l): Handle underflow here rather than multiplying
45178 large negative argument by M_LN10l.
45179 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45180 spurious overflow exception on underflow.
45182 2012-04-29 Marek Polacek <polacek@redhat.com>
45184 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45185 (__fortify_function): New macro.
45186 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45187 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45188 __extern_always_inline.
45189 * libio/bits/stdio2.h: Likewise.
45190 * libio/bits/stdio.h: Likewise.
45191 * string/string.h: Likewise.
45192 * string/bits/string3.h: Likewise.
45193 * include/stdio.h: Likewise.
45194 * stdlib/bits/stdlib.h: Likewise.
45195 * stdlib/stdlib.h: Likewise.
45196 * rt/bits/mqueue2.h: Likewise.
45197 * rt/mqueue.h: Likewise.
45198 * posix/bits/unistd.h: Likewise.
45199 * posix/unistd.h: Likewise.
45200 * io/bits/poll2.h: Likewise.
45201 * io/bits/fcntl2.h: Likewise.
45202 * io/fcntl.h: Likewise.
45203 * io/sys/poll.h: Likewise.
45204 * misc/bits/syslog.h: Likewise.
45205 * misc/bits/syslog-ldbl.h: Likewise.
45206 * misc/sys/syslog.h: Likewise.
45207 * socket/bits/socket2.h: Likewise.
45208 * socket/sys/socket.h: Likewise.
45209 * debug/tst-chk1.c: Likewise.
45210 * wcsmbs/bits/wchar2.h: Likewise.
45211 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45212 * wcsmbs/wchar.h: Likewise.
45214 2012-04-29 Andreas Jaeger <aj@suse.de>
45216 * Makerules (tests): Remove enable-check-abi protection.
45217 (check-abi-warn): Remove.
45218 (check-abi-%): Remove check-abi-warn usage.
45220 * configure.in: Remove check-abi configure option.
45221 * configure: Regenerated.
45222 * config.make.in (enable-check-abi): Remove.
45224 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45227 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45228 double functions to double *_finite functions.
45231 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45232 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45234 * stdio-common/Makefile (tests): Add tst-sprintf3.
45235 * stdio-common/tst-sprintf3.c: New file.
45237 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45238 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45240 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45242 * conform/conformtest.pl: Remove duplicate typed-constant
45245 2012-04-28 David S. Miller <davem@davemloft.net>
45247 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45248 (check-abi-%): Remove AWK script prerequisite and explicit
45250 (check-abi): Rewrite to just diff the symlist with the abilist.
45251 (config-tls, config-abi-config): Delete, no longer used.
45252 (update-abi-%): Remove AWK script and explicit abilist directory.
45253 (update-abi): Rewrite to simply compare and conditionally copy the
45254 symlist and the sysdep abilist file. Remove update-abi-config
45256 * abilist/ld.abilist: Remove.
45257 * abilist/libBrokenLocale.abilist: Remove.
45258 * abilist/libanl.abilist: Remove.
45259 * abilist/libcrypt.abilist: Remove.
45260 * abilist/libdl.abilist: Remove.
45261 * abilist/librt.abilist: Remove.
45262 * abilist/libthread_db.abilist: Remove.
45263 * abilist/libutil.abilist: Remove.
45264 * scripts/extract-abilist.awk: Remove.
45265 * scripts/merge-abilist.awk: Remove.
45266 * sysdeps/generic/libcidn.abilist: New file.
45267 * sysdeps/generic/libnss_compat.abilist: New file.
45268 * sysdeps/generic/libnss_db.abilist: New file.
45269 * sysdeps/generic/libnss_dns.abilist: New file.
45270 * sysdeps/generic/libnss_files.abilist: New file.
45271 * sysdeps/generic/libnss_hesiod.abilist: New file.
45272 * sysdeps/generic/libnss_nis.abilist: New file.
45273 * sysdeps/generic/libnss_nisplus.abilist: New file.
45274 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45275 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45276 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45278 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45279 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45280 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45281 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45282 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45283 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45284 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45285 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45286 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45288 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45289 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45290 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45291 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45293 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45294 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45295 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45296 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45297 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45298 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45300 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45301 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45302 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45304 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45407 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45408 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45409 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45411 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45412 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45413 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45414 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45415 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45416 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45417 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45418 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45419 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45420 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45472 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45474 * conform/conformtest.pl: Fix typo in handling typed-constant from
45477 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45479 * README: Cut down references to pre-2.6 Linux kernels and
45480 Linuxthreads. Update lists of configurations in libc and ports
45481 and sort alphabetically. Say "or newer" with Linux kernel version
45484 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45486 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45489 * math/libm-test.inc (logb_test_downward): New test to expose
45490 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45493 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45496 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45498 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45499 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45501 2012-04-26 Joseph Myers <joseph@codesourcery.com>
45503 * sysdeps/unix/i386/brk.S: Remove file.
45504 * sysdeps/unix/i386/dl-brk.S: Likewise.
45505 * sysdeps/unix/i386/pipe.S: Likewise.
45506 * sysdeps/unix/i386/sigreturn.S: Likewise.
45507 * sysdeps/unix/i386/syscall.S: Likewise.
45508 * sysdeps/unix/i386/vfork.S: Likewise.
45509 * sysdeps/unix/i386/wait.S: Likewise.
45511 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45512 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45514 * configure.in (arm*-none*): Do not allow without
45515 --enable-hacker-mode.
45516 (netbsd*): Remove case setting base_os.
45517 (386bsd*): Likewise.
45518 (freebsd*): Likewise.
45521 (sunos*): Likewise.
45522 (ultrix*): Likewise.
45523 (newsos*): Likewise.
45524 (dynix*): Likewise.
45530 (minix*): Likewise.
45531 (irix4*): Likewise.
45532 (irix6*): Likewise.
45533 (solaris[2-9]*): Likewise.
45535 * configure: Regenerated.
45537 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45540 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45541 overflow or cancellation in calculating denominator.
45542 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45543 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45544 down expression to avoid unexpected rounding in newer GCCs.
45545 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45547 2012-04-26 David S. Miller <davem@davemloft.net>
45549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45550 long-double compat symbols.
45551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45565 2012-04-25 David S. Miller <davem@davemloft.net>
45567 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45568 HWCAP_* values only after the memory barriers have been defined.
45569 (atomic_full_barrier): Define.
45570 (atomic_read_barrier): Define.
45571 (atomic_write_barrier): Define.
45573 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45575 * shlib-versions: Add libgcc_s version information.
45576 * sysdeps/generic/libgcc_s.h: Remove.
45577 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45579 * sysdeps/gnu/unwind-resume.c: Likewise.
45580 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45582 2012-04-25 David S. Miller <davem@davemloft.net>
45584 * sysdeps/unix/sparc/brk.S: Delete.
45585 * sysdeps/unix/sparc/dl-brk.S: Delete.
45586 * sysdeps/unix/sparc/pipe.S: Delete.
45587 * sysdeps/unix/sparc/sysdep.S: Delete.
45588 * sysdeps/unix/sparc/sysdep.h: Delete.
45589 * sysdeps/unix/sparc/vfork.S: Delete.
45590 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45591 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45592 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45593 (ret_ERRVAL, r0, r1, MOVE): Define.
45594 (JUMPTARGET): Remove.
45595 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45596 sysdeps/unix/sparc/sysdep.h
45597 (ENTRY, END): Remove.
45598 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45600 2012-04-25 Joseph Myers <joseph@codesourcery.com>
45602 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45603 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45606 * timezone/README: Update upstream location and email address for
45608 * timezone/zdump.c: Update from tzcode 2012b.
45609 * timezone/zic.c: Likewise.
45611 * configure.in (libc_cv_as_needed): Remove test.
45612 * configure: Regenerated.
45613 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45614 conditional definition.
45615 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45616 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45617 * config.make.in (have-as-needed): Remove variable.
45619 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45620 Paul Pluzhnikov <ppluzhnikov@google.com>
45622 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45625 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45627 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45628 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45629 * sysdeps/sh/strlen.S: Likewise.
45631 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45633 * sysdeps/unix/fork.S: Remove file.
45634 * sysdeps/unix/i386/fork.S: Likewise.
45635 * sysdeps/unix/sparc/fork.S: Likewise.
45637 * sysdeps/unix/system.c: Remove file.
45638 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45640 * sysdeps/unix/getegid.S: Remove file.
45641 * sysdeps/unix/geteuid.S: Likewise.
45643 2012-04-24 Roland McGrath <roland@hack.frob.com>
45645 * scripts/check-localplt.awk: New file.
45646 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45648 * scripts/data/localplt-generic.data: Add a comment.
45650 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45651 NODE when __dir_mkfile failed.
45652 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45653 Reported by Ludovic Courtès <ludo@gnu.org>.
45655 2012-04-24 Andreas Jaeger <aj@suse.de>
45657 * Makerules (common-clean): Also remove gen-as-const-headers
45660 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45662 * Makerules (native-compile): Do not change working directory for
45663 build. Use $(OUTPUT_OPTION) in command.
45664 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45666 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45669 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45670 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45671 * math/libm-test.inc (floor_test): Add more tests.
45672 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45674 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45676 * sysdeps/unix/getdents.c: Remove file.
45677 * sysdeps/unix/sysv/getdents.c: Likewise.
45678 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45680 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45681 sysdeps/unix/mman/syscalls.list.
45683 (mprotect): Likewise.
45685 (munmap): Likewise.
45686 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45687 * sysdeps/unix/mman/syscalls.list: Remove.
45688 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45690 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45691 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45692 * configure: Regenerated.
45693 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45694 $(libgcc_s_suffix).
45695 * config.make.in (libgcc_s_suffix): Remove variable.
45697 2012-04-23 Joseph Myers <joseph@codesourcery.com>
45699 * sysdeps/unix/sysv/gethostname.c: Move to ...
45700 * sysdeps/posix/gethostname.c: ... here.
45702 * sysdeps/unix/execve.S: Remove file.
45704 * sysdeps/unix/_exit.S: Remove file.
45706 2012-04-23 Andreas Jaeger <aj@suse.de>
45709 * manual/Makefile: Remove make dist support, there's no
45710 need for a stand-alone documentation tar ball.
45711 (TEXI2DVI): Define always, it's not in Makeconfig.
45714 (edition): Removed.
45715 (glibc-doc-$(edition).tar): Removed
45719 (ETAGS): Remove, it's in Makeconfig.
45720 (move-if-change): Remove, it's in Makeconfig.
45722 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
45725 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45726 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45727 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45728 (strtod_l, strtof_l, strtold_l): Remove __wur.
45729 It is not necessarily an error to ignore strtol's return value.
45730 One can reliably look at the stored endptr to decide whether
45731 the number had valid syntax.
45733 2012-04-21 Andreas Jaeger <aj@suse.de>
45736 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45738 2012-04-21 Joseph Myers <joseph@codesourcery.com>
45740 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45741 * sysdeps/unix/sysv/Versions: Remove file.
45743 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45748 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
45751 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45752 version from __vm86.
45754 2012-04-20 Joseph Myers <joseph@codesourcery.com>
45756 * sysdeps/unix/common/lxstat.c: Remove file.
45757 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45759 * sysdeps/unix/sysv/Makefile: Remove file.
45761 * sysdeps/unix/sysv/direct.h: Remove file.
45763 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45764 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45765 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45766 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45767 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45768 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45769 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45771 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45773 * sysdeps/unix/xmknod.c: Remove file.
45774 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45776 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45778 * sysdeps/unix/sysv/i386/time.S: Remove file.
45780 * sysdeps/unix/fxstat.c: Remove file.
45781 * sysdeps/unix/xstat.c: Likewise.
45782 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45784 * sysdeps/unix/sysv/sigaction.c: Remove file.
45786 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45787 (sysdep_headers): Remove variable.
45788 [termio.h not in sysdep_headers] (generated): Likewise.
45789 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45790 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45791 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45792 * sysdeps/unix/sysv/tcflow.c: Likewise.
45793 * sysdeps/unix/sysv/tcflush.c: Likewise.
45794 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45795 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45796 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45797 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45798 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45800 * sysdeps/unix/siglist.c: Remove file.
45802 * sysdeps/unix/getppid.S: Remove file.
45804 * sysdeps/unix/mkdir.c: Remove file.
45805 * sysdeps/unix/rmdir.c: Likewise.
45807 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45809 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45811 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45812 errlist-compat value.
45814 2012-04-18 David S. Miller <davem@davemloft.net>
45816 * sysdeps/generic/memcopy.h (reg_char): Delete.
45817 * debug/strcat_chk.c: Use char, not reg_char.
45818 * debug/strcpy_chk.c: Likewise.
45819 * debug/strncat_chk.c: Likewise.
45820 * debug/strncpy_chk.c: Likewise.
45821 * string/memchr.c: Likewise.
45822 * string/memrchr.c: Likewise.
45823 * string/rawmemchr.c: Likewise.
45824 * string/strcat.c: Likewise.
45825 * string/strchr.c: Likewise.
45826 * string/strchrnul.c: Likewise.
45827 * string/strcmp.c: Likewise.
45828 * string/strcpy.c: Likewise.
45829 * string/strncat.c: Likewise.
45830 * string/strncmp.c: Likewise.
45831 * string/strncpy.c: Likewise.
45833 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45835 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45836 __builtin_memcopy is called when src and dest ranges are known to not
45839 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45841 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45842 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45843 fwd_align_merge macro call.
45844 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45845 bwd_align_merge macro call.
45846 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45848 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45850 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45851 bwd_align_merge macros.
45852 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45853 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45854 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45856 2012-04-18 David S. Miller <davem@davemloft.net>
45858 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45860 2012-04-18 Andreas Jaeger <aj@suse.de>
45863 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45864 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45865 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45867 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45868 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45869 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45871 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45872 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45873 Adjust for changed ldbl-128 files.
45875 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45876 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45877 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45879 2012-04-17 David S. Miller <davem@davemloft.net>
45881 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45883 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45885 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45886 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45887 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45888 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45889 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45890 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45892 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45895 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45896 * math/libm-test.inc: Add ilogb errno and exception tests.
45897 * math/w_ilogb.c: New file: ilogb wrapper.
45898 * math/w_ilogbf.c: New file: ilogbf wrapper.
45899 * math/w_ilogbl.c: New file: ilogbl wrapper.
45900 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45901 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45902 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45903 exception being thrown with 0.0 as argument.
45904 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45905 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45906 exception being thrown with 0.0 as argument.
45907 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45908 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45909 exception being thrown with 0.0 as argument.
45910 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45911 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45912 exception being thrown with 0.0 as argument.
45913 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45914 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45915 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45916 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45917 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45918 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45919 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45920 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45921 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45923 2012-04-17 Petr Baudis <pasky@ucw.cz>
45925 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45928 2012-04-16 Marek Polacek <polacek@redhat.com>
45930 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45932 2012-04-16 Marek Polacek <polacek@redhat.com>
45934 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45935 operands of fdivp instruction.
45937 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45939 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45940 * elf/tst-auditmod3b.c: Likewise.
45941 * elf/tst-auditmod4b.c: Likewise.
45942 * elf/tst-auditmod5b.c: Likewise.
45943 * elf/tst-auditmod6b.c: Likewise.
45944 * elf/tst-auditmod6c.c: Likewise.
45945 * elf/tst-auditmod7b.c: Likewise.
45946 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45947 * sysdeps/x86_64/preconfigure.in: Likewise.
45948 * sysdeps/x86_64/preconfigure: Regenerated.
45950 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45952 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45955 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
45957 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45958 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45960 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45963 * locale/iso-639.def: Fix gl language name. Spotted by
45966 2012-04-12 Roland McGrath <roland@hack.frob.com>
45969 * libio/libio.h (__io_write_fn): Update comment.
45971 2012-04-12 Petr Baudis <pasky@ucw.cz>
45974 * stdio.texi (Hook Functions): The user provided writer function
45975 is not allowed to return -1.
45977 2012-04-11 David S. Miller <davem@davemloft.net>
45979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45981 2012-04-11 Mike Frysinger <vapier@gentoo.org>
45983 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45984 Add a leading slash to rtkaio.
45986 2012-04-11 Jim Meyering <meyering@redhat.com>
45989 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45990 It is not necessarily an error to ignore fwrite's return
45991 value. One can reliably use ferror to test for errors after
45994 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45996 * bits/types.h (__snseconds_t): New type.
45997 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45999 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46000 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46001 (__SNSECONDS_T_TYPE): Likewise.
46002 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46003 (__SNSECONDS_T_TYPE): Likewise.
46004 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46005 (__SNSECONDS_T_TYPE): Likewise.
46007 2012-04-10 Andreas Jaeger <aj@suse.de>
46010 * manual/time.texi (Processor Time): Return type of times is
46011 elapsed real time since an arbitrary point in the past.
46012 (CPU Time): Move CLK_TCK from here...
46013 (Processor Time): ...to here. Correct description.
46014 * manual/conf.texi (Constants for Sysconf): Correct description of
46017 2012-04-10 David S. Miller <davem@davemloft.net>
46020 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46021 where the is a gap between DT_REL(A) and DT_JMPREL.
46023 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46025 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46026 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46027 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46029 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46031 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46032 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46033 (dl_main): Handle --inhibit-cache.
46034 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46036 * elf/dl-load.c (_dl_map_object): Use it.
46037 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46039 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46042 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46043 (__ieee754_powl): Saturate large exponents rather than testing for
46044 overflow of y*log2(x).
46045 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46046 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46050 * math/s_ctan.c: Include <float.h>.
46051 (__ctan): Avoid internal overflow or cancellation in calculating
46053 * math/s_ctanf.c: Likewise.
46054 * math/s_ctanl.c: Likewise.
46055 * math/s_ctanh.c: Likewise.
46056 * math/s_ctanhf.c: Likewise.
46057 * math/s_ctanhl.c: Likewise.
46058 * math/libm-test.inc (ctan_test): Add more tests.
46059 (ctanh_test): Likewise.
46060 * sysdeps/i386/fpu/libm-test-ulps: Update.
46061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46063 2012-04-09 Andreas Jaeger <aj@suse.de>
46066 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46067 is an optional BSD extension.
46070 * manual/stdio.texi (Opening Streams): Document additional fopen
46073 2012-04-09 Roland McGrath <roland@hack.frob.com>
46075 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46076 %eax without telling the compiler.
46078 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46081 * manual/install.texi: Use sourceware.org.
46083 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46086 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46087 (__ieee754_pow): Generate overflow and underflow using huge*huge
46088 and tiny*tiny rather than just returning constant infinity or zero
46089 for large exponents.
46090 * math/libm-test.inc (pow_test): Require overflow exceptions for
46091 applicable cases of large exponents.
46094 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46095 (__ieee754_pow): Use iterative multiplication algorithm only for
46096 integer exponents with absolute value below 1024. Check for odd
46097 integer exponents when using algorithm for real exponents.
46098 * math/libm-test.inc (pow_test): Add more tests.
46099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46101 2012-04-08 Joseph Myers <joseph@codesourcery.com>
46104 * math/libm-test.inc (exp_test): Do not allow overflow exception
46107 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46110 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46111 instead of __kernel_standard_f.
46113 2012-04-08 Mike Frysinger <vapier@gentoo.org>
46115 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46116 * sysdeps/x86_64/memset_chk.S: Likewise.
46118 2012-04-08 Andreas Jaeger <aj@suse.de>
46121 * manual/startup.texi (Environment Access): Describe return value
46122 for putenv and setenv.
46125 * manual/filesys.texi (Directory Entries): Add description for
46129 * manual/filesys.texi (Directory Entries): Clarify that it's file
46130 system not operating system in the description of DT_UNKNOWN.
46133 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46135 2012-04-08 Stephen Compall <s11@member.fsf.org>
46138 * manual/llio.texi (Opening and Closing Files): Add cross
46139 reference to explain mode argument.
46141 2012-04-07 Mike Frysinger <vapier@gentoo.org>
46143 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46144 * sysdeps/x86_64/memset_chk.S: Likewise.
46146 2012-04-07 David S. Miller <davem@davemloft.net>
46148 * elf/elf.h (R_SPARC_WDISP10): Define.
46149 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46152 R_SPARC_SIZE64 and R_SPARC_H34.
46154 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46156 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46157 conditions and remove no longer applicable assertion.
46159 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46161 * bits/byteswap.h: Include <features.h>.
46162 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46163 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46165 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46167 * bits/byteswap.h (__bswap_16): Removed.
46168 Include <bits/byteswap-16.h> to get __bswap_16.
46169 * sysdeps/i386/bits/byteswap.h: Likewise.
46170 * sysdeps/s390/bits/byteswap.h: Likewise.
46171 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46172 * bits/byteswap-16.h: New file.
46173 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46174 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46175 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46176 * string/Makefile (headers): Add bits/byteswap-16.h.
46178 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46181 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46183 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46184 * nss/tst-nss-static.c: New.
46186 2012-04-06 Robert Millan <rmh@gnu.org>
46189 * manual/llio.texi (File Position Primitive): lseek
46190 refers to WHENCE when it really means OFFSET.
46192 2012-04-06 Andreas Jaeger <aj@suse.de>
46194 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46195 strncmp declarations.
46197 * abilist/libc.abilist: Add __poll and __ppoll.
46199 2012-04-05 David S. Miller <davem@davemloft.net>
46201 * scripts/check-local-headers.sh: Accept a host triplet in the
46202 path matched by the exclude regexp.
46204 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46206 * sysdeps/powerpc/powerpc32/dl-machine.h
46207 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46208 * sysdeps/s390/s390-32/dl-machine.h
46209 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46210 * sysdeps/sparc/sparc32/dl-machine.h
46211 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46212 * sysdeps/sparc/sparc64/dl-machine.h
46213 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46215 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46217 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46218 undefined symbol errors.
46220 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46223 2012-04-05 Michael Matz <matz@suse.de>
46226 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46228 2012-04-05 Andreas Jaeger <aj@suse.de>
46231 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46234 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46236 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46237 which ROUND is no valid rounding mode.
46239 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46241 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46243 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46245 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46247 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46248 an exception using FPU order intentionally.
46250 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46252 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46253 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46254 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46255 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46257 2012-04-05 Simon Josefsson <simon@josefsson.org>
46260 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46261 EINVAL when BUFLEN is too smal.
46263 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46266 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46267 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46269 2012-04-03 Andreas Jaeger <aj@suse.de>
46272 * manual/setjmp.texi (System V contexts): Fix sentence.
46275 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46276 New macro for this case.
46277 [!__GNUC__] (__bswap_64): New inline function for this case.
46278 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46279 * bits/byteswap.h: Likewise.
46280 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46281 ull, guard with __GLIBC_HAVE_LONG_LONG.
46283 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46284 __GLIBC_HAVE_LONG_LONG.
46286 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46287 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46289 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46292 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46293 inptr and inend, rather than using last_ch.
46295 2012-04-02 David S. Miller <davem@davemloft.net>
46297 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46298 * stdio-common/printf-parse.h (read_int): Change return type to
46299 'int', return -1 on INT_MAX overflow.
46300 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46301 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46302 overflows INT_MAX. Check for overflow of in-format-string precision
46303 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46304 SIZE_MAX not INT_MAX for integer overflow test.
46305 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46306 skip the construct in the format string but do not record anything.
46307 * stdio-common/bug22.c: Adjust to test both width/prevision
46308 INT_MAX overflow as well as total length INT_MAX overflow. Check
46309 explicitly for proper errno values.
46311 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46313 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46315 * string/test-strcmp.c [! WIDE]: Likewise.
46316 * time/tst-mktime2.c: Likewise for INT_MAX.
46317 * string/test-string.h: #include <sys/param.h> for MIN.
46319 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46320 * sysdeps/i386/init-first.c (init): Likewise.
46321 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46322 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46323 * sysdeps/sh/init-first.c (init): Likewise.
46325 2012-04-01 Ulrich Drepper <drepper@gmail.com>
46327 * po/ru.po: Update from translation team.
46328 * po/vi.po: Likewise.
46330 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46332 * resolv/nss_dns/dns-host.c: Merge copyright years.
46334 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46336 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46337 Optimize memcpy with prefetch if
46338 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46339 src, dst pointers have unequal 16 byte alignments.
46341 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46344 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46345 from a CNAME entry and return the minimum ttl for the query.
46346 (gaih_getanswer_slice): Likewise.
46348 2012-03-30 Jeff Law <law@redhat.com>
46350 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46352 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46353 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46355 * resolv/nss_dns/dns-host.c: Update copyright year.
46357 2012-03-30 Ulrich Drepper <drepper@gmail.com>
46359 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46360 requests to save a system call. Fix check that all bytes are sent.
46362 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46363 comments for sendmmsg.
46365 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46368 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46369 with only 1 character between 0x0041 and 0x01b0.
46370 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46371 * wcsmbs/tst-mbsnrtowcs.c: New file.
46373 2012-03-29 David S. Miller <davem@davemloft.net>
46375 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46376 small copies by hand.
46378 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46381 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46382 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46385 2012-03-28 David S. Miller <davem@davemloft.net>
46387 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46388 that branches into memcpy.
46389 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46390 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46391 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46392 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46393 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46395 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46396 implementation too.
46397 * sysdeps/sparc/mempcpy.S: New file.
46399 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46400 the IFUNC routine in the libc case.
46401 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46403 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46404 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46405 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46406 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46407 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46408 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46409 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46410 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46412 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46413 loop to 256 bytes instead of 64 bytes and fix test signedness.
46415 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46416 * sysdeps/sparc/sparc32/Makefile: rather than here...
46417 * sysdeps/sparc/sparc64/Makefile: and here.
46419 2012-03-28 Ulrich Drepper <drepper@gmail.com>
46421 * malloc/mallocbug.c: Avoid warnings about unused variables.
46423 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46426 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46427 in the right place. Discard and retry query if response is
46428 larger than input buffer size.
46430 2012-03-28 Joseph Myers <joseph@codesourcery.com>
46435 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46436 x for large integer exponent.
46437 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46438 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46439 sign of result as needed afterwards.
46440 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46441 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46442 result for underflowing pow the same as for overflow.
46443 (__kernel_standard_l): Handle powl overflow and underflow here
46444 rather than calling __kernel_standard.
46445 * math/libm-test.inc (pow_test): Add more tests.
46460 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46461 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46462 (__kernel_standard_l): New function.
46463 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46465 * math/w_acosl.c (__acosl): Likewise.
46466 * math/w_asinl.c (__asinl): Likewise.
46467 * math/w_atan2l.c (__atan2l): Likewise.
46468 * math/w_atanhl.c (__atanhl): Likewise.
46469 * math/w_coshl.c (__coshl): Likewise.
46470 * math/w_exp10l.c (__exp10l): Likewise.
46471 * math/w_exp2l.c (__exp2l): Likewise.
46472 * math/w_fmodl.c (__fmodl): Likewise.
46473 * math/w_hypotl.c (__hypotl): Likewise.
46474 * math/w_j0l.c (__j0l, __y0l): Likewise.
46475 * math/w_j1l.c (__j1l, __y1l): Likewise.
46476 * math/w_jnl.c (__jnl, __ynl): Likewise.
46477 * math/w_lgammal.c (__lgammal): Likewise.
46478 * math/w_log10l.c (__log10l): Likewise.
46479 * math/w_log2l.c (__log2l): Likewise.
46480 * math/w_logl.c (__logl): Likewise.
46481 * math/w_powl.c (__powl): Likewise.
46482 * math/w_remainderl.c (__remainderl): Likewise.
46483 * math/w_scalbl.c (sysv_scalbl): Likewise.
46484 * math/w_sinhl.c (__sinhl): Likewise.
46485 * math/w_sqrtl.c (__sqrtl): Likewise.
46486 * math/w_tgammal.c (__tgammal): Likewise.
46487 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46488 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46489 * math/libm-test.inc (acos_test): Add more tests.
46490 (acosh_test): Likewise.
46491 (asin_test): Likewise.
46492 (atanh_test): Likewise.
46493 (exp_test): Likewise.
46494 (exp10_test): Likewise.
46495 (exp2_test): Likewise.
46496 (expm1_test): Likewise.
46497 (lgamma_test): Likewise.
46498 (log_test): Likewise.
46499 (log10_test): Likewise.
46500 (log1p_test): Likewise.
46501 (log2_test): Likewise.
46502 (pow_test): Do not allow some spurious overflow exceptions.
46503 (sqrt_test): Add more tests.
46504 (tgamma_test): Likewise.
46505 (y0_test): Likewise.
46506 (y1_test): Likewise.
46507 (yn_test): Likewise.
46509 2012-03-27 Anton Blanchard <anton@samba.org>
46511 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46513 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46514 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46515 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46517 2012-03-27 David S. Miller <davem@davemloft.net>
46519 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46521 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46522 have-as-vis3 check.
46524 2012-03-27 Andreas Jaeger <aj@suse.de>
46526 * sysdeps/x86_64/elf/configure.in: Moved to ...
46527 * sysdeps/x86_64/configure.in: ... here.
46528 * sysdeps/x86_64/elf/start.S: Moved to ...
46529 * sysdeps/x86_64/start.S: ... here.
46530 * sysdeps/x86_64/elf/configure: Delete.
46532 * sysdeps/x86_64/configure.in: Merge contents from
46533 sysdeps/i386/configure.in (without i686 check).
46535 * sysdeps/i386/elf/Versions: Merge into ...
46536 * sysdeps/i386/Versions: ... this.
46537 * sysdeps/i386/elf/Versions: Delete file.
46538 * sysdeps/i386/elf/start.S: Moved to ...
46539 * sysdeps/i386/start.S: ...here.
46540 * sysdeps/i386/elf/configure.in: Merge into...
46541 * sysdeps/i386/configure.in: ...here.
46542 * sysdeps/i386/elf/configure.in: Delete file.
46543 * sysdeps/i386/elf/configure: Delete file.
46545 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46546 * debug/backtracesyms.c: ... here.
46547 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46548 * debug/backtracesymsfd.c: ... here.
46549 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46550 * sysdeps/generic/ifunc-sel.h: ... here.
46552 * sysdeps/unix/i386/start.c: Delete file.
46553 * sysdeps/unix/sparc/start.c: Delete file.
46554 * sysdeps/unix/start.c: Delete file.
46556 * sysdeps/sh/elf/configure.in: Moved to ...
46557 * sysdeps/sh/configure.in: ... here.
46558 * sysdeps/sh/elf/start.S: Moved to ...
46559 * sysdeps/sh/start.S: ... here.
46560 * sysdeps/sh/elf/configure: Delete file.
46562 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46563 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46564 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46565 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46566 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46567 * sysdeps/powerpc/powerpc64/start.S: here.
46568 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46569 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46570 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46571 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46572 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46574 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46575 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46576 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46577 * sysdeps/powerpc/powerpc32/start.S: ... here.
46578 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46579 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46580 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46582 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46583 * sysdeps/powerpc/ifunc-sel.h: ... here.
46584 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46585 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46587 * sysdeps/sparc/elf/configure.in: Moved to ...
46588 * sysdeps/sparc/configure.in: ... here.
46589 * sysdeps/sparc/elf/configure: Delete file.
46590 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46591 * sysdeps/sparc/sparc32/start.S: ... here.
46592 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46593 * sysdeps/sparc/sparc64/start.S: ... here.
46594 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46595 * sysdeps/sparc/sparc32/Makefile: ... this.
46596 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46597 * sysdeps/sparc/sparc64/Makefile: ... this.
46599 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46600 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46601 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46602 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46603 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46604 * sysdeps/s390/s390-32/setjmp.S: ... here.
46605 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46606 * sysdeps/s390/s390-32/configure.in: ... here.
46607 * sysdeps/s390/s390-32/elf/configure: Delete file.
46608 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46609 * sysdeps/s390/s390-32/start.S: ... here.
46611 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46612 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46613 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46614 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46615 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46616 * sysdeps/s390/s390-64/setjmp.S: ... here.
46617 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46618 * sysdeps/s390/s390-64/configure.in: ... here
46619 * sysdeps/s390/s390-64/elf/configure: Delete file.
46620 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46621 * sysdeps/s390/s390-64/start.S: ... here.
46622 * sysdeps/s390/s390-64/elf/configure: Delete.
46624 * configure.in: Remove support for elf directories in sysdeps.
46626 * configure: Regenerated.
46627 * sysdeps/i386/configure: Regenerated.
46628 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46629 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46630 * sysdeps/s390/s390-32/configure: Regenerated.
46631 * sysdeps/s390/s390-64/configure: Regenerated.
46632 * sysdeps/sh/configure: Regenerated.
46633 * sysdeps/sparc/configure: Regenerated.
46634 * sysdeps/x86_64/configure: Regenerated.
46636 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46640 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46641 denormal result into account.
46643 2012-03-25 Roland McGrath <roland@hack.frob.com>
46645 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46646 Reported by Allan McRae <allan@archlinux.org>.
46648 2012-03-23 Jeff Law <law@redhat.com>
46650 * nss/getnssent.c (__nss_getent): Fix typo.
46652 2012-03-23 David S. Miller <davem@davemloft.net>
46654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46656 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46658 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46659 to pad to uint64_t for each field.
46660 (dl_tls_index): Replace unsigned long with uint64_t.
46662 2012-03-23 Daniel Jacobowitz <dmj@google.com>
46663 Paul Pluzhnikov <ppluzhnikov@google.com>
46666 * grp/Makefile (otherlibs): Don't set it.
46667 * inet/Makefile (otherlibs): Likewise.
46668 * login/Makefile (otherlibs): Likewise.
46669 * nscd/Makefile (otherlibs): Likewise.
46670 * posix/Makefile (otherlibs): Likewise.
46671 * pwd/Makefile (otherlibs): Likewise.
46672 * rt/Makefile (otherlibs): Likewise.
46673 * sunrpc/Makefile (otherlibs): Likewise.
46674 * nss/Makefile (otherlibs): Likewise.
46675 Add libnss_files to routines and static-only-routines.
46676 ($(objpfx)getent): Remove rule.
46677 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46678 static-only-routines.
46680 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46683 * math/s_cexp.c: Include <float.h>.
46684 (__cexp): Handle exp result overflowing not necessarily
46685 overflowing both real and imaginary parts of result.
46686 * math/s_cexpf.c: Likewise.
46687 * math/s_cexpl.c: Likewise.
46688 * math/libm-test.inc (cexp_test): Add more tests.
46689 * sysdeps/i386/fpu/libm-test-ulps: Update.
46690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46692 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46694 * include/link.h (ELFW): New macro.
46695 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46696 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46698 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46700 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46703 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46705 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46707 (struct La_x32_retval): Likewise.
46709 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46711 * sysdeps/x86_64/preconfigure.in: New file.
46712 * sysdeps/x86_64/preconfigure: New generated file.
46714 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46717 * math/e_exp2l.c: Include <float.h>.
46718 (__ieee754_exp2l): Handle overflow and underflow cases
46719 separately. Only pass fractional part of argument to
46721 * math/libm-test.inc (exp2_test): Add more tests.
46723 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46724 negating x to take absolute value.
46725 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46727 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46728 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46730 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46731 computing low part if x was negated.
46732 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46734 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46736 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46737 la_x32_gnu_pltexit.
46738 (pltexit): Cast int_retval to ptrdiff_t.
46739 * elf/tst-auditmod3b.c: Likewise.
46740 * elf/tst-auditmod4b.c: Likewise.
46741 * elf/tst-auditmod5b.c: Likewise.
46742 * elf/tst-auditmod6b.c: Likewise.
46743 * elf/tst-auditmod6c.c: Likewise.
46744 * elf/tst-auditmod7b.c: Likewise.
46746 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46747 and x32_gnu_pltexit.
46749 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46750 __ELF_NATIVE_CLASS.
46751 (La_x32_regs): New macro.
46752 (La_x32_retval): Likewise.
46753 (la_x32_gnu_pltenter): New function prototype.
46754 (la_x32_gnu_pltexit): Likewise.
46756 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46758 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46763 * configure.in (libc_cv_cc_nofma): Check for option to disable
46764 generation of FMA instructions.
46765 * configure: Regenerate.
46766 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46767 * sysdeps/ieee754/dbl-64/Makefile: New file.
46768 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46769 Remove brandred-fma4.
46770 (CFLAGS-brandred-fma4.c): Remove.
46771 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46772 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46774 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46777 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46779 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46780 LLONG_MAX != LONG_MAX.
46781 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46782 (_fitoa_word): Likewise.
46783 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46784 LLONG_MAX != LONG_MAX.
46785 * stdio-common/_itowa.h: Include <_itoa.h>.
46786 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46787 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46788 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46789 only if not defined.
46790 (_ITOA_WORD_TYPE): Likewise.
46791 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46792 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46794 2012-03-21 David S. Miller <davem@davemloft.net>
46796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46798 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46800 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46801 of x86_64 when setting libc_cv_slibdir, libdir and
46803 * sysdeps/unix/sysv/linux/configure: Regenerated.
46805 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46807 * manual/lang.texi (Old Varargs): Remove section.
46808 (How Variadic): Update menu.
46809 (va_start): Do not mention varargs.h.
46811 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46812 Joseph Myers <joseph@codesourcery.com>
46814 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46816 * configure: Regenerated.
46818 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46820 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46821 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46824 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46827 * Makefile (files-for-dist): Remove NOTES.
46828 (NOTES): Remove rule.
46829 * README: Don't refer to NOTES.
46830 * manual/creature.texi: Don't include macros.texi.
46831 * manual/intro.texi (creature.texi): Remove comment referring to
46834 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46835 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46836 * configure: Regenerated.
46837 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46838 LIBC_TRY_CC_OPTION.
46839 (libc_cv_as_i686): Likewise.
46840 (libc_cv_cc_avx): Likewise.
46841 (libc_cv_cc_sse2avx): Likewise.
46842 (libc_cv_cc_fma4): Likewise.
46843 (libc_cv_cc_novzeroupper): Likewise.
46844 * sysdeps/i386/configure: Regenerated.
46847 * sysdeps/i386/fpu/s_cexp.S: Remove.
46848 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46849 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46850 * math/libm-test.inc (cexp_test): Add more tests.
46851 * sysdeps/i386/fpu/libm-test-ulps: Update.
46852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46854 2012-03-21 Allan McRae <allan@archlinux.org>
46856 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46858 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46861 * math/w_exp2.c: Do not include <float.h>.
46862 (o_threshold, u_threshold): Remove.
46863 (__exp2): Calculate result before checking finiteness and calling
46865 * math/w_exp2f.c: Likewise.
46866 * math/w_exp2l.c: Likewise.
46867 * math/libm-test.inc (exp2_test): Require overflow exception for
46871 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46872 range of signed 64-bit integers before using fistpll. Remove
46873 checks for whether integers fit in mantissa bits.
46874 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46875 the range of signed 32-bit integers before using fistpl. Remove
46876 checks for whether integers fit in mantissa bits.
46877 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46878 (__ieee754_powl): Test for y outside the range of signed 64-bit
46879 integers before using fistpll. Reduce 64-bit values to 63-bit
46881 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46882 divide-by-zero is raised for zero to large negative powers.
46883 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46884 (__ieee754_powl): Test for y outside the range of signed 64-bit
46885 integers before using fistpll. Reduce 64-bit values to 63-bit
46887 * math/libm-test.inc (pow_test): Add more tests.
46889 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46891 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46892 <stdio-common/_itoa.h>.
46893 * debug/segfault.c: Likewise.
46894 * elf/dl-cache.c: Likewise.
46895 * elf/dl-minimal.c: Likewise.
46896 * elf/dl-misc.c: Likewise.
46897 * elf/dl-sysdep.c: Likewise.
46898 * elf/dl-version.c: Likewise.
46899 * elf/rtld.c: Likewise.
46900 * hurd/hurdsock.c: Likewise.
46901 * hurd/lookup-retry.c: Likewise.
46902 * malloc/malloc.c: Likewise.
46903 * malloc/mtrace.c: Likewise.
46904 * nscd/nscd_getgr_r.c: Likewise.
46905 * nscd/nscd_getpw_r.c: Likewise.
46906 * nscd/nscd_getserv_r.c: Likewise.
46907 * posix/getopt_init.c: Likewise.
46908 * posix/wordexp.c: Likewise.
46909 * stdio-common/_itoa.c: Likewise.
46910 * stdio-common/printf_fphex.c: Likewise.
46911 * stdio-common/vfprintf.c: Likewise.
46912 * string/_strerror.c: Likewise.
46913 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46914 * sysdeps/i386/i686/hp-timing.h: Likewise.
46915 * sysdeps/mach/_strerror.c: Likewise.
46916 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46917 * sysdeps/mach/hurd/sethostid.c: Likewise.
46918 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46919 * sysdeps/mach/xpg-strerror.c: Likewise.
46920 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46921 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46922 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46923 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46924 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46925 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46926 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46927 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46928 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46929 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46930 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46931 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46932 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46933 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46934 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46935 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46936 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46937 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46938 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46939 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46940 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46942 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46944 * stdio-common/_itoa.h: Moved to ...
46945 * sysdeps/generic/_itoa.h: Here.
46947 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46949 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46950 instead of "_itoa.h" and "_itowa.h".
46951 * stdio-common/vfprintf.: Likewise.
46953 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46955 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46957 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46958 (__signbit): Likwise.
46959 (llrintf): Likwise.
46962 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46964 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46967 2012-03-20 Joseph Myers <joseph@codesourcery.com>
46969 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46970 OVERFLOW_EXCEPTION_OK.
46971 * math/libm-test.inc ("Philosophy"): Update comment about
46973 (OVERFLOW_EXCEPTION): Define.
46974 (OVERFLOW_EXCEPTION_OK): Likewise.
46975 (INVALID_EXCEPTION_OK): Renumber.
46976 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46977 (IGNORE_ZERO_INF_SIGN): Likewise.
46978 (test_exceptions): Handle FE_OVERFLOW.
46979 (exp10_test): Expect overflow exceptions.
46980 (exp2_test): Likewise.
46981 (expm1_test): Likewise.
46982 (nextafter_test): Likewise.
46983 (pow_test): Likewise.
46984 (scalbn_test): Likewise.
46985 (scalbln_test): Likewise.
46987 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46989 * sysdeps/x86_64/bits/atomic.h
46990 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46992 (atomic_exchange_acq): Likewise.
46993 (__arch_exchange_and_add_body): Likewise.
46994 (__arch_add_body): Likewise.
46995 (atomic_add_negative): Likewise.
46996 (atomic_add_zero): Likewise.
46998 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47000 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47001 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47003 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47005 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47006 Check __x86_64__ instead of __WORDSIZE.
47008 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47010 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47012 2012-03-19 David S. Miller <davem@davemloft.net>
47014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47016 * sysdeps/sparc/fpu/fenv_private.h: New file.
47017 * sysdeps/sparc/fpu/math_private.h: Use it.
47018 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47020 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47021 (libc_feholdexcept_setroundl): Remove.
47022 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47024 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47025 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47027 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47029 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47030 int64_t instead of long int.
47031 (INSERT_WORDS64): Likwise.
47033 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47035 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47036 _Unwind_GetCFA return to _Unwind_Ptr first.
47038 2012-03-19 Joseph Myers <joseph@codesourcery.com>
47041 * math/s_clog.c: Include <float.h>.
47042 (__clog): Scale large or subnormal inputs.
47043 * math/s_clogf.c: Likewise.
47044 * math/s_clogl.c: Likewise.
47045 * math/s_clog10.c: Include <float.h>.
47046 (M_LOG10_2): Define.
47047 (__clog10): Scale large or subnormal inputs.
47048 * math/s_clog10f.c: Likewise.
47049 * math/s_clog10l.c: Likewise.
47050 * math/libm-test.inc (clog_test): Add more tests.
47051 (clog10_test): Likewise.
47052 * sysdeps/i386/fpu/libm-test-ulps: Update.
47053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47056 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47058 * math/libm-test.inc (atan2_test): Add another test.
47060 * Makerules (common-objdir-compile): Remove.
47061 * sysdeps/unix/Makefile (config-generated): Do not add
47062 $(unix-generated) to variable.
47063 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47064 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47066 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47068 [generic bits/local_lim.h] (before-compile): Do not append to
47070 [generic bits/local_lim.h] (common-generated): Likewise.
47071 [generic sys/param.h] (before-compile): Do not append to variable.
47072 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47073 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47074 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47075 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47077 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47078 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47079 [generic sys/param.h] ($(addprefix
47080 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47081 [generic sys/param.h] (common-generated): Do not append to
47083 [generic sys/param.h] (sysdep_headers): Likewise.
47084 [generic bits/errno.h] (before-compile): Do not append to
47086 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47088 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47089 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47090 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47091 [generic bits/errno.h] (common-generated): Do not append to
47093 [generic bits/ioctls.h] (before-compile): Do not append to
47095 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47097 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47098 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47099 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47101 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47102 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47103 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47104 [generic bits/ioctls.h] (common-generated): Do not append to
47106 [generic sys/syscall.h] (syscall.h): Remove variable.
47107 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47109 [generic sys/syscall.h] (before-compile): Do not append to
47111 [generic sys/syscall.h] (common-generated): Likewise.
47112 * sysdeps/unix/errnos-tmpl.c: Remove file.
47113 * sysdeps/unix/errnos.awk: Likewise.
47114 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47115 * sysdeps/unix/ioctls.awk: Likewise.
47116 * sysdeps/unix/mk-local_lim.c: Likewise.
47117 * sysdeps/unix/snarf-ioctls: Likewise.
47119 2012-03-19 Richard Henderson <rth@twiddle.net>
47121 * sysdeps/i386/fpu/fenv_private.h: New file.
47122 * sysdeps/i386/fpu/math_private.h: Use it.
47123 (math_opt_barrier, math_force_eval): Remove.
47124 (libc_feholdexcept_setround_53bit): Remove.
47125 (libc_feupdateenv_53bit): Remove.
47126 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47127 (math_opt_barrier, math_force_eval): Remove.
47128 (libc_feholdexcept): Remove.
47129 (libc_feholdexcept_setround): Remove.
47130 (libc_fetestexcept, libc_fesetenv): Remove.
47131 (libc_feupdateenv_test): Remove.
47132 (libc_feupdateenv, libc_feholdsetround): Remove.
47133 (libc_feresetround): Remove.
47135 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47136 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47138 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47139 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47140 (libc_feupdateenv_testl): New.
47141 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47142 (libc_feupdateenv_testf): New.
47143 (libc_feupdateenv): Use libc_feupdateenv_test.
47144 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47145 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47147 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47148 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47149 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47150 (libc_feresetround_noex): New.
47151 (libc_feresetround_noexf): New.
47152 (libc_feresetround_noexl): New.
47153 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47154 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47155 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47156 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47158 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47159 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47161 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47162 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47163 SET_RESTORE_ROUND_NOEX.
47164 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47165 SET_RESTORE_ROUND_NOEXF.
47166 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47167 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47168 (libc_feholdsetroundf): New.
47169 (libc_feresetround, libc_feresetroundf): New.
47171 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47172 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47173 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47175 * sysdeps/generic/math_private.h: Include <fenv.h>.
47176 (default_libc_feholdexcept): New.
47177 (default_libc_feholdexcept_setround): New.
47178 (default_libc_fesetenv, default_libc_feupdateenv): New.
47179 (libc_feholdexcept): Only define if undefined.
47180 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47181 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47182 (libc_feholdexcept_setroundl): Likewise.
47183 (libc_feholdexcept_setround_53bit): Likewise.
47184 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47185 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47186 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47187 (libc_feupdateenv_53bit): Likewise.
47188 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47189 (libc_feholdexcept): Convert from macro to inline function.
47190 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47191 (libc_fesetenv, libc_feupdateenv): Likewise.
47193 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47194 not previously defined.
47195 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47196 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47197 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47198 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47199 * sysdeps/ieee754/flt-32/math_private.h: New file.
47200 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47201 math_private.h below SET_FLOAT_WORD.
47202 (__isnan, __isinf_ns, __finite): Remove.
47203 (__isnanf, __isinf_nsf, __finitef): Remove.
47205 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47209 2012-03-17 David S. Miller <davem@davemloft.net>
47212 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47215 2012-03-16 David S. Miller <davem@davemloft.net>
47217 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47221 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47223 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47224 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47225 sysdep_routines when subdir is sysvipc.
47226 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47227 __getshmlba helper.
47229 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47231 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47233 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47236 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47238 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47239 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47240 (__lround): Renamed to ...
47241 (__llround): This. Replace long int with long long int.
47242 Define lround functions as aliases of llround functions.
47243 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47245 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47247 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47248 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47249 adresses to uintptr_t. Replace "long int" and "unsigned long
47250 int" with "greg_t" on va_arg.
47252 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47254 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47255 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47257 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47258 Move e_machine check before EI_CLASS check. Handle x32
47259 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47260 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47261 SKIP_EM_IA_64 and include
47262 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47264 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47265 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47266 (add_system_dir): New macro.
47268 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47269 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47271 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47282 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47284 * math/w_j0f.c (j0f): Likewise.
47286 * math/w_j0l.c (__j0l): Likewise.
47288 * math/w_j1.c (j1): Likewise.
47290 * math/w_j1f.c (j1f): Likewise.
47292 * math/w_j1l.c (__j1l): Likewise.
47294 * math/w_jn.c (jn): Likewise.
47296 * math/w_jnf.c (jnf): Likewise.
47298 * math/w_jnl.c (__jnl): Likewise.
47300 * math/libm-test.inc (j0_test): Add more tests.
47301 (j1_test): Likewise.
47302 (jn_test): Likewise. Add trailing semicolon to existing test.
47303 (y0_test): Likewise.
47304 (y1_test): Likewise.
47305 * sysdeps/i386/fpu/libm-test-ulps: Update.
47306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47310 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47311 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47312 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47313 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47314 (__tanl): Set errno for infinite argument.
47315 * sysdeps/i386/fpu/mptan.c: Remove.
47316 * sysdeps/i386/fpu/s_tan.S: Likewise.
47317 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47318 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47319 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47320 * math/libm-test.inc (tan_test): Add more tests and enable more
47321 tests for double and long double.
47322 * sysdeps/i386/fpu/libm-test-ulps: Update.
47323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47325 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47327 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47328 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47330 2012-03-16 Roland McGrath <roland@hack.frob.com>
47332 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47333 * configure.in: Use it for both main tree and add-ons.
47334 * configure: Regenerated.
47336 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47338 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47340 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47342 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47346 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47347 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47348 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47349 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47350 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47352 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47353 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47354 != 0 for prec == 2.
47355 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47356 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47357 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47358 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47359 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47360 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47361 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47362 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47363 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47364 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47365 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47366 * math/libm-test.inc (cos_test): Add more tests and enable more
47367 tests for long double.
47368 (sin_test): Likewise.
47369 (sincos_test): Likewise.
47370 * sysdeps/i386/fpu/libm-test-ulps: Update.
47371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47373 2012-03-16 David S. Miller <davem@davemloft.net>
47375 * sysdeps/sparc/fpu/math_private.h: New file.
47377 2012-03-15 David S. Miller <davem@davemloft.net>
47379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47389 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47393 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47394 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47396 * sysdeps/sparc/sparc-ifunc.h: New file.
47397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47423 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47424 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47435 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47436 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47437 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47438 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47439 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47440 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47442 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47444 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47448 2012-03-15 Andreas Jaeger <aj@suse.de>
47451 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47452 ieee754/flt-32 implementation for sin, cos and sincos.
47453 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47454 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47455 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47456 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47457 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47458 ieee754/flt-32 implementation for tan.
47460 * math/libm-test.inc (cos_test): Enable some large input tests for
47462 (sin_test): Likewise.
47463 (sincos_test): Likewise.
47464 (tan_test): Add tests for large input.
47466 * sysdeps/i386/fpu/libm-test-ulps: Update.
47468 2012-03-15 Andreas Jaeger <aj@suse.de>
47471 * math/libm-test.inc (cos_test): Add more test cases.
47472 (sin_test): Likewise.
47473 (sincos_test): Likewise.
47475 2012-03-15 Andreas Jaeger <aj@suse.de>
47478 * math/libm-test.inc (cos_test): Add a test case for large input
47480 (sin_test): Likewise.
47481 (sincos_test): Likewise.
47483 2012-03-15 Andreas Jaeger <aj@suse.de>
47484 Joseph Myers <joseph@codesourcery.com>
47487 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47488 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47489 * sysdeps/i386/fpu/branred.c: Likewise.
47490 * sysdeps/i386/fpu/dosincos.c: Likewise.
47491 * sysdeps/i386/fpu/mpa.c: Likewise.
47492 * sysdeps/i386/fpu/s_cos.S: Likewise.
47493 * sysdeps/i386/fpu/s_sin.S: Likewise.
47494 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47495 * sysdeps/i386/fpu/sincos32.c: Likewise.
47497 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47499 (libc_feupdateenv_53bit): Define.
47500 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47502 (libc_feupdateenv_53bit): Define.
47504 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47505 53 bit (without extend i386 double precision).
47507 * math/libm-test.inc (sincos_test): Add tests for large input.
47511 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47513 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47517 2012-03-15 David S. Miller <davem@davemloft.net>
47519 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47520 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47521 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47522 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47546 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47547 fmin/fmax sysdep routines.
47548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47550 2012-03-14 David S. Miller <davem@davemloft.net>
47552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47556 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47557 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47558 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47559 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47561 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47569 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47572 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47573 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47574 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47575 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47576 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47577 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47578 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47579 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47580 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47624 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47629 * sysdeps/sparc/configure.in: New file.
47630 * sysdeps/sparc/configure: Generate.
47631 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47632 * configure: Regenerate.
47633 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47634 * config.make.in (have-as-vis3): New.
47635 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47636 available use -Av9d instead of -Av9a.
47637 * sysdeps/sparc/sparc64/Makefile: Likewise.
47638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47647 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47648 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47649 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47650 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47651 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47653 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47654 fzeros/fnegs to load 0x80000000 into a float register instead of
47656 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47658 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47662 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47663 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47664 ($(inst_includedir)/bits/syscall.h): Remove rule.
47665 ($(objpfx)bits/syscall.d): Include instead of
47666 $(objpfx)syscall-list.d.
47667 (generated): Change syscall-list.h and syscall-list.d to
47668 bits/syscall.h and bits/syscall.d.
47670 2012-03-14 Roland McGrath <roland@hack.frob.com>
47673 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47675 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47678 * math/s_csqrt.c: Include <float.h>.
47679 (__csqrt): Scale large or subnormal inputs.
47680 * math/s_csqrtf.c: Likewise.
47681 * math/s_csqrtl.c: Likewise.
47682 * math/libm-test.inc (csqrt_test): Add more tests.
47683 * sysdeps/i386/fpu/libm-test-ulps: Update.
47684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47687 * math/libm-test.inc (hypot_test): Add more tests.
47689 2012-03-13 David S. Miller <davem@davemloft.net>
47692 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47693 double-precision for the calculation instead of scaling.
47695 2012-03-13 Joseph Myers <joseph@codesourcery.com>
47697 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47698 manipulate bits before adding and subtracting TWO52[sx].
47699 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47700 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47702 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47704 2012-03-13 David S. Miller <davem@davemloft.net>
47706 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47707 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47708 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47709 rtld-global-offsets.h
47710 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47712 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47715 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47717 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47718 'err' in the ifdef scope in which it is actually used.
47720 * nss/nss_db/db-init.c: Include string.h
47722 2012-03-12 David S. Miller <davem@davemloft.net>
47724 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47725 masking out of the most significant byte of random value used.
47726 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47727 Fix coding style in previous change.
47729 * sysdeps/unix/sysv/linux/kernel-features.h
47730 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47731 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47733 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47736 2012-03-11 David S. Miller <davem@davemloft.net>
47738 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47739 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47740 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47741 for 'resultvar' otherwise things get truncated on 64-bit.
47743 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47744 Fix masking out of the most significant byte of random value used.
47746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47748 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47752 2012-03-09 David S. Miller <davem@davemloft.net>
47754 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47755 variables with appropriate CPP guards.
47756 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47757 from the frame pointer, not the stack pointer. Correct layout
47758 comments. Fix test on resulting framesize and the management of
47759 the outregs buffer for pltexit. Preserve floating point return
47760 values across _dl_call_pltexit call.
47761 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47762 framesize and the management of the outregs buffer for pltexit.
47763 Preserve floating point return values across _dl_call_pltexit
47765 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47766 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47767 (la_sparc64_gnu_pltexit): New functions.
47768 (print_exit): Fix format string for return register value.
47770 2012-03-10 Joseph Myers <joseph@codesourcery.com>
47772 * sunrpc/Makefile (others): Add rpcgen.
47773 ($(objpfx)rpcgen): Remove special build rule and dependency on
47775 * sunrpc/rpcgen.c: New file.
47777 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47780 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47781 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47782 * sysdeps/i386/crti.S: Likewise.
47783 * sysdeps/i386/crtn.S: Likewise.
47784 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47785 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47786 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47787 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47788 * sysdeps/sh/crti.S: Likewise.
47789 * sysdeps/sh/crtn.S: Likewise.
47790 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47793 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47795 * locale/programs/locfile-kw.gperf: Likewise.
47796 * locale/programs/charmap-kw.h: Regenerated.
47797 * locale/programs/locfile-kw.h: Likewise.
47800 * intl/plural.y: Replace FSF snail mail address with URL.
47801 * intl/plural.c: Regenerated.
47803 2012-03-09 Richard Henderson <rth@twiddle.net>
47805 * include/math_private.h: Remove file.
47806 * math/math_private.h: Move file ...
47807 * sysdeps/generic/math_private.h: ... here.
47809 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47810 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47811 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47813 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47814 and <math_private.h>.
47815 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47816 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47817 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47818 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47819 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47820 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47821 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47822 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47823 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47824 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47826 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47827 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47828 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47829 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47830 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47831 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47832 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47833 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47834 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47836 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47837 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47838 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47839 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47840 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47841 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47842 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47844 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47845 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47846 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47847 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47848 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47849 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47850 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47851 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47852 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47853 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47854 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47855 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47856 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47857 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47858 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47859 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47860 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47861 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47862 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47863 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47864 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47865 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47866 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47867 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47868 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47869 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47870 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47871 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47872 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47873 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47874 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47875 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47876 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47877 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47878 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47879 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47880 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47881 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47882 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47883 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47884 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47885 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47886 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47887 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47888 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47889 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47890 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47891 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47892 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47893 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47894 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47895 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47896 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47897 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47898 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47899 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47900 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47901 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47902 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47903 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47904 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47905 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47906 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47907 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47908 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47909 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47910 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47911 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47912 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47913 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47914 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47915 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47916 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47917 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47918 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47919 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47920 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47921 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47922 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47923 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47924 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47925 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47926 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47927 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47928 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47929 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47930 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47931 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47932 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47933 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47934 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47935 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47936 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47937 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47938 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47939 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47940 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47941 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47942 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47943 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47944 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47945 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47946 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47947 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47948 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47949 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47950 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47951 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47952 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47953 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47954 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47955 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47956 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47957 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47958 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47959 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47960 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47961 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47962 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47963 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47964 * sysdeps/ieee754/k_standard.c: Likewise.
47965 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47966 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47967 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47968 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47969 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47970 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47971 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47972 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47973 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47974 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47975 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47976 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47977 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47978 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47979 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47980 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47981 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47982 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47983 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47984 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47985 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47986 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47987 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47988 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47989 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47990 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47991 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47992 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47993 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47994 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47995 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47996 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47997 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47998 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47999 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48000 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48001 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48002 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48003 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48004 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48005 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48006 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48007 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48008 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48009 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48010 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48011 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48012 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48013 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48014 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48015 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48016 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48017 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48018 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48019 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48020 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48021 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48022 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48023 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48024 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48025 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48026 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48027 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48028 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48029 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48030 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48031 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48032 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48033 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48034 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48035 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48036 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48037 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48038 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48039 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48040 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48041 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48042 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48043 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48044 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48045 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48046 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48047 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48048 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48049 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48050 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48051 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48052 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48053 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48054 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48055 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48056 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48057 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48058 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48059 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48060 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48061 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48062 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48063 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48064 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48065 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48066 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48067 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48068 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48069 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48070 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48071 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48072 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48073 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48074 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48075 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48076 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48077 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48078 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48079 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48080 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48081 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48082 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48083 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48084 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48085 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48086 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48087 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48088 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48089 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48090 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48091 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48092 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48093 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48094 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48095 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48096 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48097 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48098 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48099 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48100 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48101 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48102 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48103 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48104 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48105 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48106 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48107 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48108 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48109 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48110 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48111 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48112 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48113 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48114 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48115 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48116 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48117 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48118 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48119 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48120 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48121 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48122 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48123 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48124 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48125 * sysdeps/ieee754/s_lib_version.c: Likewise.
48126 * sysdeps/ieee754/s_matherr.c: Likewise.
48127 * sysdeps/ieee754/s_signgam.c: Likewise.
48128 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48129 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48130 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48131 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48132 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48133 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48134 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48135 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48136 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48137 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48138 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48139 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48140 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48141 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48142 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48143 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48144 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48145 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48146 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48147 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48148 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48150 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48152 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48153 * sunrpc/rpc_main.c: Likewise.
48154 * sunrpc/rpc_svcout.c: Likewise.
48156 2012-03-09 David S. Miller <davem@davemloft.net>
48158 * include/math_private.h: New file.
48160 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48162 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48163 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48164 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48165 from <bits/socket_type.h>.
48166 (enum __socket_type): Don't define here.
48167 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48169 bits/socket_type.h.
48172 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48173 checking __USE_GNU.
48175 * Makerules ($(inst_includedir)/%.h): New rule.
48176 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48177 (install-others): Remove variable setting.
48178 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48180 2012-03-08 Richard Henderson <rth@twiddle.net>
48182 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48183 from macro to inline function; merge with the
48184 !__LIBC_INTERNAL_MATH_INLINES version.
48185 (__ieee754_sqrtf): Likewise.
48187 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48188 to inline function.
48189 (__rintf, __floor, __floorf): Likewise.
48191 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48192 macro to inline function.
48193 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48195 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48196 not <math/math_private.h>.
48198 2012-03-08 David S. Miller <davem@davemloft.net>
48200 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48202 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48204 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48206 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48208 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48209 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48211 2012-03-08 Ulrich Drepper <drepper@gmail.com>
48213 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48214 be defined individually, they must be defined as a block. Define
48215 S for printing a string instead of hidint the different by using a
48216 macro for adding the 'l'.
48217 * stdio-common/tst-fphex-wide.c: Adjust.
48219 2012-03-07 Marek Polacek <polacek@redhat.com>
48221 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48223 2012-03-08 Marek Polacek <polacek@redhat.com>
48226 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48227 * stdio-common/tst-fphex.c: Define a few macros to make the
48228 test reusable. Use them.
48229 * stdio-common/tst-fphex-wide.c: New file.
48231 2012-03-08 Joseph Myers <joseph@codesourcery.com>
48234 * manual/macros.texi (gnusystems): New macro.
48235 (nongnusystems): Likewise.
48236 (gnulinuxhurdsystems): Likewise.
48237 (gnuhurdsystems): Likewise..
48238 (gnulinuxsystems): Likewise.
48239 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48240 variants of the GNU system, not "GNU system".
48241 * manual/conf.texi: Likewise.
48242 * manual/errno.texi: Likewise. Update example of errno macro
48244 * manual/filesys.texi: Likewise.
48245 (getumask): Document as specific to GNU/Hurd.
48246 * manual/install.texi: Likewise. Reword some references to
48248 * manual/intro.texi: Likewise.
48249 * manual/io.texi: Likewise.
48250 (File Name Portability): Detail which constraints are inapplicable
48251 to all GNU systems and which are only inapplicable to GNU/Hurd.
48252 * manual/job.texi: Likewise.
48253 * manual/llio.texi: Likewise.
48254 (O_NOCTTY): Document as present on GNU/Linux.
48255 * manual/maint.texi: Likewise.
48256 * manual/memory.texi: Likewise.
48257 * manual/pattern.texi: Likewise.
48258 * manual/pipe.texi: Likewise.
48259 * manual/process.texi: Likewise.
48260 * manual/resource.texi: Likewise.
48261 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48263 * manual/setjmp.texi: Likewise.
48264 * manual/signal.texi: Likewise.
48265 * manual/startup.texi: Likewise.
48266 * manual/stdio.texi: Likewise.
48267 * manual/terminal.texi: Likewise.
48268 (ONLCR): Document as POSIX.
48269 (OXTABS): Document availability on GNU/Linux as XTABS.
48270 (ONOEOT): Document availability separately from other bits.
48271 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48272 * manual/time.texi: Likewise.
48273 * manual/users.texi: Likewise.
48274 * INSTALL: Regenerated.
48275 * sysdeps/gnu/errlist.c: Regenerated.
48277 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48278 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48279 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48281 * configure: Regenerated.
48283 2012-03-07 Joseph Myers <joseph@codesourcery.com>
48285 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48286 default includes instead of AC_HEADER_CHECK.
48287 * sysdeps/i386/configure: Regenerated.
48290 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48291 * math/s_cacoshf.c (__cacoshf): Likewise.
48292 * math/s_cacoshl.c (__cacoshl): Likewise.
48293 * math/s_casinh.c (__casinh): Set signs of result from argument.
48294 * math/s_casinhf.c (__casinhf): Likewise.
48295 * math/s_casinhl.c (__casinhl): Likewise.
48296 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48297 (casinh_test): Add more tests.
48298 * sysdeps/i386/fpu/libm-test-ulps: Update.
48299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48301 2012-03-07 Ulrich Drepper <drepper@gmail.com>
48303 * po/zh_TW.po: Update from translation team.
48305 * login/Makefile (distribute): Remove variable.
48306 * catgets/Makefile: Likewise.
48307 * mach/Makefile: Likewise.
48308 * malloc/Makefile: Likewise.
48309 * misc/Makefile: Likewise.
48310 * iconv/Makefile: Likewise.
48311 * nscd/Makefile: Likewise.
48312 * hurd/Makefile: Likewise.
48313 * manual/Makefile: Likewise.
48314 * locale/Makefile: Likewise.
48315 * intl/Makefile: Likewise.
48316 * conform/Makefile: Likewise.
48317 * nss/Makefile: Likewise.
48318 * time/Makefile: Likewise.
48319 * soft-fp/Makefile: Likewise.
48320 * dirent/Makefile: Likewise.
48321 * gmon/Makefile: Likewise.
48322 * po/Makefile: Likewise.
48323 * rt/Makefile: Likewise.
48324 * socket/Makefile: Likewise.
48325 * math/Makefile: Likewise.
48326 * signal/Makefile: Likewise.
48327 * debug/Makefile: Likewise.
48328 * elf/Makefile: Likewise.
48329 * timezone/Makefile: Likewise.
48330 * stdlib/Makefile: Likewise.
48331 * iconvdata/Makefile: Likewise.
48332 * sunrpc/Makefile: Likewise.
48333 * io/Makefile: Likewise.
48334 * argp/Makefile: Likewise.
48335 * inet/Makefile: Likewise.
48336 * hesiod/Makefile: Likewise.
48337 * grp/Makefile: Likewise.
48338 * csu/Makefile: Likewise.
48339 * wctype/Makefile: Likewise.
48340 * crypt/Makefile: Likewise.
48341 * libio/Makefile: Likewise.
48342 * string/Makefile: Likewise.
48343 * nis/Makefile: Likewise.
48344 * resolv/Makefile: Likewise.
48345 * stdio-common/Makefile: Likewise.
48346 * wcsmbs/Makefile: Likewise.
48347 * dlfcn/Makefile: Likewise.
48348 * posix/Makefile: Likewise.
48351 * timezone/Makefile: Don't install timezone files, just the programs
48354 2012-03-06 Ulrich Drepper <drepper@gmail.com>
48356 * nss/databases.def: Add missing gshadow entry.
48358 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48360 2012-03-06 Marek Polacek <polacek@redhat.com>
48363 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48364 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48365 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48366 * stdio-common/tst-long-dbl-fphex.c: New file.
48368 2012-03-06 David S. Miller <davem@davemloft.net>
48370 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48371 (set_obp_int): New function.
48372 (get_obp_int): New function.
48373 (__get_clockfreq_via_dev_openprom): Likewise.
48374 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48375 Avoid unused variable warnings on 'val' and use builtin_expect.
48376 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48378 (INLINE_CLONE_SYSCALL): Likewise.
48380 2012-03-05 David S. Miller <davem@davemloft.net>
48382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48384 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48388 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48389 only for |x| >= 40.
48390 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48392 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
48394 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48395 Replace gettimeofday with __vdso_gettimeofday.
48397 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48398 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48399 __vdso_clock_gettime and __vdso_getcpu.
48401 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48402 time with __vdso_time.
48404 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48406 * manual/lang.texi (size_t): Note types to which size_t may be
48407 equivalent with the GNU C Library, but do not describe when
48408 differences between them are significant.
48410 2012-03-05 Andreas Jaeger <aj@suse.de>
48412 * sysdeps/i386/fpu/libm-test-ulps: Update.
48414 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48417 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48418 (__ieee754_pow): Save and restore rounding mode and use
48419 round-to-nearest for main computations.
48420 * math/libm-test.inc (pow_test_tonearest): New function.
48421 (pow_test_towardzero): Likewise.
48422 (pow_test_downward): Likewise.
48423 (pow_test_upward): Likewise.
48424 (main): Call the new functions.
48425 * sysdeps/i386/fpu/libm-test-ulps: Update.
48426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48429 * math/libm-test.inc (cosh_test_tonearest): New function.
48430 (cosh_test_towardzero): Likewise.
48431 (cosh_test_downward): Likewise.
48432 (cosh_test_upward): Likewise.
48433 (sinh_test_tonearest): Likewise.
48434 (sinh_test_towardzero): Likewise.
48435 (sinh_test_downward): Likewise.
48436 (sinh_test_upward): Likewise.
48437 (main): Call the new functions.
48438 * sysdeps/i386/fpu/libm-test-ulps: Update.
48439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48441 2012-03-05 Tom de Vries <tom@codesourcery.com>
48443 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48444 default stack guard is set in last bytes.
48445 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48447 2012-03-05 Kees Cook <keescook@chromium.org>
48449 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48452 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48453 possibly allocate from heap instead of stack.
48454 * stdio-common/bug-vfprintf-nargs.c: New file.
48455 * stdio-common/Makefile (tests): Add nargs overflow test.
48457 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48461 2012-03-03 Marek Polacek <polacek@redhat.com>
48463 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48464 * math/math_private.h: Likewise.
48465 * stdlib/tst-strtod.c: Likewise.
48466 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48467 * sysdeps/x86_64/bits/atomic.h: Likewise.
48469 2012-03-02 David S. Miller <davem@davemloft.net>
48471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48475 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48476 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48477 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48478 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48480 2012-03-02 Roland McGrath <roland@hack.frob.com>
48483 * manual/examples/README: New file, says the example source files
48484 can be used under GPL>=2.
48485 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48486 line containing just "*/".
48487 * manual/examples/add.c: Add copyright header (GPL>=2).
48488 * manual/examples/argp-ex1.c: Likewise.
48489 * manual/examples/argp-ex2.c: Likewise.
48490 * manual/examples/argp-ex3.c: Likewise.
48491 * manual/examples/argp-ex4.c: Likewise.
48492 * manual/examples/atexit.c: Likewise.
48493 * manual/examples/db.c: Likewise.
48494 * manual/examples/dir.c: Likewise.
48495 * manual/examples/dir2.c: Likewise.
48496 * manual/examples/execinfo.c: Likewise.
48497 * manual/examples/filecli.c: Likewise.
48498 * manual/examples/filesrv.c: Likewise.
48499 * manual/examples/fmtmsgexpl.c: Likewise.
48500 * manual/examples/genpass.c: Likewise.
48501 * manual/examples/inetcli.c: Likewise.
48502 * manual/examples/inetsrv.c: Likewise.
48503 * manual/examples/isockad.c: Likewise.
48504 * manual/examples/longopt.c: Likewise.
48505 * manual/examples/memopen.c: Likewise.
48506 * manual/examples/memstrm.c: Likewise.
48507 * manual/examples/mkfsock.c: Likewise.
48508 * manual/examples/mkisock.c: Likewise.
48509 * manual/examples/mygetpass.c: Likewise.
48510 * manual/examples/pipe.c: Likewise.
48511 * manual/examples/popen.c: Likewise.
48512 * manual/examples/rprintf.c: Likewise.
48513 * manual/examples/search.c: Likewise.
48514 * manual/examples/select.c: Likewise.
48515 * manual/examples/setjmp.c: Likewise.
48516 * manual/examples/sigh1.c: Likewise.
48517 * manual/examples/sigusr.c: Likewise.
48518 * manual/examples/stpcpy.c: Likewise.
48519 * manual/examples/strdupa.c: Likewise.
48520 * manual/examples/strftim.c: Likewise.
48521 * manual/examples/strncat.c: Likewise.
48522 * manual/examples/subopt.c: Likewise.
48523 * manual/examples/swapcontext.c: Likewise.
48524 * manual/examples/termios.c: Likewise.
48525 * manual/examples/testopt.c: Likewise.
48526 * manual/examples/testpass.c: Likewise.
48527 * manual/examples/timeval_subtract.c: Likewise.
48530 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48532 * manual/timeval_subtract.c.texi: ... here, new file.
48534 2012-03-02 David S. Miller <davem@davemloft.net>
48536 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48538 2012-03-02 Joseph Myers <joseph@codesourcery.com>
48541 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48542 (__sin): Save and restore rounding mode and use round-to-nearest
48543 for all computations.
48544 (__cos): Save and restore rounding mode and use round-to-nearest
48545 for all computations.
48546 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48548 (tan): Save and restore rounding mode and use round-to-nearest for
48550 * math/libm-test.inc (cos_test_tonearest): New function.
48551 (cos_test_towardzero): Likewise.
48552 (cos_test_downward): Likewise.
48553 (cos_test_upward): Likewise.
48554 (sin_test_tonearest): Likewise.
48555 (sin_test_towardzero): Likewise.
48556 (sin_test_downward): Likewise.
48557 (sin_test_upward): Likewise.
48558 (tan_test_tonearest): Likewise.
48559 (tan_test_towardzero): Likewise.
48560 (tan_test_downward): Likewise.
48561 (tan_test_upward): Likewise.
48562 (main): Call the new functions.
48563 * sysdeps/i386/fpu/libm-test-ulps: Update.
48564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48567 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48568 small n, then large n, before computing and testing k+n.
48569 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48570 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48572 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48574 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48575 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48576 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48577 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48578 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48579 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48580 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48581 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48582 * math/libm-test.inc (scalbn_test): Add more tests.
48583 (scalbln_test): Likewise.
48585 * manual/filesys.texi (mode_t): Describe constraints on size and
48586 signedness, not exact equivalence to a particular type.
48588 (ino64_t): Likewise.
48590 (nlink_t): Likewise.
48591 (blkcnt_t): Likewise.
48592 (blkcnt64_t): Likewise.
48593 * manual/llio.texi (off_t): Likewise.
48596 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48597 (__ieee754_exp): Save and restore rounding mode and use
48598 round-to-nearest for all computations.
48599 * math/libm-test.inc (exp_test_tonearest): New function.
48600 (exp_test_towardzero): Likewise.
48601 (exp_test_downward): Likewise.
48602 (exp_test_upward): Likewise.
48603 (main): Call the new functions.
48604 * sysdeps/i386/fpu/libm-test-ulps: Update.
48605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48607 2012-03-01 Chris Demetriou <cgd@google.com>
48609 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48610 have predictable order.
48612 2012-03-01 David S. Miller <davem@davemloft.net>
48614 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48616 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48617 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48618 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48619 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48621 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48622 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48623 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48625 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48626 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48627 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48628 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48629 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48633 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48634 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48635 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48637 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48638 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48639 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48640 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48641 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48642 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48643 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48644 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48645 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48646 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48647 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48648 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48649 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48650 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48651 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48652 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48653 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48654 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48655 * sysdeps/sparc/elf/configure: Regenerated.
48657 2012-03-01 Joseph Myers <joseph@codesourcery.com>
48659 * configure.in (AS, LD): Require binutils 2.20 or later.
48660 * configure: Regenerated.
48661 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48662 as required minimum version.
48663 * INSTALL: Regenerated.
48667 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48668 before squaring exponent.
48669 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48670 bottom long double and 27 bits of top long double before squaring
48672 * math/libm-test.inc (erfc_test): Add more tests.
48673 * sysdeps/i386/fpu/libm-test-ulps: Update.
48674 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48677 2012-03-01 Kai Tietz <ktietz@redhat.com>
48679 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48680 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48681 containing bit-fields.
48682 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48683 * soft-fp/single.h (_FP_UNION_S): Likewise.
48684 * soft-fp/double.h (_FP_UNION_D): Likewise.
48686 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48689 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48690 not include ../strcmp.S.
48691 [USE_AS_STRNCASECMP_L]: Likewise.
48692 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48693 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48694 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48695 (__strncasecmp_l_ia32): Define as alias to
48696 __strncasecmp_l_nonascii.
48699 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48700 * sysdeps/i386/fpu/libm-test-ulps: Update.
48701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48703 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48706 2012-02-29 Jeff Law <law@redhat.com>
48708 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48709 out of bounds read.
48711 2012-02-29 Marek Polacek <polacek@redhat.com>
48714 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48715 * elf/Makefile: Add rules to run tst-unused-dep.out.
48717 2012-02-28 David S. Miller <davem@davemloft.net>
48719 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48720 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48721 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48722 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48723 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48724 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48726 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48728 * math/libm-test.inc (llround_test): Move one test from
48729 lround_test. Use TEST_f_L in moved test.
48730 (lround_test): Move misplaced test to llround_test. Add testcase
48733 2012-02-28 Ulrich Drepper <drepper@gmail.com>
48735 * sysdeps/x86_64/fpu/e_expf.S: New file.
48736 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48738 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48741 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48742 of remain_len that may cause incomplete multi-byte character and
48744 * posix/bug-regex33.c: New file.
48745 * posix/Makefile (tests): Add bug-regex33.
48747 2012-02-28 Joseph Myers <joseph@codesourcery.com>
48749 * manual/macros.texi: New file.
48750 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48751 * manual/libc.texinfo: Include macros.texi.
48752 * manual/creatute.texi: Likewise.
48753 * manual/install.texi: Likewise.
48754 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48755 @glibcadj{} in references to the GNU C Library.
48756 * manual/charset.texi: Likewise.
48757 * manual/conf.texi: Likewise.
48758 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48759 when not using those macros.
48760 * manual/creature.texi: Likewise.
48761 * manual/crypt.texi: Likewise.
48762 * manual/errno.texi: Likewise.
48763 * manual/filesys.texi: Likewise.
48764 * manual/header.texi: Likewise.
48765 * manual/install.texi: Likewise.
48766 * manual/intro.texi: Likewise.
48767 * manual/io.texi: Likewise.
48768 * manual/job.texi: Likewise.
48769 * manual/lang.texi: Likewise.
48770 * manual/libc.texiinfo: Likewise.
48771 * manual/llio.texi: Likewise.
48772 * manual/locale.texi: Likewise.
48773 * manual/maint.texi: Likewise.
48774 * manual/math.texi: Likewise.
48775 * manual/memory.texi: Likewise.
48776 * manual/message.texi: Likewise.
48777 * manual/nss.texi: Likewise.
48778 * manual/pattern.texi: Likewise.
48779 * manual/process.texi: Likewise.
48780 * manual/resource.texi: Likewise.
48781 * manual/search.texi: Likewise.
48782 * manual/setjmp.texi: Likewise.
48783 * manual/signal.texi: Likewise.
48784 * manual/socket.texi: Likewise.
48785 * manual/startup.texi: Likewise.
48786 * manual/stdio.texi: Likewise.
48787 * manual/string.texi: Likewise.
48788 * manual/sysinfo.texi: Likewise.
48789 * manual/syslog.texi: Likewise.
48790 * manual/terminal.texi: Likewise.
48791 * manual/time.texi: Likewise.
48792 * manual/users.texi: Likewise.
48793 * INSTALL: Regenerated.
48794 * NOTES: Regenerated.
48795 * sysdeps/gnu/errlist.c: Regenerated.
48797 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48799 * include/dirent.h: Include <dirstream.h> before
48802 2012-02-28 David S. Miller <davem@davemloft.net>
48804 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48805 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48806 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48807 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48809 2012-02-27 David S. Miller <davem@davemloft.net>
48811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48813 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48814 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48817 frame pointer instead of stack pointer relative arg slot.
48818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48819 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48820 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48822 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48825 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48827 2012-02-27 David S. Miller <davem@davemloft.net>
48829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48833 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48834 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48835 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48836 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48838 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48840 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48841 later. Allow versions 5-9.
48842 * configure: Regenerated.
48843 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48844 required minimum version and 4.6 as recommended version. Do not
48845 mention bugs in GCC 2.7 and 2.8.
48846 * INSTALL: Regenerated.
48848 2012-02-27 David S. Miller <davem@davemloft.net>
48850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48854 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48855 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48856 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48857 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48859 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48860 manipulate bits before adding and subtracting TWO112[sx].
48861 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48863 2012-02-27 Roland McGrath <roland@hack.frob.com>
48866 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48867 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48868 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48869 being in POSIX, because they are in 1003.1-2008.
48871 * rt/tst-aio.c: Include <fcntl.h>.
48872 * rt/tst-aio7.c: Likewise.
48873 * rt/tst-aio64.c: Likewise.
48875 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48877 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48879 * manual/install.texi (--with-headers): Describe headers as
48880 interface headers, not private headers.
48881 (Specific advice for GNU/Linux systems): Describe use of headers
48882 from "make headers_install", not private headers from older
48884 * INSTALL: Regenerated.
48885 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48887 * sysdeps/unix/sysv/linux/configure: Regenerated.
48889 * manual/llio.texi (fclean): Remove documentation.
48891 * manual/Makefile (libc-texi-generated): New variable. Include
48893 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48894 $(libc-texi-generated), not duplicated list of files.
48895 (version.texi, stamp-version): New rules.
48896 (realclean): Remove $(libc-texi-generated), not individual files
48897 from that list. Do not remove dir-add.texinfo.
48898 * manual/libc.texinfo: Comment out uses of edition numbers and
48899 references to printed manual. Remove last-updated dates.
48900 (EDITION): Comment out.
48902 (VERSION, UPDATED): Remove.
48903 (version.texi): Include.
48905 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48907 * sysdeps/posix/spawni.c: Include <signal.h>.
48908 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48909 * sysdeps/pthread/aio_fsync.c: Likewise.
48911 2012-02-26 Ulrich Drepper <drepper@gmail.com>
48913 * conform/Makefile (tests): Run only when not cross-compiling and
48914 when fast-check is not defined.
48916 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48917 * conform/data/limits.h-data: Fixes for POSIX2008.
48918 * conform/run-conformtest.sh: Run all tests.
48919 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48921 * include/bits/dlfcn.h: Likewise.
48922 * include/langinfo.h: Likewise.
48923 * include/monetary.h: Likewise.
48924 * include/sys/poll.h: Likewise.
48926 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48928 * posix/spawn.h: Define __need_sigset_t.
48929 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48930 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48931 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48932 to get sigevent_t only.
48933 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48934 only for __USE_GNU.
48935 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48936 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48937 process_vm_writev only for __USE_GNU.
48938 * termios/termios.h: Declare tcgetsid also for POSIX2008.
48940 * conform/Makefile: For now ignore errors from run-conformtest.
48941 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48942 POSIX to avoid namespace pollution. Don't prepend headers.
48943 * conform/data/aio.h-data: Fixes for POSIX testing.
48944 * conform/data/fcntl.h-data: Likewise.
48945 * conform/data/glob.h-data: Likewise.
48946 * conform/data/grp.h-data: Likewise.
48947 * conform/data/pthread.h-data: Likewise.
48948 * conform/data/pwd.h-data: Likewise.
48949 * conform/data/signal.h-data: Likewise.
48950 * conform/data/spawn.h-data: Likewise.
48951 * conform/data/stdio.h-data: Likewise.
48952 * conform/data/stdlib.h-data: Likewise.
48953 * conform/data/stropts.h-data: Likewise.
48954 * conform/data/sys/mman.h-data: Likewise.
48955 * conform/data/sys/stat.h-data: Likewise.
48956 * conform/data/sys/types.h-data: Likewise.
48957 * conform/data/sys/wait.h-data: Likewise.
48958 * conform/data/time.h-data: Likewise.
48959 * conform/data/unistd.h-data: Likewise.
48960 * conform/data/utime.h-data: Likewise.
48962 * io/sys/stat.h: fchmod was always in POSIX.
48963 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48964 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48965 * rt/aio.h: Define __need_timespec before including <time.h>.
48966 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48967 struct. Add forward declaration of pthread_attr_t and use it in
48969 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48970 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48971 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48972 always remove CLK_TCK definition.
48974 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48976 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48978 2012-02-25 Ulrich Drepper <drepper@gmail.com>
48980 * conform/run-conformtest.sh: New file.
48981 * conform/Makefile: Run run-conformtest for tests.
48982 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48985 * conform/data/uchar.h-data: New file.
48986 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48987 * conform/data/arpa/inet.h-data: Likewise.
48988 * conform/data/assert.h-data: Likewise.
48989 * conform/data/complex.h-data: Likewise.
48990 * conform/data/cpio.h-data: Likewise.
48991 * conform/data/ctype.h-data: Likewise.
48992 * conform/data/dirent.h-data: Likewise.
48993 * conform/data/dlfcn.h-data: Likewise.
48994 * conform/data/errno.h-data: Likewise.
48995 * conform/data/fcntl.h-data: Likewise.
48996 * conform/data/float.h-data: Likewise.
48997 * conform/data/fmtmsg.h-data: Likewise.
48998 * conform/data/fnmatch.h-data: Likewise.
48999 * conform/data/ftw.h-data: Likewise.
49000 * conform/data/glob.h-data: Likewise.
49001 * conform/data/grp.h-data: Likewise.
49002 * conform/data/iconv.h-data: Likewise.
49003 * conform/data/inttypes.h-data: Likewise.
49004 * conform/data/langinfo.h-data: Likewise.
49005 * conform/data/libgen.h-data: Likewise.
49006 * conform/data/limits.h-data: Likewise.
49007 * conform/data/locale.h-data: Likewise.
49008 * conform/data/math.h-data: Likewise.
49009 * conform/data/monetary.h-data: Likewise.
49010 * conform/data/mqueue.h-data: Likewise.
49011 * conform/data/ndbm.h-data: Likewise.
49012 * conform/data/net/if.h-data: Likewise.
49013 * conform/data/netdb.h-data: Likewise.
49014 * conform/data/netinet/in.h-data: Likewise.
49015 * conform/data/nl_types.h-data: Likewise.
49016 * conform/data/poll.h-data: Likewise.
49017 * conform/data/pthread.h-data: Likewise.
49018 * conform/data/pwd.h-data: Likewise.
49019 * conform/data/regex.h-data: Likewise.
49020 * conform/data/sched.h-data: Likewise.
49021 * conform/data/search.h-data: Likewise.
49022 * conform/data/semaphore.h-data: Likewise.
49023 * conform/data/setjmp.h-data: Likewise.
49024 * conform/data/signal.h-data: Likewise.
49025 * conform/data/spawn.h-data: Likewise.
49026 * conform/data/stdarg.h-data: Likewise.
49027 * conform/data/stdio.h-data: Likewise.
49028 * conform/data/stdlib.h-data: Likewise.
49029 * conform/data/string.h-data: Likewise.
49030 * conform/data/strings.h-data: Likewise.
49031 * conform/data/stropts.h-data: Likewise.
49032 * conform/data/sys/ipc.h-data: Likewise.
49033 * conform/data/sys/mman.h-data: Likewise.
49034 * conform/data/sys/msg.h-data: Likewise.
49035 * conform/data/sys/resource.h-data: Likewise.
49036 * conform/data/sys/select.h-data: Likewise.
49037 * conform/data/sys/sem.h-data: Likewise.
49038 * conform/data/sys/shm.h-data: Likewise.
49039 * conform/data/sys/socket.h-data: Likewise.
49040 * conform/data/sys/stat.h-data: Likewise.
49041 * conform/data/sys/statvfs.h-data: Likewise.
49042 * conform/data/sys/time.h-data: Likewise.
49043 * conform/data/sys/timeb.h-data: Likewise.
49044 * conform/data/sys/times.h-data: Likewise.
49045 * conform/data/sys/types.h-data: Likewise.
49046 * conform/data/sys/uio.h-data: Likewise.
49047 * conform/data/sys/un.h-data: Likewise.
49048 * conform/data/sys/utsname.h-data: Likewise.
49049 * conform/data/sys/wait.h-data: Likewise.
49050 * conform/data/syslog.h-data: Likewise.
49051 * conform/data/tar.h-data: Likewise.
49052 * conform/data/termios.h-data: Likewise.
49053 * conform/data/utime.h-data: Likewise.
49054 * conform/data/utmpx.h-data: Likewise.
49055 * conform/data/varargs.h-data: Likewise.
49056 * conform/data/wchar.h-data: Likewise.
49057 * conform/data/wctype.h-data: Likewise.
49058 * conform/data/wordexp.h-data: Likewise.
49060 * include/stropts.h: New file.
49061 * include/uchar.h: New file.
49062 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49063 * include/assert.h: Likewise.
49064 * include/ctype.h: Likewise.
49065 * include/dirent.h: Likewise.
49066 * include/dlfcn.h: Likewise.
49067 * include/fcntl.h: Likewise.
49068 * include/fnmatch.h: Likewise.
49069 * include/glob.h: Likewise.
49070 * include/grp.h: Likewise.
49071 * include/libio.h: Likewise.
49072 * include/locale.h: Likewise.
49073 * include/math.h: Likewise.
49074 * include/net/if.h: Likewise.
49075 * include/netdb.h: Likewise.
49076 * include/netinet/in.h: Likewise.
49077 * include/pthread.h: Likewise.
49078 * include/pwd.h: Likewise.
49079 * include/regex.h: Likewise.
49080 * include/sched.h: Likewise.
49081 * include/search.h: Likewise.
49082 * include/setjmp.h: Likewise.
49083 * include/signal.h: Likewise.
49084 * include/stdio.h: Likewise.
49085 * include/stdlib.h: Likewise.
49086 * include/string.h: Likewise.
49087 * include/sys/cdefs.h: Likewise.
49088 * include/sys/mman.h: Likewise.
49089 * include/sys/msg.h: Likewise.
49090 * include/sys/resource.h: Likewise.
49091 * include/sys/select.h: Likewise.
49092 * include/sys/socket.h: Likewise.
49093 * include/sys/stat.h: Likewise.
49094 * include/sys/statvfs.h: Likewise.
49095 * include/sys/time.h: Likewise.
49096 * include/sys/times.h: Likewise.
49097 * include/sys/uio.h: Likewise.
49098 * include/sys/utsname.h: Likewise.
49099 * include/sys/wait.h: Likewise.
49100 * include/termios.h: Likewise.
49101 * include/time.h: Likewise.
49102 * include/ulimit.h: Likewise.
49103 * include/unistd.h: Likewise.
49104 * include/utime.h: Likewise.
49105 * include/wchar.h: Likewise.
49106 * include/wctype.h: Likewise.
49107 * include/wordexp.h: Likewise.
49109 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49111 * time/time.h: TIME_UTC must be a macro.
49112 Make timespec_get available for ISO C11 only as well.
49114 2012-02-24 Ulrich Drepper <drepper@gmail.com>
49116 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49117 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49119 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49121 * configure.in: Use -o not -a in test for unsupported multi-arch.
49123 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49125 * manual/texinfo.tex: Update to version 2012-01-19.16.
49127 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49129 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49131 2012-02-24 Roland McGrath <roland@hack.frob.com>
49134 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49135 * manual/fdl-1.3.texi: New file.
49136 * manual/fdl-1.1.texi: File removed.
49139 * manual/libc.texinfo (FDL_VERSION): New @set.
49140 Use it for mention of FDL in cover text.
49141 (Documentation License): Use it in @include file name.
49143 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49144 Roland McGrath <roland@hack.frob.com>
49147 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49148 (not LONG_LONG_MAX and LONG_LONG_MIN.
49149 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49150 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49152 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49154 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49158 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49159 manipulate bits before adding and subtracting TWO23[sx].
49160 * math/libm-test.inc (nearbyint_test): Add more tests.
49162 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49165 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49166 bits before adding and subtracting TWO23[sx].
49167 * math/libm-test.inc (rint_test): Add more tests.
49168 (rint_test_tonearest): Likewise.
49169 (rint_test_towardzero): Likewise.
49170 (rint_test_downward): Likewise.
49171 (rint_test_upward: Likewise.
49173 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49176 * include/stdc-predef.h: New file. Extracted from features.h.
49177 * include/features.h: Include stdc-predef.h.
49178 * Makefile (headers): Add stdc-predef.h.
49179 * CONFORMANCE (Compiler limitations): Update.
49181 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49183 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49185 2012-02-21 David S. Miller <davem@davemloft.net>
49187 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49188 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49190 2012-02-20 David S. Miller <davem@davemloft.net>
49192 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49193 using a normal save/restore sequence, rather than allocating a
49194 dummy stack frame just to store a frame pointer and restore.
49195 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49197 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49199 * manual/install.texi: Fix stray word in line-wrapped comment.
49201 2012-02-20 David S. Miller <davem@davemloft.net>
49203 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49204 both binutils and gcc support GOTDATA.
49206 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49207 "rd %pc" in the PIC register setup sequences.
49209 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49210 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49211 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49212 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49213 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49214 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49215 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49216 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49217 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49218 (SYSCALL_ERROR_HANDLER): Likewise.
49219 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49220 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49222 (SYSCALL_ERROR_HANDLER): Likewise.
49224 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49225 (HAVE_GCC_GOTDATA): New.
49226 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49227 relocation support in both binutils and gcc.
49228 * sysdeps/sparc/elf/configure: Regenerate.
49230 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49231 * sysdeps/sparc/sparc32/elf/configure: Delete.
49232 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49233 * sysdeps/sparc/sparc64/elf/configure: Delete.
49234 * sysdeps/sparc/elf/configure.in: New file.
49235 * sysdeps/sparc/elf/configure: Generate.
49237 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49238 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49239 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49240 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49241 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49243 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49245 * manual/install.texi: Do not mention specific glibc version
49247 * manual/libc.texinfo (VERSION, UPDATED): Update.
49248 (@copying): Use @copyright{} and range of years.
49250 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49253 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49254 [crti.S not in sysdirs] (generated): Do not append.
49255 [crti.S not in sysdirs] (omit-deps): Likewise.
49256 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49257 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49258 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49259 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49260 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49262 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49263 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49264 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49265 * csu/defs.awk: Remove file.
49266 * sysdeps/generic/initfini.c: Likewise.
49267 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49269 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49272 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49274 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49275 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49276 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49277 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49278 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49279 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49281 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49282 (__EPOLL_PACKED): Define to empty if not defined by
49284 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49288 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49290 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49291 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49292 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49293 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49295 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49299 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49301 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49303 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49304 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49305 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49308 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49310 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49311 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49313 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49315 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49316 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49318 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49320 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49323 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49325 * math/w_acos.c: Use non-signaling floating-point comparisons.
49326 * math/w_acosf.c: Likewise.
49327 * math/w_acosh.c: Likewise.
49328 * math/w_acoshf.c: Likewise.
49329 * math/w_acoshl.c: Likewise.
49330 * math/w_acosl.c: Likewise.
49331 * math/w_asin.c: Likewise.
49332 * math/w_asinf.c: Likewise.
49333 * math/w_asinl.c: Likewise.
49334 * math/w_atanh.c: Likewise.
49335 * math/w_atanhf.c: Likewise.
49336 * math/w_atanhl.c: Likewise.
49337 * math/w_exp2.c: Likewise.
49338 * math/w_exp2f.c: Likewise.
49339 * math/w_exp2l.c: Likewise.
49340 * math/w_j0.c: Likewise.
49341 * math/w_j0f.c: Likewise.
49342 * math/w_j0l.c: Likewise.
49343 * math/w_j1.c: Likewise.
49344 * math/w_j1f.c: Likewise.
49345 * math/w_j1l.c: Likewise.
49346 * math/w_jn.c: Likewise.
49347 * math/w_jnf.c: Likewise.
49348 * math/w_log.c: Likewise.
49349 * math/w_log10.c: Likewise.
49350 * math/w_log10f.c: Likewise.
49351 * math/w_log10l.c: Likewise.
49352 * math/w_log2.c: Likewise.
49353 * math/w_log2f.c: Likewise.
49354 * math/w_log2l.c: Likewise.
49355 * math/w_logf.c: Likewise.
49356 * math/w_logl.c: Likewise.
49357 * math/w_sqrt.c: Likewise.
49358 * math/w_sqrtf.c: Likewise.
49359 * math/w_sqrtl.c: Likewise.
49360 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49361 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49362 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49363 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49364 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49366 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49369 * manual/string.texi (strnlen): Use correct parameter name in
49370 equivalent expression.
49372 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49375 * manual/users.texi (seteuid): Consistently use neweuid for
49378 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49381 * manual/nss.texi (Services in the NSS configuration): Correct
49382 list of services in example configuration file.
49384 2012-02-19 Nick Bowler <nbowler@draconx.ca>
49387 * manual/arith.texi: Remove statements about negative zero
49388 behaving identically to zero.
49390 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49393 * manual/install.texi: Do not document upgrading from libc5.
49395 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49398 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49400 2012-02-18 David S. Miller <davem@davemloft.net>
49402 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49403 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49404 %o7 across the call.
49405 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49407 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49408 SETUP_PIC_REG_LEAF.
49409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49410 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49411 * sysdeps/sparc/crtn.S: Likewise.
49413 2012-02-17 Ulrich Drepper <drepper@gmail.com>
49415 * aout/Makefile: Remove.
49417 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49420 * manual/examples/argp-ex1.c (main): Format definition in GNU
49422 * manual/examples/argp-ex2.c (main): Likewise.
49423 * manual/examples/argp-ex3.c (main): Likewise.
49424 * manual/examples/argp-ex4.c (main): Likewise.
49425 * manual/examples/longopt.c (main): Use new-style prototype
49427 * manual/examples/strncat.c (main): Specify return type and use
49428 (void) for arguments.
49429 * manual/examples/subopt.c (main): Use char **argv argument.
49431 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49434 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49437 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49440 * manual/string.texi (strchr): Change when strchrnul is
49443 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49446 * manual/locale.texi (setlocale): Document LOCPATH.
49448 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49451 * manual/process.texi (execle): Move @dots{} before last argument.
49453 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
49456 * manual/charset.texi (Generic Charset Conversion): Fix typo
49457 (LC_TYPE -> LC_CTYPE).
49459 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49462 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49463 (scalbnf): Likewise.
49464 (scalbnl): Likewise.
49465 (scalbln): Likewise.
49466 (scalblnf): Likewise.
49467 (scalblnl): Likewise.
49468 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49469 (vwarnx): Likewise.
49472 * manual/filesys.texi (telldir): Use braces around return type.
49473 * manual/llio.texi (mmap): Add space after comma.
49474 (mmap64): Likewise.
49475 * manual/math.texi (jn): Use @var{} on parameter names.
49481 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49483 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49485 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49486 (sched_get_priority_max): Likewise.
49487 * manual/signal.texi (sigvec): Add space after comma.
49488 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49490 (if_indextoname): Likewise.
49491 (if_freenameindex): Likewise.
49492 (sendto): Use ',' instead of '.' in prototype.
49493 * manual/startup.texi (syscall): Use @dots{} instead of literal
49495 * manual/stdio.texi (__fpending): Separate initial words of
49496 paragraph from @deftypefun line.
49497 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49499 (vsyslog): Use @var{} on parameter names.
49500 * manual/terminal.texi (stty): Use @var{} on parameter names.
49501 * manual/users.texi (getutmp): Use @var{} on parameter names.
49502 (getutmpx): Likewise.
49504 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49507 * manual/stdio.texi (fopen): Fix typos in description of
49510 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49513 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49514 get clock_id definition.
49516 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
49519 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49520 (madvise): Cast every argument to void on its own.
49522 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49525 * manual/startup.texi (Exit Status): Fix typo.
49527 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49530 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49531 * manual/examples/argp-ex2.c: Likewise.
49532 * manual/examples/argp-ex3.c: Likewise.
49534 2012-02-16 Richard Henderson <rth@redhat.com>
49536 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49537 * sysdeps/s390/s390-32/initfini.c: Remove.
49538 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49539 * sysdeps/s390/s390-64/initfini.c: Remove.
49541 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49543 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49544 compiler output for sysdeps/generic/initfini.c.
49545 * sysdeps/sh/elf/initfini.c: Remove file.
49547 2012-02-16 David S. Miller <davem@davemloft.net>
49550 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49552 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49553 * sysdeps/sparc/crti.S: New file.
49554 * sysdeps/sparc/crtn.S: New file.
49555 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49556 * sysdeps/sparc/sparc64/Makefile: Likewise.
49558 2012-02-15 Mike Frysinger <vapier@gentoo.org>
49561 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49563 2012-02-15 Roland McGrath <roland@hack.frob.com>
49566 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49568 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49569 (write, read, close): Likewise.
49570 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49572 2012-02-15 Joseph Myers <joseph@codesourcery.com>
49574 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49575 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49576 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49577 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49579 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49583 2012-02-14 Marek Polacek <polacek@redhat.com>
49585 * sysdeps/x86_64/crti.S: New file.
49586 * sysdeps/x86_64/crtn.S: New file.
49587 * sysdeps/x86_64/elf/initfini.c: Remove file.
49589 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49591 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49592 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49593 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49594 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49596 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49600 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49602 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49603 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49604 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49605 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49607 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49611 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49613 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49614 __feraiseexcept instead of feraiseexcept.
49616 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49617 nanosleep invocations.
49618 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49619 strings, and add error checking for a nanosleep invocations.
49621 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49623 Replace FSF snail mail address with URLs, as per GNU coding standards.
49624 Most of the snail mail addresses were wrong anyway, and omitting
49625 them makes the source code easier to maintain. Almost all of the
49626 changes are to license notices and to locale LC_IDENTIFICATION
49627 addresses, except for this one:
49628 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49629 not its snail mail address.
49631 2012-02-09 Richard Henderson <rth@twiddle.net>
49633 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49634 of kernel-features.h.
49636 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49638 2012-02-08 Marek Polacek <polacek@redhat.com>
49640 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49641 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49642 * sysdeps/gnu/_G_config.h: Likewise.
49643 * sysdeps/generic/_G_config.h: Likewise.
49645 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49647 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49651 * sysdeps/powerpc/powerpc32/crti.S: New file.
49652 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49653 * sysdeps/powerpc/powerpc64/crti.S: New file.
49654 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49656 * Makeconfig (have-initfini): Don't set.
49657 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49658 * configure.in (nopic_initfini): Don't substitute.
49659 * config.h.in (HAVE_INITFINI): Don't #undef.
49660 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49661 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49663 2012-02-08 Joseph Myers <joseph@codesourcery.com>
49665 Support crti.S and crtn.S provided directly by architectures.
49666 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49667 [crti.S in sysdirs] (omit-deps): Likewise.
49668 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49669 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49670 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49671 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49672 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49673 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49674 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49675 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49676 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49677 compiler output for sysdeps/generic/initfini.c.
49678 * sysdeps/i386/elf/Makefile: Remove file.
49679 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49681 2012-02-07 Marek Polacek <polacek@redhat.com>
49683 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49684 * sysdeps/gnu/_G_config.h: Likewise.
49685 * sysdeps/mach/hurd/_G_config.h: Likewise.
49687 2012-02-07 Marek Polacek <polacek@redhat.com>
49689 * math/Makefile (tests): Add tst-CMPLX2.
49690 * math/tst-CMPLX2.c: New file.
49692 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49694 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49696 * math/libm-test.inc (jn_test): Add missing L suffix.
49698 2012-02-06 Marek Polacek <polacek@redhat.com>
49700 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49701 * sysdeps/i386/fpu/e_powf.S: Likewise.
49702 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49703 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49704 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49705 * sysdeps/i386/fpu/e_pow.S: Likewise.
49706 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49707 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49708 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49709 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49710 * sysdeps/i386/fpu/e_log2.S: Likewise.
49711 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49712 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49713 * sysdeps/i386/fpu/e_powl.S: Likewise.
49714 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49715 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49716 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49717 * sysdeps/i386/fpu/e_logl.S: Likewise.
49718 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49719 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49720 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49721 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49722 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49723 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49724 * sysdeps/i386/fpu/e_log.S: Likewise.
49725 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49726 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49727 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49728 * sysdeps/i386/fpu/e_logf.S: Likewise.
49729 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49730 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49731 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49732 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49733 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49734 * sysdeps/i386/fpu/e_log10.S: Likewise.
49735 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49736 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49737 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49738 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49739 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49740 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49741 * sysdeps/i386/asm-syntax.h: Likewise.
49742 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49743 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49744 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49745 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49746 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49747 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49748 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49749 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49750 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49751 * sysdeps/powerpc/sysdep.h: Likewise.
49752 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49753 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49755 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49758 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49760 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49762 * sysdeps/i386/sysdep.h: Include <features.h>.
49763 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49766 2012-02-05 Joseph Myers <joseph@codesourcery.com>
49768 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49770 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49773 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49775 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49776 (SETUP_PIC_REG): Use GET_PC_THUNK.
49777 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49780 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49782 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49783 for non-PIC compilation.
49784 (SETUP_PIC_REG): Add .p2align directive.
49785 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49786 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49787 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49788 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49789 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49790 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49791 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49792 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49793 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49794 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49795 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49796 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49797 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49798 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49799 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49800 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49801 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49802 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49803 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49804 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49805 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49806 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49807 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49808 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49809 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49810 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49811 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49812 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49813 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49814 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49815 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49816 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49817 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49818 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49819 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49820 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49821 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49822 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49823 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49824 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49825 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49827 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49829 * math/tst-CMPLX.c: Include <stdio.h>.
49831 2012-01-31 Joseph Myers <joseph@codesourcery.com>
49833 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49835 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49836 * sysdeps/sparc/bits/mathdef.h: Likewise.
49838 2012-01-31 Marek Polacek <polacek@redhat.com>
49840 * libio/libio.h: Don't define _PARAMS.
49841 * locale/programs/config.h: Don't define PARAMS.
49842 * stdlib/strtol_l.c: Likewise.
49843 (__strtol_l): Remove PARAMS from the prototype.
49845 2012-01-31 Ulrich Drepper <drepper@gmail.com>
49847 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49848 names. Just use the correct names. Remove unnecessary wrapper
49850 * malloc/arena.c: Likewise.
49851 * malloc/hooks.c: Likewise.
49853 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49854 ARENA_TEST says not to. Simplify test for creation of a new arena.
49855 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49857 2012-01-30 Ulrich Drepper <drepper@gmail.com>
49859 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49861 (update_get_addr): New function.
49862 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49863 GET_ADDR_MODULE parameter.
49865 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49867 * crypt/cert.c: Remove __STDC__ conditionals.
49868 * crypt/crypt-entry.c: Likewise.
49869 * crypt/crypt_util.c: Likewise.
49870 * libio/filedoalloc.c: Likewise.
49871 * libio/fileops.c: Likewise.
49872 * libio/genops.c: Likewise.
49873 * libio/iofclose.c: Likewise.
49874 * libio/iofdopen.c: Likewise.
49875 * libio/iofopen.c: Likewise.
49876 * libio/iofopen64.c: Likewise.
49877 * libio/iogetdelim.c: Likewise.
49878 * libio/iopopen.c: Likewise.
49879 * libio/obprintf.c: Likewise.
49880 * libio/oldfileops.c: Likewise.
49881 * libio/oldiofclose.c: Likewise.
49882 * libio/oldiofdopen.c: Likewise.
49883 * libio/oldiofopen.c: Likewise.
49884 * libio/oldiopopen.c: Likewise.
49885 * libio/wfiledoalloc.c: Likewise.
49886 * libio/wgenops.c: Likewise.
49887 * locale/programs/xmalloc.c: Likewise.
49888 * misc/syslog.c: Likewise.
49889 * stdio-common/xbug.c: Likewise.
49890 * string/memchr.c: Likewise.
49891 * string/memcmp.c: Likewise.
49892 * string/memrchr.c: Likewise.
49893 * string/rawmemchr.c: Likewise.
49894 * sysdeps/posix/getcwd.c: Likewise.
49895 * time/strftime_l.c: Likewise.
49897 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49899 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49900 * config.make.in (config-cflags-sse2avx): Define.
49901 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49904 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49906 * scripts/config.guess: Update from upstream config git repository.
49907 * scripts/config.sub: Likewise.
49909 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49911 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49913 (R_TILEPRO_*, R_TILEGX_*): New macros.
49915 * scripts/firstversions.awk: Fix bug in version range handling.
49917 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49919 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49921 * include/sys/epoll.h: New file.
49922 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49925 2012-01-28 Ulrich Drepper <drepper@gmail.com>
49927 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49928 Avoid unnecessary __WORDSIZE == 64 test.
49929 (fmaxf): Use VEX format if possible.
49934 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49935 * math/math_private.h: Remove libc_fegetround* and
49937 * sysdeps/i386/configure.in: Check for -msse2avx.
49938 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49939 also if SSE2AVX is defined.
49940 Remove libc_fegetround* and libc_fesetround*.
49941 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49942 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49943 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49945 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49946 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49947 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49948 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49949 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49951 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49953 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49955 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49957 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49959 2012-01-27 Ulrich Drepper <drepper@gmail.com>
49962 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49964 * Makeconfig (libm): Define.
49965 * elf/Makefile: Add rules to build and run tst-relsort1.
49966 * elf/tst-relsort1.c: New file.
49967 * elf/tst-relsort1mod1.c: New file.
49968 * elf/tst-relsort1mod2.c: New file.
49970 2012-01-27 Joseph Myers <joseph@codesourcery.com>
49972 * math/s_ldexp.c: Remove __STDC__ conditionals.
49973 * math/s_ldexpf.c: Likewise.
49974 * math/s_ldexpl.c: Likewise.
49975 * math/s_nextafter.c: Likewise.
49976 * math/s_nexttowardf.c: Likewise.
49977 * math/s_significand.c: Likewise.
49978 * math/s_significandf.c: Likewise.
49979 * math/s_significandl.c: Likewise.
49980 * math/w_jnl.c: Likewise.
49981 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49982 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49983 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49984 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49985 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49986 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49987 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49988 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49989 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49990 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49991 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49992 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49993 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49994 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49995 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49996 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49997 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49998 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50000 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50001 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50002 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50003 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50004 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50005 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50006 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50007 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50008 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50009 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50010 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50011 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50012 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50013 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50014 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50015 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50016 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50017 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50018 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50019 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50020 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50021 * sysdeps/ieee754/k_standard.c: Likewise.
50022 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50023 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50024 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50025 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50026 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50027 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50028 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50029 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50030 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50031 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50032 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50033 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50034 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50035 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50036 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50037 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50038 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50039 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50040 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50041 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50042 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50043 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50044 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50045 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50046 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50047 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50048 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50049 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50050 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50051 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50052 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50053 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50054 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50055 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50056 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50057 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50058 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50059 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50060 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50061 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50062 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50063 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50064 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50065 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50066 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50067 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50068 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50069 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50070 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50071 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50072 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50073 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50074 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50075 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50076 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50077 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50078 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50079 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50080 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50081 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50082 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50083 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50084 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50085 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50086 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50087 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50088 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50089 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50090 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50091 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50092 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50093 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50094 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50095 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50096 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50097 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50098 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50099 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50100 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50101 * sysdeps/ieee754/s_matherr.c: Likewise.
50102 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50103 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50104 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50105 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50107 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50109 * crypt/md5.h: Remove __STDC__ conditionals.
50110 * libio/libioP.h: Likewise.
50111 * locale/programs/config.h: Likewise.
50112 * sysdeps/generic/sysdep.h: Likewise.
50113 * sysdeps/i386/asm-syntax.h: Likewise.
50114 * sysdeps/s390/asm-syntax.h: Likewise.
50115 * sysdeps/unix/sysdep.h: Likewise.
50116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50119 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50121 * libio/libio.h: Remove __STDC__ conditionals.
50122 * malloc/obstack.h: Likewise.
50123 * math/complex.h: Likewise.
50124 * math/math.h: Likewise.
50125 * sysdeps/generic/_G_config.h: Likewise.
50126 * sysdeps/gnu/_G_config.h: Likewise.
50127 * sysdeps/mach/hurd/_G_config.h: Likewise.
50128 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50129 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50130 * sysdeps/sparc/bits/mathdef.h: Likewise.
50132 2012-01-26 Ulrich Drepper <drepper@gmail.com>
50135 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50136 Clean up HAS_* macros.
50137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50138 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50140 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50142 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50143 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50144 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50145 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50146 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50148 2012-01-25 Joseph Myers <joseph@codesourcery.com>
50150 * elf/tst-unique3.cc (gets): Remove declaration.
50151 * elf/tst-unique3lib.cc (gets): Likewise.
50152 * elf/tst-unique3lib2.cc (gets): Likewise.
50153 * elf/tst-unique4.cc (gets): Likewise.
50155 2012-01-24 Ulrich Drepper <drepper@gmail.com>
50157 * include/stdio.h: Add C++ protection. Add gets declarations and
50159 * debug/tst-chk1.c: Don't declare gets here.
50160 * stdio-common/tst-gets.c: Likewise.
50162 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50164 * posix/glob: Remove directory.
50166 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50168 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50170 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50172 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50173 of the non-standard EPFNOSUPPORT.
50175 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50177 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50178 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50179 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50181 2012-01-21 Ulrich Drepper <drepper@gmail.com>
50183 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50185 2012-01-20 Ulrich Drepper <drepper@gmail.com>
50187 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50189 * nscd/grpcache.c (cache_addgr): Likewise.
50190 * nscd/hstcache.c (cache_addhst): Likewise.
50191 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50192 * nscd/pwdcache.c (cache_addpw): Likewise.
50193 * nscd/servicescache.c (cache_addserv): Likewise.
50195 2012-01-16 Ulrich Drepper <drepper@gmail.com>
50197 * malloc/malloc.c: Various cleanups.
50198 * malloc/hooks.c: Likewise.
50200 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50201 * stdlib/bug-fmtmsg1.c: New file.
50203 * stdlib/fmtmsg.c (init): Add missing unlock.
50204 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50206 2012-01-12 Marek Polacek <polacek@redhat.com>
50208 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50211 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50213 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50214 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50215 macro to ensure uniqueness of label name.
50216 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50217 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50219 2012-01-11 Ulrich Drepper <drepper@gmail.com>
50221 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50223 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50224 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50225 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50226 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50228 2012-01-10 Ulrich Drepper <drepper@gmail.com>
50230 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50232 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50233 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50234 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50236 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50238 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50239 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50240 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50241 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50243 * math/bits/math-finite.h: Add ldexp support.
50245 2012-01-10 Marek Polacek <polacek@redhat.com>
50247 * locale/programs/localedef.h (show_archive_content): Add noreturn
50250 2012-01-09 Ulrich Drepper <drepper@gmail.com>
50252 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50254 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50256 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50258 * io/Makefile (headers): Add bits/poll2.h.
50260 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50263 typo #include statement.
50265 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50267 * include/sys/cdefs.h: Define __attribute_alloc_size.
50268 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50269 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50270 * elf/pldd.c: Likewise.
50271 * iconv/iconv_charmap.c: Likewise.
50272 * iconv/iconvconfig.c: Likewise.
50273 * iconv/strtab.c: Likewise.
50274 * locale/programs/locale.c: Likewise.
50275 * locale/programs/localedef.h: Likewise.
50276 * locale/programs/simple-hash.c: Likewise.
50277 * nscd/nscd.h: Likewise.
50278 * nss/makedb.c: Likewise.
50279 * sysdeps/generic/ldconfig.h: Likewise.
50280 * locale/programs/localedef.c: Remove xmalloc prototype.
50281 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50283 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50285 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50288 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50290 * math/Makefile (tests): Add tst-CMPLX.
50291 * math/tst-CMPLX.c: New file.
50293 * math/complex.h (CMPLXL): Fix typo.
50295 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50296 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50298 * debug/tst-chk1.c: Add poll and ppoll tests.
50299 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50300 * include/sys/poll.h: Add hidden proto for ppoll.
50301 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50302 * sysdeps/mach/hurd/ppoll.c: Likewise.
50303 * io/ppoll.c: Likewise.
50304 * debug/poll_chk.c: New file.
50305 * debug/ppoll_chk.c: New file.
50306 * include/bits/poll2.h: New file.
50307 * io/bits/poll2.h: New file.
50310 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50312 * configure.in: static is always set to yes. Remove.
50313 * config.make.in: Don't set build-static.
50314 * Makeconfig: Remove use of build-static.
50315 * dlfcn/Makefile: Likewise.
50316 * elf/Makefile: Likewise.
50317 * math/Makefile: Likewise.
50318 * misc/Makefile: Likewise.
50319 * nptl/Makefile: Likewise.
50320 * sysdeps/mach/hurd/Makefile: Likewise.
50322 * configure.in: PWD_P is not used anymore.
50323 * config.make.in: Remove PWD_P entry.
50325 * configure.in: Remove last remnants of RANLIB.
50326 No need to check for signed size_t anymore.
50327 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50329 Remove __builtin_expect test because we require at least gcc 3.4.
50330 * aclocal.m4: Likewise.
50332 * wcsmbs/mbrtoc16.c: Implement using towc function.
50333 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50334 * wcsmbs/wcsmbsload.c: Likewise.
50335 * iconv/gconv_simple.c: Likewise.
50336 * iconv/gconv_int.h: Likewise.
50337 * iconv/gconv_builtin.h: Likewise.
50338 * iconv/iconv_prog.c: Remove CHAR16 handling.
50340 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50342 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50344 * configure.in: Remove --with-elf and --enable-bounded options.
50345 Dont set base_machine for ia64. More non-ELF conditions removed.
50346 Remove testing and setting of leading underscore information.
50347 * config.make.in (build-bounded): Set to no.
50348 * config.h.in: Remove NO_UNDERSCORES entry.
50349 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50351 * csu/start.c: Remove !NO_UNDERSCORE code.
50352 * locale/localeinfo.h: Likewise.
50353 * sysdeps/generic/machine-gmon.h: Likewise.
50354 * sysdeps/generic/sysdep.h: Likewise.
50355 * sysdeps/i386/sysdep.h: Likewise.
50356 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50357 * sysdeps/mach/sysdep.h: Likewise.
50358 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50359 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50360 * sysdeps/sh/sysdep.h: Likewise.
50361 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50362 * sysdeps/unix/i386/sysdep.S: Likewise.
50363 * sysdeps/unix/sparc/start.c: Likewise.
50364 * sysdeps/unix/sparc/sysdep.S: Likewise.
50365 * sysdeps/unix/sparc/sysdep.h: Likewise.
50366 * sysdeps/unix/start.c: Likewise.
50367 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50368 * sysdeps/x86_64/sysdep.h: Likewise.
50370 2012-01-07 Ulrich Drepper <drepper@gmail.com>
50373 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50375 * argp/argp-fmtstream.h: Use const instead __const.
50376 * argp/argp.h: Likewise.
50377 * assert/assert.h: Likewise.
50378 * bits/fenv.h: Likewise.
50379 * bits/sched.h: Likewise.
50380 * bits/sigset.h: Likewise.
50381 * bits/sigthread.h: Likewise.
50382 * catgets/nl_types.h: Likewise.
50383 * conform/data/pthread.h-data: Likewise.
50384 * crypt/crypt-private.h: Likewise.
50385 * crypt/crypt.h: Likewise.
50386 * crypt/crypt_util.c: Likewise.
50387 * ctype/ctype.h: Likewise.
50388 * debug/execinfo.h: Likewise.
50389 * debug/mbsnrtowcs_chk.c: Likewise.
50390 * debug/mbsrtowcs_chk.c: Likewise.
50391 * debug/wcsnrtombs_chk.c: Likewise.
50392 * debug/wcsrtombs_chk.c: Likewise.
50393 * debug/wcstombs_chk.c: Likewise.
50394 * dirent/dirent.h: Likewise.
50395 * dlfcn/dlfcn.h: Likewise.
50396 * elf/neededtest4.c: Likewise.
50397 * grp/grp.h: Likewise.
50398 * gshadow/gshadow.h: Likewise.
50399 * iconv/gconv.h: Likewise.
50400 * iconv/gconv_int.h: Likewise.
50401 * iconv/gconv_simple.c: Likewise.
50402 * iconv/iconv.h: Likewise.
50403 * iconv/loop.c: Likewise.
50404 * iconv/skeleton.c: Likewise.
50405 * include/aio.h: Likewise.
50406 * include/aliases.h: Likewise.
50407 * include/argz.h: Likewise.
50408 * include/arpa/inet.h: Likewise.
50409 * include/assert.h: Likewise.
50410 * include/dirent.h: Likewise.
50411 * include/dlfcn.h: Likewise.
50412 * include/execinfo.h: Likewise.
50413 * include/fcntl.h: Likewise.
50414 * include/fenv.h: Likewise.
50415 * include/glob.h: Likewise.
50416 * include/grp.h: Likewise.
50417 * include/libintl.h: Likewise.
50418 * include/mntent.h: Likewise.
50419 * include/netdb.h: Likewise.
50420 * include/pwd.h: Likewise.
50421 * include/rpc/netdb.h: Likewise.
50422 * include/sched.h: Likewise.
50423 * include/search.h: Likewise.
50424 * include/shadow.h: Likewise.
50425 * include/signal.h: Likewise.
50426 * include/stdio.h: Likewise.
50427 * include/stdlib.h: Likewise.
50428 * include/string.h: Likewise.
50429 * include/sys/socket.h: Likewise.
50430 * include/sys/stat.h: Likewise.
50431 * include/sys/statfs.h: Likewise.
50432 * include/sys/statvfs.h: Likewise.
50433 * include/sys/syslog.h: Likewise.
50434 * include/sys/time.h: Likewise.
50435 * include/sys/uio.h: Likewise.
50436 * include/time.h: Likewise.
50437 * include/unistd.h: Likewise.
50438 * include/utmp.h: Likewise.
50439 * include/wchar.h: Likewise.
50440 * include/wctype.h: Likewise.
50441 * inet/aliases.h: Likewise.
50442 * inet/arpa/inet.h: Likewise.
50443 * inet/netinet/ether.h: Likewise.
50444 * inet/netinet/in.h: Likewise.
50445 * intl/libintl.h: Likewise.
50446 * io/bits/fcntl2.h: Likewise.
50447 * io/fcntl.h: Likewise.
50448 * io/ftw.h: Likewise.
50449 * io/sys/poll.h: Likewise.
50450 * io/sys/stat.h: Likewise.
50451 * io/sys/statfs.h: Likewise.
50452 * io/sys/statvfs.h: Likewise.
50453 * io/utime.h: Likewise.
50454 * libio/bits/stdio.h: Likewise.
50455 * libio/bits/stdio2.h: Likewise.
50456 * libio/libio.h: Likewise.
50457 * libio/libioP.h: Likewise.
50458 * libio/stdio.h: Likewise.
50459 * locale/lc-ctype.c: Likewise.
50460 * locale/locale.h: Likewise.
50461 * login/utmp.h: Likewise.
50462 * malloc/arena.c: Likewise.
50463 * malloc/malloc.c: Likewise.
50464 * malloc/malloc.h: Likewise.
50465 * malloc/mcheck.c: Likewise.
50466 * malloc/mtrace.c: Likewise.
50467 * math/bits/mathcalls.h: Likewise.
50468 * math/fenv.h: Likewise.
50469 * math/math_private.h: Likewise.
50470 * misc/bits/error.h: Likewise.
50471 * misc/bits/syslog.h: Likewise.
50472 * misc/err.h: Likewise.
50473 * misc/error.h: Likewise.
50474 * misc/fstab.h: Likewise.
50475 * misc/mntent.h: Likewise.
50476 * misc/regexp.h: Likewise.
50477 * misc/search.h: Likewise.
50478 * misc/sgtty.h: Likewise.
50479 * misc/sys/mman.h: Likewise.
50480 * misc/sys/syslog.h: Likewise.
50481 * misc/sys/uio.h: Likewise.
50482 * misc/sys/xattr.h: Likewise.
50483 * misc/ttyent.h: Likewise.
50484 * nis/rpcsvc/ypclnt.h: Likewise.
50485 * nss/nss.h: Likewise.
50486 * posix/bits/unistd.h: Likewise.
50487 * posix/fnmatch.h: Likewise.
50488 * posix/glob.h: Likewise.
50489 * posix/sched.h: Likewise.
50490 * posix/spawn.h: Likewise.
50491 * posix/sys/wait.h: Likewise.
50492 * posix/unistd.h: Likewise.
50493 * posix/wordexp.h: Likewise.
50494 * pwd/pwd.h: Likewise.
50495 * resolv/netdb.h: Likewise.
50496 * resource/sys/resource.h: Likewise.
50497 * rt/aio.h: Likewise.
50498 * rt/bits/mqueue2.h: Likewise.
50499 * rt/mqueue.h: Likewise.
50500 * shadow/shadow.h: Likewise.
50501 * signal/signal.h: Likewise.
50502 * socket/send.c: Likewise.
50503 * socket/sendto.c: Likewise.
50504 * socket/sys/socket.h: Likewise.
50505 * stdio-common/printf.h: Likewise.
50506 * stdlib/bits/stdlib.h: Likewise.
50507 * stdlib/fmtmsg.h: Likewise.
50508 * stdlib/monetary.h: Likewise.
50509 * stdlib/stdlib.h: Likewise.
50510 * stdlib/ucontext.h: Likewise.
50511 * streams/stropts.h: Likewise.
50512 * string/argz.h: Likewise.
50513 * string/bits/string2.h: Likewise.
50514 * string/string.h: Likewise.
50515 * string/strings.h: Likewise.
50516 * sunrpc/rpc/auth.h: Likewise.
50517 * sunrpc/rpc/auth_des.h: Likewise.
50518 * sunrpc/rpc/clnt.h: Likewise.
50519 * sunrpc/rpc/netdb.h: Likewise.
50520 * sunrpc/rpc/pmap_clnt.h: Likewise.
50521 * sunrpc/rpc/xdr.h: Likewise.
50522 * sysdeps/generic/inttypes.h: Likewise.
50523 * sysdeps/generic/net/if.h: Likewise.
50524 * sysdeps/generic/sys/swap.h: Likewise.
50525 * sysdeps/gnu/net/if.h: Likewise.
50526 * sysdeps/gnu/utmpx.h: Likewise.
50527 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50528 * sysdeps/i386/i486/bits/string.h: Likewise.
50529 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50530 * sysdeps/s390/bits/string.h: Likewise.
50531 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50532 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50533 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50534 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50535 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50536 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50537 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50538 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50539 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50540 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50541 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50542 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50543 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50544 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50545 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50546 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50547 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50549 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50550 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50551 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50552 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50553 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50554 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50555 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50556 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50557 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50558 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50559 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50560 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50561 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50562 * sysvipc/sys/ipc.h: Likewise.
50563 * sysvipc/sys/msg.h: Likewise.
50564 * sysvipc/sys/sem.h: Likewise.
50565 * sysvipc/sys/shm.h: Likewise.
50566 * termios/termios.h: Likewise.
50567 * time/sys/time.h: Likewise.
50568 * time/time.h: Likewise.
50569 * wcsmbs/bits/wchar2.h: Likewise.
50570 * wcsmbs/uchar.h: Likewise.
50571 * wcsmbs/wchar.h: Likewise.
50572 * wctype/wctype.h: Likewise.
50575 * Makeconfig: Remove all but ELF support including AIX support.
50576 * Makerules: Likewise.
50577 * config.h.in: Likewise.
50578 * config.make.in: Likewise.
50579 * configure: Likewise.
50580 * configure.in: Likewise.
50581 * csu/Makefile: Likewise.
50582 * csu/version.c: Likewise.
50583 * debug/Makefile: Likewise.
50584 * dlfcn/Makefile: Likewise.
50585 * elf/Makefile: Likewise.
50586 * extra-lib.mk: Likewise.
50587 * iconv/Makefile: Likewise.
50588 * include/libc-symbols.h: Likewise.
50589 * include/shlib-compat.h: Likewise.
50590 * resolv/Makefile: Likewise.
50591 * resolv/res_libc.c: Likewise.
50592 * rt/Makefile: Likewise.
50593 * sysdeps/i386/asm-syntax.h: Likewise.
50594 * sysdeps/i386/sysdep.h: Likewise.
50595 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50596 * sysdeps/mach/sysdep.h: Likewise.
50597 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50598 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50599 * sysdeps/s390/asm-syntax.h: Likewise.
50600 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50601 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50602 * sysdeps/sh/sysdep.h: Likewise.
50603 * sysdeps/unix/sparc/sysdep.h: Likewise.
50604 * sysdeps/wordsize-32/divdi3.c: Likewise.
50605 * sysdeps/x86_64/sysdep.h: Likewise.
50607 * argp/Versions: Remove _argp_unlock_xxx.
50610 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50611 * abilist/libBrokenLocale.abilist: Likewise.
50612 * abilist/libanl.abilist: Likewise.
50613 * abilist/libc.abilist: Likewise.
50614 * abilist/libcrypt.abilist: Likewise.
50615 * abilist/libdl.abilist: Likewise.
50616 * abilist/libm.abilist: Likewise.
50617 * abilist/libnsl.abilist: Likewise.
50618 * abilist/libpthread.abilist: Likewise.
50619 * abilist/libresolv.abilist: Likewise.
50620 * abilist/librt.abilist: Likewise.
50621 * abilist/libthread_db.abilist: Likewise.
50622 * abilist/libutil.abilist: Likewise.
50623 * abilist/libnss_db.abilist: New file.
50625 * scripts/abilist.awk: Add support for indirect functions.
50627 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50629 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50631 * shlib-versions: Remove entries for ports architectures.
50633 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50635 * elf/stackguard-macros.h: Remove support for IA-64.
50636 * elf/tst-auditmod1.c: Likewise.
50637 * sysdeps/generic/ldsodefs.h: Likewise.
50639 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50640 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50644 * configure.in: Remove --enable-omitfp support.
50646 * config.make.in: Likewise.
50647 * Makeconfig: Likewise.
50648 * manual/install.texi: Likewise.
50650 In case anyone cares, the IA-64 architecture could move to ports.
50651 * sysdeps/ia64/*: Removed.
50652 * sysdeps/unix/sysv/linux/ia64/*: Removed.
50653 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50656 * configure.in: Remove entries for unsupported architectures.
50659 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50660 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50662 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50663 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50664 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50665 fall back to using wcrtomb.
50666 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50667 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50669 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50670 * wcsmbs/tst-c16c32-1.c: New file.
50672 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50675 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50677 * elf/tst-unique3.cc: Add explicit declaration of gets.
50678 * elf/tst-unique3lib.cc: Likewise.
50679 * elf/tst-unique3lib2.cc: Likewise.
50680 * elf/tst-unique4.cc: Likewise.
50682 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50684 2012-01-06 Joseph Myers <joseph@codesourcery.com>
50687 * assert/assert.h (static_assert): Don't define for C++.
50688 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50689 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50691 2012-01-03 Ulrich Drepper <drepper@gmail.com>
50693 * iconv/loop.c (single loop): Fix assertion in storing of
50696 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50698 2012-01-01 Ulrich Drepper <drepper@gmail.com>
50700 * posix/getconf.c: Update copyright year.
50701 * nss/getent.c: Likewise.
50702 * nss/makedb.c: Likewise.
50703 * iconv/iconvconfig.c: Likewise.
50704 * iconv/iconv_prog.c: Likewise.
50705 * elf/ldconfig.c: Likewise.
50706 * elf/pldd.c: Likewise.
50707 * elf/sotruss.ksh: Likewise.
50708 * catgets/gencat.c: Likewise.
50709 * csu/version.c: Likewise.
50710 * elf/ldd.bash.in: Likewise.
50711 * elf/sprof.c (print_version): Likewise.
50712 * locale/programs/locale.c: Likewise.
50713 * locale/programs/localedef.c: Likewise.
50714 * login/programs/pt_chown.c: Likewise.
50715 * nscd/nscd.c (print_version): Likewise.
50716 * debug/xtrace.sh: Likewise.
50717 * malloc/memusage.sh: Likewise.
50718 * malloc/mtrace.pl: Likewise.
50719 * debug/catchsegv.sh: Likewise.
50721 2011-12-30 Jakub Jelinek <jakub@redhat.com>
50723 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50726 2011-12-24 Ulrich Drepper <drepper@gmail.com>
50729 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50730 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50732 * iconv/gconv_int.h: Likewise.
50733 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50734 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50735 from libc for GLIBC_2.16.
50736 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50737 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50738 * wcsmbs/uchar.h: Really define mbstate_t.
50739 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50740 * wcsmbs/c16rtomb.c: New file.
50741 * wcsmbs/mbrtoc16.c: New file.
50742 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50743 for C/POSIX locale.
50744 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50745 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50747 * wcsmbs/wchar.h: Add missing __restrict.
50749 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50752 * time/Makefile (routines): Add timespec_get.
50753 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50754 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50755 timespec for ISO C11.
50756 * time/timespec_get.c: New file.
50757 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50758 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50761 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50762 * stdlib/stdlib.h: Declare aligned_alloc.
50763 * Versions.def: Add GLIBC_2.16 for libc.
50764 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50767 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50770 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50774 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50777 * assert/assert.h (static_assert): Define.
50779 * version.h: Update for 2.16 development version.
50782 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50785 * version.h (RELEASE): Bump for 2.15 release.
50786 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50788 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50789 Patch by Marek Polacek <mpolacek@redhat.com>.
50791 * bits/byteswap.h: Protect long long constants with __extension__.
50792 * sysdeps/i386/bits/byteswap.h: Likewise.
50793 * sysdeps/ia64/bits/byteswap.h: Likewise.
50794 * sysdeps/s390/bits/byteswap.h: Likewise.
50795 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50797 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50800 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50801 destination buffer.
50802 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50804 2011-12-23 Marek Polacek <polacek@redhat.com>
50806 * elf/dl-addr.c (determine_info): Add inline keyword.
50807 * elf/tst-auditmod4b.c (check_avx): Likewise.
50808 * elf/tst-auditmod6b.c (check_avx): Likewise.
50809 * elf/tst-auditmod6c.c (check_avx): Likewise.
50810 * elf/tst-auditmod7b.c (check_avx): Likewise.
50812 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50814 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50817 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50820 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50821 processing for last bytes.
50823 2011-08-06 Bruno Haible <bruno@clisp.org>
50826 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50827 U+0385, not to U+1FEE.
50830 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50831 entry for U+00A5 U+0301.
50833 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50836 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50837 buffer for the output is too small.
50839 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50843 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50844 SSE flags if possible.
50846 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50849 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50850 processing for last bytes.
50852 2011-12-22 Joseph Myers <joseph@codesourcery.com>
50854 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50855 (syscall-list-default-options, syscall-list-default-condition)
50856 (syscall-list-includes): Define.
50857 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50858 list of ABIs and options and #if conditions for each ABI. Do not
50859 handle common syscalls between ABIs specially.
50860 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50862 (syscall-list-variants, syscall-list-32bit-options)
50863 (syscall-list-32bit-condition, syscall-list-64bit-options)
50864 (syscall-list-64bit-condition): Define.
50865 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50866 (syscall-list-variants, syscall-list-32bit-options)
50867 (syscall-list-32bit-condition, syscall-list-64bit-options)
50868 (syscall-list-64bit-condition): Define.
50869 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50871 (syscall-list-variants, syscall-list-32bit-options)
50872 (syscall-list-32bit-condition, syscall-list-64bit-options)
50873 (syscall-list-64bit-condition): Define.
50874 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50876 (syscall-list-variants, syscall-list-32bit-options)
50877 (syscall-list-32bit-condition, syscall-list-64bit-options)
50878 (syscall-list-64bit-condition): Define.
50880 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50882 * locale/iso-639.def: Add brx entry.
50885 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50886 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50888 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50889 __feraiseexcept_renamed.
50891 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50894 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50895 EPOLLET with unsigned values.
50896 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50897 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50899 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50900 to large cancellation.
50901 * math/s_cacoshf.c: Likewise.
50902 * math/s_cacoshl.c: Likewise.
50904 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50908 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50909 * math/s_cacoshf.c: Likewise.
50910 * math/s_cacoshl.c: Likewise.
50912 2011-12-21 Ulrich Drepper <drepper@gmail.com>
50915 * iconv/gconv.h: Define __GCONV_SWAP.
50916 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50917 * iconvdata/utf-16.c: Likewise.
50918 * iconvdata/utf-32.c: Likewise.
50920 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50923 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50924 numerator after shifting it by one limb.
50926 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50928 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50929 under [__USE_EXTERN_INLINES].
50931 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50934 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50936 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50938 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50939 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50941 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50942 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50943 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50944 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50945 for strncasecmp/strncasecmp_l compilation.
50946 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50947 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50949 2011-12-08 Marek Polacek <mpolacek@redhat.com>
50952 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50955 2011-12-17 Ulrich Drepper <drepper@gmail.com>
50958 * time/tzfile.c (__tzfile_read): Check values from file header.
50960 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50962 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50963 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50964 * powerpc/powerpc32/dl-start.S: Likewise.
50965 * powerpc/powerpc32/elf/start.S: Likewise.
50966 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50967 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50968 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50969 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50970 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50971 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50972 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50973 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50974 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50975 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50976 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50977 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50978 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50979 * powerpc/powerpc32/memset.S: Likewise.
50980 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50981 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50982 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50983 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50984 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50985 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50986 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50987 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50988 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50989 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50990 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50991 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50992 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50994 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50996 * math/libm-test.inc: Added more nearbyint tests.
50997 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50998 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50999 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51000 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51002 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51004 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51007 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51009 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51010 Add wcscpy-ssse3 wcscpy-c.
51011 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51012 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51013 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51014 * sysdeps/x86_64/wcschr.S: New file.
51015 * sysdeps/x86_64/wcsrchr.S: New file.
51016 * string/test-strcmp.c: Remove checking of wcscmp function for
51018 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51019 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51020 wcsrchr-sse2 wcsrchr-c.
51021 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51022 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51023 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51024 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51025 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51026 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51027 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51028 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51029 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51030 * wcsmbc/wcschr.c (WCSCHR): New macro.
51032 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51034 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51035 * wcsmbs/test-wcsrchr.c: New file.
51036 * string/test-strrchr.c: Add wcsrchr support.
51038 * wcsmbs/test-wcscpy.c: New file.
51039 * string/test-strcpy.c: Add wcscpy support.
51042 2011-12-10 Ulrich Drepper <drepper@gmail.com>
51044 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51047 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51050 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51052 2011-12-04 Ulrich Drepper <drepper@gmail.com>
51054 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51055 Minor optimizations.
51057 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51058 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51059 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51061 2011-12-03 Ulrich Drepper <drepper@gmail.com>
51063 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51064 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51065 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51066 for gcc to avoid warnings.
51067 * inet/Makefile (tests): Add tst-checks.
51068 * inet/tst-checks.c: New file.
51070 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51073 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51076 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51077 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51079 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51081 2011-12-02 Ulrich Drepper <drepper@gmail.com>
51083 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51086 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51088 2011-11-29 Joseph Myers <joseph@codesourcery.com>
51090 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51091 conditional on GCC version.
51092 (__arch_compare_and_exchange_val_8_acq)
51093 (__arch_compare_and_exchange_val_16_acq)
51094 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51095 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51096 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51098 2011-12-02 Joseph Myers <joseph@codesourcery.com>
51100 * sysdeps/sh/backtrace.c: New file.
51102 2011-12-02 Andreas Schwab <schwab@redhat.com>
51104 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51107 2011-12-01 Andreas Schwab <schwab@redhat.com>
51109 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51110 falling back to utime.
51112 2011-11-30 Andreas Schwab <schwab@redhat.com>
51114 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51115 expectations for float.
51117 2011-11-29 Andreas Schwab <schwab@redhat.com>
51119 * locale/weight.h (findidx): Add parameter len.
51120 * locale/weightwc.h (findidx): Likewise.
51121 * posix/fnmatch_loop.c (FCT): Adjust caller.
51122 * posix/regcomp.c (build_equiv_class): Likewise.
51123 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51124 * posix/regexec.c (check_node_accept_bytes): Likewise.
51125 * string/strcoll_l.c (STRCOLL): Likewise.
51126 * string/strxfrm_l.c (STRXFRM): Likewise.
51128 2011-11-17 Ulrich Drepper <drepper@gmail.com>
51130 * Makefile.in: Remove CVSOPT handling.
51131 * configure.in: Remove use of AC_REVISION.
51132 * iconvdata/Makefile (distribute): No need to filter out CVS.
51133 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51136 2011-11-16 Andreas Schwab <schwab@redhat.com>
51138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51139 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51140 [USE_AS_STRNCASECMP_L]: Likewise.
51141 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51142 NO_TLS_DIRECT_SEG_REFS.
51143 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51144 Fix argument offsets for non-PIC.
51145 [USE_AS_STRNCASECMP_L]: Likewise.
51146 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51147 NO_TLS_DIRECT_SEG_REFS.
51149 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51151 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51153 * locale/loadlocale.c (_nl_load_locale): Likewise.
51155 2011-11-15 Andreas Schwab <schwab@redhat.com>
51157 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51158 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51159 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51160 (SYSCALL_GETTIME): Set errno on error.
51162 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51163 count references to noai6ai_cached.
51165 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51167 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51169 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51170 FD_CLOEXEC for /proc/self/maps.
51172 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51173 FD_CLOEXEC for /proc/meminfo.
51175 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51178 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51179 FD_CLOEXEC for given file.
51181 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51183 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51184 FD_CLOEXEC for /etc/hosts.
51185 (_gethtent): Likewise.
51187 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51189 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51190 cancellation and set FD_CLOEXEC for /etc/netgroup.
51192 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51193 reading /etc/publickey.
51195 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51196 allow cancellation when reading /etc/group.
51198 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51200 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51202 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51203 when using data file.
51205 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51207 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51208 (write_nis_obj): Use "c" and "e" in fopen.
51210 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51212 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51214 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51216 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51218 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51221 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51223 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51225 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51227 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51228 file parsing and set FD_CLOEXEC.
51230 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51232 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51234 2011-11-14 Andreas Schwab <schwab@redhat.com>
51236 * malloc/arena.c (arena_get2): Don't call reused_arena when
51237 _int_new_arena failed.
51239 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51241 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51242 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51243 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51244 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51245 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51246 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51247 to compile strcasecmp and strncasecmp.
51248 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51249 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51251 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51253 2011-11-13 Ulrich Drepper <drepper@gmail.com>
51255 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51256 locale-defines.sym to gen-as-const-headers.
51257 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51258 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51259 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51260 to compile strcasecmp and strncasecmp.
51261 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51262 strcasecmp_l and strncasecmp_l.
51263 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51264 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51265 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51266 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51267 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51268 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51269 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51270 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51271 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51272 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51273 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51275 2011-11-12 Ulrich Drepper <drepper@gmail.com>
51277 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51278 result of SYSDEP_GETTIME_CPU to retval.
51279 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51280 parameter list to macro. Remove trailing semicolon. Adjust users.
51282 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51285 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51287 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51289 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51290 from unused variable.
51292 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51294 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51297 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51300 * sunrpc/rpc_prot.c (rejected): Fix case value.
51302 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51303 unsigned long long int to avoid warnings in shift.
51305 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51307 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51310 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51311 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51312 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51314 * nis/nis_table.c (nis_list): Use variable of correct type for
51315 result of __follow_path call.
51317 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51319 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51320 of math functions ceil, trunc, floor, round, and sqrt, when
51321 avaliable on the platform.
51322 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51324 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51325 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51326 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51328 2011-10-30 Marek Polacek <mpolacek@redhat.com>
51330 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51331 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51333 2011-11-11 Roland McGrath <roland@hack.frob.com>
51335 * include/unistd.h: Fix __readlink return type.
51336 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51338 2011-11-11 Ulrich Drepper <drepper@gmail.com>
51340 * stdlib/ucontext.h: Undo last change for makecontext.
51342 2011-11-11 Andreas Schwab <schwab@redhat.com>
51344 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51346 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51347 * setjmp/setjmp.h: Mark functions as non-leaf.
51348 * setjmp/bits/setjmp2.h: Likewise.
51349 * stdlib/ucontext.h: Likewise.
51351 2011-11-10 Andreas Schwab <schwab@redhat.com>
51353 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51354 (reused_arena): Don't check arena limit.
51355 (arena_get2): Atomically check arena limit.
51357 2011-11-08 Ulrich Drepper <drepper@gmail.com>
51359 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51360 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51362 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51365 2011-11-07 Andreas Schwab <schwab@redhat.com>
51367 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51368 handler when locking.
51370 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51371 Fix size of allocated buffer.
51373 2011-11-04 Andreas Schwab <schwab@redhat.com>
51376 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51377 declarations for long double functions.
51378 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51380 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51382 2011-11-03 Andreas Schwab <schwab@redhat.com>
51384 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51387 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51390 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51392 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51394 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51396 * include/alloca.h (stackinfo_alloca_round): Define.
51397 (extend_alloca): Use it.
51398 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51399 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51402 * scripts/check-local-headers.sh: Ignore libaudit.h.
51404 * nscd/Makefile (extra-objs): Make recursively expanded.
51406 2011-11-01 Ulrich Drepper <drepper@gmail.com>
51408 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51409 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51411 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51412 * posix/tst-rfc3484-2.c: Likewise.
51413 * posix/tst-rfc3484-3.c: Likewise.
51415 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51417 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51419 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51420 process_vm_writev from libc using GLIBC_2.15 version.
51422 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51424 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51426 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51429 2011-10-31 Ulrich Drepper <drepper@gmail.com>
51432 * nss/getent.c (initgroups_keys): Show error message in case no group
51435 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51436 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51437 __bump_nl_timestamp.
51438 * nscd/connections (nscd_init): When host database is served open
51439 netlink socket and request notification about configuration changes.
51440 (main_loop_poll): Track netlink file descriptor and bump timestamp
51441 in case data becomes available.
51442 (main_loop_epoll): Likewise.
51443 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51444 (database_pers_head): Add extra_data fileds.
51445 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51446 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51447 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51449 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51450 in6ai data, call __free_in6ai.
51451 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51452 Add -DHAVE_NETLINK.
51453 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51454 interface information. Reuse previous data if netlink timestamp
51456 (__bump_nl_timestamp): New function.
51457 (__free_in6ai): New function.
51459 2011-10-30 Ulrich Drepper <drepper@gmail.com>
51461 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51462 close_not_cancel_no_status here.
51463 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51465 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51468 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51471 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51472 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51473 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51475 2011-07-03 Andreas Jaeger <aj@suse.de>
51478 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51479 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51480 * math/libm-test.inc (sin_test): Add test case.
51482 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51485 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51486 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51488 * elf/chroot_canon.c (chroot_canon): Cleanups.
51490 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51493 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51494 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51496 * string/test-strchr.c: Make usable for strchrnul testing.
51497 * string/test-strchrnul.c: New file.
51498 * string/Makefile (strop-tests): Add strchrnul.
51500 * po/it.po: Update from translation team.
51501 * po/es.po: Likewise.
51503 2011-10-28 Ulrich Drepper <drepper@gmail.com>
51505 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51506 the three constants needed as parameters. Drop the others.
51507 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51508 __m128i_strloadu_tolower.
51509 Create and initialize variable zero and use it in all the places
51510 where _mm_setzero_si128 was used.
51512 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51513 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51514 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51515 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51517 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51518 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51519 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51520 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51521 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51522 __mpranred, __mptan.
51523 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51524 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51525 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51526 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51527 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51528 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51529 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51530 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51531 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51533 2011-10-28 Andreas Schwab <schwab@redhat.com>
51535 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51536 redefine if SHARED.
51537 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51540 wide char related routines to wcsmbs subdir.
51542 2011-10-27 Andreas Schwab <schwab@redhat.com>
51545 * misc/sys/cdefs.h (__THROWNL): Define.
51546 * posix/unistd.h: Use __THREADNL instead of __THREAD
51547 for memory synchronization functions.
51549 2011-10-26 Roland McGrath <roland@hack.frob.com>
51552 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51554 * manual/stdio.texi (Obstack Streams): Node removed.
51556 2011-10-26 Andreas Schwab <schwab@redhat.com>
51558 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51559 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51560 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51562 * math/math_private.h (math_force_eval): Allow non-addressable
51564 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51566 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51568 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51569 file is not needed.
51571 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51572 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51573 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51574 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51575 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51576 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51577 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51578 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51580 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51581 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51582 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51583 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51584 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51585 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51586 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51587 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51588 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51589 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51590 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51591 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51592 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51593 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51594 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51595 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51596 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51597 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51598 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51600 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51601 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51603 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51604 place. Use VEX encoding when compiling for AVX.
51606 2011-10-25 Andreas Schwab <schwab@redhat.com>
51608 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51609 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51611 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51613 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51615 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51616 useless if() expression.
51617 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51618 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51619 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51620 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51621 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51622 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51623 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51624 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51625 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51626 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51627 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51628 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51629 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51630 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51631 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51632 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51633 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51634 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51635 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51637 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51639 2011-10-25 Andreas Schwab <schwab@redhat.com>
51641 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51643 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51645 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51647 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51648 .text section. Avoid duplicate constants.
51649 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51650 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51651 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51652 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51653 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51654 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51655 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51656 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51657 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51658 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51659 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51660 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51661 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51662 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51663 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51664 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51665 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51666 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51667 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51668 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51669 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51670 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51671 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51672 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51673 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51674 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51675 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51676 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51677 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51678 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51679 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51680 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51681 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51682 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51683 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51684 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51685 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51686 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51687 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51688 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51689 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51690 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51691 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51692 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51693 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51695 2011-10-24 Ulrich Drepper <drepper@gmail.com>
51697 * sysdeps/x86_64/dla.h: Move to ...
51698 * sysdeps/x86_64/fpu/dla.h: ...here.
51699 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51700 situations. Use __builtin_fma only for gcc 4.6 and up.
51702 * config.make.in: Add have-mfma4 entry.
51703 * configure.in: Substitute libc_cv_cc_fma4.
51704 * math/Makefile (dbl-only-routines): Add sincostab.
51705 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51706 Use __sincostab not sincos.
51707 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51709 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51712 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51714 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51715 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51716 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51717 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51719 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51720 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51722 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51723 define aliases when function name is a macro.
51724 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51725 sysdeps/ieee754/dbl-64/sincos.tbl.
51726 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51727 fma4-enabled routines.
51728 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51729 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51730 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51731 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51732 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51733 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51734 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51735 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51736 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51737 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51738 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51739 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51740 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51741 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51742 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51743 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51744 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51745 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51746 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51747 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51748 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51749 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51750 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51751 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51752 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51753 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51754 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51755 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51756 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51757 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51759 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51761 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51762 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51763 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51764 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51765 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51766 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51767 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51768 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51770 2011-10-24 Andreas Schwab <schwab@redhat.com>
51772 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51774 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51776 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51778 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51780 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51782 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51783 Remove unused variable magic_bits.
51784 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51786 * string/strnlen.c: Define and use STRNLEN macro.
51787 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51788 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51789 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51790 * wcsmbs/wcslen.c: Define and use WCSLEN.
51791 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51792 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51793 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51794 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51795 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51796 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51797 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51799 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51802 strnlen-sse2-no-bsf.
51803 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51804 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51805 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51806 Add strnlen support.
51807 (USE_AS_STRNLEN): New macro.
51808 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51809 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51810 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51811 * sysdeps/x86_64/wcslen.S: New file.
51813 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51815 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51816 XMM-moves are used for copying on small sizes.
51818 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51820 * wcsmbs/Makefile (strop-tests): Add wcschr.
51821 * wcsmbs/test-wcschr.c: New file.
51822 * string/test-strchr.c: Update.
51823 Add wcschr support.
51826 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51828 * wcsmbs/Makefile (strop-tests): Add wcslen.
51829 * wcsmbs/test-wcslen.c: New file.
51830 * string/test-strlen.c: Update.
51831 Add wcslen support.
51834 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51836 * po/it.po: Update from translation team.
51838 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51840 * sysdeps/x86_64/wcscmp.S: Update.
51841 Fix wrong comparison semantics.
51842 wcscmp shall use signed comparison not unsigned.
51843 Don't use substraction to avoid overflow bug.
51844 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51845 * wcsmbc/wcscmp.c: Likewise.
51846 * string/test-strcmp.c: Likewise.
51847 Add new tests to check cases with negative values.
51849 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51851 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51852 * sysdeps/x86_64/dla.h: ...here. New file.
51853 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51854 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51855 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51856 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51857 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51858 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51859 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51860 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51861 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51863 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51865 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51866 __ynl_finite aliases.
51868 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51870 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51872 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51874 [DLA_FMA] (EMULV): Use DLA_FMA.
51875 [DLA_FMA] (MUL12): Use EMULV.
51876 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51877 that are not needed.
51878 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51879 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51882 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51883 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51884 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51886 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51888 * math/s_nan.c: Undef __nan.
51889 * math/s_nanf.c: Undef __nanf.
51890 * math/s_nanl.c: Undef __nanl.
51891 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51894 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51896 * math/s_catan.c: Add branch predictions.
51897 * math/s_catanf.c: Likewise.
51898 * math/s_catanh.c: Likewise.
51899 * math/s_catanhf.c: Likewise.
51900 * math/s_catanhl.c: Likewise.
51901 * math/s_catanl.c: Likewise.
51902 * math/s_cexp.c: Likewise.
51903 * math/s_cexpf.c: Likewise.
51904 * math/s_cexpl.c: Likewise.
51905 * math/s_clog.c: Likewise.
51906 * math/s_clog10.c: Likewise.
51907 * math/s_clog10f.c: Likewise.
51908 * math/s_clog10l.c: Likewise.
51909 * math/s_clogf.c: Likewise.
51910 * math/s_clogl.c: Likewise.
51911 * math/s_csqrt.c: Likewise.
51912 * math/s_csqrtf.c: Likewise.
51913 * math/s_csqrtl.c: Likewise.
51914 * math/s_ctanf.c: Likewise.
51915 * math/s_ctanh.c: Likewise.
51916 * math/s_ctanhf.c: Likewise.
51917 * math/s_ctanhl.c: Likewise.
51918 * math/s_ctanl.c: Likewise.
51920 * math/math_private.h: Define __nan, __nanf, __nanl.
51921 * math/s_cacosh.c: Include <math_private.h>.
51922 * math/s_cacoshl.c: Likewise.
51923 * math/s_casinh.c: Likewise.
51924 * math/s_casinhf.c: Likewise.
51925 * math/s_casinhl.c: Likewise.
51926 * math/s_ccos.c: Rely entire on ccosh.
51927 * math/s_ccosf.c: Rely entire on ccoshf.
51928 * math/s_ccosl.c: Rely entirely on ccoshl.
51929 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51930 Remove tests for FE_INVALID.
51931 * math/s_ccoshf.c: Likewise.
51932 * math/s_ccoshl.c: Likewise.
51933 * math/s_csin.c: Likewise.
51934 * math/s_csinf.c: Likewise.
51935 * math/s_csinh.c Likewise.
51936 * math/s_csinhf.c: Likewise.
51937 * math/s_csinhl.c: Likewise.
51938 * math/s_csinl.c: Likewise.
51939 * math/s_ctan.c: Likewise.
51940 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51941 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51942 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51944 2011-10-21 Ulrich Drepper <drepper@gmail.com>
51946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51947 compilation problems.
51949 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51952 2011-10-20 Ulrich Drepper <drepper@gmail.com>
51954 * sysdeps/i386/configure.in: Test for -mfma4 option.
51955 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51956 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51957 COMMON_CPUID_INDEX_80000001.
51958 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51959 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51960 use it if FMA3 is not supported.
51961 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51963 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51964 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51966 2011-10-20 Andreas Schwab <schwab@redhat.com>
51969 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51970 it would create a cycle with a link time dependency.
51972 2011-10-19 Ulrich Drepper <drepper@gmail.com>
51974 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51976 * string/Makefile (strop-tests): Add rawmemchr.
51977 * string/test-rawmemchr.c: New file.
51979 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51980 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51981 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51982 when compiling str{,n}casecmp and when AVX is available. Hook up
51983 new optimized code in initializers.
51985 2011-10-19 Andreas Schwab <schwab@redhat.com>
51987 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51988 __feraiseexcept instead of feraiseexcept.
51990 2011-10-18 Ulrich Drepper <drepper@gmail.com>
51992 * math/math_private.h: Define defaults for libc_fetestexcept and
51994 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51995 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51996 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51997 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51998 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51999 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52000 libc_fetestexcept and libc_feupdateenv.
52002 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52003 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52004 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52005 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52006 libc_feholdexcept_setround.
52008 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52009 Add s_nearbyint-c and s_nearbyintf-c.
52010 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52011 nearbyintf inlines.
52012 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52013 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52014 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52015 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52017 * math/math_private.h: Define defaults for libc_fegetround,
52018 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52019 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52020 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52021 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52022 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52023 standard functions.
52024 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52025 Remove comments and hacks for old compiler versions.
52026 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52027 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52028 libc_feholdexceptl.
52030 2011-10-18 Andreas Schwab <schwab@redhat.com>
52032 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52033 (__feraiseexcept_renamed): Add __NTH.
52034 (feraiseexcept): Add __NTH. Rename local variables to fix
52035 namespace violations.
52037 2011-10-17 Ulrich Drepper <drepper@gmail.com>
52039 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52041 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52043 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52044 recently added interfaces.
52045 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52047 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52048 about macro parameter expansion.
52050 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52051 __NO_MATH_INLINES is defined. Cleanups.
52053 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52054 and __floorf is target has SSE4.1.
52055 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52056 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52057 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52058 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52060 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52062 (floorf): Likewise.
52064 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52066 2011-10-17 Andreas Schwab <schwab@redhat.com>
52068 * misc/sys/cdefs.h: Fix last change.
52070 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52073 2011-10-16 Ulrich Drepper <drepper@gmail.com>
52075 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52077 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52078 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52079 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52080 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52081 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52082 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52083 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52084 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52085 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52086 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52087 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52088 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52089 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52090 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52091 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52092 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52093 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52094 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52095 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52096 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52097 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52098 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52100 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52101 ceil, ceilf, floor, floorf.
52103 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52104 Perform IRELATIVE relocations last.
52106 * elf/do-rel.h: Add another parameter nrelative, replacing the
52107 local variable with the same name. Change name of the function
52108 to end in Rel or Rela (uppercase).
52109 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52110 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52111 elf_dynamic_do_##reloc function.
52113 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52115 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52116 is sufficient, at least on modern CPUs.
52118 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52120 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52121 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52123 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52125 * math/bits/math-finite.h: Add entries for exp.
52126 * math/e_expl.c: Add __*_finite alias.
52127 * sysdeps/i386/fpu/e_exp.S: Likewise.
52128 * sysdeps/i386/fpu/e_expf.S: Likewise.
52129 * sysdeps/i386/fpu/e_expl.c: Likewise.
52130 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52131 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52132 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52133 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52134 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52135 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52136 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52138 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52139 is sufficient, at least on modern CPUs.
52141 * ctype/ctype-info.c (__ctype_init): Define.
52142 * include/ctype.h (__ctype_init): Declare.
52143 (__ctype_b_loc): The variable is always initialized.
52144 (__ctype_toupper_loc): Likewise.
52145 (__ctype_tolower_loc): Likewise.
52146 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52147 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52149 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52151 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52153 * configure.in: Also look in $cxxmachine/include for C++ system
52156 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52158 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52159 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52160 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52161 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52162 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52163 (USE_AS_WMEMCMP): New macro.
52165 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52166 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52167 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52168 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52169 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52170 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52171 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52172 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52173 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52174 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52175 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52176 (USE_AS_WMEMCMP): New macro.
52177 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52178 * sysdeps/string/test-memcmp.c: Update.
52179 Fix simple_wmemcmp.
52181 * wcsmbs/wmemcmp.c: Update.
52182 (WMEMCMP): New macro.
52185 2011-10-12 Andreas Jaeger <aj@suse.de>
52188 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52190 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52192 * libio/iofwide.c (do_length): Avoid warning.
52194 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52196 2011-10-14 Ulrich Drepper <drepper@gmail.com>
52198 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52200 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52201 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52202 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52203 * sysdeps/i386/i686/fpu/e_log.S: New file.
52204 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52205 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52207 * ctype/ctype.h: Add support for inlined isXXX functions when
52208 compiling C++ code.
52210 2011-10-14 Andreas Schwab <schwab@redhat.com>
52212 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52214 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52216 2011-10-13 Roland McGrath <roland@hack.frob.com>
52219 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52221 2011-10-13 Andreas Schwab <schwab@redhat.com>
52223 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52224 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52227 * sysdeps/x86_64/memrchr.S: Check for zero size.
52229 * string/stratcliff.c: Add memrchr tests.
52231 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52234 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52235 rawmemchr-sse2 rawmemchr-sse2-bsf.
52236 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52237 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52238 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52239 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52240 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52241 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52242 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52243 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52244 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52245 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52246 * string/memrchr.c (MEMRCHR): New macro.
52248 2011-10-12 Ulrich Drepper <drepper@gmail.com>
52250 Add integration with gcc's -ffinite-math-only and optimize wrapper
52252 * Versions.def: Define GLIBC_2.15 version for libm.
52253 * math/Makefile (headers): Add bits/math-finite.h.
52254 * math/bits/math-finite.h: New file.
52255 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52256 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52257 * math/e_acoshl.c: Add __*_finite alias.
52258 * math/e_acosl.c: Likewise.
52259 * math/e_asinl.c: Likewise.
52260 * math/e_atan2l.c: Likewise.
52261 * math/e_atanhl.c: Likewise.
52262 * math/e_coshl.c: Likewise.
52263 * math/e_exp10.c: Likewise.
52264 * math/e_exp10f.c: Likewise.
52265 * math/e_exp10l.c: Likewise.
52266 * math/e_exp2l.c: Likewise.
52267 * math/e_fmodl.c: Likewise.
52268 * math/e_gammal_r.c: Likewise.
52269 * math/e_hypotl.c: Likewise.
52270 * math/e_j0l.c: Likewise.
52271 * math/e_j1l.c: Likewise.
52272 * math/e_jnl.c: Likewise.
52273 * math/e_lgammal_r.c: Likewise.
52274 * math/e_log10l.c: Likewise.
52275 * math/e_log2l.c: Likewise.
52276 * math/e_logl.c: Likewise.
52277 * math/e_powl.c: Likewise.
52278 * math/e_sinhl.c: Likewise.
52279 * math/e_sqrtl.c: Likewise.
52280 * math/e_scalb.c: Completely rewritten and optimized.
52281 * math/e_scalbf.c: Likewise.
52282 * math/e_scalbl.c: Likewise.
52283 * math/w_acos.c: Likewise.
52284 * math/w_acosf.c: Likewise.
52285 * math/w_acosl.c: Likewise.
52286 * math/w_acosh.c: Likewise.
52287 * math/w_acoshf.c: Likewise.
52288 * math/w_acoshl.c: Likewise.
52289 * math/w_asin.c: Likewise.
52290 * math/w_asinf.c: Likewise.
52291 * math/w_asinl.c: Likewise.
52292 * math/w_atan2.c: Likewise.
52293 * math/w_atan2f.c: Likewise.
52294 * math/w_atan2l.c: Likewise.
52295 * math/w_atanh.c: Likewise.
52296 * math/w_atanhf.c: Likewise.
52297 * math/w_atanhl.c: Likewise.
52298 * math/w_exp10.c: Likewise.
52299 * math/w_exp10f.c: Likewise.
52300 * math/w_exp10l.c: Likewise.
52301 * math/w_fmod.c: Likewise.
52302 * math/w_fmodf.c: Likewise.
52303 * math/w_fmodl.c: Likewise.
52304 * math/w_j0.c: Likewise.
52305 * math/w_j0f.c: Likewise.
52306 * math/w_j0l.c: Likewise.
52307 * math/w_j1.c: Likewise.
52308 * math/w_j1f.c: Likewise.
52309 * math/w_j1l.c: Likewise.
52310 * math/w_jn.c: Likewise.
52311 * math/w_jnf.c: Likewise.
52312 * math/w_log.c: Likewise.
52313 * math/w_logf.c: Likewise.
52314 * math/w_logl.c: Likewise.
52315 * math/w_log10.c: Likewise.
52316 * math/w_log10f.c: Likewise.
52317 * math/w_log10l.c: Likewise.
52318 * math/w_log2.c: Likewise.
52319 * math/w_log2f.c: Likewise.
52320 * math/w_log2l.c: Likewise.
52321 * math/w_pow.c: Likewise.
52322 * math/w_powf.c: Likewise.
52323 * math/w_powl.c: Likewise.
52324 * math/w_remainder.c: Likewise.
52325 * math/w_remainderf.c: Likewise.
52326 * math/w_remainderl.c: Likewise.
52327 * math/w_scalb.c: Likewise.
52328 * math/w_scalbf.c: Likewise.
52329 * math/w_scalbl.c: Likewise.
52330 * math/w_sqrt.c: Likewise.
52331 * math/w_sqrtf.c: Likewise.
52332 * math/w_sqrtl.c: Likewise.
52333 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52334 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52336 * math/math_private.h: Declare __kernel_standard_f.
52337 * math/w_cosh.c: Remove cruft and optimize a bit.
52338 * math/w_coshf.c: Likewise.
52339 * math/w_coshl.c: Likewise.
52340 * math/w_exp2.c: Likewise.
52341 * math/w_exp2f.c: Likewise.
52342 * math/w_exp2l.c: Likewise.
52343 * math/w_hypot.c: Likewise.
52344 * math/w_hypotf.c: Likewise.
52345 * math/w_hypotl.c: Likewise.
52346 * math/w_lgamma.c: Likewise.
52347 * math/w_lgamma_r.c: Likewise.
52348 * math/w_lgammaf.c: Likewise.
52349 * math/w_lgammaf_r.c: Likewise.
52350 * math/w_lgammal.c: Likewise.
52351 * math/w_lgammal_r.c: Likewise.
52352 * math/w_sinh.c: Likewise.
52353 * math/w_sinhf.c: Likewise.
52354 * math/w_sinhl.c: Likewise.
52355 * math/w_tgamma.c: Likewise.
52356 * math/w_tgammaf.c: Likewise.
52357 * math/w_tgammal.c: Likewise.
52358 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52359 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52360 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52361 Minor optimizations. Pretty printing. Remove cruft.
52362 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52363 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52364 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52365 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52366 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52367 * sysdeps/i386/fpu/e_asin.S: Likewise.
52368 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52369 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52370 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52371 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52372 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52373 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52374 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52375 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52376 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52377 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52378 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52379 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52380 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52381 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52382 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52383 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52384 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52385 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52386 * sysdeps/i386/fpu/e_log.S: Likewise.
52387 * sysdeps/i386/fpu/e_log10.S: Likewise.
52388 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52389 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52390 * sysdeps/i386/fpu/e_log2.S: Likewise.
52391 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52392 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52393 * sysdeps/i386/fpu/e_logf.S: Likewise.
52394 * sysdeps/i386/fpu/e_logl.S: Likewise.
52395 * sysdeps/i386/fpu/e_pow.S: Likewise.
52396 * sysdeps/i386/fpu/e_powf.S: Likewise.
52397 * sysdeps/i386/fpu/e_powl.S: Likewise.
52398 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52399 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52400 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52401 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52402 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52403 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52404 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52405 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52406 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52407 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52408 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52410 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52411 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52412 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52413 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52414 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52415 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52416 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52417 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52418 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52420 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52421 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52423 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52424 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52425 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52427 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52428 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52429 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52430 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52431 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52432 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52433 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52434 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52435 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52436 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52437 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52438 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52439 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52440 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52441 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52442 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52443 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52444 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52445 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52446 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52447 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52448 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52449 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52450 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52451 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52452 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52453 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52454 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52455 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52456 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52457 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52458 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52459 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52460 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52461 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52462 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52463 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52464 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52465 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52466 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52467 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52468 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52469 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52470 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52471 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52472 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52473 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52474 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52475 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52476 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52477 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52478 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52479 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52480 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52481 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52482 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52483 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52484 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52485 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52486 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52487 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52488 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52489 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52490 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52491 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52492 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52493 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52494 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52495 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52496 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52497 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52498 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52499 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52500 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52501 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52502 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52503 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52504 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52505 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52506 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52507 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52508 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52509 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52510 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52511 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52512 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52513 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52514 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52515 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52516 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52517 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52518 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52519 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52520 (__isnanf): Likewise.
52521 (__isinf_ns): Likewise.
52522 (__isinf_nsf): Likewise.
52523 (__finite): Likewise.
52524 (__finitef): Likewise.
52525 (__ieee754_sqrt): Define as macro.
52526 (__ieee754_sqrtf): Define as macro.
52527 (__ieee754_sqrtl): Define as macro.
52528 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52530 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52531 __FINITE_MATH_ONLY__ consistent.
52532 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52534 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52536 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52539 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52541 2011-10-09 Ulrich Drepper <drepper@gmail.com>
52543 * po/ja.po: Update from translation team.
52545 2011-10-08 Roland McGrath <roland@hack.frob.com>
52547 * locale/programs/locarchive.c (prepare_address_space): New function.
52548 (create_archive, enlarge_archive, open_archive): Use it.
52550 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52551 inside [SHARED], where it is used.
52553 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52555 * nss/getent.c (netgroup_keys): Remove unused variable.
52556 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52558 2011-10-08 Ulrich Drepper <drepper@gmail.com>
52560 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52561 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52562 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52563 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52564 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52565 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52566 * math/Makefile (libm-calls): Add s_isinf_ns.
52567 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52568 * math/multc3.c: Likewise.
52569 * math/s_casin.c: Likewise.
52570 * math/s_casinf.c: Likewise.
52571 * math/s_casinl.c: Likewise.
52572 * math/s_ccos.c: Likewise.
52573 * math/s_ccosf.c: Likewise.
52574 * math/s_ccosl.c: Likewise.
52575 * math/s_ctan.c: Likewise.
52576 * math/s_ctanf.c: Likewise.
52577 * math/s_ctanh.c: Likewise.
52578 * math/s_ctanhf.c: Likewise.
52579 * math/s_ctanhl.c: Likewise.
52580 * math/s_ctanl.c: Likewise.
52581 * math/w_fmod.c: Likewise.
52582 * math/w_fmodf.c: Likewise.
52583 * math/w_fmodl.c: Likewise.
52584 * math/w_remainder.c: Likewise.
52585 * math/w_remainderf.c: Likewise.
52586 * math/w_remainderl.c: Likewise.
52587 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52588 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52589 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52590 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52591 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52592 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52593 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52594 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52596 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52598 * stdio-common/printf_fphex.c: Likewise.
52599 * stdio-common/printf_size.c: Likewise.
52601 * math/e_exp10.c: Include math_private.h using <...> not "...".
52602 * math/e_exp10f.c: Likewise.
52603 * math/e_exp10l.c: Likewise.
52604 * math/e_exp2l.c: Likewise.
52605 * math/e_j0l.c: Likewise.
52606 * math/e_j1l.c: Likewise.
52607 * math/e_jnl.c: Likewise.
52608 * math/e_lgammal_r.c: Likewise.
52609 * math/e_rem_pio2l.c: Likewise.
52610 * math/e_scalb.c: Likewise.
52611 * math/e_scalbf.c: Likewise.
52612 * math/e_scalbl.c: Likewise.
52613 * math/k_cosl.c: Likewise.
52614 * math/k_sinl.c: Likewise.
52615 * math/k_tanl.c: Likewise.
52616 * math/s_cacoshf.c: Likewise.
52617 * math/s_catan.c: Likewise.
52618 * math/s_catanf.c: Likewise.
52619 * math/s_catanh.c: Likewise.
52620 * math/s_catanhf.c: Likewise.
52621 * math/s_catanhl.c: Likewise.
52622 * math/s_catanl.c: Likewise.
52623 * math/s_ccosh.c: Likewise.
52624 * math/s_ccoshf.c: Likewise.
52625 * math/s_ccoshl.c: Likewise.
52626 * math/s_cexp.c: Likewise.
52627 * math/s_cexpf.c: Likewise.
52628 * math/s_cexpl.c: Likewise.
52629 * math/s_clog.c: Likewise.
52630 * math/s_clog10.c: Likewise.
52631 * math/s_clog10f.c: Likewise.
52632 * math/s_clog10l.c: Likewise.
52633 * math/s_clogf.c: Likewise.
52634 * math/s_clogl.c: Likewise.
52635 * math/s_csin.c: Likewise.
52636 * math/s_csinf.c: Likewise.
52637 * math/s_csinh.c: Likewise.
52638 * math/s_csinhf.c: Likewise.
52639 * math/s_csinhl.c: Likewise.
52640 * math/s_csinl.c: Likewise.
52641 * math/s_csqrt.c: Likewise.
52642 * math/s_csqrtf.c: Likewise.
52643 * math/s_csqrtl.c: Likewise.
52644 * math/s_ctan.c: Likewise.
52645 * math/s_ctanf.c: Likewise.
52646 * math/s_ctanh.c: Likewise.
52647 * math/s_ctanhf.c: Likewise.
52648 * math/s_ctanhl.c: Likewise.
52649 * math/s_ctanl.c: Likewise.
52650 * math/s_ldexp.c: Likewise.
52651 * math/s_ldexpf.c: Likewise.
52652 * math/s_ldexpl.c: Likewise.
52653 * math/s_significand.c: Likewise.
52654 * math/s_significandf.c: Likewise.
52655 * math/s_significandl.c: Likewise.
52656 * math/w_acos.c: Likewise.
52657 * math/w_acosf.c: Likewise.
52658 * math/w_acosh.c: Likewise.
52659 * math/w_acoshf.c: Likewise.
52660 * math/w_acoshl.c: Likewise.
52661 * math/w_acosl.c: Likewise.
52662 * math/w_asin.c: Likewise.
52663 * math/w_asinf.c: Likewise.
52664 * math/w_asinl.c: Likewise.
52665 * math/w_atan2.c: Likewise.
52666 * math/w_atan2f.c: Likewise.
52667 * math/w_atan2l.c: Likewise.
52668 * math/w_atanh.c: Likewise.
52669 * math/w_atanhf.c: Likewise.
52670 * math/w_atanhl.c: Likewise.
52671 * math/w_cosh.c: Likewise.
52672 * math/w_coshf.c: Likewise.
52673 * math/w_coshl.c: Likewise.
52674 * math/w_dremf.c: Likewise.
52675 * math/w_exp10.c: Likewise.
52676 * math/w_exp10f.c: Likewise.
52677 * math/w_exp10l.c: Likewise.
52678 * math/w_exp2.c: Likewise.
52679 * math/w_exp2f.c: Likewise.
52680 * math/w_fmod.c: Likewise.
52681 * math/w_fmodf.c: Likewise.
52682 * math/w_fmodl.c: Likewise.
52683 * math/w_hypot.c: Likewise.
52684 * math/w_hypotf.c: Likewise.
52685 * math/w_hypotl.c: Likewise.
52686 * math/w_j0.c: Likewise.
52687 * math/w_j0f.c: Likewise.
52688 * math/w_j0l.c: Likewise.
52689 * math/w_j1.c: Likewise.
52690 * math/w_j1f.c: Likewise.
52691 * math/w_j1l.c: Likewise.
52692 * math/w_jn.c: Likewise.
52693 * math/w_jnf.c: Likewise.
52694 * math/w_jnl.c: Likewise.
52695 * math/w_lgamma.c: Likewise.
52696 * math/w_lgamma_r.c: Likewise.
52697 * math/w_lgammaf.c: Likewise.
52698 * math/w_lgammaf_r.c: Likewise.
52699 * math/w_lgammal.c: Likewise.
52700 * math/w_lgammal_r.c: Likewise.
52701 * math/w_log.c: Likewise.
52702 * math/w_log10.c: Likewise.
52703 * math/w_log10f.c: Likewise.
52704 * math/w_log10l.c: Likewise.
52705 * math/w_log2.c: Likewise.
52706 * math/w_log2f.c: Likewise.
52707 * math/w_log2l.c: Likewise.
52708 * math/w_logf.c: Likewise.
52709 * math/w_logl.c: Likewise.
52710 * math/w_pow.c: Likewise.
52711 * math/w_powf.c: Likewise.
52712 * math/w_powl.c: Likewise.
52713 * math/w_remainder.c: Likewise.
52714 * math/w_remainderf.c: Likewise.
52715 * math/w_remainderl.c: Likewise.
52716 * math/w_scalb.c: Likewise.
52717 * math/w_scalbf.c: Likewise.
52718 * math/w_scalbl.c: Likewise.
52719 * math/w_sinh.c: Likewise.
52720 * math/w_sinhf.c: Likewise.
52721 * math/w_sinhl.c: Likewise.
52722 * math/w_sqrt.c: Likewise.
52723 * math/w_sqrtf.c: Likewise.
52724 * math/w_sqrtl.c: Likewise.
52725 * math/w_tgamma.c: Likewise.
52726 * math/w_tgammaf.c: Likewise.
52727 * math/w_tgammal.c: Likewise.
52729 * po/ja.po: Update from translation team.
52731 2011-09-29 Andreas Jaeger <aj@suse.de>
52734 * sunrpc/netname.c (netname2host): Fix logic.
52738 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52740 * math/w_remainder.c (__remainder): Likewise.
52741 * math/w_remainderf.c (__remainderf): Likewise.
52742 * math/libm-test.inc (remainder_test): Add test cases.
52744 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52746 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52749 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52751 * string/test-memcmp.c: Avoid unncessary #defines.
52752 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52754 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52756 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52757 Use new sse2 version for core i3 - i7 as it's faster
52758 than sse42 version.
52759 (bit_Prefer_PMINUB_for_stringop): New.
52760 * sysdeps/x86_64/rawmemchr.S: Update.
52761 Replace with faster SSE2 version.
52762 * sysdeps/x86_64/memrchr.S: New file.
52763 * sysdeps/x86_64/memchr.S: Update.
52764 Replace with faster SSE2 version.
52766 2011-09-12 Marek Polacek <mpolacek@redhat.com>
52768 * elf/dl-load.c (lose): Add cast to avoid warning.
52770 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52772 * po/ca.po: Update from translation team.
52774 * inet/getnetgrent_r.c: Hook up nscd.
52775 * nscd/Makefile (routines): Add nscd_netgroup.
52776 (nscd-modules): Add netgroupcache.
52777 (CFLAGS-netgroupcache.c): Define.
52778 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52779 (cache_search): Add const to second parameter.
52780 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52782 (dbs): Add netgrdb entry.
52783 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52784 (verify_persistent_db): Handle netgrdb.
52785 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52786 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52788 (netgroup_response_header): Define.
52789 (innetgroup_response_header): Define.
52790 (datahead): Add netgroup_response_header and innetgroup_response_header
52792 * nscd/nscd.conf: Add entries for netgroup cache.
52793 * nscd/nscd.h (dbtype): Add netgrdb.
52794 (_PATH_NSCD_NETGROUP_DB): Define.
52795 (netgroup_iov_disabled): Declare.
52796 (xmalloc, xcalloc, xrealloc): Move declarations here.
52797 (cache_search): Adjust prototype.
52798 Add netgroup-related prototypes.
52799 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52800 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52801 (__nscd_innetgr): Declare.
52802 * nscd/selinux.c (perms): Use access_vector_t as element type and
52803 add netgroup-related initializers.
52804 * nscd/netgroupcache.c: New file.
52805 * nscd/nscd_netgroup.c: New file.
52806 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52807 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52808 For four parameters use innetgr.
52809 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52810 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52811 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52812 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52814 * nscd/connections.c (register_traced_file): Don't register file
52815 for disabled databases.
52817 2011-10-06 Ulrich Drepper <drepper@gmail.com>
52819 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52821 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52822 from tree and freeing node.
52824 2011-09-25 Jiri Olsa <jolsa@redhat.com>
52826 * nss/nsswitch.c (__nss_database_lookup): Handle
52827 nss_parse_service_list out of memory case.
52829 2011-09-15 Jiri Olsa <jolsa@redhat.com>
52831 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52832 out of memory case.
52834 2011-10-04 Andreas Schwab <schwab@redhat.com>
52836 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52837 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52839 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52840 elf_machine_rela, elf_machine_lazy_rel.
52841 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52842 (ELF_DYNAMIC_DO_REL): Likewise.
52843 (ELF_DYNAMIC_DO_RELA): Likewise.
52844 (ELF_DYNAMIC_RELOCATE): Likewise.
52845 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52846 to ELF_DYNAMIC_DO_REL.
52847 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52848 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52849 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52851 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52852 skip_ifunc, don't call ifunc function if non-zero.
52853 (elf_machine_rela): Likewise.
52854 (elf_machine_lazy_rel): Likewise.
52855 (elf_machine_lazy_rela): Likewise.
52856 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52857 (elf_machine_lazy_rel): Likewise.
52858 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52860 (elf_machine_lazy_rel): Likewise.
52861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52863 (elf_machine_lazy_rel): Likewise.
52864 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52865 (elf_machine_lazy_rel): Likewise.
52866 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52867 (elf_machine_lazy_rel): Likewise.
52868 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52869 (elf_machine_lazy_rel): Likewise.
52870 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52871 (elf_machine_lazy_rel): Likewise.
52872 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52873 (elf_machine_lazy_rel): Likewise.
52874 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52875 (elf_machine_lazy_rel): Likewise.
52877 2011-09-28 Ulrich Drepper <drepper@gmail.com>
52879 * nss/nss_files/files-init.c (_nss_files_init): Use static
52880 initialization for all the *_traced_file variables.
52882 2011-09-28 Andreas Schwab <schwab@redhat.com>
52884 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52886 2011-09-27 Roland McGrath <roland@hack.frob.com>
52889 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52891 2011-09-27 Andreas Schwab <schwab@redhat.com>
52893 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52894 Reread the line before reparsing it.
52896 2011-09-26 Andreas Schwab <schwab@redhat.com>
52898 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52900 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52901 Maxim Kuvyrkov <maxim@codesourcery.com>
52902 Joseph Myers <joseph@codesourcery.com>
52904 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52905 if needed for __stack_chk_guard.
52907 2011-09-19 Roland McGrath <roland@hack.frob.com>
52909 * sysdeps/posix/spawni.c (script_execute): Always define it.
52910 It will be optimized away if unused.
52911 (maybe_script_execute): New function.
52912 (__spawni): Call it.
52914 * Makerules: Don't include tls.make.
52915 (config-tls): Always set to thread.
52916 * tls.make.c: File removed.
52918 2011-09-19 Mike Frysinger <vapier@gentoo.org>
52920 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52921 * config.make.in (CPPFLAGS-config): New substituted variable.
52923 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52925 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52928 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52929 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52931 2011-09-15 Roland McGrath <roland@hack.frob.com>
52933 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52934 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52935 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52936 (CALL_FAIL): Likewise.
52937 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52938 (CALL_FAIL): Macro removed.
52939 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52941 2011-09-15 Ulrich Drepper <drepper@gmail.com>
52943 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52944 for __FINITE_MATH_ONLY__ == 1.
52946 2011-09-15 Andreas Schwab <schwab@redhat.com>
52948 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52949 __ieee754_sqrt instead of sqrt.
52950 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52951 __ieee754_sqrtf instead of sqrtf.
52952 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52953 __floorf instead of floorf.
52954 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52955 __floorf, __truncf instead of floorf, truncf.
52957 2011-09-14 Ulrich Drepper <drepper@gmail.com>
52959 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52961 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52962 __extern_always_inline.
52963 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52966 2011-09-14 Andreas Schwab <schwab@redhat.com>
52968 * elf/rtld.c (dl_main): Also relocate in dependency order when
52969 doing symbol dependency testing.
52971 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52973 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52974 Always define `refsym'.
52976 2011-09-13 Andreas Schwab <schwab@redhat.com>
52978 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52979 (__FD_ELT): Renamed from __FDELT.
52980 * misc/bits/select2.h (__FD_ELT): Likewise.
52981 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52982 __FD_MASK instead of __FDELT, __FDMASK.
52983 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52985 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52988 * elf/Makefile (gen-ldd): Fix pattern.
52990 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52991 (init_tls): Likewise.
52993 2011-09-12 Ulrich Drepper <drepper@gmail.com>
52995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52997 2011-09-12 Andreas Schwab <schwab@redhat.com>
52999 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53000 `struct cmsghdr *' instead of `void *'.
53001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53004 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53006 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53008 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53009 ldd_rewrite_script.
53011 2011-09-11 Ulrich Drepper <drepper@gmail.com>
53013 * configure.in: Remove --with-tls option.
53014 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53015 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53016 out in case it is missing.
53017 * sysdeps/ia64/elf/configure.in: Likewise.
53018 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53019 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53020 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53021 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53022 * sysdeps/sh/elf/configure.in: Likewise.
53023 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53024 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53025 * sysdeps/x86_64/elf/configure.in: Likewise.
53026 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53027 * sysdeps/mach/hurd/tls.h: Likewise.
53030 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53033 * configure.in: Fix use of AC_INIT.
53035 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53037 2011-09-10 Ulrich Drepper <drepper@gmail.com>
53039 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53041 * malloc/hooks.c: Likewise.
53044 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53045 variables statically.
53046 (narenas): Initialize.
53047 (list_lock): Initialize.
53048 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53049 initializtion of main_arena and list_lock. Small cleanups.
53050 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53051 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53052 Add initializers to main_arena and mp_.
53053 (malloc_state): Remove pagesize member. Change all users to use
53056 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53057 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53058 is always initialized.
53060 * malloc/malloc.c: Removed unused configurations and dead code.
53061 * malloc/arena.c: Likewise.
53062 * malloc/hooks.c: Likewise.
53063 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53065 * include/tls.h: Removed. USE___THREAD must always be defined.
53066 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53067 * elf/dl-libc.c: Likewise.
53068 * elf/dl-tsd.c: Likewise.
53069 * include/errno.h: Likewise.
53070 * include/netdb.h: Likewise.
53071 * include/resolv.h: Likewise.
53072 * inet/herrno-loc.c: Likewise.
53073 * inet/herrno.c: Likewise.
53074 * malloc/arena.c: Likewise.
53075 * malloc/hooks.c: Likewise.
53076 * malloc/malloc.c: Likewise.
53077 * resolv/res-state.c: Likewise.
53078 * resolv/res_libc.c: Likewise.
53079 * sysdeps/i386/dl-machine.h: Likewise.
53080 * sysdeps/ia64/dl-machine.h: Likewise.
53081 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53082 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53083 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53084 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53085 * sysdeps/sh/dl-machine.h: Likewise.
53086 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53087 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53088 * sysdeps/unix/i386/sysdep.S: Likewise.
53089 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53090 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53091 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53092 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53093 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53094 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53095 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53096 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53097 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53098 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53099 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53100 * sysdeps/x86_64/dl-machine.h: Likewise.
53101 * tls.make.c: Likewise.
53103 * configure.in: Remove --with-__thread option. Make tests for
53104 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53105 tls_model attribute fail if no support is available. Remove
53107 * Makeconfig: Adjust for dropped configure option. All features are
53109 * Makerules: Likewise.
53110 * Versions.def: Likewise.
53111 * argp/argp-fmtstream.c: Likewise.
53112 * argp/argp-fmtstream.h: Likewise.
53113 * argp/argp-help.c: Likewise.
53114 * assert/assert.c: Likewise.
53115 * config.h.in: Likewise.
53116 * config.make.in: Likewise.
53117 * configure: Likewise.
53118 * configure.in: Likewise.
53119 * csu/Versions: Likewise.
53120 * csu/init.c: Likewise.
53121 * elf/tst-audit2.c: Likewise.
53122 * elf/tst-tls10.c: Likewise.
53123 * elf/tst-tls10.h: Likewise.
53124 * elf/tst-tls11.c: Likewise.
53125 * elf/tst-tls12.c: Likewise.
53126 * elf/tst-tls14.c: Likewise.
53127 * elf/tst-tlsmod11.c: Likewise.
53128 * elf/tst-tlsmod12.c: Likewise.
53129 * elf/tst-tlsmod13.c: Likewise.
53130 * elf/tst-tlsmod13a.c: Likewise.
53131 * elf/tst-tlsmod14a.c: Likewise.
53132 * elf/tst-tlsmod15b.c: Likewise.
53133 * elf/tst-tlsmod16a.c: Likewise.
53134 * elf/tst-tlsmod16b.c: Likewise.
53135 * elf/tst-tlsmod7.c: Likewise.
53136 * elf/tst-tlsmod8.c: Likewise.
53137 * elf/tst-tlsmod9.c: Likewise.
53138 * gmon/gmon.c: Likewise.
53139 * grp/fgetgrent_r.c: Likewise.
53140 * grp/putgrent.c: Likewise.
53141 * hurd/fopenport.c: Likewise.
53142 * include/libc-symbols.h: Likewise.
53143 * include/tls.h: Likewise.
53144 * intl/gettextP.h: Likewise.
53145 * intl/loadinfo.h: Likewise.
53146 * locale/global-locale.c: Likewise.
53147 * locale/localeinfo.h: Likewise.
53148 * mach/devstream.c: Likewise.
53149 * malloc/arena.c: Likewise.
53150 * malloc/set-freeres.c: Likewise.
53151 * misc/err.c: Likewise.
53152 * misc/getttyent.c: Likewise.
53153 * misc/mntent_r.c: Likewise.
53154 * posix/getopt.c: Likewise.
53155 * posix/wordexp.c: Likewise.
53156 * pwd/fgetpwent_r.c: Likewise.
53157 * resolv/Versions: Likewise.
53158 * resolv/res_hconf.c: Likewise.
53159 * shadow/fgetspent_r.c: Likewise.
53160 * shadow/putspent.c: Likewise.
53161 * stdio-common/printf_fphex.c: Likewise.
53162 * stdio-common/tmpfile.c: Likewise.
53163 * stdlib/abort.c: Likewise.
53164 * stdlib/fmtmsg.c: Likewise.
53165 * sunrpc/auth_unix.c: Likewise.
53166 * sunrpc/clnt_perr.c: Likewise.
53167 * sunrpc/clnt_tcp.c: Likewise.
53168 * sunrpc/clnt_udp.c: Likewise.
53169 * sunrpc/clnt_unix.c: Likewise.
53170 * sunrpc/openchild.c: Likewise.
53171 * sunrpc/svc_simple.c: Likewise.
53172 * sunrpc/svc_tcp.c: Likewise.
53173 * sunrpc/svc_udp.c: Likewise.
53174 * sunrpc/svc_unix.c: Likewise.
53175 * sunrpc/xdr.c: Likewise.
53176 * sunrpc/xdr_array.c: Likewise.
53177 * sunrpc/xdr_rec.c: Likewise.
53178 * sunrpc/xdr_ref.c: Likewise.
53179 * sunrpc/xdr_stdio.c: Likewise.
53181 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53183 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53185 2011-07-03 Andreas Jaeger <aj@suse.de>
53187 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53188 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53189 regenerate with gen-libm-tests.pl.
53191 2010-05-12 Petr Baudis <pasky@suse.cz>
53194 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53195 around j0() zero points by switching to j1().
53196 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53197 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53198 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53199 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53201 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53203 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53205 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53207 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53208 Patch in part by Pavel Roskin <proski@gnu.org>.
53211 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53213 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53214 Free memory block if necessary.
53217 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53218 be NULL. Don't lock in this case.
53220 2011-09-09 Roland McGrath <roland@hack.frob.com>
53222 * elf/elf.h (ELFOSABI_GNU): New macro.
53223 (ELFOSABI_LINUX): Define to that.
53225 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53227 * string/strncat.c (strncat): Undef the symbol in case it has been
53228 defined in bits/string.h.
53230 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53232 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53234 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53237 2011-08-17 Andreas Jaeger <aj@suse.de>
53239 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53241 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53242 Ian Lance Taylor <iant@google.com>
53244 * math/libm-test.inc (lround_test): New testcase.
53245 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53247 2011-09-08 Ulrich Drepper <drepper@gmail.com>
53249 * Makefile: Remove support for automatic cvs check-ins.
53250 * Makerules: Likewise.
53251 * config.make.in: Likewise.
53252 * configure.in: Likewise.
53253 * intl/Makefile: Likewise.
53254 * locale/Makefile: Likewise.
53255 * po/Makefile: Likewise.
53256 * posix/Makefile: Likewise.
53257 * sysdeps/gnu/Makefile: Likewise.
53258 * sysdeps/mach/hurd/Makefile: Likewise.
53259 * sysdeps/sparc/sparc32/Makefile: Likewise.
53262 * posix/Makefile (bug-regex32-ENV): Define.
53263 Patch by John Stanley <jpsinthemix@verizon.net>.
53265 * misc/Makefile (headers): Add bits/select2.h.
53266 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53267 * misc/bits/select2.h: New file.
53268 * include/bits/select2.h: New file.
53269 * debug/Makefile (routines): Add fdelt_chk.
53270 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53271 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53273 * debug/fdelt_chk.c: New file.
53275 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53276 * wcsmbs/test-wmemcmp.c: Likewise.
53277 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53278 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53280 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53282 * string/Makefile (strop-tests): Add memcmp.
53283 * string/test-wmemcmp.c: New file.
53284 * string/test-memcmp.c: Add wmemcmp support.
53286 2011-09-08 Roland McGrath <roland@hack.frob.com>
53289 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53292 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53293 garbage value in a __mach_port_mod_refs call in the cases of the
53294 task-self and thread-self ports.
53296 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53298 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53300 2011-09-08 Andreas Schwab <schwab@redhat.com>
53302 * elf/dl-load.c (lose): Check for non-null L.
53304 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53306 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53308 * elf/dl-libc.c (dlerror_run): Pass back error code from
53312 * elf/dl-load.c (lose): Free l_origin if it is valid.
53314 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53316 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53317 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53318 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53319 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53320 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53321 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53323 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53325 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53326 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53327 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53328 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53329 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53330 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53331 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53332 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53333 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53334 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53336 2011-08-15 Alan Modra <amodra@gmail.com>
53339 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53340 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53341 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53342 ppc_mcount to static-only-routines.
53343 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53345 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53346 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53348 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53350 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53351 for finite and infinity parameters.
53353 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53355 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53356 and add nop instructions for throughput optimization.
53357 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53359 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53361 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53362 aligned copy for power7 with vector-scalar instructions.
53363 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53365 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53367 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53370 2011-09-07 Andreas Schwab <schwab@redhat.com>
53373 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53376 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53378 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53379 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53380 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53381 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53384 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53386 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53387 Forgot to demangle the pointer.
53389 * sysdeps/i386/sysdep.h: Define atom_text_section.
53390 * sysdeps/x86_64/sysdep.h: Likewise.
53391 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53392 section with atom_text_section.
53393 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53394 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53395 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53396 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53397 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53399 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53400 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53401 already be defined. Change to take two parameters and don't assign
53402 result to variable. Adjust all users.
53403 Define INTERNAL_GETTIME if not already defined.
53404 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53406 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53407 HAVE_CLOCK_GETTIME_VSYSCALL.
53408 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53410 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53411 gettimeofday vsyscall, just use time.
53413 2011-09-06 Andreas Schwab <schwab@redhat.com>
53415 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53418 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53420 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53422 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53424 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53425 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53426 syscall if possible.
53428 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53430 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53431 e_ident. Don't pass to find_mapsXX.
53432 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53434 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53437 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53438 * sysdeps/x86_64/multiarch/strchr.S: Update.
53439 Check bit_slow_BSF bit.
53440 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53441 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53442 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53444 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53447 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53449 (tryshell): Define.
53450 (__spawni): Change last parameter to be flag. Test
53451 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53452 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53453 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53454 * posix/spawni.c: Likewise.
53455 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53456 * posix/spawnp.c: Likewise. Change normal version to use
53457 SPAWN_XFLAGS_USE_PATH.
53458 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53459 SPAWN_XFLAGS_TRY_SHELL.
53462 * posix/glob.h: Remove gcc 1.x support.
53465 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53467 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53470 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53472 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53473 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53474 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53475 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53476 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53477 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53479 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53481 * sysdeps/x86_64/wcscmp.S: New file.
53483 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53484 wcscmp-c wcscmp-sse2
53485 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53486 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53487 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53488 * wcsmbs/wcscmp.c: Allow renaming.
53490 2011-09-05 David S. Miller <davem@davemloft.net>
53492 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53493 stack slot, rather than the struct return pointer slot.
53494 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53495 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53497 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53499 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53501 * po/ja.po: Update from translation team.
53504 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53505 kernel in 64-bit binaries.
53507 2011-09-01 David S. Miller <davem@davemloft.net>
53509 * elf/elf.h (HWCAP_SPARC_*): Move to..
53510 * sysdeps/sparc/sysdep.h: this new file and add new values.
53511 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53512 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53513 _DL_HWCAP_COUNT to 24.
53514 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53516 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53517 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53518 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53519 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53520 instead of magic constants.
53521 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53523 2011-08-31 David S. Miller <davem@davemloft.net>
53525 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53526 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53527 Reimplement to do errno handling inline.
53528 (SYSCALL_ERROR_HANDLER): New macro.
53529 (__SYSCALL_STRING): Do not do errno handling in asm.
53530 (__CLONE_SYSCALL_STRING): Delete.
53531 (__INTERNAL_SYSCALL_STRING): Delete.
53532 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53533 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53534 (PSEUDO): Reimplement to do errno handling inline.
53535 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53536 (SYSCALL_ERROR_HANDLER): New macro.
53537 (__SYSCALL_STRING): Do not do errno handling in asm.
53538 (__CLONE_SYSCALL_STRING): Delete.
53539 (__INTERNAL_SYSCALL_STRING): Delete.
53540 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53541 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53543 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53544 (inline_syscall*): Add 'err' argument.
53545 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53546 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53547 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53548 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53550 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53551 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53553 2011-08-30 Andreas Schwab <schwab@redhat.com>
53555 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53557 2011-08-29 Jiri Olsa <jolsa@redhat.com>
53559 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53562 2011-08-24 David S. Miller <davem@davemloft.net>
53564 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53566 2011-08-24 Andreas Schwab <schwab@redhat.com>
53568 * elf/Makefile: Add rules to build and run unload8 test.
53569 * elf/unload8.c: New file.
53570 * elf/unload8mod1.c: New file.
53571 * elf/unload8mod1x.c: New file.
53572 * elf/unload8mod2.c: New file.
53573 * elf/unload8mod3.c: New file.
53575 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53578 2011-08-23 David S. Miller <davem@davemloft.net>
53580 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53581 subtract stack bias.
53582 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53583 %sp not %fp in calculations.
53584 (_JMPBUF_UNWINDS_ADJ): Likewise.
53586 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53587 (aio_suspend): Call it to force an exception region around the
53588 AIO_MISC_WAIT() invocation.
53590 2011-08-23 Andreas Schwab <schwab@redhat.com>
53592 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53595 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53597 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53599 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53600 and <dl-machine.h>.
53601 (Elf64_FuncDesc): Remove.
53603 2011-08-22 David S. Miller <davem@davemloft.net>
53605 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53606 sigaltstack check, add missing cfi directives.
53607 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53608 missing cfi directives, and sigaltstack handling.
53610 2011-08-16 Andreas Schwab <schwab@redhat.com>
53613 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53614 object is seen twice.
53615 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53617 * elf/Makefile (distribute): Add tst-initorder2.c.
53618 (tests): Add tst-initorder2.
53619 (modules-names): Add tst-initorder2a tst-initorder2b
53620 tst-initorder2c tst-initorder2d. Add rules to build them.
53621 ($(objpfx)tst-initorder2.out): New rule.
53622 * elf/tst-initorder2.c: New file.
53623 * elf/tst-initorder2.exp: New file.
53625 2011-08-22 Andreas Schwab <schwab@redhat.com>
53627 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53629 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53630 dependencies back to end of function.
53632 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53633 $(elfobjdir)/ld.so.
53635 2011-08-21 Ulrich Drepper <drepper@gmail.com>
53637 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53638 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53639 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53640 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53641 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53642 of __vdso_gettimeofday.
53643 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53644 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53646 (_libc_vdso_platform_setup): Remove initialization of
53647 __vdso_gettimeofday and __vdso_time.
53649 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53651 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53652 and fgetc_unlocked.
53653 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53656 * elf/dl-open.c (add_to_global): Report additions to the global scope
53657 for LD_DEBUG=scopes.
53658 (dl_open_worker): Also print scope of newly loaded dependencies.
53659 (_dl_show_scope): Indicate if there is no scope.
53662 * stdio-common/Makefile (tests): Add bug24.
53663 * stdio-common/bug24.c: New file.
53665 2011-08-19 Andreas Jaeger <aj@suse.de>
53668 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53669 non-existant file when using close-on-exec mode.
53671 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53673 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53674 the very first instruction.
53676 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53677 the CFI state in the end.
53678 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53679 inclusion of dl-trampoline.h.
53680 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53682 2011-08-19 Andreas Schwab <schwab@redhat.com>
53684 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53685 expectations for long double.
53687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53688 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53690 2011-08-14 David S. Miller <davem@davemloft.net>
53692 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53693 artificual limit depends upon the system page size.
53695 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53697 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53698 * resolv/Makefile: Define CFLAGS-libresolv.
53700 2011-08-17 Andreas Schwab <schwab@redhat.com>
53702 * nss/makedb.c (compute_tables): Make variables used in nested
53705 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53707 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53708 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53709 if buffer was too small.
53711 * elf/pldd.c (main): Attach to all threads in the process.
53712 Rewrite /proc handling to use *at functions.
53714 2011-08-16 Ulrich Drepper <drepper@gmail.com>
53716 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53717 specifies first scope to show.
53718 (dl_open_worker): Update callers. Move printing scope of new
53719 object to before the relocation.
53720 * elf/rtld.c (dl_main): Update _dl_show_scope call.
53721 * sysdeps/generic/ldsodefs.h: Update declaration.
53723 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53724 string for the scope number.
53726 2011-08-14 Ulrich Drepper <drepper@gmail.com>
53728 * nscd/servicescache.c (cache_addserv): Make sure written is always
53731 2011-08-14 Roland McGrath <roland@hack.frob.com>
53733 * sysdeps/i386/i486/bits/atomic.h
53734 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53735 statement expression, so as to suppress "set but not used" warning.
53736 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53738 * string/strncat.c (STRNCAT): Use prototype definition.
53740 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53741 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53743 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53744 (localedef-modules): Add localedef.
53745 (locale-modules): Add locale.
53747 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53748 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53749 to avoid a warning.
53751 2011-08-14 David S. Miller <davem@davemloft.net>
53753 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53754 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53756 2011-08-13 Ulrich Drepper <drepper@gmail.com>
53758 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53759 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53760 * elf/rtld.c (dl_main): Set l_name of vDSO.
53761 Call _dl_show_scope when DL_DEBUG_SCOPES.
53762 (process_dl_debug): Recognize scopes flag and also set it for all.
53763 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53764 Declare _dl_show_scope.
53766 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53767 (do_dlopen): Pass caller_dlopen to dl_open.
53768 (__libc_dlopen_mode): Initialize caller_dlopen.
53770 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53771 of libc. Make tolower call locale-independent. Optimize a bit by
53772 using isdigit instead of isalnum.
53773 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53775 2011-08-12 Ulrich Drepper <drepper@gmail.com>
53777 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53778 was a dependency or dynamically loaded.
53780 2011-08-11 Ulrich Drepper <drepper@gmail.com>
53782 * intl/l10nflist.c: Allow architecture-specific pop function.
53783 * sysdeps/x86_64/l10nflist.c: New file.
53785 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53788 2011-08-10 Andreas Schwab <schwab@redhat.com>
53790 * include/dirent.h: Add libc_hidden_proto for scandirat and
53791 scandirat64. Don't declare __scandirat64.
53792 * dirent/scandirat.c: Add libc_hidden_def.
53793 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53794 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53796 2011-08-10 David S. Miller <davem@davemloft.net>
53798 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53800 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53801 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53802 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53804 2011-08-09 Ulrich Drepper <drepper@gmail.com>
53806 * Versions.def [libc]: Add GLIBC_2.15.
53807 * dirent/Makefile (routines): Add scandirat and scandirat64.
53808 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53810 * dirent/dirent.h: Declare scandirat and scandirat64.
53811 * dirent/scandirat.c: New file.
53812 * dirent/scandirat64.c: New file.
53813 * sysdeps/wordsize-64/scandirat.c: New file.
53814 * sysdeps/wordsize-64/scandirat64.c: New file.
53815 * dirent/opendir.c: Define opendirat.
53816 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53818 * dirent/scandir64.c: Adjust for scandir.c change.
53819 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53820 __scandirat64, and __scandir_cancel_handler.
53821 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53822 additional parameter and use openat instead of open (outside of ld.so).
53823 Add new __opendir as wrapper around __opendirat.
53824 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53825 here without requiring old scandirat implementation.
53827 2011-08-08 Ulrich Drepper <drepper@gmail.com>
53829 * dirent/scandir.c (cancel_handler): Renamed to
53830 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53831 defined. Adjust users.
53832 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53833 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53835 2011-08-04 Ulrich Drepper <drepper@gmail.com>
53837 * string/test-string.h (IMPL): Use __STRING to expand name and then
53840 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53843 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53845 * string/Makefile: Update.
53846 (strop-tests): Append strncat.
53847 * string/test-wcscmp.c: New file.
53848 New comprehensive test for wcscmp.
53849 * string/test-strcmp.c: Update.
53850 (WIDE): New define.
53852 2011-07-22 Andreas Schwab <schwab@redhat.com>
53854 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53857 2011-07-26 Andreas Schwab <schwab@redhat.com>
53859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53860 encoding to ACE if AI_IDN.
53862 2011-08-01 Jakub Jelinek <jakub@redhat.com>
53864 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53865 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53867 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53869 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53870 Fix overflow bug in strncat.
53871 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53873 * string/test-strncat.c: Update.
53874 Add new tests for checking overflow bugs.
53876 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53879 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53880 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53881 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53882 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53883 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53884 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53885 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53886 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53888 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53889 (USE_AS_STRCAT): Define.
53890 Add strcat and strncat support.
53891 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53893 2011-07-25 Andreas Schwab <schwab@redhat.com>
53895 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53896 __n bigger than INT_MAX+1.
53897 (__strncmp_g): Likewise.
53899 2011-07-23 Ulrich Drepper <drepper@gmail.com>
53901 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53902 * libio/stido.h: Likewise.
53904 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53906 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53909 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53910 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53911 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53912 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53913 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53916 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53921 (_dl_x86_64_save_sse): Likewise.
53923 2011-07-22 Ulrich Drepper <drepper@gmail.com>
53925 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53927 (_dl_x86_64_save_sse): Likewise.
53929 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53931 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53933 2011-07-21 Andreas Schwab <schwab@redhat.com>
53935 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53937 (_dl_x86_64_save_sse): Use correct AVX check.
53939 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53941 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53942 bug in strncpy/strncat.
53943 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53945 2011-07-21 Ulrich Drepper <drepper@gmail.com>
53947 * string/tester.c (test_strcat): Add tests for different alignments
53948 of source and destination.
53949 (test_strncat): Likewise.
53951 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53954 * posix/glob.c (glob): Check passed in values before using them in
53955 expressions to avoid some overflows.
53956 (glob_in_dir): Likewise.
53959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53960 check for AVX enablement so that we don't crash with old kernels and
53962 * elf/tst-audit4.c: Add same checks here.
53963 * elf/tst-audit6.c: Likewise.
53965 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53967 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53969 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53971 2011-07-20 Ulrich Drepper <drepper@gmail.com>
53973 * po/cs.po: Update from translation team.
53974 * po/bg.po: Likewise.
53976 2011-07-12 Marek Polacek <mpolacek@redhat.com>
53978 * misc/sys/cdefs.h: Add support for const attribute.
53979 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53980 to gnu_dev_{major,minor,makedev} functions.
53982 2011-07-20 Marek Polacek <mpolacek@redhat.com>
53984 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53986 2011-07-20 Andreas Schwab <schwab@redhat.com>
53988 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53991 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53993 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53994 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53995 register in order to avoid conflicts with the soft frame pointer
53996 being held in r11 when necessary.
53997 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53998 (INTERNAL_VSYSCALL_NCS): Likewise.
54000 2011-07-14 Marek Polacek <mpolacek@redhat.com>
54002 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54003 * elf/dl-fini.c (_dl_fini): Adjust caller.
54004 * elf/dl-close.c (_dl_close_worker): Likewise.
54005 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54007 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54009 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54010 "aux_cache->nlibs < 0".
54012 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54013 in the reload-count case.
54015 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54018 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54019 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54020 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54021 * sysdeps/x86_64/multiarch/strcat.S: New file.
54022 * sysdeps/x86_64/multiarch/strncat.S: New file.
54023 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54024 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54025 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54026 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54027 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54028 (USE_AS_STRCAT): Define.
54029 Add strcat and strncat support.
54030 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54031 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54032 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54033 * string/strncat.c: Update.
54034 (USE_AS_STRNCAT): Define.
54035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54036 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54038 * sysdeps/x86_64/multiarch/init-arch.h
54039 (bit_Prefer_PMINUB_for_stringop): New.
54040 (index_Prefer_PMINUB_for_stringop): Likewise.
54041 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54042 bit_Prefer_PMINUB_for_stringop.
54044 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54046 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54048 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54049 of casting of buffer.
54050 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54051 buffer32 and buffer64.
54052 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54053 writes instead of casting of buffer.
54054 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54056 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54059 2011-07-19 Andreas Schwab <schwab@redhat.com>
54061 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54063 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54065 * nscd/nscd.c (termination_handler): Don't do anything for a database
54066 if it has not yet been initialized.
54068 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54070 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54072 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54074 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54076 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54078 * po/nl.po: Update from translation team.
54079 * po/sv.po: Likewise.
54081 2011-07-16 Roland McGrath <roland@hack.frob.com>
54083 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54084 now disallowed by GCC.
54086 * configure.in (use-default-link): Default to yes if a test -shared
54087 link meets our qualifications.
54088 * configure: Regenerated.
54090 * config.make.in (output-format): New variable.
54091 * configure.in: Check for ld --print-output-format support.
54092 * configure: Regenerated.
54093 * Makerules ($(common-objpfx)format.lds)
54094 [$(output-format) != unknown]: Just use $(output-format),
54095 instead of the linker-script munging.
54097 2011-07-14 Roland McGrath <roland@hack.frob.com>
54099 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54100 of $(common-objpfx)shlib.lds.
54101 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54103 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54104 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54106 * configure.in (-z relro check): Adjust test code to add a large
54107 writable data section after it.
54108 * configure: Regenerated.
54110 2011-07-11 Roland McGrath <roland@hack.frob.com>
54112 * configure.in (-z relro check): Fix test code to make the variable
54114 * configure: Regenerated.
54116 2011-07-11 Ulrich Drepper <drepper@gmail.com>
54118 * nscd/nscd.h (struct traced_file): Define.
54119 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54120 elements. Add traced_files.
54121 (inotify_fd): Declare.
54122 (register_traced_file): Declare.
54123 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54124 (inotify_fd): Export.
54125 (resolv_conf_descr): Remove.
54126 (nscd_init): Move inotify descriptor creation to main.
54127 Don't register files for notification here.
54128 (register_traced_file): New function.
54129 (invalidate_cache): Don't use reset_res to determine whether to call
54130 res_init, go through the list of registered files.
54131 (main_loop_poll): The inotify descriptors are now stored in the
54132 structures for the traced files.
54133 (main_loop_epoll): Likewise
54134 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54135 to __nss_disable_nscd.
54136 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54137 for a database anymore. Check the records for all the registered
54139 * nss/Makefile (libnss_files-routines): Add files-init.
54140 (libnss_db-routines): Add db-init.
54141 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54142 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54143 * nss/nss_db/db-init.c: New file.
54144 * nss/nss_files/files-init.c: New file.
54145 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54146 __nss_lookup_function.
54147 (__nss_lookup_function): Call nss_load_library.
54148 (nss_load_all_libraries): New function.
54149 (__nss_disable_nscd): Take parameter with callback function for files
54150 to register. Set is_nscd. Load all the DSOs for the NSS modules
54151 used for the cached services.
54152 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54153 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54154 options for features to all the files in nscd.
54156 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54158 2011-07-10 Roland McGrath <roland@hack.frob.com>
54160 * csu/elf-init.c (__libc_csu_init): Comment typo.
54162 2011-07-09 Ulrich Drepper <drepper@gmail.com>
54164 * po/pl.po: Update from translation team.
54165 * po/ja.po: Likewise.
54166 * po/ru.po: Likewise.
54167 * po/ko.po: Likewise.
54168 * po/fr.po: Likewise.
54170 2011-07-09 Roland McGrath <roland@hack.frob.com>
54172 * configure.in (.ctors/.dtors header and trailer check):
54173 Use an empirical test on a built program.
54174 * configure: Regenerated.
54176 * configure.in (-z relro check): Use an empirical test on a built DSO.
54177 Detect, but do not require, on ia64.
54178 * configure: Regenerated.
54180 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54181 Update tests that use readelf to use $READELF instead.
54182 * configure: Regenerated.
54184 2011-07-08 Ulrich Drepper <drepper@gmail.com>
54186 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54187 if the result is not used.
54189 2011-07-05 Andreas Jaeger <aj@suse.de>
54192 * stdlib/tst-strtod.c: Add testcase.
54194 2011-07-07 Ulrich Drepper <drepper@gmail.com>
54196 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54197 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54198 The latter has a higher limit. Take additional parameter to pass to
54200 (__pathconf): Pass file to __statfs_link_max.
54201 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54203 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54207 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54208 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54210 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54211 (__statfs_filesize_max): Likewise.
54212 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54214 2011-07-05 Andreas Jaeger <aj@suse.de>
54216 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54218 2011-07-06 Marek Polacek <mpolacek@redhat.com>
54220 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54222 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54225 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54227 * Makefile (strop-tests): Add strncat.
54228 * string/test-strncat.c: New file.
54230 2011-06-30 Marek Polacek <mpolacek@redhat.com>
54232 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54234 2011-06-21 Andreas Jaeger <aj@suse.de>
54236 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54237 Copy rule from iconvdata/Makefile.
54239 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54242 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54243 but no long options are defined, just return 'W'.
54245 2011-06-22 Marek Polacek <mpolacek@redhat.com>
54248 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54250 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54252 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54254 (innetgr): Likewise.
54256 2011-07-05 Roland McGrath <roland@hack.frob.com>
54258 * config.make.in (install_root): Default to $(DESTDIR).
54260 2011-07-05 Ulrich Drepper <drepper@gmail.com>
54262 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54264 2011-07-02 Roland McGrath <roland@hack.frob.com>
54266 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54268 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54269 containing directory rather than embedding absolute directory names.
54271 * scripts/check-local-headers.sh: Rewritten using awk.
54272 Match by word, not by line. Print error messages for matches.
54273 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54275 * Makerules [shlib-lds-flags empty]:
54276 ($(common-objpfx)libc_pic.opts): New target.
54277 ($(common-objpfx)libc_pic.os.clean): New target.
54278 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54280 * config.make.in (OBJCOPY): New variable.
54281 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54282 * configure: Regenerated.
54284 * config.make.in (use-default-link): New variable.
54285 * configure.in (use_default_link): Grok --with-default-link to set it.
54286 * configure: Regenerated.
54287 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54288 (shlib-lds, shlib-lds-flags): Define to empty.
54290 * Makerules (shlib-lds): New variable.
54291 (shlib-lds-flags): New variable.
54292 (build-shlib, build-moduile, build-module-asneeded): Use it.
54293 ($(common-objpfx)libc.so): Use $(shlib-lds).
54294 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54295 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54297 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54298 DT_FLAGS/DT_FLAGS_1 with zero flags.
54300 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54301 linker script munging.
54303 2011-07-02 Ulrich Drepper <drepper@gmail.com>
54305 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54307 * crypt/sha512.c (sha512_process_block): Perform total addition using
54308 128-bit if possible.
54309 (__sha512_finish_ctx): Likewise.
54310 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54312 * crypt/sha256.c (SWAP64): Define.
54313 (sha256_process_block): Perform total addition using 64-bit if
54315 (__sha256_finish_ctx): Likewise.
54317 2011-07-01 Ulrich Drepper <drepper@gmail.com>
54319 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54321 * nscd/hstcache.c (cache_addhst): Likewise.
54322 * nscd/grpcache.c (cache_addgr): Likewise.
54323 * nscd/aicache.c (addhstaiX): Likewise
54324 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54326 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
54328 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54329 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54330 * nscd/hstcache.c (cache_addhst): Likewise.
54331 * nscd/grpcache.c (cache_addgr): Likewise.
54332 * nscd/aicache.c (addhstaiX): Likewise
54334 2011-07-01 Andreas Schwab <schwab@redhat.com>
54336 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54337 domain only when needed.
54339 2011-06-30 Andreas Schwab <schwab@redhat.com>
54341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54342 is always restored.
54344 2011-06-29 Ulrich Drepper <drepper@gmail.com>
54346 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54347 are re-adding the entry.
54348 * nscd/servicescache.c (cache_addserv): Likewise.
54350 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54352 * sysdeps/generic/dl-irel.h: fix protection against multiple
54354 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54356 2011-06-28 Ulrich Drepper <drepper@gmail.com>
54359 * malloc/memusage.sh: Fix quoting in message.
54360 * debug/xtrace.sh: Likewise.
54362 * configure.in: Remove support for --experimental-malloc option, make
54364 * config.make.in: Likewise.
54365 * malloc/Makefile: Likewise.
54367 2011-06-27 Andreas Schwab <schwab@redhat.com>
54369 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54370 two-byte characters.
54372 2011-06-27 Roland McGrath <roland@hack.frob.com>
54374 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54375 AC_CACHE_CHECK invocation.
54376 * configure: Regenerated.
54378 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54380 2011-06-27 Ulrich Drepper <drepper@gmail.com>
54383 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54384 bit from old_res_options.
54386 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54388 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54389 value type for setfct.
54391 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54393 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54394 __gettimeofday instead of gettimeofday.
54396 2011-06-26 Ulrich Drepper <drepper@gmail.com>
54398 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54400 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54402 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54404 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54407 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54410 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54411 strcpy-sse2-unaligned strncpy-sse2-unaligned
54412 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54413 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54414 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54415 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54416 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54417 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54418 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54419 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54420 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54421 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54422 (STRCPY): Support SSE2 and SSSE3 versions.
54424 2011-06-24 Ulrich Drepper <drepper@gmail.com>
54427 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54428 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54429 kernels which artificially limit size of requests.
54431 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54434 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54435 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54436 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54437 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54438 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54439 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54440 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54441 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54442 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54443 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54444 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54445 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54446 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54447 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54449 Enable unaligned load optimization for Intel Core i3, i5 and i7
54451 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54453 (index_Fast_Unaligned_Load): Define.
54454 (HAS_FAST_UNALIGNED_LOAD): Define.
54456 2011-06-23 Marek Polacek <mpolacek@redhat.com>
54458 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54460 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54463 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54464 until it is clear that the information is realy needed.
54465 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54467 2011-06-22 Andreas Schwab <schwab@redhat.com>
54469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54471 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54473 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54474 /sys/devices/system/cpu/online if it is usable.
54476 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54477 reading the information from the /proc filesystem to once a second.
54479 2011-06-21 Andreas Jaeger <aj@suse.de>
54481 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54482 NULL after inclusion of kernel headers.
54484 2011-06-21 Ulrich Drepper <drepper@gmail.com>
54486 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54487 calls to internal_setent.
54490 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54491 addresses using gethostbyname4_r ignore IPv4 addresses.
54493 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54494 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54496 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54498 2011-06-20 David S. Miller <davem@davemloft.net>
54500 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54502 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54504 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54505 (elf_irel): Use it.
54506 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54507 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54508 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54509 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54510 * sysdeps/x86_64/dl-irel.h: Likewise.
54512 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54513 * elf/dl-sym.c: Likewise.
54515 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54517 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54518 need to dereference resplen2.
54520 2011-06-14 Andreas Schwab <schwab@redhat.com>
54522 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54524 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54526 * Makeconfig: Define vardbdir and inst_vardbdir.
54527 * nss/Makefile: Add rules to install db-Makefile.
54529 * nss/nss_db/db-XXX.c: Cleanup.
54531 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54532 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54534 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54535 * nss/makedb.c: Implement -g option to specify that value strings
54536 are generated and should not be added to table iterated over for
54538 * nss/nss_db/db-initgroups.c: New file.
54540 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54543 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54544 (internal_getgrouplist): Adjust to name change.
54545 Update use_initgroups_entry if this is not the first call.
54546 * nss/databases.def: Add initgroups entry.
54548 * nss/makedb.c (compute_tables): Check result of multiple hash table
54549 sizes to minimize maximum chain length.
54551 2011-06-14 Ulrich Drepper <drepper@gmail.com>
54553 * Versions.def: Add entry for libnss_db.
54554 * shlib-versions: Likewise.
54555 * nss/Makefile: Add rules to build libnss_db.
54556 * nss/Versions: Add libnss_db information. Organize libnss_files
54558 * nss/db-Makefile: Add gshadow support. Change rules for the new
54559 makedb progra. Some minor improvements to generate smaller files.
54560 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54562 * nss/makedb.c: ...here.
54563 Improve database format to be smaller and require less memory at
54565 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54567 * nss/nss_db/db-netgrp.c: Likewise.
54568 * nss/nss_db/db-open.c: Likewise.
54569 * nss/nss_files/flies-XXX.x: Adjust comments.
54570 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54571 * nss/nss_files/files-grp.c: Likewise.
54572 * nss/nss_files/files-hosts.c: Likewise.
54573 * nss/nss_files/files-network.c: Likewise.
54574 * nss/nss_files/files-proto.c: Likewise.
54575 * nss/nss_files/files-pwd.c: Likewise.
54576 * nss/nss_files/files-rpc.c: Likewise.
54577 * nss/nss_files/files-service.c: Likewise.
54578 * nss/nss_files/files-sgrp.c: Likewise.
54579 * nss/nss_files/files-spwd.c: Likewise.
54580 * nss/nss_db/db-alias.c: Removed.
54581 * nss/nss_db/dummy-db.h: Removed.
54583 2011-06-02 Ulrich Drepper <drepper@gmail.com>
54585 * nss/makedb.c: Rewritten to not use database library.
54586 * nss/Makefile: Update to build new makedb program.
54588 2011-06-14 Andreas Jaeger <aj@suse.de>
54590 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54591 memset declaration.
54593 2011-06-10 Andreas Schwab <schwab@redhat.com>
54595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54598 2011-06-10 Roland McGrath <roland@hack.frob.com>
54600 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54601 * elf/Makefile ($(objpfx)ld.so): Likewise.
54603 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54604 Don't list ld.so twice in dependencies.
54606 * posix/bug-regex31.c: Include <stdlib.h>.
54608 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54610 * nis/nss_compat/compat-spwd.c
54611 (getspent_next_nss_netgr): Remove unused variable.
54612 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54614 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54615 nonmembers" output to use the right array.
54617 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54619 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54621 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54622 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54623 * catgets/gencat.c (read_input_file): Likewise.
54624 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54626 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54627 variable definition inside #if's controlling its use.
54629 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54631 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54633 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54635 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54638 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54640 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54641 * configure: Regenerated.
54643 * Makerules: Revert last change.
54644 * elf/Makefile: Likewise.
54646 2011-06-09 Roland McGrath <roland@hack.frob.com>
54648 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54649 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54650 (reloc-link): Likewise.
54652 2011-06-09 Ulrich Drepper <drepper@gmail.com>
54654 * elf/Makefile: Add rules to build pldd.
54655 * elf/pldd.c: New file.
54656 * elf/pldd-xx.c: New file.
54658 2011-06-07 Ulrich Drepper <drepper@gmail.com>
54660 * version.h: Update for 2.15 development version.
54662 2011-06-07 David S. Miller <davem@davemloft.net>
54664 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54666 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54667 elf_machine_lazy_rel): Likewise.
54668 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54669 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54670 elf_machine_lazy_rel): Likewise.
54671 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54672 dl_hwcap via passed in argument.
54673 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54676 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54678 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54680 2011-06-06 Roland McGrath <roland@hack.frob.com>
54683 * manual/fdl-1.1.texi: New file, verbatim from:
54684 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54685 * manual/lgpl-2.1.texi: New file, verbatim from:
54686 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54687 * manual/Makefile (licenses): New variable, list those new file names.
54689 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54691 * manual/fdl.texi: File removed.
54692 * manual/lesser.texi: File removed.
54693 * manual/libc.texinfo (Copying, Documentation License):
54694 Use new @include file names, put @appendix directive before @include.
54696 2011-06-04 Jakub Jelinek <jakub@redhat.com>
54699 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54700 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54701 (mq_open): Add __NTH.
54703 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54706 Assume Intel Core i3/i5/i7 processor if AVX is available.
54708 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54710 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54713 2011-05-31 Andreas Schwab <schwab@redhat.com>
54715 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54716 memory. Use alloca_account. Fix memory leak when retrying.
54718 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54720 * version.h (RELEASE): Bump for 2.14 release.
54721 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54723 * config.make.in (RANLIB): Remove entry.
54725 2011-05-30 Ulrich Drepper <drepper@gmail.com>
54727 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54728 (libc.pot): Work around missing support for .ksh extension in xgettext.
54731 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54732 if both request failed.
54733 (send_dg): In case of server errors clear resplen or *resplen2.
54736 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54737 when there are multiple maps.
54738 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54739 (_dl_fini): Remove test here.
54741 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54743 2011-05-29 Ulrich Drepper <drepper@gmail.com>
54746 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54747 bit from old_res_options.
54748 (gaih_inet): Likewise.
54751 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54754 * resolv/res_init.c (res_setoptions): Make the code more compact.
54757 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54761 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54763 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54766 * malloc/malloc.h: Declare malloc hook variables as volatile.
54768 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54772 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54773 raise in the comment.
54774 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54775 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54776 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54778 2011-05-28 Ulrich Drepper <drepper@gmail.com>
54781 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54782 grow the buffers more if it already has to be sufficient.
54783 (build_wcs_upper_buffer): Likewise.
54784 * posix/regexec.c (check_matching): Likewise.
54785 (clean_state_log_if_needed): Likewise.
54786 (extend_buffers): Don't enlarge buffers beyond size of the input
54788 Patches mostly by Emil Wojak <emil@wojak.eu>.
54789 * posix/bug-regex32.c: New file.
54790 * posix/Makefile (tests): Add bug-regex32.
54792 * locale/findlocale.c (_nl_find_locale): Return right away if
54793 _nl_explode_name failed.
54794 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54796 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54798 * debug/xtrace.sh: Unify messages.
54799 * malloc/memusage.sh: Likewise.
54802 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54803 time symbol from vDSO. Substitute with vsyscall if not available.
54804 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54807 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54808 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54809 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54810 Add sendmmsg and internal_sendmmsg.
54811 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54812 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54813 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54815 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54816 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54817 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54819 2011-05-27 Ulrich Drepper <drepper@gmail.com>
54822 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54823 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54825 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54829 * iconvdata/Makefile (tests): Add bug-iconv9.
54830 * iconvdata/bug-iconv9.c: New file.
54832 2011-05-27 Andreas Schwab <schwab@redhat.com>
54835 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54837 2011-05-25 Jakub Jelinek <jakub@redhat.com>
54839 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54840 (struct user_regs_struct): Change intcs field back to cs.
54842 2011-05-25 Ulrich Drepper <drepper@gmail.com>
54844 * po/ja.po: Update from translation team.
54846 2011-05-23 Ulrich Drepper <drepper@gmail.com>
54849 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54850 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54852 2011-05-20 Andreas Schwab <schwab@redhat.com>
54854 * stdlib/longlong.h: Update from GCC.
54856 2011-05-23 Andreas Schwab <schwab@redhat.com>
54858 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54860 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54861 Add parameter name.
54862 (__sysconf): Pass it down.
54864 2011-05-22 Ulrich Drepper <drepper@gmail.com>
54867 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54869 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54870 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54871 add in in __libc_use_alloca calls. Adjust callers.
54872 (glob): Use malloc in some situations.
54874 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54875 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54878 2011-05-21 Ulrich Drepper <drepper@gmail.com>
54880 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54881 and CLOCK_BOOTTIME_ALARM.
54884 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54887 * string/_strerror.c (__strerror_r): Print negative errors as signed
54891 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54892 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54893 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54895 * configure.in: Fix typo in redirection and correct removal of test
54896 files in two cases.
54899 * locale/setlocale.c (new_composite_name): Fix test to check for
54900 identical name of all categories.
54903 * libio/filedoalloc.c (local_isatty): New function.
54904 (_IO_file_doallocate): Use local_isatty.
54905 * stdio-common/perror.c (perror): In case a new stream is used
54906 forward the stream error.
54907 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54910 2011-05-20 Ulrich Drepper <drepper@gmail.com>
54913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54915 * include/alloca.h (extend_alloca_account): Define.
54918 * posix/regex.h: Fix comments with documentation of user-accessible
54919 fields after compilation and describe correct free'ing of pattern
54920 after re_compile_pattern.
54921 Patch by Reuben Thomas <rrt@sc3d.org>.
54923 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54925 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54926 and -mno-altivec to prevent the compiler from using Altivec and/or
54927 VSX instructions when the corresponding registers are not available.
54929 2011-05-19 Andreas Schwab <schwab@redhat.com>
54931 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54933 2011-05-19 Ulrich Drepper <drepper@gmail.com>
54935 * libio/freopen.c (freopen): Use __dup2, not dup2.
54936 * libio/freopen64.c (freopen64): Likewise.
54938 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54941 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54942 * math/Makefile (tests): Add test-powl.
54943 (CFLAGS-test-powl.c): Define.
54944 * math/test-powl.c: New file.
54946 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54948 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54950 2011-05-17 Ulrich Drepper <drepper@gmail.com>
54953 * iconvdata/gb18030.c: Update to GB18020-2005.
54955 2011-05-16 Ulrich Drepper <drepper@gmail.com>
54957 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54958 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54959 Patch by Aharon Robbins <arnold@skeeve.com>.
54962 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54966 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54967 through underflows.
54970 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54971 point to strings before performing equality test for error_one_per_line
54975 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54978 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54979 (struct user_fpregs_struct): Avoid __uint*_t types.
54982 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54983 symbol info. Use it instead of calling _dl_addr locally.
54984 (lock_and_info): New function.
54985 (tr_freehook): Call lock_and_info and pass symbol info as additional
54986 parameter to tr_where.
54987 (tr_mallochook): Likewise.
54988 (tr_reallochook): Likewise.
54989 (tr_memalignhook): Likewise.
54991 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54992 used and couldn't be at all thread-safe.
54994 2011-05-15 Ulrich Drepper <drepper@gmail.com>
54996 * libio/freopen.c (freopen): Don't close old file descriptor
54997 before the new one is opened. Instead dup the new file descriptor
54998 to the old one after the new stream is created.
54999 * libio/freopen64.c (freopen64): Likewise.
55000 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55001 * libio/fileops.c (_IO_new_file_close_it): Handle new
55002 _IO_FLAGS2_NOCLOSE flag.
55003 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55004 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55005 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55006 _IO_FLAGS2_NOCLOSE flag.
55007 * include/unistd.h: Add hidden_proto for dup3.
55008 Define __have_dup3.
55009 * io/dup3.c: Define hidden symbol.
55010 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55013 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55014 when an incomplete long option is used.
55015 * posix/tst-getopt_long1.c: New file.
55016 * posix/Makefile (tests): Add tst-getopt_long1.
55019 * scripts/config.guess: Update from autoconf-2.68.
55020 * scripts/config.sub: Likewise.
55023 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55025 (has_cpuclock): ...this. New function.
55026 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55027 macro here based on has_cpuclock code.
55030 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55031 First byte (not low byte) is now always NUL.
55032 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55035 Use non-cancelable interfaces.
55038 * locale/iso-639.def: Add entry for Sorani.
55041 * include/stdlib.h: Move include protection to the right place.
55042 Define abort_msg_s. Declare __abort_msg with it.
55043 * stdlib/abort.c (__abort_msg): Adjust type.
55044 * assert/assert.c (__assert_fail_base): New function. Majority
55045 of code from __assert_fail. Allocate memory for __abort_msg with
55047 (__assert_fail): Now call __assert_fail_base.
55048 * assert/assert-perr.c: Remove bulk of implementation. Use
55049 __assert_fail_base.
55050 * include/assert.hL Declare __assert_fail_base.
55051 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55053 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55055 2011-05-14 Ulrich Drepper <drepper@gmail.com>
55059 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55060 until all modules are registered in the DTV.
55061 * elf/Makefile: Add rules to build and run tst-tls19.
55062 * elf/tst-tls19.c: New file.
55063 * elf/tst-tls19mod1.c: New file.
55064 * elf/tst-tls19mod2.c: New file.
55065 * elf/tst-tls19mod3.c: New file.
55066 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55069 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55073 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55074 two-byte sequence errors.
55075 * iconvdata/Makefile (tests): Add bug-iconv8.
55076 * iconvdata/bug-iconv8.c: New file.
55079 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55082 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55085 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55086 (dummy_getcfa): New function.
55087 (init): Get _Unwind_GetCFA address, use dummy if not found.
55088 (backtrace_helper): In recursion check, also check whether CFA changes.
55089 (__backtrace): Completely initialize arg.
55091 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55092 storing incomplete byte sequence in state object. Avoid testing for
55093 guaranteed too small input if we know there is enough data available.
55095 2011-05-11 Andreas Schwab <schwab@redhat.com>
55097 * Makeconfig (+link-pie): Indent.
55098 * Rules (binaries-pie): Define if $(have-fpie) and
55100 (binaries-shared): Also filter out $(binaries-pie).
55101 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55102 * nscd/Makefile (others-pie): Add nscd.
55103 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55104 ($(objpfx)nscd): Remove command override.
55105 * login/Makefile (others-pie): Add pt_chown.
55106 ($(objpfx)pt_chown): Remove command override.
55107 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55108 remove command overrides.
55110 2011-05-13 Ulrich Drepper <drepper@gmail.com>
55112 * libio/tst_putwc.c: Fix error messages.
55115 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55116 currently writing and seek to current position when not.
55117 * libio/Makefile (tests): Add bug-fclose1.
55118 * libio/bug-fclose1.c: New file.
55120 2011-05-12 Ulrich Drepper <drepper@gmail.com>
55123 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55124 don't set DF_1_NODELETE here.
55125 (do_lookup_x): When entering new entry test for copy relocation
55126 and if necessary set DF_1_NODELETE flag.
55127 * elf/tst-unique4.cc: New file.
55128 * elf/tst-unique4.h: New file.
55129 * elf/tst-unique4lib.cc: New file.
55130 * elf/Makefile: Add rules to build and run tst-unique4.
55131 Patch by Piotr Bury <pbury@goahead.com>.
55133 2011-05-11 Ulrich Drepper <drepper@gmail.com>
55136 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55139 * misc/mntent_r.c (addmntent): Flush the stream after the output
55142 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55143 (is_trusted_path_normalize): Skip initial colon. Append slash
55144 to empty buffer. Duplicate is_trusted_path code but allow
55145 constructed patch to be prefix.
55146 (is_dst): Allow $ORIGIN followed by /.
55147 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55148 Correct testing of result of is_trusted_path_normalize
55149 (decompose_rpath): Fix warning.
55151 2011-05-10 Ulrich Drepper <drepper@gmail.com>
55154 * grp/initgroups.c (internal_getgrouplist): When we found the service
55155 list through the initgroups entry in nsswitch.conf do not always
55156 continue on a successful lookup. Don't always use the
55157 __nss_group_database value if it is set.
55158 * nss/nsswitch.conf (initgroups): Change action for successful db
55159 lookup to continue for compatibility.
55161 2011-05-09 Ulrich Drepper <drepper@gmail.com>
55164 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55166 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55168 * iconvdata/tst-tables.sh: Likewise.
55169 * iconvdata/cp770.c: New file.
55170 * iconvdata/cp771.c: New file.
55171 * iconvdata/cp772.c: New file.
55172 * iconvdata/cp773.c: New file.
55173 * iconvdata/cp774.c: New file.
55174 * iconvdata/testdata/CP770: New file.
55175 * iconvdata/testdata/CP770..UTF8: New file.
55176 * iconvdata/testdata/CP771: New file.
55177 * iconvdata/testdata/CP771..UTF8: New file.
55178 * iconvdata/testdata/CP772: New file.
55179 * iconvdata/testdata/CP772..UTF8: New file.
55180 * iconvdata/testdata/CP773: New file.
55181 * iconvdata/testdata/CP773..UTF8: New file.
55182 * iconvdata/testdata/CP774: New file.
55183 * iconvdata/testdata/CP774..UTF8: New file.
55185 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55187 * iconvdata/gen-8bit-gap.sh: Likewise.
55188 * iconvdata/gen-8bit.sh: Likewise.
55190 * locale/iso-639.def: Add ary entry.
55193 * locale/C-translit.h.in: Add U20A1 transliteration.
55196 * locale/iso-639.def: Add wae entry.
55197 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55200 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55204 * locale/C-translit.h.in: Add entry for U20B9.
55205 Patch by pravin.d.s@gmail.com.
55207 2011-05-08 Ulrich Drepper <drepper@gmail.com>
55210 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55211 ENAMETOOLONG use generic getcwd.
55212 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55213 in rtld. Use *stat64.
55214 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55215 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55216 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55217 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55218 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55219 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55220 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55221 __fstatat64 macros.
55222 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55223 * dirent/rewinddir.c: Add libc_hidden_def.
55224 * sysdeps/mach/hurd/rewinddir.c: Likewise.
55225 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
55227 * include/dirent.h (__alloc_dir): Add flags parameter.
55228 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55229 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55231 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55232 from fdopendir if O_CLOEXEC is already set.
55234 2011-03-15 Alan Modra <amodra@gmail.com>
55236 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55237 l_tls_firstbyte_offset non-zero. Save padding offset in
55238 l_tls_firstbyte_offset for later use.
55239 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55240 freeing static tls block.
55242 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55244 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55245 where #ifdef was intended. The intent is to prevent ARG_MAX from
55246 being defined by the kernel headers.
55248 2011-05-07 Ulrich Drepper <drepper@gmail.com>
55251 * resolv/resolv.h: Define RES_NOTLDQUERY.
55252 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55253 no-tld-query and set RES_NOTLDQUERY.
55254 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55255 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55256 modern BIND to search name as TLD unless forbidden.
55258 2011-05-07 Petr Baudis <pasky@suse.cz>
55259 Ulrich Drepper <drepper@gmail.com>
55262 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55263 (is_trusted_path): ...to here.
55264 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55265 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55266 using is_trusted_path_normalize() in setuid scripts.
55268 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55270 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55271 __BEGIN/__END_DECLS.
55273 2011-05-06 Ulrich Drepper <drepper@gmail.com>
55275 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55276 NSS_STATUS_NOTFOUND if no record was found.
55278 2011-05-05 Andreas Schwab <schwab@redhat.com>
55280 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55281 (headers-not-in-tirpc): Remove rpc/netdb.h
55282 * resolv/netdb.h: Revert last change.
55284 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55286 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55287 circular dependency between libgcc.a and libc.a.
55289 2011-05-05 Andreas Schwab <schwab@redhat.com>
55291 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55292 * nis/Makefile: Don't install rpcsvc/*.
55293 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55294 instead of <rpc/types.h>.
55295 (MAXHOSTNAMELEN): Define.
55297 2011-05-03 Andreas Schwab <schwab@redhat.com>
55299 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55301 2011-04-28 Maciej Babinski <mbabinski@google.com>
55304 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55305 gethostbyname4_r when IPv6 results are possible.
55307 2011-05-02 Ulrich Drepper <drepper@gmail.com>
55310 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55311 _PC_PIPE_BUF handling.
55313 2011-04-30 Bruno Haible <bruno@clisp.org>
55316 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55317 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55319 * inet/getnameinfo.c (getnameinfo): Likewise.
55321 2011-04-29 Ulrich Drepper <drepper@gmail.com>
55323 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55324 to groups setting in database lookup.
55325 * nss/nsswitch.conf: Add initgroups entry.
55327 2011-04-22 Ulrich Drepper <drepper@gmail.com>
55330 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55332 Patch by Eric Blake <eblake@redhat.com>.
55334 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55336 * sunrpc/Makefile (need-export-routines): Add svc_run.
55337 (routines): Remove svc_run.
55338 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55339 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55340 * sunrpc/svc_run.c (svc_run): Likewise.
55341 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55343 2011-04-21 Ulrich Drepper <drepper@gmail.com>
55345 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55346 problem in reallocation in last patch.
55348 2011-04-20 Ulrich Drepper <drepper@gmail.com>
55350 * sunrpc/Makefile: Move inclusion of Rules.
55352 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55354 * nss/nss_files/files-initgroups.c: New file.
55355 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55356 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55357 _nss_files_initgroups_dyn.
55359 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55361 * elf/elf.h (R_ARM_IRELATIVE): Define.
55363 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55365 * po/ru.po: Update from translation team.
55367 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55369 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55372 2011-02-06 Mike Frysinger <vapier@gentoo.org>
55375 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55376 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55377 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55378 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55379 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55381 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55383 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55385 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55386 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55387 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55389 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55392 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55394 * stdlib/bug-getcontext.c: New file.
55395 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55397 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55399 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55400 instructions into .machine "z9-109".
55401 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55402 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55404 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55406 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55407 between environment variables and auxiliary vector.
55409 2011-04-16 Ulrich Drepper <drepper@gmail.com>
55411 * Makefile: Add rules to build linkobj/libc.so.
55412 * include/libc-symbols.h: Define libc_hidden_nolink.
55413 * include/rpc/auth.h: Mark functions which are to be hidden.
55414 * include/rpc/auth_des.h: Likewise.
55415 * include/rpc/auth_unix.h: Likewise.
55416 * include/rpc/clnt.h: Likewise.
55417 * include/rpc/des_crypt.h: Likewise.
55418 * include/rpc/key_prot.h: Likewise.
55419 * include/rpc/pmap_clnt.h: Likewise.
55420 * include/rpc/pmap_prot.h: Likewise.
55421 * include/rpc/pmap_rmt.h: Likewise.
55422 * include/rpc/rpc_msg.h: Likewise.
55423 * include/rpc/svc.h: Likewise.
55424 * include/rpc/svc_auth.h: Likewise.
55425 * include/rpc/xdr.h: Likewise.
55426 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55427 * nss/Makefile: Likewise.
55428 * sunrpc/Makefile: Don't install headers. Build library with normal
55429 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55430 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55431 for the compat linking library. Remove use of INTDEF/INTUSE.
55432 * sunrpc/auth_none.c: Likewise.
55433 * sunrpc/auth_unix.c: Likewise.
55434 * sunrpc/authdes_prot.c: Likewise.
55435 * sunrpc/authuxprot.c: Likewise.
55436 * sunrpc/clnt_gen.c: Likewise.
55437 * sunrpc/clnt_perr.c: Likewise.
55438 * sunrpc/clnt_raw.c: Likewise.
55439 * sunrpc/clnt_simp.c: Likewise.
55440 * sunrpc/clnt_tcp.c: Likewise.
55441 * sunrpc/clnt_udp.c: Likewise.
55442 * sunrpc/clnt_unix.c: Likewise.
55443 * sunrpc/des_crypt.c: Likewise.
55444 * sunrpc/des_soft.c: Likewise.
55445 * sunrpc/get_myaddr.c: Likewise.
55446 * sunrpc/key_call.c: Likewise.
55447 * sunrpc/key_prot.c: Likewise.
55448 * sunrpc/netname.c: Likewise.
55449 * sunrpc/pm_getmaps.c: Likewise.
55450 * sunrpc/pm_getport.c: Likewise.
55451 * sunrpc/pmap_clnt.c: Likewise.
55452 * sunrpc/pmap_prot.c: Likewise.
55453 * sunrpc/pmap_prot2.c: Likewise.
55454 * sunrpc/pmap_rmt.c: Likewise.
55455 * sunrpc/publickey.c: Likewise.
55456 * sunrpc/rpc_cmsg.c: Likewise.
55457 * sunrpc/rpc_common.c: Likewise.
55458 * sunrpc/rpc_dtable.c: Likewise.
55459 * sunrpc/rpc_prot.c: Likewise.
55460 * sunrpc/rpc_thread.c: Likewise.
55461 * sunrpc/rtime.c: Likewise.
55462 * sunrpc/svc.c: Likewise.
55463 * sunrpc/svc_auth.c: Likewise.
55464 * sunrpc/svc_authux.c: Likewise.
55465 * sunrpc/svc_raw.c: Likewise.
55466 * sunrpc/svc_run.c: Likewise.
55467 * sunrpc/svc_simple.c: Likewise.
55468 * sunrpc/svc_tcp.c: Likewise.
55469 * sunrpc/svc_udp.c: Likewise.
55470 * sunrpc/svc_unix.c: Likewise.
55471 * sunrpc/svcauth_des.c: Likewise.
55472 * sunrpc/xcrypt.c: Likewise.
55473 * sunrpc/xdr.c: Likewise.
55474 * sunrpc/xdr_array.c: Likewise.
55475 * sunrpc/xdr_float.c: Likewise.
55476 * sunrpc/xdr_intXX_t.c: Likewise.
55477 * sunrpc/xdr_mem.c: Likewise.
55478 * sunrpc/xdr_rec.c: Likewise.
55479 * sunrpc/xdr_ref.c: Likewise.
55480 * sunrpc/xdr_sizeof.c: Likewise.
55481 * sunrpc/xdr_stdio.c: Likewise.
55483 2011-04-10 Ulrich Drepper <drepper@gmail.com>
55486 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55487 * sysdeps/ia64/dl-tls.h: Likewise.
55488 * sysdeps/powerpc/dl-tls.h: Likewise.
55489 * sysdeps/s390/dl-tls.h: Likewise.
55490 * sysdeps/sh/dl-tls.h: Likewise.
55491 * sysdeps/sparc/dl-tls.h: Likewise.
55492 * sysdeps/x86_64/dl-tls.h: Likewise.
55493 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55495 2011-03-14 Andreas Schwab <schwab@redhat.com>
55497 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55498 rpath element also skip the following colon.
55499 (expand_dynamic_string_token): Add is_path parameter and pass
55500 down to DL_DST_REQUIRED and _dl_dst_substitute.
55501 (decompose_rpath): Call expand_dynamic_string_token with
55502 non-zero is_path. Ignore empty rpaths.
55503 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55506 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55511 2011-04-09 Ulrich Drepper <drepper@gmail.com>
55514 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55515 Patch by Filipe David Manana <fdmanana@apache.org>.
55517 2011-04-07 Andreas Schwab <schwab@redhat.com>
55519 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55520 Maintain aligned stack.
55521 (CHECK_RSP): Remove unused macro.
55523 2011-04-03 Ulrich Drepper <drepper@gmail.com>
55525 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55526 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55528 2011-04-02 Ulrich Drepper <drepper@gmail.com>
55530 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55532 * include/features.h: Mention __USE_XOPEN2K8 in comment.
55534 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55537 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55538 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55539 * sysdeps/x86_64/memmove.c: New file.
55540 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55541 (memcpy): Renamed to ...
55542 (__new_memcpy): This.
55543 (memcpy): Provide GLIBC_2_14 memcpy.
55544 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55545 (memcpy): Provide GLIBC_2_2_5 memcpy.
55547 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55550 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55552 2011-03-30 Andreas Schwab <schwab@redhat.com>
55554 * misc/syncfs.c: New file.
55555 * misc/Makefile (routines): Add syncfs.
55556 * posix/unistd.h: Declare syncfs.
55557 * sysdeps/unix/syscalls.list: Add syncfs.
55559 2011-04-01 Andreas Schwab <schwab@redhat.com>
55561 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55563 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55564 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55565 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55566 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55567 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55568 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55569 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55571 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55573 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55574 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55575 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55577 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55579 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55581 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55582 sync_file_range.c with -fexceptions.
55583 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55584 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55585 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55586 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55587 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55588 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55589 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55590 sync_file_range as cancellation point
55591 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55592 now a wrapper around __call_sync_file_range with cancellation handling.
55593 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55594 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55595 function name to __call_sync_file_range.
55596 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55597 Add call_sync_file_range.
55599 2011-04-01 Andreas Schwab <schwab@redhat.com>
55601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55604 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55606 * iconv/iconv.h: Fix typo in comment.
55607 * io/fcntl.h: Likewise.
55608 * libio/stdio.h: Likewise.
55609 * posix/spawn.h: Likewise.
55610 * posix/unistd.h: Likewise.
55611 * stdlib/stdlib.h: Likewise.
55612 * time/time.h: Likewise.
55613 * wcsmbs/wchar.h: Likewise.
55615 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55616 open_by_handle): Add.
55617 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55618 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55619 Augment a few comments.
55620 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55621 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55622 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55624 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55625 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55628 * io/fcntl.h (AT_EMPTY_PATH): Define.
55630 2011-03-30 Ulrich Drepper <drepper@gmail.com>
55632 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55633 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55634 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55636 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
55637 * Versions.def: Add GLIBC_2.14.
55638 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55641 2011-03-22 Ulrich Drepper <drepper@gmail.com>
55643 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55645 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55647 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55650 * string/test-strncmp.c (do_page_test): New function.
55651 (check2): Likewise.
55652 (test_main): Call check2.
55653 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55655 2011-03-20 Ulrich Drepper <drepper@gmail.com>
55658 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55659 Handle cache information in CPU leaf 4.
55660 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55662 2011-03-18 Ulrich Drepper <drepper@gmail.com>
55665 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55666 character representation.
55667 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55669 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55671 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55672 END(__isnan) to END(__isnanf) to match function entry point/label
55673 EALIGN(__isnanf,...).
55675 2011-03-10 Jakub Jelinek <jakub@redhat.com>
55677 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55679 2011-03-10 Ulrich Drepper <drepper@gmail.com>
55682 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55683 copy from the symbol referenced in the relocation to initialize the
55685 Patch by Piotr Bury <pbury@goahead.com>.
55686 * elf/Makefile: Add rules to build and tst-unique3.
55687 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55688 * elf/tst-unique3.cc: New file.
55689 * elf/tst-unique3.h: New file.
55690 * elf/tst-unique3lib.cc: New file.
55691 * elf/tst-unique3lib2.cc: New file.
55693 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55695 2011-03-10 Mike Frysinger <vapier@gentoo.org>
55697 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55698 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55701 2011-03-06 Ulrich Drepper <drepper@gmail.com>
55703 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55704 to-be-loaded object along a path to loader is ld.so.
55706 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55707 Ulrich Drepper <drepper@gmail.com>
55709 * sysdeps/x86_64/memset.S: After aligning destination, code
55710 branches to different locations depending on the value of
55711 misalignment, when multiarch is enabled. Fix this.
55713 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55715 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55716 Set _x86_64_preferred_memory_instruction for AMD processsors.
55717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55718 Set bit_Prefer_SSE_for_memop for AMD processors.
55720 2011-03-04 Ulrich Drepper <drepper@gmail.com>
55722 * libio/fmemopen.c (fmemopen): Optimize a bit.
55724 2011-03-03 Andreas Schwab <schwab@redhat.com>
55726 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55728 2011-03-03 Roland McGrath <roland@redhat.com>
55730 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55732 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55734 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55735 __bzero_ultra1 instead of __memset_ultra1.
55737 2011-02-23 Andreas Schwab <schwab@redhat.com>
55738 Ulrich Drepper <drepper@gmail.com>
55741 * include/link.h (struct link_map): Add l_orig_initfini.
55742 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55743 returning unsuccessfully.
55744 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55745 close of a file loaded at startup, restore the original l_initfini
55747 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55748 list, store the pointer.
55749 * elf/Makefile ($(objpfx)noload-mem): New rule.
55750 (noload-ENV): Define.
55751 (tests): Add $(objpfx)noload-mem.
55752 * elf/noload.c: Include <memcheck.h>.
55753 (main): Call mtrace. Close all opened handles.
55755 2011-02-17 Andreas Schwab <schwab@redhat.com>
55758 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55759 dependencies are missing.
55761 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55763 Fix __if_freereq crash: Unlike the generic version which uses free,
55765 * sysdeps/mach/hurd/ifreq.h: New file.
55767 2011-01-27 Petr Baudis <pasky@suse.cz>
55768 Ulrich Drepper <drepper@gmail.com>
55771 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55772 to extend_alloca().
55773 * stdio-common/bug23.c: New file.
55774 * stdio-common/Makefile (tests): Add bug23.
55776 2010-09-28 Andreas Schwab <schwab@redhat.com>
55777 Ulrich Drepper <drepper@gmail.com>
55780 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55781 before performing relro protection. At old place add assertion
55782 to make sure nothing changed.
55784 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55785 Glauber de Oliveira Costa <glommer@gmail.com>
55787 * elf/elf.h: Add new ARM TLS relocs.
55789 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55792 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55794 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55796 * sysdeps/wordsize-64/tst-writev.c: New file.
55798 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55800 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55801 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55802 insns in _dl_start to prevent a TOC reference before relocs are
55805 2011-02-15 Ulrich Drepper <drepper@gmail.com>
55808 * Makeconfig: Remove RANLIB definition.
55809 * Makerules: Don't use RANLIB.
55810 * aclocal.m4: Remove ranlib test.
55811 * configure.in: No need to check for ranlib.
55812 * elf/rtld-Rules: Don't use RANLIB.
55814 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55816 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55818 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55819 inclusion protection macro.
55821 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55822 SIGRTMIN and SIGRTMAX and print information in that case only when
55823 SIGRTMIN is defined.
55825 2011-02-11 Jakub Jelinek <jakub@redhat.com>
55827 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55828 arginfo fn returning -1.
55830 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55831 and thousands string is zero terminated.
55833 2011-02-03 Andreas Schwab <schwab@redhat.com>
55835 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55836 sysdeps/unix/sysv/linux/bits/socket.h.
55838 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55840 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55841 (__CPU_COUNT): Remove old macros.
55842 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55843 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55844 (__CPU_ALLOC, __CPU_FREE): Add macros.
55845 (__sched_cpualloc, __sched_cpufree): Add declarations.
55847 2011-02-05 Ulrich Drepper <drepper@gmail.com>
55849 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55850 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55851 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55852 (readdhstai): Return value of addhstaiX call.
55853 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55854 (addgrbyX): Return value returned by cache_addgr.
55855 (readdgrbyname): Return value returned by addgrbyX.
55856 (readdgrbygid): Likewise.
55857 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55858 (addpwbyX): Return value returned by cache_addpw.
55859 (readdpwbyname): Return value returned by addhstbyX.
55860 (readdpwbyuid): Likewise.
55861 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55862 (addservbyX): Return value returned by cache_addserv.
55863 (readdservbyname): Return value returned by addservbyX:
55864 (readdservbyport): Likewise.
55865 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55866 (addhstbyX): Return value returned by cache_addhst.
55867 (readdhstbyname): Return value returned by addhstbyX.
55868 (readdhstbyaddr): Likewise.
55869 (readdhstbynamev6): Likewise.
55870 (readdhstbyaddrv6): Likewise.
55871 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55872 (readdinitgroups): Return value returned by addinitgroupsX.
55873 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55874 (prune_cache): Keep track of timeout value of re-added entries.
55875 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55876 * nscd/nscd.h: Adjust prototypes of readd* functions.
55878 2011-02-04 Roland McGrath <roland@redhat.com>
55880 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55881 (nis_stats): Likewise.
55882 * nis/nis_modify.c (nis_modify): Likewise.
55883 * nis/nis_remove.c (nis_remove): Likewise.
55884 * nis/nis_add.c (nis_add): Likewise.
55886 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55888 * posix/fnmatch_loop.c: Add some consts.
55890 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55892 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55895 * config.make.in (config-cflags-novzeroupper): Define.
55896 * configure.in: Substitute libc_cv_cc_novzeroupper.
55897 * elf/Makefile (AVX-CFLAGS): Define.
55898 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55899 (CFLAGS-tst-auditmod4a.c): Likewise.
55900 (CFLAGS-tst-auditmod4b.c): Likewise.
55901 (CFLAGS-tst-auditmod6b.c): Likewise.
55902 (CFLAGS-tst-auditmod6c.c): Likewise.
55903 (CFLAGS-tst-auditmod7b.c): Likewise.
55904 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55906 2011-02-02 Ulrich Drepper <drepper@gmail.com>
55908 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55909 function to the callback.
55910 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55912 2011-02-02 Andreas Schwab <schwab@redhat.com>
55914 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55917 2011-01-19 Ulrich Drepper <drepper@gmail.com>
55920 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55922 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55924 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55927 * elf/Makefile: Add rules to build and run new test.
55928 * elf/tst-initorder.c: New file.
55929 * elf/tst-initorder.exp: New file.
55930 * elf/tst-initordera1.c: New file.
55931 * elf/tst-initordera2.c: New file.
55932 * elf/tst-initordera3.c: New file.
55933 * elf/tst-initordera4.c: New file.
55934 * elf/tst-initorderb1.c: New file.
55935 * elf/tst-initorderb2.c: New file.
55936 * elf/tst-order-a1.c: New file.
55937 * elf/tst-order-a2.c: New file.
55938 * elf/tst-order-a3.c: New file.
55939 * elf/tst-order-a4.c: New file.
55940 * elf/tst-order-b1.c: New file.
55941 * elf/tst-order-b2.c: New file.
55942 * elf/tst-order-main.c: New file.
55943 New test case by George Gensure <werkt0@gmail.com>.
55945 2010-10-01 Andreas Schwab <schwab@redhat.com>
55947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55948 decoding ACE if AI_CANONIDN.
55950 2011-01-18 Ulrich Drepper <drepper@gmail.com>
55952 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55954 2011-01-17 Ulrich Drepper <drepper@gmail.com>
55956 * version.h (RELEASE): Bump for 2.13 release.
55957 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55959 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55961 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55963 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55964 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55965 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55966 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55967 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55968 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55970 * posix/getconf.c: Update copyright year.
55971 * catgets/gencat.c: Likewise.
55972 * csu/version.c: Likewise.
55973 * debug/catchsegv.sh: Likewise.
55974 * debug/xtrace.sh: Likewise.
55975 * elf/ldconfig.c: Likewise.
55976 * elf/ldd.bash.in: Likewise.
55977 * elf/sprof.c (print_version): Likewise.
55978 * iconv/iconv_prog.c: Likewise.
55979 * iconv/iconvconfig.c: Likewise.
55980 * locale/programs/locale.c: Likewise.
55981 * locale/programs/localedef.c: Likewise.
55982 * malloc/memusage.sh: Likewise.
55983 * malloc/mtrace.pl: Likewise.
55984 * nscd/nscd.c (print_version): Likewise.
55985 * nss/getent.c: Likewise.
55987 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55988 PF_CAIF, and PF_ALG.
55989 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55991 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55993 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55994 (modules-names): Use them.
55995 (ifunc-test-modules, ifunc-pie-tests): Define.
55996 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55997 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55998 (test-extras): Likewise.
55999 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56000 $(compile-command.c).
56001 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56002 (all-built-dso): Define.
56003 (check-textrel.out, check-execstack.out): Depend on it.
56005 * configure.in: Don't override --enable-multi-arch.
56007 2011-01-15 Ulrich Drepper <drepper@gmail.com>
56010 * nscd/hstcache.c (tryagain): Define.
56011 (cache_addhst): Return tryagain not notfound for temporary errors.
56012 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56015 2011-01-14 Ulrich Drepper <drepper@gmail.com>
56018 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56019 to make the syscall.
56020 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56023 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56024 and fall back to matching as normal character if the string ends before
56025 the matching ']' is found. This is what POSIX requires.
56026 * posix/testfnm.c: Adjust test result.
56027 * posix/globtest.sh: Adjust test result. Add new test.
56028 * posix/tst-fnmatch.input: Likewise.
56029 * posix/tst-fnmatch2.c: Add new test.
56031 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56033 * elf/Makefile (check-execstack): Revert last change. Depend on
56035 (check-execstack.h): New target.
56036 (generated): Add check-execstack.h.
56037 * elf/check-execstack.c: Include "check-execstack.h".
56038 (main): Revert last change.
56039 (handle_file): Return zero if GNU_STACK is absent and
56040 DEFAULT_STACK_PERMS doesn't include PF_X.
56042 2011-01-13 Ulrich Drepper <drepper@gmail.com>
56044 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56045 in child fails because the descriptor is already closed.
56046 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56047 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56048 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56051 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56055 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56056 temporary buffer used to handle multi lookups locally.
56057 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56059 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56061 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56064 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56066 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56067 alignment for SSE2.
56069 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56072 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56073 characters. When rounding increased number of integer digits recompute
56075 * stdio-common/tst-grouping.c: New file.
56076 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56078 2011-01-09 Ulrich Drepper <drepper@gmail.com>
56080 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56081 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56083 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56085 * bits/select.h: Likewise.
56087 2011-01-08 Ulrich Drepper <drepper@gmail.com>
56089 * po/ja.po: Update from translation team.
56091 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
56094 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56095 implementation just like for lxstat, fxstatat, et al.
56097 2010-12-27 Jim Meyering <meyering@redhat.com>
56100 * posix/regexec.c (build_trtable): Return failure indication upon
56101 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56103 2010-12-25 Ulrich Drepper <drepper@gmail.com>
56106 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56107 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56108 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56109 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56112 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56115 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56116 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56118 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56120 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56121 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56122 script has SORT_BY_INIT_PRIORITY.
56123 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56124 NO_CTORS_DTORS_SECTIONS is defined.
56125 * elf/soinit.c: Likewise.
56126 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56127 NO_CTORS_DTORS_SECTIONS is defined.
56128 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56129 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56130 * sysdeps/sh/init-first.c: Likewise.
56131 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56133 2010-12-24 Ulrich Drepper <drepper@gmail.com>
56135 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56136 always use the slow path.
56138 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56140 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56141 similar rule which adds the sysdep directories to the header search in
56142 order to pick up the correct platform stackinfo.h.
56143 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56144 perform test if it is, otherwise return successfully without testing.
56145 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56146 DEFAULT_STACK_PERMS define in stackinfo.h.
56147 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56148 defined in stackinfo.h.
56149 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56150 DEFAULT_STACK_PERMS defined in stackinfo.h.
56151 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56152 * sysdeps/ia64/stackinfo.h: Likewise.
56153 * sysdeps/s390/stackinfo.h: Likewise.
56154 * sysdeps/sh/stackinfo.h: Likewise.
56155 * sysdeps/sparc/stackinfo.h: Likewise.
56156 * sysdeps/x86_64/stackinfo.h: Likewise.
56157 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56158 PF_X for powerpc64. Retain PF_X for powerpc32.
56160 2010-12-19 Ulrich Drepper <drepper@gmail.com>
56162 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56164 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56165 GETDENTS_64BIT_ALIGNED.
56167 2010-12-14 Ulrich Drepper <dreper@gmail.com>
56169 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56171 2010-12-10 Andreas Schwab <schwab@redhat.com>
56173 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56176 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56177 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56179 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56180 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56182 2010-12-09 Ulrich Drepper <drepper@gmail.com>
56185 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56188 2010-12-09 Jakub Jelinek <jakub@redhat.com>
56190 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56192 2010-12-03 Ulrich Drepper <drepper@gmail.com>
56194 * po/it.po: Update from translation team.
56196 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56201 2010-11-30 Ulrich Drepper <drepper@gmail.com>
56203 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56205 2010-11-24 Andreas Schwab <schwab@redhat.com>
56207 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56209 (gaih_getanswer_slice): Likewise.
56211 2010-10-20 Jakub Jelinek <jakub@redhat.com>
56213 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56215 2010-05-31 Petr Baudis <pasky@suse.cz>
56218 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56219 silently even in the chroot mode.
56221 2010-11-22 Ulrich Drepper <drepper@gmail.com>
56223 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56224 last patch a bit. Pretty printing
56226 2010-05-31 Petr Baudis <pasky@suse.cz>
56229 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56230 initialization of skip_initgroups_dyn.
56232 2010-11-19 Ulrich Drepper <drepper@gmail.com>
56234 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56235 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56237 2010-11-16 Ulrich Drepper <drepper@gmail.com>
56239 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56241 2010-11-11 Andreas Schwab <schwab@redhat.com>
56243 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56244 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56245 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56246 ($(objpfx)tst-fnmatch-mem): New rule.
56247 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56248 * posix/tst-fnmatch.c (main): Call mtrace.
56250 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56253 Support Intel processor model 6 and model 0x2c.
56255 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
56257 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56260 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56263 * string/test-strncasecmp.c (check_result): New function.
56264 (do_one_test): Use it.
56265 (check1): New function.
56266 (test_main): Use it.
56267 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56268 Support strcasecmp and strncasecmp.
56270 2010-11-08 Ulrich Drepper <drepper@gmail.com>
56273 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56274 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56276 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56278 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56282 * sysdeps/x86_64/multiarch/bzero.S: New file.
56283 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56284 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56285 * sysdeps/x86_64/multiarch/memset.S: New file.
56286 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56288 Set bit_Prefer_SSE_for_memop for Intel processors.
56289 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56291 (index_Prefer_SSE_for_memop): Define.
56292 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56294 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
56296 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56297 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56299 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56302 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56303 (__x86_64_raw_data_cache_size_half): Likewise.
56304 (__x86_64_raw_shared_cache_size): Likewise.
56305 (__x86_64_raw_shared_cache_size_half): Likewise.
56307 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56308 (__x86_64_raw_data_cache_size_half): Likewise.
56309 (__x86_64_raw_shared_cache_size): Likewise.
56310 (__x86_64_raw_shared_cache_size_half): Likewise.
56311 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56312 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56313 and __x86_64_raw_shared_cache_size_half. Round
56314 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56315 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56316 to multiple of 256 bytes.
56318 2010-11-03 Ulrich Drepper <drepper@gmail.com>
56321 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56322 of inacessible symlinks. Verify result of symlink before returning it.
56323 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56324 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56326 2010-10-28 Erich Ritz <erichritz@gmail.com>
56328 * math/math.h (isinf): Fix typo in comment.
56330 2010-11-01 Ulrich Drepper <drepper@gmail.com>
56332 * po/da.po: Update from translation team.
56334 2010-10-26 Ulrich Drepper <drepper@gmail.com>
56336 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56337 is added to the list.
56339 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56340 Ulrich Drepper <drepper@gmail.com>
56342 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56343 the global list here. Move code to...
56344 (_dl_add_to_namespace_list): ...here. New function.
56345 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56346 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56347 * elf/dl-load.c (lose): Don't remove the element from the list.
56348 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56349 (_dl_map_object): Likewise.
56351 2010-10-25 Ulrich Drepper <drepper@gmail.com>
56354 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56355 into all bytes of SSE register.
56356 Patch by Richard Li <richardpku@gmail.com>.
56358 2010-10-24 Ulrich Drepper <drepper@gmail.com>
56361 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56364 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56366 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56367 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56368 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56369 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56374 2010-10-22 Andreas Schwab <schwab@redhat.com>
56376 * include/dlfcn.h (__RTLD_SECURE): Define.
56377 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56378 mode & __RTLD_SECURE instead.
56379 (open_path): Rename preloaded parameter to secure.
56380 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56381 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56382 * elf/dl-deps.c (openaux): Likewise.
56383 * elf/rtld.c (struct map_args): Remove is_preloaded.
56384 (map_doit): Don't use it.
56385 (dl_main): Likewise.
56386 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56387 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56389 2010-09-09 Andreas Schwab <schwab@redhat.com>
56391 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56392 (sysd-rules-targets): Remove duplicates.
56393 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56394 rtld-%.$o dependency.
56396 2010-10-18 Andreas Schwab <schwab@redhat.com>
56398 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56399 _dl_map_object do it.
56401 2010-10-19 Ulrich Drepper <drepper@gmail.com>
56403 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56404 fast fma builtins, define the macros in the C99 standard.
56405 (FP_FAST_FMAF): Likewise.
56406 (FP_FAST_FMAL): Likewise.
56407 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56409 * bits/mathdef.h: Update copyright year.
56410 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56412 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56414 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56415 builtins, define the macros in the C99 standard.
56416 (FP_FAST_FMAF): Likewise.
56417 (FP_FAST_FMAL): Likewise.
56418 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56420 (FP_FAST_FMAF): Likewise.
56422 2010-10-15 Jakub Jelinek <jakub@redhat.com>
56425 * math/libm-test.inc (fma_test): Some new testcases.
56426 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56427 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56428 y and infinite z. Do multiplication by C already in long double.
56429 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56431 y and infinite z. Do bitwise or of inexact bit into u.d.
56432 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56433 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56434 * sysdeps/i386/fpu/s_fma.S: Removed.
56435 * sysdeps/i386/fpu/s_fmal.S: Removed.
56437 2010-10-16 Jakub Jelinek <jakub@redhat.com>
56440 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56441 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56442 computation is not scheduled after fetestexcept. Fix value
56443 of minimum denormal long double.
56445 2010-10-14 Jakub Jelinek <jakub@redhat.com>
56448 * math/libm-test.inc (fma_test): Add some more tests.
56449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56452 2010-10-15 Andreas Schwab <schwab@redhat.com>
56454 * scripts/data/localplt-s390-linux-gnu.data: New file.
56455 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56457 2010-10-13 Jakub Jelinek <jakub@redhat.com>
56460 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56461 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56463 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56465 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56467 if one of x and y is very large and the other is subnormal.
56468 * sysdeps/s390/fpu/s_fmaf.c: New file.
56469 * sysdeps/s390/fpu/s_fma.c: New file.
56470 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56471 * sysdeps/powerpc/fpu/s_fma.S: New file.
56472 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56473 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56474 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56476 2010-10-12 Jakub Jelinek <jakub@redhat.com>
56479 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56481 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56482 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56483 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56484 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56485 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56486 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56487 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56489 2010-10-12 Ulrich Drepper <drepper@redhat.com>
56492 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56493 * posix/bug-regex31.input: Add test case.
56495 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56497 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56498 * posix/bug-regex31.input: New file.
56501 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56502 (parse_sub_exp): Fix last change, use postorder.
56504 * posix/bug-regex31.c: New file.
56505 * posix/Makefile: Add rules to build and run bug-regex31.
56507 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56510 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56513 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56514 to have entries in sys_siglist.
56517 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56520 2010-10-07 Jakub Jelinek <jakub@redhat.com>
56523 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56524 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56525 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56526 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56527 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56528 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56529 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56530 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56531 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56532 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56533 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56534 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56535 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56536 * math/ftestexcept.c (fetestexcept): Likewise.
56537 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56538 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56539 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56540 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56541 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56542 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56543 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56545 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56548 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56551 2010-10-06 Ulrich Drepper <drepper@gmail.com>
56553 * string/bug-strstr1.c: New file.
56554 * string/Makefile: Add rules to build and run bug-strstr1.
56556 2010-10-05 Eric Blake <eblake@redhat.com>
56559 * string/str-two-way.h (two_way_long_needle): Always clear memory
56560 when skipping input due to the shift table.
56562 2010-10-03 Ulrich Drepper <drepper@gmail.com>
56565 * malloc/mcheck.c: Handle large requests.
56568 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56569 for strncmp and strncasecmp.
56570 * string/stratcliff.c: Add tests for strcmp and strncmp.
56571 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56573 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56575 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56578 2010-09-30 Andreas Jaeger <aj@suse.de>
56580 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56581 (CGROUP_SUPER_MAGIC): Define.
56582 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56583 Handle btrfs and cgroup file systems.
56584 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56587 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
56589 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56590 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56592 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56595 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56596 trying to locate the ELF header.
56598 2010-09-27 Andreas Schwab <schwab@redhat.com>
56601 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56602 Mask out sign-bit copies when constructing f_fsid.
56604 2010-09-24 Petr Baudis <pasky@suse.cz>
56606 * debug/stack_chk_fail_local.c: Add missing licence exception.
56607 * debug/warning-nop.c: Likewise.
56609 2010-09-15 Joseph Myers <joseph@codesourcery.com>
56611 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56612 implementing getdents64 using getdents syscall, set d_type if
56613 __ASSUME_GETDENTS32_D_TYPE.
56615 2010-09-16 Andreas Schwab <schwab@redhat.com>
56617 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56618 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56620 2010-09-21 Ulrich Drepper <drepper@redhat.com>
56623 * posix/unistd.h: Undo change of feature selection for ftruncate from
56626 2010-09-20 Ulrich Drepper <drepper@redhat.com>
56628 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56631 2010-09-20 Andreas Schwab <schwab@redhat.com>
56633 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56635 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56637 2010-09-14 Andreas Schwab <schwab@redhat.com>
56639 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56640 variables after CHECK_SP call.
56641 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56643 2010-09-13 Andreas Schwab <schwab@redhat.com>
56644 Ulrich Drepper <drepper@redhat.com>
56646 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56647 re-relocationg ld.so.
56648 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56649 _dl_init_paths call.
56650 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56653 2010-09-14 Ulrich Drepper <drepper@redhat.com>
56655 * resolv/res_init.c (__res_vinit): Count the default server we added.
56657 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56658 Ulrich Drepper <drepper@redhat.com>
56661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56662 (____longjmp_chk): Use %ebx for saving value across system call.
56665 2010-09-06 Andreas Schwab <schwab@redhat.com>
56667 * manual/Makefile: Don't mix pattern rules with normal rules.
56669 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56671 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56673 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56674 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56675 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56676 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56680 2010-09-04 Ulrich Drepper <drepper@redhat.com>
56683 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56684 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56686 2010-09-02 Ulrich Drepper <drepper@redhat.com>
56688 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56689 * sysdeps/x86_64/addmul_1.S: Likewise.
56690 * sysdeps/x86_64/lshift.S: Likewise.
56691 * sysdeps/x86_64/mul_1.S: Likewise.
56692 * sysdeps/x86_64/rshift.S: Likewise.
56693 * sysdeps/x86_64/sub_n.S: Likewise.
56694 * sysdeps/x86_64/submul_1.S: Likewise.
56696 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56698 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56699 Define __sched_param instead of SCHED_* and sched_param when
56700 <bits/sched.h> is included with __need_schedparam defined.
56701 * bits/sched.h [__need_schedparam]
56702 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56703 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56704 (__defined_schedparam): Define to 1.
56705 (__sched_param): New structure, identical to sched_param.
56706 (__need_schedparam): Undefine.
56708 2010-08-31 Mike Frysinger <vapier@gentoo.org>
56710 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56711 (epoll_create1): Declare.
56713 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56715 2010-08-31 Andreas Schwab <schwab@redhat.com>
56718 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56719 shifting retval into place.
56721 2010-09-01 Ulrich Drepper <drepper@redhat.com>
56723 * nis/rpcsvc/nis.h: Update copyright notice.
56724 * nis/rpcsvc/nis.x: Likewise.
56725 * nis/rpcsvc/nis_callback.h: Likewise.
56726 * nis/rpcsvc/nis_callback.x: Likewise.
56727 * nis/rpcsvc/nis_object.x: Likewise.
56728 * nis/rpcsvc/nis_tags.h: Likewise.
56729 * nis/rpcsvc/yp.h: Likewise.
56730 * nis/rpcsvc/yp.x: Likewise.
56731 * nis/rpcsvc/ypupd.h: Likewise.
56732 * nis/yp_xdr.c: Likewise.
56733 * nis/ypupdate_xdr.c: Likewise.
56735 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56736 mainly the body of pmap_getport. Add parameters to specify timeouts.
56737 (pmap_getport): Use __libc_rpc_getport.
56738 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56739 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56740 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56742 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56747 2010-08-27 Roland McGrath <roland@redhat.com>
56749 * sysdeps/i386/i686/multiarch/Makefile
56750 (CFLAGS-varshift.c): New variable.
56752 2010-08-27 Ulrich Drepper <drepper@redhat.com>
56754 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56755 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56757 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56759 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56761 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56763 * sysdeps/x86_64/strlen.S: Unroll the loop.
56764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56765 strlen-sse2 strlen-sse2-bsf.
56766 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56767 __strlen_no_bsf if bit_Slow_BSF is set.
56768 (__strlen_sse42): Removed.
56769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56770 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56772 2010-08-25 Roland McGrath <roland@redhat.com>
56774 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56775 * sysdeps/x86_64/multiarch/varshift.c: New file.
56776 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56777 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56778 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56779 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56781 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56784 strlen-sse2 strlen-sse2-bsf.
56785 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56786 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56787 (__strlen_sse2): Removed.
56788 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56789 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56791 bit_Slow_BSF for Atom.
56792 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56793 (index_Slow_BSF): Define.
56794 (HAS_SLOW_BSF): Define.
56796 2010-08-25 Ulrich Drepper <drepper@redhat.com>
56799 * resolv/res_init.c (__res_vinit): When no server address at all
56800 is given default to loopback.
56802 2010-08-24 Roland McGrath <roland@redhat.com>
56804 * configure.in: Remove config-name.h generation.
56805 * configure: Regenerated.
56806 * config-name.in: File removed.
56807 * scripts/config-uname.sh: New file.
56808 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56809 ($(objdir)config-name.h): New target.
56811 * sunrpc/rpc_parse.h: Avoid nested comment.
56813 2010-08-24 Richard Henderson <rth@redhat.com>
56814 Ulrich Drepper <drepper@redhat.com>
56815 H.J. Lu <hongjiu.lu@intel.com>
56817 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56818 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56819 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56820 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56821 _mm_alignr_epi8 with _mm_loadu_si128.
56822 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56823 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56824 (__m128i_shift_right): Removed.
56825 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56826 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56827 * sysdeps/x86_64/multiarch/varshift.h: New file.
56828 * sysdeps/x86_64/multiarch/varshift.S: New file.
56830 2010-08-21 Mike Frysinger <vapier@gentoo.org>
56832 * configure.in: Move assembler checks to before sysdep dir checking.
56834 2010-08-20 Petr Baudis <pasky@suse.cz>
56836 * LICENSES: Sync the sunrpc license.
56838 2010-08-19 Ulrich Drepper <drepper@redhat.com>
56840 * sunrpc/auth_des.c: Update copyright notice once again.
56841 * sunrpc/auth_none.c: Likewise.
56842 * sunrpc/auth_unix.c: Likewise.
56843 * sunrpc/authdes_prot.c: Likewise.
56844 * sunrpc/authuxprot.c: Likewise.
56845 * sunrpc/bindrsvprt.c: Likewise.
56846 * sunrpc/clnt_gen.c: Likewise.
56847 * sunrpc/clnt_perr.c: Likewise.
56848 * sunrpc/clnt_raw.c: Likewise.
56849 * sunrpc/clnt_simp.c: Likewise.
56850 * sunrpc/clnt_tcp.c: Likewise.
56851 * sunrpc/clnt_udp.c: Likewise.
56852 * sunrpc/clnt_unix.c: Likewise.
56853 * sunrpc/des_crypt.c: Likewise.
56854 * sunrpc/des_soft.c: Likewise.
56855 * sunrpc/get_myaddr.c: Likewise.
56856 * sunrpc/getrpcport.c: Likewise.
56857 * sunrpc/key_call.c: Likewise.
56858 * sunrpc/key_prot.c: Likewise.
56859 * sunrpc/openchild.c: Likewise.
56860 * sunrpc/pm_getmaps.c: Likewise.
56861 * sunrpc/pm_getport.c: Likewise.
56862 * sunrpc/pmap_clnt.c: Likewise.
56863 * sunrpc/pmap_prot.c: Likewise.
56864 * sunrpc/pmap_prot2.c: Likewise.
56865 * sunrpc/pmap_rmt.c: Likewise.
56866 * sunrpc/rpc/auth.h: Likewise.
56867 * sunrpc/rpc/auth_unix.h: Likewise.
56868 * sunrpc/rpc/clnt.h: Likewise.
56869 * sunrpc/rpc/des_crypt.h: Likewise.
56870 * sunrpc/rpc/key_prot.h: Likewise.
56871 * sunrpc/rpc/netdb.h: Likewise.
56872 * sunrpc/rpc/pmap_clnt.h: Likewise.
56873 * sunrpc/rpc/pmap_prot.h: Likewise.
56874 * sunrpc/rpc/pmap_rmt.h: Likewise.
56875 * sunrpc/rpc/rpc.h: Likewise.
56876 * sunrpc/rpc/rpc_des.h: Likewise.
56877 * sunrpc/rpc/rpc_msg.h: Likewise.
56878 * sunrpc/rpc/svc.h: Likewise.
56879 * sunrpc/rpc/svc_auth.h: Likewise.
56880 * sunrpc/rpc/types.h: Likewise.
56881 * sunrpc/rpc/xdr.h: Likewise.
56882 * sunrpc/rpc_clntout.c: Likewise.
56883 * sunrpc/rpc_cmsg.c: Likewise.
56884 * sunrpc/rpc_common.c: Likewise.
56885 * sunrpc/rpc_cout.c: Likewise.
56886 * sunrpc/rpc_dtable.c: Likewise.
56887 * sunrpc/rpc_hout.c: Likewise.
56888 * sunrpc/rpc_main.c: Likewise.
56889 * sunrpc/rpc_parse.c: Likewise.
56890 * sunrpc/rpc_parse.h: Likewise.
56891 * sunrpc/rpc_prot.c: Likewise.
56892 * sunrpc/rpc_sample.c: Likewise.
56893 * sunrpc/rpc_scan.c: Likewise.
56894 * sunrpc/rpc_scan.h: Likewise.
56895 * sunrpc/rpc_svcout.c: Likewise.
56896 * sunrpc/rpc_tblout.c: Likewise.
56897 * sunrpc/rpc_util.c: Likewise.
56898 * sunrpc/rpc_util.h: Likewise.
56899 * sunrpc/rpcinfo.c: Likewise.
56900 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56901 * sunrpc/rpcsvc/key_prot.x: Likewise.
56902 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56903 * sunrpc/rpcsvc/mount.x: Likewise.
56904 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56905 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56906 * sunrpc/rpcsvc/rex.x: Likewise.
56907 * sunrpc/rpcsvc/rstat.x: Likewise.
56908 * sunrpc/rpcsvc/rusers.x: Likewise.
56909 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56910 * sunrpc/rpcsvc/spray.x: Likewise.
56911 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56912 * sunrpc/rtime.c: Likewise.
56913 * sunrpc/svc.c: Likewise.
56914 * sunrpc/svc_auth.c: Likewise.
56915 * sunrpc/svc_authux.c: Likewise.
56916 * sunrpc/svc_raw.c: Likewise.
56917 * sunrpc/svc_run.c: Likewise.
56918 * sunrpc/svc_simple.c: Likewise.
56919 * sunrpc/svc_tcp.c: Likewise.
56920 * sunrpc/svc_udp.c: Likewise.
56921 * sunrpc/svc_unix.c: Likewise.
56922 * sunrpc/svcauth_des.c: Likewise.
56923 * sunrpc/xcrypt.c: Likewise.
56924 * sunrpc/xdr.c: Likewise.
56925 * sunrpc/xdr_array.c: Likewise.
56926 * sunrpc/xdr_float.c: Likewise.
56927 * sunrpc/xdr_mem.c: Likewise.
56928 * sunrpc/xdr_rec.c: Likewise.
56929 * sunrpc/xdr_ref.c: Likewise.
56930 * sunrpc/xdr_sizeof.c: Likewise.
56931 * sunrpc/xdr_stdio.c: Likewise.
56933 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56936 2010-08-19 Andreas Schwab <schwab@redhat.com>
56938 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56940 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
56942 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56943 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56944 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56945 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56946 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56947 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56948 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56949 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56950 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56951 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56952 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56953 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56954 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56955 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56957 2010-07-26 Anton Blanchard <anton@samba.org>
56959 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56960 * malloc/arena.c (heap_trim): Likewise.
56962 2010-08-16 Ulrich Drepper <drepper@redhat.com>
56964 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56966 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56967 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56969 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56971 * sysdeps/i386/elf/Makefile: New file.
56973 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56975 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56976 from fanotify_init.
56977 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56980 2010-08-15 Ulrich Drepper <drepper@redhat.com>
56982 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56984 * sysdeps/multiarch/strcmp.S: Likewise.
56986 2010-08-14 Ulrich Drepper <drepper@redhat.com>
56988 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56989 strncase_l-nonascii.
56990 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56991 Add strncase_l-ssse3.
56992 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56993 * sysdeps/x86_64/strcmp.S: Likewise.
56994 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56995 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56996 * sysdeps/x86_64/strncase.S: New file.
56997 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56998 * sysdeps/x86_64/strncase_l.S: New file.
56999 * string/Makefile (strop-tests): Add strncasecmp.
57000 * string/test-strncasecmp.c: New file.
57002 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57005 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57006 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57008 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57010 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57012 2010-08-12 Ulrich Drepper <drepper@redhat.com>
57014 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57015 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57016 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57018 2010-05-01 Alan Modra <amodra@gmail.com>
57020 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57021 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57022 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57023 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57024 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57025 tidying. Don't tail-call __sigjmp_save for static lib.
57026 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57028 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57029 (CALL_MCOUNT): Add eh info, and nop after bl.
57030 (TAIL_CALL_SYSCALL_ERROR): New macro.
57031 (PSEUDO_RET): Use it.
57032 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57033 Correct save location of integer regs and cr.
57034 (_dl_profile_resolve): Correct cr save location. Delete nops
57035 after bl when SHARED. Reduce cfi size a little by better
57036 placement of cfi directives.
57037 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57038 make a stack frame. Instead use parm save area as a temp.
57039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57040 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57042 Don't make a stack frame for parent, use parm save area.
57043 Increase child stack frame to 112 bytes. Don't save unused reg,
57044 and adjust reg usage. Set up cfi on error recovery and
57045 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57047 (__makecontext): Add dummy nop after jump to exit.
57048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57049 Use correct parm save area and cr save, reduce stack frame.
57050 Correct cfi for possible PSEUDO_RET frame setup.
57051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57052 Branch to local label emitted by PSEUDO_RET rather than
57055 2010-08-12 Andreas Schwab <schwab@redhat.com>
57058 * locale/programs/locale.c (print_assignment): New function.
57059 (show_locale_vars): Use it.
57061 2010-08-11 Ulrich Drepper <drepper@redhat.com>
57063 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57065 (struct statfs64): Likewise.
57066 (_STATFS_F_FLAGS): Define.
57067 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57068 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57069 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57070 (ST_VALID): Define locally.
57071 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57072 __statvfs_getflags, use the provided value.
57073 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57074 __ASSUME_STATFS_F_FLAGS.
57076 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57078 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57079 Add sys/fanotify.h.
57080 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57081 fanotify_mask for GLIBC_2.13.
57082 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57083 fanotify_init and fanotify_mark.
57084 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57085 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57087 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57089 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57090 prlimit64 for GLIBC_2.13.
57091 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57093 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57096 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57097 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57098 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57099 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57101 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57104 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57105 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57107 * nss/Makefile: Add rules to build and run tst-nss-test1.
57108 * shlib-versions: Add entry for libnss_test1.
57109 * nss/nss_test1.c: New file.
57110 * nss/tst-nss-test1.c: New file.
57112 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57113 (__nss_configure_lookup): Set appropriate entry in
57114 __nss_configure_lookup to true.
57115 * nss/nsswitch.h: Define enum with indeces of databases in
57116 databases and __nss_database_custom arrays. Declare
57117 __nss_database_custom.
57118 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57119 to avoid using nscd when custom rules are installed.
57120 * nss/getXXbyYY_r.c: Likewise.
57121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57123 * nss/nss_files/files-parse.c: Whitespace fixes.
57125 2010-08-09 Ulrich Drepper <drepper@redhat.com>
57128 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57129 * posix/fnmatch_loop.c: Likewise.
57131 2010-07-17 Andi Kleen <ak@linux.intel.com>
57133 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57134 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57135 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57136 * Versions.def [GLIBC_2.13]: Add.
57138 2010-08-06 Ulrich Drepper <drepper@redhat.com>
57140 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57141 Also fail if tpwd after pwuid call is NULL.
57143 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57145 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57146 when converting to ms.
57148 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57150 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57151 EOPNOTSUPP errors with ENOTTY.
57152 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57153 EOPNOTSUPP errors with ENOTTY.
57155 2010-07-31 Ulrich Drepper <drepper@redhat.com>
57157 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57158 Add strcasecmp_l-ssse3.
57159 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57161 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57162 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57163 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57165 2010-07-30 Ulrich Drepper <drepper@redhat.com>
57167 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57169 * string/Makefile (strop-tests): Add strcasecmp.
57170 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57171 strcasecmp_l-nonascii.
57172 (gen-as-const-headers): Add locale-defines.sym.
57173 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57174 * sysdeps/x86_64/strcasecmp.S: New file.
57175 * sysdeps/x86_64/strcasecmp_l.S: New file.
57176 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57177 * sysdeps/x86_64/locale-defines.sym: New file.
57178 * string/test-strcasecmp.c: New file.
57180 * string/test-strcasestr.c: Test both ends of the range of characters.
57181 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57183 2010-07-29 Roland McGrath <roland@redhat.com>
57186 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57188 2010-07-27 Ulrich Drepper <drepper@redhat.com>
57190 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57193 2010-07-27 Andreas Schwab <schwab@redhat.com>
57195 * manual/memory.texi (Malloc Tunable Parameters): Document
57198 2010-07-26 Roland McGrath <roland@redhat.com>
57201 * configure.in (-fgnu89-inline check): Set and substitute
57202 gnu89_inline, not libc_cv_gnu89_inline.
57203 * configure: Regenerated.
57204 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57206 2010-07-26 Ulrich Drepper <drepper@redhat.com>
57208 * string/test-strnlen.c: New file.
57209 * string/Makefile (strop-tests): Add strnlen.
57210 * string/tester.c (test_strnlen): Add a few more test cases.
57211 * string/tst-strlen.c: Better error reporting.
57213 * sysdeps/x86_64/strnlen.S: New file.
57215 2010-07-24 Ulrich Drepper <drepper@redhat.com>
57217 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57218 lower-latency instructions.
57220 2010-07-23 Ulrich Drepper <drepper@redhat.com>
57222 * string/test-strcasestr.c: New file.
57223 * string/test-strstr.c: New file.
57224 * string/Makefile (strop-tests): Add strstr and strcasestr.
57225 * string/str-two-way.h: Don't undefine MAX.
57226 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57228 2010-07-21 Andreas Schwab <schwab@redhat.com>
57230 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57231 strcasestr-nonascii.
57232 (CFLAGS-strcasestr-nonascii.c): Define.
57233 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57234 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57235 Remove unused attribute.
57237 2010-07-20 Roland McGrath <roland@redhat.com>
57239 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57240 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57241 ld.so.cache was broken. With it, there is no way to disable dsocaps
57242 like LD_HWCAP_MASK can disable hwcaps.
57244 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57246 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57248 2010-07-16 Ulrich Drepper <drepper@redhat.com>
57250 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57251 call in strcasestr.
57252 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57253 __strcasestr_sse42_nonascii.
57254 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57255 strcasestr-nonascii.c.
57256 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57258 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
57260 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57261 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57262 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57263 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57265 2010-07-09 Ulrich Drepper <drepper@redhat.com>
57267 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57270 2010-07-06 Andreas Schwab <schwab@redhat.com>
57273 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57276 2010-07-06 Ulrich Drepper <drepper@redhat.com>
57278 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57279 _PC_PIPE_BUF using F_GETPIPE_SZ.
57281 2010-07-05 Roland McGrath <roland@redhat.com>
57283 * manual/arith.texi (Rounding Functions): Fix rint description
57284 implicit in round description.
57286 2010-07-02 Ulrich Drepper <drepper@redhat.com>
57288 * elf/Makefile: Fix linking for a few tests to make recent linker
57291 2010-06-30 Andreas Schwab <schwab@redhat.com>
57293 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57294 $(common-objpfx)libc_nonshared.a.
57296 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
57298 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57299 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57300 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57301 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57302 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57303 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57304 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57305 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57320 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57321 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57322 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57323 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57324 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57325 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57326 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57327 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57328 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57329 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57330 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57331 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57347 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57349 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57350 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57351 * string/memmove.c (memmove): Renamed to ...
57352 (MEMMOVE): ...this. Default to memmove.
57353 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57354 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57357 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57358 mempcpy-ssse3-back memmove-ssse3-back.
57359 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57360 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57361 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57362 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57363 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57364 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57365 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57366 * sysdeps/x86_64/multiarch/memmove.c: New file.
57367 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57368 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57369 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57370 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57371 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57372 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57374 (index_Fast_Copy_Backward): Define.
57375 (HAS_ARCH_FEATURE): Define.
57376 (HAS_FAST_REP_STRING): Define.
57377 (HAS_FAST_COPY_BACKWARD): Define.
57379 2010-06-21 Andreas Schwab <schwab@redhat.com>
57381 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57382 Restore proper fallback handling.
57384 2010-06-19 Ulrich Drepper <drepper@redhat.com>
57387 * posix/group_member.c (__group_member): Correct checking loop.
57389 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57390 OOM in getpwuid_r correctly. Return error number when the caller
57391 should return, otherwise -1.
57392 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57393 call returning > 0 value.
57394 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57396 2010-06-07 Andreas Schwab <schwab@redhat.com>
57398 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57399 libc_nonshared.a from targets in modules-names.
57401 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57403 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57406 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
57408 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57409 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57410 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57411 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57413 2010-06-02 Andreas Schwab <schwab@redhat.com>
57415 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57417 2010-06-14 Ulrich Drepper <drepper@redhat.com>
57419 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57421 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57425 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57426 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57428 2010-06-14 Roland McGrath <roland@redhat.com>
57430 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57432 2010-06-07 Jakub Jelinek <jakub@redhat.com>
57434 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57435 __REDIRECT followed by __THROW.
57436 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57437 * posix/getopt.h (getopt): Likewise.
57439 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57441 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57442 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57443 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57445 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57446 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57448 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
57450 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57452 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57456 Properly check family and model.
57458 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57460 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57462 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
57464 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57466 2010-05-21 Ulrich Drepper <drepper@redhat.com>
57468 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57471 2010-05-19 Andreas Schwab <schwab@redhat.com>
57473 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57476 2010-05-21 Andreas Schwab <schwab@redhat.com>
57478 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57479 and internal_recvmmsg.
57480 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57481 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57482 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57483 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57485 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57486 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57487 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57489 2010-05-20 Andreas Schwab <schwab@redhat.com>
57491 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57493 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
57495 POWER7 optimizations.
57496 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57497 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57499 2010-05-19 Ulrich Drepper <drepper@redhat.com>
57501 * version.h: Update for 2.13 development version.
57503 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
57505 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57506 exceptions. Return 0.
57508 2010-05-07 Roland McGrath <roland@redhat.com>
57510 * elf/ldconfig.c (main): Add a const.
57512 2010-05-06 Ulrich Drepper <drepper@redhat.com>
57514 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57515 (args_options): Add no-idn option.
57516 (ahosts_keys_int): Add idn_flags to ai_flags.
57517 (parse_option): Handle 'i' option to clear idn_flags.
57519 * malloc/malloc.c (_int_free): Possible race in the most recently
57520 added check. Only act on the data if no current modification
57523 See ChangeLog.17 for earlier changes.